Rework -fno-omit-frame-pointer support on i386
[glibc.git] / ChangeLog
blob842d5765efbcc00fb21fc50e599f0924dde70354
1 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3         [BZ #21029]
4         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
5         * sysdeps/unix/sysv/linux/i386/Makefile
6         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
7         (uses-6-syscall-arguments): Remove.
8         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
9         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
10         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
11         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
12         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
13         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
14         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
15         [$(subdir) = misc] (cflags-pselect.o): Likewise.
16         [$(subdir) = misc] (cflags-pselect.os): Likewise.
17         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
18         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
19         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
20         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
21         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
22         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
23         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
24         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
25         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
26         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
27         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
28         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
29         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
30         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
31         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
32         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
33         Likewise.
34         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
35         Likewise.
36         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
37         Likewise.
38         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
39         Likewise.
40         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
41         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
42         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
43         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
44         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
45         ebp on inline assembly.
46         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
47         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
48         Set if CAN_USE_REGISTER_ASM_EBP is set.
50 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
52         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
53         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
55 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
57         * math/auto-libm-test-in: Add tests of catan and catanh.
58         * math/auto-libm-test-out-catan: New generated file.
59         * math/auto-libm-test-out-catanh: Likewise.
60         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
61         Move tests with finite inputs, except divide-by-zero cases, to
62         auto-libm-test-in.
63         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
64         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
65         (libm-test-funcs-noauto): Remove catan and catanh.
66         * sysdeps/i386/fpu/libm-test-ulps: Update.
67         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
68         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70         * math/auto-libm-test-in: Add tests of casin and casinh.
71         * math/auto-libm-test-out-casin: New generated file.
72         * math/auto-libm-test-out-casinh: Likewise.
73         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
74         Move tests with finite inputs to auto-libm-test-in.
75         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
76         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
77         (libm-test-funcs-noauto): Remove casin and casinh.
78         * sysdeps/i386/fpu/libm-test-ulps: Update.
79         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
80         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82         * math/auto-libm-test-in: Add tests of cacos and cacosh.
83         * math/auto-libm-test-out-cacos: New generated file.
84         * math/auto-libm-test-out-cacosh: Likewise.
85         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
86         Move tests with finite inputs to auto-libm-test-in.
87         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
88         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
89         (libm-test-funcs-noauto): Remove cacos and cacosh.
90         * sysdeps/i386/fpu/libm-test-ulps: Update.
91         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
92         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
94         Revert:
95         2017-02-16  Zack Weinberg  <zackw@panix.com>
97         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
98         Don't include init-arch.h.
99         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
100         Don't include init-arch.h.
102 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
104         [BZ #21171]
105         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
106         +Inf and raise divide-by-zero when x is negative.
107         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
108         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
109         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
110         -Inf and raise divide-by-zero when x = +-0.
111         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
112         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
113         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
114         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
115         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
116         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
117         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
119 2017-02-16  Zack Weinberg  <zackw@panix.com>
121         * scripts/build-many-glibcs.py (bot_build_mail): If the
122         bot_config does not contain all of the necessary email-
123         related settings, just print a warning and continue.
125 2017-02-16  Zack Weinberg  <zackw@panix.com>
127         * crypt/md5.h: Test _LIBC with #if defined, not #if.
128         * dirent/opendir-tst1.c: Include sys/stat.h.
129         * dirent/tst-fdopendir.c: Include sys/stat.h.
130         * dirent/tst-fdopendir2.c: Include stdlib.h.
131         * dirent/tst-scandir.c: Include stdbool.h.
132         * elf/tst-auditmod1.c: Include link.h and stddef.h.
133         * elf/tst-tls15.c: Include stdlib.h.
134         * elf/tst-tls16.c: Include stdlib.h.
135         * elf/tst-tls17.c: Include stdlib.h.
136         * elf/tst-tls18.c: Include stdlib.h.
137         * iconv/tst-iconv6.c: Include endian.h.
138         * iconvdata/bug-iconv11.c: Include limits.h.
139         * io/test-utime.c: Include stdint.h.
140         * io/tst-faccessat.c: Include sys/stat.h.
141         * io/tst-fchmodat.c: Include sys/stat.h.
142         * io/tst-fchownat.c: Include sys/stat.h.
143         * io/tst-fstatat.c: Include sys/stat.h.
144         * io/tst-futimesat.c: Include sys/stat.h.
145         * io/tst-linkat.c: Include sys/stat.h.
146         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
147         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
148         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
149         * io/tst-openat.c: Include stdbool.h.
150         * io/tst-readlinkat.c: Include sys/stat.h.
151         * io/tst-renameat.c: Include sys/stat.h.
152         * io/tst-symlinkat.c: Include sys/stat.h.
153         * io/tst-unlinkat.c: Include stdbool.h.
154         * libio/bug-memstream1.c: Include stdlib.h.
155         * libio/bug-wmemstream1.c: Include stdlib.h.
156         * libio/tst-fwrite-error.c: Include stdlib.h.
157         * libio/tst-memstream1.c: Include stdlib.h.
158         * libio/tst-memstream2.c: Include stdlib.h.
159         * libio/tst-memstream3.c: Include stdlib.h.
160         * malloc/tst-interpose-aux.c: Include stdint.h.
161         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
162         * nptl/tst-basic7.c: Include limits.h.
163         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
164         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
165         * nptl/tst-cancel4_1.c: Include stddef.h.
166         * nptl/tst-cancel4_2.c: Include stddef.h.
167         * nptl/tst-cond16.c: Include limits.h.
168         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
169         * nptl/tst-cond18.c: Include limits.h.
170         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
171         * nptl/tst-cond4.c: Include stdint.h.
172         * nptl/tst-cond6.c: Include stdint.h.
173         * nptl/tst-stack2.c: Include limits.h.
174         * nptl/tst-stackguard1.c: Include stddef.h.
175         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
176         * nptl/tst-tls4moda.c: Include stddef.h.
177         Don't include stdio.h, unistd.h, or tls.h.
178         * nptl/tst-tls4modb.c: Include stddef.h.
179         Don't include stdio.h, unistd.h, or tls.h.
180         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
181         * posix/tst-getaddrinfo2.c: Include stdio.h.
182         * posix/tst-getaddrinfo5.c: Include stdio.h.
183         * posix/tst-pathconf.c: Include sys/stat.h.
184         * posix/tst-posix_fadvise-common.c: Include stdint.h.
185         * posix/tst-preadwrite-common.c: Include sys/stat.h.
186         * posix/tst-regex.c: Include stdint.h.
187         Don't include spawn.h or spawn_int.h.
188         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
189         * posix/tst-vfork3.c: Include sys/stat.h.
190         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
191         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
192         * resolv/tst-resolv-search.c: Include stdlib.h.
193         * stdio-common/tst-fmemopen2.c: Include stdint.h.
194         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
195         * stdlib/test-canon.c: Include sys/stat.h.
196         * stdlib/tst-tls-atexit.c: Include stdbool.h.
197         * string/test-memchr.c: Include stdint.h.
198         * string/tst-cmp.c: Include stdint.h.
199         * sysdeps/pthread/tst-timer.c: Include stdint.h.
200         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
201         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
202         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
203         Don't include init-arch.h.
204         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
205         Don't include init-arch.h.
206         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
207         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
208         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
209         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
210         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
211         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
212         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
213         * time/clocktest.c: Include stdint.h.
214         * time/tst-posixtz.c: Include stdint.h.
215         * timezone/tst-timezone.c: Include stdint.h.
217 2017-02-16  Zack Weinberg  <zackw@panix.com>
219         * string/string.h [__USE_MISC]: Include strings.h.
220         (__bzero, bcmp, bcopy, bzero, index, rindex)
221         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
222         (ffs, ffsl, ffsll): Don't declare.
223         * string/strings.h: Do not suppress the file if string.h has
224         already been included.
225         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
226         annotations.
227         (index, rindex): Define inline forwarders even if
228         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
229         (ffs): Use __attribute_const__.
230         (ffsl, ffsll): Declare here.
231         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
232         have now been standardized.
233         * include/string.h (__bzero): Declare here.
235         * bits/types.h: Move to posix/bits.
236         * include/bits/types.h: New wrapper.
238 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
240         * string/bits/string2.h (strcmp): Remove define.
241         (__strcmp_cg): Likewise.
242         (strncmp): Likewise.
244 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
246         * include/string.h: Add __cplusplus check.
248 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
250         [BZ #21134]
251         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
252         "divide by zero" exception when the input is zero.
253         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
254         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
255         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
256         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
257         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
259 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
261         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
262         and include ...
263         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
264         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
265         to, and include ...
266         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
267         file.
268         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
269         and include ...
270         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
271         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
272         and include ...
273         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
274         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
275         and include ...
276         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
277         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
278         and include ...
279         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
280         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
281         to, and include ...
282         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
283         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
284         and include ...
285         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
287 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
289         * math/libm-test-support.h: Do not include <math-tests-arch.h>
290         here.
291         * math/libm-test-support.c (libm_test_init): Do not call
292         INIT_ARCH_EXT here.
293         * math/libm-test-driver.c: Include <math-tests-arch.h>.
294         (main): Call INIT_ARCH_EXT.
296 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
298         [BZ #21130]
299         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
300         with the "invalid" exception raised when x is -Inf.
301         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
303 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
305         * string/bits/string2.h (strchr): Remove define.
307 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
309         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
310         tst-avx512.
311         (test-extras): Add tst-avx-aux and tst-avx512-aux.
312         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
313         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
314         ($(objpfx)tst-sse): New rule.
315         ($(objpfx)tst-avx): Likewise.
316         ($(objpfx)tst-avx512): Likewise.
317         (CFLAGS-tst-avx-aux.c): New.
318         (CFLAGS-tst-avxmod.c): Likewise.
319         (CFLAGS-tst-avx512-aux.c): Likewise.
320         (CFLAGS-tst-avx512mod.c): Likewise.
321         * sysdeps/x86_64/tst-avx-aux.c: New file.
322         * sysdeps/x86_64/tst-avx.c: Likewise.
323         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
324         * sysdeps/x86_64/tst-avx512.c: Likewise.
325         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
326         * sysdeps/x86_64/tst-avxmod.c: Likewise.
327         * sysdeps/x86_64/tst-sse.c: Likewise.
328         * sysdeps/x86_64/tst-ssemod.c: Likewise.
330 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
332         * math/auto-libm-test-in: Add more tests of csin and csinh.
333         * math/auto-libm-test-out-csin: Regenerated.
334         * math/auto-libm-test-out-csinh: Likewise.
335         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
336         auto-libm-test-in.
337         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
339 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
341         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
342         libm-compat-calls-auto.
343         (libm-compat-calls): Likewise.
344         (libm-compat-calls-auto): Rename to libm-compat-calls and add
345         w_lgamma_compatF and k_standardF (merged from the items above).
346         (libm-routines): Use libm-compat-calls, instead of
347         libm-compat-calls-auto, with type-foreach.
349 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
351         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
352         macro.
353         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
354         (CFLAGS-test-ifloat.c): ... this.  Remove
355         -U__LIBC_INTERNAL_MATH_INLINES.
356         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
357         (CFLAGS-test-idouble.c): ... this.  Remove
358         -U__LIBC_INTERNAL_MATH_INLINES.
359         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
360         (CFLAGS-test-ildouble.c): ... this.  Remove
361         -U__LIBC_INTERNAL_MATH_INLINES.
363 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
365         * math/libm-test-support.c: New file.  Content from
366         math/libm-test-driver.c.
367         * math/libm-test-support.h: Likewise.
368         * math/libm-test-support-double.c: New file.
369         * math/libm-test-support-float.c: Likewise.
370         * math/libm-test-support-ldouble.c: Likewise.
371         * math/libm-test-driver.c: Remove main comment and header
372         includes.  Include libm-test-support.h.
373         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
374         (flag_test_errno): Remove static.
375         (flag_test_exceptions): Likewise.
376         (flag_test_finite): Likewise.
377         (flag_test_inline): Likewise.
378         (flag_test_mathvec): Likewise.
379         (test_msg): Likewise.
380         (NO_EXCEPTION): Remove.
381         (INVALID_EXCEPTION): Likewise.
382         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
383         (OVERFLOW_EXCEPTION): Likewise.
384         (UNDERFLOW_EXCEPTION): Likewise.
385         (INEXACT_EXCEPTION): Likewise.
386         (INVALID_EXCEPTION_OK): Likewise.
387         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
388         (OVERFLOW_EXCEPTION_OK): Likewise.
389         (UNDERFLOW_EXCEPTION_OK): Likewise.
390         (NO_INEXACT_EXCEPTION): Likewise.
391         (EXCEPTIONS_OK): Likewise.
392         (IGNORE_ZERO_INF_SIGN): Likewise.
393         (TEST_NAN_SIGN): Likewise.
394         (TEST_NAN_PAYLOAD): Likewise.
395         (NO_TEST_INLINE): Likewise.
396         (XFAIL_TEST): Likewise.
397         (ERRNO_UNCHANGED): Likewise.
398         (ERRNO_EDOM): Likewise.
399         (ERRNO_ERANGE): Likewise.
400         (IGNORE_RESULT): Likewise.
401         (NON_FINITE): Likewise.
402         (TEST_SNAN): Likewise.
403         (NO_TEST_MATHVEC): Likewise.
404         (__CONCATX): Likewise.
405         (TYPE_MIN): Likewise.
406         (TYPE_TRUE_MIN): Likewise.
407         (TYPE_MAX): Likewise.
408         (MIN_EXP): Likewise.
409         (MAX_EXP): Likewise.
410         (MANT_DIG): Likewise.
411         (FSTR_MAX): Likewise.
412         (ulp_idx): Likewise.
413         (qtype_str): Remove static.
414         (TEST_COND_binary32): Remove.
415         (TEST_COND_binary64): Likewise.
416         (TEST_COND_binary128): Likewise.
417         (TEST_COND_ibm128): Likewise.
418         (TEST_COND_intel96): Likewise.
419         (TEST_COND_m68k96): Likewise.
420         (TEST_COND_ibm128_libgcc): Likewise.
421         (XFAIL_IBM128_LIBGCC): Likewise.
422         (PAYLOAD_DIG): Likewise.
423         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
424         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
425         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
426         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
427         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
428         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
429         (TEST_COND_long32): Likewise.
430         (TEST_COND_long64): Likewise.
431         (TEST_COND_before_rounding): Likewise.
432         (TEST_COND_after_rounding): Likewise.
433         (ulps_file_name): Likewise.
434         (ulps_file): Likewise.
435         (output_ulps): Likewise.
436         (output_dir): Likewise.
437         (noErrors): Likewise.
438         (noTests): Likewise.
439         (noExcTests): Likewise.
440         (noErrnoTests): Likewise.
441         (verbose): Likewise.
442         (output_max_error): Likewise.
443         (output_points): Likewise.
444         (ignore_max_ulp): Likewise.
445         (max_error): Likewise.
446         (real_max_error): Likewise.
447         (imag_max_error): Likewise.
448         (prev_max_error): Likewise.
449         (prev_real_max_error): Likewise.
450         (prev_imag_max_error): Likewise.
451         (max_valid_error): Likewise.
452         (TYPE_DECIMAL_DIG): Likewise.
453         (TYPE_HEX_DIG): Likewise.
454         (fmt_ftostr): Likewise.
455         (compare_ulp_data): Likewise.
456         (find_ulps): Likewise.
457         (init_max_error): Likewise.
458         (set_max_error): Likewise.
459         (print_float): Likewise.
460         (print_screen): Likewise.
461         (print_screen_max_error): Likewise.
462         (update_stats): Likewise.
463         (print_function_ulps): Likewise.
464         (print_complex_function_ulps): Likewise.
465         (fpstack_test): Likewise.
466         (print_max_error): Likewise.
467         (print_complex_max_error): Likewise.
468         (test_single_exception): Likewise.
469         (test_exceptions): Likewise.
470         (test_single_errno): Likewise.
471         (test_errno): Likewise.
472         (ULPDIFF): Likewise.
473         (ulp): Likewise.
474         (check_float_internal): Likewise.
475         (check_float): Likewise.
476         (check_complex): Likewise.
477         (check_int): Likewise.
478         (check_long): Likewise.
479         (check_bool): Likewise.
480         (check_longlong): Likewise.
481         (check_intmax_t): Likewise.
482         (check_uintmax_t): Likewise.
483         (enable_test): Likewise.
484         (matherr): Likewise.
485         (initialize): Likewise.
486         (options): Likewise.
487         (doc): Remove static.
488         (argp): Likewise.
489         (parse_opt): Remove.
490         (check_ulp): Likewise.
491         (libm_test_init): Likewise.
492         (libm_test_finish): Likewise.
493         * math/Makefile (libm-test-support): New variable.
494         (test-extras): Add libm-test-support files.
495         (extra-test-objs): Likewise.
496         (CFLAGS-libm-test-support-float.c): New variable.
497         (CFLAGS-libm-test-support-double.c): Likewise.
498         (CFLAGS-libm-test-support-ldouble.c): Likewise.
499         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
500         libm-test-support objects.
502 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
504         * math/Makefile (libm-calls): Move w_exp...
505         (libm-compat-calls-auto): Here.
507         * math/w_expl.c: Add suffix "_compat" to filename.
508         * sysdeps/ia64/fpu/w_expl.c: Likewise.
509         * sysdeps/ia64/fpu/w_expf.c: Likewise.
510         * sysdeps/ia64/fpu/w_exp.c: Likewise.
511         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
512         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
513         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
514         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
515         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
517         * math/w_expl_compat.c: New file, copied from above.
518         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
519         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
520         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
521         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
522         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
523         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
524         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
525         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
527         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
528         to filename.
529         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
531         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
532         copied from above and adjusted for the new filenames.
533         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
535 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
537         * math/Makefile (libm-calls): Move w_lgammaF...
538         (libm-compat-calls-auto): Here.
540         * math/w_lgamma.c: Add suffix "_compat2" to filename.
541         * math/w_lgammaf.c: Likewise.
542         * math/w_lgammal.c: Likewise.
544         * math/w_lgamma_compat2.c: New file, copied from above.
545         * math/w_lgammaf_compat2.c: Likewise.
546         * math/w_lgammal_compat2.c: Likewise.
548 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
550         * math/Makefile (libm-calls): Move w_lgammaF_r...
551         (libm-compat-calls-auto): Here.
553         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
554         * math/w_lgammaf_r.c: Likewise.
555         * math/w_lgammal_r.c: Likewise.
556         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
557         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
558         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
560         * math/w_lgamma_r_compat.c: New file, copied from above.
561         * math/w_lgammaf_r_compat.c: Likewise.
562         * math/w_lgammal_r_compat.c: Likewise.
563         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
564         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
565         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
567         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
568         to filename.
569         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
571         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
572         copied from above and adjusted for the new filenames.
573         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
575 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
577         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
578         calculation in SYSCALL_ERROR_HANDLER().
580 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
582         * manual/contrib.texi: Fix typo.
584 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
586         [BZ #21109]
587         * elf/dl-tunable-types.h (tunable_callback_t): Accept
588         tunable_val_t as argument.
589         * elf/dl-tunables.c (__tunable_set_val): Add comment.
590         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
591         argument.
592         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
594 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
596         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
597         Add PTRACE_EVENT_STOP.
598         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
599         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
600         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
601         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
602         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
603         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
605 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
607         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
608         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
609         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
610         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
611         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
612         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
613         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
614         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
615         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
616         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
618         [BZ #21112]
619         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
620         12 bits zero.
621         (cp_l): Update for new value of cp_h.
622         * math/auto-libm-test-in: Add another test of pow.
623         * math/auto-libm-test-out-pow: Regenerated.
625 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
627         * manual/contrib.texi: Fix typo.
629 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
631         [BZ #15998]
632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
633         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
636 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
638         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
639         STRCHR as __strchr_power8.
640         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
641         strlen as __strlen_power8.
643 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
645         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
646         unaligned load for shorter strings.
647         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
649 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
651         * math/libm-test-driver.c (flag_test_errno): New variable.
652         (flag_test_exceptions): Likewise.
653         (flag_test_finite): Likewise.
654         (flag_test_inline): Likewise.
655         (flag_test_mathvec): Likewise.
656         (test_msg): Likewise.
657         (ulp_idx): Likewise.
658         (qtype_str): Likewise.
659         (ULP_IDX): Remove macro.
660         (QTYPE_STR): Likewise.
661         (find_ulps): Use ulp_idx not ULP_IDX.
662         (print_function_ulps): Use qtype_str, printed with %s, not
663         QTYPE_STR, printed with concatentation to format string.
664         (print_complex_function_ulps): Likewise.
665         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
666         (test_errno): Use flag_test_errno not TEST_ERRNO.
667         (enable_test): Use flag_test_inline, flag_test_finite and
668         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
669         TEST_MATHVEC.
670         (libm_test_init): New function.  Factored out of main.
671         (libm_test_finish): Likewise.
672         (main): Call libm_test_init and libm_test_finish and move most
673         code to those functions.
675         * math/libm-test-driver.c (STRX): New macro.
676         (STR): Likewise.
677         (STR_FLOAT): Likewise.
678         (STR_VEC_LEN): Likewise.
679         (TEST_MSG): Likewise.  Define here instead of expecting to be
680         defined by including file.
681         * math/test-double-finite.c (TEST_MSG): Remove macro.
682         * math/test-double-vlen2.h (TEST_MSG): Likewise.
683         * math/test-double-vlen4.h (TEST_MSG): Likewise.
684         * math/test-double-vlen8.h (TEST_MSG): Likewise.
685         * math/test-double.c (TEST_MSG): Likewise.
686         * math/test-float-finite.c (TEST_MSG): Likewise.
687         * math/test-float-vlen16.h (TEST_MSG): Likewise.
688         * math/test-float-vlen4.h (TEST_MSG): Likewise.
689         * math/test-float-vlen8.h (TEST_MSG): Likewise.
690         * math/test-float.c (TEST_MSG): Likewise.
691         * math/test-idouble.c (TEST_MSG): Likewise.
692         * math/test-ifloat.c (TEST_MSG): Likewise.
693         * math/test-ildouble.c (TEST_MSG): Likewise.
694         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
695         * math/test-ldouble.c (TEST_MSG): Likewise.
697         * math/libm-test.inc: Move all tests of individual functions to
698         libm-test-*.inc and #include libm-test-*.c files.
699         (acos_test_data): Remove.
700         (acos_test): Likewise.
701         (acosh_test_data): Likewise.
702         (acosh_test): Likewise.
703         (asin_test_data): Likewise.
704         (asin_test): Likewise.
705         (asinh_test_data): Likewise.
706         (asinh_test): Likewise.
707         (atan_test_data): Likewise.
708         (atan_test): Likewise.
709         (atanh_test_data): Likewise.
710         (atanh_test): Likewise.
711         (atan2_test_data): Likewise.
712         (atan2_test): Likewise.
713         (cabs_test_data): Likewise.
714         (cabs_test): Likewise.
715         (cacos_test_data): Likewise.
716         (cacos_test): Likewise.
717         (cacosh_test_data): Likewise.
718         (cacosh_test): Likewise.
719         (canonicalize_test_data): Likewise.
720         (canonicalize_test): Likewise.
721         (carg_test_data): Likewise.
722         (carg_test): Likewise.
723         (casin_test_data): Likewise.
724         (casin_test): Likewise.
725         (casinh_test_data): Likewise.
726         (casinh_test): Likewise.
727         (catan_test_data): Likewise.
728         (catan_test): Likewise.
729         (catanh_test_data): Likewise.
730         (catanh_test): Likewise.
731         (cbrt_test_data): Likewise.
732         (cbrt_test): Likewise.
733         (ccos_test_data): Likewise.
734         (ccos_test): Likewise.
735         (ccosh_test_data): Likewise.
736         (ccosh_test): Likewise.
737         (ceil_test_data): Likewise.
738         (ceil_test): Likewise.
739         (cexp_test_data): Likewise.
740         (cexp_test): Likewise.
741         (cimag_test_data): Likewise.
742         (cimag_test): Likewise.
743         (clog_test_data): Likewise.
744         (clog_test): Likewise.
745         (clog10_test_data): Likewise.
746         (clog10_test): Likewise.
747         (conj_test_data): Likewise.
748         (conj_test): Likewise.
749         (copysign_test_data): Likewise.
750         (copysign_test): Likewise.
751         (cos_test_data): Likewise.
752         (cos_test): Likewise.
753         (cosh_test_data): Likewise.
754         (cosh_test): Likewise.
755         (cpow_test_data): Likewise.
756         (cpow_test): Likewise.
757         (cproj_test_data): Likewise.
758         (cproj_test): Likewise.
759         (creal_test_data): Likewise.
760         (creal_test): Likewise.
761         (csin_test_data): Likewise.
762         (csin_test): Likewise.
763         (csinh_test_data): Likewise.
764         (csinh_test): Likewise.
765         (csqrt_test_data): Likewise.
766         (csqrt_test): Likewise.
767         (ctan_test_data): Likewise.
768         (ctan_test): Likewise.
769         (ctanh_test_data): Likewise.
770         (ctanh_test): Likewise.
771         (erf_test_data): Likewise.
772         (erf_test): Likewise.
773         (erfc_test_data): Likewise.
774         (erfc_test): Likewise.
775         (exp_test_data): Likewise.
776         (exp_test): Likewise.
777         (exp10_test_data): Likewise.
778         (exp10_test): Likewise.
779         (pow10_test): Likewise.
780         (exp2_test_data): Likewise.
781         (exp2_test): Likewise.
782         (expm1_test_data): Likewise.
783         (expm1_test): Likewise.
784         (fabs_test_data): Likewise.
785         (fabs_test): Likewise.
786         (fdim_test_data): Likewise.
787         (fdim_test): Likewise.
788         (floor_test_data): Likewise.
789         (floor_test): Likewise.
790         (fma_test_data): Likewise.
791         (fma_test): Likewise.
792         (fmax_test_data): Likewise.
793         (fmax_test): Likewise.
794         (fmaxmag_test_data): Likewise.
795         (fmaxmag_test): Likewise.
796         (fmin_test_data): Likewise.
797         (fmin_test): Likewise.
798         (fminmag_test_data): Likewise.
799         (fminmag_test): Likewise.
800         (fmod_test_data): Likewise.
801         (fmod_test): Likewise.
802         (fpclassify_test_data): Likewise.
803         (fpclassify_test): Likewise.
804         (frexp_test_data): Likewise.
805         (frexp_test): Likewise.
806         (fromfp_test_data): Likewise.
807         (fromfp_test): Likewise.
808         (fromfpx_test_data): Likewise.
809         (fromfpx_test): Likewise.
810         (getpayload_test_data): Likewise.
811         (getpayload_test): Likewise.
812         (hypot_test_data): Likewise.
813         (hypot_test): Likewise.
814         (ilogb_test_data): Likewise.
815         (ilogb_test): Likewise.
816         (iscanonical_test_data): Likewise.
817         (iscanonical_test): Likewise.
818         (iseqsig_test_data): Likewise.
819         (iseqsig_test): Likewise.
820         (isfinite_test_data): Likewise.
821         (isfinite_test): Likewise.
822         (finite_test): Likewise.
823         (isgreater_test_data): Likewise.
824         (isgreater_test): Likewise.
825         (isgreaterequal_test_data): Likewise.
826         (isgreaterequal_test): Likewise.
827         (isinf_test_data): Likewise.
828         (isinf_test): Likewise.
829         (isless_test_data): Likewise.
830         (isless_test): Likewise.
831         (islessequal_test_data): Likewise.
832         (islessequal_test): Likewise.
833         (islessgreater_test_data): Likewise.
834         (islessgreater_test): Likewise.
835         (isnan_test_data): Likewise.
836         (isnan_test): Likewise.
837         (isnormal_test_data): Likewise.
838         (isnormal_test): Likewise.
839         (issignaling_test_data): Likewise.
840         (issignaling_test): Likewise.
841         (issubnormal_test_data): Likewise.
842         (issubnormal_test): Likewise.
843         (isunordered_test_data): Likewise.
844         (isunordered_test): Likewise.
845         (iszero_test_data): Likewise.
846         (iszero_test): Likewise.
847         (j0_test_data): Likewise.
848         (j0_test): Likewise.
849         (j1_test_data): Likewise.
850         (j1_test): Likewise.
851         (jn_test_data): Likewise.
852         (jn_test): Likewise.
853         (lgamma_test_data): Likewise.
854         (lgamma_test): Likewise.
855         (gamma_test): Likewise.
856         (llogb_test_data): Likewise.
857         (llogb_test): Likewise.
858         (lrint_test_data): Likewise.
859         (lrint_test): Likewise.
860         (llrint_test_data): Likewise.
861         (llrint_test): Likewise.
862         (log_test_data): Likewise.
863         (log_test): Likewise.
864         (log10_test_data): Likewise.
865         (log10_test): Likewise.
866         (log1p_test_data): Likewise.
867         (log1p_test): Likewise.
868         (log2_test_data): Likewise.
869         (log2_test): Likewise.
870         (logb_test_data): Likewise.
871         (logb_test): Likewise.
872         (lround_test_data): Likewise.
873         (lround_test): Likewise.
874         (llround_test_data): Likewise.
875         (llround_test): Likewise.
876         (modf_test_data): Likewise.
877         (modf_test): Likewise.
878         (nearbyint_test_data): Likewise.
879         (nearbyint_test): Likewise.
880         (nextafter_test_data): Likewise.
881         (nextafter_test): Likewise.
882         (nextup_test_data): Likewise.
883         (nextup_test): Likewise.
884         (nextdown_test_data): Likewise.
885         (nextdown_test): Likewise.
886         (nexttoward_test_data): Likewise.
887         (nexttoward_test): Likewise.
888         (pow_test_data): Likewise.
889         (pow_test): Likewise.
890         (remainder_test_data): Likewise.
891         (remainder_test): Likewise.
892         (drem_test): Likewise.
893         (remquo_test_data): Likewise.
894         (remquo_test): Likewise.
895         (rint_test_data): Likewise.
896         (rint_test): Likewise.
897         (round_test_data): Likewise.
898         (round_test): Likewise.
899         (roundeven_test_data): Likewise.
900         (roundeven_test): Likewise.
901         (scalb_test_data): Likewise.
902         (scalb_test): Likewise.
903         (scalbn_test_data): Likewise.
904         (scalbn_test): Likewise.
905         (ldexp_test): Likewise.
906         (scalbln_test_data): Likewise.
907         (scalbln_test): Likewise.
908         (setpayload_test_data): Likewise.
909         (setpayload_test): Likewise.
910         (setpayloadsig_test_data): Likewise.
911         (setpayloadsig_test): Likewise.
912         (signbit_test_data): Likewise.
913         (signbit_test): Likewise.
914         (sin_test_data): Likewise.
915         (sin_test): Likewise.
916         (sincos_test_data): Likewise.
917         (sincos_test): Likewise.
918         (sinh_test_data): Likewise.
919         (sinh_test): Likewise.
920         (sqrt_test_data): Likewise.
921         (sqrt_test): Likewise.
922         (tan_test_data): Likewise.
923         (tan_test): Likewise.
924         (tanh_test_data): Likewise.
925         (tanh_test): Likewise.
926         (tgamma_test_data): Likewise.
927         (tgamma_test): Likewise.
928         (totalorder_test_data): Likewise.
929         (totalorder_test): Likewise.
930         (totalordermag_test_data): Likewise.
931         (totalordermag_test): Likewise.
932         (trunc_test_data): Likewise.
933         (trunc_test): Likewise.
934         (ufromfp_test_data): Likewise.
935         (ufromfp_test): Likewise.
936         (ufromfpx_test_data): Likewise.
937         (ufromfpx_test): Likewise.
938         (y0_test_data): Likewise.
939         (y0_test): Likewise.
940         (y1_test_data): Likewise.
941         (y1_test): Likewise.
942         (yn_test_data): Likewise.
943         (yn_test): Likewise.
944         (significand_test_data): Likewise.
945         (significand_test): Likewise.
946         * math/Makefile (auto-libm-test-out-files): Remove variable.
947         (libm-test-funcs-noauto): New variable.
948         (libm-test-funcs-all): Likewise.
949         (libm-test-c-auto): Likewise.
950         (libm-test-c-noauto): Likewise.
951         (libm-tests-generated): Add $(libm-test-c-auto) and
952         $(libm-test-c-noauto).
953         (generated): Do not add auto-libm-test-out.
954         (libm-test-c-auto-obj): New variable.
955         (libm-test-c-noauto-obj): Likewise.
956         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
957         ($(libm-test-c-noauto-obj)): New static pattern rule.
958         ($(libm-test-c-auto-obj)): Likewise.
959         (libm-test-incs): New variable.
960         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
961         and pass it to gen-libm-have-vector-test.sh.
962         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
963         be passed on command line.
964         * math/libm-test-acos.inc: New file.  Content from
965         math/libm-test.inc.
966         * math/libm-test-acosh.inc: Likewise.
967         * math/libm-test-asin.inc: Likewise.
968         * math/libm-test-asinh.inc: Likewise.
969         * math/libm-test-atan.inc: Likewise.
970         * math/libm-test-atan2.inc: Likewise.
971         * math/libm-test-atanh.inc: Likewise.
972         * math/libm-test-cabs.inc: Likewise.
973         * math/libm-test-cacos.inc: Likewise.
974         * math/libm-test-cacosh.inc: Likewise.
975         * math/libm-test-canonicalize.inc: Likewise.
976         * math/libm-test-carg.inc: Likewise.
977         * math/libm-test-casin.inc: Likewise.
978         * math/libm-test-casinh.inc: Likewise.
979         * math/libm-test-catan.inc: Likewise.
980         * math/libm-test-catanh.inc: Likewise.
981         * math/libm-test-cbrt.inc: Likewise.
982         * math/libm-test-ccos.inc: Likewise.
983         * math/libm-test-ccosh.inc: Likewise.
984         * math/libm-test-ceil.inc: Likewise.
985         * math/libm-test-cexp.inc: Likewise.
986         * math/libm-test-cimag.inc: Likewise.
987         * math/libm-test-clog.inc: Likewise.
988         * math/libm-test-clog10.inc: Likewise.
989         * math/libm-test-conj.inc: Likewise.
990         * math/libm-test-copysign.inc: Likewise.
991         * math/libm-test-cos.inc: Likewise.
992         * math/libm-test-cosh.inc: Likewise.
993         * math/libm-test-cpow.inc: Likewise.
994         * math/libm-test-cproj.inc: Likewise.
995         * math/libm-test-creal.inc: Likewise.
996         * math/libm-test-csin.inc: Likewise.
997         * math/libm-test-csinh.inc: Likewise.
998         * math/libm-test-csqrt.inc: Likewise.
999         * math/libm-test-ctan.inc: Likewise.
1000         * math/libm-test-ctanh.inc: Likewise.
1001         * math/libm-test-erf.inc: Likewise.
1002         * math/libm-test-erfc.inc: Likewise.
1003         * math/libm-test-exp.inc: Likewise.
1004         * math/libm-test-exp10.inc: Likewise.
1005         * math/libm-test-exp2.inc: Likewise.
1006         * math/libm-test-expm1.inc: Likewise.
1007         * math/libm-test-fabs.inc: Likewise.
1008         * math/libm-test-fdim.inc: Likewise.
1009         * math/libm-test-floor.inc: Likewise.
1010         * math/libm-test-fma.inc: Likewise.
1011         * math/libm-test-fmax.inc: Likewise.
1012         * math/libm-test-fmaxmag.inc: Likewise.
1013         * math/libm-test-fmin.inc: Likewise.
1014         * math/libm-test-fminmag.inc: Likewise.
1015         * math/libm-test-fmod.inc: Likewise.
1016         * math/libm-test-fpclassify.inc: Likewise.
1017         * math/libm-test-frexp.inc: Likewise.
1018         * math/libm-test-fromfp.inc: Likewise.
1019         * math/libm-test-fromfpx.inc: Likewise.
1020         * math/libm-test-getpayload.inc: Likewise.
1021         * math/libm-test-hypot.inc: Likewise.
1022         * math/libm-test-ilogb.inc: Likewise.
1023         * math/libm-test-iscanonical.inc: Likewise.
1024         * math/libm-test-iseqsig.inc: Likewise.
1025         * math/libm-test-isfinite.inc: Likewise.
1026         * math/libm-test-isgreater.inc: Likewise.
1027         * math/libm-test-isgreaterequal.inc: Likewise.
1028         * math/libm-test-isinf.inc: Likewise.
1029         * math/libm-test-isless.inc: Likewise.
1030         * math/libm-test-islessequal.inc: Likewise.
1031         * math/libm-test-islessgreater.inc: Likewise.
1032         * math/libm-test-isnan.inc: Likewise.
1033         * math/libm-test-isnormal.inc: Likewise.
1034         * math/libm-test-issignaling.inc: Likewise.
1035         * math/libm-test-issubnormal.inc: Likewise.
1036         * math/libm-test-isunordered.inc: Likewise.
1037         * math/libm-test-iszero.inc: Likewise.
1038         * math/libm-test-j0.inc: Likewise.
1039         * math/libm-test-j1.inc: Likewise.
1040         * math/libm-test-jn.inc: Likewise.
1041         * math/libm-test-lgamma.inc: Likewise.
1042         * math/libm-test-llogb.inc: Likewise.
1043         * math/libm-test-llrint.inc: Likewise.
1044         * math/libm-test-llround.inc: Likewise.
1045         * math/libm-test-log.inc: Likewise.
1046         * math/libm-test-log10.inc: Likewise.
1047         * math/libm-test-log1p.inc: Likewise.
1048         * math/libm-test-log2.inc: Likewise.
1049         * math/libm-test-logb.inc: Likewise.
1050         * math/libm-test-lrint.inc: Likewise.
1051         * math/libm-test-lround.inc: Likewise.
1052         * math/libm-test-modf.inc: Likewise.
1053         * math/libm-test-nearbyint.inc: Likewise.
1054         * math/libm-test-nextafter.inc: Likewise.
1055         * math/libm-test-nextdown.inc: Likewise.
1056         * math/libm-test-nexttoward.inc: Likewise.
1057         * math/libm-test-nextup.inc: Likewise.
1058         * math/libm-test-pow.inc: Likewise.
1059         * math/libm-test-remainder.inc: Likewise.
1060         * math/libm-test-remquo.inc: Likewise.
1061         * math/libm-test-rint.inc: Likewise.
1062         * math/libm-test-round.inc: Likewise.
1063         * math/libm-test-roundeven.inc: Likewise.
1064         * math/libm-test-scalb.inc: Likewise.
1065         * math/libm-test-scalbln.inc: Likewise.
1066         * math/libm-test-scalbn.inc: Likewise.
1067         * math/libm-test-setpayload.inc: Likewise.
1068         * math/libm-test-setpayloadsig.inc: Likewise.
1069         * math/libm-test-signbit.inc: Likewise.
1070         * math/libm-test-significand.inc: Likewise.
1071         * math/libm-test-sin.inc: Likewise.
1072         * math/libm-test-sincos.inc: Likewise.
1073         * math/libm-test-sinh.inc: Likewise.
1074         * math/libm-test-sqrt.inc: Likewise.
1075         * math/libm-test-tan.inc: Likewise.
1076         * math/libm-test-tanh.inc: Likewise.
1077         * math/libm-test-tgamma.inc: Likewise.
1078         * math/libm-test-totalorder.inc: Likewise.
1079         * math/libm-test-totalordermag.inc: Likewise.
1080         * math/libm-test-trunc.inc: Likewise.
1081         * math/libm-test-ufromfp.inc: Likewise.
1082         * math/libm-test-ufromfpx.inc: Likewise.
1083         * math/libm-test-y0.inc: Likewise.
1084         * math/libm-test-y1.inc: Likewise.
1085         * math/libm-test-yn.inc: Likewise.
1086         * math/README.libm-test: Update.
1088         * math/gen-auto-libm-tests.c: Update comment about use of program.
1089         (generate_output): Add argument FUNCTION.
1090         (main): Require extra argument.  Pass function name to
1091         generate_output.
1092         * math/Makefile (generated): Add auto-libm-test-out.
1093         (libm-test-funcs-auto): New variable.
1094         (auto-libm-test-out-files): New variable.
1095         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
1096         Concatenate those files to form $(objpfx)auto-libm-test-out and
1097         use it as input to gen-libm-test.pl.
1098         * math/README.libm-test: Update.
1099         * math/auto-libm-test-out: Remove.
1100         * math/auto-libm-test-out-acos: New generated file.
1101         * math/auto-libm-test-out-acosh: Likewise.
1102         * math/auto-libm-test-out-asin: Likewise.
1103         * math/auto-libm-test-out-asinh: Likewise.
1104         * math/auto-libm-test-out-atan: Likewise.
1105         * math/auto-libm-test-out-atan2: Likewise.
1106         * math/auto-libm-test-out-atanh: Likewise.
1107         * math/auto-libm-test-out-cabs: Likewise.
1108         * math/auto-libm-test-out-carg: Likewise.
1109         * math/auto-libm-test-out-cbrt: Likewise.
1110         * math/auto-libm-test-out-ccos: Likewise.
1111         * math/auto-libm-test-out-ccosh: Likewise.
1112         * math/auto-libm-test-out-cexp: Likewise.
1113         * math/auto-libm-test-out-clog: Likewise.
1114         * math/auto-libm-test-out-clog10: Likewise.
1115         * math/auto-libm-test-out-cos: Likewise.
1116         * math/auto-libm-test-out-cosh: Likewise.
1117         * math/auto-libm-test-out-cpow: Likewise.
1118         * math/auto-libm-test-out-csin: Likewise.
1119         * math/auto-libm-test-out-csinh: Likewise.
1120         * math/auto-libm-test-out-csqrt: Likewise.
1121         * math/auto-libm-test-out-ctan: Likewise.
1122         * math/auto-libm-test-out-ctanh: Likewise.
1123         * math/auto-libm-test-out-erf: Likewise.
1124         * math/auto-libm-test-out-erfc: Likewise.
1125         * math/auto-libm-test-out-exp: Likewise.
1126         * math/auto-libm-test-out-exp10: Likewise.
1127         * math/auto-libm-test-out-exp2: Likewise.
1128         * math/auto-libm-test-out-expm1: Likewise.
1129         * math/auto-libm-test-out-fma: Likewise.
1130         * math/auto-libm-test-out-hypot: Likewise.
1131         * math/auto-libm-test-out-j0: Likewise.
1132         * math/auto-libm-test-out-j1: Likewise.
1133         * math/auto-libm-test-out-jn: Likewise.
1134         * math/auto-libm-test-out-lgamma: Likewise.
1135         * math/auto-libm-test-out-log: Likewise.
1136         * math/auto-libm-test-out-log10: Likewise.
1137         * math/auto-libm-test-out-log1p: Likewise.
1138         * math/auto-libm-test-out-log2: Likewise.
1139         * math/auto-libm-test-out-pow: Likewise.
1140         * math/auto-libm-test-out-sin: Likewise.
1141         * math/auto-libm-test-out-sincos: Likewise.
1142         * math/auto-libm-test-out-sinh: Likewise.
1143         * math/auto-libm-test-out-sqrt: Likewise.
1144         * math/auto-libm-test-out-tan: Likewise.
1145         * math/auto-libm-test-out-tanh: Likewise.
1146         * math/auto-libm-test-out-tgamma: Likewise.
1147         * math/auto-libm-test-out-y0: Likewise.
1148         * math/auto-libm-test-out-y1: Likewise.
1149         * math/auto-libm-test-out-yn: Likewise.
1151         * math/Makefile (generated): Do not include libm-test.stmp.
1152         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
1153         on $(objpfx)libm-test.stmp.
1154         ($(objpfx)libm-test.stmp): Remove rule.
1155         ($(objpfx)libm-test-ulps.h): New rule.
1156         ($(objpfx)libm-test.c): Likewise.
1157         ($(objpfx)libm-have-vector-test.h): Likewise.
1158         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
1159         individual generated files, not libm-test.stmp.
1161         * math/gen-libm-test.pl ($output_dir): Remove variable.
1162         ($srcdir): Likewise.
1163         ($opt_a): New variable.
1164         ($opt_c): Likewise.
1165         ($opt_C): Likewise.
1166         ($opt_H): Likewise.
1167         (-n): Make option take argument and use it as NewUlps output.
1168         (-a): New option.  Use its argument for auto-libm-test-out input.
1169         (-c): New option.  Use its argument for libm-test.inc input.
1170         (-C): New option.  Use its argument for libm-test.c output.
1171         (-H): New option.  Use its argument for libm-test-ulps.h output.
1172         (top level): Only process inputs needed to generate outputs
1173         specified by command-line options.  Only generate outputs
1174         specified by command-line options.
1175         * math/README.libm-test: Update example gen-libm-test.pl command.
1176         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
1177         commands.
1178         (regen-ulps): Likewise.
1180 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
1182         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
1183         * include/string.h (index): Remove define.
1184         (rindex): Likewise.
1185         * misc/getttyent.c (__getttyent): Rename index to strchr.
1186         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
1187         * sunrpc/rpc_main.c (mkfile_output): Likewise.
1189 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
1191         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
1192         * math/libm-test.inc: Move all contents, other than tests of
1193         individual functions, to libm-test-driver.c.
1194         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
1195         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
1196         [!FE_UPWARD] (FE_UPWARD): Likewise.
1197         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
1198         (NO_EXCEPTION): Likewise.
1199         (INVALID_EXCEPTION): Likewise.
1200         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
1201         (OVERFLOW_EXCEPTION): Likewise.
1202         (UNDERFLOW_EXCEPTION): Likewise.
1203         (INEXACT_EXCEPTION): Likewise.
1204         (INVALID_EXCEPTION_OK): Likewise.
1205         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1206         (OVERFLOW_EXCEPTION_OK): Likewise.
1207         (UNDERFLOW_EXCEPTION_OK): Likewise.
1208         (NO_INEXACT_EXCEPTION): Likewise.
1209         (EXCEPTIONS_OK): Likewise.
1210         (IGNORE_ZERO_INF_SIGN): Likewise.
1211         (TEST_NAN_SIGN): Likewise.
1212         (TEST_NAN_PAYLOAD): Likewise.
1213         (NO_TEST_INLINE): Likewise.
1214         (XFAIL_TEST): Likewise.
1215         (ERRNO_UNCHANGED): Likewise.
1216         (ERRNO_EDOM): Likewise.
1217         (ERRNO_ERANGE): Likewise.
1218         (IGNORE_RESULT): Likewise.
1219         (NON_FINITE): Likewise.
1220         (TEST_SNAN): Likewise.
1221         (NO_TEST_MATHVEC): Likewise.
1222         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
1223         (__CONCATX): Likewise.
1224         (TYPE_MIN): Likewise.
1225         (TYPE_TRUE_MIN): Likewise.
1226         (TYPE_MAX): Likewise.
1227         (MIN_EXP): Likewise.
1228         (MAX_EXP): Likewise.
1229         (MANT_DIG): Likewise.
1230         (FSTR_MAX): Likewise.
1231         (ULP_IDX): Likewise.
1232         (QTYPE_STR): Likewise.
1233         (TEST_COND_binary32): Likewise.
1234         (TEST_COND_binary64): Likewise.
1235         (TEST_COND_binary128): Likewise.
1236         (TEST_COND_ibm128): Likewise.
1237         (TEST_COND_intel96): Likewise.
1238         (TEST_COND_m68k96): Likewise.
1239         (TEST_COND_ibm128_libgcc): Likewise.
1240         (XFAIL_IBM128_LIBGCC): Likewise.
1241         (PAYLOAD_DIG): Likewise.
1242         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1243         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1244         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1245         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
1246         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1247         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
1248         (TEST_COND_long32): Likewise.
1249         (TEST_COND_long64): Likewise.
1250         (TEST_COND_before_rounding): Likewise.
1251         (TEST_COND_after_rounding): Likewise.
1252         (lit_pi_3_m_4_d): Likewise.
1253         (lit_pi_3_m_4_ln10_m_d): Likewise.
1254         (lit_pi_2_ln10_m_d): Likewise.
1255         (lit_pi_4_ln10_m_d): Likewise.
1256         (lit_pi_ln10_d): Likewise.
1257         (lit_pi_2_d): Likewise.
1258         (lit_pi_4_d): Likewise.
1259         (lit_pi): Likewise.
1260         (lit_e): Likewise.
1261         (ulps_file_name): Likewise.
1262         (ulps_file): Likewise.
1263         (output_ulps): Likewise.
1264         (output_dir): Likewise.
1265         (noErrors): Likewise.
1266         (noTests): Likewise.
1267         (noExcTests): Likewise.
1268         (noErrnoTests): Likewise.
1269         (verbose): Likewise.
1270         (output_max_error): Likewise.
1271         (output_points): Likewise.
1272         (ignore_max_ulp): Likewise.
1273         (plus_zero): Likewise.
1274         (minus_zero): Likewise.
1275         (plus_infty): Likewise.
1276         (minus_infty): Likewise.
1277         (qnan_value_pl): Likewise.
1278         (qnan_value): Likewise.
1279         (snan_value_pl): Likewise.
1280         (snan_value): Likewise.
1281         (max_value): Likewise.
1282         (min_value): Likewise.
1283         (min_subnorm_value): Likewise.
1284         (snan_value_ld): Likewise.
1285         (max_error): Likewise.
1286         (real_max_error): Likewise.
1287         (imag_max_error): Likewise.
1288         (prev_max_error): Likewise.
1289         (prev_real_max_error): Likewise.
1290         (prev_imag_max_error): Likewise.
1291         (max_valid_error): Likewise.
1292         (TYPE_DECIMAL_DIG): Likewise.
1293         (TYPE_HEX_DIG): Likewise.
1294         (fmt_ftostr): Likewise.
1295         (compare_ulp_data): Likewise.
1296         (find_ulps): Likewise.
1297         (init_max_error): Likewise.
1298         (set_max_error): Likewise.
1299         (print_float): Likewise.
1300         (print_screen): Likewise.
1301         (print_screen_max_error): Likewise.
1302         (update_stats): Likewise.
1303         (print_function_ulps): Likewise.
1304         (print_complex_function_ulps): Likewise.
1305         (fpstack_test): Likewise.
1306         (print_max_error): Likewise.
1307         (print_complex_max_error): Likewise.
1308         (test_single_exception): Likewise.
1309         (test_exceptions): Likewise.
1310         (test_single_errno): Likewise.
1311         (test_errno): Likewise.
1312         (ULPDIFF): Likewise.
1313         (ulp): Likewise.
1314         (check_float_internal): Likewise.
1315         (check_float): Likewise.
1316         (check_complex): Likewise.
1317         (check_int): Likewise.
1318         (check_long): Likewise.
1319         (check_bool): Likewise.
1320         (check_longlong): Likewise.
1321         (check_intmax_t): Likewise.
1322         (check_uintmax_t): Likewise.
1323         (enable_test): Likewise.
1324         (struct test_f_f_data): Likewise.
1325         (struct test_ff_f_data): Likewise.
1326         (struct test_fj_f_data): Likewise.
1327         (struct test_fi_f_data): Likewise.
1328         (struct test_fl_f_data): Likewise.
1329         (struct test_if_f_data): Likewise.
1330         (struct test_fff_f_data): Likewise.
1331         (struct test_fiu_M_data): Likewise.
1332         (struct test_fiu_U_data): Likewise.
1333         (struct test_c_f_data): Likewise.
1334         (struct test_f_f1_data): Likewise.
1335         (struct test_fF_f1_data): Likewise.
1336         (struct test_ffI_f1_data): Likewise.
1337         (struct test_c_c_data): Likewise.
1338         (struct test_cc_c_data): Likewise.
1339         (struct test_f_i_data): Likewise.
1340         (struct test_ff_i_data): Likewise.
1341         (struct test_f_l_data): Likewise.
1342         (struct test_f_L_data): Likewise.
1343         (struct test_fFF_11_data): Likewise.
1344         (struct test_Ff_b1_data): Likewise.
1345         (IF_ROUND_INIT_): Likewise.
1346         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
1347         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1348         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1349         (IF_ROUND_INIT_FE_UPWARD): Likewise.
1350         (ROUND_RESTORE_): Likewise.
1351         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
1352         (ROUND_RESTORE_FE_TONEAREST): Likewise.
1353         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
1354         (ROUND_RESTORE_FE_UPWARD): Likewise.
1355         (RM_): Likewise.
1356         (RM_FE_DOWNWARD): Likewise.
1357         (RM_FE_TONEAREST): Likewise.
1358         (RM_FE_TOWARDZERO): Likewise.
1359         (RM_FE_UPWARD): Likewise.
1360         (COMMON_TEST_SETUP): Likewise.
1361         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1362         (COMMON_TEST_CLEANUP): Likewise.
1363         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1364         (RUN_TEST_f_f): Likewise.
1365         (RUN_TEST_LOOP_f_f): Likewise.
1366         (RUN_TEST_fp_f): Likewise.
1367         (RUN_TEST_LOOP_fp_f): Likewise.
1368         (RUN_TEST_2_f): Likewise.
1369         (RUN_TEST_LOOP_2_f): Likewise.
1370         (RUN_TEST_ff_f): Likewise.
1371         (RUN_TEST_LOOP_ff_f): Likewise.
1372         (RUN_TEST_LOOP_fj_f): Likewise.
1373         (RUN_TEST_fi_f): Likewise.
1374         (RUN_TEST_LOOP_fi_f): Likewise.
1375         (RUN_TEST_fl_f): Likewise.
1376         (RUN_TEST_LOOP_fl_f): Likewise.
1377         (RUN_TEST_if_f): Likewise.
1378         (RUN_TEST_LOOP_if_f): Likewise.
1379         (RUN_TEST_fff_f): Likewise.
1380         (RUN_TEST_LOOP_fff_f): Likewise.
1381         (RUN_TEST_fiu_M): Likewise.
1382         (RUN_TEST_LOOP_fiu_M): Likewise.
1383         (RUN_TEST_fiu_U): Likewise.
1384         (RUN_TEST_LOOP_fiu_U): Likewise.
1385         (RUN_TEST_c_f): Likewise.
1386         (RUN_TEST_LOOP_c_f): Likewise.
1387         (RUN_TEST_f_f1): Likewise.
1388         (RUN_TEST_LOOP_f_f1): Likewise.
1389         (RUN_TEST_fF_f1): Likewise.
1390         (RUN_TEST_LOOP_fF_f1): Likewise.
1391         (RUN_TEST_fI_f1): Likewise.
1392         (RUN_TEST_LOOP_fI_f1): Likewise.
1393         (RUN_TEST_ffI_f1_mod8): Likewise.
1394         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
1395         (RUN_TEST_Ff_b1): Likewise.
1396         (RUN_TEST_LOOP_Ff_b1): Likewise.
1397         (RUN_TEST_Ffp_b1): Likewise.
1398         (RUN_TEST_LOOP_Ffp_b1): Likewise.
1399         (RUN_TEST_c_c): Likewise.
1400         (RUN_TEST_LOOP_c_c): Likewise.
1401         (RUN_TEST_cc_c): Likewise.
1402         (RUN_TEST_LOOP_cc_c): Likewise.
1403         (RUN_TEST_f_i): Likewise.
1404         (RUN_TEST_LOOP_f_i): Likewise.
1405         (RUN_TEST_f_i_tg): Likewise.
1406         (RUN_TEST_LOOP_f_i_tg): Likewise.
1407         (RUN_TEST_ff_b): Likewise.
1408         (RUN_TEST_LOOP_ff_b): Likewise.
1409         (RUN_TEST_ff_i_tg): Likewise.
1410         (RUN_TEST_LOOP_ff_i_tg): Likewise.
1411         (RUN_TEST_f_b): Likewise.
1412         (RUN_TEST_LOOP_f_b): Likewise.
1413         (RUN_TEST_f_b_tg): Likewise.
1414         (RUN_TEST_LOOP_f_b_tg): Likewise.
1415         (RUN_TEST_f_l): Likewise.
1416         (RUN_TEST_LOOP_f_l): Likewise.
1417         (RUN_TEST_f_L): Likewise.
1418         (RUN_TEST_LOOP_f_L): Likewise.
1419         (RUN_TEST_fFF_11): Likewise.
1420         (RUN_TEST_LOOP_fFF_11): Likewise.
1421         (VEC_SUFF): Likewise.
1422         (STR_CONCAT): Likewise.
1423         (STR_CON3): Likewise.
1424         (HAVE_VECTOR): Likewise.
1425         (START): Likewise.
1426         (END): Likewise.
1427         (END_COMPLEX): Likewise.
1428         (ALL_RM_TEST): Likewise.
1429         (matherr): Likewise.
1430         (initialize): Likewise.
1431         (options): Likewise.
1432         (doc): Likewise.
1433         (parse_opt): Likewise.
1434         (argp): Likewise.
1435         (check_ulp): Likewise.
1436         (main): Likewise.
1437         (do_test): New function.  Call tests of individual functions
1438         previously called from main.
1440         * math/libm-test.inc: Remove comment listing functions tested and
1441         not tested.
1443 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1445         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
1446         (allocate_stack): Remove COLORING_INCREMENT usage.
1447         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
1448         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
1450 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
1452         * manual/libm-err-tab.pl (@all_functions): Change to
1453         %all_functions.  Initialize as empty.
1454         (parse_ulps): Add to %all_functions based on functions found in
1455         ulps files.  Ignore results for non-default rounding modes and
1456         vector functions.
1457         (print_platforms): Use %all_platforms.
1458         * manual/math.texi (Errors in Math Functions): Document omissions
1459         from the table.
1461         * math/Makefile (before-compile): Remove.
1463 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
1465         [BZ #21075]
1466         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
1467         unused assignment.
1468         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1470 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1472         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
1473         Add __glibc_unlikely hint.
1475 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1477         [BZ #16640]
1478         * sysdeps/i386/i686/strtok.S: Remove file.
1479         * sysdeps/i386/i686/strtok_r.S: Likewise.
1480         * sysdeps/i386/strtok.S: Likewise.
1481         * sysdeps/i386/strtok_r.S: Likewise.
1482         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
1483         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
1484         * sysdeps/x86_64/strtok.S: Likewise.
1485         * sysdeps/x86_64/strtok_r.S: Likewise.
1487         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
1488         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
1489         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1490         (__ASSUME_FADVISE64_AS_64_64): Define.
1491         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
1492         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
1493         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
1494         __ALIGNMENT_ARG usage.
1495         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
1496         __NR_fadvise64_64 if it is not defined.
1498 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1500         * version.h (RELEASE): Set to "development"
1501         (VERSION): Set to 2.25.90.
1502         * NEWS: Add 2.26 section.
1504         * version.h (RELEASE): Set to "stable"
1505         (VERSION): Set to 2.25.
1506         * include/features.h (__GLIBC_MINOR__): Set to 25.
1508         * manual/contrib.texi: Add more contributors from this release
1509         and past releases.
1511         * NEWS (2.25): Add list of bugs fixed.
1513         * NEWS: Add missing news items.
1515 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1517         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
1518         parent if child exited in that manner.  Print WEXITSTATUS
1519         instead of the raw status.
1520         (do_test_prep): Rename to do_test.
1521         (do_test): Return the result of run_executable_sgid.
1522         (TEST_FUNCTION_ARGV): Adjust.
1524 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
1525             Florian Weimer  <fweimer@redhat.com>
1526             Carlos O'Donell  <carlos@redhat.com>
1528         [BZ #20915]
1529         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
1530         Do not initialize DTV.
1531         * nptl/allocatestack.c (init_one_static_tls): Likewise.
1533 2017-02-03  David S. Miller  <davem@davemloft.net>
1535         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
1536         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1537         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
1538         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1539         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
1540         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1541         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
1542         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1543         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
1544         (libm-sysdep_routines): Update.
1545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
1546         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
1547         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1548         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
1549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1550         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
1551         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
1552         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
1553         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
1554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
1555         Likewise.
1556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
1558         Likewise.
1559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
1561         Likewise.
1562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
1564         Likewise.
1565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1567         (libm-sysdep_routines): Update.
1569 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
1571         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
1572         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
1573         against unrelocated shared library.
1574         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1576 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1578         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
1579         * elf/tst-env-setuid-tunables.c
1580         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
1581         GLIBC_TUNABLES is removed in a setgid process.
1583         [BZ #21073]
1584         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
1585         * elf/dl-tunables.c (tunables_strdup): Remove.
1586         (get_next_env): Also return the previous envp.
1587         (parse_tunables): Erase tunables of category
1588         TUNABLES_SECLEVEL_SXID_ERASE.
1589         (maybe_enable_malloc_check): Make MALLOC_CHECK_
1590         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
1591         (__tunables_init)[TUNABLES_FRONTEND ==
1592         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
1593         after parsing.
1594         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
1595         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
1596         * elf/dl-tunables.h (struct _tunable): Change member is_secure
1597         to security_level.
1598         * elf/dl-tunables.list: Add security_level annotations for all
1599         tunables.
1600         * scripts/gen-tunables.awk: Recognize and generate enum values
1601         for security_level.
1602         * elf/tst-env-setuid.c: New test case.
1603         * elf/tst-env-setuid-tunables: new test case.
1604         * elf/Makefile (tests-static): Add them.
1606 2017-02-01  Richard Henderson  <rth@twiddle.net>
1608         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
1609         adjusting the byte count.
1611 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
1613         * conform/Makefile (linknamespace-libs): Define.
1615         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
1616         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
1617         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
1618         operands.
1620 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
1622         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
1624 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
1626         [BZ #21081]
1627         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1628         (L(stosb)): Add VZEROUPPER before ret.
1630 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
1631             Alexey Makhalov <amakhalov@vmware.com>
1632             Florian Weimer <fweimer@redhat.com>
1634         [BZ #20116]
1635         * nptl/pthread_create.c: Document concurrency notes.
1636         Enhance thread creation notes.
1637         (create_thread): Use bool *stopped_start.
1638         (START_THREAD_DEFN): Comment ownership of PD.
1639         (__pthread_create_2_1): Add local bool stopped_start and use
1640         that instead of pd->stopped_start where appropriate.
1641         * nptl/createthread.c (create_thread): Use bool *stopped_start.
1642         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
1643         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
1644         * nptl/tst-create-detached.c: New file.
1645         * nptl/Makefile (tests): Add tst-create-detached.
1646         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
1647         Reference the enhanced thread creation notes.
1648         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
1649         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
1650         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
1651         (__pthread_current_priority): Likewise.
1652         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
1653         xpthread_attr_init, xpthread_attr_setdetachstate, and
1654         xpthread_attr_setstacksize.
1655         * support/xpthread_attr_destroy.c: New file.
1656         * support/xpthread_attr_init.c: New file.
1657         * support/xpthread_attr_setdetachstate.c: New file.
1658         * support/xpthread_attr_setstacksize.c: New file.
1659         * support/xthread.h: Define prototypes for xpthread_attr_destroy
1660         xpthread_attr_init, xpthread_attr_setdetachstate, and
1661         xpthread_attr_setstacksize.
1663 2017-01-27  Florian Weimer  <fweimer@redhat.com>
1665         * nptl/Makefile (tests): Add tst-robust-fork.
1666         * nptl/tst-robust-fork.c: New file.
1667         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
1668         xpthread_mutex_consistent, xpthread_mutex_destroy,
1669         xpthread_mutex_init, xpthread_mutexattr_destroy,
1670         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
1671         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
1672         xpthread_mutexattr_settype.
1673         * support/xmmap.c: New file.
1674         * support/xmunmap.c: Likewise.
1675         * support/xpthread_mutex_consistent.c: Likewise.
1676         * support/xpthread_mutex_destroy.c: Likewise.
1677         * support/xpthread_mutex_init.c: Likewise.
1678         * support/xpthread_mutexattr_destroy.c: Likewise.
1679         * support/xpthread_mutexattr_init.c: Likewise.
1680         * support/xpthread_mutexattr_setprotocol.c: Likewise.
1681         * support/xpthread_mutexattr_setpshared.c: Likewise.
1682         * support/xpthread_mutexattr_setrobust.c: Likewise.
1683         * support/xpthread_mutexattr_settype.c: Likewise.
1684         * support/xthread.h (xpthread_mutexattr_destroy)
1685         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
1686         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
1687         (xpthread_mutexattr_settype, xpthread_mutex_init)
1688         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
1689         * support/xunistd.h (xmmap, xmunmap): Likewise.
1691 2017-01-25  Florian Weimer  <fweimer@redhat.com>
1693         * string/Makefile (xtests): Add comment.
1694         (LOCALES): Add en_GB.UTF-8.
1695         (tst-strcoll-overflow.out): Depend on generated locales.
1696         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
1697         (SIZE, TIMEOUT): Update comments.
1698         (do_test): Define as static.  Fail test if setlocale fails.
1699         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
1700         messages.
1701         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
1702         TIMEOUT at 300 seconds should be enough to run this test
1703         successfully.
1705 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
1707         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1708         /* FALLTHRU */ comments.
1710 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
1712         [BZ #21053]
1713         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
1714         constants instead of the old R* ones.
1715         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
1716         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
1717         (NGREG): ... to this, to fit in with other architectures.
1718         (gpregset_t): Use new NGREG macro.
1719         [__USE_GNU]: Remove condition; all architectures other than tile
1720         are unconditional.
1721         (R*): Rename to REG_R*.
1723 2017-01-20  DJ Delorie  <dj@redhat.com>
1725         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
1726         (tunable_set_val_if_valid_range_signed) ... this, and ...
1727         (tunable_set_val_if_valid_range_unsigned) ... this.
1728         (tunable_initialize): Call the correct one of the above based on type.
1730 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
1732         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
1733         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1734         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1735         * sysdeps/microblaze/libm-test-ulps: Likewise.
1736         * sysdeps/sh/libm-test-ulps: Likewise.
1738         * math/README.libm-test: Update list of characters for input and
1739         output types.
1741 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1743         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
1744         (__lll_unlock_elision): Fix adapt_count decrement.
1746 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
1748         * README.pretty-printers (Known issues): Warn about printers not
1749         always covering everything.
1750         * nptl/nptl-printers.py (MutexPrinter): Change output.
1751         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
1753 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1755         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
1756         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1757         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
1758         (__lll_lock_elision): Do not test futex before starting a
1759         transaction.  Use __glibc_likely instead of __builtin_expect.
1760         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
1761         (__lll_trylock_elision): Do not test futex before starting a
1762         transaction.  Use __glibc_likely instead of __builtin_expect.
1764 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1766         * po/Makefile (update-translations): New target.
1768 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
1770         [BZ #21061]
1771         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
1773 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1775         * elf/dl-tunables (get_next_env): Always advance envp.
1776         * stdlib/tst-empty-env.c: New test case.
1777         * stdlib/Makefile (tests): Use it.
1779 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
1781         [BZ #21047]
1782         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
1783         name for instruction.
1784         [!__SOFTFP__] (_FPU_SETCW): Likewise.
1786 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
1788         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
1789         for make install.
1791 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1793         * po/bg.po: Merge from Translation Project.
1794         * po/fr.po: Likewise.
1795         * po/ko.po: Likewise.
1796         * po/nl.po: Likewise.
1797         * po/sv.po: Likewise.
1799 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
1801         * manual/install.texi (Tools for Compilation): Update GCC version
1802         known to work to build glibc.
1803         * INSTALL: Regenerated.
1805 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1807         [BZ #21006]
1808         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
1810 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
1812         [BZ #21045]
1813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1814         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
1815         to __sigprocmask.
1817 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
1819         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
1820         wrap-around.
1821         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
1823         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
1825 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1827         * NEWS: Fix typo.
1829 2016-01-13  Torvald Riegel  <triegel@redhat.com>
1831         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
1832         barriers and comments.
1833         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
1834         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1835         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1837 2016-01-13  Torvald Riegel  <triegel@redhat.com>
1839         [BZ #19402]
1840         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
1841         mutexes.
1843 2016-01-13  Torvald Riegel  <triegel@redhat.com>
1845         [BZ #20985]
1846         * nptl/Makefile: Adapt.
1847         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
1848         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
1849         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
1850         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
1851         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
1852         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
1853         lll_robust* functions and adapt.
1854         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1855         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
1856         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
1857         __lll_robust_timedlock, __lll_robust_unlock): Remove.
1858         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
1859         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
1860         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
1861         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
1862         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
1863         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
1864         __lll_robust_timedlock, __lll_robust_unlock): Remove.
1865         * nptl/lowlevelrobustlock.c: Remove file.
1866         * nptl/lowlevelrobustlock.sym: Likewise.
1867         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
1868         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
1870 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1872         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1874 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1876         * po/cs.po: Merge translations from the Translation Project.
1877         * po/de.po: Likewise.
1878         * po/pl.po: Likewise.
1879         * po/ru.po: Likewise.
1880         * po/tr.po: Likewise.
1881         * po/uk.po: Likewise.
1882         * po/vi.po: Likewise.
1883         * po/zh_CN.po: Likewise.
1885 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
1887         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
1889         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
1890         object.
1892 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
1894         [BZ #16458]
1895         * bits/uintn-identity.h: New file.
1896         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
1897         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
1898         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
1899         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
1900         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
1901         * string/endian.h: Include <bits/uintn-identity.h>.
1902         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
1903         __uint16_identity.
1904         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
1905         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
1906         __uint32_identity.
1907         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
1908         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
1909         __uint64_identity.
1910         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
1911         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
1912         __uint16_identity.
1913         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
1914         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
1915         __uint32_identity.
1916         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
1917         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
1918         __uint64_identity.
1919         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
1920         * string/Makefile (headers): Add bits/uintn-identity.h.
1921         (tests): Add test-endian-types.
1922         * string/test-endian-types.c: New file.
1923         * inet/Makefile (tests): Add test-hnto-types.
1924         * inet/test-hnto-types.c: New file.
1926 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1928         * po/be.po: Update from Translation Project.
1929         * po/bg.po: Likewise.
1930         * po/ca.po: Likewise.
1931         * po/cs.po: Likewise.
1932         * po/da.po: Likewise.
1933         * po/de.po: Likewise.
1934         * po/el.po: Likewise.
1935         * po/eo.po: Likewise.
1936         * po/es.po: Likewise.
1937         * po/fi.po: Likewise.
1938         * po/fr.po: Likewise.
1939         * po/gl.po: Likewise.
1940         * po/hr.po: Likewise.
1941         * po/hu.po: Likewise.
1942         * po/ia.po: Likewise.
1943         * po/id.po: Likewise.
1944         * po/it.po: Likewise.
1945         * po/ja.po: Likewise.
1946         * po/ko.po: Likewise.
1947         * po/lt.po: Likewise.
1948         * po/nb.po: Likewise.
1949         * po/nl.po: Likewise.
1950         * po/pl.po: Likewise.
1951         * po/pt_BR.po: Likewise.
1952         * po/ru.po: Likewise.
1953         * po/rw.po: Likewise.
1954         * po/sk.po: Likewise.
1955         * po/sl.po: Likewise.
1956         * po/sv.po: Likewise.
1957         * po/tr.po: Likewise.
1958         * po/uk.po: Likewise.
1959         * po/vi.po: Likewise.
1960         * po/zh_CN.po: Likewise.
1961         * po/zh_TW.po: Likewise.
1963 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
1965         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
1966         -Wformat-truncation instead of -Wformat-length.
1967         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
1968         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
1969         GCC 7.
1970         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
1971         (do_test): Ignore -Wformat-truncation for GCC 7.
1973         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
1974         buffer used to print long int value.
1976         * elf/sotruss-lib.c (init): Increase space allocated for pid by
1977         one byte.  Print it with %ld, cast to long int.
1979 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1981         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
1982         (re.fullmatch, subprocess.run): Likewise.
1984 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1986         * po/libc.pot: Regenerate.
1988 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1990         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
1991         (min_strlen): Likewise.
1992         (disable_tunable): Likewise.
1993         (maybe_disable_malloc_check): Rename to
1994         maybe_enable_malloc_check.
1995         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
1996         if /etc/suid-debug file exists.
1997         (__tunables_init): Update caller.
1998         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
1999         secure.
2001 2016-01-10  Torvald Riegel  <triegel@redhat.com>
2003         * nptl/DESIGN-rwlock.txt: Remove.
2004         * nptl/lowlevelrwlock.sym: Remove.
2005         * nptl/Makefile: Add new tests.
2006         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
2007         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
2008         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
2009         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
2010         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
2011         PTHREAD_RWLOCK_FUTEX_USED): New.
2012         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
2013         implementation.
2014         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
2015         (__pthread_rwlock_rdlock): Adapt.
2016         * nptl/pthread_rwlock_timedrdlock.c
2017         (pthread_rwlock_timedrdlock): Adapt.
2018         * nptl/pthread_rwlock_timedwrlock.c
2019         (pthread_rwlock_timedwrlock): Adapt.
2020         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
2021         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
2022         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
2023         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
2024         (__pthread_rwlock_wrlock): Adapt.
2025         * nptl/tst-rwlock10.c: Adapt.
2026         * nptl/tst-rwlock11.c: Adapt.
2027         * nptl/tst-rwlock17.c: New file.
2028         * nptl/tst-rwlock18.c: New file.
2029         * nptl/tst-rwlock19.c: New file.
2030         * nptl/tst-rwlock2b.c: New file.
2031         * nptl/tst-rwlock8.c: Adapt.
2032         * nptl/tst-rwlock9.c: Adapt.
2033         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2034         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2035         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2036         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2037         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2038         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2039         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2040         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2041         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2042         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2043         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2044         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2045         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
2046         (pthread_rwlock_t): Adapt.
2047         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2048         (pthread_rwlock_t): Adapt.
2049         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2050         * nptl/nptl-printers.py (): Adapt.
2051         * nptl/nptl_lock_constants.pysym: Adapt.
2052         * nptl/test-rwlock-printers.py: Adapt.
2053         * nptl/test-rwlockattr-printers.c: Adapt.
2054         * nptl/test-rwlockattr-printers.py: Adapt.
2056 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
2058         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
2059         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
2060         (fma_test_data): Likewise.
2061         (hypot_test_data): Likewise.
2062         (log1p_test_data): Likewise.
2063         (modf_test_data): Likewise.
2064         (pow_test_data): Likewise.
2065         (remainder_test_data): Likewise.
2066         (remquo_test_data): Likewise.
2067         (scalb_test_data): Likewise.
2068         (scalbn_test_data): Likewise.
2069         (scalbln_test_data): Likewise.
2070         * math/gen-libm-test.pl (parse_args): Transform
2071         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
2072         on the rounding mode.
2074 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
2076         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
2077         xfail-rounding:ibm128-libgcc automatically to tests overflowing
2078         and those that can underflow to zero.
2079         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
2080         add others.
2081         * math/auto-libm-test-out: Regenerated.
2083         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
2084         supported.
2085         (feholdexcept_tests): Skip tests requiring exceptions or rounding
2086         modes support if not supported.
2088         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
2089         Add libc.so PLT entry.
2090         (__tls_get_addr): Make ld.so PLT entry optional.
2092 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2094         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
2095         * string/bits/string3.h: ... here.
2097 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
2099         [BZ #21028]
2100         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
2101         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
2102         if EXCEPTION_TESTS returns false.
2104 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2106         [BZ #20558]
2107         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
2108         strings_fortified.h.
2109         [__USE_MISC] (bzero): Likewise.
2110         [__USE_MISC] (explicit_bzero): Likewise.
2111         * string/strings.h: Include strings_fortified.h.
2112         * string/Makefile (headers): Add strings_fortified.h.
2113         * string/bits/strings_fortified.h: New file.
2114         * include/bits/strings_fortified.h: Likewise.
2116 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
2118         * elf/tst-tls13.c (TIMEOUT): Remove.
2119         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
2120         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
2121         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
2122         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
2123         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
2125         [BZ #21026]
2126         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
2127         (readahead): New syscall entry.
2129 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
2131         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
2132         around tests of strncat with large sizes.
2134         * malloc/tst-malloc.c: Include <libc-internal.h>.
2135         (do_test): Disable -Walloc-size-larger-than= around tests of
2136         malloc with negative sizes.
2137         * malloc/tst-mcheck.c: Include <libc-internal.h>.
2138         (do_test): Disable -Walloc-size-larger-than= around tests of
2139         malloc and realloc with negative sizes.
2140         * malloc/tst-realloc.c: Include <libc-internal.h>.
2141         (do_test): Disable -Walloc-size-larger-than= around tests of
2142         realloc with negative sizes.
2144         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
2145         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
2146         allowed to 16 ulps.
2147         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
2148         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
2149         * math/auto-libm-test-out: Regenerated.
2151 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2153         * math/Makefile (libm-calls): Move wrappers...
2154         (libm-compat-call-auto): Here.
2155         (libm-routines): Add items in libm-compat-calls-auto.
2156         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
2157         the filenames of the wrappers that have been renamed.
2158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
2159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2161         * math/w_acos.c: Add _compat suffix to filename.
2162         * math/w_acosf.c: Likewise.
2163         * math/w_acosh.c: Likewise.
2164         * math/w_acoshf.c: Likewise.
2165         * math/w_acoshl.c: Likewise.
2166         * math/w_acosl.c: Likewise.
2167         * math/w_asin.c: Likewise.
2168         * math/w_asinf.c: Likewise.
2169         * math/w_asinl.c: Likewise.
2170         * math/w_atan2.c: Likewise.
2171         * math/w_atan2f.c: Likewise.
2172         * math/w_atan2l.c: Likewise.
2173         * math/w_atanh.c: Likewise.
2174         * math/w_atanhf.c: Likewise.
2175         * math/w_atanhl.c: Likewise.
2176         * math/w_cosh.c: Likewise.
2177         * math/w_coshf.c: Likewise.
2178         * math/w_coshl.c: Likewise.
2179         * math/w_exp10.c: Likewise.
2180         * math/w_exp10f.c: Likewise.
2181         * math/w_exp10l.c: Likewise.
2182         * math/w_exp2.c: Likewise.
2183         * math/w_exp2f.c: Likewise.
2184         * math/w_exp2l.c: Likewise.
2185         * math/w_fmod.c: Likewise.
2186         * math/w_fmodf.c: Likewise.
2187         * math/w_fmodl.c: Likewise.
2188         * math/w_hypot.c: Likewise.
2189         * math/w_hypotf.c: Likewise.
2190         * math/w_hypotl.c: Likewise.
2191         * math/w_j0.c: Likewise.
2192         * math/w_j0f.c: Likewise.
2193         * math/w_j0l.c: Likewise.
2194         * math/w_j1.c: Likewise.
2195         * math/w_j1f.c: Likewise.
2196         * math/w_j1l.c: Likewise.
2197         * math/w_jn.c: Likewise.
2198         * math/w_jnf.c: Likewise.
2199         * math/w_jnl.c: Likewise.
2200         * math/w_log10.c: Likewise.
2201         * math/w_log10f.c: Likewise.
2202         * math/w_log10l.c: Likewise.
2203         * math/w_log2.c: Likewise.
2204         * math/w_log2f.c: Likewise.
2205         * math/w_log2l.c: Likewise.
2206         * math/w_log.c: Likewise.
2207         * math/w_logf.c: Likewise.
2208         * math/w_logl.c: Likewise.
2209         * math/w_pow.c: Likewise.
2210         * math/w_powf.c: Likewise.
2211         * math/w_powl.c: Likewise.
2212         * math/w_remainder.c: Likewise.
2213         * math/w_remainderf.c: Likewise.
2214         * math/w_remainderl.c: Likewise.
2215         * math/w_scalb.c: Likewise.
2216         * math/w_scalbf.c: Likewise.
2217         * math/w_scalbl.c: Likewise.
2218         * math/w_sinh.c: Likewise.
2219         * math/w_sinhf.c: Likewise.
2220         * math/w_sinhl.c: Likewise.
2221         * math/w_sqrt.c: Likewise.
2222         * math/w_sqrtf.c: Likewise.
2223         * math/w_sqrtl.c: Likewise.
2224         * math/w_tgamma.c: Likewise.
2225         * math/w_tgammaf.c: Likewise.
2226         * math/w_tgammal.c: Likewise.
2228         * math/w_acos_compat.c: New file copied from above and
2229         adjusted for new #includes path
2230         * math/w_acosf_compat.c: Likewise.
2231         * math/w_acosh_compat.c: Likewise.
2232         * math/w_acoshf_compat.c: Likewise.
2233         * math/w_acoshl_compat.c: Likewise.
2234         * math/w_acosl_compat.c: Likewise.
2235         * math/w_asin_compat.c: Likewise.
2236         * math/w_asinf_compat.c: Likewise.
2237         * math/w_asinl_compat.c: Likewise.
2238         * math/w_atan2_compat.c: Likewise.
2239         * math/w_atan2f_compat.c: Likewise.
2240         * math/w_atan2l_compat.c: Likewise.
2241         * math/w_atanh_compat.c: Likewise.
2242         * math/w_atanhf_compat.c: Likewise.
2243         * math/w_atanhl_compat.c: Likewise.
2244         * math/w_cosh_compat.c: Likewise.
2245         * math/w_coshf_compat.c: Likewise.
2246         * math/w_coshl_compat.c: Likewise.
2247         * math/w_exp10_compat.c: Likewise.
2248         * math/w_exp10f_compat.c: Likewise.
2249         * math/w_exp10l_compat.c: Likewise.
2250         * math/w_exp2_compat.c: Likewise.
2251         * math/w_exp2f_compat.c: Likewise.
2252         * math/w_exp2l_compat.c: Likewise.
2253         * math/w_fmod_compat.c: Likewise.
2254         * math/w_fmodf_compat.c: Likewise.
2255         * math/w_fmodl_compat.c: Likewise.
2256         * math/w_hypot_compat.c: Likewise.
2257         * math/w_hypotf_compat.c: Likewise.
2258         * math/w_hypotl_compat.c: Likewise.
2259         * math/w_j0_compat.c: Likewise.
2260         * math/w_j0f_compat.c: Likewise.
2261         * math/w_j0l_compat.c: Likewise.
2262         * math/w_j1_compat.c: Likewise.
2263         * math/w_j1f_compat.c: Likewise.
2264         * math/w_j1l_compat.c: Likewise.
2265         * math/w_jn_compat.c: Likewise.
2266         * math/w_jnf_compat.c: Likewise.
2267         * math/w_jnl_compat.c: Likewise.
2268         * math/w_log10_compat.c: Likewise.
2269         * math/w_log10f_compat.c: Likewise.
2270         * math/w_log10l_compat.c: Likewise.
2271         * math/w_log2_compat.c: Likewise.
2272         * math/w_log2f_compat.c: Likewise.
2273         * math/w_log2l_compat.c: Likewise.
2274         * math/w_log_compat.c: Likewise.
2275         * math/w_logf_compat.c: Likewise.
2276         * math/w_logl_compat.c: Likewise.
2277         * math/w_pow_compat.c: Likewise.
2278         * math/w_powf_compat.c: Likewise.
2279         * math/w_powl_compat.c: Likewise.
2280         * math/w_remainder_compat.c: Likewise.
2281         * math/w_remainderf_compat.c: Likewise.
2282         * math/w_remainderl_compat.c: Likewise.
2283         * math/w_scalb_compat.c: Likewise.
2284         * math/w_scalbf_compat.c: Likewise.
2285         * math/w_scalbl_compat.c: Likewise.
2286         * math/w_sinh_compat.c: Likewise.
2287         * math/w_sinhf_compat.c: Likewise.
2288         * math/w_sinhl_compat.c: Likewise.
2289         * math/w_sqrt_compat.c: Likewise.
2290         * math/w_sqrtf_compat.c: Likewise.
2291         * math/w_sqrtl_compat.c: Likewise.
2292         * math/w_tgamma_compat.c: Likewise.
2293         * math/w_tgammaf_compat.c: Likewise.
2294         * math/w_tgammal_compat.c: Likewise.
2296         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
2297         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
2298         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
2299         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
2300         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
2301         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
2302         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
2303         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
2304         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
2305         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
2306         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
2307         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
2308         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
2309         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
2310         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
2311         * sysdeps/ia64/fpu/w_powl.c: Likewise.
2312         * sysdeps/ia64/fpu/w_powf.c: Likewise.
2313         * sysdeps/ia64/fpu/w_pow.c: Likewise.
2314         * sysdeps/ia64/fpu/w_logl.c: Likewise.
2315         * sysdeps/ia64/fpu/w_logf.c: Likewise.
2316         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
2317         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
2318         * sysdeps/ia64/fpu/w_log2.c: Likewise.
2319         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
2320         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
2321         * sysdeps/ia64/fpu/w_log10.c: Likewise.
2322         * sysdeps/ia64/fpu/w_log.c: Likewise.
2323         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
2324         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
2325         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
2326         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
2327         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
2328         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
2329         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
2330         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
2331         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
2332         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
2333         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
2334         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
2335         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
2336         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
2337         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
2338         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
2339         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
2340         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
2341         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
2342         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
2343         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
2344         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
2345         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
2346         * sysdeps/ia64/fpu/w_asin.c: Likewise.
2347         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
2348         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
2349         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
2350         * sysdeps/ia64/fpu/w_acos.c: Likewise.
2351         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
2352         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
2353         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
2354         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
2355         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
2356         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
2357         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
2358         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
2359         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
2360         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
2361         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
2362         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
2363         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
2364         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
2365         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
2366         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
2367         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
2368         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
2369         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
2370         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
2371         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
2372         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
2373         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
2374         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
2375         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
2376         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
2377         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
2378         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
2379         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
2380         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
2381         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
2382         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
2383         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
2384         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
2385         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
2386         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
2387         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
2388         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
2389         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
2390         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
2391         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
2392         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
2393         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
2394         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
2395         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
2396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
2397         Likewise.
2398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
2399         Likewise.
2400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
2401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
2402         Likewise.
2403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
2404         Likewise.
2405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
2406         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2407         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2408         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2409         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2410         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2411         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
2413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
2415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2416         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2417         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2418         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2419         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2421         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
2422         and adjusted for new #includes path
2423         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
2424         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
2425         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
2426         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
2427         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
2428         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
2429         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
2430         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
2431         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
2432         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
2433         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
2434         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
2435         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
2436         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
2437         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
2438         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
2439         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
2440         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
2441         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
2442         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
2443         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
2444         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
2445         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
2446         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
2447         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
2448         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
2449         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
2450         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
2451         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
2452         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
2453         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
2454         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
2455         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
2456         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
2457         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
2458         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
2459         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
2460         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
2461         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
2462         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
2463         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
2464         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
2465         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
2466         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
2467         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
2468         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
2469         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
2470         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
2471         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
2472         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
2473         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
2474         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
2475         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
2476         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
2477         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
2478         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
2479         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
2480         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
2481         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
2482         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
2483         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
2484         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
2485         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
2486         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
2487         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
2488         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
2489         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
2490         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
2491         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
2492         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
2493         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
2494         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
2495         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
2496         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
2497         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
2498         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
2499         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
2500         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
2501         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
2502         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
2503         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
2504         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
2505         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
2506         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
2507         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
2508         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
2509         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
2510         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
2511         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
2512         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
2513         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
2514         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
2515         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
2516         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
2517         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
2518         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
2519         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
2520         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
2521         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
2522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
2523         Likewise.
2524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
2525         Likewise.
2526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
2527         Likewise.
2528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
2529         Likewise.
2530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
2531         Likewise.
2532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
2533         Likewise.
2534         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
2535         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
2536         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
2537         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
2538         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
2539         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
2540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
2541         Likewise.
2542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
2543         Likewise.
2544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
2545         Likewise.
2546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
2547         Likewise.
2548         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
2549         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
2550         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
2551         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
2553 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
2555         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
2556         __jmp_buf_internal_tag.
2558         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
2559         preserve NaN payload if [__mips_nan2008].
2560         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2562         [BZ #21022]
2563         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
2565 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
2567         * sysdeps/i386/fpu/libm-test-ulps: Update.
2569 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2571         * sysdeps/ia64/strcat.c: Remove file.
2572         * sysdeps/powerpc/strcat.c: Likewise.
2573         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
2574         C implementation.
2575         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
2576         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
2578 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2579             Steven Munroe  <sjmunroe@us.ibm.com>
2580             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2582         [BZ #20822]
2583         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2584         (__lll_lock_elision): Access adapt_count via C11 atomics.
2585         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2586         (__lll_trylock_elision): Likewise.
2587         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
2588         (__lll_unlock_elision):  Update adapt_count variable inside the
2589         critical section using C11 atomics.
2591 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
2593         * math/test-fenvinline.c (do_test): Disable tests of raised
2594         exceptions if !EXCEPTION_TESTS (FLOAT).
2596 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2598         [BZ #19390]
2599         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
2600         maximum string size.
2601         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
2602         in pointer addition.
2603         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
2604         Likewise.
2606 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
2608         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
2609         passed to tst-ldconfig-X.sh.
2611 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
2613         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
2615 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
2617         [BZ #21019]
2618         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
2619         New syscall entry.
2620         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
2621         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
2622         lseek.
2624         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
2625         power4 glibc for powerpc-linux-gnu.
2627 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2629         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
2630         semctl.
2632 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
2634         * math/test-nearbyint-except.c: Include <stdbool.h>.
2635         (any_supported): New variable.
2636         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
2637         set any_supported.
2638         (do_test): Return 77 if no floating-point type supported
2639         exceptions.
2641         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
2642         condition on [__mips_hard_float].
2644 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2646         [BZ #21014]
2647         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
2648         in pointer addition.
2649         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
2651 2017-01-02  Torvald Riegel  <triegel@redhat.com>
2653         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
2654         new condvar.
2656 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
2658         * scripts/build-many-glibcs.py (Context.checkout): Default
2659         binutils version to 2.28 branch.
2661 2017-01-01  Florian Weimer  <fweimer@redhat.com>
2663         * support/support_format_netent.c (support_format_netent): Work
2664         around alpha struct netent definition difference.
2666 2017-01-01  Florian Weimer  <fweimer@redhat.com>
2668         * support/xwrite.c (xwrite): Use %td for pointer difference.
2670 2017-01-01  Florian Weimer  <fweimer@redhat.com>
2672         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
2673         have-tunables only.
2674         (tests-static): Add tst-malloc-usable-static-tunables for
2675         have-tunables only.
2677 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
2679         * scripts/config.guess: Update to version 2017-01-01.
2680         * scripts/config.sub: Update to version 2017-01-01.
2682         * NEWS: Update copyright dates.
2683         * catgets/gencat.c (print_version): Likewise.
2684         * csu/version.c (banner): Likewise.
2685         * debug/catchsegv.sh: Likewise.
2686         * debug/pcprofiledump.c (print_version): Likewise.
2687         * debug/xtrace.sh (do_version): Likewise.
2688         * elf/ldconfig.c (print_version): Likewise.
2689         * elf/ldd.bash.in: Likewise.
2690         * elf/pldd.c (print_version): Likewise.
2691         * elf/sotruss.sh: Likewise.
2692         * elf/sprof.c (print_version): Likewise.
2693         * iconv/iconv_prog.c (print_version): Likewise.
2694         * iconv/iconvconfig.c (print_version): Likewise.
2695         * locale/programs/locale.c (print_version): Likewise.
2696         * locale/programs/localedef.c (print_version): Likewise.
2697         * login/programs/pt_chown.c (print_version): Likewise.
2698         * malloc/memusage.sh (do_version): Likewise.
2699         * malloc/memusagestat.c (print_version): Likewise.
2700         * malloc/mtrace.pl: Likewise.
2701         * manual/libc.texinfo: Likewise.
2702         * nptl/version.c (banner): Likewise.
2703         * nscd/nscd.c (print_version): Likewise.
2704         * nss/getent.c (print_version): Likewise.
2705         * nss/makedb.c (print_version): Likewise.
2706         * posix/getconf.c (main): Likewise.
2707         * scripts/test-installation.pl: Likewise.
2708         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2710         * All files with FSF copyright notices: Update copyright dates
2711         using scripts/update-copyrights.
2712         * intl/plural.c: Regenerated.
2713         * locale/programs/charmap-kw.h: Likewise.
2714         * locale/programs/locfile-kw.h: Likewise.
2716 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2718         [BZ #20593]
2719         Update DNS RR type definitions.
2720         * scripts/gen-rrtypes.py: New file.
2721         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
2722         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
2723         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
2724         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
2725         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
2726         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
2727         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
2728         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
2729         ns_t_ta, ns_t_dlv.
2730         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
2731         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
2732         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
2733         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
2734         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
2735         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
2736         Define.
2737         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
2738         entry for ns_t_zxfr.
2740 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2742         [BZ #18784]
2743         CVE-2015-5180
2744         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
2745         T_UNSPEC.  Adjust value.
2746         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
2747         * resolv/res_query.c (__libc_res_nquery): Likewise.
2748         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
2749         QTYPEs.
2750         * resolv/tst-resolv-qtypes.c: New file.
2751         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
2752         (tst-resolv-qtypes): Link against libresolv and libpthread.
2754 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2756         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
2758 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2760         * manual/tunables.texi: New chapter.
2761         * manual/Makefile (chapters): Add it.
2762         * manual/probes.texi (@node): Point to the Tunables chapter.
2764         * Makeconfig (have-tunables): Check for non-negative instead
2765         of positive.
2766         * configure.ac: Add 'valstring' as a valid value for
2767         --enable-tunables.
2768         * configure: Regenerate.
2769         * elf/Makefile (have-tunables): Check for non-negative instead
2770         of positive.
2771         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
2772         dl-tunables.c.
2773         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
2774         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
2775         (tunables_strdup): Likewise.
2776         (disable_tunables): Likewise.
2777         (parse_tunables): Likewise.
2778         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
2779         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
2780         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
2781         (TUNABLES_FRONTEND_yes): New macro, define as
2782         TUNABLES_FRONTEND_valstring by default.
2783         * manual/install.texi: Document new acceptable values for
2784         --enable-tunables.
2785         * INSTALL: Regenerate.
2787         * config.make.in (have-loop-to-function): Define.
2788         * elf/Makefile (CFLAGS-dl-tunables.c): Add
2789         -fno-tree-loop-distribute-patterns.
2790         * elf/dl-tunables.c: Include libc-internals.h.
2791         (GLIBC_TUNABLES): New macro.
2792         (tunables_strdup): New function.
2793         (parse_tunables): New function.
2794         (min_strlen): New function.
2795         (__tunables_init): Use the new functions and macro.
2796         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
2797         * malloc/tst-malloc-usable-tunables.c: New test case.
2798         * malloc/tst-malloc-usable-static-tunables.c: New test case.
2799         * malloc/Makefile (tests, tests-static): Add tests.
2801         * manual/install.texi: Add --enable-tunables option.
2802         * INSTALL: Regenerate.
2803         * README.tunables: New file.
2804         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
2805         (before-compile): Generate dl-tunable-list.h early.
2806         * config.h.in: Add HAVE_TUNABLES.
2807         * config.make.in: Add have-tunables.
2808         * configure.ac: Add --enable-tunables option.
2809         * configure: Regenerate.
2810         * csu/init-first.c (__libc_init_first): Move
2811         __libc_init_secure earlier...
2812         * csu/init-first.c (LIBC_START_MAIN):... to here.
2813         Include dl-tunables.h, libc-internal.h.
2814         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
2815         binaries.
2816         * elf/Makefile (dl-routines): Add dl-tunables.
2817         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
2818         namespace.
2819         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
2820         only when !HAVE_TUNABLES.
2821         * elf/rtld.c (process_envvars): Likewise.
2822         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
2823         (_dl_sysdep_start): Call __tunables_init.
2824         * elf/dl-tunable-types.h: New file.
2825         * elf/dl-tunables.c: New file.
2826         * elf/dl-tunables.h: New file.
2827         * elf/dl-tunables.list: New file.
2828         * malloc/tst-malloc-usable-static.c: New test case.
2829         * malloc/Makefile (tests-static): Add it.
2830         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
2831         Define TUNABLE_NAMESPACE.
2832         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
2833         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
2834         callback functions.
2835         (ptmalloc_init): Set tunable values.
2836         * scripts/gen-tunables.awk: New file.
2837         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
2838         (_dl_sysdep_start): Call __tunables_init.
2840 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2842         * resolv/resolv.h (RES_BLAST): Deprecate.
2843         * resolv/res_debug.c (p_option): Remove RES_BLAST.
2844         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
2845         to RES_BLAST.
2847 2016-12-27  Florian Weimer  <fweimer@redhat.com>
2849         [BZ #19582]
2850         Deprecate RES_USE_INET6.
2851         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
2852         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
2853         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
2854         RES_USE_INET6.
2855         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
2856         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
2857         (_nss_nisplus_gethostbyaddr_r): Likewise.
2858         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
2859         of res_use_inet6.
2860         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
2861         instead of RES_USE_INET6.
2862         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
2863         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
2864         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
2865         Likewise.
2866         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
2867         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
2868         Likewise.
2869         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
2870         (_nss_dns_gethostbyname_r): Likewise.
2871         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
2872         alternate RES_USE_INET6 handling.
2873         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
2874         instead of RES_USE_INET6.
2875         * resolv/res_init.c (res_setoptions): Likewise.
2876         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
2877         * resolv/resolv-internal.h: New file.
2878         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
2879         make the deprecation warning non-fatal.
2880         * resolv/README (Using the resolver in multi-threaded code): Drop
2881         reference to RES_USE_INET6.
2882         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
2883         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
2885 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2887         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
2888         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
2889         tst-resolv-search.
2890         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
2891         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
2892         with libresolv and libpthread.
2893         * resolv/tst-bug18665.c: New file.
2894         * resolv/tst-bug18665-tcp: Likewise.
2895         * resolv/tst-res_use_inet6: Likewise.
2896         * resolv/tst-resolv-basic: Likewise.
2897         * resolv/tst-resolv-network: Likewise.
2898         * resolv/tst-resolv-search: Likewise.
2899         * support/Makefile (libsupport-routines): Add check_addrinfo,
2900         check_dns_packet, check_hostent, check_netent, resolv_test,
2901         support_format_address_family, support_format_addrinfo,
2902         support_format_dns_packet, support_format_herrno,
2903         support_format_hostent, support_format_netent, support_run_diff,
2904         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
2905         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
2906         xstrdup, xwrite.
2907         * support/check_addrinfo.c: New file.
2908         * support/check_dns_packet.c: Likewise.
2909         * support/check_hostent.c: Likewise.
2910         * support/check_netent.c: Likewise.
2911         * support/check_nss.h: Likewise.
2912         * support/format_nss.h: Likewise.
2913         * support/resolv_test.c: Likewise.
2914         * support/resolv_test.h: Likewise.
2915         * support/run_diff.h: Likewise.
2916         * support/support_format_address_family.c: Likewise.
2917         * support/support_format_addrinfo.c: Likewise.
2918         * support/support_format_dns_packet.c: Likewise.
2919         * support/support_format_herrno.c: Likewise.
2920         * support/support_format_hostent.c: Likewise.
2921         * support/support_format_netent.c: Likewise.
2922         * support/support_run_diff.c: Likewise.
2923         * support/xaccept.c: Likewise.
2924         * support/xbind.c: Likewise.
2925         * support/xconnect.c: Likewise.
2926         * support/xfclose.c: Likewise.
2927         * support/xfopen.c: Likewise.
2928         * support/xgetsockname.c: Likewise.
2929         * support/xlisten.c: Likewise.
2930         * support/xmemstream.c: Likewise.
2931         * support/xmemstream.h: Likewise.
2932         * support/xpoll.c: Likewise.
2933         * support/xpthread_once.c: Likewise.
2934         * support/xrecvfrom.c: Likewise.
2935         * support/xsendto.c: Likewise.
2936         * support/xsetsockopt.c: Likewise.
2937         * support/xstdio.h: Likewise.
2938         * support/xstrdup.c: Likewise.
2939         * support/support.h (xstrdup): Declare.
2940         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
2941         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
2942         * support/xthread.h (xpthread_once): Likwise.
2943         * support/xunistd.h (xwrite): Declare.
2945 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2947         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
2948         (test_verbose): Declare.
2949         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
2950         * support/support_test_main.c (default_options): Likewise.
2951         (usage, support_test_main): Handle 'v'.
2952         (test_verbose): Define.
2953         * support/tst-support_record_failure.c (do_test): Use
2954         test_verbose.
2955         * support/tst-support_record_failure-2.sh (different_status): Add
2956         --verbose test.
2958 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2960         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
2961         test failures are recorded.
2962         * support/check.c (support_print_failure_impl): Call
2963         support_record_failure.
2964         (support_exit_failure_impl): Call support_record_failure if status
2965         indicates failure.
2966         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
2967         * support/xasprintf.c (xasprintf): Likewise.
2968         * support/xfork.c (xfork): Likewise.
2969         * support/xpthread_check_return.c (xpthread_check_return):
2970         Likewise.
2971         * support/xsocket.c (xsocket): Likeweise.
2972         * support/xwaitpid.c (xwaitpid): Likewise.
2973         * support/support_record_failure.c (struct test_failures): Adjust
2974         to coding style.
2975         * support/support_test_verify_impl.c (support_test_verify_impl):
2976         Adjust error messages.
2977         * support/tst-support_record_failure-2.sh (different_status):
2978         Adjust error messages.
2980 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2982         * support/namespace.h: New file.
2983         * support/support_become_root.c: Likewise.
2984         * support/support_enter_network_namespace.c: Likewise.
2985         * support/tst-support-namespace.c: Likewise.
2986         * support/xsocket.c: Likewise.
2987         * support/xsocket.h: Likewise.
2988         * support/Makefile (libsupport-routines): Add support_become_root,
2989         support_enter_network_namespace, xsocket.
2990         (tests): Add tst-support-namespace.
2992 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2994         [BZ #17252]
2995         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
2996         __USE_GNU.
2998 2016-12-31  Torvald Riegel  <triegel@redhat.com>
3000         [BZ #13165]
3001         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
3002         use new algorithm.
3003         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
3004         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
3005         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
3006         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
3007         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
3008         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
3009         __condvar_cleanup_waiting, __condvar_dec_grefs,
3010         __pthread_cond_wait_common): New.
3011         (__condvar_cleanup): Remove.
3012         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
3013         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
3014         Likewise.
3015         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
3016         Likewise.
3017         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
3018         * nptl/tst-cond1.c: Add comment.
3019         * nptl/tst-cond20.c (do_test): Adapt.
3020         * nptl/tst-cond22.c (do_test): Likewise.
3021         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
3022         structure.
3023         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3024         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3025         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3026         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
3027         Likewise.
3028         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3029         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3030         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3031         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3032         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3033         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
3034         Likewise.
3035         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
3036         Likewise.
3037         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3038         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
3039         (COND_CLOCK_BITS): Adapt.
3040         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
3041         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
3042         __PTHREAD_COND_SHARED_MASK): New.
3043         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
3044         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
3045         * nptl/nptl_lock_constants.pysym: Adapt.
3046         * nptl/test-cond-printers.py: Adapt.
3047         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
3048         cond_compat_check_and_clear): Adapt.
3049         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
3050         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
3051         (__pthread_cond_timedwait): ... and move here.
3052         * nptl/DESIGN-condvar.txt: Remove file.
3053         * nptl/lowlevelcond.sym: Likewise.
3054         * nptl/pthread_cond_timedwait.c: Likewise.
3055         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
3056         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
3057         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
3058         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
3059         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
3060         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
3061         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
3062         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
3063         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
3064         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
3065         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
3066         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
3067         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
3068         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
3069         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
3070         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
3072 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
3074         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3075         (fromfp): New declaration.
3076         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
3077         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
3078         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
3079         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
3080         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
3081         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
3082         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
3083         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
3084         * math/math.h: Include <bits/types.h>.
3085         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
3086         constant and macro.
3087         (FP_INT_DOWNWARD): Likewise.
3088         (FP_INT_TOWARDZERO): Likewise.
3089         (FP_INT_TONEARESTFROMZERO): Likewise.
3090         (FP_INT_TONEAREST): Likewise.
3091         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
3092         (fromfpf): Likewise.
3093         (fromfpl): Likewise.
3094         (ufromfp): Likewise.
3095         (ufromfpf): Likewise.
3096         (ufromfpl): Likewise.
3097         (fromfpx): Likewise.
3098         (fromfpxf): Likewise.
3099         (fromfpxl): Likewise.
3100         (ufromfpx): Likewise.
3101         (ufromfpxf): Likewise.
3102         (ufromfpxl): Likewise.
3103         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
3104         s_fromfpxF and s_ufromfpxF.
3105         * math/gen-fromfp-tests.py: New file.
3106         * math/gen-fromfp-tests-inputs: Likewise.
3107         * math/libm-test.inc: Include <stdint.h>
3108         (check_intmax_t): New function.
3109         (check_uintmax_t): Likewise.
3110         (struct test_fiu_M_data): New type.
3111         (struct test_fiu_U_data): Likewise.
3112         (RUN_TEST_fiu_M): New macro.
3113         (RUN_TEST_LOOP_fiu_M): Likewise.
3114         (RUN_TEST_fiu_U): Likewise.
3115         (RUN_TEST_LOOP_fiu_U): Likewise.
3116         (fromfp_test_data): New array.
3117         (fromfp_test): New function.
3118         (fromfpx_test_data): New array.
3119         (fromfpx_test): New function.
3120         (ufromfp_test_data): New array.
3121         (ufromfp_test): New function.
3122         (ufromfpx_test_data): New array.
3123         (ufromfpx_test): New function.
3124         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
3125         ufromfpx_test.
3126         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
3127         characters.
3128         * math/test-tgmath-ret.c: Include <stdint.h>.
3129         (rm): New variable.
3130         (width): Likewise.
3131         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
3132         called function.
3133         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
3134         CHECK_RET_CONST_TYPE.
3135         (CHECK_RET_CONST_DOUBLE): Likewise.
3136         (CHECK_RET_CONST_LDOUBLE): Likewise.
3137         (CHECK_RET_CONST): Take extra arguments and pass them to calls
3138         macros.
3139         (fromfp): New CHECK_RET_CONST call.
3140         (ufromfp): Likewise.
3141         (fromfpx): Likewise.
3142         (ufromfpx): Likewise.
3143         (do_test): Call check_return_fromfp, check_return_ufromfp,
3144         check_return_fromfpx and check_return_ufromfpx.
3145         * math/test-tgmath.c: Include <stdint.h>
3146         (NCALLS): Increase to 138.
3147         (F(compile_test)): Initialize i.  Call fromfp functions.
3148         (F(fromfp)): New function.
3149         (F(fromfpx)): Likewise.
3150         (F(ufromfp)): Likewise.
3151         (F(ufromfpx)): Likewise.
3152         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
3153         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
3154         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
3155         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
3156         ufromfpxl.
3157         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
3158         ufromfp and ufromfpx.
3159         * math/fromfp.h: New file.
3160         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
3161         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
3162         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
3163         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
3164         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
3165         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
3166         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
3167         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
3168         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
3169         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
3170         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
3171         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
3172         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
3173         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
3174         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
3175         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
3176         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
3177         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
3178         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
3179         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
3180         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
3181         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
3182         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
3183         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
3184         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
3185         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
3186         ufromfp, fromfpx and ufromfpx.
3187         (CFLAGS-nldbl-fromfp.c): New variable.
3188         (CFLAGS-nldbl-fromfpx.c): Likewise.
3189         (CFLAGS-nldbl-ufromfp.c): Likewise.
3190         (CFLAGS-nldbl-ufromfpx.c): Likewise.
3191         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
3192         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
3193         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
3194         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
3195         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
3196         * sysdeps/nacl/libm.abilist: Update.
3197         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3198         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3199         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3200         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3201         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3202         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3203         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3204         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3205         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3206         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3207         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3208         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3210         Likewise.
3211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3212         Likewise.
3213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3214         Likewise.
3215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3216         Likewise.
3217         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3218         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3219         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3220         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3221         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3223         Likewise.
3224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3225         Likewise.
3226         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3227         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3228         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3230 2016-12-30  Florian Weimer  <fweimer@redhat.com>
3232         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
3233         compat-gethnamaddr.
3234         (CPPFLAGS): Remove.
3235         * resolv/gethnamaddr.c: Rename ...
3236         * resolv/compat-gethnamaddr.c: ... to this file.
3237         (_endhtent): Make static.
3238         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
3239         symbol.
3240         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
3241         compat symbol.
3242         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
3243         symbol.
3244         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
3245         Turn into compat symbol.
3246         * include/resolv.h (_endhtent): Remove declaration.
3248 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
3250         * bits/types.h (__intmax_t): New typedef.
3251         (__uintmax_t): Likewise.
3252         * sysdeps/generic/stdint.h: Include <bits/types.h>.
3253         (intmax_t): Define using __intmax_t.
3254         (uintmax_t): Define using __uintmax_t.
3256         * support/Makefile (tests-special): Make definition conditional on
3257         [$(run-built-tests) = yes].
3258         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
3259         on [$(run-built-tests) = yes].
3261 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3263         * Rules (tests): Add tests-printers-programs to tests to be
3264         built.
3266 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3268         * sysvipc/Makefile (tests): Add test-sysvshm.
3269         * sysvipc/test-sysvshm.c: New file.
3271         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
3272         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
3273         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
3274         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
3275         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
3276         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
3277         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
3278         Likewise.
3279         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
3280         Likewise.
3281         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
3282         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
3283         is defined.
3285         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
3286         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
3287         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
3288         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
3289         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
3290         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
3291         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
3292         Likewise.
3293         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
3294         Likewise.
3295         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
3296         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
3297         defined.
3299         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
3300         oldshmctl.
3301         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
3302         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
3303         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
3304         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
3305         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
3306         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
3307         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
3308         Likewise.
3309         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
3310         Likewise.
3311         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
3312         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
3313         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
3314         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
3315         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
3316         implementation.
3317         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
3318         if it is defined.
3320         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
3321         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
3322         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
3323         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
3324         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
3325         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
3326         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
3327         Likewise.
3328         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
3329         Likewise.
3330         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
3331         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
3332         Define to __NR_osf_shmat.
3333         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
3334         defined.
3336         * sysvipc/Makefile (tests): Add test-sysvsem.
3337         * sysvipc/test-sysvsem.c: New file.
3339         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
3340         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
3341         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
3342         Likewise.
3343         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
3344         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
3345         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
3346         Likewise.
3347         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
3348         Likewise.
3349         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
3350         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
3351         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
3352         add a comment about s390 syscall difference from default one.
3353         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
3354         syscall if it is defined.
3356         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
3357         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
3358         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
3359         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
3360         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
3361         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
3362         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
3363         Likewise.
3364         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
3365         Likewise.
3366         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
3367         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
3368         defined.
3370         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
3371         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
3372         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
3373         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
3374         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
3375         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
3376         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
3377         Likewise.
3378         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
3379         Likewise.
3380         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
3381         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
3382         if it is defined.
3384         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
3385         oldsemctl.
3386         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
3387         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
3388         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
3389         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
3390         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
3391         implementation.
3392         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
3393         syscall if it is defined.
3394         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
3395         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
3396         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
3397         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
3398         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
3399         Likewise.
3400         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
3402         * sysvipc/Makefile (tests): Add test-sysvmsg.
3403         * sysvipc/test-sysvmsg.c: New file.
3404         * support/check.h (FAIL_UNSUPPORTED): New define.
3406         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
3407         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
3408         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
3409         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
3410         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
3411         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
3412         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
3413         Likewise.
3414         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
3415         Likewise.
3416         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
3417         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
3418         define.
3420         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
3421         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
3422         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
3423         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
3424         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
3425         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
3426         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
3427         Likewise.
3428         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
3429         Likewise.
3430         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
3431         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
3432         if defined.
3434         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
3435         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
3436         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
3437         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
3438         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
3439         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
3440         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
3441         Likewise.
3442         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
3443         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
3444         Likewise.
3445         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
3446         if defined.
3447         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
3449         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
3450         oldmsgctl.
3451         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
3452         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
3453         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
3454         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
3455         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
3456         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
3457         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
3458         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
3459         Likewise.
3460         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
3461         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
3462         implementation.
3463         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
3464         if defined.
3466         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
3467         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
3468         definition and define its own.
3469         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
3470         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
3471         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
3472         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
3473         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
3474         definitions to common header.
3475         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
3476         operation from ipc_ops.h.
3478         * sysdeps/unix/sysv/linux/kernel-features.h
3479         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
3480         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3481         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
3482         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3483         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3484         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3485         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3486         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3487         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3488         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3489         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3490         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3491         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3492         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3493         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3495 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3497         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
3498         overflow in pointer addition.
3500 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3502         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3503         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
3504         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3505         (strchr): Add __strchr_power8 to list of strchr functions.
3506         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
3507         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
3508         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
3509         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
3510         (strchr): Add __strchr_power8 to ifunc list.
3511         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
3512         (__strchrnul): Add __strchrnul_power8 to ifunc list.
3513         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
3514         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
3516 2016-12-28  Florian Weimer  <fweimer@redhat.com>
3518         * support/Makefile (libsupport-routines): Add
3519         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
3520         (tests): Add tst-support_record_failure.
3521         (tests-special): tst-support_record_failure-2.
3522         (tst-support_record_failure-2.out): Depend on
3523         tst-support_record_failure-2.sh and tst-support_record_failure.
3524         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
3525         (support_test_verify_impl, support_record_failure)
3526         (support_report_failure, support_report_failure_reset): Declare.
3527         * support/support_test_main.c (adjust_exit_status): New function.
3528         (support_test_main): Call it to incorporate record test failures.
3529         * support/support_test_verify_impl.c: New file.
3530         * support/support_record_failure.c: Likewise.
3531         * support/tst-support_record_failure.c: Likewise.
3532         * support/tst-support_record_failure-2.sh: Likewise.
3533         * support/xunistd.h: Likewise.
3534         * support/xfork.c: Likewise.
3535         * support/xwaitpid.c: Likewise.
3537 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
3539         * scripts/check-c++-types.sh: Add comments.
3541 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
3543         [BZ #19514]
3544         * resolv/res_send.c: Fix typo in comment.
3545         * sysdeps/i386/i386-mcount.S: Likewise.
3546         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3547         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3548         * sysdeps/sparc/sparc-mcount.S: Likewise.
3550 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3552         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
3553         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
3554         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
3555         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
3556         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
3557         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
3558         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
3559         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
3561 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3563         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
3565 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3567         [BZ #17252]
3568         * posix/unistd.h (getentropy): Declare.
3570 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3572         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
3573         Remove.
3574         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
3575         (cmd): Remove spoof, nospoof, spoofalert.
3576         (parse_line): Ignore spoof-related lines.
3577         (do_init): Do not process RESOLV_SPOOF_CHECK.
3579 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3581         [BZ #20964]
3582         sunrpc: Always obtain AF_INET addresses from NSS.
3583         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
3584         * sunrpc/rpc_gethostbyname.c: New file.
3585         * sunrpc/Makefile (routines): Add it.
3586         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
3587         * sunrpc/clnt_simp.c (callrpc): Likewise.
3588         * sunrpc/getrpcport.c (getrpcport): Likewise.
3590 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3592         * sunrpc/rpcinfo.c: Remove.
3593         * sunrpc/Makefile: Remove comments referring to rpcinfo.
3595 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3597         [BZ# 19387]
3598         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
3599         addition.
3600         * string/test-memchr.c (do_test): Remove alignment limitation.
3601         (test_main): Add test that trigger BZ# 19387.
3603 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3605         [BZ #7065]
3606         Enable stack protectore if requested by ./configure.
3607         * Makeconfig (+stack-protector): New variable.
3608         (+cflags): Use it.
3610 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3612         [BZ #7065]
3613         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
3614         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
3615         (__rt_sigreturn_stub): Use inhibit_stack_protector.
3616         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3617         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
3619 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3621         [BZ #7065]
3622         * login/Makefile (pt_chown-cflags): Remove.
3623         * nscd/Makefile (CFLAGS-nscd): Likewise.
3624         * resolv/Makefile (CFLAGS-libresolv): Likewise.
3626 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3628         [BZ #7065]
3629         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
3630         non-libc-linking testcase.
3632 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3633             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3634             Florian Weimer  <fweimer@redhat.com>
3636         [BZ #7065]
3637         PLT avoidance for __stack_chk_fail*.
3638         * debug/Makefile (CFLAGS-stack_chk_fail.c)
3639         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
3640         * debug/stack_chk_fail.c (__stack_chk_fail): Add
3641         __stack_chk_fail_local alias.
3642         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
3643         (__stack_chk_fail): Turn into hidden reference to
3644         __stack_chk_fail_local.
3646 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3648         [BZ #7065]
3649         * configure.ac: Add check for unsupported stack-protection level.
3650         (libc_cv_predef_stack_protector): Remove.
3651         (no_ssp): New variable.
3652         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
3653         (stack_protector): Set to -fno-stack-protector similarly.
3654         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
3655         (libc_cv_asm_set_directive): Likewise.
3656         (libc_cv_protected_data): Likewise.
3657         (libc_cv_z_combreloc): Likewise.
3658         (libc_cv_hashstyle): Likewise.
3659         (libc_cv_has_glob_dat): Likewise.
3660         (libc_cv_output_format): Likewise.
3661         (libc_cv_output_format): Likewise.
3662         (libc_cv_ehdr_start): Likewise.
3663         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
3664         (LIBC_LINKER_FEATURE): Likewise.
3665         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
3667 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3669         [BZ #7065]
3670         * elf/Makefile (dummy-stack-chk-fail): New.
3671         (librtld.map): Use it.
3673 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3675         [BZ #7065]
3676         Compile the dynamic linker without stack protection.
3677         * elf/Makefile (elide-stack-protector): New.
3678         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
3679         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
3680         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
3681         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
3683 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3685         [BZ #7065]
3686         * config.make.in (have-ssp, no-stack-protector): New.
3687         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
3688         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
3689         (CFLAGS-sbrk.op): Likewise.
3690         (CFLAGS-brk.o): Likewise.
3691         (CFLAGS-brk.op): Likewise.
3692         * string/Makefile (CFLAGS-memcpy.c): Likewise.
3693         (CFLAGS-wordcopy.c): Likewise.
3695 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3697         [BZ #7065]
3698         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
3699         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
3700         * include/libc-symbols.h (inhibit_stack_protector): New macro.
3701         (__ifunc_resolver): Use it.
3702         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
3703         inhibit_stack_protector.
3704         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
3705         * elf/ifuncmain7.c (foo_ifunc): Likewise.
3706         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
3707         (foo_protected_ifunc): Likewise.
3708         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
3709         (foo_protected_ifunc): Likewise.
3710         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
3711         * sysdeps/nacl/nacl_interface_query.c
3712         (nacl_interface_query_ifunc): Likewise.
3713         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
3714         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
3715         Likewise.
3716         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
3717         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
3718         the generated vDSO syscall resolver.
3720 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3721             Florian Weimer  <fweimer@redhat.com>
3723         [BZ #7065]
3724         Initialize the stack guard earlier when linking statically.
3725         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
3726         (__pthread_initialize_minimal): Declare.
3727         * csu/libc-start.c (__pthread_initialize_minimal): Remove
3728         declaration.
3729         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
3730         stack canary and apply_irel initialization up.  Call
3731         __pthread_initialize_minimal only if linked in.
3732         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
3733         constant values.
3734         (__pthread_initialize_minimal): Remove.
3735         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
3736         (__pthread_initialize_minimal_internal): Do not call
3737         __libc_setup_tls.
3739 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3741         [BZ #7065]
3742         * configure.ac (libc_cv_ssp): Move up.
3743         (libc_cv_ssp_strong): Likewise.
3744         (libc_cv_ssp_all): New.
3745         (stack_protector): Augment, adding -fstack-protector-all.
3746         (no_stack_protector): New.
3747         (STACK_PROTECTOR_LEVEL): New.
3748         (AC_ARG_ENABLE(stack-protector)): New configure flag.
3749         * manual/install.texi (--enable-stack-protector): Document it.
3750         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
3752 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
3754         * README.pretty-printers: Must specify CPPFLAGS-* also.
3755         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
3756         (CPPFLAGS-test-mutex-printers.c): Define.
3757         (CPPFLAGS-test-condattr-printers.c): Define.
3758         (CPPFLAGS-test-cond-printers.c): Define.
3759         (CPPFLAGS-test-rwlockattr-printers.c): Define.
3760         (CPPFLAGS-test-rwlock-printers.c): Define.
3762         * nss/Makefile [ifeq (yes,$(have-thread-library))]
3763         (tests): Add tst-cancel-getpwuid_r.
3764         * nss/tst-cancel-getpwuid_r.c: New file.
3766         [BZ #11941]
3767         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
3768         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
3769         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
3770         tst-nodelete-dlclose.
3771         (modules-names): Add tst-nodelete-dlclose-dso and
3772         tst-nodelete-dlclose-plugin.
3773         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
3774         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
3775         ($(objpfx)tst-nodelete-dlclose): Define.
3776         ($(objpfx)tst-nodelete-dlclose.out): Define.
3778 2016-12-23  Florian Weimer  <fweimer@redhat.com>
3780         * scripts/test_printers_common.py: Log GDB output in case of
3781         Python detection failure.
3783 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3785         * configure.ac: Check for python3 or python.
3786         * configure: Regenerated.
3787         * config.make.in (PYTHON): New variable.
3788         * benchtests/Makefile: Don't define PYTHON.
3789         (bench): Define target only if PYTHON was defined.
3790         * Rules: Don't define PYTHON.
3791         Define pretty printer targets only if PYTHON was defined.
3792         (tests-printers): Add to tests-unsupported if PYTHON is not
3793         found.
3794         (python-flags, python-invoke): Remove.
3795         (tests-printers-out): Use PYTHON instead of python-invoke.
3797 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
3799         [BZ #20978]
3800         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3801         Compare name == NULL, not name != NULL.
3803         * manual/texinfo.tex: Update to version 2016-09-18.18 with
3804         trailing whitespace removed.
3805         * scripts/config.guess: Update to version 2016-10-02.
3806         * scripts/config.sub: Update to version 2016-11-19.
3807         * scripts/install-sh: Update to version 2016-01-11.22.
3808         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
3809         * scripts/move-if-change: Update to version 2016-01-11 22:04.
3811 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
3813         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
3814         (do_one_test) Restore original string so iteration works.
3815         * string/string-inlines.c (do_test): Create better input strings.
3816         (test_main) Reduce number of testruns.
3817         * string/string-inlines.c (__old_strsep_1c): New function.
3818         (__old_strsep_2c): Likewise.
3819         (__old_strsep_3c): Likewise.
3820         * string/strsep.c (__strsep): Remove case of small delim string.
3821         Call strcspn directly rather than strpbrk.
3822         * string/bits/string2.h (__strsep): Remove define.
3823         (__strsep_1c): Remove.
3824         (__strsep_2c): Remove.
3825         (__strsep_3c): Remove.
3826         (strsep): Remove.
3827         * sysdeps/unix/sysv/linux/internal_statvfs.c
3828         (__statvfs_getflags): Rename to __strsep.
3830 2016-12-21  Florian Weimer  <fweimer@redhat.com>
3832         * csu/libc-tls.c (_dl_tls_setup): Remove.
3833         * elf/dl-tls.c (_dl_tls_setup): Likewise.
3834         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
3835         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
3837 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
3839         [BZ #7065]
3840         * sysdeps/x86_64/Makefile [$(subdir) = elf]
3841         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
3843 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
3844             Florian Weimer  <fweimer@redhat.com>
3846         [BZ #7065]
3847         * csu/Makefile (tests): Empty assignment and document it.
3848         (tests-static): Remove.
3849         * csu/tst-empty.c: Move to...
3850         * misc/tst-empty.c: ... here.  Switch to new test driver.
3851         * csu/tst-atomic.c: Move to...
3852         * misc/tst-atomic.c: ... here.  Switch to new test driver.
3853         * csu/tst-atomic-long.c: Move to...
3854         * misc/tst-atomic-long.c: ... here.
3855         * misc/Makefile (tests): Add tst-empty, tst-atomic,
3856         tst-atomic-long.
3857         (tests-static): Add tst-empty.
3859 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
3861         * manual/nss.texi: Change incorrect @vtable to @table.
3862         * manual/arith.texi: Convert @tables of variables to @vtables
3863         and remove unnecessary indexing.
3864         * manual/filesys.texi: Likewise.
3865         * manual/llio.texi: Likewise.
3866         * manual/memory.texi: Likewise.
3867         * manual/process.texi: Likewise.
3868         * manual/resource.texi: Likewise.
3869         * manual/search.texi: Likewise.
3870         * manual/signal.texi: Likewise.
3871         * manual/socket.texi: Likewise.
3872         * manual/stdio.texi: Likewise.
3873         * manual/sysinfo.texi: Likewise.
3874         * manual/syslog.texi: Likewise.
3875         * manual/terminal.texi: Likewise.
3876         * manual/time.texi: Likewise.
3877         * manual/users.texi: Likewise.
3879 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
3881         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3882         (roundeven): New declaration.
3883         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
3884         macro.
3885         * math/Versions (roundeven): New libm symbol at version
3886         GLIBC_2.25.
3887         (roundevenf): Likewise.
3888         (roundevenl): Likewise.
3889         * math/Makefile (libm-calls): Add s_roundevenF.
3890         * math/libm-test.inc (roundeven_test_data): New array.
3891         (roundeven_test): New function.
3892         (main): Call roundeven_test.
3893         * math/test-tgmath.c (NCALLS): Increase to 134.
3894         (F(compile_test)): Call roundeven.
3895         (F(roundeven)): New function.
3896         * manual/arith.texi (Rounding Functions): Document roundeven,
3897         roundevenf and roundevenl.
3898         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
3899         * include/math.h (roundeven): Use libm_hidden_proto.
3900         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
3901         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
3902         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
3903         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
3904         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
3905         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
3906         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3907         roundeven.
3908         (CFLAGS-nldbl-roundeven.c): New variable.
3909         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
3910         * sysdeps/nacl/libm.abilist: Update.
3911         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3912         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3913         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3914         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3915         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3916         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3917         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3918         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3919         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3920         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3921         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3922         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3924         Likewise.
3925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3926         Likewise.
3927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3928         Likewise.
3929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3930         Likewise.
3931         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3932         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3933         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3934         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3935         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3936         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3937         Likewise.
3938         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3939         Likewise.
3940         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3941         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3942         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3944 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
3946         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
3947         preprocessor indentation inside #if.
3949 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3951         * math/libm-test.inc (fmt_ftostr): New function.
3952         (print_float, check_float_internal): Replace some uses of
3953         FTOSTR with uses of fmt_ftostr.
3954         (print_max_error, print_complex_max_error, print_function_ulps)
3955         (print_complex_function_ulps): Remove uses of the macros
3956         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
3957         * math/test-double.h (FTOSTR): Define to strfromd.
3958         (PRINTF_EXPR): Delete.
3959         (PRINTF_XEXPR): Likewise.
3960         (PRINTF_NEXPR): Likewise.
3961         * math/test-float.h (FTOSTR): Define to strfromf.
3962         (PRINTF_EXPR): Delete.
3963         (PRINTF_XEXPR): Likewise.
3964         (PRINTF_NEXPR): Likewise.
3965         * math/test-ldouble.h (FTOSTR): Define to strfroml.
3966         (PRINTF_EXPR): Delete.
3967         (PRINTF_XEXPR): Likewise.
3968         (PRINTF_NEXPR): Likewise.
3970 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3972         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
3973         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
3974         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
3975         (__lll_lock_elision): Decrement adapt_count while unlocking
3976         instead of before locking.
3977         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
3978         (__lll_trylock_elision): Likewise.
3979         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
3980         (__lll_unlock_elision): Likewise.
3982 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3984         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
3985         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
3986         Use __libc_tbegin_retry macro.
3988 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3990         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
3991         Add -msoft-float.
3992         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
3993         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
3994         Use __libc_t* transaction macros instead of __builtin_t*.
3995         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3996         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3998 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4000         * sysdeps/unix/sysv/linux/s390/elision-lock.c
4001         (__lll_lock_elision): Use atomics to load / store adapt_count.
4002         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
4003         (__lll_trylock_elision): Likewise.
4005 2016-12-20  Florian Weimer  <fweimer@redhat.com>
4007         Do not require memset elimination in explicit_bzero test.
4008         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
4009         (enum test_expectation): Add NO_EXPECTATIONS.
4010         (subtests): NO_EXPECTATIONS for ordinary clear.
4011         (check_test_buffer): Handle NO_EXPECTATIONS.
4012         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
4014 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
4016         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4017         (fmaxmag): New declaration.
4018         (fminmag): Likewise.
4019         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
4020         macro.
4021         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
4022         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
4023         (fmaxmagf): Likewise.
4024         (fmaxmagl): Likewise.
4025         (fminmag): Likewise.
4026         (fminmagf): Likewise.
4027         (fminmagl): Likewise.
4028         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
4029         * math/s_fmaxmag_template.c: New file.
4030         * math/s_fminmag_template.c: Likewise.
4031         * math/libm-test.inc (fmaxmag_test_data): New array.
4032         (fmaxmag_test): New function.
4033         (fminmag_test_data): New array.
4034         (fminmag_test): New function.
4035         (main): Call fmaxmag_test and fminmag_test.
4036         * math/test-tgmath.c (NCALLS): Increase to 132.
4037         (F(compile_test)): Call fmaxmag and fminmag.
4038         (F(fminmag)): New function.
4039         (F(fmaxmag)): Likewise.
4040         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
4041         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
4042         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
4043         fminmag.
4044         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
4045         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
4046         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4047         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4048         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
4049         and fminmag.
4050         (CFLAGS-nldbl-fmaxmag.c): New variable.
4051         (CFLAGS-nldbl-fminmag.c): Likewise.
4052         * sysdeps/nacl/libm.abilist: Update.
4053         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4054         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4055         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4056         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4057         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4058         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4059         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4060         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4061         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4062         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4063         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4064         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4066         Likewise.
4067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4068         Likewise.
4069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4070         Likewise.
4071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4072         Likewise.
4073         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4074         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4075         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4076         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4077         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4079         Likewise.
4080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4081         Likewise.
4082         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4083         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4084         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4086 2016-12-19  Torvald Riegel  <triegel@redhat.com>
4088         [BZ #20973]
4089         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
4090         wake-up in robust mutexes.
4091         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4093 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4095         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
4096         (CFLAGS-bench-fmaxf.c): New rule.
4097         (CFLAGS-bench-fminf.c): Likewise.
4098         * benchtests/fmaxf-inputs: New file.
4099         * benchtests/fminf-inputs: Likewise.
4101         * benchtests/Makefile (bench-math): Add fmin and fmax.
4102         (CFLAGS-bench-fmax.c): New rule.
4103         (CFLAGS-bench-fmin.c): Likewise.
4104         * benchtests/fmax-inputs: New file.
4105         * benchtests/fmin-inputs: Likewise.
4107         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
4108         parenthesis.
4109         (CMDLINE_PROCESS): Define using function instead of macro.
4110         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
4111         of test-skeleton.
4112         * benchtests/bench-memchr.c: Likewise.
4113         * benchtests/bench-memcmp.c: Likewise.
4114         * benchtests/bench-memcpy-large.c: Likewise.
4115         * benchtests/bench-memcpy.c: Likewise.
4116         * benchtests/bench-memmem.c: Likewise.
4117         * benchtests/bench-memmove-large.c: Likewise.
4118         * benchtests/bench-memmove.c: Likewise.
4119         * benchtests/bench-memset-large.c: Likewise.
4120         * benchtests/bench-memset.c: Likewise.
4121         * benchtests/bench-rawmemchr.c: Likewise.
4122         * benchtests/bench-strcasecmp.c: Likewise.
4123         * benchtests/bench-strcasestr.c: Likewise.
4124         * benchtests/bench-strcat.c: Likewise.
4125         * benchtests/bench-strchr.c: Likewise.
4126         * benchtests/bench-strcmp.c: Likewise.
4127         * benchtests/bench-strcpy.c: Likewise.
4128         * benchtests/bench-strcpy_chk.c: Likewise.
4129         * benchtests/bench-strlen.c: Likewise.
4130         * benchtests/bench-strncasecmp.c: Likewise.
4131         * benchtests/bench-strncmp.c: Likewise.
4132         * benchtests/bench-strncpy.c: Likewise.
4133         * benchtests/bench-strnlen.c: Likewise.
4134         * benchtests/bench-strpbrk.c: Likewise.
4135         * benchtests/bench-strrchr.c: Likewise.
4136         * benchtests/bench-strsep.c: Likewise.
4137         * benchtests/bench-strspn.c: Likewise.
4138         * benchtests/bench-strstr.c: Likewise.
4139         * benchtests/bench-strtok.c: Likewise.
4141 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4143         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
4144         stepping identification.
4145         (init_cpu_features): Add handle of Haswell.
4147 2016-11-25  Jim Meyering  <meyering@fb.com>
4149         [BZ #20386]
4150         Let gcc detect assert(a = 1) errors.
4151         * assert/assert.h (assert): Rewrite, retaining the old definintion
4152         when required, but otherwise putting the expression as-is in an "if"
4153         expression (hence, with no added parentheses) within a statement
4154         expression.
4156 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4158         * benchtests/Makefile (binaries-benchset): Depend on libsupport
4159         DSO.
4161 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
4163         * Rules (python-flags, python-invoke): New.
4164         ($(test-printers-out)): Use $(python-flags).
4166 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
4168         * manual/arith.texi (Math Error Reporting): Document that sNaN
4169         arguments are not considered domain errors.
4171 2016-12-16  Zack Weinberg <zackw@panix.com>
4172             Florian Weimer <fweimer@redhat.com>
4173             Nick Mathewson <nickm@torproject.org>
4175         * string/explicit_bzero.c: New routine.
4176         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
4177         * string/Makefile (routines, strop-tests, tests): Add them.
4178         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
4179         * string/string.h [__USE_MISC]: Declare explicit_bzero.
4181         * debug/explicit_bzero_chk.c: New routine.
4182         * debug/Makefile (routines): Add it.
4183         * debug/tst-chk1.c: Test fortification of explicit_bzero.
4184         * string/bits/string3.h: Fortify explicit_bzero.
4186         * manual/string.texi: Document explicit_bzero.
4187         * NEWS: Mention addition of explicit_bzero.
4189         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
4190         data before returning, using explicit_bzero.
4191         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
4192         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4193         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4195         * include/string.h: Redirect internal uses of explicit_bzero
4196         to __explicit_bzero_chk[_internal].
4197         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
4198         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
4199         * sysdeps/arm/nacl/libc.abilist
4200         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
4201         * sysdeps/unix/sysv/linux/alpha/libc.abilist
4202         * sysdeps/unix/sysv/linux/arm/libc.abilist
4203         * sysdeps/unix/sysv/linux/hppa/libc.abilist
4204         * sysdeps/unix/sysv/linux/i386/libc.abilist
4205         * sysdeps/unix/sysv/linux/ia64/libc.abilist
4206         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
4207         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
4208         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
4209         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4210         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4211         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4212         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4213         * sysdeps/unix/sysv/linux/nios2/libc.abilist
4214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4218         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
4219         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
4220         * sysdeps/unix/sysv/linux/sh/libc.abilist
4221         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
4222         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
4223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
4224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
4225         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
4226         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
4227         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
4228         Add entries for explicit_bzero and __explicit_bzero_chk.
4230 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
4232         * math/fenv.h
4233         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
4234         (FE_SNANS_ALWAYS_SIGNAL): New macro.
4235         * math/test-fe-snans-always-signal.c: New file.
4236         * math/Makefile (tests): Add test-fe-snans-always-signal.
4237         (CFLAGS-test-fe-snans-always-signal.c): New variable.
4238         * manual/arith.texi (Infinity and NaN): Document
4239         FE_SNANS_ALWAYS_SIGNAL.
4241 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4243         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
4244         bracket.
4246 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
4248         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
4249         before calling execv.
4251 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4253         [BZ# 20971]
4254         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
4255         overflow in pointer addition.
4256         * string/test-memchr.c (do_test): Add an argument to pass as
4257         the size on memchr.
4258         (test_main): Add check for SIZE_MAX.
4260 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4262         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
4263         (libm-calls): Add w_scalblnF.
4264         * math/w_scalbln.c: Remove.
4265         * math/w_scalblnf.c: Likewise.
4266         * math/w_scalblnl.c: Likewise.
4267         * math/w_scalbln_template.c: New file with type-generic
4268         implementation based on math/w_scalbln.c.
4269         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
4270         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
4272 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
4274         [BZ #20947]
4275         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
4276         either is a signaling NaN.
4277         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
4278         follow fmaxl more closely.
4279         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
4280         when either is a signaling NaN.
4281         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
4282         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
4283         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
4284         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
4285         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
4286         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
4287         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
4288         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
4289         (fmin_test_data): Likewise.
4291 2016-12-15  Andreas Schwab  <schwab@suse.de>
4293         * support/support_test_main.c (support_test_main): Don't shadow
4294         file-local variable test_pid.
4296 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
4298         [BZ #20947]
4299         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
4300         either is a signaling NaN.
4301         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
4303 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
4305         [BZ #20947]
4306         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
4307         when either is a signaling NaN.
4308         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
4310         * bits/long-double.h: New file.
4311         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
4312         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
4313         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
4314         * sysdeps/mips/bits/long-double.h: Likewise.
4315         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
4316         * math/Makefile (headers): Add bits/long-double.h.
4317         * misc/sys/cdefs.h: Include <bits/long-double.h>.
4318         * stdlib/strtold.c: Include <bits/long-double.h> instead of
4319         <bits/wordsize.h>.
4320         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
4321         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
4322         * math/math.h: Do not include <bits/mathdef.h>.
4323         * sysdeps/aarch64/bits/mathdef.h: Remove file.
4324         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
4325         inclusion.
4326         * sysdeps/ia64/bits/mathdef.h: Remove file.
4327         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
4328         * sysdeps/mips/bits/mathdef.h: Likewise.
4329         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4330         * sysdeps/s390/bits/mathdef.h: Likewise.
4331         * sysdeps/sparc/bits/mathdef.h: Likewise.
4332         * sysdeps/x86/bits/mathdef.h: Likewise.
4333         * sysdeps/s390/s390-32/bits/wordsize.h
4334         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
4335         conditional code.
4336         * sysdeps/s390/s390-64/bits/wordsize.h
4337         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
4338         Likewise.
4339         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
4340         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
4341         Likewise.
4342         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
4343         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
4344         Likewise.
4345         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
4346         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
4347         Likewise.
4349         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
4350         <linux/falloc.h>.
4351         (FALLOC_FL_KEEP_SIZE): Remove.
4352         (FALLOC_FL_PUNCH_HOLE): Likewise.
4353         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
4354         (FALLOC_FL_ZERO_RANGE): Likewise.
4356 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4358         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
4360 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4362         * sysdeps/unix/sysv/linux/renameat.c: New file.
4363         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
4365         * sysdeps/unix/sysv/linux/rename.c: New file.
4366         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
4368 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
4370         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
4371         * string/strtok.c (strtok): Change to tailcall __strtok_r.
4372         * string/strtok_r.c (__strtok_r): Optimize for performance.
4373         * string/string-inlines.c (__old_strtok_r_1c): New function.
4374         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
4376 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4378         * math/Makefile (gen-libm-calls): Add w_log1pF.
4379         (libm-calls): Remove w_log1pF.
4380         * math/w_log1p.c: Remove.
4381         * math/w_log1pf.c: Likewise.
4382         * math/w_log1pl.c: Likewise.
4383         * math/w_log1p_template.c: New file with type-generic
4384         implementation based on math/w_log1p.c.
4385         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
4386         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
4388 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
4390         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
4392 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
4394         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4395         kernel version to 4.9.
4397 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
4399         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
4400         ($(inst_libdir)/libm.a): Fix rule to create the target only.
4402 2016-12-13  Andreas Schwab  <schwab@suse.de>
4404         * sysdeps/powerpc/dl-procinfo.c: Don't define
4405         _dl_powerpc_platforms.
4406         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
4407         constants instead of referencing _dl_powerpc_platforms.
4408         (_dl_platform_string): Remove.
4410 2016-12-13  Florian Weimer  <fweimer@redhat.com>
4412         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
4414 2016-12-13  Florian Weimer  <fweimer@redhat.com>
4416         * Rules (binaries-shared-tests, binaries-pie-tests)
4417         (binaries-static-tests): Link with $(link-extra-libs-tests).
4418         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
4419         Remove $(link-extra-libs-tests).
4421 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4423         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4424         (sysdep_routines): Add strncmp_power9.
4425         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4426         (strncmp): Add __strncmp_power9 to list of strncmp functions.
4427         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
4428         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
4429         (strncmp): Add __strncmp_power9 to ifunc list.
4430         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
4432 2016-12-12  Florian Weimer  <fweimer@redhat.com>
4434         [BZ #17252]
4435         Add getentropy, getrandom.
4436         * stdlib/sys/random.h: New file.
4437         (headers): Add it.
4438         * stdlib/Makefile (routines): Add getentropy, getrandom.
4439         (tests): Add tst-getrandom.
4440         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
4441         * stdlib/getentropy.c: New file.
4442         * stdlib/getrandom.c: Likewise.
4443         * stdlib/tst-getrandom.c: Likewise.
4444         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
4445         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
4446         * manual/crypt.texi (Unpredictable Bytes): New section.
4447         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
4448         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
4449         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
4450         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4451         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4452         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4453         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4454         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4455         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4456         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4457         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4458         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4459         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4460         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4461         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4462         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4464         Likewise.
4465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4466         Likewise.
4467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4469         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4470         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4471         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4472         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4473         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4476         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4477         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4478         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4480 2016-12-10  Florian Weimer  <fweimer@redhat.com>
4482         [BZ #20956]
4483         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
4484         as additional compiler barriers.
4485         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
4486         (fn2, do_test): Declare with external linkage.
4487         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
4488         (do_test): Declare with external linkage.
4489         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
4490         (do_test): Declare with external linkage.
4491         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
4492         (do_test): Declare with external linkage.
4494 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
4496         * support/support_test_main.c (support_test_main): Use correct
4497         timeout.
4499 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
4500             Florian Weimer  <fweimer@redhat.com>
4502         [BZ #16421]
4503         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
4504         and __u6_addr32 members.
4505         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
4506         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
4507         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
4508         Use __u6_addr32.
4509         * inet/tst-checks.c: Use <support/test-driver.c>
4510         * inet/tst-checks-posix.c: New file.
4511         * inet/Makefile (tests): Add it.
4512         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
4514 2016-12-09  Florian Weimer  <fweimer@redhat.com>
4516         New subdirectory support for build and test infrastructure.
4517         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
4518         setting install-lib.
4519         * Makeconfig (link-extra-libs-tests): Define.
4520         (+link-pie-tests, +link-static-tests, +link-tests): Use
4521         link-extra-libs-tests.
4522         (rpath-dirs, all-subdirs): Add support.
4523         (built-modules): Add libsupport.
4524         (libsupport): Define.
4525         * support: New directory.
4526         * support/Makefile: New file.
4527         * support/check.c: Likewise.
4528         * support/check.h: Likewise.
4529         * support/delayed_exit.c: Likewise.
4530         * support/ignore_stderr.c: Likewise.
4531         * support/oom_error.c: Likewise.
4532         * support/set_fortify_handler.c: Likewise.
4533         * support/support.h: Likewise.
4534         * support/temp_file-internal.h: Likewise.
4535         * support/temp_file.c: Likewise.
4536         * support/test-driver.c: Likewise.
4537         * support/test-driver.h: Likewise.
4538         * support/test_main.c: Likewise.
4539         * support/write_message.c: Likewise.
4540         * support/xasprintf.c: Likewise.
4541         * support/xcalloc.c: Likewise.
4542         * support/xmalloc.c: Likewise.
4543         * support/xpthread_barrier_destroy.c: Likewise.
4544         * support/xpthread_barrier_init.c: Likewise.
4545         * support/xpthread_barrier_wait.c: Likewise.
4546         * support/xpthread_cancel.c: Likewise.
4547         * support/xpthread_check_return.c: Likewise.
4548         * support/xpthread_cond_wait.c: Likewise.
4549         * support/xpthread_create.c: Likewise.
4550         * support/xpthread_detach.c: Likewise.
4551         * support/xpthread_join.c: Likewise.
4552         * support/xpthread_mutex_lock.c: Likewise.
4553         * support/xpthread_mutex_unlock.c: Likewise.
4554         * support/xpthread_sigmask.c: Likewise.
4555         * support/xpthread_spin_lock.c: Likewise.
4556         * support/xpthread_spin_unlock.c: Likewise.
4557         * support/xrealloc.c: Likewise.
4558         * support/xsignal.h: Likewise.
4559         * support/xthread.h: Likewise.
4560         * support_tempfile.h: Likewise.
4561         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
4562         (TEST_DATA_LIMIT): Remove unused macro.
4563         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
4564         <support/check.h>.
4565         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
4566         (ignore_stderr, set_fortify_handler): Remove.  Now in
4567         <support/support.h>.
4568         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
4569         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
4570         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
4571         (xpthread_join): Remove.  Now in <support/xthread.h>.
4572         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
4573         Introduce legacy wrappers.
4574         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
4575         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
4576         (write_message): Remove.
4577         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
4578         test-skeleton.c.
4579         * io/test-open-tmpfile: Likewise.
4580         * io/tst-posix_fallocate-common.c: Likewise.
4581         * libio/tst-fseek.c: Likewise.
4582         * malloc/tst-malloc-backtrace.c: Likewise.
4583         * malloc/tst-malloc-fork-deadlock.c: Likewise.
4584         * malloc/tst-malloc-thread-exit.c: Likewise.
4585         * nptl/tst-cancel7.c: Likewise.
4586         * nptl/tst-cleanup0.c: Likewise.
4587         * posix/tst-posix_fadvise-common.c: Likewise.
4588         * rt/tst-shm.c: Likewise.
4589         * time/bug-getdate1.c: Likewise.
4590         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
4591         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
4592         * elf/Makefile (tst-piemod1.so): Link against libsupport.
4594 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
4596         * Rules [$(run-built-tests) != no] (tests-expected): Add
4597         $(tests-printers).
4598         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
4600 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
4602         [BZ #20539]
4603         * math/Makefile (install-lib-ldscripts): Add libm.a.
4604         (install_subdir): Remove.
4605         (install-others): Add.
4606         ($(inst_libdir)/libm.a): Add rule for installation as
4607         linker script.
4608         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
4610 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
4612         * INSTALL: Regenerated.
4613         * Makeconfig: Add comments and whitespace to make the control flow
4614         clearer.
4615         (+link-printers-tests, +link-pie-printers-tests,
4616         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
4617         built-rtld-LDFLAGS, link-libc-rpath,
4618         link-libc-tests-after-rpath-link,
4619         link-libc-printers-tests): New.
4620         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
4621         link-libc-tests): Use the new variables as required.
4622         * Makerules ($(py-const)): New rule.
4623         generated: Add $(py-const).
4624         * README.pretty-printers: New file.
4625         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
4626         (others): Depend on $(py-const).
4627         (tests): Depend on $(tests-printers-programs) or
4628         $(tests-printers-out),
4629         as required.  Pass $(tests-printers) to merge-test-results.sh.
4630         * manual/install.texi: Add requirements for testing the pretty
4631         printers.
4632         * nptl/Makefile (gen-py-const-headers, pretty-printers,
4633         tests-printers, CFLAGS-test-mutexattr-printers.c
4634         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
4635         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
4636         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
4637         * nptl/nptl-printers.py: New file.
4638         * nptl/nptl_lock_constants.pysym: Likewise.
4639         * nptl/test-cond-printers.c: Likewise.
4640         * nptl/test-cond-printers.py: Likewise.
4641         * nptl/test-condattr-printers.c: Likewise.
4642         * nptl/test-condattr-printers.py: Likewise.
4643         * nptl/test-mutex-printers.c: Likewise.
4644         * nptl/test-mutex-printers.py: Likewise.
4645         * nptl/test-mutexattr-printers.c: Likewise.
4646         * nptl/test-mutexattr-printers.py: Likewise.
4647         * nptl/test-rwlock-printers.c: Likewise.
4648         * nptl/test-rwlock-printers.py: Likewise.
4649         * nptl/test-rwlockattr-printers.c: Likewise.
4650         * nptl/test-rwlockattr-printers.py: Likewise.
4651         * scripts/gen-py-const.awk: Likewise.
4652         * scripts/test_printers_common.py: Likewise.
4653         * scripts/test_printers_exceptions.py: Likewise.
4655 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
4657         * scripts/build-many-glibcs.py (Context.__init__): Take strip
4658         argument.
4659         (Glibc.build_glibc): Strip installed shared libraries if
4660         requested.
4661         (get_parser): Add --strip option.
4662         (main): Update Context call.
4664 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4665             Dominik Vogt  <vogt@linux.vnet.ibm.com>
4667         [BZ #20847]
4668         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
4669         array bounds for else branch.
4670         (__execvpe): Style fixes.
4671         * posix/tst-vfork3.c (run_script): New function.
4672         (create_script): Likewise.
4673         (do_test): Use run_script internal function.
4674         (do_prepare): Use create_script internal function.
4676 2016-12-07  Andreas Schwab  <schwab@suse.de>
4678         * sysdeps/unix/sysv/linux/x86/elision-conf.h
4679         (__elision_available): Don't declare.
4680         * sysdeps/unix/sysv/linux/x86/elision-conf.c
4681         (__elision_available): Don't define.
4682         (elision_init): Don't set __elision_available.
4684 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
4686         [BZ #20940]
4687         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
4688         return Inf for arguments Inf and sNaN.
4689         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
4690         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4691         Likewise.
4692         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4693         Likewise.
4694         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
4695         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
4696         for arguments Inf and sNaN.  When returning a NaN, compute it by
4697         arithmetic on the arguments.
4698         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
4699         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
4700         arguments.
4702 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
4704         [BZ #20916]
4705         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
4706         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
4707         to compute result.
4708         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4709         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
4711 2016-12-05  Torvald Riegel  <triegel@redhat.com>
4713         * include/atomic.h (__atomic_check_size_ls): New.
4714         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
4715         atomic_store_release): Use it.
4716         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
4717         (elision_adapt, ELIDE_LOCK): Use atomics.
4718         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
4719         atomics and improve code comments.
4720         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
4721         (__lll_trylock_elision): Likewise.
4723 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4725         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
4726         programs.
4728 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
4730         [BZ #20916]
4731         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
4732         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
4733         arguments to compute result.
4734         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
4735         1 for arguments (sNaN, 0) or (1, sNaN).
4736         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
4737         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4739         [BZ #20919]
4740         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
4741         NaN first argument when raised to power 0.
4742         * math/w_pow.c (__pow): Do not check for NaN or zero results from
4743         raising to power zero.
4744         * math/w_powf.c (__powf): Likewise.
4745         * math/w_powl.c (__powl): Likewise.
4746         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
4747         pow (0, 0) or pow (NaN, 0).
4749 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
4751         [BZ #20918]
4752         * configure.ac: Test for static NSS cryptographic libraries and set
4753         libc_cv_static_nss_crypt.
4754         * configure: Regenerate.
4755         * config.make.in (static-nss-crypt): Define.
4756         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
4757         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
4758         (CFLAGS-tst-linkall-static.c): Define.
4759         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
4760         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
4761         ($(objpfx)tst-linkall-static): Define.
4762         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
4763         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
4765 2016-12-02  Florian Weimer  <fweimer@redhat.com>
4767         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
4768         (one-hundred, tst-tls-many-dynamic-modules): Define.
4769         (modules-names): Add $(tst-tls-many-dynamic-modules).
4770         (tst-tls-manydynamic%mod.os): Build with special preprocessor
4771         macros.
4772         (tst-tls-manydynamic): Link against libdl, libpthread.
4773         (tst-tls-manydynamic.out): The test needs the test modules at run
4774         time.
4775         * elf/tst-tls-manydynamic.c: New file.
4776         * elf/tst-tls-manydynamic.h: Likewise.
4777         * elf/tst-tls-manydynamicmod.c: Likewise.
4779 2016-12-02  Florian Weimer  <fweimer@redhat.com>
4781         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
4782         (TLS_DTV_UNALLOCATED): Add.
4783         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
4784         offsets.
4786 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
4788         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4790 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
4792         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
4793         Add -fno-optimize-sibling-calls.
4795 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
4797         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
4798         New declaration.
4799         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
4800         macro.
4801         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
4802         New macro.
4803         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
4804         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
4805         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
4806         (llogbf): Likewise.
4807         (llogbl): Likewise.
4808         * math/Makefile (gen-libm-calls): Add w_llogbF.
4809         (tests): Add test-fp-llogb-constants.
4810         * math/w_llogb_template.c: New file.  Based on
4811         math/w_ilogb_template.c.
4812         * math/libm-test.inc (llogb_test_data): New array.
4813         (llogb_test): New function.
4814         (main): Call llogb_test.
4815         * math/test-fp-llogb-constants.c: New file.  Based on
4816         math/test-fp-ilogb-constants.c.
4817         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
4818         (do_test): Call check_return_llogb.
4819         * math/test-tgmath.c (NCALLS): Increase to 126.
4820         (F(compile_test)): Call llogb.
4821         (F(llogb)): New function.
4822         * manual/math.texi (Exponents and Logarithms): Document llogb,
4823         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
4824         * manual/libm-err-tab.pl (@all_functions): Add llogb.
4825         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
4826         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4827         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
4828         (CFLAGS-nldbl-llogb.c): New variable.
4829         * sysdeps/nacl/libm.abilist: Update.
4830         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4831         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4832         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4833         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4834         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4835         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4836         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4837         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4838         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4839         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4840         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4841         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4843         Likewise.
4844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4845         Likewise.
4846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4847         Likewise.
4848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4849         Likewise.
4850         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4851         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4852         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4853         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4854         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4856         Likewise.
4857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4858         Likewise.
4859         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4860         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4861         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4863 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
4865         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
4866         _Float128 instead of long double.
4867         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
4869         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
4870         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
4871         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
4872         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
4873         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
4874         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
4875         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
4876         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
4877         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
4878         Likewise.
4880 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4882         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
4883         Remove redirection to __strrchr_ppc.
4885 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4887         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4888         (sysdep_routines): Add strcmp_power9.
4889         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4890         (strcmp): Add __strcmp_power9 to list of strcmp functions.
4891         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
4892         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
4893         (strcmp): Add __strcmp_power9 to ifunc list.
4894         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
4896 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
4898         * bits/fp-logb.h: New file.
4899         * sysdeps/ia64/bits/fp-logb.h: Likewise.
4900         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
4901         * sysdeps/x86/bits/fp-logb.h: Likewise.
4902         * math/Makefile (headers): Add bits/fp-logb.h.
4903         * math/math.h: Include <bits/fp-logb.h>.
4904         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
4905         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
4906         * bits/mathdef.h (FP_ILOGB0): Remove.
4907         (FP_ILOGBNAN): Likewise.
4908         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
4909         (FP_ILOGBNAN): Likewise.
4910         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
4911         (FP_ILOGBNAN): Likewise.
4912         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
4913         (FP_ILOGBNAN): Likewise.
4914         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
4915         (FP_ILOGBNAN): Likewise.
4916         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
4917         (FP_ILOGBNAN): Likewise.
4918         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
4919         (FP_ILOGBNAN): Likewise.
4920         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
4921         (FP_ILOGBNAN): Likewise.
4922         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
4923         (FP_ILOGBNAN): Likewise.
4924         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
4925         (FP_ILOGBNAN): Likewise.
4927         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
4928         time module.
4929         (Context.__init__): Initialize self.logsdir_old.
4930         (Context.run_builds): Handle bot action.
4931         (Context.bot_cycle): Copy logs directory before running builds.
4932         (Context.bot_run_self): Take argument for whether to check
4933         subprocess result.  Flush stdout before running subprocess.
4934         (Context.bot): New function.
4935         (get_parser): Allow bot action.
4937 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
4939         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
4940         Import email.mime.text, email.utils and smtplib modules.
4941         (Context.__init__): Initialize self.bot_config_json.
4942         (Context.run_builds): Handle bot-cycle action.
4943         (Context.load_bot_config_json): New function.
4944         (Context.part_build_old): Likewise.
4945         (Context.bot_cycle): Likewise.
4946         (Context.bot_build_mail): Likewise.
4947         (Context.bot_run_self): Likewise.
4948         (get_parser): Allow bot-cycle action.
4950 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4952         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
4953         Remove redirection to __stpcpy_ppc.
4955 2016-11-30  Florian Weimer  <fweimer@redhat.com>
4957         Remove __libc_memalign from ld.so because it is unused.
4958         * elf/dl-minimal.c: Update comment on the malloc implementation.
4959         (malloc): Renamed from __libc_memalign, replacing the original
4960         malloc implementation.  Replace the align parameter with
4961         MALLOC_ALIGNMENT.
4962         * elf/Versions (ld): Update comment and remove __libc_memalign.
4963         * sysdeps/nacl/ld.abilist: Likewise.
4964         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
4965         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
4966         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
4967         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
4968         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
4969         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
4970         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
4971         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
4972         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
4973         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
4974         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
4975         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
4976         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
4977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
4978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4980         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
4981         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
4982         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
4983         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
4984         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
4985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
4986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
4987         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
4988         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
4989         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
4990         * sysdeps/generic/localplt.data (ld.so): Likewise.
4991         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
4992         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
4993         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
4994         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
4995         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
4996         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
4997         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
4998         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
4999         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
5000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
5001         (ld.so): Likewise.
5002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5003         (ld.so): Likewise.
5004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
5005         Likewise.
5006         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
5007         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
5008         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
5009         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
5010         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
5012 2016-11-30  Florian Weimer  <fweimer@redhat.com>
5014         [BZ #16628]
5015         Implement _dl_catch_error, _dl_signal_error in libc.so.
5016         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
5017         (catch_hook): Define as thread-local or regular variable,
5018         depending on DL_ERROR_BOOTSTRAP.
5019         (CATCH_HOOK): Remove.
5020         (dl_signal_error, _dl_catch_error): Use
5021         catch_hook.  Add hidden definition for libc.
5022         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
5023         for DL_ERROR_BOOTSTRAP only.
5024         * elf/dl-error.c: New file.
5025         * elf/dl-error-minimal.c: Likewise.
5026         * elf/tst-latepthread.c: Likewise.
5027         * elf/tst-latepthreadmod.c: Likewise.
5028         * elf/Makefile (routines): Add dl-error.
5029         (dl-routines): Remove dl-error.
5030         (rtld-routines): Add dl-error-minimal.
5031         [build-shared] (tests): Add tst-latepthread.
5032         (module-names): Add tst-latepthreadmod.
5033         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
5034         symbol.
5035         (tst-latepthreadmod.so): Link against libpthread.
5036         (tst-latepthread): Link against libdbl.
5037         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
5038         _dl_catch_error.
5039         [ld] (GLIBC_PRIVATE): Likewise.
5040         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
5041         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
5042         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
5043         directly.
5044         * elf/dl-tsd.c: Remove file.
5045         * elf/rtld.c (_rtld_global_ro): Remove initializers for
5046         _dl_catch_error, _dl_signal_error.
5047         (_dl_initial_error_catch_tsd): Remove definition.
5048         (do_preload): Remove initialization of dl_error_catch_tsd.
5049         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
5050         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
5051         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5052         * dlfcn/dlopen.c (dlopen_doit): Likewise.
5053         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
5054         set dl_error_catch_tsd.
5055         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
5056         _dl_error_catch_tsd member.
5057         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
5058         members.
5059         (_dl_initial_error_catch_tsd): Remove declaration.
5060         (_dl_dprintf): Provide definition for use outside of ld.so.
5061         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
5062         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
5063         prototype for libc.
5064         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
5065         _dl_catch_error.
5066         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
5067         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
5068         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
5069         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
5070         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
5071         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
5072         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
5073         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
5074         Likewise.
5075         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
5076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
5077         (ld.so): Likewise.
5078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5079         (ld.so): Likewise.
5080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
5081         Likewise.
5082         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
5083         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
5084         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
5085         Likewise.
5086         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
5087         Likewise.
5088         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
5090 2016-11-30  Florian Weimer  <fweimer@redhat.com>
5092         [BZ #4099]
5093         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
5094         _IO_BUFSIZ (8192).
5096 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
5098         * PROJECTS: Remove file.
5100 2016-11-29  Florian Weimer  <fweimer@redhat.com>
5102         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
5104 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
5105             Steve Ellcey  <sellcey@caviumnetworks.com>
5107         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
5108         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
5109         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
5110         fxstatat.
5111         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
5112         lxstat.
5113         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
5114         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
5115         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
5116         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
5117         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
5118         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
5119         __xstat.
5121 2016-11-29  Florian Weimer  <fweimer@redhat.com>
5123         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
5124         Define.
5125         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
5126         definition.
5128 2016-11-29  Florian Weimer  <fweimer@redhat.com>
5130         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
5131         version and turn into strong alias.  Remove compat symbol.
5133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5134         (__longjmp): Remove.
5136 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
5138         * bits/fp-fast.h: New file.
5139         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
5140         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
5141         * math/Makefile (headers): Add bits/fp-fast.h.
5142         * math/math.h: Include <bits/fp-fast.h>.
5143         * bits/mathdef.h (FP_FAST_FMA): Remove.
5144         (FP_FAST_FMAF): Likewise.
5145         (FP_FAST_FMAL): Likewise.
5146         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
5147         (FP_FAST_FMAF): Likewise.
5148         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
5149         (FP_FAST_FMAF): Likewise.
5150         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
5151         (FP_FAST_FMAF): Likewise.
5152         (FP_FAST_FMAL): Likewise.
5153         * sysdeps/arm/bits/mathdef.h: Remove file.
5154         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
5155         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5156         * sysdeps/tile/bits/mathdef.h: Likewise.
5158 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
5160         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
5161         * math/w_ilogb.c: Remove.
5162         * math/w_ilogbf.c: Likewise.
5163         * math/w_ilogbl.c: Likewise.
5164         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
5165         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
5166         * math/Makefile (gen-libm-calls): Add w_ilogbF.
5167         (libm-calls): Remove w_ilogbF.
5168         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
5169         (LDOUBLE_ilogbl_libm_version): New macro.
5171         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
5173         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
5174         [!__STRICT_ANSI__ && !__cplusplus].
5176 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
5178         [BZ #20750]
5179         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
5180         of PIC.
5182 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
5183             Yury Norov  <ynorov@caviumnetworks.com>
5184             Steve Ellcey  <sellcey@caviumnetworks.com>
5186         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
5187         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
5188         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
5189         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
5190         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
5191         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
5192         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
5193         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
5194         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
5195         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
5196         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
5197         to get correct reg name for ILP32.
5198         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
5199         (RELA_SIZE): New Macro.
5200         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
5201         to support ILP32.
5202         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
5203         cast for ILP32 mode.
5204         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
5205         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
5206         * sysdeps/aarch64/memset.S (__memset): Ditto.
5207         * sysdeps/aarch64/strchr.S (strchr): Ditto.
5208         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
5209         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
5210         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
5211         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
5212         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
5213         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
5214         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
5215         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
5216         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
5217         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
5218         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
5219         change PTR_MANGLE call to use register numbers instead of names.
5220         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
5221         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
5222         ILP32 mode, change PTR_MANGLE calls to use register numbers.
5223         * sysdeps/aarch64/start.S (_start): Ditto.
5224         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
5225         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
5226         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
5227         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
5228         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
5229         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
5230         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
5231         Make defined values dependent on __ILP32__.
5232         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
5233         (sem_t): Change __align type.
5234         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
5235         PTR_SIZE): New Macros.
5236         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
5237         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
5238         Set when in ILP32 mode.
5239         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
5240         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
5241         Set elf flags for ILP32.
5242         (add_system_dir): Set ILP32 library directories.
5243         * sysdeps/unix/sysv/linux/aarch64/init-first.c
5244         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
5245         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
5246         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
5247         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
5248         New Macros.
5249         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
5251 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
5253         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
5254         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
5255         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
5257 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
5259         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
5260         <asm/cachectl.h>.
5262 2016-11-27  Zack Weinberg  <zackw@panix.com>
5264         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
5265         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
5267 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5269         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
5270         error_t to fix usage in C++ programs.
5272 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
5274         * scripts/build-many-glibcs.py: Import datetime module.
5275         (Context.__init__): Load JSON build state.  Initialize list of
5276         status logs.
5277         (Context.run_builds): Update saved build state.
5278         (Context.add_makefile_cmdlist): Update list of status logs.
5279         (Context.load_build_state_json): New function.
5280         (Context.store_build_state_json): Likewise.
5281         (Context.clear_last_build_state): Likewise.
5282         (Context.update_build_state): Likewise.
5283         (CommandList.status_logs): Likewise.
5285 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
5287         * scripts/build-many-glibcs.py (Context.__init__): Save text of
5288         script being executed.
5289         (Context.get_script_text): New function.
5290         (Context.exec_self): Likewise.
5291         (Context.checkout): Re-exec script if changed by checkout process.
5293 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
5295         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5296         (setpayloadsig): New declaration.
5297         * math/Versions (setpayloadsig): New libm symbol at version
5298         GLIBC_2.25.
5299         (setpayloadsigf): Likewise.
5300         (setpayloadsigl): Likewise.
5301         * math/Makefile (libm-calls): Add s_setpayloadsigF.
5302         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
5303         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
5304         (setpayloadsig_test_data): New array.
5305         (setpayloadsig_test): New function.
5306         (main): Call setpayloadsig_test.
5307         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
5308         setpayloadsigf and setpayloadsigl.
5309         * manual/libm-err-tab.pl: Update comment on interfaces without
5310         ulps tabulated.
5311         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
5312         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
5313         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
5314         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
5315         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
5316         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
5317         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5318         setpayloadsig.
5319         (CFLAGS-nldbl-setpayloadsig.c): New variable.
5320         * sysdeps/nacl/libm.abilist: Update.
5321         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5322         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5323         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5324         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5325         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5326         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5327         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5328         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5329         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5330         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5331         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5332         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5334         Likewise.
5335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5336         Likewise.
5337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5338         Likewise.
5339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5340         Likewise.
5341         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5342         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5343         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5344         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5345         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5347         Likewise.
5348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5349         Likewise.
5350         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5351         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5352         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5354         * scripts/build-many-glibcs.py: Import json module.
5355         (Context.__init__): Take replace_sources argument.  Load
5356         versions.json.
5357         (Context.load_versions_json): New function.
5358         (Context.store_json): Likewise.
5359         (Context.store_versions_json): Likewise.
5360         (Context.set_component_version): Likewise.
5361         (Context.checkout): Update versions.json.  Check for and handle
5362         changes of version.  Prefer previously explicitly specified
5363         version to default version.
5364         (Context.checkout_vcs): Return a revision identifier.
5365         (Context.git_checkout): Likewise.
5366         (Context.gcc_checkout): Likewise.
5367         (get_parser): Add --replace-sources option.
5368         (main): Pass replace_sources argument to Context call.
5370 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5372         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
5373         * nptl/allocatestack.c (allocate_stack): Likewise.
5374         (__reclaim_stacks): Likewise.
5375         (setxid_signal_thread): Obtain pid through syscall.
5376         * nptl/nptl-init.c (sigcancel_handler): Likewise.
5377         (sighandle_setxid): Likewise.
5378         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
5379         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
5380         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
5381         Likewise.
5382         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
5383         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
5384         comment.
5385         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
5386         * nptl/descr.h (struct pthread): Change comment about pid value.
5387         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
5388         pid assert.
5389         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
5390         Do not set pid value.
5391         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
5392         pid cache check.
5393         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
5394         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
5395         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
5396         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
5397         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
5398         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5399         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
5400         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
5401         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
5402         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
5403         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
5404         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5405         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
5406         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5407         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
5408         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
5409         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5410         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
5411         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
5412         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
5413         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
5414         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5415         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
5416         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
5417         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
5418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5420         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5421         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
5422         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5423         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
5424         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
5425         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
5426         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5427         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
5428         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5429         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
5430         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5431         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
5432         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
5433         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
5434         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
5435         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
5436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
5437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
5438         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5439         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5440         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5441         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
5442         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
5443         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
5444         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5445         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
5446         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
5447         struct access.
5448         (clone_test): Remove function.
5449         (do_test): Rewrite to take in consideration pid is not cached anymore.
5451 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
5453         * bits/flt-eval-method.h: New file.
5454         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
5455         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
5456         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
5457         * math/Makefile (headers): Add bits/flt-eval-method.h.
5458         * math/math.h: Include <bits/flt-eval-method.h>.
5459         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
5460         [__USE_ISOC99] (double_t): Likewise.
5461         * bits/mathdef.h (float_t): Remove.
5462         (double_t): Likewise.
5463         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
5464         (double_t): Likewise.
5465         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
5466         (double_t): Likewise.
5467         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
5468         (double_t): Likewise.
5469         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
5470         (double_t): Likewise.
5471         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
5472         (double_t): Likewise.
5473         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
5474         (double_t): Likewise.
5475         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
5476         (double_t): Likewise.
5477         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
5478         (double_t): Likewise.
5479         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
5480         (double_t): Likewise.
5481         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
5482         (double_t): Likewise.
5483         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
5484         (double_t): Likewise.
5485         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
5486         (double_t): Likewise.
5487         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
5488         (double_t): Likewise.
5490 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
5492         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
5493         instead of PIC.
5495 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
5497         [BZ #20859]
5498         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
5499         (-0x7fffffff) instead of 0x80000001.
5500         * math/test-fp-ilogb-constants.c: New file.
5501         * math/Makefile (tests): Add test-fp-ilogb-constants.
5503 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
5505         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
5506         (_init): Use it in place of hardcoded R_MIPS_JALR.
5507         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
5508         (_init): Use it in place of hardcoded R_MIPS_JALR.
5509         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
5510         (_init): Use it in place of hardcoded R_MIPS_JALR.
5512 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
5514         [BZ #20787]
5515         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
5516         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
5517         (double_t): Do not define to double if [__x86_64__] when
5518         __FLT_EVAL_METHOD__ is nonzero.
5519         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
5520         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
5521         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5522         test-flt-eval-method-387 and test-flt-eval-method-sse.
5523         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
5524         variable.
5525         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
5527 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
5529         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
5530         use of -fno-isolate-erroneous-paths options for tilepro.
5532 2016-11-23  Florian Weimer  <fweimer@redhat.com>
5534         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
5535         structure initialization is no longer needed.
5537 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
5539         [BZ #20855]
5540         * bits/mathdef.h (float_t): Define to float.
5541         * math/test-flt-eval-method.c: New file.
5542         * math/Makefile (tests): Add test-flt-eval-method.
5543         (CFLAGS-test-flt-eval-method.c): New variable.
5545 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
5547         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
5548         and __fstatfs.  Make them aliases of __fstatfs64 if
5549         STATFS_IS_STATFS64 is set to non-zero.
5550         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
5551         and __statfs64.
5552         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
5553         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
5554         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
5555         for __statfs and statfs.
5556         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
5557         to 0.
5558         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
5559         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
5560         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
5561         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
5562         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
5563         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
5564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
5565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
5566         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
5567         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
5568         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
5569         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
5571 2016-11-22  Andreas Schwab  <schwab@suse.de>
5573         * misc/mkstemp.c: Include <fcntl.h>.
5574         * misc/mkstemps.c: Likewise.
5575         * misc/mkostemp.c: Likewise.
5576         * misc/mkostemps.c: Likewise.
5578 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
5580         [BZ #20847]
5581         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
5582         array bounds.
5583         (__execvpe): Likewise.
5585 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
5587         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
5588         -fno-isolate-erroneous-paths options for tilepro.
5590 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
5592         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
5593         to 0 when in 32 bit mode.
5594         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
5595         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
5596         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
5597         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
5598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
5599         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
5600         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
5601         XSTAT_IS_XSTAT64 test.
5602         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
5603         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
5604         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
5605         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
5606         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
5607         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
5608         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
5609         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
5610         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
5611         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
5612         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
5614 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
5616         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5617         (setpayload): New declaration.
5618         * math/Versions (setpayload): New libm symbol at version
5619         GLIBC_2.25.
5620         (setpayloadf): Likewise.
5621         (setpayloadl): Likewise.
5622         * math/Makefile (libm-calls): Add s_setpayloadF.
5623         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
5624         test_Ff_b1_data.
5625         (RUN_TEST_Ff_b1): New macro.
5626         (RUN_TEST_LOOP_Ff_b1): Likewise.
5627         (canonicalize_test_data): Update type.
5628         (setpayload_test_data): New array.
5629         (setpayload_test): New function.
5630         (main): Call setpayload_test.
5631         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
5632         setpayloadf and setpayloadl.
5633         * manual/libm-err-tab.pl: Update comment on interfaces without
5634         ulps tabulated.
5635         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
5636         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
5637         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
5638         Likewise.
5639         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
5640         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
5641         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
5642         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
5643         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
5644         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
5645         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
5646         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
5647         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
5648         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5649         setpayload.
5650         (CFLAGS-nldbl-setpayload.c): New variable.
5651         * sysdeps/nacl/libm.abilist: Update.
5652         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5653         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5654         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5655         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5656         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5657         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5658         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5659         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5660         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5661         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5662         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5663         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5665         Likewise.
5666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5667         Likewise.
5668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5669         Likewise.
5670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5671         Likewise.
5672         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5673         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5674         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5675         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5676         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5678         Likewise.
5679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5680         Likewise.
5681         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5682         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5683         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5685 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5687         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
5688         * include/unistd.h: Extend comment about __access_noerrno return
5689         semantics.
5690         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
5691         (access_common): Correct typo for EACCES.
5693 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
5695         * sysdeps/tile/math-tests.h: New file.
5697         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
5698         (__old_set_dataplane): Rename from set_dataplane and make a
5699         compatibility symbol.
5700         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
5701         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
5702         sys/dataplane.h.
5704 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
5706         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
5707         script quote words in command output to log suitably for input to
5708         the shell.
5710 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
5711             Maciej W. Rozycki  <macro@imgtec.com>
5713         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
5714         `.Lno_weak_fn' label.
5715         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
5716         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
5718 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5719             Yury Norov  <ynorov@caviumnetworks.com>
5721         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
5722         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
5723         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5724         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
5725         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5726         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
5727         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5728         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5729         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5730         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
5731         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5732         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
5733         (sysdep_routines): Remove oldgetrlimit64.
5734         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
5735         (sysdep_routines): Likewise.
5736         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
5737         (sysdep_routines): Likewise.
5738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5739         [$(subdir) = resource] (sysdep_routines): Likewise.
5740         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
5741         [$(subdir) = resource] (sysdep_routines): Likewise.
5742         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
5743         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
5744         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
5745         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
5746         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
5747         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
5748         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
5749         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
5750         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
5751         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
5752         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
5753         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
5754         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
5755         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
5756         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
5757         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
5758         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
5759         setrlimit and getrlimit.
5760         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5761         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
5762         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
5763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
5764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
5765         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
5766         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
5767         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5768         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5769         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
5770         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
5771         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
5772         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
5773         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
5774         (__old_getrlimit64): Add compatibility symbol.
5775         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
5777 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
5779         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
5780         newly built gmp, mpfr and mpc.
5782         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
5784 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
5786         * conform/Makefile (linknamespace-libs): Rename to
5787         linknamespace-libs-thr.
5788         (linknamespace-libs-posix): New variable.
5789         (linknamespace-libs-xsi): Likewise.
5790         (linknamespace-libs-XPG3): Include libcrypt.a.
5791         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
5792         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
5793         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
5794         (linknamespace-libs-XOPEN2K): Likewise.
5795         (linknamespace-libs-XOPEN2K8): Likewise.
5796         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
5798         [BZ #20829]
5799         * stdio-common/Versions (__snprintf): Add to version
5800         GLIBC_PRIVATE.
5801         * include/stdio.h (__snprintf): Use libc_hidden_proto.
5802         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
5803         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
5804         of snprintf.
5805         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5807 2016-11-16  Zack Weinberg  <zackw@panix.com>
5809         * string/string.h: Remove obsolete comment stating that
5810         strcoll_l and strxfrm_l have not yet been standardized.
5812 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5814         * hurd/hurd.h (__hurd_fail_noerrno): New function.
5815         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
5816         __access_noerrno.
5817         * io/access.c (__access_noerrno): New function.
5818         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
5819         (hurd_fail_seterrno): Likewise.
5820         (access_common): Likewise.
5821         (__access_noerrno): Likewise.
5822         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
5823         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
5824         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
5825         macro.
5827 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
5829         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
5830         Only declare fpregs if [__SH_FPU_ANY__].
5832 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
5834         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
5835         Make code unconditional.
5836         [!(__SH4__ || __SH4A__)]: Remove conditional code.
5838 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
5840         * manual/sysinfo.texi (S_APPEND): Delete.
5841         (S_IMMUTABLE): Likewise.
5843 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
5844             Magnus Granberg  <zorry@gentoo.org>
5845             Mike Frysinger  <vapier@gentoo.org>
5847         [BZ #20662]
5848         * configure.ac (libc_cv_predef_stack_protector): Also check for
5849         __stack_chk_fail_local symbols.
5850         * configure: Regenerated.
5852 2016-11-15  Florian Weimer  <fweimer@redhat.com>
5854         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
5855         (libc_hidden_def): Remove redefinition.
5856         (__sigsetjmp): Add hidden definition.
5857         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
5858         (libc_hidden_def): Remove redefinition.
5859         (__sigsetjmp): Add hidden definition.
5861 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
5863         * scripts/build-many-glibcs.py (os.path): Do not import.
5864         (Context): Inherit explicitly from object.  Remove blank line
5865         between class and docstring.
5866         (Config): Likewise.
5867         (Glibc): Likewise.
5868         (Command): Likewise.
5869         (CommandList): Likewise.
5870         (Context.write_files): Store chmod mode in a variable.
5872         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
5873         LIBC_SLIBDIR_RTLDDIR for tilegx32.
5874         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
5876 2016-11-14  Zack Weinberg  <zackw@panix.com>
5878         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
5879         creating or re-creating it.
5881         * string/bits/string2.h: Fix typo in comment.
5883 2016-11-14  Zack Weinberg  <zackw@panix.com>
5885         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
5886         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
5887         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
5888         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
5889         of redirected function names.
5891         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
5892         as well.  Document that MESSAGE must be a single string literal.
5894 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
5896         * scripts/build-many-glibcs.py: New file.
5898         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
5899         (do_test): Disable -Wmaybe-uninitialized around uses of
5900         except_mask.
5902         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
5904 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
5906         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
5907         (atomic_store_release): Provide tilepro-specific implementations.
5909 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
5911         * math/math.h (__MATH_TG): New macro.
5912         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
5913         [__USE_ISOC99] (signbit): Likewise.
5914         [__USE_ISOC99] (isfinite): Likewise.
5915         [__USE_ISOC99] (isnan): Likewise.
5916         [__USE_ISOC99] (isinf): Likewise.
5917         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
5918         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
5919         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
5920         __MATH_TG and __MATH_EVAL_FMT2.
5921         * sysdeps/generic/math_private.h (fabs_tg): Define using
5922         __MATH_TG.
5923         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
5924         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
5925         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
5926         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
5927         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
5928         macro.
5929         (__iscanonical): Likewise.
5930         (iscanonical): Define using __MATH_TG.
5932 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5934         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
5935         guards.
5937         * sysdeps/unix/sysv/linux/access.c: New file.
5938         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
5940 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
5942         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
5943         and __WORDSIZE32_PTRDIFF_LONG.
5945 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5947         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5949 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5951         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
5952         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
5953         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
5954         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
5955         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
5956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
5957         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
5958         * sysdeps/unix/sysv/linux/truncate.c: New file.
5959         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
5960         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
5961         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
5962         Remove.
5963         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
5964         Likewise.
5966         * posix/tst-truncate-common.c: New file.
5967         * posix/tst-truncate.c: Use tst-truncate-common.c.
5968         * posix/tst-truncate64.c: Likewise and add LFS tests.
5969         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
5970         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
5971         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
5972         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
5973         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
5974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
5975         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
5976         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
5977         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
5978         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
5979         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
5980         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
5981         Remove.
5982         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
5983         Likewise.
5985 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
5987         [BZ #20790]
5988         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
5989         to MAXLINESIZE.
5990         * sunrpc/bug20790.x: New file.
5991         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
5992         variable.
5993         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
5994         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
5996         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
5998         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
6000         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
6001         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
6002         calloc, realloc, free, memalign and __libc_memalign rather than
6003         making them optional.
6005         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
6006         for libc.so.
6008 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6010         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
6011         ptw-lseek64.
6012         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
6013         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
6014         Likewise.
6015         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
6016         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
6017         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
6018         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
6019         * sysdeps/unix/sysv/linux/lseek.c: New file.
6020         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
6021         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
6022         __libc_lseek64 from auto-generation.
6023         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6024         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
6026 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6028         * nptl/tst-basic1.c (tf, do_test): Use write_message.
6029         * nptl/tst-cleanup1.c (do_test): Likewise.
6030         * nptl/tst-cleanup3.c (do_test): Likewise.
6031         * nptl/tst-key1.c (do_test): Likewise.
6032         * nptl/tst-key2.c (tf, do_test): Likewise.
6033         * nptl/tst-key3.c (tf, do_test): Likewise.
6034         * nptl/tst-stdio1.c (do_test): Likewise.
6035         * nptl/tst-stdio2.c (do_test): Likewise.
6037         * nptl/tst-kill3.c (handler): Use write_message in place of write.
6038         * nptl/tst-kill6.c (handler): Likewise.
6039         * nptl/tst-tls2.c (CB): Likewise.
6040         * nptl/tst-tls3.c (CB): Likewise.
6042 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
6044         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
6046 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
6047             Steve Ellcey  <sellcey@caviumnetworks.com>
6049         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
6050           __ASSUME_ST_INO_64_BIT as 0
6051         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
6052         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
6053           over the code where __ASSUME_ST_INO_64_BIT is used.
6054         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6055         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6056         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
6058 2016-11-07  Florian Weimer  <fweimer@redhat.com>
6060         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6061         Document ABI exposure of the __kind offset.
6062         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6063         Mention reason for the __kind offset exposure in the ABI.
6064         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6065         Likewise.
6066         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6067         Likewise.
6068         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6069         Likewise.
6070         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
6071         (struct __pthread_mutex_s): Likewise.
6072         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6073         Likewise.
6074         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6075         Likewise.
6076         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6077         Likewise.
6078         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6079         Likewise.
6080         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6081         Likewise.
6082         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6083         Likewise.
6084         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
6085         (struct __pthread_mutex_s): Likewise.
6086         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6087         (struct __pthread_mutex_s): Likewise.
6088         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
6089         Likewise.
6091 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
6093         * test-skeleton.c: Document do_test usage.
6095 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
6097         * iconv/gconv.h (__gconv_info): Define __data element using a
6098         zero-length array.
6100 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
6102         * math/test-tgmath2.c: Split up test function.
6104 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
6106         * Rules (tests-expected): New variable, depending on
6107         $(run-built-tests).
6108         (tests): Pass $(tests-expected) to merge-test-results.sh, not
6109         $(tests).
6111         * Rules [$(run-built-tests) = no] (tests): Do not depend on
6112         $(tests-unsupported).
6114 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6116         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
6117         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
6119 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
6121         [BZ #20768]
6122         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
6123         __fegetenv instead of fegetenv.
6125         [BZ #14139]
6126         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
6127         (find_files): Obtain platform name from libm-test-ulps-name and
6128         store in %pplatforms.
6129         (canonicalize_platform): Remove.
6130         (print_platforms): Use $pplatforms directly.
6131         (by_platforms): Do not allow for platforms missing from
6132         %pplatforms.
6133         * sysdeps/aarch64/libm-test-ulps-name: New file.
6134         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
6135         * sysdeps/arm/libm-test-ulps-name: Likewise.
6136         * sysdeps/generic/libm-test-ulps-name: Likewise.
6137         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
6138         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
6139         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
6140         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
6141         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
6142         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
6143         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
6144         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
6145         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
6146         * sysdeps/nios2/libm-test-ulps-name: Likewise.
6147         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
6148         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
6149         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
6150         * sysdeps/sh/libm-test-ulps-name: Likewise.
6151         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
6152         * sysdeps/tile/libm-test-ulps-name: Likewise.
6153         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
6155         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
6157         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
6158         (test-xfail-check-execstack): New variable.
6160         * sysdeps/mips/localplt.data: New file.
6162 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
6163             Steve Ellcey  <sellcey@caviumnetworks.com>
6165         * bits/wordsize.h: Add documentation.
6166         * sysdeps/aarch64/bits/wordsize.h : New file
6167         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
6168         definitions.
6169         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
6170         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
6171         with #if instead of #ifdef.
6172         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
6173         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
6174         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
6175         Add or change defines.
6176         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
6177         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
6178         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
6179         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
6180         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
6181         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
6182         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
6183         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
6184         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
6185         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
6186         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
6187         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
6188         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
6189         * sysdeps/x86/bits/wordsize.h: Likewise.
6191 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
6192             Kevin Petit  <kevin.petit@arm.com>
6194         * sysdeps/aarch64/memchr.S (__memchr): New file.
6196 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
6198         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
6200 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
6202         [BZ #19398]
6203         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
6204         $(linknamespace-symlists-tests).
6206 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
6208         * time/tst-strptime2.c: Ignore -Wformat-length warning.
6210 2016-11-02  Florian Weimer  <fweimer@redhat.com>
6211             Carlos O'Donell  <carlos@redhat.com>
6213         [Bug #20729]
6214         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
6215         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
6216         for -Os related change.
6218 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
6220         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
6222 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
6224         [BZ #19673]
6225         * manual/math.texi (Exponents and Logarithms): Correct description
6226         of clog10.
6228 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
6230         [Bz #20729]
6231         * locale/weight.h: Include libc-internal.h.
6232         * locale/weightwc.h: Likewise.
6233         * nptl/nptl_dbP.h: Likewise.
6235 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
6237         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
6238         when it is MACH_PORT_NULL.
6240 2016-10-31  Andreas Schwab  <schwab@suse.de>
6242         [BZ #20707]
6243         * posix/glob.c (glob): Initialize pglob before checking for
6244         GLOB_BRACE.  Don't call glob recursively if pattern contains no
6245         valid brace expression despite GLOB_BRACE.
6246         * posix/globtest.sh: Test it.
6248 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
6250         [BZ #20729]
6251         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
6252         Define.
6253         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
6254         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
6255         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
6256         for seq2.back_us and seq1.back_us only for -Os compiles.
6257         * locale/weightwc.h (findix): Likewise.
6258         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
6259         DB_GET_FIELD_ADDRESS only for -Os compiles.
6260         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
6261         for slen only for -Os compiles.
6262         * string/strcoll_l.c (get_next_seq): Ignore
6263         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
6264         for -Os compiles.
6266         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
6267         * include/crypt.h: New file.
6269 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6271         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
6272         from test-skeleton.c.
6273         (statclass): Replace calls to write with calls to write_message.
6275 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
6277         * math/math.h
6278         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
6279         New macro.
6280         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
6281         Likewise.
6282         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
6283         Likewise.
6284         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
6285         SNANL.
6286         * math/test-double.h (snan_value_MACRO): New macro.
6287         * math/test-float.h (snan_value_MACRO): Likewise.
6288         * math/test-ldouble.h (snan_value_MACRO): Likewise.
6289         * math/libm-test.inc (issignaling_test_data): Add tests of
6290         snan_value_MACRO.
6292 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6294         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
6295         behavior when eliding a lock not held by the current thread.
6296         * sysdeps/powerpc/nptl/elide.h: Likewise.
6298 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6300         [BZ #20728]
6301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
6302         branch to _exit() by a function call.
6304 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6306         * malloc/malloc.c: Update chunk layout comments.
6307         (chunk_main_arena): Update comment.
6309 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6311         * crypt/sha256.c, crypt/sha256-block.c,
6312         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
6313         sha256_process_block to __sha256_process_block.
6314         * crypt/sha512.c, crypt/sha512-block.c,
6315         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
6316         sha512_process_block to __sha512_process_block.
6318 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
6320         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
6322         * math/test-nan-overflow.c: Include stdlib.h for malloc.
6324 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
6326         [BZ #20019]
6327         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
6328         definition in unrelocated shared library.
6329         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6331 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6333         [BZ #20729]
6334         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
6335         * sysdeps/unix/sysv/linux/i386/Makefile
6336         (uses-6-syscall-arguments): Define.
6337         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
6338         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
6339         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
6340         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
6341         Likewise.
6342         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
6343         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
6344         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
6345         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
6346         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
6347         (CFLAGS-fallocate64.os): Likewise.
6348         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
6349         (CFLAGS-pthread_rwlock_timedrdlock.os)
6350         (CFLAGS-pthread_rwlock_timedwrlock.o)
6351         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
6352         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
6353         (CFLAGS-sem_timedwait.os): Likewise.
6355 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6357         * elf/tst-linkall-static.c: New file.
6358         * elf/Makefile (tests-static): Add tst-linkall-static.
6359         (tst-linkall-static): Link against static libraries.
6361 2016-10-27  Florian Weimer  <fweimer@redhat.com>
6363         * malloc/malloc.c (sysmalloc): Initialize previous size field of
6364         mmaped chunks.
6366 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6368         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
6369         members to mchunk_prev_size, mchunk_size.
6370         (chunk_main_arena): Reverse sense and rename from
6371         chunk_non_main_arena.
6372         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
6373         mchunk_size instead of size.
6374         (set_non_main_arena): Define.
6375         (chunksize): Use chunksize_nomask instead of direct member access.
6376         (chunksize_nomask): Define.
6377         (next_chunk): Use chunksize instead of direct member access.
6378         (prev_size, set_prev_size): Define.
6379         (prev_chunk): Use prev_size instead of direct member access.
6380         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
6381         (inuse_bit_at_offset, set_inuse_bit_at_offset)
6382         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
6383         (mchunk_prev_size, mchunk_size): Poison tokens.
6384         (unlink): Use chunksize_nomask, prev_size accessors.
6385         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
6386         (do_check_free_chunk): Use prev_size accessor.
6387         (sysmalloc): Use set_prev_size, set_head accessors.
6388         (munmap_chunk, mremap_chunk): Use prev_size accessor.
6389         (__libc_free): Use chunksize_nomask accessor.
6390         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
6391         chunk_main_arena accessors.
6392         (_int_free): Use chunksize_nomask, prev_size accessors.
6393         (malloc_consolidate): Use chunksize, prev_size accessors.
6394         (_int_realloc): Use chunksize_nomask accessor.
6395         (_int_memalign): Use set_prev_size accessor.
6396         (__malloc_info): Use chunksize_nomask accessor.
6397         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
6398         accessors.
6399         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
6400         (heap_trim): Use chunksize_nomask, prev_size accessors.
6402 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
6404         [BZ #19380]
6405         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
6406         for inexact results.
6407         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
6408         of inexact result where mpfr_subnormalize is the only inexact
6409         step.
6410         * stdlib/tst-strtod-round-data.h: Regenerated.
6411         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
6412         Define to 0.
6413         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
6415 2016-10-27  David S. Miller  <davem@davemloft.net>
6417         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
6419 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6421         * malloc/malloc.c (do_set_mallopt_check): New function.
6422         (do_set_mmap_threshold): Likewise.
6423         (do_set_mmaps_max): Likewise.
6424         (do_set_top_pad): Likewise.
6425         (do_set_perturb_byte): Likewise.
6426         (do_set_trim_threshold): Likewise.
6427         (do_set_arena_max): Likewise.
6428         (do_set_arena_test): Likewise.
6429         (__libc_mallopt): Use them.
6431 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
6433         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6434         (canonicalize): New declaration.
6435         * math/Versions (canonicalize): New libm symbol at version
6436         GLIBC_2.25.
6437         (canonicalizef): Likewise.
6438         (canonicalizel): Likewise.
6439         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
6440         * math/s_canonicalize_template.c: New file.
6441         * math/libm-test.inc: Update comment on functions tested and
6442         testing of NaN payloads.
6443         (TEST_NAN_PAYLOAD): New macro.
6444         (NO_TEST_INLINE): Update value.
6445         (XFAIL_TEST): Likewise.
6446         (ERRNO_UNCHANGED): Likewise.
6447         (ERRNO_EDOM): Likewise.
6448         (ERRNO_ERANGE): Likewise.
6449         (IGNORE_RESULT): Likewise.
6450         (NON_FINITE): Likewise.
6451         (TEST_SNAN): Likewise.
6452         (NO_TEST_MATHVEC): Likewise.
6453         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
6454         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
6455         (struct test_Ffp_b1_data): New type.
6456         (RUN_TEST_Ffp_b1): New macro.
6457         (RUN_TEST_LOOP_Ffp_b1): Likewise.
6458         (canonicalize_test_data): New array.
6459         (canonicalize_test): New function.
6460         (main): Call canonicalize_test.
6461         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
6462         canonicalizef and canonicalizel.
6463         * manual/libm-err-tab.pl: Update comment on interfaces without
6464         ulps tabulated.
6465         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
6466         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
6467         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6468         canonicalize.
6469         (CFLAGS-nldbl-canonicalize.c): New variable.
6470         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
6471         to ...
6472         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
6473         ... here.
6474         (do_test): Also test canonicalizel.
6475         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
6476         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
6477         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
6478         file.
6479         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
6480         Use libm_hidden_def.
6481         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
6482         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
6483         (do_test): Also test canonicalizel.
6484         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
6485         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
6486         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
6487         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
6488         libm_hidden_def.
6489         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
6490         macro.
6491         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
6492         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
6493         * sysdeps/nacl/libm.abilist: Update.
6494         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6495         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6496         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6497         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6498         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6499         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6500         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6501         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6502         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6503         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6504         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6505         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6507         Likewise.
6508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6509         Likewise.
6510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6511         Likewise.
6512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6513         Likewise.
6514         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6515         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6516         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6517         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6518         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6520         Likewise.
6521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6522         Likewise.
6523         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6524         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6525         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6527         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
6528         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6529         getpayload.
6530         (CFLAGS-nldbl-getpayload.c): New variable.
6532 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6534         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
6535         integer from the format string.
6537 2016-10-26  Florian Weimer  <fweimer@redhat.com>
6539         [BZ #19473]
6540         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
6541         declarations.
6542         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
6543         weak aliases.
6544         * malloc/hooks.c (__malloc_get_state): Remove definition.
6545         (malloc_get_state): New stub implementation as
6546         compatibility symbol.
6547         (malloc_set_state): Rename from __malloc_set_state.  Turn into
6548         compat symbol.
6549         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
6550         malloc_set_state.
6551         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
6553 2016-10-26  Florian Weimer  <fweimer@redhat.com>
6555         * iconvdata/iso646.c (enum variant): Drop illegal_var.
6556         (names): Turn into concatenation of strings.
6557         (gconv_init): Adapt iteration over names.
6559 2016-10-26  Florian Weimer  <fweimer@redhat.com>
6561         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
6562         make const.
6563         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
6564         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
6565         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
6566         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
6567         character in sbconv.
6568         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
6569         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
6570         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
6572 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6574         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
6576         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
6577         (M_TRIM_THRESHOLD): Likewise.
6579         * manual/memory.texi (M_ARENA_TEST): Add documentation.
6580         (M_ARENA_MAX): Likewise.
6581         * malloc/malloc.c: Remove obsolete comment.
6583         * manual/memory.texi: Add environment variable alternatives to
6584         setting mallopt parameters.
6586 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
6588         * include/atomic.h
6589         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
6590         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
6592 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6594         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
6595         * stdlib/tst-strfrom.h: New file.
6596         * stdlib/tst-strfrom.c: New file.
6597         * stdlib/tst-strfrom-locale.c: New file.
6599         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
6600         * stdlib/bug-strtod2.c: Likewise.
6601         * stdlib/tst-strtod-round-skeleton.c: Likewise.
6602         * stdlib/tst-strtod6.c: Likewise.
6603         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
6605 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6607         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
6608         * manual/arith.texi: Document strfromd, strfromf, strfroml.
6609         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
6610         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
6611         * stdlib/stdlib.h (strfromd): New declaration.
6612         (strfromf): Likewise.
6613         (strfroml): Likewise.
6614         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
6615         strfrom.
6616         * stdlib/strfromd.c: New file.
6617         * stdlib/strfromf.c: Likewise.
6618         * stdlib/strfroml.c: Likewise.
6619         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
6620         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
6621         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
6622         * sysdeps/arm/nacl/libc.abilist: Update.
6623         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
6624         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6625         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6626         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6627         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6628         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6629         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6630         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6631         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6632         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6633         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6634         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6635         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6636         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
6638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
6639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6641         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6642         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6643         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6644         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6645         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6648         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6649         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6650         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6652 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
6654         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
6655         instead of cmpli.
6656         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
6657         instead of cmpli.
6659 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
6661         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
6662         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
6663         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
6664         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6665         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6666         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6668 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6670         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
6671         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6672         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
6673         SYSCALL_LL64_PRW.
6674         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6675         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
6676         __ASSUME_PRW_DUMMY_ARG.
6677         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
6678         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6679         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6680         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6681         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
6682         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
6684 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
6686         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
6688 2016-10-22  Florian Weimer  <fweimer@redhat.com>
6690         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
6691         "C++", to override a potential extern "C" directive around the
6692         header file inclusion.
6694 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
6696         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
6698 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6700         * sysdeps/powerpc/fpu/fenv_private.h:
6701         (_FPU_MASK_ALL): Rename to...
6702         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
6703         XE FPSCR bits.
6705         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
6707         (_FPU_MASK_ROUNDING): Rename to...
6708         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
6709         NI bits.
6711         (_FPU_MASK_EXCEPT_ROUND): Rename to...
6712         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
6713         bits and rounding bits.
6715         (__libc_feholdbits_ppc): New inline function to mask, set,
6716         and pontentially clear FSPCR bits, and change MSR[FE] bits.
6717         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
6718         (libc_feholdexcept_setround_ppc): Likewise.
6720         (__libc_femergeenv_ppc): New function to dynamically mask both
6721         old and new FP environments and merge.
6722         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
6723         (libc_feresetround_ppc): Likewise.
6724         (libc_feupdateenv_test_ppc): Likewise.
6725         (libc_feupdateenv_ppc): Likewise.
6727         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
6728         of ISA RN bits, and update macro names.
6729         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
6730         effectively the same as the previously mentioned function.
6732         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
6733         usage with fe_resetround_ppc.
6735         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
6736         to be used.
6737         (libc_feholdexcept_setround_ctxf): Likewise.
6738         (libc_feholdexcept_setround_ctxl): Likewise.
6740 2016-10-21  Florian Weimer  <fweimer@redhat.com>
6742         [BZ #20715]
6743         * math/math.h [__cplusplus] (iszero): Define as function template.
6744         * math/Makefile [CXX] (tests): Add test-math-iszero.
6745         (CFLAGS-test-math-iszero.cc): Set.
6746         * math/test-math-iszero.cc: New file.
6748 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
6750         [BZ #20660]
6751         * sysdeps/arm/e_sqrt.c: New file.
6752         * sysdeps/arm/e_sqrtf.c: Likewise.
6754 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
6756         [BZ #20718]
6757         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
6758         not use floating-point comparisons to test sign.
6759         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
6760         Likewise.
6762         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6763         (getpayload): New declaration.
6764         * math/Versions (getpayload): New libm symbol at version
6765         GLIBC_2.25.
6766         (getpayloadf): Likewise.
6767         (getpayloadl): Likewise.
6768         * math/Makefile (libm-calls): Add s_getpayloadF.
6769         * math/libm-test.inc: Include <nan-high-order-bit.h>.
6770         (struct test_f_f_data): Add comment.
6771         (RUN_TEST_fp_f): New macro.
6772         (RUN_TEST_LOOP_fp_f): Likewise.
6773         (getpayload_test_data): New array.
6774         (getpayload_test): New function.
6775         (main): Call getpayload_test.
6776         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
6777         descriptor.
6778         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
6779         getpayloadf and getpayloadl.
6780         * manual/libm-err-tab.pl: Update comment on interfaces without
6781         ulps tabulated.
6782         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
6783         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
6784         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
6785         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
6786         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
6787         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
6788         * sysdeps/nacl/libm.abilist: Update.
6789         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6790         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6791         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6792         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6793         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6794         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6795         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6796         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6797         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6798         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6799         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6800         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6802         Likewise.
6803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6804         Likewise.
6805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6806         Likewise.
6807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6808         Likewise.
6809         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6810         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6811         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6812         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6813         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6815         Likewise.
6816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6817         Likewise.
6818         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6819         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6820         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6822 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6824         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
6825         tst-fallocate{64}.
6826         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
6827         on syscall return.
6829 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
6831         [BZ #20689]
6832         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
6833         usable.
6835 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
6837         * sysdeps/generic/nan-high-order-bit.h: New file.
6838         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
6839         * sysdeps/mips/nan-high-order-bit.h: Likewise.
6840         * sysdeps/hppa/math_private.h: Remove file.
6841         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
6842         not define here.
6843         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
6844         <nan-high-order-bit.h>.
6845         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6846         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
6847         <nan-high-order-bit.h>.
6848         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6849         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
6850         <nan-high-order-bit.h>.
6851         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6852         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
6853         <nan-high-order-bit.h>.
6854         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6855         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
6856         <nan-high-order-bit.h>.
6857         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6858         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
6859         <nan-high-order-bit.h>.
6860         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6861         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
6862         <nan-high-order-bit.h>.
6863         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6864         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
6865         <nan-high-order-bit.h>.
6866         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6867         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
6868         <nan-high-order-bit.h>.
6869         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6870         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
6871         <nan-high-order-bit.h>.
6872         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6873         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
6874         <nan-high-order-bit.h>.
6875         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6876         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
6877         <nan-high-order-bit.h>.
6878         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6879         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
6880         <nan-high-order-bit.h>.
6881         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6882         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
6883         <nan-high-order-bit.h>.
6884         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6885         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
6886         <nan-high-order-bit.h>.
6887         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6888         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
6889         <nan-high-order-bit.h>.
6890         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6891         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
6892         <nan-high-order-bit.h>.
6893         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6894         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
6895         <nan-high-order-bit.h>.
6896         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6898 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6900         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
6902 2016-09-22  John David Anglin  <dave.anglin@bell.net>
6904         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
6905         abort-instr.h.
6906         (EFAULT): Remove conditional define.
6907         (ENOSYS): Likewise.
6908         (atomic_compare_and_exchange_val_acq): Use instruction nullification
6909         instead of conditional branch instructions.
6911 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
6913         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6914         (totalordermag): New declaration.
6915         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
6916         New macro.
6917         * math/Versions (totalordermag): New libm symbol at version
6918         GLIBC_2.25.
6919         (totalordermagf): Likewise.
6920         (totalordermagl): Likewise.
6921         * math/Makefile (libm-calls): Add s_totalordermagF.
6922         * math/libm-test.inc (totalordermag_test_data): New array.
6923         (totalordermag_test): New function.
6924         (main): Call totalordermag_test.
6925         * math/test-tgmath.c (NCALLS): Increase to 125.
6926         (F(compile_test)): Call totalordermag.
6927         (F(totalordermag)): New function.
6928         * manual/arith.texi (FP Comparison Functions): Document
6929         totalordermag, totalordermagf and totalordermagl.
6930         * manual/libm-err-tab.pl: Update comment on interfaces without
6931         ulps tabulated.
6932         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
6933         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
6934         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
6935         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
6936         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
6937         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
6938         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
6939         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6940         totalordermag.
6941         (CFLAGS-nldbl-totalordermag.c): New variable.
6942         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
6943         (do_test): Also test totalordermagl.
6944         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
6945         Likewise.
6946         * sysdeps/nacl/libm.abilist: Update.
6947         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6948         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6949         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6950         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6951         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6952         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6953         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6954         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6955         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6956         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6957         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6958         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6960         Likewise.
6961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6962         Likewise.
6963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6964         Likewise.
6965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6966         Likewise.
6967         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6968         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6969         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6970         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6971         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6973         Likewise.
6974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6975         Likewise.
6976         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6977         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6978         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6980 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
6982         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
6983         boolean.
6985 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
6987         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
6988         raising FE_INVALID with feraisexcept in case where part of
6989         argument is infinite, subtract that part of argument from itself.
6990         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
6991         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
6992         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
6994 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
6996         * math/libm-test.inc (totalorder_test_data): Add more tests.
6998 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
7000         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
7001         Undefine weak_alias and add a comment why mips64 require
7002         versioning.
7004 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
7006         [BZ #20647]
7007         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
7008         maximum CPUID level is less than 2.
7010 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
7012         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7013         (totalorder): New declaration.
7014         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
7015         New macro.
7016         * math/Versions (totalorder): New libm symbol at version
7017         GLIBC_2.25.
7018         (totalorderf): Likewise.
7019         (totalorderl): Likewise.
7020         * math/Makefile (libm-calls): Add s_totalorderF.
7021         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
7022         string.
7023         * math/libm-test.inc (PAYLOAD_DIG): New macro.
7024         (qnan_value_pl): Likewise.
7025         (snan_value_pl): Likewise.
7026         (qnan_value): Define using qnan_value_pl.
7027         (snan_value): Define using snan_value_pl.
7028         (struct test_ff_i_data): Add comment about which tests use this
7029         structure.
7030         (RUN_TEST_ff_b): New macro.
7031         (RUN_TEST_LOOP_ff_b): Likewise.
7032         (totalorder_test_data): New array.
7033         (totalorder_test): New function.
7034         (main): Call totalorder_test.
7035         * math/test-tgmath.c (NCALLS): Increase to 122.
7036         (F(compile_test)): Call totalorder.
7037         (F(totalorder)): New function.
7038         * manual/arith.texi (FP Comparison Functions): Document
7039         totalorder, totalorderf and totalorderl.
7040         * manual/libm-err-tab.pl: Update comment on interfaces without
7041         ulps tabulated.
7042         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
7043         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
7044         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
7045         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
7046         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
7047         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
7048         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
7049         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7050         totalorder.
7051         (CFLAGS-nldbl-totalorder.c): New variable.
7052         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
7053         file.
7054         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
7055         Add test-totalorderl-ldbl-128ibm.
7056         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
7057         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
7058         test-totalorderl-ldbl-96.
7059         * sysdeps/nacl/libm.abilist: Update.
7060         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7061         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7062         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7063         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7064         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7065         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7066         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7067         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7068         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7069         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7070         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7071         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7073         Likewise.
7074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7075         Likewise.
7076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7077         Likewise.
7078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7079         Likewise.
7080         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7081         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7082         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7083         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7084         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7086         Likewise.
7087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7088         Likewise.
7089         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7090         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7091         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7093 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7095         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
7096         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
7097         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
7098         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
7099         remove ENOSYS implementation.
7100         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
7101         Consolidate all Linux implementations.
7103 2016-10-11  Florian Weimer  <fweimer@redhat.com>
7105         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
7106         * resolv/herror.c (herror): Cast away const-ness.
7107         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
7108         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
7110 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
7112         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
7113         instead of M_NAN + M_NAN.
7114         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
7116 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7118         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
7119         unused variable 'p'.
7121 2016-10-09  Alan Modra  <amodra@gmail.com>
7122             Andreas Schwab  <schwab@linux-m68k.org>
7124         [BZ #20554]
7125         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
7126         [PIC && !SHARED]: Set up PIC register for PLT call.
7128 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
7130         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
7131         conditional on value of [__FLT_EVAL_METHOD__].
7132         * math/test-iseqsig-excess-precision.c: New file.
7133         * math/Makefile (tests): Add test-iseqsig-excess-precision.
7135 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7137         * math/s_iseqsig_template.c: Include math-private.h.
7139         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
7140         * posix/tst-posix_fadvise.c: New file.
7141         * posix/tst-posix_fadvise64.c: Likewise.
7142         * posix/tst-posix_fadvise-common.c: Likewise.
7143         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7144         (__ASSUME_FADVISE64_64_6ARG): Define.
7145         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7146         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
7147         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7148         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
7149         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
7150         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
7151         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
7152         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
7153         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
7154         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
7155         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
7156         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
7157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
7158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
7159         Likewise.
7160         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
7161         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
7162         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
7163         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
7164         Alias to __posix_fadvise64_l32.
7165         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
7166         Add compat definition to posix_fadvise64.
7167         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
7168         Add versioned definition to posix_fadvise64.
7169         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
7170         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
7171         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
7172         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
7173         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
7175         * io/Makefile (tests): Add tst-posix_fallocate and
7176         tst-posix_fallocate64.
7177         * io/tst-posix_fallocate-common.c: New file.
7178         * io/tst-posix_fallocate.c: Likewise.
7179         * io/tst-posix_fallocate64.c: Likewise.
7180         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
7181         file.
7182         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
7183         Likewise.
7184         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
7185         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
7186         Likewise.
7187         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
7188         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
7189         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
7190         SYSCALL_LL to pass both offset and len arguments.
7191         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
7192         Likewise.
7193         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
7194         __libc_pwrite64 alias used by posix_fallocate64.
7196         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
7197         tst-fallocate64.
7198         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
7199         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
7200         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
7201         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
7202         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
7203         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
7204         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
7205         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7206         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
7207         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
7208         macro on offset argument.
7209         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
7210         SYSCALL_LL64 on offset argument.
7212         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
7213         tst-fallocate64.
7214         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
7215         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
7216         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
7217         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
7218         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
7219         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
7220         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
7221         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7222         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
7223         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
7224         macro on offset argument.
7225         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
7226         SYSCALL_LL64 on offset argument.
7227         * test-skeleton.c (FAIL_RET): Add macro.
7228         (FAIL_EXIT): Likewise.
7229         (FAIL_EXIT1): Likewise.
7230         (_FAIL): Likewise.
7232 2016-10-07  Florian Weimer  <fweimer@redhat.com>
7234         [BZ #20629]
7235         resolv: Remove RES_USEBSTRING and its implementation.
7236         * resolv/resolv.h (RES_USEBSTRING): Remove.
7237         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
7238         (digitvalue, encode_bitstring, decode_bitstring): Remove.
7239         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
7240         (labellen): Remove extended label types support.
7241         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
7242         * resolv/res_init.c (res_setoptions): Likewise.
7243         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
7245 2016-10-07  Florian Weimer  <fweimer@redhat.com>
7247         resolv: Remove RES_NOIP6DOTINT and its implementation.
7248         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
7249         (RES_NOIP6DOTINT): Remove.
7250         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
7251         handling.
7252         * resolv/res_debug.c (p_option): Likewise.
7253         * resolv/res_init.c (res_setoptions): Likewise.
7254         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
7256 2016-10-07  Florian Weimer  <fweimer@redhat.com>
7258         resolv: Deprecate unimplemented flags.
7259         * misc/sys/cdefs.h (__glibc_macro_warning1)
7260         (__glibc_macro_warning): Define.
7261         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
7262         (RES_KEEPTSIG): Mark as deprecated.
7263         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
7264         RES_NOCHECKNAME, RES_KEEPTSIG.
7265         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
7267 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7269         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
7270         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
7271         Use strong_alias to create symbols for glibc verison 2.19.
7273 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7275         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
7277 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7279         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
7281 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7283         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
7285 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7287         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7288         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
7289         in header for using it as type for ifunc function because __GI_* symbols
7290         for ppc32 do not target the ifunc symbols.
7291         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7293 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7295         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
7296         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
7297         libc_ifunc_hidden_def.
7298         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
7299         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
7300         Redirect ifunced function in header for using it as type of ifunc'ed
7301         function. Redefine libc_hidden_def to use fallback non ifunc'ed
7302         function for __GI_* symbol.
7303         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
7304         * include/libc-symbols.h
7305         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
7307 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7309         [BZ #20478]
7310         * sysdeps/s390/multiarch/ifunc-resolve.h
7311         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
7312         to create ifunc symbols.
7313         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
7314         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
7315         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
7316         for using it as type for ifunc function.
7317         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
7318         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
7319         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
7320         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
7321         * sysdeps/s390/multiarch/strcat.c: Likewise.
7322         * sysdeps/s390/multiarch/strchr.c: Likewise.
7323         * sysdeps/s390/multiarch/strcmp.c: Likewise.
7324         * sysdeps/s390/multiarch/strcpy.c: Likewise.
7325         * sysdeps/s390/multiarch/strcspn.c: Likewise.
7326         * sysdeps/s390/multiarch/strlen.c: Likewise.
7327         * sysdeps/s390/multiarch/strncmp.c: Likewise.
7328         * sysdeps/s390/multiarch/strncpy.c: Likewise.
7329         * sysdeps/s390/multiarch/strnlen.c: Likewise.
7330         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
7331         * sysdeps/s390/multiarch/strrchr.c: Likewise.
7332         * sysdeps/s390/multiarch/strspn.c: Likewise.
7333         * sysdeps/s390/multiarch/wcschr.c: Likewise.
7334         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
7335         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
7336         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
7337         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
7338         * sysdeps/s390/multiarch/wmemset.c: Likewise.
7339         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
7340         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
7341         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
7342         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
7343         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
7344         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
7346 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7348         * include/libc-symbols.h (__ifunc_resolver):
7349         New macro is used by __ifunc* macros.
7350         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
7351         depending on HAVE_GCC_IFUNC.
7352         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
7353         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
7354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
7355         Redirect ifunced function in header for using as type for ifunc function.
7356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
7357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
7358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
7359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
7360         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
7361         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
7362         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
7363         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
7364         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
7365         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
7366         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
7367         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
7368         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
7369         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
7370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
7371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
7372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
7373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
7374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
7375         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
7376         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
7377         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
7378         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
7379         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
7380         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
7381         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
7382         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
7383         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
7384         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
7385         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
7386         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
7387         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
7388         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
7389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
7390         Add libc_hidden_def() and use libc_ifunc_hidden() macro
7391         instead of libc_ifunc() macro.
7392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
7393         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
7395 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7397         * config.h.in (HAVE_GCC_IFUNC): New undef.
7398         * configure.ac: Add check if gcc supports attribute ifunc feature.
7399         * configure: Regenerated.
7400         * manual/install.texi: Add recommendation for gcc with
7401         indirect-function support.
7402         * INSTALL: Regenerated.
7404 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
7406         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
7407         macro.
7408         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7409         (__iseqsig): New declaration.
7410         * math/s_iseqsig_template.c: New file.
7411         * math/Versions (__iseqsigf): New libm symbol at version
7412         GLIBC_2.25.
7413         (__iseqsig): Likewise.
7414         (__iseqsigl): Likewise.
7415         * math/libm-test.inc (iseqsig_test_data): New array.
7416         (iseqsig_test): New function.
7417         (main): Call iseqsig_test.
7418         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
7419         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
7420         * manual/libm-err-tab.pl: Update comment on interfaces without
7421         ulps tabulated.
7422         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
7423         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
7424         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
7425         * sysdeps/nacl/libm.abilist: Update.
7426         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7427         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7428         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7429         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7430         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7431         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7432         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7433         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7434         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7435         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7436         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7437         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7439         Likewise.
7440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7441         Likewise.
7442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7443         Likewise.
7444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7445         Likewise.
7446         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7447         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7448         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7449         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7450         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7452         Likewise.
7453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7454         Likewise.
7455         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7456         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7457         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7459 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7461         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
7462         do_sincos_2, sloww, sloww1): Update comments.
7464         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
7465         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
7467         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
7468         K boolean and rename it.
7469         (__sin): Adjust.
7470         (__cos): Adjust.
7472 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
7473             Siddhesh Poyarekar  <siddhesh@sourceware.org>
7475         * manual/nss.texi: Fix typos in the manual.
7477 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
7479         * manual/contrib.texi: Fix typos in the manual.
7481         * manual/maint.texi: Fix typos in the manual.
7483         * manual/install.texi: Fix typos in the manual.
7484         * INSTALL: Regenerated.
7486         * manual/lang.texi: Fix typos in the manual.
7488         * manual/probes.texi: Fix typos in the manual.
7490         * manual/threads.texi: Fix typos in the manual.
7492         * manual/debug.texi: Fix typos in the manual.
7494         * manual/crypt.texi: Fix typos in the manual.
7496         * manual/conf.texi: Fix typos in the manual.
7498         * manual/sysinfo.texi: Fix typos in the manual.
7500         * manual/users.texi: Fix typos in the manual.
7502         * manual/job.texi: Fix typos in the manual.
7504         * manual/process.texi: Fix typos in the manual.
7506         * manual/argp.texi: Fix typos in the manual.
7507         * manual/getopt.texi: Likewise.
7508         * manual/startup.texi: Likewise.
7510         * manual/signal.texi: Fix typos in the manual.
7512         * manual/setjmp.texi: Fix typos in the manual.
7514         * manual/resource.texi: Fix typos in the manual.
7516         * manual/time.texi: Fix typos in the manual.
7518         * manual/arith.texi: Fix typos in the manual.
7520         * manual/math.texi: Fix typos in the manual.
7522         * manual/syslog.texi: Fix typos in the manual.
7524         * manual/terminal.texi: Fix typos in the manual.
7526         * manual/socket.texi: Fix typos in the manual.
7528         * manual/filesys.texi: Fix typos in the manual.
7530         * manual/llio.texi: Fix typos in the manual.
7532         * manual/stdio.text: Fix typos in the manual.
7534 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7536         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
7537         instead of K1.
7539         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
7540         SHIFT_QUADRANT and make it bool.
7541         (do_sincos_2): Likewise.
7542         (sloww): Likewise.
7543         (sloww1): Likewise.
7544         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
7545         (__cos): Likewise.
7547 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7549         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7551 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
7553         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
7554         Define to __WORDSIZE, not conditional on [LONG_MAX ==
7555         0x7fffffffL].
7556         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
7558 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7560         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
7561         inline by __inline__.
7562         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
7563         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
7564         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
7565         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
7566         sigset_t from signal.h.
7567         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
7568         which is already required.
7570 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
7572         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7574 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
7576         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
7577         (struct tcp_repair_window): New type.
7579 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7581         * libio/tst-memstream3.c: Include string.h.
7583 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7585         [BZ #18241]
7586         [BZ #20181]
7587         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
7588         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
7589         write position is at the end the buffer.
7590         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
7591         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
7592         (_IO_str_seekoff): Set correct offset from negative displacement and
7593         set EINVAL for invalid ones.
7594         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
7595         buffer length.
7596         (_IO_wstr_switch_to_get_mode): New function.
7597         (_IO_wstr_seekoff): Set correct offset from negative displacement and
7598         set EINVAL for invalid ones.
7599         * libio/tst-memstream3.c: New file.
7600         * libio/tst-wmemstream3.c: Likewise.
7601         * manual/examples/memstrm.c: Remove warning when priting size_t.
7603 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
7605         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
7606         macro to use __builtin_fma.
7607         * sysdeps/x86_64/fpu/dla.h: Remove file.
7609         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
7610         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
7611         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
7613 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
7615         [BZ #20292]
7616         * elf/Makefile (routines): Add dl-addr-obj.
7617         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
7618         tst-_dl_addr_inside_object.
7619         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
7620         [ifeq (yesyes,$(have-fpie)$(build-shared))]
7621         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
7622         [ifeq (yesyes,$(have-fpie)$(build-shared))]
7623         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
7624         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
7625         * elf/dl-open.c: Likewise.
7626         * elf/dl-addr-obj.c: New file.
7627         * elf/tst-_dl_addr_inside_object.c: New file.
7629 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
7631         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
7632         <bits/iscanonical.h>.
7633         * bits/iscanonical.h: New file.
7634         * math/s_iscanonicall.c: Likewise.
7635         * math/Versions (__iscanonicall): New libm symbol at version
7636         GLIBC_2.25.
7637         * math/libm-test.inc (iscanonical_test_data): New array.
7638         (iscanonical_test): New function.
7639         (main): Call iscanonical_test.
7640         * math/Makefile (headers): Add bits/iscanonical.h.
7641         (type-ldouble-routines): Add s_iscanonicall.
7642         * manual/arith.texi (Floating Point Classes): Document
7643         iscanonical.
7644         * manual/libm-err-tab.pl: Update comment on interfaces without
7645         ulps tabulated.
7646         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
7647         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
7648         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
7649         Likewise.
7650         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
7651         test-iscanonical-ldbl-128ibm.
7652         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
7653         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
7654         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
7655         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
7656         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7657         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7658         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7660         Likewise.
7661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7662         Likewise.
7663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7664         Likewise.
7665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7666         Likewise.
7667         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7668         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7670 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7672         * string/bits/string3.h: Remove C++ style comments.
7674 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7676         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
7677         instead of ternary condition.
7678         (do_sincos_2): Likewise.
7679         (__sin): Likewise.
7680         (__cos): Likewise.
7681         (slow): Likewise.
7682         (sloww): Likewise.
7683         (sloww1): Likewise.
7684         (bsloww): Likewise.
7685         (bsloww1): Likewise.
7687         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
7688         instead of ternary condition.
7689         (do_sin_slow): Likewise.
7690         (do_sincos_1): Likewise.
7691         (do_sincos_2): Likewise.
7692         (__cos): Likewise.
7693         (sloww): Likewise.
7694         (sloww1): Likewise.
7695         (sloww2): Likewise.
7696         (bsloww): Likewise.
7697         (bsloww1): Likewise.
7698         (bsloww2): Likewise.
7700         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
7701         check from here...
7702         (slow2): ... and here...
7703         (__sin): ... to here.
7705 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
7707         * math/math.h
7708         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
7709         Cast argument to its own type.
7710         * math/test-iszero-excess-precision.c: New file.
7711         * math/Makefile (tests): Add test-iszero-excess-precision.
7712         (CFLAGS-test-iszero-excess-precision.c): New variable.
7714 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
7716         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
7717         field, add err field.
7718         (__spawni_child): Report error through err member instead of pipe.
7719         (__spawnix): Likewise.
7721 2016-09-28  Zack Weinberg  <zackw@panix.com>
7723         * scripts/check-installed-headers.sh: Generalize treatment of
7724         sys/elf.h to all target architectures.
7726         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
7727         deleted typedef ucontext_t.
7729 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7731         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
7732         (__INTERNAL_SYSCALL1): Likewise.
7733         (__INTERNAL_SYSCALL2): Likewise.
7734         (__INTERNAL_SYSCALL3): Likewise.
7735         (__INTERNAL_SYSCALL4): Likewise.
7736         (__INTERNAL_SYSCALL5): Likewise.
7737         (__INTERNAL_SYSCALL6): Likewise.
7738         (__INTERNAL_SYSCALL7): Likewise.
7739         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
7740         (__INTERNAL_SYSCALL_NARGS): Likewise.
7741         (__INTERNAL_SYSCALL_DISP): Likewise.
7742         (INTERNAL_SYSCALL_CALL): Likewise.
7743         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
7744         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
7745         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
7746         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
7747         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
7748         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
7749         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
7750         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
7751         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
7752         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
7753         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
7754         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
7755         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
7757 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
7759         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
7760         macro.
7761         * math/libm-test.inc (iszero_test_data): New array.
7762         (iszero_test): New function.
7763         (main): Call iszero_test.
7764         * manual/arith.texi (Floating Point Classes): Document iszero.
7765         * manual/libm-err-tab.pl: Update comment on interfaces without
7766         ulps tabulated.
7768 2016-09-23  Zack Weinberg  <zackw@panix.com>
7770         * scripts/check-installed-headers.sh: New script.
7771         * Rules: In each directory that defines header files to be installed,
7772         run check-installed-headers.sh on them as a special test.
7773         * Makefile: Likewise for the headers installed at top level.
7775         * include/aliases.h, include/alloca.h, include/argz.h
7776         * include/arpa/nameser.h, include/arpa/nameser_compat.h
7777         * include/elf.h, include/envz.h, include/err.h
7778         * include/execinfo.h, include/fpu_control.h, include/getopt.h
7779         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
7780         * include/link.h, include/malloc.h, include/mcheck.h
7781         * include/mntent.h, include/netinet/ether.h
7782         * include/nss.h, include/obstack.h, include/printf.h
7783         * include/pty.h, include/resolv.h, include/rpc/auth.h
7784         * include/rpc/auth_des.h, include/rpc/auth_unix.h
7785         * include/rpc/clnt.h, include/rpc/des_crypt.h
7786         * include/rpc/key_prot.h, include/rpc/netdb.h
7787         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
7788         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
7789         * include/rpc/rpc_msg.h, include/rpc/svc.h
7790         * include/rpc/svc_auth.h, include/rpc/xdr.h
7791         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
7792         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
7793         * include/rpcsvc/ypupd.h, include/shadow.h
7794         * include/stdio_ext.h, include/sys/epoll.h
7795         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
7796         * include/sys/prctl.h, include/sys/profil.h
7797         * include/sys/statfs.h, include/sys/sysctl.h
7798         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
7799         * sysdeps/arm/nacl/include/bits/setjmp.h
7800         * sysdeps/mips/include/sys/asm.h
7801         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
7802         * sysdeps/unix/sysv/linux/include/sys/timex.h
7803         * sysdeps/x86/fpu/include/bits/fenv.h:
7804         Add #ifndef _ISOMAC guard around internal declarations.
7805         Add multiple-inclusion guard if not already present.
7807 2016-09-23  Zack Weinberg  <zackw@panix.com>
7809         * sysdeps/generic/sys/ucontext.h
7810         * sysdeps/arm/sys/ucontext.h
7811         * sysdeps/i386/sys/ucontext.h
7812         * sysdeps/m68k/sys/ucontext.h
7813         * sysdeps/mips/sys/ucontext.h
7814         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
7815         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
7816         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
7817         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
7818         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
7819         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
7820         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
7821         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
7822         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
7823         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
7824         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
7825         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
7826         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
7827         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
7828         Include both bits/sigcontext.h and bits/sigstack.h.
7829         Fix grammar error in comment, if present.
7831         * bits/sigstack.h
7832         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
7833         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
7834         * sysdeps/unix/sysv/linux/bits/sigstack.h
7835         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
7836         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
7837         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
7838         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
7839         * bits/sigcontext.h
7840         * sysdeps/mach/hurd/i386/bits/sigcontext.h
7841         * sysdeps/unix/sysv/linux/bits/sigcontext.h
7842         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
7843         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
7844         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
7845         as well as signal.h, if this was not already allowed.  Request
7846         definition of size_t if necessary.  Minimize semantically-null
7847         differences across files.
7849 2016-09-23  Zack Weinberg  <zackw@panix.com>
7851         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
7852         Remove all logic conditional on __need macros.  Move all the
7853         conditionally defined types to their own headers...
7854         * time/bits/types/clock_t.h: Define clock_t here.
7855         * time/bits/types/clockid_t.h: Define clockid_t here.
7856         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
7857         * time/bits/types/struct_timespec.h: Define struct timespec here.
7858         * time/bits/types/struct_timeval.h: Define struct timeval here.
7859         * time/bits/types/struct_tm.h: Define struct tm here.
7860         * time/bits/types/time_t.h: Define time_t here.
7861         * time/bits/types/timer_t.h: Define timer_t here.
7862         * time/Makefile: Install the new headers.
7864         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
7865         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
7866         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
7867         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
7868         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
7869         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
7870         * sysdeps/unix/sysv/linux/bits/resource.h
7871         * sysdeps/unix/sysv/linux/bits/timex.h
7872         * sysdeps/unix/sysv/linux/mips/bits/resource.h
7873         * sysdeps/unix/sysv/linux/net/ppp_defs.h
7874         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
7875         * sysdeps/unix/sysv/linux/sys/acct.h
7876         * sysdeps/unix/sysv/linux/sys/timerfd.h
7877         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
7878         * time/sys/time.h, time/sys/timeb.h
7879         Use the new bits/types headers.
7881         * include/time.h: Remove __need logic.
7882         * include/bits/time.h
7883         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
7884         * include/bits/types/time_t.h, include/bits/types/timer_t.h
7885         * include/bits/types/struct_itimerspec.h
7886         * include/bits/types/struct_timespec.h
7887         * include/bits/types/struct_timeval.h
7888         * include/bits/types/struct_tm.h:
7889         New wrapper headers.
7891 2016-09-23  Zack Weinberg  <zackw@panix.com>
7893         * sysdeps/mach/hurd/net/if_ppp.h
7894         * sysdeps/unix/sysv/linux/net/if_ppp.h:
7895         Only define struct ifpppstatsreq and struct ifpppcstatsreq
7896         if __USE_MISC is defined, to ensure struct ifreq is declared.
7898         * inet/netinet/ether.h: Condition all function prototypes
7899         on __USE_MISC, to ensure struct ether_addr is declared.
7901         * socket/bits/types/struct_osockaddr.h: New header.
7902         * include/bits/types/struct_osockaddr.h: New wrapper.
7903         * socket/Makefile: Install the new header.
7904         * socket/sys/socket.h, inet/protocols/talkd.h:
7905         Refer to bits/types/struct_osockaddr.h for the definition of
7906         struct osockaddr.
7908 2016-09-23  Zack Weinberg  <zackw@panix.com>
7910         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
7911         * inet/protocols/routed.h, inet/protocols/talkd.h
7912         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
7913         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
7914         * sysdeps/generic/netinet/if_ether.h
7915         * sysdeps/generic/netinet/in_systm.h
7916         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
7917         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
7918         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
7919         * sysdeps/mach/hurd/net/if_arp.h
7920         * sysdeps/mach/hurd/net/if_ppp.h
7921         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
7922         * sysdeps/unix/sysv/linux/bits/in.h
7923         * sysdeps/unix/sysv/linux/net/ethernet.h
7924         * sysdeps/unix/sysv/linux/net/if_arp.h
7925         * sysdeps/unix/sysv/linux/net/if_ppp.h
7926         * sysdeps/unix/sysv/linux/net/if_shaper.h
7927         * sysdeps/unix/sysv/linux/net/route.h
7928         * sysdeps/unix/sysv/linux/netinet/if_ether.h
7929         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
7930         * sysdeps/unix/sysv/linux/netinet/if_tr.h
7931         * sysdeps/unix/sysv/linux/netipx/ipx.h
7932         * sysdeps/unix/sysv/linux/sys/acct.h
7933         * include/arpa/nameser.h, include/resolv.h:
7934         Change all uses of u_char to unsigned char,
7935         u_short and ushort to unsigned short, u_int and uint to unsigned int,
7936         u_long and ulong to unsigned long, u_int8_t to uint8_t,
7937         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
7938         and u_int64_t and u_quad_t to uint64_t.
7940         * mach/sys/reboot.h: Remove two casts of integer literals
7941         to the types they already have.
7943         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
7944         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
7945         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
7946         from referring to 'unsigned char' to 'uint8_t' for consistency with
7947         the macro definition below.
7949         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
7950         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
7951         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
7952         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
7953         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
7954         * sysdeps/unix/sysv/linux/sys/acct.h
7955         * include/arpa/nameser.h, include/resolv.h:
7956         Fix indentation disrupted by mechanical edits.
7958         * inet/protocols/talkd.h, resolv/arpa/nameser.h
7959         * sysdeps/generic/netinet/in_systm.h
7960         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
7961         * sysdeps/gnu/netinet/udp.h
7962         * sysdeps/unix/sysv/linux/net/ethernet.h
7963         * sysdeps/unix/sysv/linux/net/if_arp.h
7964         * sysdeps/unix/sysv/linux/net/if_ppp.h
7965         * sysdeps/unix/sysv/linux/net/if_shaper.h
7966         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
7967         * sysdeps/unix/sysv/linux/netinet/if_tr.h
7968         * sysdeps/unix/sysv/linux/netipx/ipx.h
7969         * sysdeps/unix/sysv/linux/sys/acct.h
7970         Include stdint.h for uintNN_t definitions.
7971         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
7973 2016-09-23  Zack Weinberg  <zackw@panix.com>
7975         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
7976         * sysdeps/unix/sysv/linux/netrose/rose.h:
7977         Include sys/socket.h and netax25/ax25.h.
7979         * inet/netinet/icmp6.h, inet/netinet/ip6.h
7980         * resolv/arpa/nameser_compat.h:
7981         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
7983         * sysdeps/unix/sysv/linux/sys/quota.h:
7984         Use __caddr_t instead of caddr_t.
7985         * sysdeps/unix/sysv/linux/sys/timerfd.h:
7986         Use __clockid_t instead of clockid_t.
7988         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
7990         * argp/argp.h: Check whether _LIBC is defined before expanding it.
7991         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
7992         expanding it.
7994         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
7995         Define __glibc_c99_flexarr_available to 1 when the compiler
7996         supports C99-compatible flexible array members, 0 otherwise.
7997         * sysdeps/unix/sysv/linux/bits/socket.h
7998         * sysdeps/mach/hurd/bits/socket.h
7999         * bits/socket.h: Use __glibc_c99_flexarr_available in
8000         definitions of struct cmsghdr and CMSG_DATA.
8002 2016-09-23  Florian Weimer  <fweimer@redhat.com>
8004         * manual/nss.texi (NSS Modules Interface): Adjust function return
8005         type to enum nss_status.  Document errnop argument.  Clarify
8006         h_errnop semantics.  Fix cross-reference formatting.
8007         (NSS Module Function Internals): Mention that *errnop needs to be
8008         set on failure, but not to zero.
8010 2016-09-23  Florian Weimer  <fweimer@redhat.com>
8012         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
8013         (get_random_name): New functions.
8014         (check_wrapper_flags_mode): Use linkat to give the new file a name
8015         determined by get_random_name.
8016         (do_test): Add calls to test open64 and openat64.
8018 2016-09-23  Florian Weimer  <fweimer@redhat.com>
8020         * test-skeleton.c: Remove #include <stdarg.h>.
8022 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
8024         [BZ #19826]
8025         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
8026         initialization of static TLS entries.
8027         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
8028         * nptl/allocatestack.c (init_one_static_tls): Likewise.
8030 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8032         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
8033         _hurd_malloc_fork_prepare.
8034         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
8035         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
8036         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
8037         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
8038         (_hurd_fork_child_hook): Drop malloc_fork_child.
8039         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
8040         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
8041         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
8042         after locking locks (notably hurd_dtable_lock). Call
8043         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
8044         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
8045         __malloc_fork_unlock_child.
8046         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
8048 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
8050         * soft-fp/extendhftf2.c: New.
8051         * soft-fp/fixhfti.c: Likewise.
8052         * soft-fp/fixunshfti.c: Likewise.
8053         * soft-fp/floattihf.c: Likewise.
8054         * soft-fp/floatuntihf.c: Likewise.
8055         * soft-fp/half.h: Likewise.
8056         * soft-fp/trunctfhf2.c: Likewise.
8058 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
8060         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
8061         macro.
8062         * math/libm-test.inc (issubnormal_test_data): New array.
8063         (issubnormal_test): New function.
8064         * manual/arith.texi (Floating Point Classes): Document
8065         issubnormal.
8066         * manual/libm-err-tab.pl: Update comment on interfaces without
8067         ulps tabulated.
8069         * sysdeps/generic/stdint.h: Define
8070         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8071         <bits/libc-header-start.h> instead of including <features.h>.
8072         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
8073         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
8074         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
8075         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
8076         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
8077         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
8078         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
8079         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
8080         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
8081         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
8082         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
8083         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
8084         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
8085         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
8086         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
8087         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
8088         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
8089         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
8090         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
8091         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
8092         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
8093         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
8094         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
8095         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
8096         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
8097         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
8098         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
8099         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
8100         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
8101         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
8102         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
8103         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
8104         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
8105         * manual/arith.texi (Integers): Document these macros for types
8106         specified by width properties.
8107         * manual/lang.texi (Width of Type): Document these macros for
8108         other standard typedefs.
8109         * stdlib/tst-width-stdint.c: New file.
8110         * stdlib/Makefile (tests): Add tst-width-stdint.
8112 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8114         [BZ #20016]
8115         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
8116         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
8117         Move ...
8118         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
8119         ... here, as compatibility symbols in a new file.
8120         * resolv/Makefile (libresolv-routines): Add compat-hooks.
8121         * resolv/res_init.c (__res_vinit): Adjust member names.
8122         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
8123         * resolv/resolv.h (res_sendhookact, res_send_qhook)
8124         (res_send_rhook): Remove.
8125         (struct __res_state): Rename qhook, rhook members.
8127 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8129         malloc: Use __libc_lock wrappers.
8130         * malloc/arena.c (list_lock, free_list_lock): Define using
8131         __libc_lock_define_initialized.
8132         (arena_lock): Adjust formatting.
8133         * malloc/malloc.c (struct malloc_state): Define mutex using
8134         __libc_lock_define.
8135         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
8136         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
8137         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
8138         (mutex_unlock, mutex_trylock): Remove.
8139         (__pthread_initialize): Remove unused macro.
8140         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
8141         (mutex_unlock, mutex_trylock): Remove.
8143 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8145         [BZ #20592]
8146         Remove RR type classification macros.
8147         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
8148         (ns_t_udp_p, ns_t_xfr_p): Remove.
8150 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8152         Remove misleading version information.
8153         * resolv/arpa/nameser.h (__NAMESER): Remove.
8154         * resolv/arpa/nameser_compat.h (__BIND): Remove.
8156 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8158         Remove the always-defined BIND_4_COMPAT macro.
8159         * resolv/arpa/nameser.h: Unconditionally include
8160         <arpa/nameser_compat.h>.
8161         (BIND_4_COMPAT): Remove.
8162         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
8164 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8166         [BZ #20591]
8167         Remove obsolete DNSSEC support.
8168         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
8169         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
8170         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
8171         (ns_verify_tcp, ns_verify_tcp_init): Remove.
8172         (ns_cert_types): Add comment.
8173         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
8174         separately.
8175         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
8176         (dst_s_dns_key_id): Remove.
8177         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
8178         variables.
8180 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8182         [BZ #20524]
8183         * manual/string.texi (String/Array Comparison): Clarify the
8184         strverscmp behavior.
8186 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8188         * test-skeleton.c (xasprintf): Add function.
8189         * io/tst-open-tmpfile.c: New test.
8190         * io/Makefile (tests): Add it.
8192 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8194         Avoid running $(CXX) during build to obtain header file paths.
8195         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
8196         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
8197         * Makerules (cstdlib, cmath): Remove variables.  Use
8198         $(c++-cstdlib-header), $(c++-cmath-header) instead.
8199         * configure: Regenerate.
8201 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8203         * Makeconfig (all-object-suffixes): Include .op only if
8204         $(build-profile).
8206 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8208         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
8209         conditionals.  Do not define PATH_MAX.
8211 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8213         * posix/Makefile (tests): Add tst-spawn3.
8214         * posix/tst-spawn3.c: New file.
8215         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
8216         if it is already opened for open action.
8218         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
8219         all signals when executing the clone vfork child.
8220         (SIGALL_SET): Remove macro.
8222         * nptl/Makefile (tests): Add tst-exec5.
8223         * nptl/tst-exec5.c: New file.
8224         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
8225         asynchronous cancellation.
8227 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8229         * hurd/exc2signal.c: #include <hurd/signal.h>
8230         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
8231         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
8232         accordingly.
8233         * mach/mach_error.c (mach_error): Fix old-style function definition.
8234         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
8236 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8238         * math/Makefile (libm-calls): Remove s_nanF.
8239         (gen-libm-calls): Add s_nanF.
8241         * math/s_nan.c: Refactor into ...
8242         * math/s_nan_template.c: New file.
8244         * math/s_nanf.c: Removed.
8245         * math/s_nanl.c: Removed.
8246         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
8247         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
8249         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8250         (LDOUBLE_nanl_libm_version): New macro.
8252         * sysdeps/generic/math-type-macros-double.h:
8253         (M_STRTO_NAN): New macro.
8254         * sysdeps/generic/math-type-macros-float.h: Likewise.
8255         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8257         * sysdeps/generic/math-type-macros.h: Document
8258         M_STRTO_NAN.
8260 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8262         * math/s_nanf.c: Remove __nanf undef.
8263         * math/s_nan.c: Remove __nan undef.
8264         * math/s_nanl.c: Remove __nanl undef.
8266         * sysdeps/generic/math_private.h (__nan): Remove macro
8267         override.
8268         (__nanf): Likewise.
8269         (__nanl): Likewise.
8271 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8273         * math/Makefile (gen-all-calls): New variable.
8274         (generated): Replace gen-libm-calls with gen-all-calls.
8275         (gen-libm-templates.stmp): Likewise.  Also, ensure
8276         the output directory exists or is created and add
8277         dependency on the Makefile.
8278         (calls): Move s_ldexpF into gen-calls.
8279         (gen-calls): New variable.
8281         * math/s_ldexpf.c: Removed.
8282         * math/s_ldexpl.c: Removed.
8283         * math/s_ldexp.c: Refactored into ...
8284         * math/s_ldexp_template.c: New file.
8286         * sysdeps/generic/math-type-macros-double.h: Remove
8287         redundant fall-through definition of declare_mgen_alias.
8288         (declare_mgen_alias_2): New macro.
8290         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
8291         New macro for function aliased to two exported symbols.
8293         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
8294         new template file.
8295         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
8297 2016-09-20  Florian Weimer  <fweimer@redhat.com>
8299         * Makeconfig (all-object-suffixes): Remove .og.
8300         * Makerules (elide-routines.og): Remove.
8301         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
8302         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
8303         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
8305 2016-09-20  Florian Weimer  <fweimer@redhat.com>
8307         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
8308         .os objects.
8310 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8312         [BZ #20615]
8313         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
8314         fpu directory by non-fpu.
8315         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
8316         on non-fpu directory from a fpu directory.
8318 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
8320         * include/limits.h: Define
8321         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8322         <bits/libc-header-start.h> instead of including <features.h>.
8323         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
8324         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
8325         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
8326         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
8327         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
8328         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
8329         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
8330         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
8331         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
8332         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
8333         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
8334         * manual/lang.texi (Width of Type): Document these macros.
8335         * stdlib/tst-width.c: New file.
8336         * stdlib/Makefile (tests): Add tst-width.
8338 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8340         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
8341         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
8343 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8345         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
8346         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
8347         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
8349 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8351         [BZ #18243]
8352         * rt/Makefile (test): Add tst-shm-cancel.
8353         * rt/tst-shm-cancel.c: New file.
8354         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
8356         [BZ #18243]
8357         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
8358         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
8359         definition.
8360         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
8361         uncontended case.
8362         * nptl/sem_wait.c (__new_sem_wait): Likewise.
8363         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
8364         (tf): Fix check for uncontended case.
8365         (do_test): Likewise.
8366         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
8367         (tf): Fix check for uncontended case.
8368         (do_test): Likewise.
8369         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
8370         (tf): Fix check for uncontended case.
8371         (do_test): Likewise.
8372         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
8373         (tf): Fix check for uncontended case.
8374         (do_test): Likewise.
8376         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
8377         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
8379         [BZ #15765]
8380         * nptl/Makefile (tests): Add tst-sem16.
8381         * nptl/tst-sem16.c: New file.
8382         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
8384         * nptl/sem_open.c (sem_open): Init pad value to 0.
8385         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
8386         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
8388 2016-09-15  Florian Weimer  <fweimer@redhat.com>
8390         [BZ #20611]
8391         * inet/Makefile (routines): Add inet6_scopeid_pton.
8392         (tests): Add tst-inet6_scopeid_pton.
8393         * inet/inet6_scopeid_pton.c: New file.
8394         * inet/net-internal.h: Likewise.
8395         * inet/tst-inet6_scopeid_pton.c: New test.
8396         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
8397         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
8398         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8400 2016-09-14  Florian Weimer  <fweimer@redhat.com>
8402         Remove support for compiling wrappers with PTW.
8403         * sysdeps/nptl/Makeconfig: Drop ptw- support.
8404         * nptl/Makefile (pthread-compat-wrappers): Define.
8405         (libpthread-routines): Use pthread-compat-wrappers.
8406         * sysdeps/unix/sysv/linux/alpha/Makefile
8407         (libpthread-routines, libpthread-shared-only-routines): Remove
8408         ptw- prefix.
8409         * sysdeps/s390/nptl/Makefile
8410         (libpthread-routines, libpthread-shared-only-routines): Likewise.
8411         * sysdeps/ia64/nptl/Makefile
8412         (libpthread-routines, libpthread-shared-only-routines): Likewise.
8413         * sysdeps/nacl/Makefile (libpthread-routines): Use
8414         pthread-compat-wrappers to filter the routines list instead of the
8415         ptw- prefix.
8417 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8419         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
8420         with L() and remove explicit suffix, convert real literals
8421         which can be equivalentally substituted with integers, and
8422         transform -L(x) to L(-x).
8424         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8425         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8426         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8427         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8428         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8429         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8430         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8431         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8432         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8433         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8434         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8435         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8436         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8437         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8438         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8439         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8440         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8441         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8442         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8443         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8444         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8445         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8446         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8447         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8448         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8449         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8450         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8451         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8452         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8453         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8454         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8455         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8456         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8457         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8458         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8459         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8460         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8461         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8462         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8463         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8464         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8465         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8466         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8467         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8468         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8469         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8470         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8471         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
8472         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8473         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8475 2016-09-13  Florian Weimer  <fweimer@redhat.com>
8477         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
8479 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8481         * malloc/Makefile (tests): Remove individual static test names
8482         and just add all of tests-static.
8484         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
8486 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
8488         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
8489         file.
8491         * sysdeps/sparc/fpu/fegetmode.c: New file.
8492         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
8494         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
8495         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
8497         * sysdeps/s390/fpu/fegetmode.c: New file.
8498         * sysdeps/s390/fpu/fesetmode.c: Likewise.
8500         * sysdeps/powerpc/fpu/fegetmode.c: New file.
8501         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
8502         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
8503         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
8504         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
8505         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
8507         * sysdeps/mips/fpu/fegetmode.c: New file.
8508         * sysdeps/mips/fpu/fesetmode.c: Likewise.
8510         * sysdeps/m68k/fpu/fegetmode.c: New file.
8511         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
8513         * sysdeps/ia64/fpu/fegetmode.c: New file.
8514         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
8516         * sysdeps/hppa/fpu/fegetmode.c: New file.
8517         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
8519         * sysdeps/arm/fegetmode.c: New file.
8520         * sysdeps/arm/fesetmode.c: Likewise.
8522         * sysdeps/alpha/fpu/fegetmode.c: New file.
8523         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
8525         * sysdeps/aarch64/fpu/fegetmode.c: New file.
8526         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
8528         * math/fegetmode.c: New file.
8529         * math/fesetmode.c: Likewise.
8530         * sysdeps/i386/fpu/fegetmode.c: Likewise.
8531         * sysdeps/i386/fpu/fesetmode.c: Likewise.
8532         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
8533         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
8534         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
8535         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
8536         declaration.
8537         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
8538         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
8539         typedef.
8540         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8541         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8542         (femode_t): New typedef.
8543         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8544         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8545         (femode_t): New typedef.
8546         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8547         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8548         (femode_t): New typedef.
8549         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8550         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8551         (femode_t): New typedef.
8552         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8553         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8554         (femode_t): New typedef.
8555         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8556         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8557         (femode_t): New typedef.
8558         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8559         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8560         (femode_t): New typedef.
8561         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8562         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8563         (femode_t): New typedef.
8564         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8565         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8566         (femode_t): New typedef.
8567         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8568         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8569         (femode_t): New typedef.
8570         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
8571         declaration.
8572         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8573         * sysdeps/s390/fpu/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/sh/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/sparc/fpu/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/tile/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/x86/fpu/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         * manual/arith.texi (FE_DFL_MODE): Document macro.
8589         (fegetmode): Document function.
8590         (fesetmode): Likewise.
8591         * math/Versions (fegetmode): New libm symbol at version
8592         GLIBC_2.25.
8593         (fesetmode): Likewise.
8594         * math/Makefile (libm-support): Add fegetmode and fesetmode.
8595         (tests): Add test-femode and test-femode-traps.
8596         * math/test-femode-traps.c: New file.
8597         * math/test-femode.c: Likewise.
8598         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
8599         alias for __fe_dfl_env.
8600         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
8601         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
8602         (__fe_dfl_mode): Likewise.
8603         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
8604         version GLIBC_2.25.
8605         * sysdeps/nacl/libm.abilist: Update.
8606         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8607         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8608         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8609         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8610         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8611         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8612         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8613         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8614         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8615         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8616         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8617         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8619         Likewise.
8620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8621         Likewise.
8622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8623         Likewise.
8624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8625         Likewise.
8626         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8627         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8628         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8629         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8630         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8632         Likewise.
8633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8634         Likewise.
8635         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8636         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8637         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8639 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8641         [BZ #20495]
8642         [BZ #20508]
8643         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
8644         processors, set Use_dl_runtime_resolve_slow and set
8645         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
8646         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
8647         New.
8648         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
8649         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
8650         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
8651         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
8652         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
8653         if Use_dl_runtime_resolve_opt is set.  Use
8654         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
8655         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
8656         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
8657         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
8658         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
8659         New.
8660         (_dl_runtime_resolve_opt): Likewise.
8661         (_dl_runtime_profile): Define only if _dl_runtime_profile is
8662         defined.
8664 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8666         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
8667         __libc_memalign with "+ RELA R_390_GLOB_DAT".
8669 2016-09-06  Florian Weimer  <fweimer@redhat.com>
8671         Convert malloc to __libc_lock.  Automated part, using this Perl
8672         s/// command:
8673           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
8674             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
8675         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
8676         conversion.
8678 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
8680         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
8681         (linknamespace-symlists-tests): Likewise.
8682         (linknamespace-header-tests): Likewise.
8684 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
8686         [BZ #19810]
8687         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
8688         * elf/tst-noload.c: New test case.
8689         * elf/Makefile (tests): Add tst-noload.
8691 2016-09-02  Roland McGrath  <roland@hack.frob.com>
8693         * sysdeps/nacl/dup.c: Add libc_hidden_def.
8695         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
8696         not any more.
8698         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
8700 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8702         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
8703         (do_cos_slow): Likewise.
8704         (do_sin): Likewise.
8705         (do_sin_slow): Likewise.
8706         (slow): Likewise.
8707         (slow1): Likewise.
8708         (slow2): Likewise.
8709         (sloww): Likewise.
8710         (sloww1): Likewise.
8711         (sloww2): Likewise.
8712         (bsloww): Likewise.
8713         (bsloww1): Likewise.
8714         (bsloww2): Likewise.
8715         (cslow2): Likewise.
8717         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
8719         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
8720         arguments.  Consolidate input partitioning from callers here.
8721         (do_cos_slow): Likewise.
8722         (do_sin): Likewise.
8723         (do_sin_slow): Likewise.
8724         (do_sincos_1): Remove the no longer necessary input partitioning.
8725         (do_sincos_2): Likewise.
8726         (__sin): Likewise.
8727         (__cos): Likewise.
8728         (slow1): Likewise.
8729         (slow2): Likewise.
8730         (sloww1): Likewise.
8731         (sloww2): Likewise.
8732         (bsloww1): Likewise.
8733         (bsloww2): Likewise.
8734         (cslow2): Likewise.
8736 2016-09-02  Florian Weimer  <fweimer@redhat.com>
8738         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
8739         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
8740         outside of allocated array.
8742 2016-09-02  Florian Weimer  <fweimer@redhat.com>
8744         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
8745         instead of MB_CUR_MAX to avoid variable-length array.
8747 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8749         * math/Makefile (libm-calls): Remove k_rem_pio2F.
8750         (type-double-routines): Add k_rem_pio2.
8751         (type-float-routines): Add k_rem_pio2f.
8753         * sysdeps/generic/math_private.h:
8754         (__kernel_rem_pio2l): Removed.
8756         * math/k_rem_pio2l.c: Removed.
8757         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
8758         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
8759         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
8760         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
8762 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8764         * math/Makefile (gen-libm-calls): Add s_fmin
8765         (libm-calls): Remove above.
8767         * math/s_fmin.c: Refactor into ...
8768         * math/s_fmin_template.c: New file.
8770         * math/s_fminf.c: Removed.
8771         * math/s_fminl.c: Removed.
8772         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8773         (LDOUBLE_fmin_libm_version): New macro.
8775         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
8776         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
8778 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8780         * math/Makefile: (gen-libm-calls): Add s_fmax.
8781         (libm-calls): Remove above.
8783         * math/s_fmax.c: Refactor into ...
8784         * math/s_fmax_template.c: New file.
8785         * math/s_fmaxf.c: Removed.
8786         * math/s_fmaxl.c: Removed.
8788         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8789         (LDOUBLE_fmaxl_libm_version): New macro.
8791         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
8792         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
8794         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
8795         s_fmin.c to pick the aarch64 version of the file.
8796         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
8797         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
8799 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8801         * math/Makefile: (gen-libm-calls): Add s_nextdown.
8802         (libm-calls): Remove above.
8804         * math/s_nextdown.c: Refactor into ...
8805         * math/s_nextdown_template.c: New file.
8806         * math/s_nextdownf.c: Removed.
8807         * math/s_nextdownl.c: Removed.
8809         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
8811 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8813         * math/Makefile (gen-libm-calls): Add s_fdim.
8814         (libm-calls): Move to above.
8816         * math/s_fdim.c: Renamed and refactored into to ...
8817         * math/s_fdim_template.c: New file.
8818         * math/s_fdiml.c: Removed.
8819         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
8820         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
8822         * sysdeps/generic/math-type-macros-double.h:
8823         (declare_mgen_alias): Don't declare if already declared.
8824         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
8825         Likewise.
8827         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8828         (declare_mgen_alias): Don't declare if already declared.
8829         (M_LIBM_NEED_COMPAT): Likewise.
8830         (declare_mgen_libm_compat): Likewise.
8831         (LDOUBLE_fdiml_libm_version): New macro.
8833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
8834         Include math/s_fdim.c now that ldbl-opt version is not needed.
8835         (declare_mgen_alias): New macro to disable aliasing.
8837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
8838         (declare_mgen_alias): Likewise.
8839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
8840         (declare_mgen_alias): Likewise.
8841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
8842         (declare_mgen_alias): Likewise.
8843         (M_LIBM_NEED_COMPAT): Likewise.
8845 2016-09-01  Florian Weimer  <fweimer@redhat.com>
8847         [BZ #20525]
8848         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
8849         Include <linux/quota.h>.
8850         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
8851         and btodb.
8852         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
8853         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
8854         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
8855         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
8856         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
8857         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
8858         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
8859         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
8860         types.
8861         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
8862         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
8864 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8866         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
8867         (gammal_positive): Fix spacing.
8868         (__ieee754_gammal_r): Likewise.
8870 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8872         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
8873         (_Float128): Define as long double, always.
8874         (L): Apply long double type suffix, always.
8876         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
8877         _Float128, excepting comments.
8879         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8880         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8881         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8882         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8883         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8884         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8885         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8886         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8887         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8888         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
8889         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8890         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8891         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8892         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8893         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8894         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8895         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8896         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8897         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8898         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8899         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8900         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8901         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8902         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8903         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8904         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8905         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8906         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
8907         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8908         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8909         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8910         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8911         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8912         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8913         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8914         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8915         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8916         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8917         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8918         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8919         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8920         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8921         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8922         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8923         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8924         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8925         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8926         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8927         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8928         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8929         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8930         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8931         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8932         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8933         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
8934         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8935         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8936         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8937         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8938         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8939         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8940         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8941         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8942         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8943         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8944         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
8945         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8946         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8948         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
8949         _Float128, and include math_private.h.
8950         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8952         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
8953         long double semantics.
8954         (_Float128): Likewise.
8955         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
8956         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8957         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
8958         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
8960 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8962         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
8963         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
8964         * sysdeps/s390/configure: Regenerated.
8965         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
8966         instruction for raising over-/underflow if z196 zarch is supported
8967         by default.
8968         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
8970 2016-08-30  Svante Signell  <svante.signell@gmail.com>
8972         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
8973         it point to a dumb buffer for RPC to fill it.
8975 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8977         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
8978         instead of if/else.
8979         (do_sin_slow): Likewise.
8980         (do_sincos_1): Use fabs instead of if/else.
8981         (do_sincos_2): Likewise.
8982         (__sin): Likewise.
8983         (__cos): Likewise.
8984         (slow2): Likewise.
8985         (sloww): Likewise.
8986         (sloww1): Likewise.  Drop argument M.
8987         (sloww2): Use fabs instead of if/else.
8988         (bsloww): Likewise.
8989         (bsloww1): Likewise.
8990         (bsloww2): Likewise.
8992         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
8993         fall through comment.
8994         (do_sincos_1): Likewise.
8996         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
8997         Consolidate switch cases 0 and 2.
8999 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9001         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
9002         (libm-calls): Remove the above.
9004         * math/s_cexp_template.c: Update using type-generic macros.
9005         * math/s_clog10_template.c: Likewise.
9006         * math/s_cpow_template.c: Likewise.
9007         * math/s_clog_template.c: Likewise.
9008         * math/s_cproj_template.c: Likewise.
9009         * math/s_csqrt_template.c: Likewise.
9011         * math/s_cexp.c: Removed.
9012         * math/s_cexpf.c: Removed.
9013         * math/s_cexpl.c: Removed.
9014         * math/s_clog10.c: Removed.
9015         * math/s_clog10f.c: Removed.
9016         * math/s_clog10l.c: Removed.
9017         * math/s_cpow.c: Removed.
9018         * math/s_cpowf.c: Removed.
9019         * math/s_cpowl.c: Removed.
9020         * math/s_clog.c: Removed.
9021         * math/s_clogf.c: Removed.
9022         * math/s_clogl.c: Removed.
9023         * math/s_cproj.c: Removed.
9024         * math/s_cprojf.c: Removed.
9025         * math/s_cprojl.c: Removed.
9026         * math/s_csqrt.c: Removed.
9027         * math/s_csqrtf.c: Removed.
9028         * math/s_csqrtl.c: Removed.
9030         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
9031         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
9032         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
9033         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
9034         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
9035         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
9037         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
9038         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
9039         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
9040         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
9041         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
9042         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
9043         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
9044         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
9045         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
9046         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
9047         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
9049         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
9050         version.
9052         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
9053         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
9054         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
9055         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
9057 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9059         * s_cexp_template.c: Copy of s_cexp.c.
9060         * s_clog_template.c: Copy of s_clog.c.
9061         * s_clog10_template.c: Copy of s_clog10.c.
9062         * s_cpow_template.c: Copy of s_cpow.c.
9063         * s_cproj_template.c: Copy of s_cproj.c.
9064         * s_csqrt_template.c: Copy of s_csqrt.c.
9066 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9068         [BZ #20517]
9069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
9070         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
9071         exported.
9073 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
9075         * math/fetestexceptflag.c: New file.
9076         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
9077         Stefan Liebler.
9078         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9079         (fetestexceptflag): New function declaration.
9080         * manual/arith.texi (fetestexceptflag): Document function.
9081         * math/Versions (fetestexceptflag): New libm symbol at version
9082         GLIBC_2.25.
9083         * math/Makefile (libm-support): Add fetestexceptflag.
9084         (tests): Add test-fetestexceptflag.
9085         * math/test-fetestexceptflag.c: New file.
9086         * sysdeps/nacl/libm.abilist: Update.
9087         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9088         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9089         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9090         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9091         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9092         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9093         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9094         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9095         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9096         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9097         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9098         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9100         Likewise.
9101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9102         Likewise.
9103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9104         Likewise.
9105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9106         Likewise.
9107         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9108         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9109         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9110         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9111         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9113         Likewise.
9114         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9115         Likewise.
9116         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9117         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9118         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9120 2016-08-26  Florian Weimer  <fweimer@redhat.com>
9122         [BZ #20432]
9123         Avoid strong references to malloc-internal symbols when linking
9124         statically, to support statically interposed mallocs.
9125         * include/libc-symbols.h (call_function_static_weak): New macro.
9126         * malloc/Makefile (tests): Add tst-interpose-nothread,
9127         tst-interpose-thread, tst-interpose-static-nothread,
9128         tst-interpose-static-thread.
9129         (tests-static): Add tst-interpose-static-nothread,
9130         tst-interpose-static-thread.
9131         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
9132         tst-interpose-aux-thread.o.
9133         (test-extras): Add tst-interpose-aux-nothread,
9134         tst-interpose-aux-thread.
9135         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
9136         tst-interpose-aux-nothread.o.
9137         (tst-interpose-thread, tst-interpose-static-thread): Link with
9138         tst-interpose-aux-thread.o and libthread.
9139         * malloc/tst-interpose-aux-nothread.c: New file.
9140         * malloc/tst-interpose-aux-thread.c: Likewise.
9141         * malloc/tst-interpose-aux.c: Likewise.
9142         * malloc/tst-interpose-aux.h: Likewise.
9143         * malloc/tst-interpose-nothread.c: Likewise.
9144         * malloc/tst-interpose-skeleton.c: Likewise.
9145         * malloc/tst-interpose-static-nothread.c: Likewise.
9146         * malloc/tst-interpose-static-thread.c: Likewise.
9147         * malloc/tst-interpose-thread.c: Likewise.
9148         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
9149         * sysdeps/mach/hurd/fork.c (__fork): Only call
9150         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
9151         __malloc_fork_unlock_child if defined.
9152         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
9154 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9156         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
9157         timespec C99 designated initialization.
9159 2016-08-26  Florian Weimer  <fweimer@redhat.com>
9161         [BZ #19946]
9162         Avoid expected SIGALRM signals.
9163         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
9164         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
9165         (xpthread_create, xpthread_detach, xpthread_join)
9166         (delayed_exit_thread, delayed_exit): New functions.
9167         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
9168         (tf): Use xpthread_cond_wait.
9169         (do_test): Likewise.  Replace alarm with delayed_exit.
9170         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9171         (do_test): Call delayed_exit.  Report failure.
9172         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9173         (do_test): Call delayed_exit.
9174         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9175         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
9176         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9177         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
9178         error.
9179         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9180         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
9181         error.
9182         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
9183         (do_test): Call delayed_exit.
9184         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
9185         (do_test): Call delayed_exit.
9186         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
9187         (do_test): Call delayed_exit instead of alarm.  Use
9188         xpthread_mutex_lock.
9189         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
9190         (do_test): Call delayed_exit instead of alarm.  Use
9191         xpthread_mutex_lock.
9192         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
9193         (do_test): Call delayed_exit instead of alarm.
9194         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
9195         (do_test): Call delayed_exit instead of alarm.  Use
9196         xpthread_spin_lock.
9197         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
9198         (do_test): Call delayed_exit instead of alarm.  Use
9199         xpthread_join.
9201 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
9203         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
9204         adjust CFA when allocating register save area on re-aligned
9205         stack.
9207 2016-08-26  Florian Weimer  <fweimer@redhat.com>
9209         * string/tst-cmp.c: New test.
9210         * string/Makefile (tests): Add it.
9212 2016-08-25  Mark Wielaard  <mark@klomp.org>
9214         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
9215         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
9216         (check_tree_recurse): Use newly defined accessors.
9217         (check_tree): Likewise.
9218         (maybe_split_for_insert): Likewise.
9219         (__tfind): Likewise.
9220         (__tdelete): Likewise.
9221         (trecurse): Likewise.
9222         (tdestroy_recurse): Likewise.
9223         (__tsearch): Likewise. And add asserts for malloc alignment.
9224         (__twalk): Cast root to node in case CHECK_TREE is defined.
9226 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9228         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
9230 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9232         * math/Makefile (libm-gen-calls): Add
9233         catan, catanh, ctan, ctanh.
9234         (libm-calls): Remove the above.
9236         * math/s_catan_template.c: Update using type-generic macros.
9237         * math/s_catanh_template.c: Likewise.
9238         * math/s_ctan_template.c: Likewise.
9239         * math/s_ctanh_template.c: Likewise.
9241         * math/s_catanf.c: Removed.
9242         * math/s_catan.c: Removed.
9243         * math/s_catanl.c: Removed.
9244         * math/s_catanhf.c: Removed.
9245         * math/s_catanh.c: Removed.
9246         * math/s_catanhl.c: Removed.
9247         * math/s_ctanf.c: Removed.
9248         * math/s_ctan.c: Removed.
9249         * math/s_ctanl.c: Removed.
9250         * math/s_ctanhf.c: Removed.
9251         * math/s_ctanh.c: Removed.
9252         * math/s_ctanhl.c: Removed.
9254         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
9255         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
9256         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
9257         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
9258         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
9259         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
9261         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
9262         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
9263         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
9264         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
9266 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9268         * s_catan_template.c: Copy of s_catan.c.
9269         * s_catanh_template.c: Copy of s_catanh.c.
9270         * s_ctan_template.c: Copy of s_ctan.c.
9271         * s_ctanh_template.c: Copy of s_ctanh.c.
9273 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9275         * math/Makefile (gen-libm-calls): Move
9276         casin, casinh, csin, csinh here.
9277         (libm-calls): Remove the above.
9279         * math/s_casin_template.c: Update using type-generic macros.
9280         * math/s_casinh_template.c: Likewise.
9281         * math/s_csin_template.c: Likewise.
9282         * math/s_csinh_template.c: Likewise.
9283         * math/k_casinh_template.c: Likewise.
9285         * math/s_casinf.c: Removed.
9286         * math/s_casin.c: Removed.
9287         * math/s_casinl.c: Removed.
9288         * math/s_casinh.c: Removed.
9289         * math/s_casinhf.c: Removed.
9290         * math/s_casinhl.c: Removed.
9291         * math/s_csin.c: Removed.
9292         * math/s_csinf.c: Removed.
9293         * math/s_csinl.c: Removed.
9294         * math/s_csinh.c: Removed.
9295         * math/s_csinhf.c: Removed.
9296         * math/s_csinhl.c: Removed.
9297         * math/k_casinh.c: Removed.
9298         * math/k_casinhf.c: Removed.
9299         * math/k_casinhl.c: Removed.
9301         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
9302         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
9303         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
9304         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
9306         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
9307         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
9308         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
9309         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
9310         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
9311         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
9312         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
9313         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
9315         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
9316         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
9317         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
9318         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
9320         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
9321         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
9322         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
9323         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
9325 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9327         * s_casin_template.c: Copy of s_casin.c.
9328         * s_casinh_template.c: Copy of s_casinh.c.
9329         * s_csin_template.c: Copy of s_csin.c.
9330         * s_csinh_template.c: Copy of s_csinh.c.
9331         * k_casinh_template.c: Copy of k_casinh.c.
9333 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9335         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
9337 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9339         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
9340         (mul_split) Remove, rename as mul_splitl, remove
9341         redundant float.h include, and include via mul_splitl.h
9343         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
9344         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9345         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9346         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
9347         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9349         * math/mul_splitl.h: New file.
9351         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
9352         Move into mul_split.h, and remove redundant float.h include.
9354         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
9355         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
9356         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9357         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
9359         * math/mul_split.h: New file.
9361 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9363         * math/Makefile (libm-gen-calls): Move
9364         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
9365         (libm-calls): Remove above.
9367         * math/s_cacos_template.c: Update using type-generic macros.
9368         * math/s_cacosh_template.c: Likewise.
9369         * math/s_ccos_template.c: Likewise.
9370         * math/s_ccosh_template.c: Likewise.
9372         * math/s_cacosf.c: Removed.
9373         * math/s_cacos.c: Removed.
9374         * math/s_cacosl.c: Removed.
9375         * math/s_cacoshf.c: Removed.
9376         * math/s_cacosh.c: Removed.
9377         * math/s_cacoshl.c: Removed.
9378         * math/s_ccosf.c: Removed.
9379         * math/s_ccos.c: Removed.
9380         * math/s_ccosl.c: Removed.
9381         * math/s_ccoshf.c: Removed.
9382         * math/s_ccosh.c: Removed.
9383         * math/s_ccoshl.c: Removed.
9385         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
9386         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
9387         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
9388         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
9389         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
9390         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
9392         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
9393         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
9394         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
9395         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
9397         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
9398         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
9399         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
9400         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
9402 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9404         * s_cacos_template.c: Copy of s_cacos.c.
9405         * s_cacosh_template.c: Copy of s_cacosh.c.
9406         * s_ccos_template.c: Copy of s_ccos.c.
9407         * s_ccosh_template.c: Copy of s_ccosh.c.
9409 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9411         * stdlib/tst-strtod-round-skeleton.c:
9412         Refactored from tst-strtod-round.c.
9414         (L_): New macro to apply literal modifier.
9415         (FNPFX): New macro to select str or wcs prefix.
9416         (CHAR): New macro to choose wchar_t or char.
9417         (STRM): New macro to choose printf for tested character type.
9419         (STRTO): New macro to choose appropriate string -> real function.
9420         (FNPFXS): Stringitized version of FNPFX.
9421         (STR): Support for above macro.
9422         (STRX): Likewise.
9424         (TEST): Update with above macros.
9425         (test): Likewise.
9426         (GEN_ONE_TEST): Likewise.
9427         (test_in_one_mode): Likewise.
9429         * stdlib/tst-strtod-round.c: New file.
9430         * wcsmbs/tst-wcstod-round.c: New file.
9432         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
9433         (tst-wcstod-round): Add libm depencency for fesetround.
9435 2016-08-19  Zack Weinberg  <zackw@panix.com>
9437         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
9439 2016-08-18  Torvald Riegel  <triegel@redhat.com>
9441         [BZ #20477]
9442         * resolv/res_hconf.c (do_init): Use atomic access.
9443         * resolv/res_hconf.h: Add comments.
9444         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
9445         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
9446         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9448 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
9450         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9451         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
9452         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9453         Likewise.
9455 2016-08-18  Florian Weimer  <fweimer@redhat.com>
9457         [BZ #16907]
9458         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
9459         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
9460         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
9461         (__attribute__): Remove definition.
9463 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9465         * sysdeps/ieee754/ldbl-128/e_asinl.c:
9466         Remove unused sqrtl declaration.
9468 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9470         * math/Makefile: (gen-libm-templates.stmp): New rule.
9471         (libm-calls): Move carg conj cimag and cabs into ...
9472         (gen-libm-calls): New variable.
9473         (generated): Inform Make objects from gen-libm-calls
9474         may be generated.
9476         * sysdeps/generic/math-type-macros.h: New file.
9477         * sysdeps/generic/math-type-macros-float.h: Likewise.
9478         * sysdeps/generic/math-type-macros-double.h: Likewise.
9479         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
9480         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
9481         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
9483         * math/cabs.c: Refactor into
9484         * math/cabs_template.c: new file.
9485         * math/cabsf.c: Removed.
9486         * math/cabsl.c: Removed.
9487         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
9488         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
9490         * math/carg.c: Refactor into
9491         * math/carg_template.c: new file.
9492         * math/cargf.c: Removed.
9493         * math/cargl.c: Removed.
9494         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
9495         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
9497         * math/conj.c: Refactor into
9498         * math/conj_template.c: new file.
9499         * math/conjf.c: Removed.
9500         * math/conjl.c: Removed.
9501         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
9502         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
9504         * math/cimag.c: Refactor into
9505         * math/cimag_template.c: new file.
9506         * math/cimagf.c: Removed.
9507         * math/cimagl.c: Removed.
9508         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
9509         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
9511         * math/cimag.c: Refactor into
9512         * math/cimag_template.c: new file.
9513         * math/cimagf.c: Removed.
9514         * math/cimagl.c: Removed.
9515         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
9516         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
9518 2016-08-17  Florian Weimer  <fweimer@redhat.com>
9520         Reduce time to expected nptl/tst-once5 failure.
9521         * nptl/tst-once5.cc (TIMEOUT): Define.
9523 2016-08-17  Florian Weimer  <fweimer@redhat.com>
9525         [BZ #20452]
9526         Avoid additional copies of objects in libc.a in static libraries.
9527         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
9528         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
9529         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
9530         rt-sysdep.
9531         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
9532         Add nptl-sysdep.
9533         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
9534         Add ptw-sysdep.
9535         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
9536         rt-sysdep.
9537         * sysdeps/unix/sysv/linux/alpha/Makefile
9538         (libpthread-shared-only-routines): Add ptw-sysdep,
9539         ptw-sigprocmask, ptw-rt_sigaction.
9540         * sysdeps/unix/sysv/linux/ia64/Makefile
9541         (librt-shared-only-routines): Add rt-sysdep.
9542         * sysdeps/unix/sysv/linux/i386/Makefile
9543         (libpthread-shared-only-routines): Add libc-do-syscall.
9544         * sysdeps/unix/sysv/linux/microblaze/Makefile
9545         (libpthread-shared-only-routines): Add sysdep.
9546         * sysdeps/unix/sysv/linux/powerpc/Makefile
9547         (librt-shared-only-routines): Add rt-sysdep.
9548         (libpthread-shared-only-routines): Add sysdep.
9549         * sysdeps/unix/sysv/linux/s390/Makefile
9550         (librt-shared-only-routines): Add rt-sysdep.
9551         * sysdeps/unix/sysv/linux/sparc/Makefile
9552         (librt-shared-only-routines): Add rt-sysdep.
9553         (libpthread-shared-only-routines): Add sysdep.
9554         * sysdeps/unix/sysv/linux/tile/Makefile
9555         (libpthread-shared-only-routines): Likewise.
9557 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
9559         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
9560         Mask implicit bit out of unpacked value.
9561         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
9562         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
9563         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
9565         * sysdeps/sparc/fpu/fesetexcept.c: New file.
9567         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
9569         * sysdeps/s390/fpu/fesetexcept.c: New file.
9571         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
9572         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
9573         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
9575         * sysdeps/mips/fpu/fesetexcept.c: New file.
9577         * sysdeps/m68k/fpu/fesetexcept.c: New file.
9579         * sysdeps/ia64/fpu/fesetexcept.c: New file.
9581         * sysdeps/hppa/fpu/fesetexcept.c: New file.
9583         * sysdeps/arm/fesetexcept.c: New file.
9585         * sysdeps/alpha/fpu/fesetexcept.c: New file.
9587         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
9589         * math/fesetexcept.c: New file.
9590         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
9591         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
9592         * math/fenv.h: Define
9593         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9594         <bits/libc-header-start.h> instead of including <features.h>.
9595         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
9596         declaration.
9597         * manual/arith.texi (fesetexcept): Document function.
9598         * math/Versions (fesetexcept): New libm symbol at version
9599         GLIBC_2.25.
9600         * math/Makefile (libm-support): Add fesetexcept.
9601         (tests): Add test-fesetexcept and test-fesetexcept-traps.
9602         * math/test-fesetexcept.c: New file.
9603         * math/test-fesetexcept-traps.c: Likewise.
9604         * sysdeps/nacl/libm.abilist: Update.
9605         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9606         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9607         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9608         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9609         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9610         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9611         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9612         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9613         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9614         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9615         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9616         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9618         Likewise.
9619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9620         Likewise.
9621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9622         Likewise.
9623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9624         Likewise.
9625         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9626         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9627         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9628         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9629         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9631         Likewise.
9632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9633         Likewise.
9634         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9635         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9636         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9638 2016-08-16  Florian Weimer  <fweimer@redhat.com>
9640         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
9641         New.
9642         (do_test): Apply default_stack_size_in_mb if not set.
9643         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
9645 2016-08-15  Andreas Schwab  <schwab@suse.de>
9647         [BZ #20435]
9648         CVE-2016-6323
9649         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
9650         as .cantunwind.
9652 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
9654         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
9655         comment from fraiseexcpt.c.
9657         * math/test-fexcept.c (feraiseexcept_exact): New function.
9658         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
9659         (test_except): Likewise.
9661 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
9663         [BZ #20455]
9664         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
9665         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
9666         to be restored.
9668         * math/test-fexcept-traps.c: New file.
9669         * math/test-fexcept.c: Likewise.
9670         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
9671         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
9672         macro.
9673         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
9674         (EXCEPTION_SET_FORCES_TRAP): Likewise.
9676 2016-08-09  Torvald Riegel  <triegel@redhat.com>
9678         * include/atomic.h (atomic_fetch_and_relaxed,
9679         atomic_fetch_and_release, atomic_fetch_or_release,
9680         atomic_fetch_xor_release): New.
9682 2016-08-06  Christian Seiler  <christian@iwakd.de>
9684         [BZ #20444]
9685         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
9686         MACH_PORT_NULL.
9688 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
9690         * math/s_fdim.c: Avoid alias renamed.
9691         * math/s_fdimf.c: Likewise.
9692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9693         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9694         Add s_fdimf-vis3, s_fdim-vis3.
9695         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
9696         (CFLAGS-s_fdim-vis3.c): Likewise.
9697         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
9698         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
9700 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
9702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9703         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9704         Remove s_fdimf-vis3, s_fdim-vis3.
9705         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
9706         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
9707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
9708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
9709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
9710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
9711         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
9712         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
9713         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
9714         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
9716 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
9718         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
9719         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
9720         -Wa,-Av9a -mvis.
9722 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9724         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
9725         LIT() to individual constants in simple expressions
9726         after splitting on spaces.
9727         (_apply_lit): Rename replaced version, and use it to
9728         apply to what appears to be a token.
9730         * math/libm-test.inc: Fix many, many issues with
9731         spacing.
9733 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
9735         * math/math.h: Move comment about <bits/mathdef.h> definitions
9736         above inclusion of <bits/mathdef.h>.  Do not mention
9737         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
9739 2016-08-05  Torvald Riegel  <triegel@redhat.com>
9741         * include/atomic.h (atomic_exchange_relaxed): New.
9743 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
9745         * math/e_scalb.c: Do not include <fenv.h>.
9746         (invalid_fn): Do calculation resulting in NaN instead of raising
9747         FE_INVALID and returning a NaN explicitly.
9748         * math/e_scalbf.c: Do not include <fenv.h>.
9749         (invalid_fn): Do calculation resulting in NaN instead of raising
9750         FE_INVALID and returning a NaN explicitly.
9751         * math/e_scalbl.c: Do not include <fenv.h>.
9752         (invalid_fn): Do calculation resulting in NaN instead of raising
9753         FE_INVALID and returning a NaN explicitly.
9755 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
9757         * po/de.po: Updated from Translation Project.
9758         * po/fi.po: Likewise.
9759         * po/sv.po: Likewise.
9761 2016-08-04  Florian Weimer  <fweimer@redhat.com>
9763         [BZ #20452]
9764         Use sysdep.o from libc.a in static libraries.
9765         * sysdeps/unix/sysv/linux/i386/Makefile
9766         (libpthread-shared-only-routines): Add sysdep.
9767         (librt-shared-only-routines): Likewise.
9769 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
9771         * math/tgmath.h (nextdown): Define if
9772         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
9773         (nextup): Likewise.
9775         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
9776         macro.
9777         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
9778         Document.
9779         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
9780         Document macro.
9781         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
9782         (exp10f): Likewise.
9783         (exp10l): Likewise.
9784         * math/bits/mathcalls.h (exp10): Declare if
9785         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
9787         * manual/arith.texi (nextup): Fix typo in last change.
9789 2016-08-03  Zack Weinberg  <zackw@panix.com>
9791         [BZ #19239]
9792         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
9793         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
9794         define major, minor, and makedev to issue deprecation warnings on use.
9795         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
9796         previously-activated deprecation warnings for these macros and prevent
9797         subsequent inclusions of this header from having any effect.
9798         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
9799         including <sys/sysmacros.h>, and undefine it again afterward.
9801 2016-08-03  Zack Weinberg  <zackw@panix.com>
9803         * sysdeps/generic/sys/sysmacros.h: Delete file.
9804         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
9805         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
9806         * bits/sysmacros.h: ... here; this encoding is now the generic
9807         encoding.  Now defines only the following macros:
9808         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
9809         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
9810         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
9812         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
9813         bits/sysmacros.h and the above new macros to generate the
9814         public implementations of major, minor, and makedev.
9815         * misc/tst-makedev.c: New test.
9816         * include/sys/sysmacros.h: New wrapper.
9818         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
9819         (routines): Add makedev.
9820         (tests): Add tst-makedev.
9821         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
9822         gnu_dev_makedev.
9823         * posix/Makefile (headers): Remove sys/sysmacros.h.
9824         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
9826         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
9827         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
9828         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
9829         * sysdeps/unix/sysv/linux/alpha/libc.abilist
9830         * sysdeps/unix/sysv/linux/arm/libc.abilist
9831         * sysdeps/unix/sysv/linux/hppa/libc.abilist
9832         * sysdeps/unix/sysv/linux/i386/libc.abilist
9833         * sysdeps/unix/sysv/linux/ia64/libc.abilist
9834         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
9835         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
9836         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
9837         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9838         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9839         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9840         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9841         * sysdeps/unix/sysv/linux/nios2/libc.abilist
9842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9846         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
9847         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9848         * sysdeps/unix/sysv/linux/sh/libc.abilist
9849         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
9850         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
9851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
9852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
9853         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
9854         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
9855         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
9856         Add GLIBC_2.25.
9858         * include/features.h (__glibc_clang_prereq): New macro.
9859         * misc/sys/cdefs.h (__glibc_clang_has_extension)
9860         (__attribute_deprecated_msg__): New macros.
9862 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
9864         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
9865         macro.
9866         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
9867         * manual/arith.texi (issignaling): Document as ISO from TS
9868         18661-1:2014.
9869         (nextup): Likewise.
9870         (nextupf): Likewise.
9871         (nextupl): Likewise.
9872         (nextdown): Likewise.
9873         (nextdownf): Likewise.
9874         (nextdownl): Likewise.
9875         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
9876         macro.
9877         * math/math.h: Define
9878         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9879         <bits/libc-header-start.h> instead of including <features.h>.
9880         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
9881         [__USE_GNU].
9882         * math/bits/mathcalls.h (nextdown): Declare if
9883         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
9884         (nextup): Likewise.
9885         (__issignaling): Likewise.
9887 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9889         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
9890         check, and remove __glibc_likely hint
9891         from FP_INFINITE check.
9892         * s_csinhf.c (__csinhf): Likewise.
9894         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
9895         hint from FP_INFINITE check.
9896         * s_csinhl.c (__csinhl): Likewise.
9898 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9900         * math/Makefile (libm-calls): Insert F placeholder into
9901         object names.  Move w_lgamma_compat* routines into
9902         (libm-compat-calls): New variable.
9903         (libm-compat-calls-ldouble-yes): New variable.
9904         (calls): Insert F placeholder.
9905         (generated): Redefine using new type-foreach macro call.
9906         (routines): Likewise.
9908         (types): New variable to hold a list of symbolic names
9909         for each type supported by the target machine.
9910         (libm-routines): Redefine using new types variable.
9911         (type-foreach): macro to replace fooF with the
9912         appropriately suffixed foo for each types.
9914         (type-ldouble-suffix): New variable.
9915         (type-ldouble-routines): Likewise.
9916         (type-ldouble-yes): Likewise.
9917         (type-double-suffix): Likewise.
9918         (type-double-routines): Likewise.
9919         (type-float-suffix): Likewise.
9920         (type-float-routines): Likewise.
9922         (dbl-only-routines): Remove.
9923         (long-c-yes): Likewise.
9924         (long-m-routines): Likewise.
9925         (long-m-support): Likewise.
9926         (long-m-yes): Likewise.
9927         (test-longdouble-yes): Likewise.
9929         (test-float.o): Simplify by increasing the scope of the
9930         recipe which adds libm-test.stmp to the vector types.
9931         (test-ifloat.o): Likewise.
9932         (test-float-finite.o): Likewise.
9933         (test-double.o): Likewise
9934         (test-idouble.o): Likewise.
9935         (test-double-finite.o): Likewise.
9936         (test-ldouble.o): Likewise
9937         (test-ildoubl.o): Likewise.
9938         (test-ldouble-finite.o): Likewise.
9940         (libm-tests): Redefine type tests using foreach and the
9941         list of types in types.
9943         (CPPFLAGS-test-ildoubl.c): Rename to
9944         (CPPFLAGS-test-ildouble.c): New variable
9946         * math/test-ildoubl.c: Rename to
9947         * math/test-ildouble.c: New file.
9949 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9951         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
9952         Use fabsl instead of fabs.
9953         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
9954         Likewise.
9955         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
9956         Add long double suffix to constant to ensure proper
9957         promotion to long double.
9959 2016-08-03  Tom Tromey  <tom@tromey.com>
9961         [BZ #20311]
9962         * nptl_db/Makefile (headers): Add proc_service.h.
9963         * nptl_db/proc_service.h: Add include guard.  Use
9964         __BEGIN/__END_DECLS.
9965         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
9966         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
9967         arguments.
9970 2016-08-03  Florian Weimer  <fweimer@redhat.com>
9972         [BZ #17730]
9973         Avoid using memalign for TCB allocations.
9974         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
9975         (_dl_allocate_tls_storage): Use malloc and manual alignment.
9976         Avoid alignment gap in the TLS_DTV_AT_TP case.
9977         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
9978         determine the pointer to free.
9979         * nptl/tst-tls3-malloc.c: New test.
9980         * nptl/Makefile (tests): Add it.
9981         (tst-tls3-malloc): Link with libdl, libpthread.
9982         (LDFLAGS-tst-tls3-malloc): Set.
9983         (tst-tls3-malloc.out): Depend on DSO used in test.
9985 2016-08-03  Florian Weimer  <fweimer@redhat.com>
9987         [BZ #17730]
9988         Avoid using memalign for TLS allocations.
9989         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
9990         is_static member with to_free member.
9991         (union dtv): Use struct dtv_pointer.
9992         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
9993         dtv_pointer instead of is_static.
9994         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
9995         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
9996         instead of val.
9997         (allocate_dtv_entry): New function.
9998         (allocate_and_init): Return struct dtv_pointer.  Call
9999         allocate_dtv_entry instead of __libc_memalign.
10000         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
10001         instead of val.
10002         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
10003         instead of is_static.  Adjust call to allocate_and_init.
10004         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
10005         struct dtv_pointer instead of val.
10007 2016-08-03  Florian Weimer  <fweimer@redhat.com>
10009         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
10010         (MALLOC_ALIGN_MASK): Move ...
10011         * malloc/malloc-internal.h: ... to here.
10012         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
10014 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
10016         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
10017         (UDP_ENCAP_GTP1U): Likewise.
10019         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
10020         (PF_MAX): Update value.
10021         (AF_QIPCRTR): New macro.
10023 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
10025         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
10026         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10027         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10028         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
10029         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10030         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
10031         s_truncf-vis3, s_trunc-vis3.
10032         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
10033         (CFLAGS-s_ceil-vis3.c): Likewise.
10034         (CFLAGS-s_floorf-vis3.c): Likewise.
10035         (CFLAGS-s_floor-vis3.c): Likewise.
10036         (CFLAGS-s_truncf-vis3.c): Likewise.
10037         (CFLAGS-s_trunc-vis3.c): Likewise.
10038         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
10039         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
10040         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
10041         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
10042         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
10043         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
10044         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
10045         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
10046         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
10047         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
10048         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
10049         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
10051 2016-08-02  David S. Miller  <davem@davemloft.net>
10053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
10054         (__nearbyint_vis3): Don't check for sNaN before float register is
10055         loaded with the incoming argument.
10056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
10057         (__nearbyintf_vis3): Likewise.
10058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
10059         Likewise.
10060         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
10061         Likewise.
10063         * string/test-strncmp.c (do_test_limit): Make sure the test data
10064         stream is aligned as required for the type "CHAR".
10065         (do_test): Likewise.
10067 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
10069         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
10070         by beq instructions jumping to the end of the function.
10071         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
10072         clobber list. Use "i" constraint instead of "X".
10073         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
10074         of "X".
10076 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
10078         * bits/libc-header-start.h: New file.
10079         * Makefile (headers): Add bits/libc-header-start.h.
10080         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
10081         (__GLIBC_USE): New macro.
10082         * libio/stdio.h: Define
10083         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10084         <bits/libc-header-start.h> instead of including <features.h>.
10085         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
10086         (open_memstream): Likewise.
10087         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
10088         (__asprintf): Likewise.
10089         (asprintf): Likewise.
10090         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
10091         (getdelim): Likewise.
10092         (getline): Likewise.
10093         * string/string.h: Define
10094         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10095         <bits/libc-header-start.h> instead of including <features.h>.
10096         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
10097         (strndup): Likewise.
10098         * wcsmbs/wchar.h: Define
10099         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10100         <bits/libc-header-start.h> instead of including <features.h>.
10101         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
10102         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
10104 2016-08-02  Florian Weimer  <fweimer@redhat.com>
10106         Support linking against compatibility symbols, for use in tests.
10107         * include/libc-symbols.h (symbol_version_reference): New macro.
10108         (symbol_version): Use it.
10109         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
10110         (compat_symbol): Use compat_symbol_reference.
10111         (compat_symbol_1, compat_symbol_2): Remove.
10112         (compat_symbol_reference, compat_symbol_reference_1)
10113         (compat_symbol_reference_2): New macro.  Use
10114         symbol_version_reference.
10116 2016-08-02  Florian Weimer  <fweimer@redhat.com>
10118         [BZ #19469]
10119         * malloc/Makefile (CPPFLAGS): Compile tests with
10120         -DTEST_NO_MALLOPT.
10121         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
10123 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
10125         [BZ #20033]
10126         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
10127         finite version.
10128         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
10129         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
10130         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
10131         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
10132         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
10133         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
10134         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
10135         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
10136         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
10137         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
10138         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
10139         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
10140         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
10141         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
10142         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
10143         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
10144         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
10145         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
10146         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
10147         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
10148         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
10149         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
10150         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
10151         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
10152         in zero power.
10154 2016-08-02  Florian Weimer  <fweimer@redhat.com>
10156         [BZ #20370]
10157         * malloc/arena.c (get_free_list): Update comment.  Assert that
10158         arenas on the free list have no attached threads.
10159         (remove_from_free_list): New function.
10160         (reused_arena): Call it.
10162 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
10164         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
10165         when it is a NaN.
10166         [_IEEE_FP_INEXACT] Remove.
10167         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
10168         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
10169         when it is a NaN.
10170         [_IEEE_FP_INEXACT] Remove.
10171         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
10172         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
10173         when it is a NaN.
10174         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
10175         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
10176         when its absolute value is greater than 0x1.0p52.
10177         [_IEEE_FP_INEXACT] Remove.
10178         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
10179         when its absolute value is greater than 0x1.0p23.
10180         [_IEEE_FP_INEXACT] Remove.
10182 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
10184         * version.h (RELEASE): Set to "development"
10185         (VERSION): Set to 2.24.90.
10186         * NEWS: Add 2.25 section.
10188         * version.h (RELEASE): Set to "stable"
10189         (VERSION): Set to 2.24.
10190         * include/features.h (__GLIBC_MINOR__): Set to 24.
10192         * NEWS: Add 2.24 fixed bugs.
10193         * po/libc.pot: Regenerate.
10195 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
10197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10198         [$(subdir) = math] (libm-sysdep_routines): Remove.
10199         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10200         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
10201         s_truncf-vis3, s_trunc-vis3.
10202         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
10204         file.
10205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
10206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
10207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
10208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
10211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
10212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
10214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
10215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
10216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
10217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
10218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
10219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
10220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10221         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10223         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
10224         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
10225         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
10226         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
10227         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10228         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10229         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
10230         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10231         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10232         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
10233         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10234         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10235         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
10236         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10237         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10238         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
10239         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
10240         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
10241         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
10242         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10243         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10244         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
10245         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
10246         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
10247         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
10249 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
10251         [BZ #20384]
10252         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
10253         test-double-libmvec-sincos-avx-main.o,
10254         test-double-libmvec-sincos-avx2-main.o,
10255         test-double-libmvec-sincos-main.o,
10256         test-float-libmvec-sincosf-avx-main.o,
10257         test-float-libmvec-sincosf-avx2-main.o and
10258         test-float-libmvec-sincosf-main.o.
10259         test-float-libmvec-sincosf-avx512-main.o.
10260         ($(objpfx)test-double-libmvec-sincos): Also link with
10261         $(objpfx)test-double-libmvec-sincos-main.o.
10262         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
10263         $(objpfx)test-double-libmvec-sincos-avx-main.o.
10264         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
10265         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
10266         ($(objpfx)test-float-libmvec-sincosf): Also link with
10267         $(objpfx)test-float-libmvec-sincosf-main.o.
10268         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
10269         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
10270         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
10271         test-double-libmvec-sincos-avx512-main.o and
10272         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
10273         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
10274         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
10275         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
10276         (CFLAGS-test-double-libmvec-sincos.c): Removed.
10277         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
10278         (CFLAGS-test-double-libmvec-sincos-main.c): New.
10279         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
10280         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
10281         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
10282         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
10283         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
10284         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
10285         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
10286         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
10287         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
10288         -DREQUIRE_AVX2.
10289         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
10290         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
10291         -DREQUIRE_AVX512F.
10292         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
10293         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
10294         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
10295         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
10296         file.
10297         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
10298         Likewise.
10299         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
10300         Likewise.
10301         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
10302         Likewise.
10303         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
10304         Likewise.
10305         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
10306         Likewise.
10307         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
10308         Likewise.
10309         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
10310         Likewise.
10312 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
10314         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
10316 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
10318         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
10319         and typo in a comment about AT_HWCAP entry.
10321 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10323         * sysdeps/aarch64/libm-test-ulps: Updated.
10325 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10327         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
10328         of r13 as it is not restored in mvcle case.
10330 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
10332         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
10333         Rename "ret" to "__ret".
10334         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
10335         inline_syscall5, inline_syscall6): Likewise.
10337 2016-07-19   Will Newton  <will.newton@gmail.com>
10339         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
10340         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
10341         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
10342         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
10343         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
10345 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
10347         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
10348         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
10349         -mfpmath=387 with $(rtld-CFLAGS).
10350         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
10351         $(rtld-CFLAGS).
10353 2016-07-18   Ross Burton  <ross.burton@intel.com>
10354              Khem Raj  <raj.khem@gmail.com>
10356         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
10357         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
10358         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
10359         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
10360         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
10361         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
10362         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
10363         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
10364         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
10365         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
10366         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
10367         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
10368         R_METAG_TLS_DTPOFF): New.
10370 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10371             Matt Clay  <mclay@lycos.com>
10373         [BZ #20357]
10374         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
10375         to call __mpsin/__mpcos and to negate values.
10376         * math/auto-libm-test-in: Add test.
10377         * math/auto-libm-test-out: Regenerate.
10379 2016-07-18  Zack Weinberg  <zackw@panix.com>
10381         * grp/Makefile: Don't install the internal header grp-merge.h.
10383 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10385         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10387 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10389         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
10391 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10393         [BZ #15368]
10394         * sysdeps/unix/sysv/linux/nptl-signals.h
10395         (__nptl_clear_internal_signals): New function.
10396         (__libc_signal_block_all): Likewise.
10397         (__libc_signal_block_app): Likewise.
10398         (__libc_signal_restore_set): Likewise.
10399         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
10400         implementation.
10401         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
10402         the cached pid/tid value in pthread structure.
10404 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
10406         [BZ #20347]
10407         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
10409 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
10411         [BZ #20348]
10412         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
10413         preadv64, pwrite64 and pwritev64.
10415 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
10417         [BZ #20350]
10418         * posix/tst-preadwrite.c: Renamed to ...
10419         * posix/tst-preadwrite-common.c: This.
10420         (PREAD): Removed.
10421         (PWRITE): Likewise.
10422         (STRINGIFY): Likewise.
10423         (STRINGIFY2): Likewise.
10424         (do_prepare): Make it static and remove function arguments.
10425         (do_test): Likewise.
10426         (PREPARE): Updated.
10427         (TEST_FUNCTION): New.
10428         (name): Make it static.
10429         (fd): Likewise.
10430         (do_prepare): Use create_temp_file.
10431         (do_test): Renamed to ...
10432         (do_test_with_offset): This.  Make it static and accept offset.
10433         Properly check return value of PWRITE and PREAD.  Return bytes
10434         read.  Don't close fd nor unlink name.
10435         * posix/tst-preadwrite.c: Rewrite.
10436         * posix/tst-preadwrite64.c: Likewise.
10438 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
10440         [BZ #20309]
10441         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
10442         -mtls-dialect=gnu2 works.
10443         * configure: Regenerated.
10444         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
10445         (tests): Add tst-gnu2-tls1.
10446         (modules-names): Add tst-gnu2-tls1mod.
10447         ($(objpfx)tst-gnu2-tls1): New.
10448         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
10449         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
10450         * elf/tst-gnu2-tls1.c: New file.
10451         * elf/tst-gnu2-tls1mod.c: Likewise.
10452         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
10453         bytes for push in the PLT entry to align the stack.
10455 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
10457         [BZ #20349]
10458         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
10460 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10462         [BZ #18707]
10463         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
10464         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
10466 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10468         * sysdeps/unix/sysv/linux/sysdep.h
10469         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
10470         guards.
10471         * misc/tst-preadvwritev-common.c: New file.
10472         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
10473         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
10474         a check for files larger than 2GB.
10476         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10477         (__ASSUME_OFF_DIFF_OFF64): Remove define.
10478         * sysdeps/unix/sysv/linux/pread.c
10479         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
10480         __OFF_T_MATCHES_OFF64_T.
10481         * sysdeps/unix/sysv/linux/pread64.c
10482         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
10483         * sysdeps/unix/sysv/linux/preadv.c
10484         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
10485         * sysdeps/unix/sysv/linux/preadv64.c
10486         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
10487         * sysdeps/unix/sysv/linux/pwrite.c
10488         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
10489         * sysdeps/unix/sysv/linux/pwrite64.c
10490         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
10491         * sysdeps/unix/sysv/linux/pwritev.c
10492         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
10493         * sysdeps/unix/sysv/linux/pwritev64.c
10494         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
10496 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
10498         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10499         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
10501 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
10503         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
10505 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
10507         [BZ #20240]
10508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
10509         (CFLAGS-s_modf-ppc32.c): New variable.
10510         (CFLAGS-s_modff-ppc32.c): Likewise.
10511         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10512         (CFLAGS-s_modf-ppc64.c): Likewise.
10513         (CFLAGS-s_modff-ppc64.c): Likewise.
10515 2016-07-07  Andreas Schwab  <schwab@suse.de>
10517         [BZ #20263]
10518         * nptl/tst-robust10.c: New test.
10519         * nptl/Makefile (tests): Add tst-robust10.
10521 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
10523         [BZ #20263]
10524         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
10526 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
10528         * sysdeps/s390/linkmap.h (struct link_map_machine):
10529         Remove member gotplt and add member jmprel.
10530         * sysdeps/s390/s390-32/dl-machine.h
10531         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
10532         instead of gotplt with &got[3].
10533         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
10534         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10536 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
10538         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
10540 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10542         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
10543         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
10544         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
10545         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
10546         * libio/vtables.c (_IO_vtable_check)
10547         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
10548         * libio/libioP.h (IO_set_accept_foreign_vtables)
10549         [!PTR_MANGLE]: Do not call PTR_MANGLE.
10551 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
10553         [BZ #20314]
10554         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
10555         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
10556         $(common-objpfx)cmath.
10557         ($(common-objpfx)cstdlib): New target.
10558         ($(common-objpfx)cmath): Likewise.
10560 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
10562         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
10564 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10566         [BZ #20327]
10567         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
10568         are not part of the string.
10570 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10572         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
10573         * nptl/tst-cancel4-common.h (fifoname): New variable.
10574         (fifofd): Likewise.
10575         (cl_fifo): New function.
10576         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
10577         SIGINT.
10578         (tf_open): Add early cancel test.
10580 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
10582         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
10584 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
10586         * sysdeps/generic/ldsodefs.h
10587         (dl_symbol_visibility_binds_local_p): New inline function.
10588         * elf/dl-addr.c (determine_info): Treat hidden and internal
10589         symbols as local.
10590         * elf/dl-lookup.c (do_lookup_x): Likewise.
10591         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
10593 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
10595         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
10596         invalid exception for a sNaN input.
10597         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10598         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
10599         (__nearbyint_vis3): Likewise
10600         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
10601         (__nearbyintf_vis3): Likewise
10602         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
10603         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10604         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
10605         Likewise.
10606         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
10607         Likewise.
10609 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
10611         [BZ #20139]
10612         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
10613         (HAVE_AVX512DQ_ASM_SUPPORT): This.
10614         * sysdeps/x86_64/configure.ac: Require assembler from binutils
10615         2.24 or above.
10616         (HAVE_AVX512_ASM_SUPPORT): Removed.
10617         (HAVE_AVX512DQ_ASM_SUPPORT): New.
10618         * sysdeps/x86_64/configure: Regenerated.
10619         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
10620         check unconditional.
10621         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
10622         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10623         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10624         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
10625         Likewise.
10626         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10627         Likewise.
10628         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
10629         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
10630         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10631         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10632         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
10633         Likewise.
10634         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10635         Likewise.
10636         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10637         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10638         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
10639         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
10640         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
10641         Likewise.
10642         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
10643         Likewise.
10644         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
10645         Likewise.
10646         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
10647         Likewise.
10648         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
10649         Likewise.
10650         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
10651         Likewise.
10652         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
10653         Likewise.
10654         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
10655         Likewise.
10656         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
10657         Likewise.
10658         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
10659         Likewise.
10660         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
10661         Likewise.
10663 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
10665         [BZ #20024]
10666         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
10667         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
10668         of this implementation of vector function.
10669         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
10670         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
10671         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
10672         Likewise.
10673         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
10674         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
10675         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
10676         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
10677         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
10678         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
10679         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
10680         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
10681         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
10682         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
10683         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
10684         for testing vector sincos with fixed ABI.
10685         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10686         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10687         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10688         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10689         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10690         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10691         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10692         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
10693         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
10694         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
10695         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
10696         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
10697         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
10698         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
10699         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
10700         * sysdeps/x86_64/fpu/Makefile: Added new tests.
10702 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
10704         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
10706 2016-06-30  Anton Blanchard  <anton@samba.org>
10708         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10709         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
10710         s_sinf-ppc64.
10711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
10712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
10714         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
10716 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10719         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10720         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
10721         e_expf-ppc64.
10722         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
10723         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
10724         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
10725         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
10727 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
10729         [BZ #20277]
10730         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
10731         when SHARED is defined.
10733 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
10735         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
10736         (index_arch_Prefer_ERMS): Likewise.
10737         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
10738         __memcpy_erms for Prefer_ERMS.
10739         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10740         (__memmove_erms): Enabled for libc.a.
10741         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
10742         __memmove_erms or Prefer_ERMS.
10743         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
10744         __mempcpy_erms for Prefer_ERMS.
10745         * sysdeps/x86_64/multiarch/memset.S (memset): Return
10746         __memset_erms for Prefer_ERMS.
10748 2016-06-30  Andreas Schwab  <schwab@suse.de>
10750         [BZ #20262]
10751         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
10752         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
10753         of memory.
10755 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
10757         [BZ #18645]
10758         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
10759         (test-extras): Add tst-cleanupx4aux.
10760         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
10761         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
10762         tst-cleanupx4aux.o.
10763         * nptl/tst-cleanupx4aux.c: New file.
10765 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
10767         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
10769 2016-06-29  Andreas Schwab  <schwab@suse.de>
10771         [BZ #20260]
10772         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
10773         address before the beginning of the string as an integer to avoid
10774         array-bounds warning.
10776 2016-06-28  Richard Henderson  <rth@redhat.com>
10778         * elf/elf.h (EM_BPF): New.
10779         (EM_NUM): Update.
10780         (R_BPF_NONE, R_BPF_MAP_FD): New.
10782         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
10783         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
10784         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
10785         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
10786         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
10787         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
10788         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
10789         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
10790         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
10791         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
10792         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
10793         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
10794         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
10795         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
10796         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
10797         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
10798         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
10799         (EM_NUM): Update.
10801 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
10803         [BZ #18960]
10804         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
10805         Set _nl_current_LC_CATEGORY_used to two instead of one.
10807 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
10809         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
10810         (do_test): ... this.
10811         (TEST_FUNCTION): New macro.
10812          Include test-skeleton.c.
10813         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
10814         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
10816 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
10818         [BZ #15479]
10819         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
10820         floating-point environment rather than just control word.
10821         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10822         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
10823         floating-point environment, with "invalid" exceptions merged in,
10824         rather than just control word.
10825         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
10826         * math/libm-test.inc (trunc_test_data): Do not allow spurious
10827         "inexact" exceptions.
10829         [BZ #15479]
10830         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
10831         floating-point environment rather than just control word.
10832         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10833         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
10834         floating-point environment, with "invalid" exceptions merged in,
10835         rather than just control word.
10836         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
10837         * math/libm-test.inc (floor_test_data): Do not allow spurious
10838         "inexact" exceptions.
10840         [BZ #15479]
10841         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
10842         floating-point environment rather than just control word.
10843         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10844         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
10845         floating-point environment, with "invalid" exceptions merged in,
10846         rather than just control word.
10847         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
10848         * math/libm-test.inc (ceil_test_data): Do not allow spurious
10849         "inexact" exceptions.
10851 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
10853         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
10854         __libc_vfork.
10855         (__vfork) [IS_IN (libc)]: Remove alias.
10856         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
10857         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
10858         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
10860 2016-06-24  Torvald Riegel  <triegel@redhat.com>
10862         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
10863         of atomic_compare_and_exchange_bool_rel.
10864         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10865         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
10866         catomic_compare_and_exchange_bool_rel): Remove.
10867         * sysdeps/aarch64/atomic-machine.h
10868         (atomic_compare_and_exchange_bool_rel): Likewise.
10869         * sysdeps/alpha/atomic-machine.h
10870         (atomic_compare_and_exchange_bool_rel): Likewise.
10871         * sysdeps/arm/atomic-machine.h
10872         (atomic_compare_and_exchange_bool_rel): Likewise.
10873         * sysdeps/mips/atomic-machine.h
10874         (atomic_compare_and_exchange_bool_rel): Likewise.
10875         * sysdeps/microblaze/atomic-machine.h
10876         ( __arch_compare_and_exchange_bool_8_rel,
10877         __arch_compare_and_exchange_bool_16_rel): Likewise.
10878         * sysdeps/powerpc/atomic-machine.h
10879         ( __arch_compare_and_exchange_bool_8_rel,
10880         __arch_compare_and_exchange_bool_16_rel): Likewise.
10881         * sysdeps/powerpc/powerpc32/atomic-machine.h
10882         ( __arch_compare_and_exchange_bool_32_rel,
10883         __arch_compare_and_exchange_bool_64_rel): Likewise.
10884         * sysdeps/powerpc/powerpc64/atomic-machine.h
10885         ( __arch_compare_and_exchange_bool_32_rel,
10886         __arch_compare_and_exchange_bool_64_rel): Likewise.
10887         * sysdeps/tile/atomic-machine.h
10888         (atomic_compare_and_exchange_bool_rel): Likewise.
10890 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
10892         [BZ #20296]
10893         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
10894         when either argument is a NaN.
10895         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
10896         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
10898         * math/libm-test.inc (snan_value_ld): New macro.
10899         (isgreater_test_data): Add sNaN tests.
10900         (isgreaterequal_test_data): Likewise.
10901         (isless_test_data): Likewise.
10902         (islessequal_test_data): Likewise.
10903         (islessgreater_test_data): Likewise.
10904         (isunordered_test_data): Likewise.
10905         (nextafter_test_data): Likewise.
10906         (nexttoward_test_data): Likewise.
10907         (remainder_test_data): Likewise.
10908         (remquo_test_data): Likewise.
10909         (significand_test_data): Likewise.
10910         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
10912 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10914         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
10915         environment macros are defined.
10916         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
10918 2016-06-23  Florian Weimer  <fweimer@redhat.com>
10920         [BZ #20191]
10921         Implement vtable verification in libio.
10922         * Makerules (shlib.lds): Place __libc_IO_vtables section.
10923         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
10924         * debug/vdprintf_chk.c (__vdprintf_chk): Call
10925         _IO_new_file_init_internal instead of _IO_file_init.
10926         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
10927         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
10928         * libio/Makefile (routines): Add vtables.
10929         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
10930         (_IO_init): Remove, not for internal use.
10931         (_IO_init_internal): Declare, internal replacement for _IO_init.
10932         (_IO_file_init): Remove, not for internal use.
10933         (_IO_new_file_init): Remove, not for internal use.
10934         (_IO_new_file_init_internal): Declare, internal replacement for
10935         _IO_new_file_init.
10936         (_IO_old_file_init): Remove, not for internal use.
10937         (_IO_old_file_init_internal): Declare, internal replacement for
10938         _IO_old_file_init.
10939         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
10940         internal use.
10941         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
10942         Declare.
10943         (libio_vtable): New macro.
10944         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
10945         functions.
10946         * libio/fileops.c (_IO_new_file_init_internal): Rename from
10947         _IO_new_file_init.
10948         (_IO_new_file_init): New externally visible wrapper which disables
10949         vtable verification.
10950         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
10951         Define as vtables.
10952         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
10953         (_IO_init): New externally visible wrapper which disables
10954         vtable verification.
10955         * libio/iofdopen.c (_IO_new_fdopen): Call
10956         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
10957         comment.
10958         * libio/iofopen.c (__fopen_internal): Call
10959         _IO_new_file_init_internal instead of _IO_file_init.
10960         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
10961         Define as vtables.
10962         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
10963         _IO_new_file_init_internal instead of _IO_file_init.
10964         * libio/iopopen.c (_IO_new_popen): Likewise.
10965         (_IO_proc_jumps): Define as vtable.
10966         * libio/iovdprintf.c (_IO_vdprintf): Call
10967         _IO_new_file_init_internal instead of _IO_file_init.
10968         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
10969         (__open_memstream): Call _IO_init_internal instead of _IO_init.
10970         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
10971         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
10972         _IO_old_file_init.
10973         (_IO_old_file_init): New externally visible wrapper which disables
10974         vtable verification.
10975         (_IO_old_file_jumps): Define as vtable.
10976         * libio/oldiofdopen.c (_IO_old_fdopen): Call
10977         _IO_old_file_init_internal instead of _IO_old_file_init.
10978         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
10979         * libio/oldiopopen.c (_IO_old_popen): Likewise.
10980         (_IO_old_proc_jumps): Define as vtable.
10981         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
10982         Define as vtables.
10983         * libio/vtables.c: New file.
10984         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
10985         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
10986         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
10987         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
10988         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
10989         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
10990         instead of _IO_init.
10992 2016-06-23  Florian Weimer  <fweimer@redhat.com>
10994         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
10996 2016-06-23  Florian Weimer  <fweimer@redhat.com>
10998         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
10999         potentially unused.
11001 2016-06-22  Florian Weimer  <fweimer@redhat.com>
11003         * test-skeleton.c (write_message): New function.
11004         * malloc/tst-mallocfork2.c (write_message): Remove.
11005         * debug/tst-longjmp_chk2.c (write_indented): New function.
11006         (write_message): Remove.
11007         (stackoverflow_handler): Call write_indented.
11009 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
11011         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
11012         "inexact" exceptions after fnstenv.
11013         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11014         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11015         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11017 2015-06-22  Zack Weinberg  <zackw@panix.com>
11019         * sysdeps/generic/bits/hwcap.h: Moved to ...
11020         * bits/hwcap.h: Here.
11022 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
11024         * sysdeps/aarch64/memcpy.S (memcpy):
11025         Further tuning for performance.
11027 2016-06-21  Florian Weimer  <fweimer@redhat.com>
11029         [BZ #20284]
11030         * malloc/arena.c (reused_arena): Do not return NULL if we start
11031         out with a non-corrupted arena.
11033 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11035         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
11036         * misc/tst-preadvwritev.c: New file.
11037         * misc/tst-preadvwritev64.c: Likewise.
11038         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
11039         usage.
11040         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
11041         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
11042         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
11043         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
11045 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
11047         [BZ #19654]
11048         * sysdeps/x86_64/fpu/Makefile: Added new tests.
11049         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
11050         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
11051         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
11052         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
11053         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
11054         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
11055         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
11056         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
11057         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
11058         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
11059         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
11060         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
11061         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
11062         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
11063         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
11064         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
11065         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
11066         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
11067         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
11068         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
11069         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
11070         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
11071         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
11072         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
11073         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
11075 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
11077         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
11078         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
11080 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
11082         * sysdeps/aarch64/memcpy.S (memcpy):
11083         Rewrite of optimized memcpy and memmove.
11084         * sysdeps/aarch64/memmove.S (memmove): Remove
11085         memmove code (merged into memcpy.S).
11087 2016-06-20  Florian Weimer  <fweimer@redhat.com>
11089         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
11090         * sysdeps/generic/dl-dtv.h: New file.
11091         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11092         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
11093         (dtv_t): Remove.
11094         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11095         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
11096         (dtv_t): Remove.
11097         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11098         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
11099         (dtv_t): Remove.
11100         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11101         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
11102         (dtv_t): Remove.
11103         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11104         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
11105         (dtv_t): Remove.
11106         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11107         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
11108         (dtv_t): Remove.
11109         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11110         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
11111         (dtv_t): Remove.
11112         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
11113         (dtv_t): Remove.
11114         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11115         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
11116         (dtv_t): Remove.
11117         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11118         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
11119         (dtv_t): Remove.
11120         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11121         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
11122         (dtv_t): Remove.
11123         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11124         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
11125         (dtv_t): Remove.
11126         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11127         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
11128         (dtv_t): Remove.
11129         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11130         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
11131         (dtv_t): Remove.
11132         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11133         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
11134         (dtv_t): Remove.
11135         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11136         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
11137         (dtv_t): Remove.
11139 2016-06-20  Florian Weimer  <fweimer@redhat.com>
11141         Revert symbol poisoning of  __malloc_initialize_hook.
11142         * include/stdc-predef.h (__malloc_initialize_hook): Remove
11143         poisoning.
11144         * malloc/Makefile: Remove un-poisoning.
11145         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
11146         instead of old__malloc_initialize_hook.
11147         * malloc/malloc-hooks.h: Likewise.
11148         * malloc/malloc.c: Likewise.
11149         * malloc/mcheck-init.c: Likewise.
11151 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
11153         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
11155 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
11157         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
11158         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
11159         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
11160         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
11162 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11164         * NEWS: Mention addition of nextup and nextdown.
11165         * manual/arith.texi: Document nextup and nextdown.
11166         * manual/libm-err-tab.pl: Add nextup and nextdown.
11167         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
11168         * math/Versions (libm): Add GLIBC_2.24.
11169         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
11170         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
11171         Add new test.
11172         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
11173         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
11174         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
11175         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
11176         (nextup_test_data): Likewise.
11177         (nextdown_test_data): Likewise.
11178         * math/s_nextdown.c: New file.
11179         * math/s_nextdownf.c: Likewise.
11180         * math/s_nextdownl.c: Likewise.
11181         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
11182         F(nextup): New function.
11183         F(nextdown): Likewise.
11184         * math/tgmath.h: Add nextup and nextdown.
11185         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
11186         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
11187         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11188         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
11189         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
11190         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
11191         Add nextup and nextdown.
11192         (CFLAGS-nldbl-nextup.c): New variable.
11193         (CFLAGS-nldbl-nextdown.c): Likewise.
11194         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
11195         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
11196         * sysdeps/nacl/libm.abilist: Update.
11197         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11198         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11199         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11200         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11201         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11202         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11203         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11204         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11205         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11206         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11207         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11208         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11211         Likewise.
11212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11214         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11215         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11216         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11217         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11218         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
11220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
11221         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11222         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11223         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
11224         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11226 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11228         * manual/pattern.texi: Fix typos & grammar errors.
11230 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11232         * manual/search.texi: Fix typos & grammar errors.
11234 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11236         * manual/message.texi: Fix typos & grammar errors.
11238 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
11240         * manual/contrib.texi: Fix spelling typos.
11241         * manual/crypt.texi: Likewise.
11242         * manual/filesys.texi: Likewise.
11243         * manual/locale.texi: Likewise.
11244         * manual/message.texi: Likewise.
11245         * manual/nss.texi: Likewise.
11246         * manual/string.texi: Likewise.
11248 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11250         * manual/locale.texi: Fix typos & grammar errors.
11252 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11254         * manual/charset.texi: Fix typos & grammar errors.
11256 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11258         * manual/string.texi: Fix typos.
11260 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11262         * manual/ctype.texi: Fix typos.
11264 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11266         * manual/memory.texi: Fix various typos & grammar errors.
11268 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
11270         [BZ #20255]
11271         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
11272         * math/libm-test.inc (fdim_test_data): Add another test.
11274         [BZ #6796]
11275         [BZ #20255]
11276         [BZ #20256]
11277         * math/s_fdim.c: Include <math_private.h>.
11278         (__fdim): Use math_narrow_eval on result.
11279         * math/s_fdimf.c: Include <math_private.h>.
11280         (__fdimf): Use math_narrow_eval on result.
11281         * sysdeps/i386/fpu/s_fdim.S: Remove file.
11282         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
11283         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
11284         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
11285         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
11286         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
11287         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
11288         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
11289         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
11290         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
11291         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
11292         * math/libm-test.inc (fdim_test_data): Expect errno setting on
11293         overflow.  Add sNaN tests.
11295         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
11296         fpclassify.
11297         * math/s_fdimf.c (__fdimf): Likewise.
11298         * math/s_fdiml.c (__fdiml): Likewise.
11300 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11302         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11303         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
11304         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11305         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
11306         ifunc'ed strcasecmp/strncasecmp.
11307         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
11308         [EALIGN]: Removed.
11309         [END]: Likewise.
11310         [__strcasecmp]: Define instead of the above to control symbol name.
11311         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
11312         for __strcasecmp_power8.
11313         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
11314         for __strncasecmp_power8.
11315         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
11316         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
11317         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
11318         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
11319         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
11320         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
11322 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
11324         [BZ #20252]
11325         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
11326         arguments when second argument is a NaN.
11327         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
11328         qNaN tests.
11330         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
11331         (conj_test_data): Likewise.
11332         (copysign_test_data): Likewise.
11333         (creal_test_data): Likewise.
11334         (fma_test_data): Likewise.
11335         (fmod_test_data): Likewise.
11337         [BZ #20250]
11338         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
11339         itself.
11340         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
11341         zero input to itself.
11342         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
11343         Likewise.
11344         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
11345         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
11346         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11347         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
11348         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
11350 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11352         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
11353         * nptl/tst-cancel4-common.c: New file.
11354         * nptl/tst-cancel4-common.h: Likewise.
11355         * nptl/tst-cancel4.c: Move common definitions to
11356         tst-cancel4-common.{c,h} file.
11357         * nptl/tst-cancel4_1.c: New test.
11358         * nptl/tst-cancel4_2.c: New test.
11360 2016-06-13  Florian Weimer  <fweimer@redhat.com>
11362         [BZ #20248]
11363         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
11364         (write_message): New function.
11365         (stackoverflow_handler): Call it instead of printf, to avoid
11366         excessive stack usage by printf.
11367         (do_test): Restore SIGSEGV, SIGBUS default handlers.
11369 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11371         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
11372         (prio_inherit_missing): Remove define.
11373         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11374         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11375         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
11376         Likewise.
11377         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11378         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11379         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11380         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11381         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11382         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11384 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11386         [BZ #19670]
11387         [BZ #19672]
11389         * io/test-lfs.c (do_prepare): Use xmalloc.
11390         * io/tst-fcntl.c (do_prepare): Likewise.
11391         * libio/tst-fopenloc.c (do_bz17916): Likewise.
11392         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
11393         * login/tst-utmp.c (do_prepare): Likewise.
11394         * posix/tst-exec.c (do_prepare): Likewise.
11395         * posix/tst-pathconf.c (prepare): Likewise.
11396         * posix/tst-spawn.c (do_prepare): Likewise.
11397         * posix/tst-truncate.c (do_prepare): Likewise.
11398         * rt/tst-aio.c (do_prepare): Likewise.
11399         * rt/tst-aio64.c (do_prepare): Likewise.
11401 2016-06-11  Florian Weimer  <fweimer@redhat.com>
11403         [BZ #20237]
11404         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
11405         (get*ent): Set entidx to NULL during initialization.  If entidx is
11406         NULL, start iteration from the beginning.
11408 2016-06-11  Florian Weimer  <fweimer@redhat.com>
11410         * malloc/malloc.c (musable): Return correct size for dumped fake
11411         mmapped chunk.
11413 2016-06-11  Florian Weimer  <fweimer@redhat.com>
11415         [BZ #20222]
11416         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
11417         (_IO_cookie_write): Likewise.
11418         (_IO_cookie_seek): Likewise.
11419         (_IO_cookie_close): Likewise.
11420         (_IO_old_cookie_seek): Likewise.
11421         (set_callbacks): New function.
11422         (_IO_cookie_init): Call set_callbacks to copy callbacks.
11424 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
11426         * locale/programs/localedef.c (oldstyle_tables): Remove.
11427         * locale/programs/localedef.h (oldstyle_tables): Likewise.
11429 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
11431         [BZ #20240]
11432         * math/Makefile (CFLAGS-s_modf.c): New variable.
11433         (CFLAGS-s_modff.c): Likewise.
11434         (CFLAGS-s_modfl.c): Likewise.
11435         * math/libm-test.inc (modf_test_data): Add sNaN tests.
11437 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
11439         [BZ #20215]
11440         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
11441         [!__GNUC_PREREQ (3,2)]: Likewise.
11443 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
11445         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
11446         (msghdr.msg_controllen): Likewise.
11447         (cmsghdr.cmsg_len): Likewise.
11448         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
11449         ptw-oldsendmsg.
11450         (CFLAGS-oldrecvmsg.c): Remove rule.
11451         (CFLAGS-oldsendmsg.c): Likewise.
11452         (CFLAGS-recvmsg.c): Add rule.
11453         (CFLAGS-sendmsg.c): Likewise.
11454         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
11455         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
11456         (CFLAGS-recvmsg.c): Remove rule.
11457         (CFLAGS-sendmsg.c): Likewise.
11458         (CFLAGS-oldrecvmsg.c): Likewise.
11459         (CFLAGS-oldsendmsg.c): Likewise.
11460         (CFLAGS-recvmmsg.c): Likewise.
11461         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
11462         to kernel defined interfaces.
11463         (msghdr.msg_controllen): Likewise.
11464         (cmsghdr.cmsg_len): Likewise.
11465         (msghdr.__glibc_reserved1): Remove member.
11466         (msghdr.__glibc_reserved2): Likewise.
11467         (cmsghdr.__glibc_reserved1): Likewise.
11468         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
11469         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
11470         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
11471         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
11472         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
11473         version.
11474         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
11475         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
11476         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
11477         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
11478         Remove recvmsg and sendmsg.
11479         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
11480         Likewise.
11481         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
11482         Likewise.
11483         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
11484         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
11485         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
11486         Likewise.
11487         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
11488         Likewise.
11489         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
11490         [libc] (GLIBC_2.24): Likewise.
11491         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
11492         Likewise.
11493         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
11494         Likewise.
11495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
11496         [libc] (GLIBC_2.24): Likewise.
11497         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
11498         Likewise.
11499         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
11500         Likewise.
11501         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
11502         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
11503         Likewise.
11504         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
11505         Likewise.
11506         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
11507         Likewise.
11508         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
11509         Likewise.
11510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
11511         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
11512         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
11513         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
11514         version for {recv,send,recm,sendm}msg.
11515         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11516         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11517         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11518         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11519         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11520         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11521         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11522         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11523         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11524         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11525         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11526         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11528         Likewise.
11529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11530         Likewise.
11531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11533         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11534         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11535         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11536         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11537         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11538         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11541         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11542         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11543         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11545 2016-06-10  Florian Weimer  <fweimer@redhat.com>
11547         [BZ #19564]
11548         Remove __malloc_initialize_hook from the API.
11549         * malloc/malloc.h (__malloc_initialize_hook): Remove.
11550         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
11551         #pragma GCC poison.
11552         * malloc/malloc-hooks.h: New file.
11553         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
11554         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
11555         (old__malloc_initialize_hook): Rename from
11556         __malloc_initialize_hook to evade poisoning.  Turn into compat
11557         symbol.
11558         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
11559         __malloc_initialize_hook.
11560         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
11561         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
11562         * manual/memory.texi (Hooks for Malloc): Remove
11563         __malloc_initialize_hook.  Adjust hook example.
11565 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
11567         [BZ #20235]
11568         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
11569         itself.
11570         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11571         * math/libm-test.inc (log2_test_data): Add sNaN tests.
11573         [BZ #20234]
11574         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
11575         infinity or NaN input to itself.
11577         [BZ #20233]
11578         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
11579         to itself.
11581         [BZ #20232]
11582         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
11583         itself.
11585 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
11587         * sysdeps/x86_64/start.S (_start): Always indirect branch to
11588         __libc_start_main via GOT.
11590 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
11592         * sysdeps/x86_64/memcopy.h: New file.
11593         * sysdeps/x86_64/wordcopy.c: Likewise.
11595 2016-06-09  Florian Weimer  <fweimer@redhat.com>
11597         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
11598         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
11599         <cstdlib>.
11600         (optimization_barrier): New.
11601         (do_test): Use it.  Call quick_exit in the global namespace.
11602         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
11603         instead of <cstdlib>, <thread>.
11604         (optimization_barrier): New.
11605         (non_main_thread): Adjust declaration.  Call optimization_barrier.
11606         Call quick_exit in the global namespace.
11607         (do_test): Call optimization_barrier.  Use pthread_create,
11608         pthread_join instead of std::thread.
11610 2016-06-09  Andreas Schwab  <schwab@suse.de>
11612         [BZ #19755]
11613         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
11614         new entries in auto-propagate mode.
11615         * nscd/grpcache.c (cache_addgr): Likewise.
11617 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11619         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
11620         New functions.
11621         (add_temp_file): Use them.
11623 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
11625         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
11627 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
11629         [BZ #20229]
11630         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
11631         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
11632         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
11634         [BZ #20228]
11635         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
11636         itself.
11637         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11638         * math/libm-test.inc (log10_test_data): Add sNaN tests.
11640         [BZ #20227]
11641         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
11642         itself.
11643         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11644         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11645         * math/libm-test.inc (log_test_data): Add sNaN tests.
11647         [BZ #20226]
11648         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
11649         itself.
11650         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11651         * math/libm-test.inc (exp_test_data): Add sNaN tests.
11652         (exp10_test_data): Likewise.
11653         (expm1_test_data): Likewise.
11655         [BZ #20225]
11656         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
11657         itself.
11658         * math/s_ldexpf.c (__ldexpf): Likewise.
11659         * math/s_ldexpl.c (__ldexpl): Likewise.
11660         * math/w_scalbln.c (__w_scalbln): Likewise.
11661         * math/w_scalblnf.c (__w_scalblnf): Likewise.
11662         * math/w_scalblnl.c (__w_scalblnl): Likewise.
11663         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
11664         (scalbln_test_data): Likewise.
11666         [BZ #20224]
11667         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
11668         argument to itself.
11669         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
11671 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
11673         [BZ #19776]
11674         * sysdeps/x86_64/memcpy.S: Make it dummy.
11675         * sysdeps/x86_64/mempcpy.S: Likewise.
11676         * sysdeps/x86_64/memmove.S: New file.
11677         * sysdeps/x86_64/memmove_chk.S: Likewise.
11678         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
11679         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
11680         * sysdeps/x86_64/memmove.c: Removed.
11681         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
11682         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11683         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
11684         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
11685         Likewise.
11686         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11687         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11688         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11689         memcpy-sse2-unaligned, memmove-avx-unaligned,
11690         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
11691         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11692         (__libc_ifunc_impl_list): Replace
11693         __memmove_chk_avx512_unaligned_2 with
11694         __memmove_chk_avx512_unaligned.  Remove
11695         __memmove_chk_avx_unaligned_2.  Replace
11696         __memmove_chk_sse2_unaligned_2 with
11697         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
11698         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
11699         with __memmove_avx512_unaligned.  Replace
11700         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
11701         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
11702         with __memcpy_chk_avx512_unaligned.  Remove
11703         __memcpy_chk_avx_unaligned_2.  Replace
11704         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
11705         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
11706         Replace __memcpy_avx512_unaligned_2 with
11707         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
11708         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
11709         with __mempcpy_chk_avx512_unaligned.  Remove
11710         __mempcpy_chk_avx_unaligned_2.  Replace
11711         __mempcpy_chk_sse2_unaligned_2 with
11712         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
11713         Replace __mempcpy_avx512_unaligned_2 with
11714         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
11715         Replace __mempcpy_sse2_unaligned_2 with
11716         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
11717         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
11718         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
11719         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
11720         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
11721         (ENTRY): Removed.
11722         (END): Likewise.
11723         (ENTRY_CHK): Likewise.
11724         (libc_hidden_builtin_def): Likewise.
11725         Don't include ../memcpy.S.
11726         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
11727         __memcpy_chk_avx512_unaligned_erms and
11728         __memcpy_chk_avx512_unaligned.  Use
11729         __memcpy_chk_avx_unaligned_erms and
11730         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
11731         Default to __memcpy_chk_sse2_unaligned.
11732         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11733         Change function suffix from unaligned_2 to unaligned.
11734         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
11735         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
11736         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
11737         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
11738         (ENTRY): Removed.
11739         (END): Likewise.
11740         (ENTRY_CHK): Likewise.
11741         (libc_hidden_builtin_def): Likewise.
11742         Don't include ../mempcpy.S.
11743         (mempcpy): New.  Add a weak alias.
11744         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
11745         __mempcpy_chk_avx512_unaligned_erms and
11746         __mempcpy_chk_avx512_unaligned.  Use
11747         __mempcpy_chk_avx_unaligned_erms and
11748         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
11749         Default to __mempcpy_chk_sse2_unaligned.
11751 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
11753         [BZ #19881]
11754         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
11755         into ...
11756         * sysdeps/x86_64/memset.S: This.
11757         (__bzero): Removed.
11758         (__memset_tail): Likewise.
11759         (__memset_chk): Likewise.
11760         (memset): Likewise.
11761         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
11762         defined.
11763         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
11764         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
11765         (__memset_zero_constant_len_parameter): Check SHARED instead of
11766         PIC.
11767         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11768         memset-avx2 and memset-sse2-unaligned-erms.
11769         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11770         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
11771         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
11772         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11773         (__bzero): Enabled.
11774         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
11775         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
11776         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
11777         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
11778         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
11779         (memset): Removed.
11780         (__memset_chk): Likewise.
11781         (MEMSET_SYMBOL): New.
11782         (libc_hidden_builtin_def): Replace __memset_sse2 with
11783         __memset_sse2_unaligned.
11784         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
11785         __memset_chk_sse2 and __memset_chk_avx2 with
11786         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
11787         Use __memset_chk_sse2_unaligned_erms or
11788         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
11789         __memset_chk_avx512_unaligned_erms and
11790         __memset_chk_avx512_unaligned.
11792 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11794         * math/gen-auto-libm-test.c (fp_format_desc): remove
11795         suffix member.
11796         (output_generic_value): Remove usage of suffix member,
11797         and the resulting unuse of the fp_format argument.
11798         (output_for_one_input_case): Remove unused fp_format
11799         parameter.
11801         * math/auto-libm-test-out: Regenerate.
11803         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
11804         usage with TEST_COND_ibm128.
11805         (TEST_COND_flt_32): Remove.
11806         (TEST_COND_dbl_64): Remove.
11807         (TEST_COND_ldbl_96_intel): Remove.
11808         (TEST_COND_ldbl_96_m68k): Remove.
11809         (TEST_COND_ldbl_128): Remove.
11811 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11813         * auto-libm-test-in:
11814         Replace flt-32 usage with binary32.
11815         Replace dbl-64 usage with binary64.
11816         Replace ldbl-intel-96 usage with intel96.
11817         Replace ldbl-m68k-96 usage with m68k96.
11818         Replace ldbl-128ibm usage with ibm128.
11819         Replace ldbl-128 usage with binary128.
11821         * auto-libm-test-out: Regenerate.
11823 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11825         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
11826         (parse_ulps): Dynamically generate type name matching
11827         string from all_floats.
11828         (get_ulps): Generate the ulps as an array instead.
11829         (output_ulps): Dynamically compose the type based
11830         on the number of supported formats, and print
11831         the indices as type specific helper macros.
11833         * math/libm-test.inc: Remove comment about CHOOSE.
11834         (ulp_data): Generate the type in libm-test-ulps.h.
11835         (ULP_IDX): New macro.
11836         (find_ulps): Update usage of max_ulp.
11838         * math/test-double-vlen2.h (CHOOSE): Remove.
11839         * math/test-double-vlen4.h (CHOOSE): Likewise.
11840         * math/test-double-vlen8.h (CHOOSE): Likewise.
11841         * math/test-float.c (CHOOSE): Likewise.
11842         * math/test-float-finite.c (CHOOSE): Likewise.
11843         * math/test-double.c (CHOOSE): Likewise.
11844         * math/test-double-finite.c (CHOOSE): Likewise.
11845         * math/test-idouble.c (CHOOSE): Likewise.
11846         * math/test-ifloat.c (CHOOSE): Likewise.
11847         * math/test-ildoubl.c (CHOOSE): Likewise.
11848         * math/test-ldouble-finite.c (CHOOSE): Likewise.
11849         * math/test-ldouble.c (CHOOSE): Likewise.
11851         * math/test-float.h (TEST_FLOAT): Remove.
11852         * math/test-double.h (TEST_DOUBLE): Likewise.
11853         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
11855 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11857         * math/gen-libm-test.pl: (apply_lit): New subroutine.
11858         (parse_args): Strip C suffix from floating point literals
11859         typed with 'f' and wrap them with LIT().
11861         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
11862         (test_ff_f_data_nexttoward): Rename to
11863         (test_fj_f_data): New struct.
11864         (nexttoward_test_data): Relabel tests as
11865         TEST_fj_f instead of TEST_ff_f.
11867 2016-06-08  Florian Weimer  <fweimer@redhat.com>
11869         Emacs bug 23726.
11870         * malloc/malloc.c (dumped_main_arena_start): Update comment.
11871         (__libc_realloc): Correct size computation for dumped fake mmapped
11872         chunks.
11874 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
11876         [BZ #20219]
11877         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
11878         to itself.
11879         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
11881         [BZ #20218]
11882         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
11883         to itself.
11884         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
11886 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
11888         [BZ #20195]
11889         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
11890         check to ...
11891         (init_cpu_features): Here.
11893 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
11895         [BZ #20214]
11896         * sysdeps/unix/sysv/linux/bits/in.h
11897         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
11898          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
11899         Define to 1.
11900         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
11901          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
11902         Define to 0.
11903         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
11904         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
11906 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
11908         [BZ #20198]
11909         * stdlib/Makefile (tests): Add tst-quick_exit, and
11910         tst-thread-quick_exit.
11911         [ifeq ($(have-cxx-thread_local),yes)]
11912         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
11913         (CFLAGS-tst-thread-quick_exit.o): Likewise.
11914         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
11915         (LDLIBS-tst-thread-quick_exit): Likewise.
11916         [ifneq ($(have-cxx-thread_local),yes)]
11917         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
11918         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
11919         If run_dtors is true call __call_tls_dtors.
11920         (exit): Call __run_exit_handlers with run_dtors set to true.
11921         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
11922         definition.
11923         * stdlib/quick_exit.c (quick_exit): Remove function.
11924         (__new_quick_exit): New function.
11925         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
11926         function.
11927         * stdlib/tst-quick_exit.cc: New file.
11928         * stdlib/tst-thread-quick_exit.cc: New file.
11929         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
11930         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
11931         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
11932         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
11933         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
11934         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
11935         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
11936         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
11937         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
11938         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
11939         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
11940         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
11941         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
11942         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
11943         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
11944         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
11945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
11946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
11947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
11948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
11949         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
11950         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
11951         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
11952         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
11953         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
11954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
11955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
11956         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
11957         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
11958         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
11960 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
11962         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
11963         a typo in comments.
11965 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
11967         [BZ #20213]
11968         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
11969         argument to itself.
11970         * math/libm-test.inc (asin_test_data): Add sNaN tests.
11972 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11974         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
11975         required flags.
11976         (CFLAGS-pwritev64.c): Likewise.
11977         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
11978         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
11979         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
11980         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11981         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
11982         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
11983         syscall from auto-generation.
11984         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
11985         [WORDSIZE == 64] (pwritev64): Remove macro.
11986         [!PWRITEV] (PWRITEV): Likewise.
11987         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
11988         [!PWRITEV] (PWRITE): Likewise.
11989         [!PWRITEV] (OFF_T): Likewise.
11990         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
11991         (LO_HI_LONG): Remove macro.
11992         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
11993         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
11994         (PWRITEV): Remove macro.
11995         (PWRITEV_REPLACEMENTE): Likewise.
11996         (PWRITE): Likewise.
11997         (OFF_T): Likewise.
11998         (pwritev64): New function.
11999         * nptl/tst-cancel4.c (tf_writev): Add test.
12001         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
12002         required flags.
12003         (CFLAGS-preadv64.c): Likewise.
12004         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
12005         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
12006         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
12007         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
12008         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
12009         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
12010         syscall from auto-generation.
12011         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
12012         [WORDSIZE == 64] (preadv64): Remove macro.
12013         [!PREADV] (PREADV): Likewise.
12014         [!PREADV] (PREADV_REPLACEMENT): Likewise.
12015         [!PREADV] (PREAD): Likewise.
12016         [!PREADV] (OFF_T): Likewise.
12017         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
12018         (LO_HI_LONG): Remove macro.
12019         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
12020         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
12021         (PREADV): Remove macro.
12022         (PREADV_REPLACEMENTE): Likewise.
12023         (PREAD): Likewise.
12024         (OFF_T): Likewise.
12025         (preadv64): New function.
12026         * nptl/tst-cancel4.c (tf_preadv): Add test.
12028 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
12030         [BZ #20212]
12031         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
12032         argument to itself.
12033         * math/libm-test.inc (acos_test_data): Add sNaN tests.
12035 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12037         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
12038         New symbol defined as libc_hidden_def.
12039         (strcasestr): Became a weak alias to __strcasestr.
12040         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
12041         according to multi-arch support.  Move __stpncpy hidden
12042         definition from here to...
12043         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
12044         symbol stpncpy.
12045         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
12046         libc_hidden_builtin_def.
12047         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
12048         memset symbol to use when multi-arch support is available.
12050 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
12052         * dlfcn/tst-rec-dlopen.c: Include string.h.
12054 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12056         * manual/install.texi: Remove mention of --without-tls
12057         * INSTALL: Regenerate.
12059 2016-06-05  Florian Weimer  <fweimer@redhat.com>
12061         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
12062         Remove.
12063         (call_function, interposed_malloc_called): New variables.
12064         (malloc): New function.
12065         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
12066         and clear call_function as needed.
12068 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
12070         * include/wchar.h (__wmemset): Use __typeof.
12072 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
12074         * include/wchar.h (__wmemset): Declare function without typeof.
12076 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
12078         [BZ #20205]
12079         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
12080         exponent when incrementing negative subnormal with low mantissa
12081         word zero.
12082         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
12083         Add another test.
12085 2016-06-03  Florian Weimer  <fweimer@redhat.com>
12087         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
12088         __wmemset instead of wmemset.
12090 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
12092         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
12093         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
12094         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
12095         __USE_KERNEL_IPV6_DEFS to 0.
12096         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
12097         Update comment.
12099 2016-06-01  Florian Weimer  <fweimer@redhat.com>
12101         [BZ #19861]
12102         Do not use IFUNC resolver with potentially unrelocated symbol.
12103         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
12104         (DEFINE_FORK): Remove macro and inline definition.
12105         (fork_alias): Renamed from fork_ifunc.
12106         (__fork_alias): Renamed from __fork_ifunc.
12108 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
12110         [BZ 19653]
12111         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
12112         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
12114 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12116         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
12117         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
12118         i386-linux-gnu).
12119         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
12120         Set to no.
12121         * sysdeps/mach/hurd/configure: Refresh.
12123 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12125         [BZ #20178]
12126         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
12127         on failure instead of exit.
12129 2016-05-30  Roland McGrath  <roland@hack.frob.com>
12131         [BZ #3629]
12132         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
12133         of POSIX.1-2008.
12135 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12137         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
12138           Use PLT entry for calling _hurd_self_sigstate.
12140 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
12142         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
12143         available logical processors with SMT level type sharing L2
12144         cache for Intel processors.
12146 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
12148         [BZ #20160]
12149         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
12150         argument to itself before returning the result.
12151         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
12152         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
12153         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
12154         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
12155         Likewise.
12156         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
12157         Likewise.
12158         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
12159         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
12160         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
12161         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
12162         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
12163         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
12165         [BZ #20160]
12166         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
12167         argument to itself before returning the result.
12168         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
12169         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
12170         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
12171         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
12172         Likewise.
12173         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12174         Likewise.
12175         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
12176         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
12177         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
12178         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
12179         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
12180         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
12182 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12184         * libm-test.inc: Replace usage of M_El with
12185         (lit_e): New macro.
12187 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12189         * libm-test.inc: Replace usage of M_PI_4l with
12190         (lit_pi_4_d): New macro.
12192 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12194         * libm-test.inc: Replace usage of M_PIl with
12195         (lit_pi): New macro.
12197 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12199         * libm-test.inc: Replace usage of M_PI2l with
12200         (lit_pi_2_d): New macro.
12202         * math/test-double.h (LITM): New macro.
12203         * math/test-float.h (LITM): Likewise.
12204         * math/test-ldouble.h (LITM): Likewise.
12206 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12208         * libm-test.inc (M_PI_34l): Rename to
12209         (lit_pi_3_m_4_d): New Macro.
12210         (M_PI_34_LOG10El): Rename to
12211         (lit_pi_3_m_4_ln10_m_d): New Macro.
12212         (M_PI2_LOG10El): Rename to
12213         (lit_pi_2_ln10_m_d):  New Macro.
12214         (M_PI4_LOG10El): Rename to
12215         (lit_pi_4_ln10_m_d):  New Macro.
12216         (M_PI_LOG10El): Rename to
12217         (lit_pi_ln10_d):  New Macro.
12219 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
12221         [BZ #20157]
12222         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
12223         determine whether to negate low half if [_ARCH_PPCGR], and integer
12224         comparison otherwise.
12225         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
12226         determine whether to negate low half.
12228         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
12229         (NO_TEST_INLINE_DOUBLE): Likewise.
12230         (TEST_COND_x86_64): Likewise.
12231         (TEST_COND_x86): Likewise.
12232         (M_PI_6l): Likewise.
12234 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12236         * math/libm-test.inc:
12237         (TEST_FLOAT): Change usage to TEST_COND_binary32.
12238         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
12239         (TEST_LDOUBLE): Update usage to evaluate as true if
12240         the guarded tests match the property being tested.
12241         (LDBL_MAX_EXP): Change to MAX_EXP.
12242         (LDBL_MIN_EXP): Change to MIN_EXP.
12243         (LDBL_MANT_DIG): Change to MANT_DIG, except for
12244         nexttoward tests.
12246 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12248         * math/libm-test.inc:
12249         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
12250         (TYPE_MIN): Likewise.
12251         (TYPE_TRUE_MIN): Likewise.
12252         (TYPE_MAX): Likewise.
12253         (MIN_EXP): Likewise.
12254         (MAX_EXP): Likewise.
12255         (MANT_DIG): Likewise.
12257         (FSTR_MAX): New macro.
12258         (__CONCATX): Likewise.
12259         (QTYPE_STR): Likewise.
12260         (TEST_COND_binary32): Likewise.
12261         (TEST_COND_binary64): Likewise.
12262         (TEST_COND_binary128): Likewise.
12263         (TEST_COND_ibm128): Likewise.
12264         (TEST_COND_intel96): Likewise.
12265         (TEST_COND_m68k96): Likewise.
12267         (TEST_COND_flt_32): Redefine as equivalent format test macro.
12268         (TEST_COND_dbl_64): Likewise.
12269         (TEST_COND_ldbl_96_intel): Likewise.
12270         (TEST_COND_ldbl_96_m68k): Likewise.
12271         (TEST_COND_ldbl_128): Likewise.
12272         (TEST_COND_ldbl_128ibm): Likewise.
12274         (plus_zero): Redefine using LIT macro.
12275         (minus_zero): Likewise.
12276         (plus_infty): Redefine as (INF).
12277         (minux_infty): Redefine as (-INF).
12278         (max_value): Redefine as TYPE_MAX.
12279         (min_value): Redefine as TYPE_MIN.
12280         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
12282         (print_float): Refactor to use snprintf to convert FLOAT values
12283         to string. This brings it closer to dropin replacement of strtof
12284         for the TS 18661 defined types.
12285         (update_stats): Likewise.
12286         (print_complex_function_ulps): Likewise.
12287         (print_max_error): Likewise.
12288         (print_complex_max_error): Likewise.
12289         (check_float_internal): Likewise.
12291         * math/test-float.h (PREFIX): New macro.
12292         (LIT): Likewise.
12293         (TYPE_STR): Likewise.
12294         (FTOSTR): Likewise.
12296         * math/test-double.h (PREFIX): New macro.
12297         (LIT): Likewise.
12298         (TYPE_STR): Likewise.
12299         (FTOSTR): Likewise.
12301         * math/test-ldouble.h (PREFIX): New macro.
12302         (LIT): Likewise.
12303         (TYPE_STR): Likewise.
12304         (FTOSTR): Likewise.
12306 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
12308         [BZ #20156]
12309         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
12310         to itself when zero or not finite.
12311         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
12312         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12313         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
12314         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12316 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
12318         [BZ #20153]
12319         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
12320         x * x + x for infinities and NaNs.
12322         [BZ #20151]
12323         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
12324         argument to itself before returning result.
12325         (__ieee754_y0l): Likewise.
12326         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12327         (__ieee754_y1l).
12329         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
12330         (atan_test_data): Likewise.
12331         (ceil_test_data): Likewise.
12332         (cos_test_data): Likewise.
12333         (cosh_test_data): Likewise.
12334         (erf_test_data): Likewise.
12335         (exp2_test_data): Likewise.
12336         (fabs_test_data): Likewise.
12337         (floor_test_data): Likewise.
12338         (ilogb_test_data): Likewise.
12339         (j0_test_data): Likewise.
12340         (j1_test_data): Likewise.
12341         (jn_test_data): Likewise.
12342         (lgamma_test_data): Likewise.
12343         (lrint_test_data): Likewise.
12344         (llrint_test_data): Likewise.
12345         (logb_test_data): Likewise.
12346         (lround_test_data): Likewise.
12347         (llround_test_data): Likewise.
12348         (nearbyint_test_data): Likewise.
12349         (rint_test_data): Likewise.
12350         (round_test_data): Likewise.
12351         (sin_test_data): Likewise.
12352         (sincos_test_data): Likewise.
12353         (sinh_test_data): Likewise.
12354         (sqrt_test_data): Likewise.
12355         (tan_test_data): Likewise.
12356         (tanh_test_data): Likewise.
12357         (tgamma_test_data): Likewise.
12358         (trunc_test_data): Likewise.
12359         (y0_test_data): Likewise.
12360         (y1_test_data): Likewise.
12361         (yn_test_data): Likewise.
12363         * math/libm-test.inc: Update comment about NaN testing.
12364         (TEST_SNAN): New macro.
12365         (snan_value): Likewise.
12366         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
12367         (fpclassify_test_data): Add sNaN tests.
12368         (isfinite_test_data): Likewise.
12369         (isinf_test_data): Likewise.
12370         (isnan_test_data): Likewise.
12371         (isnormal_test_data): Likewise.
12372         (issignaling_test_data): Likewise.
12373         (signbit_test_data): Likewise.
12374         * math/gen-libm-test.pl (%beautify): Add snan_value.
12375         (show_exceptions): Add argument $test_snan.
12376         (parse_args): Handle snan_value as non-finite.  Update call to
12377         show_exceptions.
12378         * math/Makefile (libm-test-no-inline-cflags): Add
12379         -fsignaling-nans.
12381 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12383         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
12384         (CFLAGS-oldsendmsg.c): Add rule.
12385         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
12386         Correct recvmsg symbol name.
12387         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
12388         Likewise.
12390 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12392         * sysdeps/unix/sysv/linux/Makefile
12393         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
12394         oldsendmmsg.
12395         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
12396         sendmmsg.
12397         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12398         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12399         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12400         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12402         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12403         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12405         Likewise.
12406         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12407         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
12408         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
12409         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
12410         iovlen and controllen fields to adjust to POSIX specification.
12411         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
12413         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
12414         and change to correct expected type.
12415         (msghdr.msg_controllen): Likewise.
12416         (cmsghdr.cmsg_len): Likewise.
12417         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
12418         expected POSIX assumption about the size.
12419         (msghdr.msg_controllen): Likewise.
12420         (msghdr.__glibc_reserved1): Likewise.
12421         (msghdr.__glibc_reserved2): Likewise.
12422         (cmsghdr.cmsg_len): Likewise.
12423         (cmsghdr.__glibc_reserved1): Likewise.
12424         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
12425         Add ptw-oldrecvmsg and ptw-oldsendmsg.
12426         (CFLAGS-sendmsg.c): Remove rule.
12427         (CFLAGS-recvmsg.c): Likewise.
12428         (CFLAGS-oldsendmsg.c): Add rule.
12429         (CFLAGS-oldrecvmsg.c): Likewise.
12430         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
12431         recvmsg and sendmsg.
12432         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
12433         Likewise.
12434         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
12435         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
12436         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
12437         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
12438         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
12439         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
12440         Likewise.
12441         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
12442         Likewise.
12443         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
12444         Likewise.
12445         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
12446         Likewise.
12447         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
12448         Likewise.
12449         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
12450         Likewise.
12451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
12452         (GLIBC_2.24): Likewise.
12453         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
12454         Likewise.
12455         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
12456         Likewise.
12457         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
12458         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
12459         Likewise.
12460         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
12461         Likewise.
12462         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
12463         Likewise.
12464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
12465         (GLIBC_2.24): Likewise.
12466         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
12467         Likewise.
12468         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
12469         Likewise.
12470         * sysdeps/unix/sysv/linux/Makefile
12471         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
12472         (CFLAGS-sendmsg.c): Add rule.
12473         (CFLAGS-recvmsg.c): Likewise.
12474         (CFLAGS-oldsendmsg.c): Likewise.
12475         (CFLAGS-oldrecvmsg.c): Likewise.
12476         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
12477         initialization.
12478         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
12479         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
12480         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
12481         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
12482         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
12483         iovlen and controllen fields to adjust to POSIX specification.
12484         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
12485         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
12486         added recvmsg and sendmsg.
12487         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12488         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12489         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12490         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12491         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12492         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12493         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12494         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12495         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12496         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12497         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12498         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
12499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12500         Likewise.
12501         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
12502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12503         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12504         Likewise.
12505         Likewise.
12506         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12507         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12508         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12509         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12510         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12511         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12513         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12515         Likewise.
12516         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12517         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12519         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
12520         from auto-generation.
12521         (sendmsg): Likewise.
12522         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
12523         (sendmsg): Likewise.
12524         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
12525         (sendmsg): Likewise.
12526         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
12527         (sendmsg): Likewise.
12528         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
12529         (sendmsg): Likewise.
12530         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
12531         (sendmsg): Likewise.
12532         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
12533         Likewise.
12534         (sendmsg): Likewise.
12535         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
12536         (sendmsg): Likewise.
12537         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12538         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12539         Remove.
12540         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12541         Likewise.
12542         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12543         Undefine.
12544         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12545         Likewise.
12546         * sysdeps/unix/sysv/linux/kernel-features.h
12547         (__ASSUME_SENDMSG_SYSCALL): Define.
12548         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12549         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12550         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12551         Remove.
12552         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12553         Likewise.
12554         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12555         Undefine.
12556         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12557         Likewise.
12558         * sysdeps/unix/sysv/linux/s390/kernel-features.h
12559         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12560         Remove.
12561         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12562         Likewise.
12563         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12564         Undefine.
12565         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12566         Likewise.
12567         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12568         (__ASSUME_SENDMSG_SYSCALL): Undefine.
12569         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12570         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12571         (__ASSUME_SENDMSG_SYSCALL): Likewise.
12572         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12573         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12574         (__ASSUME_SENDMSG_SYSCALL): Likewise.
12575         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12577 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12579         * stdlib/gen-tst-strtod-round.c: Add backslash to
12580         compile command in comment.
12581         (printfp): Remove the literal suffix, and define an infinite
12582         value as INF to avoid expansion clash with INFINITY.
12583         (round_str): Remove the literal suffix.
12584         (round_for_all): Likewise, remove the now duplicate ldbl-64
12585         entry, and remove some magic constants.
12587         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
12588         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
12589         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
12590         (_CONCAT): New macro.
12591         (CONCAT): Likewise.
12592         (CHOOSE_ld): Likewise.
12593         (CHOOSE_f): Likewise.
12594         (CHOOSE_d): Likewise.
12595         (FTYPE_MEMBER): Likewise.
12596         (BOOL_MEMBER): Likewise.
12597         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
12598         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
12599         (_XNTRY): Likewise.
12600         (XNTRY): Likewise.
12601         (_ENTRY): Likewise.
12602         (ENTRY): Likewise.
12603         (test_exactness): Generate members via macro.
12604         (test_results): Likewise.
12605         (test): Update members.
12606         (TEST): Redefine using new macros.
12607         (INF): New macro.
12608         (fetestmodes): New structure.
12609         (do_test): Refactor to be type generic.
12610         (test_in_one_mode): Refactor duplicate code into
12611         (GEN_ONE_TEST): New macro.
12613         * stdlib/tst-strtod-round-data.h: Regenerate.
12615         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
12616         Extend to pass additional arbitrary parameters to
12617         generators.
12619 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
12621         [BZ #15479]
12622         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
12623         floating-point state after first floating-point operation on
12624         input.  Restore full floating-point state instead of just rounding
12625         mode.
12626         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
12627         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
12628         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
12629         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
12630         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
12632         [BZ #15479]
12633         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
12634         floating-point state after first floating-point operation on
12635         input.  Restore full floating-point state instead of just rounding
12636         mode.
12637         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
12638         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
12639         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
12640         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
12641         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
12643 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12645         [BZ #19727]
12646         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
12647         valid high surrogate.
12648         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
12649         of an utf16 surrogate.
12650         * iconv/gconv_simple.c (BODY): Likewise.
12651         * iconvdata/bug-iconv12.c: New file.
12652         * iconvdata/Makefile (tests): Add bug-iconv12.
12654 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12656         [BZ #19726]
12657         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
12658         outptrp in case of an illegal input.
12659         * iconv/tst-iconv6.c: New file.
12660         * iconv/Makefile (tests): Add tst-iconv6.
12662 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12664         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
12665         an error in case of a value in range of an utf16 low surrogate.
12667 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12669         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
12670         an error in case of a value in range of an utf16 low surrogate.
12672 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12674         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
12675         Move to ...
12676         * sysdeps/s390/Makefile: ... here.
12677         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
12678         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
12679         (BRANCH_ON_COUNT): New define.
12680         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
12681         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
12682         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
12683         run on s390-32, too.
12684         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
12685         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
12686         run on s390-32, too.
12687         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
12688         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
12689         run on s390-32, too.
12691 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12693         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
12694         etf3eh or new vector loop-variant.
12696 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12698         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
12699         etf3eh or new vector loop-variant.
12701 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12703         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
12704         or new vector loop-variant.
12706 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12708         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
12709         Rename to TR_LOOP and usage of tr instead of troo instruction.
12711 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12713         * sysdeps/s390/multiarch/gconv_simple.c: New File.
12714         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
12716 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12718         * sysdeps/s390/multiarch/8bit-generic.c: New File.
12719         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
12720         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
12721         New override define.
12722         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
12724 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12726         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
12727         * sysdeps/s390/configure.ac: Add test for S390 vector register
12728         support in gcc.
12729         * sysdeps/s390/configure: Regenerated.
12731 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12733         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
12734         Install file from $(objpfx)gconv-modules.
12735         ($(objpfx)gconv-modules): Concatenate architecture specific file
12736         in variable sysdeps-gconv-modules and gconv-modules in src dir.
12737         * sysdeps/s390/gconv-modules: New file.
12738         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
12739         Deleted.
12740         ($(objpfx)gconv-modules-s390): Deleted.
12741         (sysdeps-gconv-modules): New variable.
12743 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
12745         [BZ #15479]
12746         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
12747         of immediate operand to rounding instruction.
12748         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
12749         Likewise.
12750         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
12751         Likewise.
12752         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
12753         Likewise.
12755 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12757         * math/libm-test.inc (MIN_EXP): Directly define as
12758         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
12760 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12762         * math/libm-test.inc (MANT_DIG): Directly define as
12763         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
12765 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12767         * stdlib/gen-tst-strtod-round.c (main):
12768           Change usage to more closely match the generated
12769           output.  Add usage and compilation instructions.
12770           (string_to_fp): Add and use FILE* parameter as
12771           output target.
12772           (print_fp): Likewise.
12773           (round_str): Likewise.
12774           (round_for_all): Likewise.
12775         * stdlib/tst-strtod-round.c (tests): Move into
12776         * stdlib/tst-strtod-round-data.h: New file.
12778 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
12780         [BZ #15479]
12781         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
12782         (__round): Do not force "inexact" exception.
12783         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
12784         variable.
12785         (__round): Do not force "inexact" exception.
12786         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
12787         (__roundf): Do not force "inexact" exception.
12788         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
12789         (__roundl): Do not force "inexact" exception.
12790         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
12791         (__roundl): Do not force "inexact" exception.
12792         * math/libm-test.inc (round_test_data): Do not allow spurious
12793         "inexact" exceptions.
12795         [BZ #15479]
12796         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
12797         exception in comment.
12798         (huge): Remove variable.
12799         (__floor): Do not force "inexact" exception.
12800         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
12801         "inexact" exception in comment.
12802         (huge): Remove variable.
12803         (__floor): Do not force "inexact" exception.
12804         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
12805         exception in comment.
12806         (huge): Remove variable.
12807         (__floorf): Do not force "inexact" exception.
12808         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
12809         exception in comment.
12810         (huge): Remove variable.
12811         (__floorl): Do not force "inexact" exception.
12813         [BZ #15479]
12814         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
12815         exception in comment.
12816         (huge): Remove variable.
12817         (__ceil): Do not force "inexact" exception.
12818         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
12819         "inexact" exception in comment.
12820         (huge): Remove variable.
12821         (__ceil): Do not force "inexact" exception.
12822         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
12823         (__ceilf): Do not force "inexact" exception.
12824         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
12825         exception in comment.
12826         (huge): Remove variable.
12827         (__ceill): Do not force "inexact" exception.
12829 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12831         * config.h.in (BIND_NOW): New.
12832         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
12833         * configure: Regenerated.
12834         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
12835         indirect branch via the GOT slot.
12837 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12839         [BZ #19765]
12840         * sysdeps/s390/mempcpy.S: New File.
12841         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
12842         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
12843         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12844         Add mempcpy variants.
12845         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
12846         (memcpy): Adjust to be usable from mempcpy entry point.
12847         (__memcpy_mvcle): Likewise.
12848         * sysdeps/s390/s390-64/memcpy.S: Likewise.
12849         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
12850         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
12851         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
12852         (__memcpy_z10): Likewise.
12853         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
12855 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12857         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
12858         Remove __GI_ symbol.
12859         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
12860         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
12861         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
12862         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
12863         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
12864         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
12866 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12868         * sysdeps/s390/s390-64/memcpy.S (memcpy):
12869         Use cghi instead of chi to compare 64bit value.
12871 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12873         * sysdeps/s390/s390-32/memcpy.S (memcpy):
12874         Jump to 1MB check before executing mvc-loop.
12876 2016-05-24  Florian Weimer  <fweimer@redhat.com>
12878         [BZ #6527]
12879         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
12880         unconditionally.
12881         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
12883 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12885         * stdlib/tst-strtod6.c (do_test): Use new type generic
12886         invocation of the test function.
12887         (test): Refactor into ...
12888         (TEST_STRTOD): New macro base function.
12890 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12892         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
12893         (TEST_STRTOD): New macro.
12894         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
12896 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12898         * stdlib/tst-strtod6.c (do_test): Use new type generic
12899         invocation of the test function.
12900         (test): Refactor into ...
12901         (TEST_STRTOD): New macro base function.
12903 2016-05-23  Florian Weimer  <fweimer@redhat.com>
12905         CVE-2016-4429
12906         [BZ #20112]
12907         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
12908         payload.
12910 2016-05-23  Florian Weimer  <fweimer@redhat.com>
12912         [BZ #20111]
12913         * bits/sockaddr.h (_SS_SIZE): Define.
12914         * bits/socket.h (_SS_SIZE): Remove.
12915         (_SS_PADSIZE): Adjust to account for all padding.
12916         (struct sockaddr_storage): Update comment.  Avoid implicit
12917         padding.
12918         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
12919         (_SS_PADSIZE): Adjust to account for all padding.
12920         (struct sockaddr_storage): Update comment.  Avoid implicit
12921         padding.
12922         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
12923         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
12924         (_SS_PADSIZE): Adjust to account for all padding.
12925         (struct sockaddr_storage): Update comment.  Avoid implicit
12926         padding.
12927         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
12928         __SS_SIZE is 126 in this version.
12929         * inet/tst-sockaddr.c: New file.
12930         * inet/Makefile (tests): Add tst-sockaddr.c
12931         (tst-sockaddr.c): Compile with non-strict aliasing.
12933 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
12935         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
12936         [XPG3 || XPG4].
12937         (NL_ARGMAX): Also expect for [XPG3].
12938         (NL_LANGMAX): Likewise.
12939         (NL_MSGMAX): Likewise.
12940         (NL_NMAX): Likewise.
12941         (NL_SETMAX): Likewise.
12942         (NL_TEXTMAX): Likewise.
12943         (NZERO): Likewise.
12944         (TMP_MAX): Likewise.
12945         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
12946         variable.
12948         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
12949         (PF_MAX): Update value.
12950         (AF_KCM): New macro.
12951         (SOL_NETBEUI): Likewise.
12952         (SOL_LLC): Likewise.
12953         (SOL_DCCP): Likewise.
12954         (SOL_NETLINK): Likewise.
12955         (SOL_TIPC): Likewise.
12956         (SOL_RXRPC): Likewise.
12957         (SOL_PPPOL2TP): Likewise.
12958         (SOL_BLUETOOTH): Likewise.
12959         (SOL_PNPIPE): Likewise.
12960         (SOL_RDS): Likewise.
12961         (SOL_IUCV): Likewise.
12962         (SOL_CAIF): Likewise.
12963         (SOL_ALG): Likewise.
12964         (SOL_NFC): Likewise.
12965         (SOL_KCM): Likewise.
12966         (MSG_BATCH): New enum value and macro.
12968 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
12970         [BZ #18185]
12971         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
12972         sharing L2 cache to 2 for Knights Landing.
12974 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
12976         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
12977         (FTW_DP): Do not expect for [XPG3 || XPG4].
12978         (FTW_SL): Do not expect for [XPG3].
12979         (FTW_SLN): Likewise.
12980         (FTW_PHYS): Likewise.
12981         (FTW_MOUNT): Likewise.
12982         (FTW_DEPTH): Likewise.
12983         (FTW_CHDIR): Likewise.
12984         (nftw): Likewise.
12985         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
12986         variable.
12988 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
12990         * manual/errno.texi: Fix various typos & grammar errors.
12992 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
12994         * manual/intro.texi: Fix duplicated typo.
12996 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
12998         [BZ #13304]
12999         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
13000         <float.h>, <math_private.h> and <stdlib.h>.
13001         (add_split): New function.
13002         (mul_split): Likewise.
13003         (ext_val): New typedef.
13004         (store_ext_val): New function.
13005         (mul_ext_val): New function.
13006         (compare): New function.
13007         (add_split_ext): New function.
13008         (__fmal): After checking for Inf, NaN and zero, compute result as
13009         an exact sum of scaled double values in round-to-nearest before
13010         adding those up and adjusting for other rounding modes.
13011         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
13012         tests of fma.
13013         * math/auto-libm-test-out: Regenerated.
13015 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13017         [BZ #20119]
13018         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
13019         processor level type mask for CPUID with EAX == 11.
13021 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13023         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
13024         logical threads if the HTT bit is 0.
13025         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
13026         (index_cpu_HTT): Likewise.
13027         (reg_HTT): Likewise.
13029 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13031         [BZ #20115]
13032         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
13033         Remove alignments on jump targets.
13035 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
13037         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
13038         (getpwent): Likewise.
13039         (setpwent): Likewise.
13040         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
13041         variable.
13043         * conform/data/search.h-data (insque): Do not expect for [XPG3].
13044         (remque): Likewise.
13045         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
13046         variable.
13048 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
13050         * math/libm-test.inc: Update comment not to refer to signs of NaNs
13051         not being tested.
13053 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13055         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13056         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
13057         call.
13058         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13059         (__condvar_cleanup1): Likewise.
13061 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13063         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
13064         New
13065         (__pthread_unwind): Renamed to ...
13066         (PTHREAD_UNWIND): This.
13067         (__pthread_enable_asynccancel): Replace
13068         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
13070 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
13072         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
13073         (CLONE_NEWCGROUP): New macro.
13075         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
13076         (Q_GETNEXTQUOTA): New macro.
13078 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13080         [BZ #19907]
13081         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
13082         buffer updated by the previous run.
13083         * string/test-memcpy.c (do_one_test): Likewise.
13084         * benchtests/bench-memmove.c (do_one_test): Add a comment.
13085         * string/test-memmove.c (do_one_test): Likewise.
13087 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
13089         [BZ #20094]
13090         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
13091         not [__USE_XOPEN].
13092         (unlockpt): Likewise.
13093         (ptsname): Likewise.
13094         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
13095         variable.
13097         [BZ #20076]
13098         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
13099         instead of [__USE_UNIX98].
13100         (S_ISSOCK): Likewise.
13101         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
13102         variable.
13104         [BZ #20074]
13105         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
13106         [__USE_POSIX].
13107         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
13108         variable.
13110         [BZ #20051]
13111         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
13112         (ttyslot): Do not declare.
13113         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
13114         (ttyslot): New prototype.
13115         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
13116         variable.
13117         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13119 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
13121         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
13123 2016-05-13  Florian Weimer  <fweimer@redhat.com>
13125         Fix race condition in tst-mallocfork2, use fewer resources.
13126         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
13127         to current process group.
13128         (signal_sender): Yield in the non-sleeping case.
13130 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
13132         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
13133         (ecvt): Likewise.
13134         (fcvt): Likewise.
13135         (gcvt): Likewise.
13136         (getsubopt): Likewise.
13137         (grantpt): Likewise.
13138         (initstate): Likewise.
13139         (l64a): Likewise.
13140         (mktemp): Likewise.
13141         (mkstemp): Likewise.
13142         (ptsname): Likewise.
13143         (random): Likewise.
13144         (realpath): Likewise.
13145         (setstate): Likewise.
13146         (srandom): Likewise.
13147         (ttyslot): Likewise.
13148         (unlockpt): Likewise.
13149         (valloc): Likewise.
13151         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
13152         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
13153         variable.
13155 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
13157         [BZ #20072]
13158         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
13159         init_cpu_features only if SHARED is defined.
13160         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
13162 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
13164         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
13165         non-inclusive caches on Intel processors.
13167 2016-05-13  Florian Weimer  <fweimer@redhat.com>
13169         * malloc/malloc.c (dumped_main_arena_start)
13170         (dumped_main_arena_end): New variables.
13171         (DUMPED_MAIN_ARENA_CHUNK): New macro.
13172         (do_check_chunk): Skip dumped fake mmapped chunks.
13173         (munmap_chunk): Likewise.
13174         (__libc_free): Do not adjust statistics for fake mmapped chunks.
13175         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
13176         mmapped chunks.
13177         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
13178         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
13179         and dumped_main_arena_end to cover the dumped heap.
13181 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
13183         * conform/data/time.h-data (getdate_err): Do not expect for
13184         [XPG3].
13185         (getdate): Likewise.
13186         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
13187         variable.
13189         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
13190         (F_ULOCK): Likewise.
13191         (F_TEST): Likewise.
13192         (F_TLOCK): Likewise.
13193         (useconds_t): Likewise.
13194         (intptr_t): Do not expect for [XPG3] or [XPG4].
13195         (brk): Do not expect for [XPG3]
13196         (fchown): Likewise.
13197         (fchdir): Likewise.
13198         (ftruncate): Likewise.
13199         (getdtablesize): Likewise.
13200         (gethostid): Likewise.
13201         (getpagesize): Likewise.
13202         (getpgid): Likewise.
13203         (getsid): Likewise.
13204         (getwd): Likewise.
13205         (lchown): Likewise.
13206         (lockf): Likewise.
13207         (readlink): Likewise.
13208         (sbrk): Likewise.
13209         (setpgrp): Likewise.
13210         (setregid): Likewise.
13211         (setreuid): Likewise.
13212         (symlink): Likewise.
13213         (sync): Likewise.
13214         (truncate): Likewise.
13215         (ualarm): Likewise.
13216         (usleep): Likewise.
13217         (vfork): Likewise.
13218         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
13219         variable.
13221         [BZ #20054]
13222         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
13223         not [__USE_UNIX98].
13224         * conform/data/unistd.h-data (gethostname): Do not expect for
13225         [XPG3].
13227         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
13228         [!POSIX] (S_IFBLK): Likewise.
13229         [!POSIX] (S_IFCHR): Likewise.
13230         [!POSIX] (S_IFIFO): Likewise.
13231         [!POSIX] (S_IFREG): Likewise.
13232         [!POSIX] (S_IFDIR): Likewise.
13233         [!POSIX] (S_IFLNK): Likewise.
13234         [!POSIX] (S_IFSOCK): Likewise.
13235         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
13236         variable.
13237         (test-xfail-XPG4/fcntl.h/conform): Likewise.
13239 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
13241         * sysdeps/aarch64/memset.S (__memset):
13242         Rewrite of optimized memset.
13244 2016-05-12  Florian Weimer  <fweimer@redhat.com>
13246         [BZ #19703]
13247         Partially async-signal-safe fork for single-threaded processes.
13248         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
13249         variable.  Do not acquire and reset/release malloc and libio locks
13250         in single-threaded processes.
13251         * malloc/tst-mallocfork2.c: New file.
13252         * malloc/Makefile (tests): Add it.
13254 2016-05-12  Florian Weimer  <fweimer@redhat.com>
13256         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
13257         argument.  Use scratch buffer instead of extend_alloca.
13258         (gethosts): Use scratch buffer instead of extend_alloca.
13259         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
13260         extend_alloca.
13261         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
13263 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
13265         [BZ #20055]
13266         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
13267         instead of [__USE_UNIX98].
13268         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
13269         [__USE_UNIX98].
13270         * conform/data/termios.h-data (tcgetsid): Do not expect for
13271         [XPG3].
13272         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
13273         variable.
13274         (test-xfail-XPG4/termios.h/conform): Likewise.
13276 2016-05-11  Florian Weimer  <fweimer@redhat.com>
13278         Do not use mcheck in localedef.
13279         * locale/programs/localedef.c (turn_on_mcheck)
13280         (__malloc_initialize_hook): Remove.
13282 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13284         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
13285         * sysdeps/s390/s390-64/Makefile: Likewise.
13287 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
13289         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
13290         Remove ifunc-defines.sym.
13291         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
13292         Likewise.
13293         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
13294         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
13295         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
13296         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
13297         rtld-global-offsets.sym.
13298         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
13299         * sysdeps/x86/cpu-features-offsets.sym: This.
13300         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
13301         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
13303 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
13305         [BZ #20073]
13306         * io/sys/stat.h (fchmod): Declare for
13307         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
13308         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
13309         variable.
13311         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
13312         [XPG3] (S_IFSOCK): Likewise.
13313         [XPG3] (S_ISVTX): Likewise.
13314         [XPG3] (S_ISLNK): Likewise.
13315         [XPG3] (S_ISSOCK): Likewise.
13316         [XPG3] (fchmod): Likewise.
13317         [XPG3] (lstat): Likewise.
13318         [XPG3] (mknod): Likewise.
13320         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
13321         [XPG3].  Expect type long and XFAIL for [XPG4].
13322         (st_blocks): Likewise.
13324         [BZ #20044]
13325         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
13326         (pthread_atfork): New prototype.
13327         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
13328         variable.
13330         [BZ #20043]
13331         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
13332         prototype.
13334 2016-05-10  Florian Weimer  <fweimer@redhat.com>
13336         [BZ #20017]
13337         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
13338         gmtime.
13340 2016-05-10  Florian Weimer  <fweimer@redhat.com>
13342         [BZ #19994]
13343         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
13344         flag in _res.options.
13346 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
13348         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
13349         [XPG3 || XPG4].
13350         (blksize_t): Likewise.
13351         (clockid_t): Likewise.
13352         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
13353         variable.
13354         (test-xfail-XPG4/sys/types.h/conform): Likewise.
13356 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13358         * sysdeps/unix/sysv/linux/s390/init-first.c:
13359         Add VDSO_SYMBOL(getcpu).
13360         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
13361         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
13362         Add VDSO_SYMBOL(getcpu).
13363         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
13364         New define HAVE_GETCPU_VSYSCALL.
13365         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13367 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
13369         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
13370         instead of <sysdeps/x86_64/cacheinfo.c>.
13371         * sysdeps/x86_64/cacheinfo.c: Moved to ...
13372         * sysdeps/x86/cacheinfo.c: Here.
13374 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13376         * malloc/malloc-internal.h: Adjust header file guard.
13378 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13380         [BZ #19787]
13381         * inet/getnameinfo.c (check_sprintf_result): New function.
13382         (CHECKED_SNPRINTF): New macro.
13383         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
13384         to the host buffer.
13385         (gni_host_local): Use checked_copy to copy the host name.
13386         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
13387         (gni_serv_local): Use checked_copy to copy the service name.
13388         (getnameinfo): Remove unnecessary truncation of result buffers.
13390 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13392         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
13393         in case of inet_ntop failure.
13395 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13397         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
13398         avoid long lines.
13399         (gni_host_inet_numeric): Likewise.  Reduce scope of local
13400         variables.
13401         (gni_host_inet, gni_host_local): Add comment.
13402         (gni_host): Add comment.  Use temporary to avoid long lines.
13404 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13406         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
13407         registers specifiers where general purpose registers specifiers should
13408         have been used.
13410 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13412         [BZ #19779]
13413         CVE-2016-1234
13414         Avoid copying names of directory entries.
13415         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
13416         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
13417         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
13418         (struct readdir_result): New type.
13419         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
13420         (GL_READDIR): New macros.
13421         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
13422         (convert_dirent, convert_dirent64): New functions.
13423         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
13424         convert_dirent64.  Adjust references to the readdir result.
13425         * sysdeps/unix/sysv/linux/i386/glob64.c:
13426         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
13427         * posix/bug-glob2.c (LONG_NAME): Define.
13428         (filesystem): Add LONG_NAME.
13429         (my_DIR): Increase the size of room_for_dirent.
13431 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
13433         [BZ #20041]
13434         * misc/sys/select.h (__need_timespec): Only define if
13435         [__USE_XOPEN2K].
13436         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
13437         variable.
13438         (test-xfail-XPG4/utmpx.h/conform): Likewise.
13439         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13440         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13442 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13443             Segher Boessenkool  <segher@gcc.gnu.org>
13445         [BZ #20004]
13446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
13447         (__novec_swapcontext): Add missing load.
13449 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
13451         [BZ #20023]
13452         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
13453         <time.h>.
13454         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
13455         variable.
13456         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13458 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
13461         flags CLONE_VM compare.
13463 2016-05-02  Florian Weimer  <fweimer@redhat.com>
13465         [BZ #20031]
13466         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
13467         completely empty.
13469 2016-05-02  Florian Weimer  <fweimer@redhat.com>
13471         [BZ #19573]
13472         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
13473         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
13474         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
13475         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
13476         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
13477         (hesiod_free_list): Mark as hidden.
13478         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
13479         res_set, res_get.
13480         * hesiod/hesiod.c: Remove unnecessary forward declarations.
13481         (init, __hesiod_res_get, __hesiod_res_set): Remove.
13482         (hesiod_init): Remove obsolete res_ninit call.
13483         (hesiod_end): Do not free resolver state.  Do not invoke callback.
13484         (hesiod_bind): Do not call init.
13485         (get_txt_records): Use res_mkquery, res_send instead of
13486         res_nmkquery, res_nsend.
13487         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
13488         instead of _nss_hesiod_init.
13489         (_nss_hesiod_initgroups_dyn): Likewise.
13490         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
13491         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
13492         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
13494 2016-05-02  Florian Weimer  <fweimer@redhat.com>
13496         * hesiod/hesiod_p.h (DEF_RHS): Remove.
13497         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
13499 2016-05-02  Florian Weimer  <fweimer@redhat.com>
13501         * hesiod/hesiod.h: Remove RCS keyword.
13502         * hesiod/hesiod_p.h: Likewise.
13504         * hesiod/hesiod.c: Likewise.
13506 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
13508         [BZ #12450]
13509         * locale/iso-639.def: Add Samogitian/sgs.
13511 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
13513         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
13515         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
13517 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
13518             Carlos O'Donell  <carlos@redhat.com>
13520         [BZ #19072]
13521         * grp/Makefile (headers): Add grp-merge.h
13522         (routines): Add grp-merge.
13523         * grp/getgrgid_r.c: Include grp-merge.h.
13524         (DEEPCOPY_FN): Define.
13525         (MERGE_FN): Define.
13526         * grp/getgrname_r.c: Include grp-merge.h.
13527         (DEEPCOPY_FN): Define.
13528         (MERGE_FN): Define.
13529         * grp/grp-merge.c: New file.
13530         * grp/grp-merge.h: New file.
13531         * include/grp-merge.h: New file.
13532         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
13533         __copy_grp@GLIBC_PRIVATE.
13534         * manual/nss.texi (Actions in the NSS configuration): Describe
13535         return, continue, and merge.
13536         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
13537         (DEEPCOPY_FN): Define.
13538         (MERGE_FN): Define.
13539         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
13540         (DEEPCOPY_FN): Define.
13541         (MERGE_FN): Define.
13542         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
13543         [!MERGE_FN]: Define __merge_einval.
13544         (CHECK_MERGE): Define.
13545         (REENTRANT_NAME): Process merge if do_merge is true.
13546         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
13547         (__nss_getent_r): Likewise.
13548         * nss/nsswitch.c (nss_parse_service_list): Likewise.
13549         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
13551 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13553         [BZ #20012]
13554         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
13555         length to calculate the buffer to read.
13556         (fmemopen_write): Set the buffer position based on bytes written.
13557         (fmemopen_seek): Return EINVAL for invalid whence modes.
13559         [BZ #19957]
13560         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
13561         tst-getpid2.
13562         (test): Add tst-clone2.
13563         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
13564         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
13565         pid/tid fields for CLONE_VM.
13566         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
13567         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
13568         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
13569         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
13570         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
13571         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
13572         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
13573         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
13574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
13575         Likewise.
13576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13577         Likewise.
13578         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
13579         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
13580         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
13581         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
13582         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
13583         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
13584         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
13585         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
13587 2016-04-29  Florian Weimer  <fweimer@redhat.com>
13589         [BZ #19642]
13590         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
13591         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
13592         (gni_serv_local, gni_serv): New functions extracted from
13593         getnameinfo.
13594         (getnameinfo): Call gni_host and gni_serv to perform the
13595         processing.  Always free scratch buffer.
13597 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13599         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
13600         remaining bytes in the dest string, with zeros.
13602 2016-04-29  Florian Weimer  <fweimer@redhat.com>
13604         [BZ #20010]
13605         CVE-2016-3706
13606         * sysdeps/posix/getaddrinfo.c
13607         (convert_hostent_to_gaih_addrtuple): New function.
13608         (gethosts): Call convert_hostent_to_gaih_addrtuple.
13609         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
13610         AF_INET data.
13612 2016-04-29  Florian Weimer  <fweimer@redhat.com>
13614         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
13615         callback function gl_readdir.
13616         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
13617         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
13618         (glob_in_dir): Remove len.  Use strdup instead of malloc and
13619         memcpy to copy the name.
13620         * manual/pattern.texi (Calling Glob): Document requirements for
13621         implementations of the gl_readdir callback function.
13622         * manual/examples/mkdirent.c: New example.
13623         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
13624         per the manual guidance.
13625         * posix/tst-gnuglob.c (my_readdir): Likewise.
13627 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
13629         [BZ #20014]
13630         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
13631         not [__USE_POSIX].
13632         (getchar_unlocked): Likewise.
13633         (putc_unlocked): Likewise.
13634         (putchar_unlocked): Likewise.
13635         (flockfile): Likewise.
13636         (ftrylockfile): Likewise.
13637         (funlockfile): Likewise.
13638         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
13639         variable.
13640         (test-xfail-XPG4/stdio.h/conform): Likewise.
13642         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
13643         Expect constant.
13644         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
13645         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
13646         variable.
13647         (test-xfail-XPG4/langinfo.h/conform): Likewise.
13648         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13650         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
13651         [__USE_LARGEFILE64] (off64_t): Likewise.
13652         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
13653         variable.
13655 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13657         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
13659 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13661         * resolv/inet_addr.c: Reindent preprocessor conditionals.
13662         * resolv/res_init.c: Likewise.
13663         * resolv/res_mkquery.c: Likewise.
13665 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13667         * resolv/res_init.c (isascii): Do not define.  Use definition in
13668         <ctype.h>.
13669         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
13670         (LOG_AUTH): Remove.
13671         (SPRINTF): Remove, adjust caller.
13672         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
13674 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13676         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
13677         SUNSECURITY conditional.
13678         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
13680 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13682         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
13683         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
13684         Remove BSD-related preprocessor conditionals.
13685         * conf/portability.h: Remove.
13687 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13689         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
13690         * resolv/res_data.c: Likewise.
13692 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13694         * resolv/res_comp.c: Remove code conditional on __ultrix__.
13695         * resolv/res_data.c: Remove code conditional on ultrix.
13697 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13699         * resolv/res_init.c (RFC1535): Do not define.  Remove
13700         RFC1535 preprocessor conditionals.
13701         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
13702         because there configuration options which make the resolver
13703         behavior different.
13705 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13707         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
13708         RESOLVSORT preprocessor conditionals.
13709         * resolv/nss_dns/dns-host.c: Likewise.
13710         * resolv/res_init.c: Likewise.
13712 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13714         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
13715         is never defined.
13717 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13719         * inet/inet_lnaof.c: Remove SCSS keyword.
13720         * inet/inet_mkadr.c: Likewise.
13721         * inet/inet_net.c: Likewise.
13722         * inet/inet_netof.c: Likewise.
13723         * inet/rcmd.c: Likewise.
13724         * inet/rexec.c: Likewise.
13725         * inet/ruserpass.c: Likewise.
13727 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13729         * resolv/inet_addr.c: Remove _LIBC conditionals.
13730         * resolv/res_data.c: Likewise.
13731         * resolv/res_init.c: Likewise.
13732         * resolv/res_mkquery.c: Likewise.
13733         * resolv/res_libc.c: Update comment.
13734         * resolv/README: Update.
13736 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13738         * resolv/gethnamaddr.c: Remove SCSS keyword.
13739         * resolv/herror.c: Likewise.
13740         * resolv/inet_addr.c: Likewise.
13741         * resolv/inet_net_ntop.c: Likewise.
13742         * resolv/inet_net_pton.c: Likewise.
13743         * resolv/inet_neta.c: Likewise.
13744         * resolv/inet_ntop.c: Likewise.
13745         * resolv/inet_pton.c: Likewise.
13746         * resolv/ns_date.c: Remove RCS keyword.
13747         * resolv/ns_name.c: Likewise.
13748         * resolv/ns_netint.c: Likewise.
13749         * resolv/ns_parse.c: Likewise.
13750         * resolv/ns_print.c: Likewise.
13751         * resolv/ns_samedomain.c: Likewise.
13752         * resolv/ns_ttl.c: Likewise.
13753         * resolv/nsap_addr.c: Likewise.
13754         * resolv/res_comp.c: Remove SCSS and RCS keyword.
13755         * resolv/res_data.c: Remove RCS keyword.
13756         * resolv/res_debug.c: Remove SCSS and RCS keyword.
13757         * resolv/res_init.c: Likewise.
13758         * resolv/res_mkquery.c: Likewise.
13759         * resolv/res_query.c: Likewise.
13760         * resolv/res_send.c: Likewise.
13762 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
13764         * conform/data/stdio.h-data (fdopen): Expect also for
13765         [XPG3 || XPG4].
13767         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
13768         (fseeko): Likewise.
13769         (ftello): Likewise.
13770         (ftrylockfile): Likewise.
13771         (funlockfile): Likewise.
13772         (getc_unlocked): Likewise.
13773         (getchar_unlocked): Likewise.
13774         (putc_unlocked): Likewise.
13775         (putchar_unlocked): Likewise.
13777 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13779         [BZ #19868]
13780         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
13781         DNS packet syntax checks (which were not needed before).  Skip
13782         over non-PTR records.
13784 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13786         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
13787         definition.  Include <stddef.h> instead.
13789 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13791         [BZ #19831]
13792         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
13793         function.
13794         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
13795         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
13797 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13799         [BZ #19862]
13800         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
13801         (getanswer_r): Do not call syslog.
13802         (gaih_getanswer_slice): Likewise.
13803         * resolv/gethnamaddr.c (AskedForGot): Remove.
13804         (getanswer): Do not call syslog.
13805         (gethostbyaddr): Likewise.
13807 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
13809         * conform/data/signal.h-data (union sigval): Expect also if
13810         [XOPEN2K].
13811         (struct sigevent): Likewise.
13812         (SIGEV_NONE): Likewise.
13813         (SIGEV_SIGNAL): Likewise.
13814         (SIGEV_THREAD): Likewise.
13815         (SIGRTMIN): Likewise.
13816         (SIGRTMAX): Likewise.
13817         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
13818         variable.
13819         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13821 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13823         [BZ #19830]
13824         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
13825         (gaih_getanswer_slice): Likewise.
13826         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
13827         Also check for availability of RR metadata.
13829 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13831         [BZ #19825]
13832         * resolv/res_send.c (send_vc): Remove early *resplen2
13833         initialization.  Set *resplen2 on socket error.  Call
13834         close_and_return_error for other errors.
13836 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
13838         * sysdeps/unix/sysv/linux/netiucv/iucv.h
13839         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
13840         (SCM_IUCV_TRGCLS): New define.
13842 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13844         [BZ #20005]
13845         * libio/fmemopen.c (fmemopen_write): Update internal position after
13846         write.
13847         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
13848         * stdio-common/tst-fmemopen4.c: New file..
13850 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
13852         [BZ #19996]
13853         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
13854         not [__USE_XOPEN2K].
13855         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
13856         variable.
13858         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
13859         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
13860         variable.
13862         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
13863         [__USE_XOPEN2K8].
13864         [__USE_LARGEFILE64] (off64_t): Likewise.
13865         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
13866         variable.
13868 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
13870         [BZ #19989]
13871         * libio/stdio.h (cuserid): Do not declare if
13872         [__USE_XOPEN2K && !__USE_GNU].
13873         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
13874         variable.
13876 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13878         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13879         (sysdep_routines): Add P8 and PPC64 strcspn targets.
13880         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13881         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
13882         ifunc'ed strcspn.
13883         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
13884         [EALIGN]: Removed.
13885         [END]: Likewise
13886         [STRSPN]: Define instead of the above to control symbol name.
13887         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
13888         New file.
13889         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
13890         Likewise.
13891         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
13892         Likewise.
13893         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
13894         Likewise.
13895         * sysdeps/powerpc/powerpc64/power8/strspn.S:
13896         [INITIAL_MASK]: New macro.
13897         [STRCSPN]: Likewise.
13898         [UPDATE_MASK]: Likewise.
13899         [USE_AS_STRCSPN]: Likewise.
13901 2016-04-25  Florian Weimer  <fweimer@redhat.com>
13903         [BZ #19931]
13904         * stdio-common/tst-vfprintf-width-prec.c: New file.
13905         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
13906         (tests-special): Add tst-vfprintf-width-prec-mem.out.
13907         (generated): Add mtrace-related files.
13908         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
13909         (tst-%-mem.out): New pattern rule, replaces
13910         tst-printf-bz18872-mem.out.
13911         * stdio-common/vfprintf.c (vfprintf): When handling a precision
13912         specifier, deallocate any previously allocated work buffer.
13914 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
13916         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
13917         Add nop before __startcontext, add explaining comments.
13919 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
13921         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
13922         any more. Notably since IPV6_PKTINFO has been reintroduced with a
13923         completely different API.
13925         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
13926         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
13927         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
13928         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
13929         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
13930         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
13931         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
13932         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
13933         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
13934         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
13936 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
13938         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
13940 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
13942         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
13943         when it is the default of 0.
13945 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13947         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
13948         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13949         (sysdep_routines): Add new strcasestr targets.
13950         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13951         (__libc_ifunc_impl_list): Likewise.
13952         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
13953         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
13954         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
13955         * sysdeps/powerpc/powerpc64/power8/Makefile:
13956         New file to add strcasestr-ppc64 to sysdep_routines.
13957         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
13958         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
13960 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
13962         * benchtests/Makefile (wcsmbs-benchset): Include only for
13963         native builds and runs.
13964         (LOCALES): Likewise.
13965         (bench-build): Build timing-type here instead of the bench
13966         target.  Generate locale only for native builds.
13967         * benchtests/README: Add note for cross-building.
13969         * benchtests/Makefile (bench-clean): Clean up extra-objs.
13971         * benchtests/README: Update README to include instructions on
13972         using bench-build.
13974         * Makefile.in (bench-build): New target.
13975         * Rules (PHONY): Add bench-build target.
13976         * benchtests/Makefile (bench): Depend on bench-build.
13977         (bench-build): New target.
13979 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13981         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
13982         profil_reply_port.
13983         (profile_waiter): Do not initialize profil_reply_port.
13984         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
13985         frequency instead of tick length in us.
13987 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
13989         [BZ #18712]
13990         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
13991         (__old_mempcpy_small): Likewise.
13992         (__old_strcpy_small): Likewise.
13993         (__old_stpcpy_small): Likewise.
13994         (__old_strpbrk_c2): Fix compat symbol name.
13995         (__old_strpbrk_c3): Likewise.
13996         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
13997         (__mempcpy_small): Remove.
13998         (__strcpy_small): Remove.
13999         (__stpcpy_small): Remove.
14001 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
14003         [BZ #19400]
14004         * locale/iso-639.def: Add the Talossan/tzl language.
14006 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
14008         [BZ #16983]
14009         * locale/programs/ld-address.c (address_finish): Update postal_fmt
14010         comment.  Add "ln" to strchr check on postal_fmt.
14012 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
14014         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
14015         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
14016         tel_dom_fmt.
14018 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14020         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14021         (sysdep_routines): Added __strlen_power8.
14022         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
14023         __strlen_power8 entry.
14024         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
14025         Implementation for POWER8.
14026         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
14027         for __strlen_power8.
14028         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
14029         Implementation for POWER8.
14031 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
14033         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
14035 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
14037         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
14038         Goldmont and Airmont processors.
14040 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
14042         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
14043         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
14044         (__STRING2_SMALL_GET32): Remove.
14045         (memset): Remove.
14046         (__memset_1): Remove.
14047         (__memset_gc): Remove.
14048         (__mempcpy): Remove.
14049         (mempcpy): Remove.
14050         (__mempcpy_args): Remove.
14051         (strchr): Remove.
14052         (strcpy): Remove.
14053         (strcpy_args): Remove.
14054         (__stpcpy_args): Remove.
14055         (__strcmp_cc): Remove.
14056         (__strcmp_gc): Remove.
14057         (strstr): Remove.
14059 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
14061         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
14062         * nis/nis_call.c (nis_server_cache_add): Likewise.
14064 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14066         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
14068 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14070         * malloc/arena.c (__malloc_fork_lock_parent)
14071         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
14072         internal_function attribute.
14074 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
14076         * stdio-common/printf_fp.c (__printf_fp_l):
14077         Rename ___printf_fp_l to __printf_fp_l and
14078         remove strong alias. Use libc_hidden_def instead
14079         of ldbl_hidden_def macro.
14081 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14083         Remove malloc hooks from fork handler.  They are no longer needed
14084         because malloc runs right before fork, and no malloc calls from
14085         other fork handlers are not possible anymore.
14086         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
14087         declarations.
14088         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
14089         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
14090         (atfork_recursive_cntr): Remove.
14091         (__malloc_fork_lock_parent): Do not override malloc hooks and
14092         thread_arena.
14093         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
14094         thread_arena.
14095         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
14096         thread_arena instead of save_arena.
14098 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14100         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
14101         (thread_atfork, thread_atfork_static): Remove.
14102         * sysdeps/mach/hurd/malloc-machine.h:
14103         (thread_atfork, thread_atfork_static): Remove.
14105 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14107         [BZ #19431]
14108         Run the malloc fork handler as late as possible to avoid deadlocks.
14109         * malloc/malloc-internal.h: New file.
14110         * malloc/malloc.c: Include it.
14111         * malloc/arena.c (ATFORK_MEM): Remove.
14112         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
14113         Update comment.
14114         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
14115         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
14116         Remove outdated comment.
14117         (ptmalloc_init): Do not call thread_atfork.  Remove
14118         thread_atfork_static.
14119         * malloc/tst-malloc-fork-deadlock.c: New file.
14120         * Makefile (tests): Add tst-malloc-fork-deadlock.
14121         (tst-malloc-fork-deadlock): Link against libpthread.
14122         * manual/memory.texi (Aligned Memory Blocks): Update safety
14123         annotation comments.
14124         * sysdeps/nptl/fork.c (__libc_fork): Call
14125         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
14126         __malloc_fork_unlock_child.
14127         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
14129 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14131         [BZ #19613]
14132         Remove union wait.
14133         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
14134         (w_stopsig, w_stopval): Remove.
14135         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
14136         stat_loc argument.
14137         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
14138         (__WAIT_STATUS_DEFN): Remove.
14139         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
14140         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
14141         (wait, wait3, wait4): Use int * for the stat_loc argument.
14142         * posix/wait.c (__wait): Likewise.
14143         * posix/wait3.c (__wait3): Likewise.
14144         * posix/wait4.c (__wait4): Likewise.
14145         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
14146         (__WAIT_STATUS_DEFN): Remove.
14147         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
14148         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
14149         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
14150         argument.
14151         * sysdeps/posix/wait.c (__libc_wait): Likewise.
14152         * sysdeps/posix/wait3.c (__wait3): Likewise.
14153         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
14154         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
14155         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
14156         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
14157         stat_loc argument.
14158         * manual/process.texi (BSD Wait Functions): Remove union wait.
14160 2016-04-13  Andreas Schwab  <schwab@suse.de>
14162         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
14163         (test-extras): Add tst-tlsalign-vars.
14164         * math/Makefile: Wrap long lines.
14165         (libm-vec-test-wrappers): Define.
14166         (test-extras): Add $(libm-vec-test-wrappers).
14167         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
14168         * nss/Makefile (extra-test-objs): Add nss_test1.os.
14169         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
14170         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
14171         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
14172         (extra-test-objs): Add corresponding objects.
14174 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
14176         [BZ #19928]
14177         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
14178         New.
14179         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
14180         times of shared cache size.
14181         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
14182         (VMOVNT): New.
14183         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
14184         (VMOVNT): Likewise.
14185         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
14186         (VMOVNT): Likewise.
14187         (VMOVU): Changed to movups for smaller code sizes.
14188         (VMOVA): Changed to movaps for smaller code sizes.
14189         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
14190         comments.
14191         (PREFETCH): New.
14192         (PREFETCH_SIZE): Likewise.
14193         (PREFETCHED_LOAD_SIZE): Likewise.
14194         (PREFETCH_ONE_SET): Likewise.
14195         Rewrite to use forward and backward loops, which move 4 vector
14196         registers at a time, to support overlapping addresses and use
14197         non temporal store if size is above the threshold and there is
14198         no overlap between destination and source.
14200 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
14202         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
14203         Include dl-vdso.
14204         * sysdeps/unix/sysv/linux/mips/Versions: Add
14205         __vdso_clock_gettime.
14206         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
14207         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
14208         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
14209         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
14210         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
14211         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
14212         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
14213         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
14214         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
14216 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14218         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
14219         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
14220         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14221         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14222         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14223         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14226         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
14227         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
14228         syscalls generation.
14229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14230         [__NR_pwrite64] (__NR_write): Remove define.
14231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14232         [__NR_pwrite64] (__NR_write): Remove define.
14233         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
14234         Remove define.
14235         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
14236         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
14237         Remove define.
14238         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
14239         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
14240         Linux implementation as base.
14241         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14243         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
14244         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
14245         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14246         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
14248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14249         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
14250         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
14251         syscall generation.
14252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14253         [__NR_pread64] (__NR_pread): Remove define.
14254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14255         [__NR_pread64] (__NR_pread): Likewise.
14256         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
14257         define.
14258         (__libc_pread): Use SYSCALL_LL macro on offset argument.
14259         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
14260         Remove define.
14261         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
14262         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
14263         Linux implementation as base.
14264         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14265         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14266         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14268         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
14269         definition.
14270         (__ALIGNMENT_COUNT): Likewise.
14271         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
14272         (__ALIGNMENT_COUNT): Likewise.
14273         (SYSCALL_LL): New define.
14274         (SYSCALL_LL64): Likewise.
14275         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
14276         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
14277         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
14278         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
14280         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14281         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
14282         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14283         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
14284         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14285         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
14287 2016-04-11  Florian Weimer  <fweimer@redhat.com>
14289         [BZ #19865]
14290         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
14291         original buffer before retry.
14293 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14295         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
14296         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
14297         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
14298         GLRO(dl_auxv) list.
14299         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
14300         including <ldsodefs.h>.
14301         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
14303 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
14305         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
14306         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
14307         $(CPPFLAGS).
14309 2016-04-09  Khem Raj  <raj.khem@gmail.com>
14311         [BZ #17950]
14312         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
14313         Add -mfpmath=387.
14315 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
14317         * sysdeps/i386/configure.ac: Change == to = when calling test.
14318         * sysdeps/x86_64/configure.ac: Likewise.
14319         * sysdeps/i386/configure: Regenerated.
14320         * sysdeps/x86_64/configure: Likewise.
14322 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
14324         [BZ #16137]
14325         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
14326         * benchtests/bench-strcoll.c (input_files): Likewise.
14327         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
14328         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
14329         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
14331 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
14333         [BZ #19929]
14334         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
14335         [__USE_XOPEN2K8 && !__USE_GNU].
14336         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
14337         variable.
14339         [BZ #19925]
14340         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
14341         define if [!__USE_MISC && __USE_XOPEN2K].
14342         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
14343         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
14344         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
14345         Likewise.
14346         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
14347         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
14348         variable.
14349         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14351 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14353         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14354         (sysdep_routines): Add new strspn targets.
14355         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14356         (__libc_ifunc_impl_list): Add strspn.
14357         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
14358         New file.
14359         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
14360         Likewise.
14361         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
14362         Likewise.
14363         * sysdeps/powerpc/powerpc64/power8/strspn.S:
14364         Likewise.
14366 2016-04-07  Florian Weimer  <fweimer@redhat.com>
14368         * misc/hsearch_r.c: Include <limits.h>.
14370 2016-04-07  Florian Weimer  <fweimer@redhat.com>
14372         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
14374 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
14376         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14377         (MEMCPY_SYMBOL): New.
14378         (MEMPCPY_SYMBOL): Likewise.
14379         (MEMMOVE_CHK_SYMBOL): Likewise.
14380         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
14381         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
14382         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
14383         Provide alias for memcpy in libc.a and ld.so.
14385 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
14387         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14388         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
14389         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
14390         Disabled fro now.
14391         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
14392         symbols.  Properly check USE_MULTIARCH on __memset symbols.
14394 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
14396         * benchtests/Makefile (string-benchset): Add memcpy-large,
14397         memmove-large and memset-large.
14398         * benchtests/bench-memcpy-large.c: New file.
14399         * benchtests/bench-memmove-large.c: Likewise.
14400         * benchtests/bench-memmove-large.c: Likewise.
14401         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
14403 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
14405         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
14406         32-bit displacement to avoid long nop between instructions.
14408 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
14410         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
14411         a comment on VMOVU and VMOVA.
14413 2016-04-04  Florian Weimer  <fweimer@redhat.com>
14415         [BZ #19633]
14416         Use specified locale for number formatting in strfmon_l.
14417         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
14418         (__nl_lookup_word): New inline functions.
14419         * include/printf.h (__print_fp_l): Declare.
14420         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
14421         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
14422         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
14423         (___printf_fp): New function.
14424         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
14425         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
14426         * stdlib/tst-strfmon_l.c (do_test): New test.
14427         * stdlib/Makefile (tests): Add kt.
14428         (LOCALES): Build additional locales.
14429         (tst-strfmon_l.out): Require locales.
14431 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
14433         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
14434         if not in libc.
14435         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
14436         Likewise.
14437         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
14438         Likewise.
14439         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
14440         Likewise.
14442 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
14444         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
14445         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
14446         with unaligned_erms.
14447         (__memmove_erms): Skip if source == destination.
14448         (__memmove_unaligned_erms): Don't check source == destination
14449         first.
14451 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
14453         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
14454         bit_arch_Fast_Copy_Backward for Intel Core proessors.
14456 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14458         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
14459         * string/strspn.c (strspn): Likewise.
14461 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
14463         * benchtests/bench-memset.c (do_test): Support 64-byte
14464         alignment.
14465         (test_main): Test 64-byte alignment.
14467 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
14469         * benchtests/bench-memmove.c (test_main): Test 64-byte
14470         alignment.
14472 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
14474         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
14476 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14478         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
14479         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
14480         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
14482         * string/strpbrk.c (strpbrk): Rewrite function.
14483         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
14484         (__strpbrk_c2): Likewise.
14485         (__strpbrk_c3): Likewise.
14486         * string/string-inlines.c
14487         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
14488         Likewise.
14489         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
14490         Likewise.
14492         * string/strspn.c (strcspn): Rewrite function.
14493         * string/bits/string2.h (strspn): Use __builtin_strcspn.
14494         (__strspn_c1): Remove inline function.
14495         (__strspn_c2): Likewise.
14496         (__strspn_c3): Likewise.
14497         * string/string-inlines.c
14498         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
14499         compatibility symbol.
14500         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
14501         Likewise.
14502         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
14503         Likewise.
14504         * string/string-inlines.c: Include generic version.
14506 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
14507             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14509         * string/Version (libc): Add GLIBC_2.24.
14510         * string/strcspn.c (strcspn): Rewrite function.
14511         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
14512         (__strcspn_c1): Remove inline function.
14513         (__strcspn_c2): Likewise.
14514         (__strcspn_c3): Likewise.
14515         * string/string-inline.c
14516         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
14517         compatibility symbol.
14518         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
14519         Likewise.
14520         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
14521         Likewise.
14522         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
14524 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14526         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14527         Use ahi instead of aghi to adjust stack pointer.
14529 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14531         [BZ #19853]
14532         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
14533         TEST to take significant digits as second parameter.
14534         [TEST]: Redefine in terms of TEST_N taking 30
14535         significant digits.
14536         (do_test): Add test case to demonstrate precision
14537         failure in the ldbl-128ibm printf.
14538         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
14539         (__mpn_extract_long_double): Carry 7 extra intermediate
14540         bits of precision to aide computing difference when
14541         signs differ.
14543 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
14545         [BZ #19881]
14546         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14547         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
14548         memset-avx512-unaligned-erms.
14549         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14550         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
14551         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
14552         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
14553         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
14554         __memset_sse2_unaligned_erms, __memset_erms,
14555         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
14556         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
14557         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
14558         file.
14559         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
14560         Likewise.
14561         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
14562         Likewise.
14563         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
14564         Likewise.
14566 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
14568         [BZ #19776]
14569         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14570         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
14571         memmove-avx512-unaligned-erms.
14572         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14573         (__libc_ifunc_impl_list): Test
14574         __memmove_chk_avx512_unaligned_2,
14575         __memmove_chk_avx512_unaligned_erms,
14576         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
14577         __memmove_chk_sse2_unaligned_2,
14578         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
14579         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
14580         __memmove_avx512_unaligned_erms, __memmove_erms,
14581         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
14582         __memcpy_chk_avx512_unaligned_2,
14583         __memcpy_chk_avx512_unaligned_erms,
14584         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
14585         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
14586         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
14587         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
14588         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
14589         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
14590         __mempcpy_chk_avx512_unaligned_erms,
14591         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
14592         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
14593         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
14594         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
14595         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
14596         __mempcpy_erms.
14597         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
14598         file.
14599         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
14600         Likewise.
14601         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
14602         Likewise.
14603         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
14604         Likewise.
14606 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14608         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
14609         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
14610         (La_s390_64_regs): Likewise.
14611         (La_s390_32_retval): Append vector register lrv_v24.
14612         (La_s390_64_retval): Likeweise.
14613         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14614         Handle extended structs La_s390_32_regs and La_s390_32_retval.
14615         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14616         Handle extended structs La_s390_64_regs and La_s390_64_retval.
14618 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14620         [BZ #19916]
14621         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
14622         to create a non-vector/vector version for _dl_runtime_resolve and
14623         _dl_runtime_profile. Move implementation to ...
14624         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
14625         (_dl_runtime_resolve) Save and restore fpr/vrs.
14626         (_dl_runtime_profile) Save and restore vrs and fix some issues
14627         if _dl_call_pltexit is called.
14628         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
14629         Choose the correct resolver function if running on a machine with vx.
14630         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
14631         to create a non-vector/vector version for _dl_runtime_resolve and
14632         _dl_runtime_profile. Move implementation to ...
14633         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
14634         (_dl_runtime_resolve) Save and restore fpr/vrs.
14635         (_dl_runtime_profile) Save and restore vrs and fix some issues
14636         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
14637         Choose the correct resolver function if running on a machine with vx.
14639 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14641         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
14643 2016-03-31  Florian Weimer  <fweimer@redhat.com>
14645         [BZ #19509]
14646         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
14647         skip_map != NULL.
14648         * elf/tst-dlsym-error.c: New file.
14649         * elf/Makefile (tests): Add tst-dlsym-error.
14650         (tst-dlsym-error): Link against libdl.
14652 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
14654         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14655         (__ASSUME_FUTIMESAT): Remove macro.
14656         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
14658 2016-03-29  Florian Weimer  <fweimer@redhat.com>
14660         [BZ #19879]
14661         CVE-2016-3075
14662         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
14663         copy name.
14665 2016-03-29  Florian Weimer  <fweimer@redhat.com>
14667         [BZ #19837]
14668         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
14669         error if parse_line fails.
14671 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14673         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
14674         (index_cpu_ERMS): Likewise.
14675         (reg_ERMS): Likewise.
14677 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
14679         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
14680         PER_LINUX_FDPIC): Add.
14682 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14684         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14685         memcpy-avx512-no-vzeroupper.
14686         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
14687         to ...
14688         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
14689         (MEMCPY): Don't define.
14690         (MEMCPY_CHK): Likewise.
14691         (MEMPCPY): Likewise.
14692         (MEMPCPY_CHK): Likewise.
14693         (MEMPCPY_CHK): Renamed to ...
14694         (__mempcpy_chk_avx512_no_vzeroupper): This.
14695         (MEMPCPY_CHK): Renamed to ...
14696         (__mempcpy_chk_avx512_no_vzeroupper): This.
14697         (MEMCPY_CHK): Renamed to ...
14698         (__memmove_chk_avx512_no_vzeroupper): This.
14699         (MEMCPY): Renamed to ...
14700         (__memmove_avx512_no_vzeroupper): This.
14701         (__memcpy_avx512_no_vzeroupper): New alias.
14702         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
14704 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14706         [BZ #18858]
14707         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14708         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
14709         and mempcpy-avx512-no-vzeroupper.
14710         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
14711         New.
14712         (MEMPCPY): Likewise.
14713         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
14714         (MEMPCPY_CHK): New.
14715         (MEMPCPY): Likewise.
14716         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
14717         (MEMPCPY): Likewise.
14718         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
14719         (MEMPCPY): Likewise.
14720         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
14721         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
14722         Likewise.
14723         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
14724         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
14726 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14727              Amit Pawar  <Amit.Pawar@amd.com>
14729         [BZ #19583]
14730         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
14731         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
14732         processors.  Set Fast_Copy_Backward for AMD Excavator
14733         processors.
14734         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
14735         New.
14736         (index_arch_Fast_Unaligned_Copy): Likewise.
14737         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
14738         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
14740 2016-03-25  Florian Weimer  <fweimer@redhat.com>
14742         [BZ #19791]
14743         * resolv/res_send.c (close_and_return_error): New function.
14744         (send_dg): Initialize *resplen2 after reopen failure.  Call
14745         close_and_return_error for error returns.  On error paths without
14746         __res_iclose, initialze *resplen2 explicitly.  Update comment for
14747         successful return.
14749 2016-03-25  Florian Weimer  <fweimer@redhat.com>
14751         [BZ# 19860]
14752         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
14753         zero if the compiler does not provide the AVX512F bit.
14755 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
14757         [BZ #19848]
14758         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
14759         from 8 to 4.
14760         (__ieee754_powl): Compare integer exponent against 4 not 8.
14761         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
14762         from 8 to 4.
14763         (__ieee754_powl): Compare integer exponent against 4 not 8.
14764         * math/auto-libm-test-in: Add more tests of pow.
14765         * math/auto-libm-test-out: Regenerated.
14766         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
14767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14769 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
14771         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
14772         Make code unconditional.
14773         [!__NR_utimensat]: Remove conditional code.
14774         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
14775         Make code unconditional.
14776         [!__NR_utimensat]: Remove conditional code.
14777         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
14778         Make code unconditional.
14779         [!__NR_utimensat]: Remove conditional code.
14781 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
14783         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
14784         Make code unconditional.
14786 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
14788         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
14789         call-clobbered %eax on retry path.
14790         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
14792 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
14794         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
14795         Don't set %rcx twice before "rep movsb".
14797 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
14799         [BZ #19583]
14800         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
14801         inline.  Check family before setting family, model and
14802         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
14803         bits here.
14804         (init_cpu_features): Replace HAS_CPU_FEATURE and
14805         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
14806         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
14807         for Intel processors with usable AVX2.  Call get_common_indeces
14808         for other processors with family == NULL.
14809         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
14810         (CPU_FEATURES_ARCH_P): Likewise.
14811         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
14812         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
14814 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14816         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
14817         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
14818         $(shared-thread-library) instead of hardcoding the path to libpthread.
14820 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
14822         * sysdeps/unix/sysv/linux/kernel-features.h
14823         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
14824         * sysdeps/unix/sysv/linux/getdents.c
14825         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
14826         [!have_no_getdents64_defined]: Likewise.
14827         (__GETDENTS): Remove __have_no_getdents64 conditional.
14829 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
14831         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
14832         Remove macro.
14833         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
14834         <kernel-features.h>.
14835         (signalfd) [__NR_signalfd4]: Make code unconditional.
14836         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
14838 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14840         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
14841         style.
14843 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
14845         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
14846         (__pthread_enable_asynccancel): Use JUMPTARGET to call
14847         __pthread_unwind.
14848         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14849         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
14850         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14851         (__condvar_cleanup1): Likewise.
14853 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
14855         [BZ #19822]
14856         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
14857         move it to the final $@ location.
14859 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14861         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
14862         access where posix_spawn success and pid argument is null.
14863         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
14864         success case.
14866 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
14868         * sysdeps/mach/hurd/i386/c++-types.data: New file.
14870         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
14872         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
14873         and __fcntl.
14874         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
14875         __fcntl only.
14876         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
14877         adding attribute_hidden to __open and __fcntl.
14879         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
14880         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
14881         depend on libc-modules.h,
14882         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
14884 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
14886         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
14887         Remove macro.
14888         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
14889         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
14890         entry.
14892         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
14893         Remove macro.
14894         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
14895         include <kernel-features.h>.
14896         [!__ASSUME_FALLOCATE]: Remove conditional code.
14897         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
14899 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14901         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
14902         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
14903         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
14904         (_ZGVdN4v_cos_avx2): Likewise.
14905         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
14906         (_ZGVdN4v_cos): Likewise.
14907         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
14908         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
14909         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
14910         (_ZGVdN4v_exp_avx2): Likewise.
14911         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
14912         (_ZGVdN4v_exp): Likewise.
14913         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
14914         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
14915         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
14916         (_ZGVdN4v_log_avx2): Likewise.
14917         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
14918         (_ZGVdN4v_log): Likewise.
14919         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
14920         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
14921         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
14922         (_ZGVdN4vv_pow_avx2): Likewise.
14923         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
14924         (_ZGVdN4vv_pow): Likewise.
14925         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
14926         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
14927         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
14928         (_ZGVdN4v_sin_avx2): Likewise.
14929         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
14930         (_ZGVdN4v_sin): Likewise.
14931         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
14932         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
14933         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
14934         (_ZGVdN4vvv_sincos_avx2): Likewise.
14935         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
14936         (_ZGVdN4vvv_sincos): Likewise.
14937         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
14938         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
14939         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
14940         (_ZGVbN4v_cosf_sse4): Likewise.
14941         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
14942         (_ZGVdN8v_cosf_avx2): Likewise.
14943         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
14944         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
14945         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
14946         (_ZGVbN4v_expf_sse4): Likewise.
14947         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
14948         (_ZGVdN8v_expf_avx2): Likewise.
14949         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
14950         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
14951         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
14952         (_ZGVbN4v_logf_sse4): Likewise.
14953         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
14954         (_ZGVdN8v_logf_avx2): Likewise.
14955         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
14956         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
14957         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
14958         (_ZGVbN4vv_powf_sse4): Likewise.
14959         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
14960         (_ZGVdN8vv_powf_avx2): Likewise.
14961         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
14962         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
14963         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
14964         (_ZGVbN4vvv_sincosf_sse4): Likewise.
14965         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
14966         (_ZGVdN8vvv_sincosf_avx2): Likewise.
14967         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
14968         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
14969         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
14970         (_ZGVbN4v_sinf_sse4): Likewise.
14971         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
14972         (_ZGVdN8v_sinf_avx2): Likewise.
14973         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
14974         Use JUMPTARGET to call callee.
14975         (WRAPPER_IMPL_SSE2_ff): Likewise.
14976         (WRAPPER_IMPL_SSE2_fFF): Likewise.
14977         (WRAPPER_IMPL_AVX): Likewise.
14978         (WRAPPER_IMPL_AVX_ff): Likewise.
14979         (WRAPPER_IMPL_AVX_fFF): Likewise.
14980         (WRAPPER_IMPL_AVX512): Likewise.
14981         (WRAPPER_IMPL_AVX512_ff): Likewise.
14982         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
14983         Likewise.
14984         (WRAPPER_IMPL_SSE2_ff): Likewise.
14985         (WRAPPER_IMPL_SSE2_fFF): Likewise.
14986         (WRAPPER_IMPL_AVX): Likewise.
14987         (WRAPPER_IMPL_AVX_ff): Likewise.
14988         (WRAPPER_IMPL_AVX_fFF): Likewise.
14989         (WRAPPER_IMPL_AVX512): Likewise.
14990         (WRAPPER_IMPL_AVX512_ff): Likewise.
14991         (WRAPPER_IMPL_AVX512_fFF): Likewise.
14993 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14995         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
14996         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
14997         qualifier.
14998         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
14999         internal_function qualifiers.
15001 2016-03-15  Carlos O'Donell <carlos@redhat.com>
15003         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
15004         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
15005         * math/atest-exp.c (exp_mpn): Mark chk unused.
15006         * math/atest-exp2.c (exp_mpn): Likewise.
15007         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
15008         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
15010 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
15012         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
15013         Remove macro.
15014         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
15015         <kernel-features.h>.
15016         [__NR_ppoll]: Make code unconditional.
15017         [!__ASSUME_PPOLL]: Remove conditional code.
15019         * sysdeps/unix/sysv/linux/kernel-features.h
15020         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
15021         (__ASSUME_ACCEPT4): Likewise.
15022         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15023         Define.
15024         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
15025         Likewise.
15026         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15027         Likewise.
15028         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
15029         Likewise.
15030         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
15031         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
15032         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15033         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15034         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15035         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15036         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15037         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15038         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15039         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15040         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15041         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15042         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15043         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15044         * sysdeps/unix/sysv/linux/i386/kernel-features.h
15045         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15046         Likewise.
15047         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15048         Likewise.
15049         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15050         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
15051         0x040300].
15052         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15053         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15054         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15055         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15056         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
15057         0x030300].
15058         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
15059         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15060         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15061         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
15062         0x040300].
15063         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15064         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15065         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15066         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15067         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15068         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15069         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
15070         0x030300].
15071         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15072         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15073         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15074         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15075         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15076         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15077         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15078         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15079         * sysdeps/unix/sysv/linux/s390/kernel-features.h
15080         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15081         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
15082         0x040300].
15083         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15084         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15085         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15086         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15087         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15088         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15089         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15090         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15091         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15092         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15093         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15094         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15095         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15096         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15097         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
15098         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15099         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15100         Likewise.
15101         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15102         Likewise.
15104 2016-03-15  Andreas Schwab  <schwab@suse.de>
15106         [BZ #19257]
15107         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
15108         statp->_u._ext.nscount as loop count.
15110 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
15112         * math/test-signgam-finite-c99.c: Also #undef
15113         __LIBC_INTERNAL_MATH_INLINES.
15114         * math/test-signgam-main.c: Likewise.
15116 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
15118         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
15119         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15120         (MADV_FREE): Likewise.
15121         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
15122         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
15123         EPOLLEXCLUSIVE.
15125 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
15127         * timezone/README: Remove mention of checktab.awk. Mention wiki
15128         SharedSourceFiles.
15130 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
15132         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
15133         WUNTRACED.
15135 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15137         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
15138         order to match the type of p when calling atomic_exchange_acq().
15140 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15142         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
15143         cfi_offset calls.
15144         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
15145         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
15146         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
15147         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
15148         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
15150 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
15152         * timezone/checktab.awk: Removed.
15154 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
15156         * manual/math.texi (Errors in Math Functions): Document relaxed
15157         accuracy goals for IBM long double.
15158         * math/libm-test.inc (test_exceptions): Always allow spurious
15159         "underflow" and "inexact" exceptions for IBM long double.
15161 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
15163         [BZ #19762]
15164         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
15165         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
15166         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
15167         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
15168         (bit_arch_*): This for feature array.
15169         (bit_*): Renamed to ...
15170         (bit_cpu_*): This for cpu array.
15171         (index_*): Renamed to ...
15172         (index_arch_*): This for feature array.
15173         (index_*): Renamed to ...
15174         (index_cpu_*): This for cpu array.
15175         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
15176         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
15177         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
15178         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
15179         bit_##name with index_cpu_##name and bit_cpu_##name.
15180         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
15181         bit_##name with index_arch_##name and bit_arch_##name.
15183 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
15185         [BZ #19792]
15186         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
15187         Terminate FDE before return label.
15189 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
15191         [BZ #19790]
15192         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
15193         (rintl): Define as macro.
15194         [USE_AS_NEARBYINTL] (__rintl): Likewise.
15195         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
15196         of fesetround.  Ensure results are evaluated before end of scope.
15197         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
15198         USE_AS_NEARBYINTL and include s_rintl.c.
15199         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
15200         Disable exception traps in new environment.
15201         (libc_feholdsetround_ppc_ctx): Likewise.
15203 2016-03-08  Roland McGrath  <roland@hack.frob.com>
15205         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
15206         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
15207         (tst_audit10_aux) [__AVX512F__]: ... here.
15209 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
15211         * include/sys/auxv.h: New file.
15213 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
15215         [BZ #19759]
15216         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
15218 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15220         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
15221         operand modifier.
15222         (feclearexcept): Likewise.
15224 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15226         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
15227         to reflect the entire 32-bit HWCAP.
15228         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
15229         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
15231 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
15233         [BZ #19783]
15234         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
15235         $(test-via-rtld-prefix).
15236         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
15238 2016-03-08  Florian Weimer  <fweimer@redhat.com>
15240         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
15241         union wait.  Report any non-zero exit status as error.
15243 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15245         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
15246         configured with --enable-hardcoded-path-in-tests.
15248 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
15250         [BZ #19677]
15251         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
15252         (__ieee754_remainderl): Put zero low parts in canonical form.
15253         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
15254         file.  Based on
15255         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
15256         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
15257         with wrapper round test-fmodrem-ldbl-128ibm.c.
15258         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
15259         file.
15260         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
15261         Likewise.
15262         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
15263         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
15265 2016-03-07  Florian Weimer  <fweimer@redhat.com>
15267         [BZ #19610]
15268         * elf/ldconfig.c (opt_link): Update comment.
15269         (options): Update help string for option -X.
15270         (search_dir): Unlink stale symbolic link only if updating symbolic
15271         links.
15272         * elf/tst-ldconfig-X.sh: New file.
15273         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
15274         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
15276 2016-03-07  Andreas Schwab  <schwab@suse.de>
15278         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
15279         needed arguments.
15281 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
15283         [BZ #15333]
15284         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
15285         to lstat64.
15287 2016-03-07  Florian Weimer  <fweimer@redhat.com>
15289         * libio/filedoalloc.c (isatty): Remove.
15290         (local_isatty): Add comment.  Call __isatty directly.
15291         (_IO_file_doallocate): Update comment.  Assume _LIBC.
15292         * libio/wfiledoalloc.c (isatty): Remove.
15293         (_IO_wfile_doallocate): Update comment.
15295 2016-03-07  Florian Weimer  <fweimer@redhat.com>
15297         [BZ #19269]
15298         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
15299         tst-audit4-aux.o.
15300         (tst-audit10): Depend on tst-audit10-aux.o.
15301         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
15302         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
15303         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
15304         instead of inline AVX code.
15305         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
15306         instead of inline AVX512 code.
15307         * sysdeps/x86_64/tst-audit4-aux.c: New file
15308         * sysdeps/x86_64/tst-audit10-aux.c: New file
15310         [BZ #19648]
15311         * test-skeleton.c (main): Do not set RLIMIT_DATA.
15313 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15315         [BZ #14750]
15316         [BZ #10354]
15317         [BZ #18433]
15318         * include/sched.h (__clone): Add hidden prototype.
15319         (__clone2): Likewise.
15320         * include/unistd.h (__dup): Likewise.
15321         * posix/Makefile (tests): Add tst-spawn2.
15322         * posix/tst-spawn2.c: New file.
15323         * sysdeps/posix/dup.c (__dup): Add hidden definition.
15324         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
15325         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
15326         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
15327         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
15328         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
15329         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
15330         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
15331         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
15332         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
15333         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
15334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
15335         Likewise.
15336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15337         Likewise.
15338         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
15339         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
15340         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
15341         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
15342         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
15343         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
15344         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
15345         * sysdeps/unix/sysv/linux/nptl-signals.h
15346         (____nptl_is_internal_signal): New function.
15347         * sysdeps/unix/sysv/linux/spawni.c: New file.
15349         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
15350         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
15351         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
15352         * posix/tst-execvp2.c (do_test): Likewise.
15353         * posix/tst-execvp3.c (do_test): Likewise.
15354         * posix/tst-execvp4.c (do_test): Likewise.
15355         * posix/tst-execvpe1.c: New file.
15356         * posix/tst-execvpe2.c: Likewise.
15357         * posix/tst-execvpe3.c: Likewise.
15358         * posix/tst-execvpe4.c: Likewise.
15359         * posix/tst-execvpe5.c: Likewise.
15360         * posix/tst-execvpe6.c: Likewise.
15362         [BZ #19534]
15363         * posix/execl.c (execl): Remove dynamic memory allocation.
15364         * posix/execle.c (execle): Likewise.
15365         * posix/execlp.c (execlp): Likewise.
15367 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
15369         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
15370         Replace .text with .text.avx512.
15371         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
15372         Likewise.
15374 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
15376         * sysdeps/generic/libnsl.abilist: New file.
15377         * sysdeps/generic/libutil.abilist: New file.
15379 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
15381         [BZ #19762]
15382         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
15383         HAS_ARCH_FEATURE with Fast_Rep_String.
15384         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
15385         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
15386         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
15387         Likewise.
15388         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
15389         Likewise.
15390         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
15391         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
15392         Likewise.
15393         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
15394         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
15395         Likewise.
15397 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
15399         [BZ #19745]
15400         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
15401         with *%rax in call.
15403 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
15405         [BZ #19745]
15406         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
15407         with *__libc_start_main@GOTPCREL(%rip) in call.
15409 2016-03-04  Roland McGrath  <roland@hack.frob.com>
15411         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
15412         inside conditional for nonempty $(CXX).
15414         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
15415         nonempty.
15417         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
15418         to test for empty $(CXX) rather than $(CXX) of "no".
15420 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
15422         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
15424 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
15425             H.J. Lu  <hongjiu.lu@intel.com>
15427         [BZ #18880]
15428         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
15429         instead of Slow_BSF, and also check for Fast_Copy_Backward to
15430         enable __memcpy_ssse3_back.
15432 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
15434         [BZ #19758]
15435         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
15436         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
15438 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
15440         [BZ #19490]
15441         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
15442         (__fentry__): Likewise.
15444 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
15446         * gmon/Makefile (noprof): Add $(sysdep_noprof).
15447         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
15449 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
15451         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
15452         __mcount_internal directly.
15453         (C_LABEL(__fentry__)): Likewise.
15454         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
15455         directly.
15457 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
15459         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15460         (__start_context): Call __setcontext directly.
15462 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
15464         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15465         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15466         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
15467         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
15468         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15469         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15470         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
15471         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15472         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15473         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
15474         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
15475         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
15476         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15477         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15478         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15479         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15480         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
15481         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15482         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15483         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
15484         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
15485         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15486         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15487         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
15488         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
15489         Remove conditional code.
15490         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15491         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
15492         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15493         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15494         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
15495         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15496         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
15497         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15498         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15499         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15500         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15501         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15503 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
15505         * NEWS (2.23): Fix typo in bug 19048 text.
15507 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
15509         [BZ #14259]
15510         * Makeconfig: Rename msgcatdir to localedir.
15511         Rename inst_msgcatdir to inst_localedir.
15512         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
15513         * config.make.in: Add localedir.
15514         * elf/Makefile ($(objpfx)sotruss): Use localedir.
15515         (ldd-rewrite): Likewise.
15516         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
15517         (install-others): Use inst_localedir.
15518         (CPPFLAGS): Use localedir.
15519         * locale/Makefile (locale-CPPFLAGS): Likewise.
15520         * po/Makefile (mo-installed): Use inst_localedir.
15522         [BZ #19575]
15523         * localedata/charmaps/GB18030: Update comments regarding PAU to
15524         non-PUA mappings.
15526 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
15528         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
15529         test for header.
15530         * sysdeps/unix/sysv/linux/configure: Regenerated.
15531         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
15532         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
15533         Remove conditional code.
15534         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
15536         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
15537         Define to 3.2.0.
15538         (arch_minimum_kernel): Likewise.
15539         * sysdeps/unix/sysv/linux/configure: Regenerated.
15540         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
15541         Define to 2.6.32.
15542         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
15543         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
15544         (arch_minimum_kernel): Define to 2.6.32.
15545         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
15546         * README: Document Linux 3.2 requirement.
15547         * manual/install.texi (Linux): Document Linux 3.2 headers
15548         requirement.
15549         * INSTALL: Regenerated.
15551 2016-02-24  Andreas Schwab  <schwab@suse.de>
15553         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
15554         if !NO_LONG_DOUBLE.
15556 2016-02-22  Roland McGrath  <roland@hack.frob.com>
15558         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
15559         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
15561 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
15563         [BZ #19512]
15564         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
15566 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
15568         * posix/tst-dir.c: Include libc-internal.h.
15570 2016-02-20  Florian Weimer  <fweimer@redhat.com>
15572         [BZ #19056]
15573         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
15574         * manual/filesys.texi (Reading/Closing Directory): Mention
15575         deprecaion.
15576         * posix/tst-dir.c (main): Disable deprecation warning in test.
15578 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
15580         [BZ #19679]
15581         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
15582         Renamed to ...
15583         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
15584         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
15585         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
15586         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
15587         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
15588         * sysdeps/x86_64/dl-trampoline.h
15589         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
15590         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
15592 2016-02-19  Mark Wielaard  <mjw@redhat.com>
15594         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
15596 2016-02-19  Mark Wielaard  <mjw@redhat.com>
15598         * elf/elf.h (R_386_GOT32X): New.
15599         (R_386_NUM): Update.
15600         (R_X86_64_GOTPCRELX: New.
15601         (R_X86_64_REX_GOTPCRELX): New.
15602         (R_X86_64_NUM): Update.
15604 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
15606         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
15608 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
15610         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
15611         assign attr->stackaddr to it, and adjust it down when
15612         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
15613         [_STACK_GROWS_UP]: Delete assert.
15614         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
15615         Implement stack grows up logic.
15616         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
15617         stack grows up logic.
15619 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15621         * NEWS: Update with 2.24 template.
15623 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
15625         [BZ #19678]
15626         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15627         Ensure +0.0 is returned when taking the next value below the least
15628         positive value.
15630 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15632         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
15633         available.  Do not define NO_THREADS.
15634         * malloc/malloc.c: Do not check NO_THREADS.
15635         * malloc/arena.c: Likewise.
15637 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15639         * malloc/malloc.c (__libc_mallinfo): Update comment.
15640         (struct malloc_par): Remove max_total_mem member, it was always 0.
15641         (int_mallinfo): Store 0 into usmblks (no functional change).
15642         * malloc/hooks.c (struct malloc_state): Document that
15643         max_total_mem is always 0.
15644         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
15645         always 0.
15646         * manual/memory.texi (Statistics of Malloc): Likewise.
15648 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15650         * malloc/malloc.c (sysmalloc): Do not update arena_max.
15651         * malloc/arena.c (arena_max): Remove.
15652         (heap_trim, _int_new_arena): Do not update arena_max.
15654 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15656         * resolv/res_init.c (res_ninit): Update comment.
15658 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15660         [BZ #19505]
15661         * posix/spawn_int.h: Add headers and include guard.
15662         (__spawn_valid_fd): New function.
15663         * posix/spawn_faction_addopen.c
15664         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
15665         * posix/spawn_faction_addclose.c
15666         (posix_spawn_file_actions_addclose): Likewise.
15667         * posix/spawn_faction_adddup2.c
15668         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
15669         second file descriptor.
15670         * posix/spawn_valid_fd.c: New file.
15671         * posix/tst-posix_spawn-fd.c: New file.
15672         * posix/Makefile (routines): Add spawn_valid_fd.
15673         (tests): Add tst-posix_spawn-fd.
15675 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15677         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
15678         (do_test): Limit the number of arenas, so that we can use fewer
15679         outer threads.  Limit timeout to 3 seconds, in preparation for a
15680         larger TIMEOUT value.
15682 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
15684         [BZ #19674]
15685         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
15686         sign in overflowing and underflowing results when overflow or
15687         underflow is detected early.  Include sign in result before rather
15688         than after scaling.
15690         [BZ #19603]
15691         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
15692         (__ieee754_remainderl): Adjust sign of integer version of low part
15693         when taking absolute value of high part.
15694         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15695         * math/libm-test.inc (remainder_test_data): Add another test.
15696         (remquo_test_data): Likewise.
15698 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
15700         [BZ #19602]
15701         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
15702         equal high parts and both low parts zero specially.
15703         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
15704         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15705         Add test-fmodl-ldbl-128ibm.
15707         [BZ #19595]
15708         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
15709         common logic for all cases of shifting subnormal results.  Do not
15710         insert sign bit in shifted mantissa.  Always pass -1023 as biased
15711         exponent to ldbl_insert_mantissa in subnormal case.
15713         [BZ #19594]
15714         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
15715         on high and low parts then adjust result and use
15716         ldbl_canonicalize_int if needed.
15718         [BZ #19593]
15719         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
15720         on high part and __floor or __ceil on low part then use
15721         ldbl_canonicalize_int if needed.
15723         [BZ #19592]
15724         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
15725         high and low parts then use ldbl_canonicalize_int if needed.
15727         [BZ #17899]
15728         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
15729         New function.
15730         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
15731         on high and low parts then use ldbl_canonicalize_int if needed.
15733 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15735         * configure: Regenerated.
15737         * po/libc.pot: Regenerated.
15739         * po/be.po: Updated translation.
15740         * po/bg.po: Likewise.
15741         * po/ca.po: Likewise.
15742         * po/cs.po: Likewise.
15743         * po/da.po: Likewise.
15744         * po/el.po: Likewise.
15745         * po/eo.po: Likewise.
15746         * po/es.po: Likewise.
15747         * po/fi.po: Likewise.
15748         * po/fr.po: Likewise.
15749         * po/gl.po: Likewise.
15750         * po/hr.po: Likewise.
15751         * po/hu.po: Likewise.
15752         * po/ia.po: Likewise.
15753         * po/id.po: Likewise.
15754         * po/it.po: Likewise.
15755         * po/ja.po: Likewise.
15756         * po/lt.po: Likewise.
15757         * po/nb.po: Likewise.
15758         * po/nl.po: Likewise.
15759         * po/pt_BR.po: Likewise.
15760         * po/rw.po: Likewise.
15761         * po/sk.po: Likewise.
15762         * po/sl.po: Likewise.
15763         * po/sv.po: Likewise.
15764         * po/tr.po: Likewise.
15765         * po/zh_CN.po: Likewise.
15766         * po/zh_TW.po: Likewise.
15768         * version.h (RELEAES): Set to "development".
15769         (VERSION): Set to 2.23.90.
15771         * version.h (RELEASE): Set to "stable".
15772         (VERSION): Set to 2.23.
15773         * include/feature.h (__GLIBC_MINOR__): Set to 23.
15775         * NEWS: Updated fixed bugs.
15777 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
15778             Wilco Dijkstra  <wdijkstr@arm.com>
15780         [BZ #19462]
15781         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
15782         (_STRING_INLINE_unaligned): This.
15783         * include/string.h: Include <string_private.h>.
15784         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
15785         _STRING_INLINE_unaligned.
15786         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
15787         (_STRING_INLINE_unaligned): New.
15788         * sysdeps/aarch64/string_private.h: New file.
15789         * sysdeps/generic/string_private.h: Likewise.
15790         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
15791         * sysdeps/s390/string_private.h: Likewise.
15792         * sysdeps/x86/string_private.h: Likewise.
15793         * sysdeps/m68k/m680x0/m68020/bits/string.h
15794         (_STRING_ARCH_unaligned): Renamed to ...
15795         (_STRING_INLINE_unaligned): This.
15796         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
15797         to ...
15798         (_STRING_INLINE_unaligned): This.
15799         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
15800         to ...
15801         (_STRING_INLINE_unaligned): This.
15802         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
15803         to ...
15804         (_STRING_INLINE_unaligned): This.
15806 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
15807             H.J. Lu  <hongjiu.lu@intel.com>
15809         [BZ #19590]
15810         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
15811         relocation.
15813 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
15815         [BZ #18665]
15816         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
15817         *herrno_p.
15818         (gaih_getanswer): Document functional behviour. Return tryagain
15819         if any result is tryagain.
15820         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
15821         when freed.
15822         * resolv/res_send.c: Add copyright text.
15823         (__libc_res_nsend): Document that MAXPACKET is expected.
15824         (send_vc): Document. Remove buffer reuse.
15825         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
15826         size of the buffer. Add Dprint for truncated UDP buffer.
15828 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
15830         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
15831         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
15832         * INSTALL: Regenerate.
15834 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
15835             Jonathan Wakely  <jwakely@redhat.com>
15836             Carlos O'Donell  <carlos@redhat.com>
15838         [BZ 19439]
15839         * math/Makefile (tests): Add test-math-isinff.
15840         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
15841         * math/bits/mathcalls.h [__USE_MISC]: Use
15842         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
15843         functions not in C++11 and which don't conflict e.g. isinff,
15844         isinfl etc.
15845         * math/test-math-isinff.cc: New file.
15847 2016-02-12  Florian Weimer  <fweimer@redhat.com>
15849         * misc/bug18240.c (do_test): Set RLIMIT_AS.
15851 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15853         [BZ #19529]
15854         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
15856 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15858         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
15860 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
15862         [BZ #19550]
15863         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
15864         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
15865         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
15866         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
15867         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
15868         New syscall entry.
15869         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
15870         New syscall entry.
15871         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
15872         syscall entry.
15874 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
15876         [BZ #18240]
15877         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
15878         unsigned int wraparound.
15880 2016-01-27  Florian Weimer  <fweimer@redhat.com>
15882         [BZ #18240]
15883         * misc/bug18240.c: New test.
15884         * misc/Makefile (tests): Add it.
15886 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
15887             Joseph Myers  <joseph@codesourcery.com>
15889         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
15890         load in branch delay slot when less than a word of input left.
15892 2016-01-27  Andreas Schwab  <schwab@suse.de>
15894         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
15895         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
15896         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
15897         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
15899 2016-01-26  David S. Miller  <davem@davemloft.net>
15901         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
15903 2016-01-25  David S. Miller  <davem@davemloft.net>
15905         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
15906         __sqrtl_finite.
15907         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
15908         instead using versioned_symbol.
15909         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
15910         of entries.
15912         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
15913         __sqrtl_finite to GLIBC_2.23
15915 2016-01-25  Ricchard Henderson  <rth@redhat.com>
15917         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15919 2016-01-25  Andreas Schwab  <schwab@suse.de>
15921         [BZ #17514]
15922         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
15923         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
15924         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
15925         * nptl/tst-mutex-errorcheck.c: New file.
15927 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15929         [BZ #18560]
15930         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
15931         (IPCOP_semop): Likewise.
15932         (IPCOP_semget): Likewise.
15933         (IPCOP_semctl): Likewise.
15934         (IPCOP_msgsnd): Likewise.
15935         (IPCOP_msgrcv): Likewise.
15936         (IPCOP_msgget): Likewise.
15937         (IPCOP_msgctl): Likewise.
15938         (IPCOP_shmat): Likewise.
15939         (IPCOP_shmdt): Likewise.
15940         (IPCOP_shmget): Likewise.
15941         (IPCOP_shmctl): Likewise.
15943 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
15945         * string/tst-endian.c: Include <libc-internal.h>.
15946         (do_test): Ignore tautological-compare warnings around
15947         "htobeXX (beXXtoh (i)) != i" and
15948         "htoleXX (leXXtoh (i)) != i" if-statements.
15950 2016-01-24  David S. Miller  <davem@davemloft.net>
15952         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
15953         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
15954         alias.
15955         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
15956         __sqrtl_finite.
15958         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15960 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
15962         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
15963         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
15964         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15966 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15968         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
15969         (thread_func): Use new function to simplify barrier check.
15970         (do_test): Use new function to simplify checking barrier exit
15971         code, and actually join the child thread.
15973 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15975         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
15976         semicolon.
15977         (__libc_tend): Likewise.
15978         (__libc_tabort): Likewise.
15980 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
15982         * sysdeps/nios2/libm-test-ulps: Update.
15983         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
15984         (__gtsf2): Likewise.
15985         (__unorddf2): Likewise.
15986         (__unordsf2): Likewise.
15987         (__ledf2): Likewise.
15989 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
15991         * nis/nis_table.c (__follow_path): Disable diagnostic for
15992         uninitialized variable that is a false positive for gcc 4.7.
15993         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
15995 2016-01-20  Roland McGrath  <roland@hack.frob.com>
15997         * sysdeps/nacl/lowlevellock-futex.h
15998         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
15999         Always evaluate PRIVATE argument.
16001 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
16003         [BZ #19490]
16004         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
16005         (pthread_cond_broadcast): Use ENTRY/END
16006         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
16007         (pthread_cond_signal): Likewise.
16008         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
16009         Likewise.
16010         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
16011         Likewise.
16012         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
16013         Likewise.
16015 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
16017         * sysdeps/ieee754/dbl-64/s_finite.c
16018         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
16019         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
16020         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
16021         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
16022         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
16024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
16025         (__gtsf2): Add as optional for libc.so.
16026         (__unordsf2): Likewise.
16027         (__signbit): Remove for libc.so.
16028         (__signbitl): Likewise.
16030 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16032         * iconvdata/bug-iconv11.c (test_ibm93x):
16033         Use %zu printf format specifier for size_t argument.
16035 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
16037         * math/gen-libm-test.pl (parse_ulps): Do not reduce
16038         already-recorded ulps.
16039         * sysdeps/arm/libm-test-ulps: Regenerated.
16040         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16041         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16042         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16044 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16045             Paul Pluzhnikov  <ppluzhnikov@google.com>
16047         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
16048         assembler not supporting AVX-512.
16050 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
16052         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16054 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
16056         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16057         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16059         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16061         * sysdeps/arm/libm-test-ulps: Regenerated.
16063 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
16065         [BZ #19451]
16066         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
16068 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
16070         [BZ #19486]
16071         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
16072         * sysdeps/generic/fix-fp-int-convert-overflow.h
16073         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
16074         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
16075         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
16076         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
16077         Likewise.
16078         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
16079         Avoid conversions to long int where inexact exceptions
16080         could be raised.
16081         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
16082         Likewise.
16083         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
16084         Avoid conversions to long long int where inexact exceptions
16085         could be raised.
16086         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
16087         Likewise.
16089 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
16091         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
16092         * configure: Regenerated.
16094 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
16096         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
16098 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
16100         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
16101         outside of comment.
16103 2016-01-15  Torvald Riegel  <triegel@redhat.com>
16105         * nptl/tst-barrier1.c: Add description on first line.
16106         * nptl/tst-barrier2.c: Likewise.
16107         * nptl/tst-barrier3.c: Likewise.
16108         * nptl/tst-barrier4.c: Likewise.
16109         * nptl/tst-barrier5.c: Likewise.
16111 2016-01-15  Torvald Riegel  <triegel@redhat.com>
16113         [BZ #18868]
16114         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
16116 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
16118         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
16119         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
16120         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
16121         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
16122         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
16123         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
16124         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16125         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16126         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16127         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16128         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16130 2016-01-15  Torvald Riegel  <triegel@redhat.com>
16132         [BZ #13065]
16133         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
16134         new implementation.
16135         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
16136         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
16137         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
16138         (BARRIER_IN_THRESHOLD): New macro.
16139         * nptl/pthread_barrierattr_setpshared.c
16140         (pthread_barrierattr_setpshared): Clean up.
16141         * nptl/tst-barrier4.c: Correct comment.
16142         * nptl/tst-barrier5.c: New file.
16143         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
16144         (gen-as-const-headers): Remove lowlevelbarrier.sym.
16145         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
16146         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
16147         * nptl/lowlevelbarrier.sym: Remove.
16148         * nptl/DESIGN-barrier.txt: Remove.
16149         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
16150         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
16151         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
16152         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
16153         error.
16154         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
16155         implementation.
16157 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16159         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
16160         (do_child): Mask SIGRTMIN while thr is running.
16162 2016-01-15  Martin Sebor  <msebor@redhat.com>
16164         [BZ #19432]
16165         * iconvdata/Makefile: Add bug-iconv11.
16166         * iconvdata/bug-iconv11.c: New test.
16167         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
16168         * iconvdata/ibm933.c: Same.
16169         * iconvdata/ibm935.c: Same.
16170         * iconvdata/ibm937.c: Same.
16171         * iconvdata/ibm939.c: Same.
16173 2016-01-15  Martin Sebor  <msebor@redhat.com>
16175         [BZ #19443]
16176         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
16177         [DEBUG] (_ufc_set_bits): Declare used.
16178         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
16179         [DEBUG] (print_all): Declare used.
16180         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
16181         operands of the ternary ?: expression to target type.
16182         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
16183         calling the undeclared abort.
16184         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
16186 2016-01-15  Martin Sebor  <msebor@redhat.com>
16188         [BZ #18755]
16189         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
16190         warnings.
16191         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
16192         (__gai_create_helper_thread): Same.
16193         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
16194         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
16195         to suppress -Wmaybe-uninitialized warnings.
16197 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
16199         [BZ #19465]
16200         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
16201         inside if.
16202         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16203         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16204         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16206 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
16208         [BZ #19466]
16209         * time/tst-mktime2.c (time_t_max): Removed.
16210         (time_t_min): Likewise.
16211         (TYPE_SIGNED): New.
16212         (TYPE_MINIMUM): Likewise.
16213         (TYPE_MAXIMUM): Likewise.
16214         (TIME_T_MIN): Likewise.
16215         (TIME_T_MAX): Likewise.
16216         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
16217         and TIME_T_MIN.
16218         (do_test): Likewise.
16220 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
16222         [BZ #19467]
16223         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
16224         index_Fast_Unaligned_Load flag for Excavator family CPUs.
16226 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
16228         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
16230 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
16232         * benchtests/Makefile (PYTHON): Define.
16233         (bench-func): Use $(PYTHON) to run python scripts.
16234         ($(objpfx)bench-%.c): Likewise.
16236 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
16238         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
16239         leading slash when `file_name' is "/".
16241 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
16243         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
16244         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
16245         Likewise.
16246         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
16247         Likewise.
16248         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
16249         Likewise.
16250         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
16251         enum constant and macro.
16252         (PTRACE_SETSIGMASK): Likewise.
16253         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16254         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
16255         (PTRACE_GETSIGMASK): Likewise.
16256         (PTRACE_SETSIGMASK): Likewise.
16257         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16258         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
16259         Likewise.
16260         (PTRACE_SETSIGMASK): Likewise.
16261         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16262         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
16263         (PTRACE_GETSIGMASK): Likewise.
16264         (PTRACE_SETSIGMASK): Likewise.
16265         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16266         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
16267         Likewise.
16268         (PTRACE_SETSIGMASK): Likewise.
16269         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16270         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
16271         Likewise.
16272         (PTRACE_SETSIGMASK): Likewise.
16273         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16274         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
16275         Likewise.
16276         (PTRACE_SETSIGMASK): Likewise.
16277         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16279 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
16280             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16282         [BZ #19439]
16283         * math/bits/mathcalls.h
16284         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
16285         prototype.
16286         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
16288 2016-01-11  Andreas Schwab  <schwab@suse.de>
16290         [BZ #19253]
16291         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
16292         cache when TZDEFRULES was used.
16293         * time/tst-tzname.c: New file.
16294         * time/Makefile (test): Add tst-tzname.
16295         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
16296         * timezone/Makefile (test-zones): Add $(posixrules-file).
16297         ($(testdata)/$(posixrules-file)): New rule.
16299 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
16301         Fix doc quoting problems with Texinfo 5
16302         Without this change, in the info file output, Texinfo 5 quotes code
16303         in text with undirected single quotes 'like this' and generates
16304         code examples that with many PDF readers cannot be cut out of PDFs
16305         and pasted into code.
16306         * manual/libc.texinfo: Configure the libc manual like the GNU
16307         Emacs manual, by using @documentencoding and setting
16308         txicodequoteundirected and txicodequotebacktick.  This way,
16309         Texinfo 5 quotes code in text with directed single quotes ‘like
16310         this’ and produces examples that can be cut out of PDFs.  This
16311         change causes Texinfo 5 to generate info files that contain UTF-8
16312         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
16313         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
16315 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16317         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
16318         __libc_tabort, __libc_tend): New wrappers that enforce compiler
16319         barriers to their respective compiler built-ins.
16320         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
16321         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
16322         * sysdeps/powerpc/sysdep.h: Likewise.
16323         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
16324         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
16325         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
16327 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
16329         * scripts/config.guess: Revert previous shebang change.
16330         * scripts/config.sub: Likewise.
16331         * scripts/mkinstalldirs: Likewise.
16333 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16335         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
16336         PPC_FEATURE2_HAS_IEEE128.
16337         * sysdeps/powerpc/dl-procinfo.c:
16338         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
16340 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
16342         [BZ #19415]
16343         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
16344         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
16345         (_dl_lookup_address): Rewrite using function resolver trampoline.
16346         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
16347         two bits in address.
16349 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
16351         * longlong.h: Change !__SHMEDIA__ to
16352         (!defined (__SHMEDIA__) || !__SHMEDIA__).
16353         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
16355 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
16356             Joseph Myers  <joseph@codesourcery.com>
16357             Mark Shinwell  <shinwell@codesourcery.com>
16358             Andrew Stubbs  <ams@codesourcery.com>
16359             Rich Felker <dalias@libc.org>
16361         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
16363 2016-01-07  Richard Henderson  <rth@redhat.com>
16365         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
16367 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
16369         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
16370         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
16371         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
16372         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
16373         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
16375 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
16376             Joseph Myers  <joseph@codesourcery.com>
16378         * timezone/private.h: Update from tzcode 2015g.
16379         * timezone/tzfile.h: Likewise.
16380         * timezone/tzselect.ksh: Likewise.
16381         * timezone/zdump.c: Likewise.
16382         * timezone/zic.c: Likewise.
16383         * timezone/ialloc.c: Remove file.
16384         * timezone/scheck.c: Likewise.
16385         * timezone/Makefile (extra-objs): Remove variable.
16386         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
16387         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
16388         -Wno-maybe-uninitialized.
16389         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
16390         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
16391         (CFLAGS-ialloc.c): Remove variable.
16392         (CFLAGS-scheck.c): Likewise.
16393         * timezone/README: Update list of files from tzcode.
16395 2016-01-07  Khem Raj  <raj.khem@gmail.com>
16397         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
16398         instead of __fxprintf when _LIBC is undefined.
16400 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
16402         * catgets/test-gencat.sh: Remove space after shebang.
16403         * conform/GlibcConform.pm: Likewise.
16404         * conform/check-header-lists.sh: Likewise.
16405         * conform/conformtest.pl: Likewise.
16406         * conform/linknamespace.pl: Likewise.
16407         * conform/list-header-symbols.pl: Likewise.
16408         * debug/catchsegv.sh: Likewise.
16409         * elf/genrtldtbl.awk: Likewise.
16410         * elf/tst-pathopt.sh: Likewise.
16411         * elf/tst-rtld-load-self.sh: Likewise.
16412         * grp/tst_fgetgrent.sh: Likewise.
16413         * iconvdata/gen-8bit-gap-1.sh: Likewise.
16414         * iconvdata/gen-8bit-gap.sh: Likewise.
16415         * iconvdata/gen-8bit.sh: Likewise.
16416         * iconvdata/run-iconv-test.sh: Likewise.
16417         * intl/tst-gettext.sh: Likewise.
16418         * intl/tst-gettext2.sh: Likewise.
16419         * intl/tst-gettext4.sh: Likewise.
16420         * intl/tst-gettext6.sh: Likewise.
16421         * intl/tst-translit.sh: Likewise.
16422         * io/ftwtest-sh: Likewise.
16423         * libio/test-freopen.sh: Likewise.
16424         * locale/gen-translit.pl: Likewise.
16425         * malloc/tst-mtrace.sh: Likewise.
16426         * manual/check-safety.sh: Likewise.
16427         * manual/libc-texinfo.sh: Likewise.
16428         * manual/tsort.awk: Likewise.
16429         * manual/xtract-typefun.awk: Likewise.
16430         * nptl/tst-cancel-wrappers.sh: Likewise.
16431         * nptl/tst-tls6.sh: Likewise.
16432         * posix/globtest.sh: Likewise.
16433         * posix/tst-getconf.sh: Likewise.
16434         * posix/wordexp-tst.sh: Likewise.
16435         * scripts/check-c++-types.sh: Likewise.
16436         * scripts/check-local-headers.sh: Likewise.
16437         * scripts/config.guess: Likewise.
16438         * scripts/config.sub: Likewise.
16439         * scripts/cpp: Likewise.
16440         * scripts/cross-test-ssh.sh: Likewise.
16441         * scripts/documented.sh: Likewise.
16442         * scripts/evaluate-test.sh: Likewise.
16443         * scripts/gen-libc-abis: Likewise.
16444         * scripts/gen-sorted.awk: Likewise.
16445         * scripts/list-fixed-bugs.py: Likewise.
16446         * scripts/merge-test-results.sh: Likewise.
16447         * scripts/mkinstalldirs: Likewise.
16448         * scripts/rellns-sh: Likewise.
16449         * scripts/test-installation.pl: Likewise.
16450         * scripts/update-copyrights: Likewise.
16451         * stdio-common/tst-printf.sh: Likewise.
16452         * stdio-common/tst-unbputc.sh: Likewise.
16453         * stdlib/tst-fmtmsg.sh: Likewise.
16454         * stdlib/tst-setcontext3.sh: Likewise.
16455         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
16456         * sysdeps/unix/make-syscalls.sh: Likewise.
16458 2016-01-06  John David Anglin  <dave.anglin@bell.net>
16460         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
16461         asm stw with atomic_exchange_rel.  Add explanatory comment.
16462         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
16463         Likewise.
16465 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
16467         [BZ #19122]
16468         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
16469         * sysdeps/generic/dl-unistd.h: New file.
16470         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
16472 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
16474          [BZ #19122]
16475          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
16476          * sysdeps/generic/dl-mman.h: New file.
16477          * sysdeps/mach/hurd/dl-mman.h: Likewise.
16479 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
16481         * manual/texinfo.tex: Update to version 2016-01-04.21 with
16482         trailing whitespace removed.
16483         * scripts/config.guess: Update to version 2016-01-01.
16484         * scripts/config.sub: Update to version 2016-01-01.
16485         * scripts/move-if-change: Update from gnulib.
16487 2016-01-04  Anton Blanchard  <anton@samba.org>
16489         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
16490         for array indices.
16491         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
16493 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
16495         * NEWS: Update copyright dates.
16496         * catgets/gencat.c (print_version): Likewise.
16497         * csu/version.c (banner): Likewise.
16498         * debug/catchsegv.sh: Likewise.
16499         * debug/pcprofiledump.c (print_version): Likewise.
16500         * debug/xtrace.sh (do_version): Likewise.
16501         * elf/ldconfig.c (print_version): Likewise.
16502         * elf/ldd.bash.in: Likewise.
16503         * elf/pldd.c (print_version): Likewise.
16504         * elf/sotruss.sh: Likewise.
16505         * elf/sprof.c (print_version): Likewise.
16506         * iconv/iconv_prog.c (print_version): Likewise.
16507         * iconv/iconvconfig.c (print_version): Likewise.
16508         * locale/programs/locale.c (print_version): Likewise.
16509         * locale/programs/localedef.c (print_version): Likewise.
16510         * login/programs/pt_chown.c (print_version): Likewise.
16511         * malloc/memusage.sh (do_version): Likewise.
16512         * malloc/memusagestat.c (print_version): Likewise.
16513         * malloc/mtrace.pl: Likewise.
16514         * manual/libc.texinfo: Likewise.
16515         * nptl/version.c (banner): Likewise.
16516         * nscd/nscd.c (print_version): Likewise.
16517         * nss/getent.c (print_version): Likewise.
16518         * nss/makedb.c (print_version): Likewise.
16519         * posix/getconf.c (main): Likewise.
16520         * scripts/test-installation.pl: Likewise.
16521         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16523         * All files with FSF copyright notices: Update copyright dates
16524         using scripts/update-copyrights.
16525         * intl/plural.c: Regenerated.
16526         * locale/programs/charmap-kw.h: Likewise.
16527         * locale/programs/locfile-kw.h: Likewise.
16529 2016-01-02  Helge Deller  <deller@gmx.de>
16531         [BZ #19285]
16532         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
16533         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
16534         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
16535         (MADV_xxK_PAGES): Remove.
16537 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
16539         [BZ #15421]
16540         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
16541         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
16542         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
16543         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
16545 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
16547         [BZ #19408]
16548         * sysdeps/unix/sysv/linux/personality.c: New file.
16549         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
16550         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
16551         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
16552         (sysdep_routines): Add personality.
16553         (tests): Add tst-personality.
16554         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
16555         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
16556         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
16557         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
16558         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
16559         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
16560         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
16561         Likewise.
16562         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
16563         Likewise.
16564         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
16565         Likewise.
16566         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
16567         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
16568         Likewise.
16570 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
16572         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
16573         (PATH_ARM_SYSTYPE): Remove.
16574         (PATH_CPUINFO): Likewise.
16575         (IO_BASE_FOOTBRIDGE): Likewise.
16576         (IO_SHIFT_FOOTBRIDGE): Likewise.
16577         (struct platform): Likewise.
16578         (init_iosys): Remove compatibility code for 2.4 kernels.
16579         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
16581 2015-12-29  Florian Weimer  <fweimer@redhat.com>
16583         * malloc/tst-malloc-thread-fail.c: New file.
16584         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
16585         (tst-malloc-thread-fail): Link against libpthread.
16587 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
16589         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
16590         (get_parser): New function.
16591         (main): New function.
16593 2015-12-29  Rob Wu  <rob@robwu.nl>
16595         [BZ #19369]
16596         * resolv/res_init.c (__res_vinit): Reset defdname before use.
16598 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
16600         [BZ #19270]
16601         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
16603 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
16605         [BZ #15421]
16606         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
16608 2015-12-23  Torvald Riegel  <triegel@redhat.com>
16610         [BZ #13690]
16611         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
16612         after releasing it.
16613         (__lll_robust_unlock): Likewise.
16614         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
16615         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
16616         (lll_robust_unlock): Likewise.
16617         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
16618         Prevent warnings in callers.
16620 2015-12-23  Florian Weimer  <fweimer@redhat.com>
16622         * malloc/arena.c (list_lock): Update comment.
16624 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16626         * sysdeps/powerpc/hwcapinfo.c: Export symbol
16627         __parse_hwcap_and_convert_at_platform to libc.a.
16629 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16631         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
16632         platform and feature support for POWER9.
16633         * sysdeps/powerpc/dl-procinfo.h: Likewise.
16634         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
16635         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
16636         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
16637         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
16638         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
16639         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
16640         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
16642 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16644         Harmonize generic stdio-lock support with nptl
16646         This fixes build when _IO_funlockfile is a macro, fixes build where
16647         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
16648         stack unwind.
16650         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
16651         _IO_release_lock ): Use cleanup attribute on new
16652         _IO_acquire_lock_file variable instead of assuming that
16653         _IO_release_lock will be called.
16654         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
16655         _IO_acquire_lock_needs_exceptions_enabled.
16656         (_IO_acquire_lock_clear_flags2): New macro.
16658 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16660         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16662 2015-12-21  Florian Weimer  <fweimer@redhat.com>
16664         [BZ #19182]
16665         * malloc/arena.c (list_lock): Document lock ordering requirements.
16666         (free_list_lock): New lock.
16667         (ptmalloc_lock_all): Comment on free_list_lock.
16668         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
16669         (detach_arena): Update comment.  free_list_lock is now needed.
16670         (_int_new_arena): Use free_list_lock around detach_arena call.
16671         Acquire arena lock after list_lock.  Add comment, including FIXME
16672         about incorrect synchronization.
16673         (get_free_list): Switch to free_list_lock.
16674         (reused_arena): Acquire free_list_lock around detach_arena call
16675         and attached threads counter update.  Add two FIXMEs about
16676         incorrect synchronization.
16677         (arena_thread_freeres): Switch to free_list_lock.
16678         * malloc/malloc.c (struct malloc_state): Update comments to
16679         mention free_list_lock.
16681 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
16683         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
16684         Remove functions.
16685         (sloww, sloww1): Accept argument to offset quadrant.
16686         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
16687         quadrant.
16688         (__sin, __cos): Consolidate common code into new functions.
16689         (reduce_sincos_1, do_sincos_1): New functions.
16690         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
16692         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
16693         code to new functions.
16694         (reduce_sincos_2, do_sincos_2): New functions.
16695         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
16697         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
16698         common code for sincos.
16699         (__cos) [!IN_SINCOS]: Likewise.
16700         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
16701         New function.
16702         (__sincos): Use it.
16704 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
16706         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
16707         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
16708         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16710 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16712         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
16713         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
16714         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
16715         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
16716         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16717         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
16718         index_Prefer_No_VZEROUPPER): New feature.
16719         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
16720         Prefer_No_VZEROUPPER for Knights Landing.
16722 015-12-18  Torvald Riegel  <triegel@redhat.com>
16724         * math/atest-exp2.c (mp_exp_m1): Remove.
16726 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16728         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
16729         syscalls.
16730         (__SYSCALL0): New macro.
16731         (__SYSCALL1): Likewise.
16732         (__SYSCALL2): Likewise.
16733         (__SYSCALL3): Likewise.
16734         (__SYSCALL4): Likewise.
16735         (__SYSCALL5): Likewise.
16736         (__SYSCALL6): Likewise.
16737         (__SYSCALL_CONCAT_X): Likewise.
16738         (__SYSCALL_CONCAT): Likewise.
16739         (__SYSCALL_DIST): Likewise.
16740         (__SYSCALL_CALL): Likewise.
16742 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
16744         [BZ #19363]
16745         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
16747 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16749         [BZ #19375]
16750         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
16751         negative subnormals.
16753 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
16755         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
16756         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
16757         (INTERNAL_SYSCALL_NCS): Use it.
16758         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16760 2015-12-16  Florian Weimer  <fweimer@redhat.com>
16762         [BZ #19243]
16763         * malloc/arena.c (get_free_list): Remove assert and adjust
16764         reference count handling.  Add comment about reused_arena
16765         interaction.
16766         (reused_arena): Add comments abount get_free_list interaction.
16767         * malloc/tst-malloc-thread-exit.c: New file.
16768         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
16769         (tst-malloc-thread-exit): Link against libpthread.
16771 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
16773         [BZ #19367]
16774         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
16775         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
16776         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
16777         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
16778         (index_Prefer_MAP_32BIT_EXEC): Likewise.
16780 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
16782         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
16783         Silvermont optimizations for Knights Landing.
16785 2015-12-15  Andreas Schwab  <schwab@suse.de>
16787         [BZ #17197]
16788         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
16789         immediately after emitting SI.
16790         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
16791         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
16792         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
16793         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
16794         * iconvdata/bug-iconv10.c: New file.
16795         * iconvdata/Makefile (tests): Add bug-iconv10.
16796         ($(objpfx)bug-iconv10.out): New rule.
16798 2015-12-15  Florian Weimer  <fweimer@redhat.com>
16800         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
16801         aliasing violation.
16803 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
16805         [BZ #18472]
16806         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
16807         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
16808         conditionals for them.
16809         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
16810         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
16811         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
16812         sys/kdaemon.h.
16813         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
16814         compat-only syscall, obsoleted in glibc 2.23.
16815         (create_module): Likewise.
16816         (get_kernel_syms): Likewise.
16817         (query_module): Likewise.
16818         (uselib): Likewise.
16819         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
16821 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
16823         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
16824         <linux/version.h>.
16825         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
16826         conditional code.
16827         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
16828         and ioshift_name initialization.
16830 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
16832         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16833         Fix indentation.
16835 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
16837         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
16839 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
16841         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
16843 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
16844             Jakub Wilk  <jwilk@debian.org>
16846         [BZ #19347]
16847         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
16848         to change the group of the device to the tty group.
16850 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
16852         Split large string section; add truncation advice
16853         * manual/examples/strncat.c: Remove.
16854         This example was misleading, as the code would have undefined
16855         behavior if "hello" was longer than SIZE.  Anyway, the manual
16856         shouldn't encourage strncpy+strncat for this sort of thing.
16857         * manual/string.texi (Copying Strings and Arrays): Split into
16858         three sections Copying Strings and Arrays, Concatenating Strings,
16859         and Truncating Strings, as this section was way too long.  All
16860         cross-referenced changed.  Add advice about string-truncation
16861         functions.  Remove misleading strncat example.
16863 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
16865         * manual/nss.texi (NSS Modules Interface): Document
16866         NSS_STATUS_NOTFOUND and SUCCESS.
16868 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
16870         [BZ 18568]
16871         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
16872         201505L, for Unicode 8.
16874 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
16876         * locale/C-translit.h: Regenerate.
16878 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
16880         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
16881         and U+0153.
16883 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
16885         [BZ #19351]
16886         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
16887         expanding log(1+z), compare z rather than its square with epsilon
16888         to determine when to avoid evaluating the expansion.
16890         [BZ #19350]
16891         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
16892         Increase overflow threshold.
16894         [BZ #19349]
16895         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
16896         when small.
16898         * sysdeps/unix/sysv/linux/i386/kernel-features.h
16899         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
16900         New macro.
16901         [__LINUX_KERNEL_VERSION >= 0x040300]
16902         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16903         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
16904         Likewise.
16905         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
16906         Likewise.
16907         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
16908         Likewise.
16909         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
16910         Likewise.
16911         [__LINUX_KERNEL_VERSION >= 0x040300]
16912         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
16913         [__LINUX_KERNEL_VERSION >= 0x040300]
16914         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
16915         [__LINUX_KERNEL_VERSION >= 0x040300]
16916         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
16917         [__LINUX_KERNEL_VERSION >= 0x040300]
16918         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
16919         [__LINUX_KERNEL_VERSION >= 0x040300]
16920         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
16921         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
16922         Likewise.
16923         [__LINUX_KERNEL_VERSION >= 0x040300]
16924         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
16925         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16926         Likewise.
16927         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
16928         Likewise.
16929         [__LINUX_KERNEL_VERSION >= 0x040300]
16930         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
16931         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16932         Likewise.
16933         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
16934         Likewise.
16935         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16936         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
16937         Likewise.
16938         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
16939         Likewise.
16940         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
16941         Likewise.
16942         [__LINUX_KERNEL_VERSION >= 0x040300]
16943         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16944         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
16945         Likewise.
16946         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
16947         Likewise.
16948         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
16949         Likewise.
16950         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
16951         Likewise.
16952         [__LINUX_KERNEL_VERSION >= 0x040300]
16953         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
16954         [__LINUX_KERNEL_VERSION >= 0x040300]
16955         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
16956         [__LINUX_KERNEL_VERSION >= 0x040300]
16957         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
16958         [__LINUX_KERNEL_VERSION >= 0x040300]
16959         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
16960         [__LINUX_KERNEL_VERSION >= 0x040300]
16961         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
16962         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
16963         Likewise.
16964         [__LINUX_KERNEL_VERSION >= 0x040300]
16965         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
16966         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16967         Likewise.
16968         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
16969         Likewise.
16970         [__LINUX_KERNEL_VERSION >= 0x040300]
16971         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
16972         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16973         Likewise.
16974         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
16975         Likewise.
16976         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16977         (__ASSUME_SOCKET_SYSCALL): Likewise.
16978         (__ASSUME_BIND_SYSCALL): Likewise.
16979         (__ASSUME_CONNECT_SYSCALL): Likewise.
16980         (__ASSUME_LISTEN_SYSCALL): Likewise.
16981         (__ASSUME_ACCEPT_SYSCALL): Likewise.
16982         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
16983         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
16984         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16985         (__ASSUME_SEND_SYSCALL): Likewise.
16986         (__ASSUME_SENDTO_SYSCALL): Likewise.
16987         (__ASSUME_RECV_SYSCALL): Likewise.
16988         (__ASSUME_RECVFROM_SYSCALL): Likewise.
16989         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
16990         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
16991         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
16992         (__ASSUME_SENDMSG_SYSCALL): Likewise.
16993         (__ASSUME_RECVMSG_SYSCALL): Likewise.
16994         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16995         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
16996         Likewise.
16997         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
16998         Likewise.
16999         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
17000         Likewise.
17001         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
17002         Likewise.
17003         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
17004         Likewise.
17005         [__LINUX_KERNEL_VERSION >= 0x020625]
17006         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17007         [__LINUX_KERNEL_VERSION >= 0x020625]
17008         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17009         [__LINUX_KERNEL_VERSION >= 0x020625]
17010         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
17011         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
17012         Likewise.
17013         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
17014         Likewise.
17015         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
17016         Likewise.
17017         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
17018         Likewise.
17019         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
17020         Likewise.
17021         [__LINUX_KERNEL_VERSION >= 0x020625]
17022         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17023         [__LINUX_KERNEL_VERSION >= 0x020625]
17024         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17025         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
17026         Likewise.
17027         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
17028         Likewise.
17030 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
17032         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
17033         record the current if the current ABI and CPU support the FP64
17034         extension.
17035         (has-modd-spreg): Define to record the current if the current ABI and
17036         CPU support 32-bit floating point values in odd FPU registers.
17037         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17038         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
17039         $(has-modd-spreg) equals yes.
17040         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
17041         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
17042         $(has-modd-spreg) equal yes.
17044 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
17046         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
17047         basename.
17049 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
17051         * benchtests/Makefile (bench-math): Move ffs and ffsll...
17052         (bench-string): ... here.
17053         (bench): Add bench-string.
17054         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
17055         to *-benchset to reflect what they are.
17056         (benchset): Adjust.
17058         * benchtests/sincos-inputs: Add inputs from sin-inputs and
17059         cos-inputs.
17061 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
17063         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
17064         __attribute__ ((__simd__)) for vector math function declarations.
17066 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
17068         Fix typo in strncat, wcsncat manual entries
17069         * manual/string.texi (Copying and Concatenation): Fix typos in
17070         sample implementations of strncat and wcsncat, by having them use
17071         the old value of the destination length, not the new one.
17073 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
17075         [BZ #16961]
17076         [BZ #16962]
17077         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
17078         string on the stack for strtod.
17079         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
17080         a string on the stack for strtof.
17081         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
17082         constructing a string on the stack for strtold.
17083         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
17084         __strtold_nan to GLIBC_PRIVATE.
17085         * math/test-nan-overflow.c: New file.
17086         * math/test-nan-payload.c: Likewise.
17087         * math/Makefile (tests): Add test-nan-overflow and
17088         test-nan-payload.
17090 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
17092         Consistency about byte vs character in string.texi
17093         * manual/string.texi (String and Array Utilities):
17094         Distinguish more carefully among bytes, multibyte characters,
17095         and wide characters.  Use "byte" when talking about C 'char',
17096         to distinguish it more clearly from multibyte characters.
17097         Say "wide character" or "multibyte character" instead of
17098         "character", when a wide or multibyte character is intended.
17099         Similarly for "multibyte string" versus "string".
17100         Define these terms more carefully.
17102 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
17104         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
17105         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
17106         Likewise.
17107         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17108         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17109         * sysdeps/sh/math_private.h: New file.
17110         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
17111         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
17112         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
17113         long double function name.
17114         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17115         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17116         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17117         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17118         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
17120         Remove __finitel, __isinfl, and __isnanl.
17121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17122         Likewise.
17123         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17125         Remove __finitel.
17126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17127         Likewise.
17128         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17130 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
17132         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
17133         installed libmvec_nonshared.a.
17135 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17137         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
17138         (sysdep_routines): Likewise.
17139         (sysdep-rtld-routines): Likewise.
17140         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
17141         [$(subdir) = nptl](tests-static): test-get_hwcap-static
17142         * sysdeps/powerpc/Versions: Added new
17143         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
17144         * sysdeps/powerpc/hwcapinfo.c: New file.
17145         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
17146         and parse hwcap, hwcap2 and platform number information.
17147         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
17148         to store HWCAP+HWCAP2 and platform number.
17149         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
17150         for HWCAP+HWCAP2 and platform number in the TCB.
17151         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
17152         the HWCAP, HWCAP2 and platform number in the TCB.
17153         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
17154         (TLS_INIT_TP): Included calls to add the hwcap and
17155         at_platform values in the TCB in TP initialization.
17156         (TLS_DEFINE_INIT_TP): Likewise.
17157         (THREAD_GET_HWCAP): New macro.
17158         (THREAD_SET_HWCAP): Likewise.
17159         (THREAD_GET_AT_PLATFORM): Likewise.
17160         (THREAD_SET_AT_PLATFORM): Likewise.
17161         * sysdeps/powerpc/powerpc32/dl-machine.h:
17162         (dl_platform_init): New function that calls
17163         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
17164         powerpc32.
17165         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
17166         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
17167         this functionality, static linking case.
17168         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
17169         linking case.
17170         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
17171         __parse_hwcap_and_convert_at_platform for the static linking case.
17172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
17173         Included the new __parse_hwcap_and_convert_at_platform symbol in the
17174         ABI list for GLIBC 2.23.
17175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
17176         Likewise.
17177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
17178         Likewise.
17180 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
17182         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
17183         * configure: Regenerate.
17184         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
17185         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
17187 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
17189         * iconvdata/ibm930.c: Add comment explaining encoding uses.
17190         * iconvdata/ibm933.c: Likewise.
17191         * iconvdata/ibm935.c: Likewise.
17192         * iconvdata/ibm937.c: Likewise.
17193         * iconvdata/ibm939.c: Likewise.
17195 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17197         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
17198         pthread_join.
17199         * nptl/tst-cancel21.c (tf): Likewise.
17201 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
17203         [BZ #19313]
17204         * bits/typesizes.h (__CPU_MASK_TYPE): New.
17205         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
17206         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
17207         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
17208         Likewise.
17209         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
17210         Likewise.
17211         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
17212         Likewise.
17213         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
17214         Likewise.
17215         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
17216         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
17217         unsigned long int with __CPU_MASK_TYPE.
17219 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17221         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17223 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
17225         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
17226         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
17227         t512.x.
17228         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
17230 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
17232         [BZ #19214]
17233         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
17234         argument to return extended model.  Update family and model
17235         with extended family and model when family == 0x0f.
17236         (init_cpu_features): Updated.
17238 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17240         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
17241         signed off_t, so 32bit bigger than 2GiB values are fine actually.
17243         * sysdeps/mach/hurd/mmap64.c: New file.
17245 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
17247         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
17248         rights for its main user thread in NEWTASK.
17250 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
17252         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
17253         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
17255 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
17257         [BZ #14259]
17258         * Makeconfig: Rename localedir to complocaledir.
17259         Rename inst_localedir to inst_complocaledir.
17260         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
17261         * config.make.in: Use complocaledir and libc_cv_complocaledir.
17262         * configure.ac: Use libc_cv_complocaledir.
17263         * configure: Regenerate.
17264         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
17265         -DCOMPLOCALEDIR.
17266         * locale/findlocale.c: Use COMPLOCALEDIR.
17267         * locale/loadarchive.c: Likewise.
17268         * locale/programs/locale.c: Likewise.
17269         * locale/programs/localedef.c: Likewise.
17270         * locale/programs/locarchive.c: Likewise.
17271         * localedata/Makefile: Use inst_complocaledir.
17272         * sysdeps/gnu/configure: Regenerate.
17273         * sysdeps/hppa/configure: Regenerate.
17274         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17275         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17277         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17278         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17279         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17280         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17282 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
17284         [BZ #19058]
17285         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
17286         AS_NEEDED.
17287         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
17288         workaround.
17289         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
17290         libmvec-static-only-routines): Added new file.
17291         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
17293 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17295         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
17296         of interrupted RPC instead of restoring it.
17298         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
17299         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
17300         libc_hidden_def.
17301         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
17302         into initialized data instead of common. Define rtld_hidden_data_def.
17303         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
17304         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
17305         libc_hidden_def.
17306         (if_freenameindex): Add libc_hidden_weak.
17307         (if_nameindex): Add libc_hidden_weak.
17308         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
17309         __open64.
17310         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
17311         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
17312         * sysdeps/mach/nanosleep.c: Include <time.h>
17313         (__nanosleep): Rename to __libc_nanosleep.
17314         (__nanosleep): Add weak_alias.
17315         (nanosleep): Update alias.
17317 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
17319         * stdlib/strtod_nan.c: New file.
17320         * stdlib/strtod_nan_double.h: Likewise.
17321         * stdlib/strtod_nan_float.h: Likewise.
17322         * stdlib/strtod_nan_main.c: Likewise.
17323         * stdlib/strtod_nan_narrow.h: Likewise.
17324         * stdlib/strtod_nan_wide.h: Likewise.
17325         * stdlib/strtof_nan.c: Likewise.
17326         * stdlib/strtold_nan.c: Likewise.
17327         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
17328         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
17329         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
17330         * wcsmbs/wcstod_nan.c: Likewise.
17331         * wcsmbs/wcstof_nan.c: Likewise.
17332         * wcsmbs/wcstold_nan.c: Likewise.
17333         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
17334         strtold_nan.
17335         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
17336         wcstof_nan.
17337         * include/stdlib.h (__strtof_nan): Declare and use
17338         libc_hidden_proto.
17339         (__strtod_nan): Likewise.
17340         (__strtold_nan): Likewise.
17341         (__wcstof_nan): Likewise.
17342         (__wcstod_nan): Likewise.
17343         (__wcstold_nan): Likewise.
17344         * include/wchar.h (____wcstoull_l_internal): Declare.
17345         * stdlib/strtod_l.c: Do not include <ieee754.h>.
17346         (____strtoull_l_internal): Remove declaration.
17347         (STRTOF_NAN): Define macro.
17348         (SET_MANTISSA): Remove macro.
17349         (STRTOULL): Likewise.
17350         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
17351         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
17352         (STRTOF_NAN): Define macro.
17353         (SET_MANTISSA): Remove macro.
17354         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
17355         (SET_MANTISSA): Remove macro.
17356         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
17357         macro.
17358         (SET_MANTISSA): Remove macro.
17359         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
17360         macro.
17361         (SET_MANTISSA): Remove macro.
17362         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
17363         (SET_MANTISSA): Remove macro.
17364         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
17365         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
17366         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
17368         [BZ #19266]
17369         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
17370         upper case and lower case letters inside NAN(), not using TOLOWER.
17371         * stdlib/tst-strtod-nan-locale-main.c: New file.
17372         * stdlib/tst-strtod-nan-locale.c: Likewise.
17373         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
17374         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
17375         Depend on $(gen-locales).
17376         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
17377         * wcsmbs/tst-wcstod-nan-locale.c: New file.
17378         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
17379         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
17380         Depend on $(gen-locales).
17381         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
17383 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
17385         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
17387         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
17388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
17389         __finitel, __isinfl, and __isnanl.
17390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17391         Likewise.
17392         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
17394         __finitel.
17395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17396         Likewise.
17397         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17399 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
17401         * malloc/memusage.c (me): Remove redundant getenv call.
17403 2015-10-24  Florian Weimer  <fweimer@redhat.com>
17405         [BZ #19143]
17406         [BZ #19164]
17407         * nptl/check-cpuset.h: Remove.
17408         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
17409         Remove CPU set size check.
17410         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
17411         Likewise.
17412         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
17413         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
17414         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
17415         (__pthread_setaffinity_new): Remove CPU set size check.
17416         * sysdeps/unix/sysv/linux/sched_setaffinity.c
17417         (__kernel_cpumask_size): Remove.
17418         (__sched_setaffinity_new): Remove CPU set size check.
17419         * manual/threads.texi (Default Thread Attributes): Remove stale
17420         reference to check_cpuset_attr, determine_cpumask_size in comment.
17421         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
17422         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
17423         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
17424         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
17425         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
17426         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
17427         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
17428         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
17429         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
17430         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
17431         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
17432         skeleton test file.
17433         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
17434         tst-affinity-pid.
17436 2015-11-24  Florian Weimer  <fweimer@redhat.com>
17438         * scripts/update-abilist.sh: New file.
17439         * Makefile (+subdir_targets): Add subdir_update-all-abi.
17440         * Makerules (update-all-abi-%, update-all-abi)
17441         (subdir_update-all-abi): New targets.
17442         * elf/Makefile (update-all-abi): New target.
17444 2015-11-24  Florian Weimer  <fweimer@redhat.com>
17446         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
17447         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
17448         (__libc_lock_define_initialized): Use it.
17449         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
17450         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
17451         * malloc/malloc.c (main_arena): Likewise.
17452         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
17453         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
17455 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
17457         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
17458         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
17459         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
17460         (PTRACE_O_MASK): Update value.
17461         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
17462         New value in enum __ptrace_setoptions.
17463         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
17464         (PTRACE_O_MASK): Update value.
17465         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
17466         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
17467         (PTRACE_O_MASK): Update value.
17468         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
17469         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
17470         (PTRACE_O_MASK): Update value.
17471         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
17472         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
17473         (PTRACE_O_MASK): Update value.
17474         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
17475         New value in enum __ptrace_setoptions.
17476         (PTRACE_O_MASK): Update value.
17477         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
17478         New value in enum __ptrace_setoptions.
17479         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
17480         (PTRACE_O_MASK): Update value.
17482         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
17483         New macro.
17484         (PACKET_AUXDATA): Likewise.
17485         (PACKET_ORIGDEV): Likewise.
17486         (PACKET_VERSION): Likewise.
17487         (PACKET_HDRLEN): Likewise.
17488         (PACKET_RESERVE): Likewise.
17489         (PACKET_TX_RING): Likewise.
17490         (PACKET_LOSS): Likewise.
17491         (PACKET_VNET_HDR): Likewise.
17492         (PACKET_TX_TIMESTAMP): Likewise.
17493         (PACKET_TIMESTAMP): Likewise.
17494         (PACKET_FANOUT): Likewise.
17495         (PACKET_TX_HAS_OFF): Likewise.
17496         (PACKET_QDISC_BYPASS): Likewise.
17497         (PACKET_ROLLOVER_STATS): Likewise.
17498         (PACKET_FANOUT_DATA): Likewise.
17499         (PACKET_MR_UNICAST): Likewise.
17501         [BZ #19242]
17502         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
17503         (TOUPPER): Likewise.
17504         * stdlib/tst-strtol-locale-main.c: New file.
17505         * stdlib/tst-strtol-locale.c: Likewise.
17506         * stdlib/Makefile (tests): Add tst-strtol-locale.
17507         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
17508         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
17509         Depend on $(gen-locales).
17510         * wcsmbs/tst-wcstol-locale.c: New file.
17511         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
17512         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
17513         tr_TR.ISO-8859-9.
17514         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
17515         Depend on $(gen-locales).
17517 2015-11-20  Roland McGrath  <roland@hack.frob.com>
17519         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
17520         __glibc_likely instead of __builtin_expect.  After falling back to
17521         dyncode_create in a non-ET_DYN case, use the allocate_code_data
17522         system interface to register the code pages as occupied.
17524 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
17526         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17527         [!ARM_MATH_PRIVATE_H].
17528         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
17529         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17530         [!HPPA_MATH_PRIVATE_H].
17531         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
17532         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
17533         to [!I386_MATH_PRIVATE_H].
17534         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
17535         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
17536         Change guard to [!M68K_MATH_PRIVATE_H].
17537         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
17538         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
17539         guard to [!MICROBLAZE_MATH_PRIVATE_H].
17540         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
17541         macro.
17542         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17543         [!MIPS_MATH_PRIVATE_H].
17544         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
17545         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17546         [!NIO2_MATH_PRIVATE_H].
17547         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
17548         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17549         [!TILE_MATH_PRIVATE_H].
17550         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
17552         [BZ #15421]
17553         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
17554         initialize with 0 and define as weak alias of __signgam.
17555         * include/math.h [!_ISOMAC] (__signgam): Declare.
17556         * math/Makefile (libm-calls): Add w_lgamma_compat.
17557         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
17558         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
17559         test-signgam-ullong-init.
17560         (tests-static): Add test-signgam-uchar-static,
17561         test-signgam-uchar-init-static, test-signgam-uint-static,
17562         test-signgam-uint-init-static, test-signgam-ullong-static and
17563         test-signgam-ullong-init-static.
17564         (CFLAGS-test-signgam-uchar.c): New variable.
17565         (CFLAGS-test-signgam-uchar-init.c): Likewise.
17566         (CFLAGS-test-signgam-uchar-static.c): Likewise.
17567         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
17568         (CFLAGS-test-signgam-uint.c): Likewise.
17569         (CFLAGS-test-signgam-uint-init.c): Likewise.
17570         (CFLAGS-test-signgam-uint-static.c): Likewise.
17571         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
17572         (CFLAGS-test-signgam-ullong.c): Likewise.
17573         (CFLAGS-test-signgam-ullong-init.c): Likewise.
17574         (CFLAGS-test-signgam-ullong-static.c): Likewise.
17575         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
17576         * math/Versions (libm): Add GLIBC_2.23.
17577         * math/lgamma-compat.h: New file.
17578         * math/test-signgam-main.c: Likewise.
17579         * math/test-signgam-uchar-init-static.c: Likewise.
17580         * math/test-signgam-uchar-init.c: Likewise.
17581         * math/test-signgam-uchar-static.c: Likewise.
17582         * math/test-signgam-uchar.c: Likewise.
17583         * math/test-signgam-uint-init-static.c: Likewise.
17584         * math/test-signgam-uint-init.c: Likewise.
17585         * math/test-signgam-uint-static.c: Likewise.
17586         * math/test-signgam-uint.c: Likewise.
17587         * math/test-signgam-ullong-init-static.c: Likewise.
17588         * math/test-signgam-ullong-init.c: Likewise.
17589         * math/test-signgam-ullong-static.c: Likewise.
17590         * math/test-signgam-ullong.c: Likewise.
17591         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
17592         wrapper of w_lgamma_main.c.
17593         * math/w_lgamma_compat.c: New file.
17594         * math/w_lgamma_compatf.c: Likewise.
17595         * math/w_lgamma_compatl.c: Likewise.
17596         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
17597         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
17598         defining compatibility symbols.
17599         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
17600         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
17601         wrapper of w_lgammaf_main.c.
17602         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
17603         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
17604         defining compatibility symbols.
17605         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
17606         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
17607         wrapper of w_lgammal_main.c.
17608         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
17609         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
17610         defining compatibility symbols.
17611         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
17612         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
17613         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
17614         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
17615         <lgamma-compat.h>.
17616         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
17617         (__ieee754_gamma): Define as alias.
17618         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
17619         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
17620         <lgamma-compat.h>.
17621         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
17622         (__ieee754_gammaf): Define as alias.
17623         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
17624         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
17625         <lgamma-compat.h>.
17626         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
17627         (__ieee754_gammal): Define as alias.
17628         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
17629         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
17630         <math/w_lgamma_compat.c>.
17631         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
17632         Define as alias of __lgamma_compat and use in defining lgammal.
17633         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
17634         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
17635         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
17636         (USE_AS_COMPAT): New macro.
17637         (LGAMMA_OLD_VER): Undefine and redefine.
17638         (lgammal): Do not define here.
17639         (gammal): Only define here if [GAMMA_ALIAS].
17640         * conform/linknamespace.pl (@whitelist): Remove signgam.
17641         * sysdeps/nacl/libm.abilist: Update.
17642         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17643         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17644         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17645         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17646         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17647         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17648         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17649         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17650         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17651         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17652         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17653         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17655         Likewise.
17656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17657         Likewise.
17658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17659         Likewise.
17660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17661         Likewise.
17662         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17663         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17664         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17665         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17666         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17668         Likewise.
17669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17670         Likewise.
17671         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17672         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17673         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17675 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17677         [BZ #16364]
17678         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
17679         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
17681 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17683         * sysdeps/s390/fpu/bits/mathinline.h:
17684         Use __asm__ [__volatile__] instead of asm [volatile].
17685         * sysdeps/s390/abort-instr.h: Likewise.
17686         * sysdeps/s390/atomic-machine.h: Likewise.
17687         * sysdeps/s390/bits/string.h: Likewise.
17688         * sysdeps/s390/dl-tls.h: Likewise.
17689         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17690         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17691         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17692         * sysdeps/s390/fpu/fesetround.c: Likewise.
17693         * sysdeps/s390/fpu/fpu_control.h: Likewise.
17694         * sysdeps/s390/fpu/s_fma.c: Likewise.
17695         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
17696         * sysdeps/s390/memusage.h: Likewise.
17697         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
17698         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
17699         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
17700         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
17701         * sysdeps/s390/nptl/tls.h: Likewise.
17702         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
17703         * sysdeps/s390/s390-32/backtrace.c: Likewise.
17704         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17705         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
17706         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17707         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17708         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
17709         * sysdeps/s390/s390-64/backtrace.c: Likewise.
17710         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17711         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
17712         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
17713         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17714         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17715         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
17716         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17717         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17718         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
17719         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
17720         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
17721         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17722         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
17723         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17724         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
17726 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17727             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17729         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
17730         Add lwarx hint, and use macro for acquire instruction.
17731         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17732         Likewise.
17733         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
17734         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
17735         update to use new atomic macros.
17737 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17739         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17740         (__lll_trylock_elision): Fix setting of adapt_count.
17741         * sysdeps/unix/sysv/linux/powerpc/htm.h
17742         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
17743         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
17744         (_ABORT_SYSCALL): Renumber, and clarify definition.
17745         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
17747 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17749         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
17750         after system headers to prevent MIN/MAX redefinition.  Define
17751         HAVE_ALLOCA to preserve builtin alloca usage.
17753 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
17755         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
17756         static and don't set or restore rounding.
17757         (__cos)[IN_SINCOS]: Likewise.
17758         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
17759         (__sincos): Set and restore rounding mode.  Remove check for infinite
17760         or NaN input.
17762         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
17764         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
17765         as used.
17767 2015-11-16  Florian Weimer  <fweimer@redhat.com>
17769         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
17771 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
17773         * config.make.in (have-glob-dat-reloc): New.
17774         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
17775         target supports GLOB_DAT relocaton. AC_SUBST.
17776         * configure: Regenerated.
17777         * elf/Makefile (tests): Add tst-prelink.
17778         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
17779         (tst-prelink-ENV): New.
17780         ($(objpfx)tst-prelink-conflict.out): Likewise.
17781         ($(objpfx)tst-prelink-cmp.out): Likewise.
17782         * sysdeps/x86/tst-prelink.c: Moved to ...
17783         * elf/tst-prelink.c: Here.
17784         * sysdeps/x86/tst-prelink.exp: Moved to ...
17785         * elf/tst-prelink.exp: Here.
17786         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
17787         (tst-prelink-ENV): Removed.
17788         ($(objpfx)tst-prelink-conflict.out): Likewise.
17789         ($(objpfx)tst-prelink-cmp.out): Likewise.
17790         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
17792 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
17794         [BZ #14551]
17795         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
17796         (__mpn_construct_long_double): If high part overflows to infinity,
17797         set errno and recompute overflowed result of the correct sign.
17798         * sysdeps/ieee754/ldbl-128ibm/Makefile
17799         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
17800         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
17801         $(libm).
17802         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
17804 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
17806         [BZ #15479]
17807         [BZ #19238]
17808         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
17809         floating-point state after first operation on input.  Restore full
17810         state rather than just rounding mode.
17811         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
17812         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
17813         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
17815         [BZ #19235]
17816         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
17817         add 0.5 to integer arguments.
17818         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
17819         Likewise.
17820         (.LC2): New object.
17822 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
17824         * scripts/pylintrc (reports): Set to no.
17826 2015-11-10  Roland McGrath  <roland@hack.frob.com>
17828         * elf/dl-load.c (open_verify): Take new argument FD.
17829         Skip __open call if passed FD is not -1.
17830         (_dl_map_object, open_path): Update callers.
17831         * elf/dl-sysdep-open.h: New file.
17832         * elf/dl-load.c: Include it.
17833         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
17834         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
17835         * sysdeps/nacl/dl-sysdep-open.h: New file.
17836         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
17837         from libc to rtld.
17839 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
17841         [BZ #19228]
17842         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
17843         and restore full floating-point state.
17844         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17845         Likewise.
17846         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
17847         Likewise.
17848         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
17849         Likewise.
17850         * math/test-nearbyint-except-2.c: New file.
17851         * math/Makefile (tests): Add test-nearbyint-except-2.
17853 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
17855         [BZ #19178]
17856         * sysdeps/x86/Makefile (tests): Add tst-prelink.
17857         (tst-prelink-ENV): New.
17858         ($(objpfx)tst-prelink-conflict.out): Likewise.
17859         ($(objpfx)tst-prelink-cmp.out): Likewise.
17860         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
17861         * sysdeps/x86/tst-prelink.c: New file.
17862         * sysdeps/x86/tst-prelink.exp: Likewise.
17864 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
17866         * math/auto-libm-test-in: Add another test of pow.
17867         * math/auto-libm-test-out: Regenerated.
17868         * math/libm-test.inc (pow_test_data): Add another test.
17870 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17872         [BZ #19219]
17873         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
17874         weak_alias to nearbyintl.
17876 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
17878         * sysdeps/aarch64/bits/string.h: New file.
17879         (_STRING_ARCH_unaligned): Define.
17881 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
17883         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
17884         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
17885         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
17886         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
17887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
17889 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
17891         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
17892         for original name of the DSO.  Add it to the name list of the DSO
17893         if it is actually given.
17894         (_dl_map_object): Keep track of whether an audit module rewrote
17895         the file name.  If yes, pass the original name to
17896         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
17897         debugging is enabled, log the change of the file name.
17898         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
17899         _dl_map_object_from_fd.
17900         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
17901         * elf/tst-audit11.c: New file
17902         * elf/tst-auditmod11.c: New file.
17903         * elf/tst-audit11mod1.c: New file.
17904         * elf/tst-audit11mod2.c: New file.
17905         * elf/tst-audit11mod2.map: New file.
17906         * elf/tst-audit12.c: New file
17907         * elf/tst-auditmod12.c: New file.
17908         * elf/tst-audit12mod1.c: New file.
17909         * elf/tst-audit12mod2.c: New file.
17910         * elf/tst-audit12mod2.map: New file.
17911         * elf/tst-audit12mod3.c: New file.
17913 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
17915         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
17916         Don't create weak aliases,
17917         because versioned symbols are created later.
17918         * sysdeps/s390/s390-32/setjmp.S
17919         (setjmp, _setjmp): Remove weak and rename to an unique name
17920         in SHARED case due to existing versioned symbols.
17921         * sysdeps/s390/s390-64/setjmp.S: Likewise.
17922         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
17923         (getcontext): Create weak alias only in non SHARED case.
17924         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17926 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
17928         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
17929         (__ASSUME_*_SYSCALL) Define new macros.
17930         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
17931         Remove socketcall syscalls.
17932         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
17933         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
17934         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
17935         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
17936         * sysdeps/unix/sysv/linux/send.c (__libc_send):
17937         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
17939 2015-11-09  Florian Weimer  <fweimer@redhat.com>
17941         [BZ #12926]
17942         Terminate process on invalid netlink response.
17943         * sysdeps/unix/sysv/linux/netlinkaccess.h
17944         (__netlink_assert_response): Declare.
17945         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
17946         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
17947         (sysdep_routines): Add netlink_assert_response.
17948         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
17949         __netlink_assert_response.
17950         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
17951         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
17952         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
17953         __netlink_assert_response.
17955 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
17957         [BZ #19178]
17958         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
17959         (RTYPE_CLASS_PLT): Likewise.
17960         (RTYPE_CLASS_COPY): Likewise.
17961         (RTYPE_CLASS_TLS): Likewise.
17962         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
17963         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
17964         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
17965         DL_DEBUG_PRELINK.
17967 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
17969         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
17970         calls with argument -0.5.
17971         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
17973         * configure.ac (libc_cv_z_nodelete): Remove configure test.
17974         (libc_cv_z_nodlopen): Likewise.
17975         (libc_cv_z_initfirst): Likewise.
17976         * configure: Regenerated.
17978 2015-11-06  Florian Weimer  <fweimer@redhat.com>
17980         Simplify abilist format to be line-based.
17981         * scripts/abilist.awk: Collect descriptors in the descs variable.
17982         (emit): Write descs variable and sort it
17983         externally, with sort.
17984         * sysdeps/**/*.abilist: Convert to new format.
17986 2015-11-06  Mark Wielaard  <mjw@redhat.com>
17988         [BZ #11460]
17989         * io/Makefile (routines): Add fts64.
17990         (tests): Add tst-fts and tst-fts-lfs.
17991         (CFLAGS-fts64.c): New.
17992         * io/Versions (GLIBC_2.23): New.
17993         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
17994         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
17995         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
17996         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
17997         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
17998         (FTSENT64): Likewise.
17999         (fts64_children): Likewise.
18000         (fts64_close): Likewise.
18001         (fts64_open): Likewise.
18002         (fts64_read): Likewise.
18003         (fts64_set): Likewise.
18004         * io/fts64.c: New file.
18005         * io/tst-fts.c: New test.
18006         * io/tst-fts-lfs.c: Likewise.
18007         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
18008         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
18009         fts64_set.
18010         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18011         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18012         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18013         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18014         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18015         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18016         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18017         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18018         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18019         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18020         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18021         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18022         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18024         Likewise.
18025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18026         Likewise.
18027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18029         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18030         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18031         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18032         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18033         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
18035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
18036         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18037         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18038         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18039         * sysdeps/wordsize-64/fts.c: New file.
18040         * sysdeps/wordsize-64/fts64.c: Likewise.
18041         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
18042         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
18043         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
18044         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
18046 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
18048         * math/libm-test.inc (NON_FINITE): New macro.
18049         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
18050         * math/gen-libm-test.pl (show_exceptions): Add argument
18051         $non_finite.
18052         (parse_args): Update call to show_exceptions.
18053         * math/test-math-finite.h: New file.
18054         * math/test-math-no-finite.h: Likewise.
18055         * math/test-double-finite.c: Likewise.
18056         * math/test-float-finite.c: Likewise.
18057         * math/test-ldouble-finite.c: Likewise.
18058         * math/test-double.c: Include "test-math-no-finite.h".
18059         * math/test-float.c: Include "test-math-no-finite.h".
18060         * math/test-ldouble.c: Include "test-math-no-finite.h".
18061         * math/test-math-inline.h (TEST_FINITE): New macro.
18062         * math/test-math-vector.h (TEST_FINITE): Likewise.
18063         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
18064         (libm-tests): Add test-float-finite and test-double-finite.
18065         ($(objpfx)test-float-finite.o): New dependency on
18066         $(objpfx)libm-test.stmp.
18067         ($(objpfx)test-double-finite.o): Likewise.
18068         ($(objpfx)test-ldouble-finite.o): Likewise.
18069         (libm-test-no-inline-cflags): New variable.
18070         (libm-test-finite-cflags): Likewise.
18071         (CFLAGS-test-float-finite.c): Likewise.
18072         (CFLAGS-test-double-finite.c): Likewise.
18073         (CFLAGS-test-ldouble-finite.c): Likewise.
18074         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
18075         (CFLAGS-test-double.c): Likewise.
18076         (CFLAGS-test-ldouble.c): Likewise.
18078 2015-11-05  Roland McGrath  <roland@hack.frob.com>
18080         * io/fcntl.c (__fcntl): Add ... to prototype.
18081         * misc/ioctl.c (__ioctl): Likewise.
18082         * misc/syscall.c (syscall): Likewise.
18084 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
18086         * scripts/list-fixed-bugs.py: New file.
18088         [BZ #19213]
18089         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
18090         returned for argument 1.
18091         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
18092         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
18093         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
18094         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
18095         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
18096         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
18098         [BZ #19211]
18099         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
18100         __USE_XOPEN], not if [!__USE_ISOC99].
18101         (lgammaf): Likewise.
18102         (lgammal): Likewise.
18103         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
18104         (gammaf): Likewise.
18105         (gammal): Likewise.
18106         * math/test-signgam-finite-c11.c: New file.
18107         * math/test-signgam-finite-c99.c: Likewise.
18108         * math/test-signgam-finite.c: Likewise.
18109         * math/Makefile (tests): Add test-signgam-finite,
18110         test-signgam-finite-c99 and test-signgam-finite-c11.
18111         (CFLAGS-test-signgam-finite.c): New variable.
18112         (CFLAGS-test-signgam-finite-c99.c): Likewise.
18113         (CFLAGS-test-signgam-finite-c11.c): Likewise.
18115         [BZ #19212]
18116         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
18117         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
18118         500].
18119         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
18120         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
18121         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
18122         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
18123         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
18124         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
18125         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
18126         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
18127         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
18128         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
18130         [BZ #19209]
18131         * math/bits/math-finite.h (ldexp): Remove declaration.
18132         (ldexpf): Likewise.
18133         (ldexpl): Likewise.
18135         [BZ #19205]
18136         * math/bits/math-finite.h (acosf): Condition declaration on
18137         [__USE_ISOC99].
18138         (acosl): Likewise.
18139         (acoshf): Likewise.
18140         (acoshl): Likewise.
18141         (asinf): Likewise.
18142         (asinl): Likewise.
18143         (atan2f): Likewise.
18144         (atan2l): Likewise.
18145         (atanhf): Likewise.
18146         (atanhl): Likewise.
18147         (coshf): Likewise.
18148         (coshl): Likewise.
18149         (expf): Likewise.
18150         (expl): Likewise.
18151         (fmodf): Likewise.
18152         (fmodl): Likewise.
18153         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
18154         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
18155         (j0l): Likewise.
18156         (y0f): Likewise.
18157         (y0l): Likewise.
18158         (j1f): Likewise.
18159         (j1l): Likewise.
18160         (y1f): Likewise.
18161         (y1l): Likewise.
18162         (jnf): Likewise.
18163         (jnl): Likewise.
18164         (ynf): Likewise.
18165         (ynl): Likewise.
18166         (lgammaf_r): Condition declaration on [__USE_ISOC99].
18167         (lgammal_r): Likewise.
18168         (__lgamma_r_finite): New declaration.
18169         (__lgammaf_r_finite): Likewise.
18170         (__lgammal_r_finite): Likewise.
18171         (lgamma): Use __lgamma_r_finite.
18172         (lgammaf): Condition definition on [__USE_ISOC99].  Use
18173         __lgammaf_r_finite.
18174         (lgammal): Condition definition on [__USE_ISOC99].  Use
18175         __lgammal_r_finite.
18176         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
18177         __lgamma_r_finite.
18178         (gammaf): Condition definition on [__USE_ISOC99].  Use
18179         __lgammaf_r_finite.
18180         (gammal): Condition definition on [__USE_ISOC99].  Use
18181         __lgammal_r_finite.
18182         (logf): Condition declaration on [__USE_ISOC99].
18183         (logl): Likewise.
18184         (log10f): Likewise.
18185         (log10l): Likewise.
18186         (ldexpf): Likewise.
18187         (ldexpl): Likewise.
18188         (powf): Likewise.
18189         (powl): Likewise.
18190         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
18191         __USE_ISOC99].
18192         (remainderf): Condition declaration on [__USE_ISOC99].
18193         (remainderl): Likewise.
18194         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
18195         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
18196         (scalbl): Likewise.
18197         (sinhf): Condition declaration on [__USE_ISOC99].
18198         (sinhl): Likewise.
18199         (sqrtf): Likewise.
18200         (sqrtl): Likewise.
18202 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
18204         * sysdeps/arm/atomic-machine.h
18205         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
18206         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
18207         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
18208         Remove conditional code.
18209         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
18210         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
18211         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
18212         Change conditional to [__ASSEMBLER__].
18213         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
18214         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
18215         [!__ASSEMBLER__].
18216         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
18217         code.
18218         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
18219         conditional macro definitions.
18220         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
18221         (__arch_compare_and_exchange_val_16_acq): Likewise.
18222         (__arch_compare_and_exchange_val_32_acq): Likewise.
18223         (atomic_exchange_and_add): Likewise.
18224         (atomic_add): Likewise.
18225         (atomic_add_negative): Likewise.
18226         (atomic_add_zero): Likewise.
18227         (atomic_bit_set): Likewise.
18228         (atomic_bit_test_set): Likewise.
18229         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
18230         code unconditional.
18231         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18233         * math/test-math-errno.h: New file.
18234         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
18235         empty.
18236         (TEST_ERRNO): New macro.
18237         (TEST_EXCEPTIONS): Likewise.
18238         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
18239         (TEST_EXCEPTIONS): Likewise.
18240         * math/test-math-vector.h (TEST_ERRNO): Likewise.
18241         * math/test-double.c: Include "test-math-errno.h".
18242         * math/test-float.c: Likewise.
18243         * math/test-ldouble.c: Likewise.
18244         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
18245         code unconditional.
18246         (test_exceptions): Only run code if TEST_EXCEPTIONS.
18247         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
18248         unconditional.
18249         (test_errno): Only run code if TEST_ERRNO.
18250         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
18252 2015-11-04  Florian Weimer  <fweimer@redhat.com>
18254         * nptl/tst-once5.cc: Remove attribution.
18256 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
18258         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
18259         sqrt, tan, tanh, y0, y1 and yn.
18260         * math/auto-libm-test-out: Regenerated.
18261         * math/libm-test.inc (scalb_test_data): Add more tests.
18262         (scalbn_test_data): Likewise.
18263         (scalbln_test_data): Likewise.
18264         (signbit_test_data): Likewise.
18265         (sin_test_data): Likewise.
18266         (sincos_test_data): Likewise.
18267         (sinh_test_data): Likewise.
18268         (sqrt_test_data): Likewise.
18269         (tan_test_data): Likewise.
18270         (tanh_test_data): Likewise.
18271         (tgamma_test_data): Likewise.
18272         (y0_test_data): Likewise.
18273         (y1_test_data): Likewise.
18274         (yn_test_data): Likewise.
18275         (significand_test_data): Likewise.
18276         * sysdeps/i386/fpu/libm-test-ulps: Update.
18278 2015-11-03  David Kastrup  <dak@gnu.org>
18280         [BZ #18604]
18281         * assert/assert.h (assert): Don't macro-expand failed assertion
18282         expression in error message.
18283         * malloc/malloc.c (assert): Likewise.
18285 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
18287         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
18288         test.
18289         * configure: Regenerated.
18291 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
18293         * math/libm-test.inc (modf_test_data): Add more tests.
18294         (nearbyint_test_data): Likewise.
18295         (nextafter_test_data): Likewise.
18296         (nexttoward_test_data): Likewise.
18297         (pow_test_data): Likewise.
18298         (remainder_test_data): Likewise.
18299         (remquo_test_data): Likewise.
18300         (rint_test_data): Likewise.
18302         [BZ #19201]
18303         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18304         Check for zero remainder in case of large exponents and ensure
18305         correct sign of result in that case.
18306         * math/libm-test.inc (remainder_test_data): Add more tests.
18308         [BZ #6799]
18309         * math/s_nextafter.c: Include <errno.h>.
18310         (__nextafter): Set errno on overflow and underflow.
18311         * math/s_nexttowardf.c: Include <errno.h>.
18312         (__nexttowardf): Set errno on overflow and underflow.
18313         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
18314         (__nextafterl): Set errno on overflow and underflow.
18315         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
18316         (__nexttoward): Set errno on overflow and underflow.
18317         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
18318         (__nexttowardf): Set errno on overflow and underflow.
18319         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
18320         (__nextafterf): Set errno on overflow and underflow.
18321         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
18322         (__nextafterl): Set errno on overflow and underflow.
18323         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
18324         (__nexttoward): Set errno on overflow and underflow.
18325         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
18326         (__nexttowardf): Set errno on overflow and underflow.
18327         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
18328         (__nextafterl): Set errno on overflow and underflow.
18329         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
18330         (__nexttoward): Set errno on overflow and underflow.
18331         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
18332         (__nexttowardf): Set errno on overflow and underflow.
18333         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
18334         (__nexttoward): Set errno on overflow and underflow.
18335         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
18336         (__nexttowardf): Set errno on overflow and underflow.
18337         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
18338         (__nldbl_nexttowardf): Set errno on overflow and underflow.
18339         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
18340         (__nextafterl): Set errno on overflow and underflow.
18341         * math/libm-test.inc (nextafter_test_data): Do not allow errno
18342         setting to be missing on overflow.  Add more tests.
18343         (nexttoward_test_data): Likewise.
18345         * configure.ac (libc_cv_initfini_array): Remove configure test.
18346         * configure: Regenerated.
18348 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
18350         [BZ #19189]
18351         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
18352         non-finite argument handle arguments with negative sign.
18354         * math/libm-test.inc (j0_test_data): Do not test sign of zero
18355         result from infinite argument.
18356         (j1_test_data): Likewise.
18357         (jn_test_data): Likewise.
18358         (y0_test_data): Likewise.
18359         (y1_test_data): Likewise.
18360         (yn_test_data): Likewise.
18362         [BZ #16171]
18363         * math/w_remainder.c (drem): Define as weak alias of __remainder.
18364         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
18365         * math/w_remainderf.c (dremf): Define as weak alias of
18366         __remainderf.
18367         * math/w_remainderl.c (dreml): Define as weak alias of
18368         __remainderl.
18369         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
18370         __remainder.
18371         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
18372         __remainderf.
18373         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
18374         __remainderl.
18375         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
18376         weak alias of remainderl.
18377         * sysdeps/ieee754/ldbl-opt/w_remainder.c
18378         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
18379         alias of __remainder.
18380         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
18381         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
18382         strong alias of __remainderl.
18383         (dreml): Use long_double_symbol.
18384         * math/Makefile (libm-calls): Remove w_drem.
18385         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
18386         (CFLAGS-nldbl-drem.c): Remove variable.
18387         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
18388         * math/w_drem.c: Remove file.
18389         * math/w_dremf.c: Likewise.
18390         * math/w_dreml.c: Likewise.
18391         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
18392         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
18393         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
18395         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
18396         * sysdeps/i386/configure: Regenerated.
18397         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
18398         * sysdeps/x86_64/configure: Regenerated.
18400         * configure.ac (libc_cv_asm_protected_directive): Remove configure
18401         test.
18402         (libc_cv_visibility_attribute): Likewise.
18403         (libc_cv_protected_data): Test unconditionally.
18404         (libc_cv_broken_visibility_attribute): Remove configure test.
18405         (libc_cv_have_sdata_section): Test unconditionally.
18406         * configure: Regenerated.
18408         * include/libc-internal.h (libc_max_align_t): Remove typedef.
18409         * include/scratch_buffer.h: Include <stddef.h> instead of
18410         <libc-internal.h>.
18411         (struct scratch_buffer): Use max_align_t instead of
18412         libc_max_align_t.
18414 2015-10-29  Florian Weimer  <fweimer@redhat.com>
18416         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
18417         instead of extend_alloca.  Change control flow to avoid a goto.
18418         Remove assert which is trivially always true.
18420 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
18422         [BZ #16068]
18423         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
18424         (FE_ALL_EXCEPT_X86): New macro.
18425         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
18426         FE_ALL_EXCEPT.  Ensure precision control is included in
18427         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
18428         handle "denormal operand exception" and clear FZ and DAZ bits.
18429         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
18430         (FE_ALL_EXCEPT_X86): New macro.
18431         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
18432         FE_ALL_EXCEPT.  Ensure precision control is included in
18433         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
18434         handle "denormal operand exception" and clear FZ and DAZ bits.
18435         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
18436         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
18437         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18438         test-fenv-x87 and test-fenv-sse-2.
18439         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
18441         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
18442         * math/test-double.h (BUILD_COMPLEX): New macro.
18443         * math/test-float.h (BUILD_COMPLEX): Likewise.
18444         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
18446         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
18447         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
18448         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
18449         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
18450         instead of DBL_DENORM_MIN in comment.
18451         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
18452         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
18453         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
18454         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
18455         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
18456         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
18458 2015-10-28  Florian Weimer  <fweimer@redhat.com>
18460         [BZ# 19048]
18461         * malloc/malloc.c (struct malloc_state): Update comment.  Add
18462         attached_threads member.
18463         (main_arena): Initialize attached_threads.
18464         * malloc/arena.c (list_lock): Update comment.
18465         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
18466         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
18467         (deattach_arena): New function.
18468         (_int_new_arena): Initialize arena reference count and deattach
18469         replaced arena.
18470         (get_free_list, reused_arena): Update reference count and deattach
18471         replaced arena.
18472         (arena_thread_freeres): Update arena reference count and only put
18473         unreferenced arenas on the free list.
18475 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
18477         [BZ #19181]
18478         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
18479         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
18480         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
18481         * math/test-fenv-clear-main.c: New file.
18482         * math/test-fenv-clear.c: Likewise.
18483         * math/Makefile (tests): Add test-fenv-clear.
18484         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
18485         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18486         test-fenv-clear-sse.
18487         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
18489         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
18490         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
18491         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
18493 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18495         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
18496         static libc.
18498 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
18500         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
18501         test.
18502         * sysdeps/i386/configure: Regenerated.
18503         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
18504         test.
18505         * sysdeps/x86_64/configure: Regenerated.
18506         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
18507         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18508         memset-avx2 unconditionally instead of conditionally on
18509         [$(config-cflags-avx2) = yes].
18510         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18511         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
18512         unconditional.
18513         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
18514         * sysdeps/x86_64/multiarch/memset_chk.S
18515         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
18516         to [IS_IN (libc) && SHARED].
18518 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
18520         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
18521         configure test.
18522         * sysdeps/arm/configure: Regenerated.
18523         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
18524         Define variable if not already defined.
18526         [BZ #17404]
18527         * sysdeps/mips/atomic-machine.h
18528         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
18529         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
18530         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
18532         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
18533         unconditional.
18534         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
18535         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18536         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
18537         unconditional.
18538         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18539         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
18540         unconditional.
18541         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18542         * stdlib/setenv.c
18543         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
18544         code unconditional.
18545         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
18546         Remove conditional code.
18547         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
18548         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
18549         unconditional.
18550         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
18551         code.
18552         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
18553         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
18554         unconditional.
18555         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
18556         code.
18557         * sysdeps/ieee754/ldbl-128/k_tanl.c
18558         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
18559         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18560         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
18561         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
18562         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18563         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
18564         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
18565         unconditional.
18566         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
18567         code.
18568         * sysdeps/ieee754/ldbl-96/k_tanl.c
18569         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
18570         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18572         * nptl/tst-initializers1-c11.c: New file.
18573         * nptl/tst-initializers1-gnu11.c: Likewise.
18574         * nptl/Makefile (tests): Add these new tests.
18575         (CFLAGS-tst-initializers1-c11.c): New variable.
18576         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
18578         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
18579         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
18580         instead of -std=gnu99.
18581         * configure.ac (systemtap): Test with -std=gnu11 instead of
18582         -std=gnu99.
18583         * configure: Regenerated.
18584         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
18585         in compilation command in comment.
18587         * sysdeps/nptl/configure.ac: Remove file.
18588         * sysdeps/nptl/configure: Remove generated file.
18589         * configure.ac (libc_cv_forced_unwind): Do not substitute.
18590         * configure: Regenerated.
18591         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
18592         * config.make.in (have-forced-unwind): Remove variable.
18593         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
18594         unconditional.
18595         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
18596         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
18597         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
18598         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
18599         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
18600         unconditional.
18602 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18604         [BZ #19174]
18605         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
18606         .skip_lock_out_of_tbegin_retries.
18607         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
18608         (__lll_lock_elision): Likewise, and respect a value of
18609         try_tbegin <= 0.
18611 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18613         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
18614         statement.
18616 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
18618         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
18619         variable.
18620         (test-xfail-ISO11/stdalign.h/conform): Likewise.
18621         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
18623         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
18624         of -std=c1x -D_ISOC11_SOURCE.
18626         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
18627         * configure: Regenerated.
18628         * manual/install.texi (Tools for Compilation): Document
18629         requirement for GCC 4.7 or later.
18630         * INSTALL: Regenerated.
18632 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
18634         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
18635         on CNT to a conditional jump to 'puntdata'.
18637 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
18639         * configure.ac (libc_cv_gcc___thread): Remove configure test.
18640         (libc_cv_gcc_tls_model_attr): Likewise.
18641         * configure: Regenerated.
18643         * configure.ac (libc_cv_need_minus_P): Remove configure test.
18644         * configure: Regenerated.
18645         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
18647 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
18649         * configure.ac (old_glibc_headers): Remove configure test.
18650         * configure: Regenerated.
18651         * config.make.in (old-glibc-headers): Remove variable.
18652         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
18653         (install): Remove dependency on remove-old-headers.
18654         (headers2_0): Remove variable.
18655         (remove-old-headers): Remove rule.
18657         * configure.ac (libc_cv_dot_text): Remove configure test.
18658         (libc_cv_asm_set_directive): Use .text instead of
18659         ${libc_cv_dot_text} in configure test.
18660         * configure: Regenerated.
18662 2015-10-26  Florian Weimer  <fweimer@redhat.com>
18664         [BZ #19168]
18665         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18667 2015-10-26  Florian Weimer  <fweimer@redhat.com>
18669         * configure.ac (CXX): Clear the variable if the C++ toolchain does
18670         not support static linking.
18671         * configure: Regenerate.
18673 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
18675         * math/libm-test.inc (check_float_internal): Do not special-case
18676         errors up to 0.5 ulp.
18678         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18679         log2.
18680         * math/auto-libm-test-out: Regenerated.
18681         * math/libm-test.inc (MAX_EXP): New macro.
18682         (ilogb_test_data): Add more tests.
18683         (isfinite_test_data): Likewise.
18684         (isgreater_test_data): Likewise.
18685         (isgreaterequal_test_data): Likewise.
18686         (isinf_test_data): Likewise.
18687         (isless_test_data): Likewise.
18688         (islessequal_test_data): Likewise.
18689         (islessgreater_test_data): Likewise.
18690         (isnan_test_data): Likewise.
18691         (isnormal_test_data): Likewise.
18692         (issignaling_test_data): Likewise.
18693         (isunordered_test_data): Likewise.
18694         (j0_test_data): Likewise.
18695         (j1_test_data): Likewise.
18696         (jn_test_data): Likewise.
18697         (lgamma_test_data): Likewise.
18698         (log_test_data): Likewise.
18699         (log10_test_data): Likewise.
18700         (log1p_test_data): Likewise.
18701         (log2_test_data): Likewise.
18702         (logb_test_data): Likewise.
18703         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18705         [BZ #18611]
18706         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
18707         avoid excess range and precision on underflow.
18708         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18709         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
18710         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18711         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
18712         underflow.
18713         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18714         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18715         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18716         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18717         * math/auto-libm-test-in: Do not allow missing errno setting for
18718         tests of j1 and jn.
18719         * math/auto-libm-test-out: Regenerated.
18721 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
18723         [BZ #15491]
18724         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
18725         floating-point environment instead of clearing all exceptions.
18726         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18727         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
18728         merging in "invalid" exceptions from frndint.
18729         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
18730         * math/test-nearbyint-except.c: New file.
18731         * math/Makefile (tests): Add test-nearbyint-except.
18733 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
18735         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
18737         * sysdeps/tile/libm-test-ulps: Regenerated.
18739 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
18742         (__NR_sync_file_range2): Assume it is always defined.
18743         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
18744         (__NR_sync_file_range): Assume it is always defined.
18746 2015-10-22  Andreas Schwab  <schwab@suse.de>
18748         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
18749         INTERNAL_SYSCALL_ERRNO.
18750         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18751         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
18752         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18753         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
18754         Likewise.
18755         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18757 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
18759         * io/tst-fcntl.c (fd): New static variable.
18760         (do_prepare): Open temporary file here....
18761         (do_test): ...not here.
18763         * io/ftwtest-sh: Also trap on exit to remove temporary files.
18765 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
18767         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
18768         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
18769         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
18770         Moved before "#ifdef __ASSEMBLER__".
18772 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
18774         [BZ #19156]
18775         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
18776         arguments very close to 0.
18778 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
18780         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
18781         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
18783 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
18785         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
18786         New.  Defined for GCC 5 and above when not compiling for
18787         profiling.
18788         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
18790         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
18791         Renamed to ...
18792         (CFLAGS-epoll_pwait.o): This.
18793         (CFLAGS-mmap.c): Renamed to ...
18794         (CFLAGS-mmap.o): This.
18795         (CFLAGS-mmap64.c): Renamed to ...
18796         (CFLAGS-mmap64.o): This.
18797         (CFLAGS-epoll_pwait.os): New.
18798         (CFLAGS-mmap.os): Likewise.
18799         (CFLAGS-mmap64.os): Likewise.
18800         (CFLAGS-semtimedop.os): Likewise.
18801         (CFLAGS-semtimedop.c): Renamed to ...
18802         (CFLAGS-semtimedop.o): This.
18804 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18806         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
18807         warning message.
18809 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
18811         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
18812         * Makefile ($(objpfx)c++-types-check.out): Filter out
18813         $(+gccwarn-c) instead of -Wstrict-prototypes.
18815         * io/fts.c (fts_open): Convert to prototype-style function
18816         definition.
18817         * malloc/mcheck.c (mcheck): Likewise.
18818         (mcheck_pedantic): Likewise.
18819         * posix/regexec.c (re_search_2_stub): Likewise.  Use
18820         internal_function.
18821         (re_search_internal): Likewise.
18822         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
18823         prototype-style function definition.
18824         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18825         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
18826         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
18827         (xdr_utmpptr): Likewise.
18828         (xdr_utmparr): Likewise.
18829         (xdr_utmpidle): Likewise.
18830         (xdr_utmpidleptr): Likewise.
18831         (xdr_utmpidlearr): Likewise.
18833         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
18834         log, log10 and log2.
18835         * math/auto-libm-test-out: Regenerated.
18836         * math/libm-test.inc (fmod_test_data): Add more tests.
18837         (fpclassify_test_data): Likewise.
18838         (frexp_test_data): Likewise.
18839         (hypot_test_data): Likewise.
18840         (ilogb_test_data): Likewise.
18842 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
18844         * debug/fortify_fail.c (__fortify_fail): Convert to
18845         prototype-style function definition.  Use internal_function.
18846         * libio/genops.c (save_for_backup): Convert to prototype-style
18847         function definition.
18848         * libio/wgenops.c (save_for_wbackup): Likewise.
18849         * login/grantpt.c (grantpt): Likewise.
18850         * login/ptsname.c (ptsname): Likewise.
18851         (__ptsname_r): Likewise.
18852         * login/unlockpt.c (unlockpt): Likewise.
18853         * mach/msgserver.c (__mach_msg_server): Likewise.
18854         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
18855         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
18856         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
18857         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
18858         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
18859         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
18860         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
18861         Likewise.
18862         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
18863         internal_function.
18864         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
18865         prototype-style function definition.
18866         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
18867         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
18868         (__pthread_create_2_0): Likewise.
18869         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
18870         * nptl/register-atfork.c (__register_atfork): Likewise.
18871         * posix/glob.c (glob): Likewise.
18872         * posix/regcomp.c (re_comp): Likewise.
18873         * posix/regexec.c (re_exec): Likewise.
18874         * stdlib/add_n.c [__STDC__]: Make code unconditional.
18875         [!__STDC__]: Remove conditional code.
18876         * stdlib/cmp.c [__STDC__]: Make code unconditional.
18877         [!__STDC__]: Remove conditional code.
18878         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
18879         [!__STDC__]: Remove conditional code.
18880         * stdlib/divrem.c [__STDC__]: Make code unconditional.
18881         [!__STDC__]: Remove conditional code.
18882         * stdlib/lshift.c [__STDC__]: Make code unconditional.
18883         [!__STDC__]: Remove conditional code.
18884         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
18885         [!__STDC__]: Remove conditional code.
18886         * stdlib/mul.c [__STDC__]: Make code unconditional.
18887         [!__STDC__]: Remove conditional code.
18888         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
18889         [!__STDC__]: Remove conditional code.
18890         * stdlib/rshift.c [__STDC__]: Make code unconditional.
18891         [!__STDC__]: Remove conditional code.
18892         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
18893         function definition.
18894         (STRTOF): Likewise.
18895         * stdlib/strtod_l.c (__STRTOF): Likewise.
18896         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
18897         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
18898         (__strtol_l): Likewise.
18899         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
18900         [!__STDC__]: Remove conditional code.
18901         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
18902         definition.
18903         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
18904         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18905         type.
18906         (__strcasecmp): Convert to prototype-style function definition.
18907         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
18908         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18909         type.
18910         (__strncasecmp): Convert to prototype-style function definition.
18911         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
18912         * sunrpc/xdr.c (xdr_union): Likewise.
18913         * sunrpc/xdr_array.c (xdr_array): Likewise.
18914         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
18915         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
18916         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
18917         Likewise.
18918         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
18919         Likewise.
18920         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
18921         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18922         Likewise.
18923         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
18924         (LOCALE_PARAM_PROTO): Likewise.
18925         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
18926         argument type.
18927         (ut_argument_spec): Remove macro.
18928         (ut_argument_spec_iso): Rename to ut_argument_spec.
18929         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
18930         prototype-style function definition.
18931         (memcpy_uppcase): Likewise.
18932         (__strftime_internal): Likewise.
18933         (my_strftime): Likewise.
18934         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
18935         (LOCALE_PARAM_DECL): Likewise.
18936         [_LIBC] (LOCALE_PARAM): Include argument type.
18937         (__strptime_internal): Convert to prototype-style function
18938         definition.
18939         (strptime): Likewise.
18940         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
18941         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18942         type.
18943         (__wcscasecmp): Convert to prototype-style function definition.
18944         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
18945         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18946         type.
18947         (__wcsncasecmp): Convert to prototype-style function definition.
18949         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
18950         function definition.
18951         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
18952         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
18953         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
18954         * elf/dl-minimal.c (_itoa): Likewise.
18955         * hurd/hurdmalloc.c (malloc): Likewise.
18956         (free): Likewise.
18957         (realloc): Likewise.
18958         * inet/inet6_option.c (inet6_option_space): Likewise.
18959         (inet6_option_init): Likewise.
18960         (inet6_option_append): Likewise.
18961         (inet6_option_alloc): Likewise.
18962         (inet6_option_next): Likewise.
18963         (inet6_option_find): Likewise.
18964         * io/ftw.c (FTW_NAME): Likewise.
18965         (NFTW_NAME): Likewise.
18966         (NFTW_NEW_NAME): Likewise.
18967         (NFTW_OLD_NAME): Likewise.
18968         * libio/iofwide.c (_IO_fwide): Likewise.
18969         * libio/strops.c (_IO_str_init_static_internal): Likewise.
18970         (_IO_str_init_static): Likewise.
18971         (_IO_str_init_readonly): Likewise.
18972         (_IO_str_overflow): Likewise.
18973         (_IO_str_underflow): Likewise.
18974         (_IO_str_count): Likewise.
18975         (_IO_str_seekoff): Likewise.
18976         (_IO_str_pbackfail): Likewise.
18977         (_IO_str_finish): Likewise.
18978         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
18979         (_IO_wstr_overflow): Likewise.
18980         (_IO_wstr_underflow): Likewise.
18981         (_IO_wstr_count): Likewise.
18982         (_IO_wstr_seekoff): Likewise.
18983         (_IO_wstr_pbackfail): Likewise.
18984         (_IO_wstr_finish): Likewise.
18985         * locale/programs/localedef.c (normalize_codeset): Likewise.
18986         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18987         (add_locales_to_archive): Likewise.
18988         (delete_locales_from_archive): Likewise.
18989         * malloc/malloc.c (__libc_mallinfo): Likewise.
18990         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
18991         * misc/tsearch.c (__tfind): Likewise.
18992         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
18993         * nptl/pthread_attr_getdetachstate.c
18994         (__pthread_attr_getdetachstate): Likewise.
18995         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
18996         Likewise.
18997         * nptl/pthread_attr_getinheritsched.c
18998         (__pthread_attr_getinheritsched): Likewise.
18999         * nptl/pthread_attr_getschedparam.c
19000         (__pthread_attr_getschedparam): Likewise.
19001         * nptl/pthread_attr_getschedpolicy.c
19002         (__pthread_attr_getschedpolicy): Likewise.
19003         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
19004         Likewise.
19005         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
19006         Likewise.
19007         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
19008         Likewise.
19009         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
19010         Likewise.
19011         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
19012         (__pthread_attr_init_2_0): Likewise.
19013         * nptl/pthread_attr_setdetachstate.c
19014         (__pthread_attr_setdetachstate): Likewise.
19015         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
19016         Likewise.
19017         * nptl/pthread_attr_setinheritsched.c
19018         (__pthread_attr_setinheritsched): Likewise.
19019         * nptl/pthread_attr_setschedparam.c
19020         (__pthread_attr_setschedparam): Likewise.
19021         * nptl/pthread_attr_setschedpolicy.c
19022         (__pthread_attr_setschedpolicy): Likewise.
19023         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
19024         Likewise.
19025         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
19026         Likewise.
19027         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
19028         Likewise.
19029         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
19030         Likewise.
19031         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
19032         Likewise.
19033         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
19034         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19035         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
19036         use internal_function.
19037         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
19038         prototype-style function definition.
19039         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
19040         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
19041         internal_function.
19042         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
19043         Convert to prototype-style function definition.
19044         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
19045         Likewise.
19046         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
19047         Likewise.
19048         (__pthread_mutex_unlock): Likewise.
19049         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
19050         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
19051         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
19052         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
19053         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
19054         * nss/makedb.c (process_input): Likewise.
19055         * posix/fnmatch.c (__strchrnul): Likewise.
19056         (__wcschrnul): Likewise.
19057         (fnmatch): Likewise.
19058         * posix/fnmatch_loop.c (FCT): Likewise.
19059         * posix/glob.c (globfree): Likewise.
19060         (__glob_pattern_type): Likewise.
19061         (__glob_pattern_p): Likewise.
19062         * posix/regcomp.c (re_compile_pattern): Likewise.
19063         (re_set_syntax): Likewise.
19064         (re_compile_fastmap): Likewise.
19065         (regcomp): Likewise.
19066         (regerror): Likewise.
19067         (regfree): Likewise.
19068         * posix/regexec.c (regexec): Likewise.
19069         (re_match): Likewise.
19070         (re_search): Likewise.
19071         (re_match_2): Likewise.
19072         (re_search_2): Likewise.
19073         (re_search_stub): Likewise.  Use internal_function
19074         (re_copy_regs): Likewise.
19075         (re_set_registers): Convert to prototype-style function
19076         definition.
19077         (prune_impossible_nodes): Likewise.  Use internal_function.
19078         * resolv/inet_net_pton.c (inet_net_pton): Convert to
19079         prototype-style function definition.
19080         (inet_net_pton_ipv4): Likewise.
19081         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19082         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
19083         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
19084         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
19085         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
19086         Make variadic.
19087         * time/strptime_l.c (localtime_r): Convert to prototype-style
19088         function definition.
19089         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
19090         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
19091         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
19092         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
19094         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
19095         definition.
19096         (_ufc_doit_r): Likewise.
19097         * crypt/crypt_util.c (_ufc_copymem): Likewise.
19098         (_ufc_output_conversion_r): Likewise.
19099         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
19100         * inet/rcmd.c (rcmd_af): Likewise.
19101         (rcmd): Likewise.
19102         (ruserok_af): Likewise.
19103         (ruserok): Likewise.
19104         (ruserok2_sa): Likewise.
19105         (ruserok_sa): Likewise.
19106         (iruserok_af): Likewise.
19107         (iruserok): Likewise.
19108         (__ivaliduser): Likewise.
19109         (__validuser2_sa): Likewise.
19110         * inet/rexec.c (rexec_af): Likewise.
19111         (rexec): Likewise.
19112         * inet/ruserpass.c (ruserpass): Likewise.
19113         * locale/programs/xmalloc.c (xcalloc): Likewise.
19114         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
19115         * math/w_drem.c (__drem): Likewise.
19116         * math/w_dremf.c (__dremf): Likewise.
19117         * math/w_dreml.c (__dreml): Likewise.
19118         * misc/daemon.c (daemon): Likewise.
19119         * resolv/res_debug.c (p_fqnname): Likewise.
19120         * stdlib/div.c (div): Likewise.
19121         * string/memcmp.c (memcmp_bytes): Likewise.
19122         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
19123         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
19125         * crypt/cert.c (main): Convert to prototype-style function
19126         definition.
19127         * io/pipe.c (__pipe): Likewise.
19128         * io/pipe2.c (__pipe2): Likewise.
19129         * misc/futimesat.c (futimesat): Likewise.
19130         * misc/utimes.c (__utimes): Likewise.
19131         * posix/execve.c (__execve): Likewise.
19132         * posix/execvp.c (execvp): Likewise.
19133         * posix/execvpe.c (__execvpe): Likewise.
19134         * posix/fexecve.c (fexecve): Likewise.
19135         * socket/socketpair.c (socketpair): Likewise.
19136         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19137         * stdlib/erand48.c (erand48): Likewise.
19138         * stdlib/erand48_r.c (__erand48_r): Likewise.
19139         * stdlib/jrand48.c (jrand48): Likewise.
19140         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
19141         * stdlib/lcong48.c (lcong48): Likewise.
19142         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
19143         * stdlib/nrand48.c (nrand48): Likewise.
19144         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
19145         * stdlib/seed48.c (seed48): Likewise.
19146         * stdlib/seed48_r.c (__seed48_r): Likewise.
19147         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
19148         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
19149         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
19151 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
19153         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
19154         * configure: Regenerated.
19155         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
19156         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
19157         unconditional.
19158         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19159         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19160         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19161         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
19162         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
19163         unconditional.
19164         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19166         * posix/Makefile (CFLAGS-regex.c): Remove variable.
19167         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
19169         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
19170         function definition.
19171         * crypt/crypt_util.c (__encrypt_r): Likewise.
19172         * libio/genops.c (_IO_no_init): Likewise.
19173         * libio/iofopncook.c (_IO_fopencookie): Likewise.
19174         (_IO_old_fopencookie): Likewise.
19175         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19176         * libio/iogetline.c (_IO_getline): Likewise.
19177         (_IO_getline_info): Likewise.
19178         * libio/iogetwline.c (_IO_getwline): Likewise.
19179         (_IO_getwline_info): Likewise.
19180         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
19181         * libio/vswprintf.c (_IO_vswprintf): Likewise.
19182         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
19183         (find_entry): Likewise.
19184         (iterate_table): Likewise.
19185         (lookup): Likewise.
19186         * login/forkpty.c (forkpty): Likewise.
19187         * misc/hsearch_r.c (__hsearch_r): Likewise.
19188         * misc/select.c (__select): Likewise.
19189         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
19190         Likewise.
19191         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
19192         Likewise.
19193         * nptl/old_pthread_cond_timedwait.c
19194         (__pthread_cond_timedwait_2_0): Likewise.
19195         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
19196         * nptl/pthread_barrierattr_getpshared.c
19197         (pthread_barrierattr_getpshared): Likewise.
19198         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
19199         Likewise.
19200         * nptl/pthread_mutex_setprioceiling.c
19201         (pthread_mutex_setprioceiling): Likewise.
19202         * nptl/pthread_mutexattr_getprioceiling.c
19203         (pthread_mutexattr_getprioceiling): Likewise.
19204         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
19205         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19206         Likewise.
19207         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19208         Likewise.
19209         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
19210         Likewise.
19211         * socket/recvfrom.c (__recvfrom): Likewise.
19212         * socket/sendto.c (__sendto): Likewise.
19213         * socket/setsockopt.c (__setsockopt): Likewise.
19214         * stdio-common/_itoa.c (_itoa): Likewise.
19215         * stdio-common/_itowa.c (_itowa): Likewise.
19216         * stdio-common/reg-printf.c (__register_printf_specifier):
19217         Likewise.
19218         (__register_printf_function): Likewise.
19219         * stdio-common/tempname.c (__path_search): Likewise.
19220         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
19221         * stdlib/mul_1.c (mpn_mul_1): Likewise.
19222         * stdlib/random_r.c (__initstate_r): Likewise.
19223         * stdlib/setenv.c (__add_to_environ): Likewise.
19224         * stdlib/submul_1.c (mpn_submul_1): Likewise.
19225         * streams/getpmsg.c (getpmsg): Likewise.
19226         * streams/putmsg.c (putmsg): Likewise.
19227         * streams/putpmsg.c (putpmsg): Likewise.
19228         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
19229         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
19230         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
19231         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
19232         * sunrpc/pm_getport.c (pmap_getport): Likewise.
19233         * sunrpc/svc_udp.c (cache_get): Likewise.
19234         * sunrpc/xdr_array.c (xdr_vector): Likewise.
19235         * sysdeps/mach/hurd/getcwd.c
19236         (__canonicalize_directory_name_internal): Likewise.
19237         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
19238         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
19239         * sysdeps/mach/hurd/select.c (__select): Likewise.
19240         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
19241         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
19242         * sysdeps/sparc/nptl/pthread_barrier_init.c
19243         (__pthread_barrier_init): Likewise.
19244         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
19245         (__pthread_cond_timedwait): Likewise.
19246         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
19247         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
19248         Likewise.
19249         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
19250         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
19251         Likewise.
19252         * sysvipc/semtimedop.c (semtimedop): Likewise.
19253         * time/setitimer.c (__setitimer): Likewise.
19254         * time/strftime_l.c (emacs_strftime): Likewise.
19256 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
19258         * config.make.in (have-ssp): Delete.
19259         (stack-protector): New variable.
19260         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
19261         cache test for -fstack-protector-strong.  Export stack_protector to
19262         the best ssp flag.
19263         * configure: Regenerated.
19264         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
19265         * nscd/Makefile (CFLAGS-nscd): Likewise.
19266         * resolv/Makefile (CFLAGS-libresolv): Likewise.
19268 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
19270         [BZ #19122]
19271         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
19272         attribute_hidden.
19274 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19276         [BZ #18743]
19277         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
19278         code to...
19279         (ELIDE_LOCK): ...here.
19280         (__get_new_count): New function with part of the code from
19281         __elide_lock that updates the value of adapt_count after a
19282         transaction abort.
19283         (__elided_trylock): Moved this code to...
19284         (ELIDE_TRYLOCK): ...here.
19286 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
19288         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
19289         * configure: Regenerate.
19290         * INSTALL: Regenerate.
19291         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
19292         and tweak grammar.
19294 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
19296         * login/programs/pt_chown.c: Include signal.h
19297         (main): Clear any signal mask from the parent process.
19299 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
19301         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
19302         * configure: Regenerated.
19303         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
19304         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
19305         $(gnu89-inline-CFLAGS).
19307         * configure.ac (libc_cv_asm_weak_directive): Remove configure
19308         test.
19309         (libc_cv_asm_weakext_directive): Likewise.
19310         * configure: Regenerated.
19311         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
19312         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
19313         * include/libc-symbols.h
19314         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
19315         #error.
19316         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
19317         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
19319         * sysdeps/arm/backtrace.c (__backtrace): Convert to
19320         prototype-style function definition.
19321         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
19322         * sysdeps/i386/ffs.c (__ffs): Likewise.
19323         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19324         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
19325         Likewise.
19326         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
19327         Likewise.
19328         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
19329         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
19330         Likewise.
19331         * sysdeps/m68k/ffs.c (__ffs): Likewise.
19332         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
19333         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
19334         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
19335         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
19336         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
19337         * sysdeps/mach/hurd/access.c (__access): Likewise.
19338         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
19339         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
19340         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
19341         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
19342         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
19343         (cthread_getspecific): Likewise.
19344         (cthread_setspecific): Likewise.
19345         (__libc_getspecific): Likewise.
19346         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
19347         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
19348         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
19349         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
19350         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
19351         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
19352         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
19353         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
19354         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
19355         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
19356         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
19357         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
19358         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
19359         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
19360         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
19361         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
19362         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
19363         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
19364         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
19365         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
19366         * sysdeps/mach/hurd/link.c (__link): Likewise.
19367         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
19368         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
19369         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
19370         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
19371         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
19372         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
19373         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
19374         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
19375         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
19376         * sysdeps/mach/hurd/rename.c (rename): Likewise.
19377         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
19378         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
19379         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
19380         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
19381         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
19382         * sysdeps/mach/hurd/send.c (__send): Likewise.
19383         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
19384         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
19385         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
19386         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
19387         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
19388         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
19389         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
19390         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
19391         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
19392         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
19393         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
19394         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
19395         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
19396         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
19397         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
19398         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
19399         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
19400         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
19401         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
19402         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
19403         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
19404         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
19405         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
19406         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
19407         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
19408         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
19409         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
19410         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
19411         * sysdeps/posix/alarm.c (alarm): Likewise.
19412         * sysdeps/posix/cuserid.c (cuserid): Likewise.
19413         * sysdeps/posix/dirfd.c (dirfd): Likewise.
19414         * sysdeps/posix/dup.c (__dup): Likewise.
19415         * sysdeps/posix/dup2.c (__dup2): Likewise.
19416         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
19417         (main): Likewise.
19418         * sysdeps/posix/flock.c (__flock): Likewise.
19419         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
19420         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
19421         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
19422         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
19423         * sysdeps/posix/isatty.c (__isatty): Likewise.
19424         * sysdeps/posix/killpg.c (killpg): Likewise.
19425         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
19426         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
19427         * sysdeps/posix/raise.c (raise): Likewise.
19428         * sysdeps/posix/remove.c (remove): Likewise.
19429         * sysdeps/posix/rename.c (rename): Likewise.
19430         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
19431         * sysdeps/posix/seekdir.c (seekdir): Likewise.
19432         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
19433         * sysdeps/posix/sigignore.c (sigignore): Likewise.
19434         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
19435         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
19436         * sysdeps/posix/sigset.c (sigset): Likewise.
19437         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
19438         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
19439         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
19440         * sysdeps/posix/time.c (time): Likewise.
19441         * sysdeps/posix/ttyname.c (getttyname): Likewise.
19442         (ttyname): Likewise.
19443         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
19444         * sysdeps/posix/utime.c (utime): Likewise.
19445         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
19446         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
19447         Likewise.
19448         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
19449         (pthread_spin_trylock): Likewise.
19450         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
19451         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
19452         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
19453         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
19454         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
19455         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
19456         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
19457         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
19458         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
19459         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
19460         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
19461         * sysdeps/s390/ffs.c (__ffs): Likewise.
19462         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
19463         Likewise.
19464         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
19465         Likewise.
19466         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
19467         Likewise.
19468         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
19469         (pthread_barrier_destroy): Likewise.
19470         * sysdeps/sparc/nptl/pthread_barrier_wait.c
19471         (__pthread_barrier_wait): Likewise.
19472         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
19473         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
19474         (__pthread_barrier_wait): Likewise.
19475         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
19476         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
19477         (memcmp_not_common_alignment): Likewise.
19478         (MEMCMP): Likewise.
19479         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
19480         (_wordcopy_fwd_dest_aligned): Likewise.
19481         (_wordcopy_bwd_aligned): Likewise.
19482         (_wordcopy_bwd_dest_aligned): Likewise.
19483         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
19484         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
19485         * sysdeps/unix/bsd/stty.c (stty): Likewise.
19486         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
19487         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
19488         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
19489         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
19490         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
19491         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
19492         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
19493         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
19494         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
19495         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
19496         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
19497         * sysdeps/unix/stime.c (stime): Likewise.
19498         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
19499         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
19500         Likewise.  Use internal_function.
19501         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
19502         Convert to prototype-style function definition.
19503         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19504         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19505         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
19506         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19507         Likewise.  Use internal_function.
19508         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
19509         prototype-style function definition
19510         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19511         Likewise.
19512         (__getlogin_r): Likewise.
19513         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
19514         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
19515         (__pthread_cond_broadcast): Likewise.
19516         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
19517         (__pthread_cond_destroy): Likewise.
19518         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
19519         (__pthread_cond_init): Likewise.
19520         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
19521         (__pthread_cond_signal): Likewise.
19522         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
19523         (__pthread_cond_wait): Likewise.
19524         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
19525         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
19526         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
19527         Likewise.
19528         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
19529         Likewise.
19530         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
19531         Likewise.
19532         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
19533         Likewise.
19534         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
19535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
19536         (__ftruncate64): Likewise.
19537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
19538         (truncate64): Likewise.
19539         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
19540         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
19541         (pthread_getcpuclockid): Likewise.
19542         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
19543         Likewise.
19544         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
19545         Likewise.
19546         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
19547         Likewise.
19548         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
19549         Likewise.
19550         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
19551         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
19552         (__libc_sigaction): Likewise.
19553         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
19554         Likewise.
19555         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
19556         (__sigprocmask): Likewise.
19557         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
19558         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
19559         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
19560         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
19561         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19562         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
19563         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19564         Likewise.
19565         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
19566         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
19567         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19568         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
19569         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
19570         Likewise.
19571         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
19572         (__sigprocmask): Likewise.
19573         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
19574         (cfgetispeed): Likewise.
19575         (cfsetospeed): Likewise.
19576         (cfsetispeed): Likewise.
19577         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
19578         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
19579         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19580         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
19581         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
19582         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
19583         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
19584         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
19585         Likewise.
19586         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
19587         Likewise.
19588         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
19589         Likewise.
19590         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
19591         Likewise.
19592         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
19594 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19596         sunrpc: Rewrite with explicit TLS access using __thread.
19597         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
19598         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
19599         directly.
19600         (__rpc_thread_variables): Access thread_rpc_vars directly.
19601         Eliminate redundant assignment of the tvp variable.
19603 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19605         malloc: Rewrite with explicit TLS access using __thread.
19606         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
19607         (tsd_setspecific, tsd_getspecific): Remove.
19608         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
19609         (tsd_setspecific, tsd_getspecific): Likewise.
19610         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
19611         (tsd_setspecific, tsd_getspecific): Likewise.
19612         * malloc/arena.c (thread_arena): New TLS variable.
19613         (arena_key): Remove variable.
19614         (arena_get): Use thread_arena.
19615         (arena_lookup): Remove macro.
19616         (malloc_atfork, free_atfork, ptmalloc_lock_all)
19617         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
19618         (_int_new_arena, get_free_list, reused_arena)
19619         (arena_thread_freeres): Use thread_arena.
19620         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
19621         tsd_getspecific, tsd_setspecific from safety annotations.
19622         (Allocating Cleared Space): Remove arena_lookup from safety
19623         annotations.
19625 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19627         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
19628         struct scratch_buffer instead of extend_alloca.
19630 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19632         * sysdeps/unix/sysv/linux/kernel-features.h
19633         (__ASSUME_SOCK_CLOEXEC): Remove.
19634         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
19635         (__have_paccept): Remove unused macro.
19636         * include/unistd.h (__have_sock_cloexec): Remove declaration.
19637         * misc/syslog.c (openlog_internal): Remove fallback code for
19638         !__ASSUME_SOCK_CLOEXEC.
19639         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
19640         missing SOCK_CLOEXEC.
19641         * nscd/connections.c (have_sock_cloexec): Remove definition.
19642         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
19643         * nscd/nscd_helper.c (open_socket): Remove fallback code for
19644         !__ASSUME_SOCK_CLOEXEC.
19645         * resolv/res_send.c (__have_o_nonblock): Remove definition.
19646         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
19647         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
19648         definition.
19649         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
19650         code for !__ASSUME_SOCK_CLOEXEC.
19652 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19654         [BZ #18982]
19655         * manual/stdio.texi (Variable Arguments Output): Add portability
19656         note, explaining that vfprintf clobbers the va_list pointer.
19658 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
19660         * math/libm-test.inc (fabs_test_data): Add more tests.
19661         (fdim_test_data): Likewise.
19662         (fma_test_data): Likewise.
19663         (fmax_test_data): Likewise.
19664         (fmin_test_data): Likewise.
19665         (fmod_test_data): Likewise.
19667 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
19669         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
19670         data.
19672 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
19674         * math/libm-test.inc (ceil_test_data): Add more tests and more
19675         expectations for "inexact".
19676         (floor_test_data): Add more tests.
19677         (round_test_data): Likewise.
19678         (trunc_test_data): Likewise.
19680         * crypt/cert.c (good_bye): Convert to prototype-style function
19681         definition.
19682         (get8): Likewise.
19683         (put8): Likewise.
19684         * crypt/crypt-entry.c (crypt): Likewise.
19685         (__fcrypt): Likewise.
19686         * crypt/crypt_util.c (_ufc_prbits): Likewise.
19687         (_ufc_set_bits): Likewise.
19688         (_ufc_clearmem): Likewise.
19689         (__init_des_r): Likewise.
19690         (shuffle_sb): Likewise.
19691         (shuffle_sb): Likewise.
19692         (_ufc_setup_salt_r): Likewise.
19693         (_ufc_mk_keytab_r): Likewise.
19694         (_ufc_dofinalperm_r): Likewise.
19695         (encrypt): Likewise.
19696         (__setkey_r): Likewise.
19697         (setkey): Likewise.
19698         * crypt/md5.c (md5_init_ctx): Likewise.
19699         (md5_read_ctx): Likewise.
19700         (md5_finish_ctx): Likewise.
19701         (md5_stream): Likewise.
19702         (md5_buffer): Likewise.
19703         (md5_process_bytes): Likewise.
19704         * crypt/sha256.c (__sha256_init_ctx): Likewise.
19705         (__sha256_finish_ctx): Likewise.
19706         (__sha256_process_bytes): Likewise.
19707         * crypt/sha512.c (__sha512_init_ctx): Likewise.
19708         (__sha512_finish_ctx): Likewise.
19709         (__sha512_process_bytes): Likewise.
19710         * ctype/isctype.c (__isctype): Likewise.
19711         * debug/backtrace.c (__backtrace): Likewise.
19712         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
19713         * debug/fgets_chk.c (__fgets_chk): Likewise.
19714         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
19715         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
19716         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19717         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19718         * debug/memset_chk.c (__memset_chk): Likewise.
19719         * debug/strcat_chk.c (__strcat_chk): Likewise.
19720         * debug/strncat_chk.c (__strncat_chk): Likewise.
19721         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
19722         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
19723         * dirent/dirfd.c (dirfd): Likewise.
19724         * dirent/getdents.c (__getdirentries): Likewise.
19725         * dirent/getdents64.c (getdirentries64): Likewise.
19726         * dirent/rewinddir.c (__rewinddir): Likewise.
19727         * dirent/seekdir.c (seekdir): Likewise.
19728         * dirent/telldir.c (telldir): Likewise.
19729         * elf/sln.c (makesymlinks): Likewise.
19730         (makesymlink): Likewise.
19731         * gmon/gmon.c (__moncontrol): Likewise.
19732         (__monstartup): Likewise.
19733         (write_hist): Likewise.
19734         (write_call_graph): Likewise.
19735         (write_bb_counts): Likewise.
19736         * grp/setgroups.c (setgroups): Likewise.
19737         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19738         * inet/inet_net.c (inet_network): Likewise.
19739         * inet/inet_netof.c (inet_netof): Likewise.
19740         * inet/rcmd.c (rresvport_af): Likewise.
19741         (rresvport): Likewise.
19742         * io/access.c (__access): Likewise.
19743         * io/chdir.c (__chdir): Likewise.
19744         * io/chmod.c (__chmod): Likewise.
19745         * io/chown.c (__chown): Likewise.
19746         * io/close.c (__close): Likewise.
19747         * io/creat.c (creat): Likewise.
19748         * io/creat64.c (creat64): Likewise.
19749         * io/dup.c (__dup): Likewise.
19750         * io/dup2.c (__dup2): Likewise.
19751         * io/dup3.c (__dup3): Likewise.
19752         * io/euidaccess.c (__euidaccess): Likewise.
19753         * io/faccessat.c (faccessat): Likewise.
19754         * io/fchmod.c (__fchmod): Likewise.
19755         * io/fchmodat.c (fchmodat): Likewise.
19756         * io/fchown.c (__fchown): Likewise.
19757         * io/fchownat.c (fchownat): Likewise.
19758         * io/fcntl.c (__fcntl): Likewise.
19759         * io/flock.c (__flock): Likewise.
19760         * io/fts.c (fts_load): Likewise.
19761         (fts_close): Likewise.
19762         (fts_read): Likewise.
19763         (fts_set): Likewise.
19764         (fts_children): Likewise.
19765         (fts_build): Likewise.
19766         (fts_stat): Likewise.
19767         (fts_sort): Likewise.
19768         (fts_alloc): Likewise.
19769         (fts_lfree): Likewise.
19770         (fts_palloc): Likewise.
19771         (fts_padjust): Likewise.
19772         (fts_maxarglen): Likewise.
19773         (fts_safe_changedir): Likewise.
19774         * io/getwd.c (getwd): Likewise.
19775         * io/isatty.c (__isatty): Likewise.
19776         * io/lchown.c (__lchown): Likewise.
19777         * io/link.c (__link): Likewise.
19778         * io/linkat.c (linkat): Likewise.
19779         * io/lseek.c (__libc_lseek): Likewise.
19780         * io/mkdir.c (__mkdir): Likewise.
19781         * io/mkdirat.c (mkdirat): Likewise.
19782         * io/mkfifo.c (mkfifo): Likewise.
19783         * io/mkfifoat.c (mkfifoat): Likewise.
19784         * io/open.c (__libc_open): Likewise.
19785         * io/open64.c (__libc_open64): Likewise.
19786         * io/readlink.c (__readlink): Likewise.
19787         * io/readlinkat.c (readlinkat): Likewise.
19788         * io/rmdir.c (__rmdir): Likewise.
19789         * io/symlink.c (__symlink): Likewise.
19790         * io/symlinkat.c (symlinkat): Likewise.
19791         * io/ttyname.c (ttyname): Likewise.
19792         * io/ttyname_r.c (__ttyname_r): Likewise.
19793         * io/umask.c (__umask): Likewise.
19794         * io/unlink.c (__unlink): Likewise.
19795         * io/unlinkat.c (unlinkat): Likewise.
19796         * io/utime.c (utime): Likewise.
19797         * libio/clearerr.c (clearerr): Likewise.
19798         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
19799         * libio/feof.c (_IO_feof): Likewise.
19800         * libio/feof_u.c (feof_unlocked): Likewise.
19801         * libio/ferror.c (_IO_ferror): Likewise.
19802         * libio/ferror_u.c (ferror_unlocked): Likewise.
19803         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19804         * libio/fileno.c (__fileno): Likewise.
19805         * libio/fputc.c (fputc): Likewise.
19806         * libio/fputc_u.c (fputc_unlocked): Likewise.
19807         * libio/fputwc.c (fputwc): Likewise.
19808         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
19809         * libio/freopen.c (freopen): Likewise.
19810         * libio/freopen64.c (freopen64): Likewise.
19811         * libio/fseek.c (fseek): Likewise.
19812         * libio/fseeko.c (fseeko): Likewise.
19813         * libio/fseeko64.c (fseeko64): Likewise.
19814         * libio/ftello.c (__ftello): Likewise.
19815         * libio/ftello64.c (ftello64): Likewise.
19816         * libio/fwide.c (fwide): Likewise.
19817         * libio/genops.c (_IO_un_link): Likewise.
19818         (_IO_link_in): Likewise.
19819         (_IO_least_marker): Likewise.
19820         (_IO_switch_to_main_get_area): Likewise.
19821         (_IO_switch_to_backup_area): Likewise.
19822         (_IO_switch_to_get_mode): Likewise.
19823         (_IO_free_backup_area): Likewise.
19824         (_IO_switch_to_put_mode): Likewise.
19825         (__overflow): Likewise.
19826         (__underflow): Likewise.
19827         (__uflow): Likewise.
19828         (_IO_setb): Likewise.
19829         (_IO_doallocbuf): Likewise.
19830         (_IO_default_underflow): Likewise.
19831         (_IO_default_uflow): Likewise.
19832         (_IO_default_xsputn): Likewise.
19833         (_IO_sgetn): Likewise.
19834         (_IO_default_xsgetn): Likewise.
19835         (_IO_sync): Likewise.
19836         (_IO_default_setbuf): Likewise.
19837         (_IO_default_seekpos): Likewise.
19838         (_IO_default_doallocate): Likewise.
19839         (_IO_init): Likewise.
19840         (_IO_old_init): Likewise.
19841         (_IO_default_sync): Likewise.
19842         (_IO_default_finish): Likewise.
19843         (_IO_default_seekoff): Likewise.
19844         (_IO_sputbackc): Likewise.
19845         (_IO_sungetc): Likewise.
19846         (_IO_set_column): Likewise.
19847         (_IO_set_column): Likewise.
19848         (_IO_adjust_column): Likewise.
19849         (_IO_get_column): Likewise.
19850         (_IO_init_marker): Likewise.
19851         (_IO_remove_marker): Likewise.
19852         (_IO_marker_difference): Likewise.
19853         (_IO_marker_delta): Likewise.
19854         (_IO_seekmark): Likewise.
19855         (_IO_unsave_markers): Likewise.
19856         (_IO_nobackup_pbackfail): Likewise.
19857         (_IO_default_pbackfail): Likewise.
19858         (_IO_default_seek): Likewise.
19859         (_IO_default_stat): Likewise.
19860         (_IO_default_read): Likewise.
19861         (_IO_default_write): Likewise.
19862         (_IO_default_showmanyc): Likewise.
19863         (_IO_default_imbue): Likewise.
19864         (_IO_iter_next): Likewise.
19865         (_IO_iter_file): Likewise.
19866         * libio/getc.c (_IO_getc): Likewise.
19867         * libio/getwc.c (_IO_getwc): Likewise.
19868         * libio/iofclose.c (_IO_new_fclose): Likewise.
19869         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19870         * libio/iofflush.c (_IO_fflush): Likewise.
19871         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
19872         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
19873         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
19874         * libio/iofgets.c (_IO_fgets): Likewise.
19875         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
19876         * libio/iofgetws.c (fgetws): Likewise.
19877         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19878         * libio/iofopen64.c (_IO_fopen64): Likewise.
19879         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19880         (_IO_cookie_write): Likewise.
19881         (_IO_cookie_seek): Likewise.
19882         (_IO_cookie_close): Likewise.
19883         (_IO_cookie_seekoff): Likewise.
19884         (_IO_old_cookie_seek): Likewise.
19885         * libio/iofputs.c (_IO_fputs): Likewise.
19886         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
19887         * libio/iofputws.c (fputws): Likewise.
19888         * libio/iofputws_u.c (fputws_unlocked): Likewise.
19889         * libio/iofread.c (_IO_fread): Likewise.
19890         * libio/iofread_u.c (__fread_unlocked): Likewise.
19891         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
19892         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
19893         * libio/ioftell.c (_IO_ftell): Likewise.
19894         * libio/iofwrite.c (_IO_fwrite): Likewise.
19895         * libio/iogetdelim.c (_IO_getdelim): Likewise.
19896         * libio/iogets.c (_IO_gets): Likewise.
19897         * libio/iopadn.c (_IO_padn): Likewise.
19898         * libio/iopopen.c (_IO_new_proc_open): Likewise.
19899         (_IO_new_popen): Likewise.
19900         (_IO_new_proc_close): Likewise.
19901         * libio/ioputs.c (_IO_puts): Likewise.
19902         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
19903         (_IO_seekoff): Likewise.
19904         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
19905         (_IO_seekpos): Likewise.
19906         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
19907         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
19908         * libio/ioungetc.c (_IO_ungetc): Likewise.
19909         * libio/ioungetwc.c (ungetwc): Likewise.
19910         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19911         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
19912         * libio/iowpadn.c (_IO_wpadn): Likewise.
19913         * libio/libc_fatal.c (__libc_fatal): Likewise.
19914         * libio/memstream.c (__open_memstream): Likewise.
19915         (_IO_mem_sync): Likewise.
19916         (_IO_mem_finish): Likewise.
19917         * libio/oldfileops.c (_IO_old_file_init): Likewise.
19918         (_IO_old_file_close_it): Likewise.
19919         (_IO_old_file_finish): Likewise.
19920         (_IO_old_file_fopen): Likewise.
19921         (_IO_old_file_attach): Likewise.
19922         (_IO_old_file_setbuf): Likewise.
19923         (_IO_old_do_write): Likewise.
19924         (old_do_write): Likewise.
19925         (_IO_old_file_underflow): Likewise.
19926         (_IO_old_file_overflow): Likewise.
19927         (_IO_old_file_sync): Likewise.
19928         (_IO_old_file_seekoff): Likewise.
19929         (_IO_old_file_write): Likewise.
19930         (_IO_old_file_xsputn): Likewise.
19931         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
19932         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19933         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
19934         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
19935         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19936         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
19937         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
19938         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
19939         (_IO_old_popen): Likewise.
19940         (_IO_old_proc_close): Likewise.
19941         * libio/oldpclose.c (__old_pclose): Likewise.
19942         * libio/pclose.c (__new_pclose): Likewise.
19943         * libio/peekc.c (_IO_peekc_locked): Likewise.
19944         * libio/putc.c (_IO_putc): Likewise.
19945         * libio/putc_u.c (putc_unlocked): Likewise.
19946         * libio/putchar.c (putchar): Likewise.
19947         * libio/putchar_u.c (putchar_unlocked): Likewise.
19948         * libio/putwc.c (putwc): Likewise.
19949         * libio/putwc_u.c (putwc_unlocked): Likewise.
19950         * libio/putwchar.c (putwchar): Likewise.
19951         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
19952         * libio/rewind.c (rewind): Likewise.
19953         * libio/setbuf.c (setbuf): Likewise.
19954         * libio/setlinebuf.c (setlinebuf): Likewise.
19955         * libio/vasprintf.c (_IO_vasprintf): Likewise.
19956         * libio/vscanf.c (_IO_vscanf): Likewise.
19957         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
19958         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
19959         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
19960         * libio/wgenops.c (_IO_least_wmarker): Likewise.
19961         (_IO_switch_to_main_wget_area): Likewise.
19962         (_IO_switch_to_wbackup_area): Likewise.
19963         (_IO_wsetb): Likewise.
19964         (_IO_wdefault_pbackfail): Likewise.
19965         (_IO_wdefault_finish): Likewise.
19966         (_IO_wdefault_uflow): Likewise.
19967         (__woverflow): Likewise.
19968         (__wuflow): Likewise.
19969         (__wunderflow): Likewise.
19970         (_IO_wdefault_xsputn): Likewise.
19971         (_IO_wdefault_xsgetn): Likewise.
19972         (_IO_wdoallocbuf): Likewise.
19973         (_IO_wdefault_doallocate): Likewise.
19974         (_IO_switch_to_wget_mode): Likewise.
19975         (_IO_free_wbackup_area): Likewise.
19976         (_IO_switch_to_wput_mode): Likewise.
19977         (_IO_sputbackwc): Likewise.
19978         (_IO_sungetwc): Likewise.
19979         (_IO_adjust_wcolumn): Likewise.
19980         (_IO_init_wmarker): Likewise.
19981         (_IO_wmarker_delta): Likewise.
19982         (_IO_seekwmark): Likewise.
19983         (_IO_unsave_wmarkers): Likewise.
19984         * libio/wmemstream.c (open_wmemstream): Likewise.
19985         (_IO_wmem_sync): Likewise.
19986         (_IO_wmem_finish): Likewise.
19987         * locale/nl_langinfo.c (nl_langinfo): Likewise.
19988         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
19989         * locale/programs/simple-hash.c (init_hash): Likewise.
19990         (delete_hash): Likewise.
19991         (insert_entry): Likewise.
19992         (set_entry): Likewise.
19993         (next_prime): Likewise.
19994         (is_prime): Likewise.
19995         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
19996         (xmalloc): Likewise.
19997         (xrealloc): Likewise.
19998         * locale/programs/xstrdup.c (xstrdup): Likewise.
19999         * localedata/collate-test.c (xstrcoll): Likewise.
20000         * localedata/xfrm-test.c (xstrcmp): Likewise.
20001         * login/getlogin_r.c (__getlogin_r): Likewise.
20002         * login/getpt.c (__posix_openpt): Likewise.
20003         * login/login_tty.c (login_tty): Likewise.
20004         * login/setlogin.c (setlogin): Likewise.
20005         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
20006         (mach_msg_destroy_port): Likewise.
20007         (mach_msg_destroy_memory): Likewise.
20008         * malloc/mcheck.c (flood): Likewise.
20009         * misc/acct.c (acct): Likewise.
20010         * misc/brk.c (__brk): Likewise.
20011         * misc/chflags.c (chflags): Likewise.
20012         * misc/chroot.c (chroot): Likewise.
20013         * misc/fchflags.c (fchflags): Likewise.
20014         * misc/fstab.c (getfsspec): Likewise.
20015         (getfsfile): Likewise.
20016         * misc/fsync.c (fsync): Likewise.
20017         * misc/ftruncate.c (__ftruncate): Likewise.
20018         * misc/ftruncate64.c (__ftruncate64): Likewise.
20019         * misc/getdomain.c (getdomainname): Likewise.
20020         (getdomainname): Likewise.
20021         * misc/gethostname.c (__gethostname): Likewise.
20022         * misc/getpass.c (getpass): Likewise.
20023         * misc/getttyent.c (skip): Likewise.
20024         (value): Likewise.
20025         * misc/gtty.c (gtty): Likewise.
20026         * misc/hsearch.c (hsearch): Likewise.
20027         (hcreate): Likewise.
20028         * misc/hsearch_r.c (__hcreate_r): Likewise.
20029         (__hdestroy_r): Likewise.
20030         * misc/ioctl.c (__ioctl): Likewise.
20031         * misc/mkdtemp.c (mkdtemp): Likewise.
20032         * misc/mkostemp.c (mkostemp): Likewise.
20033         * misc/mkostemp64.c (mkostemp64): Likewise.
20034         * misc/mkostemps.c (mkostemps): Likewise.
20035         * misc/mkostemps64.c (mkostemps64): Likewise.
20036         * misc/mkstemp.c (mkstemp): Likewise.
20037         * misc/mkstemp64.c (mkstemp64): Likewise.
20038         * misc/mkstemps.c (mkstemps): Likewise.
20039         * misc/mkstemps64.c (mkstemps64): Likewise.
20040         * misc/mktemp.c (__mktemp): Likewise.
20041         * misc/preadv.c (preadv): Likewise.
20042         * misc/preadv64.c (preadv64): Likewise.
20043         * misc/pwritev.c (pwritev): Likewise.
20044         * misc/pwritev64.c (pwritev64): Likewise.
20045         * misc/readv.c (__readv): Likewise.
20046         * misc/revoke.c (revoke): Likewise.
20047         * misc/setdomain.c (setdomainname): Likewise.
20048         * misc/setegid.c (setegid): Likewise.
20049         * misc/seteuid.c (seteuid): Likewise.
20050         * misc/sethostid.c (sethostid): Likewise.
20051         * misc/sethostname.c (sethostname): Likewise.
20052         * misc/setregid.c (__setregid): Likewise.
20053         * misc/setreuid.c (__setreuid): Likewise.
20054         * misc/sstk.c (sstk): Likewise.
20055         * misc/stty.c (stty): Likewise.
20056         * misc/syscall.c (syscall): Likewise.
20057         * misc/syslog.c (setlogmask): Likewise.
20058         * misc/truncate.c (__truncate): Likewise.
20059         * misc/truncate64.c (truncate64): Likewise.
20060         * misc/ualarm.c (ualarm): Likewise.
20061         * misc/usleep.c (usleep): Likewise.
20062         * misc/ustat.c (ustat): Likewise.
20063         * misc/writev.c (__writev): Likewise.
20064         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
20065         * nptl/old_pthread_cond_broadcast.c
20066         (__pthread_cond_broadcast_2_0): Likewise.
20067         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
20068         Likewise.
20069         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
20070         Likewise.
20071         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
20072         Likewise.
20073         * nptl/pt-raise.c (raise): Likewise.
20074         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
20075         Likewise.
20076         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
20077         * nptl/pthread_barrierattr_destroy.c
20078         (pthread_barrierattr_destroy): Likewise.
20079         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
20080         Likewise.
20081         * nptl/pthread_barrierattr_setpshared.c
20082         (pthread_barrierattr_setpshared): Likewise.
20083         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
20084         Likewise.
20085         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
20086         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
20087         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
20088         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
20089         Likewise.
20090         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
20091         Likewise.
20092         * nptl/pthread_condattr_getpshared.c
20093         (pthread_condattr_getpshared): Likewise.
20094         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
20095         Likewise.
20096         * nptl/pthread_condattr_setpshared.c
20097         (pthread_condattr_setpshared): Likewise.
20098         * nptl/pthread_detach.c (pthread_detach): Likewise.
20099         * nptl/pthread_equal.c (__pthread_equal): Likewise.
20100         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
20101         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
20102         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
20103         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
20104         Likewise.
20105         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
20106         Likewise.
20107         * nptl/pthread_mutex_getprioceiling.c
20108         (pthread_mutex_getprioceiling): Likewise.
20109         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
20110         Likewise.
20111         * nptl/pthread_mutexattr_getprotocol.c
20112         (pthread_mutexattr_getprotocol): Likewise.
20113         * nptl/pthread_mutexattr_getpshared.c
20114         (pthread_mutexattr_getpshared): Likewise.
20115         * nptl/pthread_mutexattr_getrobust.c
20116         (pthread_mutexattr_getrobust): Likewise.
20117         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
20118         Likewise.
20119         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
20120         Likewise.
20121         * nptl/pthread_mutexattr_setprioceiling.c
20122         (pthread_mutexattr_setprioceiling): Likewise.
20123         * nptl/pthread_mutexattr_setprotocol.c
20124         (pthread_mutexattr_setprotocol): Likewise.
20125         * nptl/pthread_mutexattr_setpshared.c
20126         (pthread_mutexattr_setpshared): Likewise.
20127         * nptl/pthread_mutexattr_setrobust.c
20128         (pthread_mutexattr_setrobust): Likewise.
20129         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
20130         Likewise.
20131         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
20132         Likewise.
20133         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
20134         Likewise.
20135         * nptl/pthread_rwlockattr_getkind_np.c
20136         (pthread_rwlockattr_getkind_np): Likewise.
20137         * nptl/pthread_rwlockattr_getpshared.c
20138         (pthread_rwlockattr_getpshared): Likewise.
20139         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
20140         Likewise.
20141         * nptl/pthread_rwlockattr_setkind_np.c
20142         (pthread_rwlockattr_setkind_np): Likewise.
20143         * nptl/pthread_rwlockattr_setpshared.c
20144         (pthread_rwlockattr_setpshared): Likewise.
20145         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
20146         Likewise.
20147         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
20148         Likewise.
20149         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
20150         Likewise.
20151         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
20152         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
20153         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
20154         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
20155         * nptl/sem_close.c (sem_close): Likewise.
20156         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
20157         * nptl/sem_init.c (__old_sem_init): Likewise.
20158         * nptl/sigaction.c (__sigaction): Likewise.
20159         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
20160         * posix/_exit.c (_exit): Likewise.
20161         * posix/alarm.c (alarm): Likewise.
20162         * posix/confstr.c (confstr): Likewise.
20163         * posix/fpathconf.c (__fpathconf): Likewise.
20164         * posix/getgroups.c (__getgroups): Likewise.
20165         * posix/getpgid.c (__getpgid): Likewise.
20166         * posix/group_member.c (__group_member): Likewise.
20167         * posix/pathconf.c (__pathconf): Likewise.
20168         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
20169         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
20170         * posix/setgid.c (__setgid): Likewise.
20171         * posix/setpgid.c (__setpgid): Likewise.
20172         * posix/setuid.c (__setuid): Likewise.
20173         * posix/sleep.c (__sleep): Likewise.
20174         * posix/sysconf.c (__sysconf): Likewise.
20175         * posix/times.c (__times): Likewise.
20176         * posix/uname.c (__uname): Likewise.
20177         * posix/waitid.c (__waitid): Likewise.
20178         * pwd/getpw.c (__getpw): Likewise.
20179         * resolv/base64.c (b64_pton): Likewise.
20180         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
20181         * resolv/gethnamaddr.c (Dprintf): Likewise.
20182         (gethostbyname): Likewise.
20183         (gethostbyname2): Likewise.
20184         (gethostbyaddr): Likewise.
20185         (_sethtent): Likewise.
20186         (_gethtbyname): Likewise.
20187         (_gethtbyname2): Likewise.
20188         (_gethtbyaddr): Likewise.
20189         (map_v4v6_address): Likewise.
20190         (map_v4v6_hostent): Likewise.
20191         (addrsort): Likewise.
20192         (ht_sethostent): Likewise.
20193         (ht_gethostbyname): Likewise.
20194         (ht_gethostbyaddr): Likewise.
20195         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
20196         (inet_net_ntop_ipv4): Likewise.
20197         * resolv/inet_neta.c (inet_neta): Likewise.
20198         * resolv/inet_ntop.c (inet_ntop): Likewise.
20199         (inet_ntop4): Likewise.
20200         (inet_ntop6): Likewise.
20201         * resolv/inet_pton.c (__inet_pton): Likewise.
20202         (inet_pton4): Likewise.
20203         (inet_pton6): Likewise.
20204         * resolv/res_debug.c (loc_aton): Likewise.
20205         (loc_ntoa): Likewise.
20206         * resource/getpriority.c (__getpriority): Likewise.
20207         * resource/getrusage.c (__getrusage): Likewise.
20208         * resource/nice.c (nice): Likewise.
20209         * resource/setpriority.c (__setpriority): Likewise.
20210         * resource/setrlimit64.c (setrlimit64): Likewise.
20211         * resource/vlimit.c (vlimit): Likewise.
20212         * resource/vtimes.c (vtimes): Likewise.
20213         * rt/aio_error.c (aio_error): Likewise.
20214         * rt/aio_return.c (aio_return): Likewise.
20215         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
20216         * signal/kill.c (__kill): Likewise.
20217         * signal/killpg.c (killpg): Likewise.
20218         * signal/raise.c (raise): Likewise.
20219         * signal/sigaction.c (__sigaction): Likewise.
20220         * signal/sigaddset.c (sigaddset): Likewise.
20221         * signal/sigaltstack.c (sigaltstack): Likewise.
20222         * signal/sigandset.c (sigandset): Likewise.
20223         * signal/sigblock.c (__sigblock): Likewise.
20224         * signal/sigdelset.c (sigdelset): Likewise.
20225         * signal/sigempty.c (sigemptyset): Likewise.
20226         * signal/sigfillset.c (sigfillset): Likewise.
20227         * signal/sighold.c (sighold): Likewise.
20228         * signal/sigignore.c (sigignore): Likewise.
20229         * signal/sigintr.c (siginterrupt): Likewise.
20230         * signal/sigisempty.c (sigisemptyset): Likewise.
20231         * signal/sigismem.c (sigismember): Likewise.
20232         * signal/signal.c (signal): Likewise.
20233         * signal/sigorset.c (sigorset): Likewise.
20234         * signal/sigpause.c (__sigpause): Likewise.
20235         * signal/sigpending.c (sigpending): Likewise.
20236         * signal/sigprocmask.c (__sigprocmask): Likewise.
20237         * signal/sigrelse.c (sigrelse): Likewise.
20238         * signal/sigreturn.c (__sigreturn): Likewise.
20239         * signal/sigset.c (sigset): Likewise.
20240         * signal/sigsetmask.c (__sigsetmask): Likewise.
20241         * signal/sigstack.c (sigstack): Likewise.
20242         * signal/sigsuspend.c (__sigsuspend): Likewise.
20243         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
20244         * signal/sysv_signal.c (__sysv_signal): Likewise.
20245         * socket/accept.c (accept): Likewise.
20246         * socket/accept4.c (__libc_accept4): Likewise.
20247         * socket/bind.c (__bind): Likewise.
20248         * socket/connect.c (__connect): Likewise.
20249         * socket/getpeername.c (getpeername): Likewise.
20250         * socket/getsockname.c (__getsockname): Likewise.
20251         * socket/getsockopt.c (getsockopt): Likewise.
20252         * socket/listen.c (__listen): Likewise.
20253         * socket/recv.c (__recv): Likewise.
20254         * socket/recvmsg.c (__recvmsg): Likewise.
20255         * socket/send.c (__send): Likewise.
20256         * socket/sendmsg.c (__sendmsg): Likewise.
20257         * socket/shutdown.c (shutdown): Likewise.
20258         * socket/sockatmark.c (sockatmark): Likewise.
20259         * socket/socket.c (__socket): Likewise.
20260         * stdio-common/ctermid.c (ctermid): Likewise.
20261         * stdio-common/cuserid.c (cuserid): Likewise.
20262         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
20263         * stdio-common/remove.c (remove): Likewise.
20264         * stdio-common/rename.c (rename): Likewise.
20265         * stdio-common/renameat.c (renameat): Likewise.
20266         * stdio-common/tempname.c (__gen_tempname): Likewise.
20267         * stdio-common/xbug.c (InitBuffer): Likewise.
20268         (AppendToBuffer): Likewise.
20269         (ReadFile): Likewise.
20270         * stdlib/a64l.c (a64l): Likewise.
20271         * stdlib/drand48_r.c (drand48_r): Likewise.
20272         * stdlib/getcontext.c (getcontext): Likewise.
20273         * stdlib/getenv.c (getenv): Likewise.
20274         * stdlib/l64a.c (l64a): Likewise.
20275         * stdlib/llabs.c (llabs): Likewise.
20276         * stdlib/lldiv.c (lldiv): Likewise.
20277         * stdlib/lrand48_r.c (lrand48_r): Likewise.
20278         * stdlib/mrand48_r.c (mrand48_r): Likewise.
20279         * stdlib/putenv.c (putenv): Likewise.
20280         * stdlib/random.c (__srandom): Likewise.
20281         (__initstate): Likewise.
20282         (__setstate): Likewise.
20283         * stdlib/random_r.c (__srandom_r): Likewise.
20284         (__setstate_r): Likewise.
20285         (__random_r): Likewise.
20286         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
20287         * stdlib/setcontext.c (setcontext): Likewise.
20288         * stdlib/setenv.c (setenv): Likewise.
20289         (unsetenv): Likewise.
20290         * stdlib/srand48.c (srand48): Likewise.
20291         * stdlib/srand48_r.c (__srand48_r): Likewise.
20292         * stdlib/swapcontext.c (swapcontext): Likewise.
20293         * stdlib/system.c (__libc_system): Likewise.
20294         * stdlib/tst-strtod.c (expand): Likewise.
20295         * stdlib/tst-strtol.c (expand): Likewise.
20296         * stdlib/tst-strtoll.c (expand): Likewise.
20297         * streams/fattach.c (fattach): Likewise.
20298         * streams/fdetach.c (fdetach): Likewise.
20299         * streams/getmsg.c (getmsg): Likewise.
20300         * streams/isastream.c (isastream): Likewise.
20301         * string/ffs.c (__ffs): Likewise.
20302         * string/ffsll.c (ffsll): Likewise.
20303         * string/memcmp.c (memcmp_common_alignment): Likewise.
20304         (memcmp_not_common_alignment): Likewise.
20305         (MEMCMP): Likewise.
20306         * string/memcpy.c (memcpy): Likewise.
20307         * string/memmove.c (MEMMOVE): Likewise.
20308         * string/memset.c (memset): Likewise.
20309         * string/rawmemchr.c (RAWMEMCHR): Likewise.
20310         * string/strchrnul.c (STRCHRNUL): Likewise.
20311         * string/strerror.c (strerror): Likewise.
20312         * string/strndup.c (__strndup): Likewise.
20313         * string/strverscmp.c (__strverscmp): Likewise.
20314         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
20315         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
20316         (clnttcp_freeres): Likewise.
20317         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
20318         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
20319         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
20320         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
20321         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
20322         (xdr_callhdr): Likewise.
20323         * sunrpc/rpcinfo.c (udpping): Likewise.
20324         (tcpping): Likewise.
20325         (pstatus): Likewise.
20326         (pmapdump): Likewise.
20327         (brdcst): Likewise.
20328         (deletereg): Likewise.
20329         (getprognum): Likewise.
20330         (getvers): Likewise.
20331         (get_inet_address): Likewise.
20332         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
20333         * sunrpc/svc_udp.c (svcudp_create): Likewise.
20334         (svcudp_stat): Likewise.
20335         (svcudp_recv): Likewise.
20336         (svcudp_reply): Likewise.
20337         (svcudp_getargs): Likewise.
20338         (svcudp_freeargs): Likewise.
20339         (svcudp_destroy): Likewise.
20340         * sunrpc/xdr.c (xdr_bytes): Likewise.
20341         (xdr_netobj): Likewise.
20342         (xdr_string): Likewise.
20343         (xdr_wrapstring): Likewise.
20344         * sunrpc/xdr_float.c (xdr_float): Likewise.
20345         (xdr_double): Likewise.
20346         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
20347         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
20348         * sysvipc/ftok.c (ftok): Likewise.
20349         * sysvipc/msgctl.c (msgctl): Likewise.
20350         * sysvipc/msgget.c (msgget): Likewise.
20351         * sysvipc/msgrcv.c (msgrcv): Likewise.
20352         * sysvipc/msgsnd.c (msgsnd): Likewise.
20353         * sysvipc/semget.c (semget): Likewise.
20354         * sysvipc/semop.c (semop): Likewise.
20355         * sysvipc/shmat.c (shmat): Likewise.
20356         * sysvipc/shmctl.c (shmctl): Likewise.
20357         * sysvipc/shmdt.c (shmdt): Likewise.
20358         * sysvipc/shmget.c (shmget): Likewise.
20359         * termios/cfmakeraw.c (cfmakeraw): Likewise.
20360         * termios/speed.c (cfgetospeed): Likewise.
20361         (cfgetispeed): Likewise.
20362         (cfsetospeed): Likewise.
20363         (cfsetispeed): Likewise.
20364         * termios/tcflow.c (tcflow): Likewise.
20365         * termios/tcflush.c (tcflush): Likewise.
20366         * termios/tcgetattr.c (__tcgetattr): Likewise.
20367         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
20368         * termios/tcgetsid.c (tcgetsid): Likewise.
20369         * termios/tcsendbrk.c (tcsendbreak): Likewise.
20370         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
20371         * time/adjtime.c (__adjtime): Likewise.
20372         * time/dysize.c (dysize): Likewise.
20373         * time/ftime.c (ftime): Likewise.
20374         * time/getitimer.c (__getitimer): Likewise.
20375         * time/gettimeofday.c (__gettimeofday): Likewise.
20376         * time/gmtime.c (__gmtime_r): Likewise.
20377         (gmtime): Likewise.
20378         * time/localtime.c (__localtime_r): Likewise.
20379         (localtime): Likewise.
20380         * time/offtime.c (__offtime): Likewise.
20381         * time/settimeofday.c (__settimeofday): Likewise.
20382         * time/stime.c (stime): Likewise.
20383         * time/strftime_l.c (tm_diff): Likewise.
20384         (iso_week_days): Likewise.
20385         * time/strptime.c (strptime): Likewise.
20386         * time/time.c (time): Likewise.
20387         * time/timespec_get.c (timespec_get): Likewise.
20388         * time/tzset.c (tzset_internal): Likewise.
20389         (compute_change): Likewise.
20390         (__tz_compute): Likewise.
20391         * wcsmbs/btowc.c (__btowc): Likewise.
20392         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
20393         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
20394         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
20395         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
20396         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
20397         * wcsmbs/wcscat.c (__wcscat): Likewise.
20398         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20399         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
20400         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
20401         * wcsmbs/wcscspn.c (wcscspn): Likewise.
20402         * wcsmbs/wcsdup.c (wcsdup): Likewise.
20403         * wcsmbs/wcslen.c (__wcslen): Likewise.
20404         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
20405         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
20406         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
20407         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
20408         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20409         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
20410         * wcsmbs/wcsspn.c (wcsspn): Likewise.
20411         * wcsmbs/wcsstr.c (wcsstr): Likewise.
20412         * wcsmbs/wcstok.c (wcstok): Likewise.
20413         * wcsmbs/wctob.c (wctob): Likewise.
20414         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
20415         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20416         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
20417         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
20418         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
20419         * wcsmbs/wmemset.c (__wmemset): Likewise.
20420         * wctype/wcfuncs.c (__towlower): Likewise.
20421         (__towupper): Likewise.
20423         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
20424         (lll_unlock_elision): Add adapt_count parameter.
20426 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
20428         * sysdeps/nptl/configure.ac: Do not give errors based on the
20429         results of top-level configure tests.
20430         * sysdeps/nptl/configure: Regenerated.
20432         * configure.ac (libc_cv_Bgroup): Remove configure test.
20433         * configure: Regenerated.
20434         * config.make.in (have-Bgroup): Remove variable.
20436         * configure.ac (sizeof_long_double): Remove configure test.
20437         * configure: Regenerated.
20438         * config.make.in (sizeof-long-double): Remove variable.
20440         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
20441         * configure: Regenerated.
20442         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
20443         variable.
20444         (exceptions): Likewise.
20445         * sysdeps/arm/configure: Regenerated.
20446         * config.make.in (exceptions): Remove variable.
20447         * Makeconfig (uses-callbacks): Use -fexceptions instead of
20448         $(exceptions).
20449         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
20450         (CFLAGS-vdprintf_chk.c): Likewise.
20451         (CFLAGS-printf_chk.c): Likewise.
20452         (CFLAGS-fprintf_chk.c): Likewise.
20453         (CFLAGS-vprintf_chk.c): Likewise.
20454         (CFLAGS-vfprintf_chk.c): Likewise.
20455         (CFLAGS-gets_chk.c): Likewise.
20456         (CFLAGS-fgets_chk.c): Likewise.
20457         (CFLAGS-fgets_u_chk.c): Likewise.
20458         (CFLAGS-fread_chk.c): Likewise.
20459         (CFLAGS-fread_u_chk.c): Likewise.
20460         (CFLAGS-wprintf_chk.c): Likewise.
20461         (CFLAGS-fwprintf_chk.c): Likewise.
20462         (CFLAGS-vwprintf_chk.c): Likewise.
20463         (CFLAGS-vfwprintf_chk.c): Likewise.
20464         (CFLAGS-fgetws_chk.c): Likewise.
20465         (CFLAGS-fgetws_u_chk.c): Likewise.
20466         * libio/Makefile (CFLAGS-fileops.c): Likewise.
20467         (CFLAGS-fputc.c): Likewise.
20468         (CFLAGS-fputwc.c): Likewise.
20469         (CFLAGS-freopen64.c): Likewise.
20470         (CFLAGS-freopen.c): Likewise.
20471         (CFLAGS-fseek.c): Likewise.
20472         (CFLAGS-fseeko64.c): Likewise.
20473         (CFLAGS-fseeko.c): Likewise.
20474         (CFLAGS-ftello64.c): Likewise.
20475         (CFLAGS-ftello.c): Likewise.
20476         (CFLAGS-fwide.c): Likewise.
20477         (CFLAGS-genops.c): Likewise.
20478         (CFLAGS-getc.c): Likewise.
20479         (CFLAGS-getchar.c): Likewise.
20480         (CFLAGS-getwc.c): Likewise.
20481         (CFLAGS-getwchar.c): Likewise.
20482         (CFLAGS-iofclose.c): Likewise.
20483         (CFLAGS-iofflush.c): Likewise.
20484         (CFLAGS-iofgetpos64.c): Likewise.
20485         (CFLAGS-iofgetpos.c): Likewise.
20486         (CFLAGS-iofgets.c): Likewise.
20487         (CFLAGS-iofgetws.c): Likewise.
20488         (CFLAGS-iofputs.c): Likewise.
20489         (CFLAGS-iofputws.c): Likewise.
20490         (CFLAGS-iofread.c): Likewise.
20491         (CFLAGS-iofsetpos64.c): Likewise.
20492         (CFLAGS-iofsetpos.c): Likewise.
20493         (CFLAGS-ioftell.c): Likewise.
20494         (CFLAGS-iofwrite.c): Likewise.
20495         (CFLAGS-iogetdelim.c): Likewise.
20496         (CFLAGS-iogetline.c): Likewise.
20497         (CFLAGS-iogets.c): Likewise.
20498         (CFLAGS-iogetwline.c): Likewise.
20499         (CFLAGS-ioputs.c): Likewise.
20500         (CFLAGS-ioseekoff.c): Likewise.
20501         (CFLAGS-ioseekpos.c): Likewise.
20502         (CFLAGS-iosetbuffer.c): Likewise.
20503         (CFLAGS-iosetvbuf.c): Likewise.
20504         (CFLAGS-ioungetc.c): Likewise.
20505         (CFLAGS-ioungetwc.c): Likewise.
20506         (CFLAGS-oldfileops.c): Likewise.
20507         (CFLAGS-oldiofclose.c): Likewise.
20508         (CFLAGS-oldiofgetpos64.c): Likewise.
20509         (CFLAGS-oldiofgetpos.c): Likewise.
20510         (CFLAGS-oldiofsetpos64.c): Likewise.
20511         (CFLAGS-oldiofsetpos.c): Likewise.
20512         (CFLAGS-peekc.c): Likewise.
20513         (CFLAGS-putc.c): Likewise.
20514         (CFLAGS-putchar.c): Likewise.
20515         (CFLAGS-putwc.c): Likewise.
20516         (CFLAGS-putwchar.c): Likewise.
20517         (CFLAGS-rewind.c): Likewise.
20518         (CFLAGS-wfileops.c): Likewise.
20519         (CFLAGS-wgenops.c): Likewise.
20520         (CFLAGS-oldiofopen.c): Likewise.
20521         (CFLAGS-iofopen.c): Likewise.
20522         (CFLAGS-iofopen64.c): Likewise.
20523         (CFLAGS-oldtmpfile.c): Likewise.
20524         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
20525         (CFLAGS-fprintf.c): Likewise.
20526         (CFLAGS-printf.c): Likewise.
20527         (CFLAGS-vfwprintf.c): Likewise.
20528         (CFLAGS-vfscanf.c): Likewise.
20529         (CFLAGS-vfwscanf.c): Likewise.
20530         (CFLAGS-fscanf.c): Likewise.
20531         (CFLAGS-scanf.c): Likewise.
20532         (CFLAGS-isoc99_vfscanf.c): Likewise.
20533         (CFLAGS-isoc99_vscanf.c): Likewise.
20534         (CFLAGS-isoc99_fscanf.c): Likewise.
20535         (CFLAGS-isoc99_scanf.c): Likewise.
20536         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
20537         (CFLAGS-isoc99_fwscanf.c): Likewise.
20538         (CFLAGS-isoc99_vwscanf.c): Likewise.
20539         (CFLAGS-isoc99_vfwscanf.c): Likewise.
20541         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
20542         after mkstemp64.
20543         * login/tst-utmp.c (do_prepare): Likewise.
20544         * rt/tst-aio.c (do_prepare): Likewise.
20545         * rt/tst-aio64.c (do_prepare): Likewise.
20547 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20549         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
20550         (__lll_lock_elision): Remove adapt_count decrement...
20551         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20552         (__lll_trylock_elision): Likewise.
20553         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
20554         (__lll_unlock_elision): ... to here. And utilize
20555         new adapt_count parameter.
20556         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
20557         (__lll_unlock_elision): Update to include adapt_count
20558         parameter.
20559         (lll_unlock_elision): Pass pointer to adapt_count
20560         variable.
20562 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20564         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
20565         Add elision adapt_count parameter to list of arguments.
20566         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
20567         (lll_unlock_elision): Update with new parameter list
20568         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
20569         (lll_unlock_elision): Likewise.
20570         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
20571         (lll_unlock_elision): Likewise.
20573 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20575         [BZ #19122]
20576         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
20577         attribute_hidden.
20579         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
20580         attribute_hidden.
20581         [IS_IN (rtld)] (__strdup): Likewise.
20582         [IS_IN (rtld)] (__strerror_r): Likewise.
20583         [IS_IN (rtld)] (__strsep_g): Likewise.
20584         [IS_IN (rtld)] (memchr): Likewise.
20585         [IS_IN (rtld)] (memcmp): Likewise.
20586         [IS_IN (rtld)] (memcpy): Likewise.
20587         [IS_IN (rtld)] (memmove): Likewise.
20588         [IS_IN (rtld)] (memset): Likewise.
20589         [IS_IN (rtld)] (rawmemchr): Likewise.
20590         [IS_IN (rtld)] (stpcpy): Likewise.
20591         [IS_IN (rtld)] (strchr): Likewise.
20592         [IS_IN (rtld)] (strcmp): Likewise.
20593         [IS_IN (rtld)] (strlen): Likewise.
20594         [IS_IN (rtld)] (strnlen): Likewise.
20595         [IS_IN (rtld)] (strsep): Likewise.
20597         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
20598         attribute_hidden.
20599         [IS_IN (rtld)] (__strtoul_internal): Likewise.
20601         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
20602         attribute_hidden.
20603         [IS_IN (rtld)] (__libc_sigaction): Likewise.
20605         * include/setjmp.h (__longjmp): Add attribute_hidden.
20606         [IS_IN (rtld)] (__sigsetjmp): Likewise.
20608         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
20609         Add attribute_hidden.
20611         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
20612         [IS_IN (rtld)] (__open): Likewise.
20613         [IS_IN (rtld)] (__fcntl): Likewise.
20615         * include/dirent.h (__opendirat): Add attribute_hidden.
20616         (__getdents): Likewise.
20617         (__getdents64): Likewise.
20618         (__alloc_dir): Likewise.
20619         [IS_IN (rtld)] (__closedir): Likewise.
20620         [IS_IN (rtld)] (__fdopendir): Likewise.
20621         [IS_IN (rtld)] (__readdir): Likewise.
20622         [IS_IN (rtld)] (__readdir64): Likewise.
20623         [IS_IN (rtld)] (__rewinddir): Likewise.
20625         * include/dlfcn.h (_dl_catch_error): Moved to ...
20626         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
20627         attribute_hidden.
20629         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
20630         (_itoa_word): Likewise.
20632         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
20633         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
20634         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
20635         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
20636         (_dl_higher_prime_number): Likewise.
20637         (_dl_debug_printf_c): Likewise.
20638         (_dl_signal_cerror): Likewise.
20639         (_dl_receive_error): Likewise.
20640         (_dl_reloc_bad_type): Likewise.
20641         (_dl_resolve_conflicts): Likewise.
20642         (_dl_check_all_versions): Likewise.
20643         (_dl_check_map_versions): Likewise.
20644         (_dl_sort_fini): Likewise.
20645         (_dl_debug_initialize): Likewise.
20646         (_dl_init_paths): Likewise.
20647         (_dl_show_auxv): Likewise.
20648         (_dl_next_ld_env_entry): Likewise.
20649         (_dl_important_hwcaps): Likewise.
20650         (_dl_load_cache_lookup): Likewise.
20651         (_dl_update_slotinfo): Likewise.
20652         (_dl_show_scope): Likewise.
20654         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
20655         attribute_hidden.
20656         (_wordcopy_fwd_dest_aligned): Likewise.
20657         (_wordcopy_bwd_aligned): Likewise.
20658         (_wordcopy_bwd_dest_aligned): Likewise.
20660         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
20661         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
20662         Likewise.
20663         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
20664         Likewise.
20665         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
20667 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20669         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
20670         GCC 5 requirement.
20672 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
20674         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
20675         test.
20676         * sysdeps/i386/configure: Regenerated.
20677         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
20678         code unconditional.
20680         * configure.ac (libc_cv_asm_previous_directive): Remove configure
20681         test.
20682         (libc_cv_asm_popsection_directive): Likewise.
20683         * configure: Regenerated.
20684         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
20685         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
20686         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
20687         (__make_section_unallocated): Make definition unconditional.
20688         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
20689         Remove conditional definition.
20690         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
20691         (__make_section_unallocated): Likewise.
20693         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
20694         * configure: Regenerated.
20695         * config.make.in (static-libgcc): Remove variable.
20696         * Makerules (build-shlib-helper): Use -static-libgcc instead of
20697         $(static-libgcc).
20698         (build-module-helper): Likewise.
20700         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
20701         * configure: Regenerated.
20703 2015-10-15  Florian Weimer  <fweimer@redhat.com>
20705         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
20706         (struct char_buffer): New type.
20707         (char_buffer_start, char_buffer_size, char_buffer_error)
20708         (char_buffer_rewind, char_buffer_add): New functions.
20709         (ADDW): Remove macro, replaced by the char_buffer_add function.
20710         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
20711         of extend_alloca.  Make control flow more explicit.
20713 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20715         [BZ #19137]
20716         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
20717         Add -fomit-frame-pointer.
20718         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
20720 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20722         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
20723         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
20724         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
20725         only if !__GNUC_PREREQ (5,0).
20726         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
20727         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
20728         (INTERNAL_SYSCALL_NCS): Likewise.
20729         (LOADREGS_0): New macro for GCC 5.
20730         (ASMARGS_0): Likewise.
20731         (LOADREGS_1): Likewise.
20732         (ASMARGS_1): Likewise.
20733         (LOADREGS_2): Likewise.
20734         (ASMARGS_2): Likewise.
20735         (LOADREGS_3): Likewise.
20736         (ASMARGS_3): Likewise.
20737         (LOADREGS_4): Likewise.
20738         (ASMARGS_4): Likewise.
20739         (LOADREGS_5): Likewise.
20740         (ASMARGS_5): Likewise.
20741         (LOADREGS_6): Likewise.
20742         (ASMARGS_6): Likewise.
20744 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20746         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
20747         -fomit-frame-pointer.
20748         (CFLAGS-mmap64.c): Likewise.
20749         (CFLAGS-semtimedop.c): Likewise.
20750         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
20751         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
20752         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20753         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20755 2015-10-15  Florian Weimer  <fweimer@redhat.com>
20757         [BZ #18928]
20758         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
20759         _dl_pointer_guard member.
20760         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
20761         initializer.
20762         (security_init): Always set up pointer guard.
20763         (process_envvars): Do not process LD_POINTER_GUARD.
20765 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
20767         [BZ #19134]
20768         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
20769         (.LC2): Likewise.
20770         (.LC3): Likewise.
20771         (__lround): Do not add 0.5 to integer or out-of-range arguments.
20773 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20775         [BZ #19129]
20776         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
20777         r0 and r1.
20779 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
20781         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
20783 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
20785         * include/stap-probe.h: Fix macro definition formatting.
20787 2015-10-14  Florian Weimer  <fweimer@redhat.com>
20789         [BZ #19074]
20790         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
20791         load and store num_ifs.
20793 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
20795         [BZ #18822]
20796         * sysdeps/unix/sysv/linux/sched_getaffinity.c
20797         (__sched_getaffinity_new): Add libc_hidden_proto and
20798         libc_hidden_def.
20800 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
20802         [BZ #19007]
20803         * scripts/localplt.awk: Also allow GOT references.
20804         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
20805         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
20806         with "+ REL R_386_GLOB_DAT".
20807         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
20808         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
20810 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
20812         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
20813         INLINE_SYSCALL_ERROR_RETURN_VALUE.
20814         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
20815         Likewise.
20816         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
20817         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
20818         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
20819         INTERNAL_SYSCALLINTERNAL_SYSCALL and
20820         INLINE_SYSCALL_ERROR_RETURN_VALUE.
20821         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
20822         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20823         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
20824         Likewise.
20825         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20827 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
20829         [BZ #19125]
20830         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
20831         <math_private.h> and <stdint.h>.
20832         (__llround): Avoid conversions to and from long long int, and
20833         subtractions, where those might raise spurious exceptions.
20834         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
20835         <math_private.h> and <stdint.h>.
20836         (__llroundf): Avoid conversions to and from long long int, and
20837         subtractions, where those might raise spurious exceptions.
20839 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
20841         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
20842         INLINE_SYSCALL_ERROR_RETURN_VALUE.
20843         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20844         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
20845         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20846         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20847         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
20848         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
20849         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
20850         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20851         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20852         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20853         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
20854         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20855         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20856         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
20857         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
20858         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
20859         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
20860         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
20861         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
20862         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
20863         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
20864         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
20865         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
20866         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
20867         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
20868         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
20869         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20870         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
20871         (__xstat64_conv): Likewise.
20872         (__xstat32_conv): Likewise.
20874 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
20876         * sysdeps/unix/sysv/linux/sysdep.h: New file.
20877         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
20878         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
20879         <sysdeps/unix/sysv/linux/sysdep.h>.
20880         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
20881         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
20882         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
20883         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20884         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
20885         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
20886         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
20887         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
20888         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
20889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20891         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20892         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20893         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20894         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
20895         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20896         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
20897         (sysdep-dl-routines): Add sysdep.
20898         [$(subdir) == nptl] (libpthread-routines): Likewise.
20899         [$(subdir) == rt] (librt-routines): Likewise.
20900         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
20901         PIC when branching to SYSCALL_ERROR_LABEL.
20902         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
20903         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
20904         <sysdeps/unix/sysv/linux/sysdep.h>.
20905         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
20906         (SYSCALL_ERROR_ERRNO): Removed.
20907         (SYSCALL_ERROR_HANDLER): Changed to empty.
20908         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
20909         (__syscall_error): New prototype.
20910         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
20911         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
20913 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
20915         [BZ #19124]
20916         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
20917         (_dl_runtime_resolve_avx512): Make it a hidden alias of
20918         _dl_runtime_resolve_avx.
20919         (_dl_runtime_profile_avx512): Make it a hidden alias of
20920         _dl_runtime_profile_avx.
20922 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
20924         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
20925         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
20926         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
20927         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
20929         [BZ #16422]
20930         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
20931         New configure test.
20932         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
20933         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
20934         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
20935         <math_private.h> and <stdint.h>.
20936         (__llrint): Avoid conversions to long long int where those might
20937         raise spurious exceptions.
20938         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
20939         <math_private.h> and <stdint.h>.
20940         (__llrintf): Avoid conversions to long long int where those might
20941         raise spurious exceptions.
20943 2015-10-12  Andreas Schwab  <schwab@suse.de>
20945         [BZ #18969]
20946         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
20947         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
20948         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
20949         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
20950         $(gen-locales).
20951         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
20952         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
20953         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
20954         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
20955         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
20956         $(gen-locales).
20957         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
20958         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
20959         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
20960         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
20961         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
20962         ($(objpfx)tst-ftell-active-handler.out)
20963         ($(objpfx)tst-ftell-append.out)
20964         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
20965         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
20966         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
20967         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
20968         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
20969         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
20970         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
20971         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
20972         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
20973         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
20974         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
20975         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
20976         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
20977         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
20978         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
20979         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
20980         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
20981         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
20982         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
20983         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
20984         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
20985         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
20986         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
20987         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
20988         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
20989         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
20990         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
20991         $(gen-locales).
20992         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
20993         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
20994         $(gen-locales).
20995         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
20996         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
20997         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
20998         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
20999         $(gen-locales).
21000         * libio/tst_wprintf2.c (main): Use explicit locale.
21001         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
21003 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21005         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
21006         __msg_sig_post.
21007         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
21009 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
21011         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21012         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21014         * sysdeps/arm/libm-test-ulps: Regenerated.
21016         [BZ #15470]
21017         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
21019         [BZ #16399]
21020         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
21021         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
21022         and <fix-fp-int-convert-overflow.h>.
21023         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
21024         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21025         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
21026         and <fix-fp-int-convert-overflow.h>.
21027         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
21028         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21029         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
21030         <fix-fp-int-convert-overflow.h>.
21031         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
21032         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21033         * sysdeps/ieee754/dbl-64/s_lround.c: Include
21034         <fix-fp-int-convert-overflow.h>.
21035         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
21036         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21037         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
21038         and <fix-fp-int-convert-overflow.h>.
21039         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
21040         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21041         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
21042         <limits.h> and <fix-fp-int-convert-overflow.h>.
21043         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
21044         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21045         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
21046         and <fix-fp-int-convert-overflow.h>.
21047         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
21048         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21049         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
21050         and <fix-fp-int-convert-overflow.h>.
21051         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
21052         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21053         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
21055 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
21057         [BZ #18589]
21058         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
21059         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
21060         $(gen-locales).
21062 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21063             Phil Blundell <pb@pbcl.net>
21065         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
21066         * nptl/tst-cancel26.c: New file.
21067         * nptl/tst-cancel27.c: Likewise.
21069 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
21071         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
21072         __ILP32__ isn't defined.
21073         (lrint): Likewise.
21074         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
21075         (lrintf): Likewise.
21076         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
21077         (lrintl): Likewise.
21078         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
21079         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
21080         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
21082 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21084         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21085         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21087         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
21088         file.
21089         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
21090         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
21092 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
21094         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
21095         configure test.
21096         * sysdeps/i386/configure: Regenerated.
21097         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
21098         configure test.
21099         * sysdeps/x86_64/configure: Regenerated.
21100         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
21101         Make code unconditional.
21103         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
21104         test.
21105         * sysdeps/i386/configure: Regenerated.
21106         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
21107         test.
21108         * sysdeps/x86_64/configure: Regenerated.
21109         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
21110         Make code unconditional.
21111         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
21112         Likewise.
21113         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
21114         Likewise.
21115         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21116         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
21117         code unconditional.
21118         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21119         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
21120         code unconditional.
21121         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21122         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
21123         code unconditional.
21124         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
21125         code unconditional.
21126         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21127         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
21128         code unconditional.
21129         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21130         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
21131         code unconditional.
21132         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21133         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
21134         code unconditional.
21135         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21136         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
21137         code unconditional.
21138         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21139         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
21141         [BZ #19095]
21142         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
21143         mantissa to long int before shifting left.
21145 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
21147         [BZ #19094]
21148         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
21149         <limits.h>.
21150         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21151         when result overflows but exception would not result from cast.
21152         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
21153         <limits.h>.
21154         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21155         when result overflows but exception would not result from cast.
21156         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
21157         <limits.h>.
21158         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21159         when result overflows but exception would not result from cast.
21160         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
21161         <limits.h>.
21162         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21163         when result overflows but exception would not result from cast.
21164         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
21165         <limits.h>.
21166         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21167         when result overflows but exception would not result from cast.
21168         * math/libm-test.inc (lrint_test_data): Add more tests.
21169         (llrint_test_data): Likewise.
21171 2015-10-08  Roland McGrath  <roland@hack.frob.com>
21173         [BZ #18872]
21174         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
21175         Move out from under [$(run-built-tests) = yes] conditional.
21176         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
21177         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
21179 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
21181         [BZ #18589]
21182         * string/Makefile (tests): Add bug-strcoll2.
21183         (LOCALES): Add cs_CZ.UTF-8.
21184         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
21186         [BZ #18589]
21187         * string/bug-strcoll2.c: New file.
21188         * locale/categories.def: Revert commit
21189         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
21190         * locale/langinfo.h: Likewise.
21191         * locale/localeinfo.h: Likewise.
21192         * locale/C-collate.c: Likewise.
21193         * locale/programs/ld-collate.c (collate_output): Likewise.
21194         * string/strcoll_l.c (STRDIFF): Likewise.
21195         (STRCOLL): Likewise.
21196         * wcsmbs/wcscoll_l.c: Likewise.
21198 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
21200         * math/libm-test.inc (lround_test_data): Do not expect the absence
21201         of "inexact" for some tests with non-integer arguments.
21202         (llround_test_data): Likewise.
21204         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
21205         test.
21206         (libc_cv_cc_sse2avx): Likewise.
21207         * sysdeps/i386/configure: Regenerated.
21208         * sysdeps/i386/i686/multiarch/Makefile
21209         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
21210         [$(subdir) = math].
21211         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
21212         code unconditional.
21213         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
21214         Likewise.
21215         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
21216         Likewise.
21217         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
21218         Likewise.
21219         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
21220         test.
21221         (libc_cv_cc_sse2avx): Likewise.
21222         * sysdeps/x86_64/configure: Regenerated.
21223         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
21224         unconditional.
21225         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
21226         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
21227         unconditional.
21228         (_dl_runtime_profile)
21229         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
21230         conditional code.
21231         * sysdeps/x86_64/fpu/multiarch/Makefile
21232         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
21233         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
21234         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21235         * sysdeps/x86_64/fpu/multiarch/e_exp.c
21236         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21237         * sysdeps/x86_64/fpu/multiarch/e_log.c
21238         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21239         * sysdeps/x86_64/fpu/multiarch/s_atan.c
21240         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21241         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
21242         Likewise.
21243         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
21244         Likewise.
21245         * sysdeps/x86_64/fpu/multiarch/s_sin.c
21246         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21247         * sysdeps/x86_64/fpu/multiarch/s_tan.c
21248         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21249         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
21250         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
21251         (HAVE_SSE2AVX_SUPPORT): Likewise.
21253 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
21255         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
21256         instead of #pragma optimize.
21258 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
21260         [BZ #17195]
21261         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
21262         as is similarly done in systrim and _int_free already.
21264 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21266         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
21268 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
21270         [BZ #19088]
21271         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
21272         <limits.h>.
21273         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
21274         overflows but exception would not result from cast.
21275         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
21276         and <limits.h>.
21277         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
21278         overflows but exception would not result from cast.
21279         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
21280         <limits.h>.
21281         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
21282         overflows but exception would not result from cast.
21283         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
21284         <limits.h>.
21285         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
21286         overflows but exception would not result from cast.
21287         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
21288         <limits.h>.
21289         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
21290         overflows but exception would not result from cast.
21291         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
21292         <limits.h>.
21293         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
21294         overflows but exception would not result from cast.
21295         * math/libm-test.inc (lround_test_data): Add more tests.
21296         (llround_test_data): Likewise.
21298 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
21300         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
21301         (CFLAGS-ialloc.c): Ditto.
21302         (CFLAGS-scheck.c): Ditto.
21304 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
21306         [BZ #19086]
21307         * manual/filesys.texi (Storage Allocation): Fix argument order for
21308         posix_fallocate64.
21310 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
21312         [BZ #19085]
21313         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
21314         exponent below 48 inside case for non-overflowing exponent.
21315         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
21317 2015-10-07  Florian Weimer  <fweimer@redhat.com>
21319         * iconvdata/cp737.h (from_idx): Add const.
21320         * iconvdata/cp775.h (from_idx): Likewise.
21322 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
21324         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
21325         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
21326         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
21328         [BZ #19079]
21329         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
21330         file, conditioned on [!_LP64].
21331         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
21332         [!_LP64] (__lround): Do not define as function or alias.
21333         [!_LP64] (lround): Likewise.
21334         [!_LP64] (__lroundl): Likewise.
21335         [!_LP64] (lroundl): Likewise.
21336         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
21337         macro.
21338         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
21339         Likewise.
21341 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
21343         * math/libm-test.inc (lrint_test_data): Add more tests.
21344         (llrint_test_data): Likewise.
21345         (lround_test_data): Likewise.
21346         (llround_test_data): Likewise.
21348         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
21349         (llrint_test_data): Add tests used for lrint.
21351         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
21352         test.
21353         * sysdeps/i386/configure: Regenerated.
21354         * sysdeps/i386/i686/multiarch/Makefile
21355         [$(config-cflags-sse4) = yes]: Make code unconditional.
21356         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
21357         Likewise.
21358         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
21359         Likewise.
21360         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
21361         test.
21362         * sysdeps/x86_64/configure: Regenerated.
21363         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
21364         Make code unconditional.
21365         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
21366         Likewise.
21367         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
21368         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
21370         * scripts/rpm2dynsym.sh: Remove file.
21372 2015-10-06  Florian Weimer  <fweimer@redhat.com>
21374         * configure.ac (libc_cv_cxx_thread_local): Define.
21375         * configure: Regenerate.
21376         * config.make.in (have-cxx-thread_local): Define.
21377         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
21378         (LDLIBS-tst-thread_local1): Define.
21379         (tests): Add tst-thread_local1.
21380         [have-cxx-thread_local != yes] (tests-unsupported): Add
21381         tst-thread_local1.
21382         * nptl/tst-thread_local1.cc: New file.
21384 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
21386         [BZ #19078]
21387         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
21388         (u_thres): Likewise.
21389         (__expl): Determine whether to call __kernel_standard_l based on
21390         value of result, not argument.
21392         * math/libm-test.inc (scalb_test_data): Add more expectations for
21393         the "inexact" exception.
21395         [BZ #19077]
21396         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
21397         0.0L for argument 1.0L.
21399         [BZ #19076]
21400         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
21401         constant 0.0L when computing infinite result.
21403 2015-10-06  Florian Weimer  <fweimer@redhat.com>
21405         [BZ #10432]
21406         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
21407         malloc_usable_size.
21409 2015-10-06  Florian Weimer  <fweimer@redhat.com>
21411         [BZ #19018]
21412         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21413         Mangle function pointer before storing it.
21414         (__call_tls_dtors): Demangle function pointer before calling it.
21416 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21418         [BZ #19012]
21419         * iconv/gconv_db.c (gen_steps): Check for additional errors.
21420         Clean up on failure.
21422 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
21424         [BZ #19071]
21425         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
21426         long int variable to store possibly incremented high part of
21427         mantissa.
21428         * math/libm-test.inc (lround_test_data): Add tests used for
21429         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
21430         for tests requiring 64-bit long.  Do not condition tests on
21431         [TEST_FLOAT] unnecessarily.
21432         (llround_test_data): Add tests used for lround.  Add another
21433         expectation for the "inexact" exception.  Do not condition tests
21434         on [TEST_FLOAT] unnecessarily.
21436         [BZ #887]
21437         [BZ #19049]
21438         [BZ #19050]
21439         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
21440         * sysdeps/ieee754/dbl-64/e_log10.c: Include
21441         <fix-int-fp-convert-zero.h>.
21442         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21443         * sysdeps/ieee754/dbl-64/e_log2.c: Include
21444         <fix-int-fp-convert-zero.h>.
21445         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21446         * sysdeps/ieee754/dbl-64/s_erf.c: Include
21447         <fix-int-fp-convert-zero.h>.
21448         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21449         * sysdeps/ieee754/dbl-64/s_logb.c: Include
21450         <fix-int-fp-convert-zero.h>.
21451         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21452         * sysdeps/ieee754/flt-32/e_log10f.c: Include
21453         <fix-int-fp-convert-zero.h>.
21454         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21455         * sysdeps/ieee754/flt-32/e_log2f.c: Include
21456         <fix-int-fp-convert-zero.h>.
21457         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21458         * sysdeps/ieee754/flt-32/s_erff.c: Include
21459         <fix-int-fp-convert-zero.h>.
21460         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21461         * sysdeps/ieee754/flt-32/s_logbf.c: Include
21462         <fix-int-fp-convert-zero.h>.
21463         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21464         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
21465         <fix-int-fp-convert-zero.h>.
21466         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21467         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
21468         <fix-int-fp-convert-zero.h>.
21469         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21470         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
21471         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
21472         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
21473         file.
21474         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
21476 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
21478         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21480 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
21482         [BZ #19059]
21483         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
21484         overflowing computation.
21485         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21486         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
21487         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21488         Likewise.
21489         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21490         Likewise.
21491         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
21492         Likewise.
21493         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21494         Likewise.
21495         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21496         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21497         Likewise.
21498         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21499         Likewise.
21500         * math/libm-test.inc (nexttoward_test_data): Add more tests.
21502         * nss/rewrite_field.c (__nss_rewrite_field): Use
21503         internal_function.
21504         * nss/valid_field.c (__nss_valid_field): Likewise.
21505         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
21507 2015-10-02  Florian Weimer  <fweimer@redhat.com>
21509         [BZ #18724]
21510         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
21511         (__nss_invalid_field_characters, __nss_valid_field)
21512         (__nss_valid_list_field, __nss_rewrite_field): Declare.
21513         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
21514         tst-field.c: New file.
21515         * nss/Makefile (routines): Add valid_field, rewrite_field.
21516         (tests-static): Define unconditionally.
21517         (tests): Include tests-static.
21518         [build-static-nss] (tests-static): Use append.
21519         [build-static-nss] (tests): Remove modification.
21520         * nss/getent.c (print_group): Call putgrent.  Report error.
21521         (print_gshadow): Call putsgent.  Report error.
21522         (print_passwd): Call putpwent.  Report error.
21523         (print_shadow): Call putspent.  Report error.
21524         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
21525         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
21526         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
21527         name, password, directory, shell fields for valid syntax.  Rewrite
21528         GECOS field to match syntax.
21529         * pwd/Makefile (tests): Add tst-putpwent.
21530         * pwd/tst-putpwent.c: New file.
21531         * grp/putgrent.c (putgrent): Convert to ISO function definition.
21532         Check grName, grpasswd, gr_mem fields for valid syntax.
21533         Change loop variable i to size_t.
21534         * grp/Makefile (tests): Add tst-putgrent.
21535         * grp/tst-putgrent.c: New file.
21536         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
21537         valid syntax.
21538         * shadow/Makefile (tests): Add tst-putspent.
21539         * shadow/tst-putspent.c: New file.
21540         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
21541         sg_mem fields for valid syntax.
21542         * gshadow/Makefile (tests): Add tst-putsgent.
21543         * gshadow/tst-putsgent.c: New file.
21545 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21547         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
21548         assembly instructions.
21550 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21552         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
21553         prefix from operands.
21555 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
21557         [BZ #16347]
21558         [BZ #19046]
21559         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
21560         <libc-internal.h>.
21561         (MAXLGM): Do not use diagnostic control macros.
21562         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
21563         threshold for ldbl-128ibm.
21564         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
21565         instead of multiplying by log then subtracting.
21566         * math/auto-libm-test-in: Add more tests of lgamma.
21567         * math/auto-libm-test-out: Regenerated.
21569         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
21570         (TYPE_HEX_DIG): Likewise.
21571         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
21572         precisions when printing floating-point numbers.
21573         (check_float_internal): Likewise.
21575 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
21577         [BZ #16620]
21578         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
21579         of log (10) rounded downward to 48 bits.
21580         (log10_low): Use corresponding low part of log (10).
21582         [BZ #19032]
21583         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
21584         compute result as (x - x) / (x - x) not as 0 / 0.
21585         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
21586         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
21588         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21589         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
21590         and expm1.
21591         * math/auto-libm-test-out: Regenerated.
21592         * math/libm-test.inc (acos_test_data): Add more tests.
21593         (asin_test_data): Likewise.
21594         (asinh_test_data): Likewise.
21595         (atan_test_data): Likewise.
21596         (atanh_test_data): Likewise.
21597         (atan2_test_data): Likewise.
21598         (cbrt_test_data): Likewise.
21599         (ceil_test_data): Likewise.
21600         (copysign_test_data): Likewise.
21601         (cos_test_data): Likewise.
21602         (cosh_test_data): Likewise.
21603         (erf_test_data): Likewise.
21604         (erfc_test_data): Likewise.
21605         (exp_test_data): Likewise.
21606         (exp10_test_data): Likewise.
21607         (exp2_test_data): Likewise.
21608         (expm1_test_data): Likewise.
21609         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21611 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
21613         [BZ #19006]
21614         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
21615         to ...
21616         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
21617         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
21618         to ...
21619         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
21620         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
21621         to ...
21622         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
21623         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
21624         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
21625         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
21626         to ...
21627         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
21628         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
21629         Moved to ...
21630         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
21631         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
21632         Moved to ...
21633         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
21634         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
21635         to ...
21636         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
21637         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
21638         Moved to ...
21639         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
21640         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
21641         to ...
21642         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
21643         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
21644         Removed.
21645         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
21646         Likewise.
21647         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
21648         Likewise.
21649         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
21650         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
21651         Likewise.
21652         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
21653         Likewise.
21654         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
21655         Likewise.
21656         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
21657         Likewise.
21658         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
21659         Likewise.
21660         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
21661         Likewise.
21662         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
21663         Likewise.
21664         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
21665         Likewise.
21666         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
21667         Likewise.
21668         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
21669         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
21670         Likewise.
21671         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
21672         Likewise.
21673         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
21674         Likewise.
21675         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
21676         Likewise.
21677         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
21678         Likewise.
21679         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
21680         Replace ../i486/pthread_cond_timedwait.S with
21681         ../pthread_cond_timedwait.S.
21683 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
21685         * math/libm-test.inc (acos_test_data): Refine expectations for
21686         errno and "inexact" exceptions.
21687         (acosh_test_data): Likewise.
21688         (asin_test_data): Likewise.
21689         (asinh_test_data): Likewise.
21690         (atan_test_data): Likewise.
21691         (atanh_test_data): Likewise.
21692         (atan2_test_data): Likewise.
21693         (cbrt_test_data): Likewise.
21694         (ceil_test_data): Likewise.
21695         (copysign_test_data): Likewise.
21696         (cosh_test_data): Likewise.
21697         (erf_test_data): Likewise.
21698         (erfc_test_data): Likewise.
21699         (exp_test_data): Likewise.
21700         (exp10_test_data): Likewise.
21701         (exp2_test_data): Likewise.
21702         (expm1_test_data): Likewise.
21703         (fabs_test_data): Likewise.
21704         (floor_test_data): Likewise.
21705         (fma_test_data): Likewise.
21706         (fmax_test_data): Likewise.
21707         (fmin_test_data): Likewise.
21708         (fmod_test_data): Likewise.
21709         (fpclassify_test_data): Likewise.
21710         (frexp_test_data): Likewise.
21711         (hypot_test_data): Likewise.
21712         (ilogb_test_data): Likewise.
21713         (isgreater_test_data): Likewise.
21714         (isgreaterequal_test_data): Likewise.
21715         (isinf_test_data): Likewise.
21716         (isless_test_data): Likewise.
21717         (islessequal_test_data): Likewise.
21718         (islessgreater_test_data): Likewise.
21719         (isnan_test_data): Likewise.
21720         (isnormal_test_data): Likewise.
21721         (issignaling_test_data): Likewise.
21722         (isunordered_test_data): Likewise.
21723         (j0_test_data): Likewise.
21724         (j1_test_data): Likewise.
21725         (jn_test_data): Likewise.
21726         (lgamma_test_data): Likewise.
21727         (lrint_test_data): Likewise.
21728         (llrint_test_data): Likewise.
21729         (log_test_data): Likewise.
21730         (log10_test_data): Likewise.
21731         (log1p_test_data): Likewise.
21732         (log2_test_data): Likewise.
21733         (logb_test_data): Likewise.
21734         (lround_test_data): Likewise.
21735         (llround_test_data): Likewise.
21736         (modf_test_data): Likewise.
21737         (nearbyint_test_data): Likewise.
21738         (nextafter_test_data): Likewise.
21739         (nexttoward_test_data): Likewise.
21740         (pow_test_data): Likewise.
21741         (remainder_test_data): Likewise.
21742         (remquo_test_data): Likewise.
21743         (rint_test_data): Likewise.
21744         (round_test_data): Likewise.
21745         (signbit_test_data): Likewise.
21746         (sinh_test_data): Likewise.
21747         (sqrt_test_data): Likewise.
21748         (tanh_test_data): Likewise.
21749         (tgamma_test_data): Likewise.
21750         (trunc_test_data): Likewise.
21751         (y0_test_data): Likewise.
21752         (y1_test_data): Likewise.
21753         (yn_test_data): Likewise.
21754         (significand_test_data): Likewise.
21756 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
21758         * manual/filesys.texi (Storage Allocation): Document that
21759         posix_fallocate emulation fails when fd is open with O_WRONLY.
21761 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
21763         [BZ #19016]
21764         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
21765         allow more cases with X^2 + Y^2 >= 0.5.
21766         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
21767         normal element in sum instead of special-casing based on values of
21768         arguments.
21769         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
21770         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
21771         -1 as normal element in sum instead of special-casing based on
21772         values of arguments.
21773         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
21774         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
21775         (__x2y2m1): Update comment.
21776         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
21777         as normal element in sum instead of special-casing based on values
21778         of arguments.
21779         * math/s_clog.c (__clog): Handle more cases using log1p without
21780         hypot.
21781         * math/s_clog10.c (__clog10): Likewise.
21782         * math/s_clog10f.c (__clog10f): Likewise.
21783         * math/s_clog10l.c (__clog10l): Likewise.
21784         * math/s_clogf.c (__clogf): Likewise.
21785         * math/s_clogl.c (__clogl): Likewise.
21786         * math/auto-libm-test-in: Add more tests of clog and clog10.
21787         * math/auto-libm-test-out: Regenerated.
21788         * sysdeps/i386/fpu/libm-test-ulps: Update.
21789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21791 2015-09-28  Martin Sebor  <msebor@redhat.com>
21793         [BZ #18969]
21794         * string/Makefile (LOCALES): Define.
21795         (gen-locales.mk): Include.
21796         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
21797         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
21798         * string/tst-strxfrm2.c (do_test): Print the name of the locale
21799         on setlocale failure.
21801 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21803         [BZ #18985]
21804         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
21805         (__strftime_internal): Likewise.
21806         * time/tst-strftime.c (do_bz18985): New test.
21807         (do_test): Call it.
21809 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
21811         [BZ #18956]
21812         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
21813         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
21814         extracting high part.
21815         * math/auto-libm-test-in: Add another test of pow.
21816         * math/auto-libm-test-out: Regenerated.
21817         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21819 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
21821         [BZ #18825]
21822         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
21823         New macro.
21824         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
21825         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
21826         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
21827         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
21828         DBL_NARROW_EVAL, reloading the PIC register as needed.
21829         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
21830         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
21831         FLT_NARROW_EVAL.  Use separate return path for case when first
21832         argument is NaN.
21833         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
21834         DEFINE_LDBL_MIN.
21835         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
21836         PIC register.
21837         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
21838         math_check_force_underflow_nonneg.
21839         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
21840         underflow for subnormal result.
21841         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
21842         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
21843         math_check_force_underflow_nonneg.
21844         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
21845         math_check_force_underflow.
21846         * sysdeps/x86_64/fpu/x86_64-math-asm.h
21847         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
21848         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
21849         DEFINE_LDBL_MIN.
21850         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
21851         * math/auto-libm-test-in: Add more tests of pow.
21852         * math/auto-libm-test-out: Regenerated.
21854 2015-09-25  Florian Weimer  <fweimer@redhat.com>
21856         * nss/bug17079.c (init_test_items): Add diagnostic for
21857         inconsistent entries.
21858         (test_buffer_size): Skip inconsistent entries.
21860 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
21862         [BZ #13304]
21863         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
21864         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
21865         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
21867         [BZ #13304]
21868         * sysdeps/microblaze/s_fma.c: New file.
21869         * sysdeps/microblaze/s_fmaf.c: Likewise.
21870         * sysdeps/microblaze/sfp-machine.h: Likewise.
21872 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
21874         [BZ #17250]
21875         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
21876         member.
21878 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
21880         [BZ #18803]
21881         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
21882         (MO): New macro.
21883         (__ieee754_hypot) [PIC]: Load PIC register.
21884         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
21885         DBL_NARROW_EVAL.
21886         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
21887         math_check_force_underflow_nonneg in case where result might be
21888         tiny.
21889         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
21890         Likewise.
21891         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21892         Likewise.
21893         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
21894         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
21895         * math/auto-libm-test-in: Add more tests of hypot.
21896         * math/auto-libm-test-out: Regenerated.
21898 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
21900         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
21902 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
21904         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
21905         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
21906         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
21907         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
21908         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
21909         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
21910         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
21912         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
21913         LOAD_PIC_REG.
21915         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
21916         (FLT_CHECK_FORCE_UFLOW): Likewise.
21917         (DBL_CHECK_FORCE_UFLOW): Likewise.
21918         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
21919         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
21920         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
21921         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
21922         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
21923         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
21924         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
21925         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
21926         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
21927         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21928         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
21929         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
21930         (flt_min): Replace with use of DEFINE_FLT_MIN.
21931         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
21932         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
21933         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21934         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
21935         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
21936         (flt_min): Replace with use of DEFINE_FLT_MIN.
21937         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
21938         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
21939         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21940         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
21941         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
21942         (flt_min): Replace with use of DEFINE_FLT_MIN.
21943         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
21944         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
21945         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
21946         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
21947         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
21948         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
21949         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
21950         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
21951         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21952         (__atan): Use DBL_CHECK_FORCE_UFLOW.
21953         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
21954         (flt_min): Replace with use of DEFINE_FLT_MIN.
21955         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
21956         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
21957         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21958         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
21959         main computation.
21960         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
21961         (flt_min): Replace with use of DEFINE_FLT_MIN.
21962         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
21963         main computation.
21964         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
21965         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21966         (MO): New macro.
21967         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
21968         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
21969         (flt_min): Replace with use of DEFINE_FLT_MIN.
21970         (MO): New macro.
21971         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
21972         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
21973         (__log1pl): Use MO.
21975         [BZ #19003]
21976         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
21977         $(config-cflags-nofma).
21979 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21981         * sysdeps/aarch64/libm-test-ulps: Regenerated.
21983 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
21985         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
21986         (TWO127): Likewise.
21988         * sysdeps/generic/math_private.h (fabs_tg): New macro.
21989         (min_of_type): Likewise.
21990         (math_check_force_underflow): Likewise.
21991         (math_check_force_underflow_nonneg): Likewise.
21992         (math_check_force_underflow_complex): Likewise.
21993         * math/e_exp2l.c (__ieee754_exp2l): Use
21994         math_check_force_underflow_nonneg.
21995         * math/k_casinh.c (__kernel_casinh): Likewise.
21996         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21997         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21998         * math/s_catan.c (__catan): Use
21999         math_check_force_underflow_complex.
22000         * math/s_catanf.c (__catanf): Likewise.
22001         * math/s_catanh.c (__catanh): Likewise.
22002         * math/s_catanhf.c (__catanhf): Likewise.
22003         * math/s_catanhl.c (__catanhl): Likewise.
22004         * math/s_catanl.c (__catanl): Likewise.
22005         * math/s_ccosh.c (__ccosh): Likewise.
22006         * math/s_ccoshf.c (__ccoshf): Likewise.
22007         * math/s_ccoshl.c (__ccoshl): Likewise.
22008         * math/s_cexp.c (__cexp): Likewise.
22009         * math/s_cexpf.c (__cexpf): Likewise.
22010         * math/s_cexpl.c (__cexpl): Likewise.
22011         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
22012         * math/s_clog10.c (__clog10): Likewise.
22013         * math/s_clog10f.c (__clog10f): Likewise.
22014         * math/s_clog10l.c (__clog10l): Likewise.
22015         * math/s_clogf.c (__clogf): Likewise.
22016         * math/s_clogl.c (__clogl): Likewise.
22017         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
22018         * math/s_csinf.c (__csinf): Likewise.
22019         * math/s_csinh.c (__csinh): Likewise.
22020         * math/s_csinhf.c (__csinhf): Likewise.
22021         * math/s_csinhl.c (__csinhl): Likewise.
22022         * math/s_csinl.c (__csinl): Likewise.
22023         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
22024         * math/s_csqrtf.c (__csqrtf): Likewise.
22025         * math/s_csqrtl.c (__csqrtl): Likewise.
22026         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
22027         * math/s_ctanf.c (__ctanf): Likewise.
22028         * math/s_ctanh.c (__ctanh): Likewise.
22029         * math/s_ctanhf.c (__ctanhf): Likewise.
22030         * math/s_ctanhl.c (__ctanhl): Likewise.
22031         * math/s_ctanl.c (__ctanl): Likewise.
22032         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
22033         instead of volatile.
22034         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
22035         math_check_force_underflow.
22036         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22037         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
22038         volatile when forcing underflow.
22039         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22040         math_check_force_underflow_nonneg.
22041         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
22042         Likewise.
22043         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
22044         math_check_force_underflow.
22045         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
22046         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22047         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22048         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
22049         math_check_force_underflow_nonneg.
22050         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
22051         math_check_force_underflow.
22052         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
22053         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
22054         instead of volatile.
22055         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
22056         math_check_force_underflow.
22057         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22058         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22059         math_check_force_underflow_nonneg.
22060         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
22061         math_check_force_underflow.
22062         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
22063         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
22064         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
22065         math_check_force_underflow_nonneg.
22066         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
22067         Likewise.
22068         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
22069         math_check_force_underflow.
22070         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
22071         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
22072         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
22073         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
22074         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
22075         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
22076         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
22077         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
22078         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
22079         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
22080         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
22081         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
22082         Likewise.
22083         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
22084         math_check_force_underflow_nonneg.
22085         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
22086         Likewise.
22087         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
22088         math_check_force_underflow.
22089         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
22090         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
22091         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22092         Likewise.
22093         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
22094         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
22095         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
22096         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
22097         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
22098         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
22099         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
22100         instead of volatile.
22101         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
22102         math_check_force_underflow.
22103         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
22104         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
22105         math_check_force_underflow.
22106         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
22107         Likewise.
22108         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22109         Use math_check_force_underflow_nonneg.
22110         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
22111         math_check_force_underflow.
22112         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
22113         Likewise.
22114         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22115         Likewise.
22116         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22117         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22118         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22119         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22120         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
22121         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22122         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
22123         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
22124         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
22125         math_check_force_underflow_nonneg.
22126         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
22127         math_check_force_underflow.
22128         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
22129         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
22130         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
22131         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
22132         math_check_force_underflow_nonneg.
22133         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
22134         math_check_force_underflow.
22135         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
22136         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
22137         instead of volatile.
22138         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
22139         math_check_force_underflow.
22141         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
22142         * stdlib/strtod_l.c: Include <math_private.h>.
22143         (overflow_value): Use math_narrow_eval.
22144         (underflow_value): Likewise.
22145         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22146         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
22147         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
22148         (__ieee754_gamma_r): Likewise.
22149         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
22150         Likewise.
22151         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
22152         Likewise.
22153         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
22154         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
22155         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
22156         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
22157         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
22158         (__ieee754_gammaf_r): Likewise.
22159         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
22160         Likewise.
22161         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
22162         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
22163         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
22164         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
22165         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
22166         volatile.
22167         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
22168         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
22169         math_narrow_eval.
22170         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
22171         Likewise.
22172         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22173         Likewise.
22174         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
22175         Likewise.
22176         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
22177         volatile.
22178         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
22179         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
22180         math_narrow_eval.
22181         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22182         Likewise.
22183         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22184         Likewise.
22186 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
22188         * nptl/Versions: Remove ignored symbols.
22190 2015-09-22  Florian Weimer  <fweimer@redhat.com>
22192         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
22193         * nss/Makefile (tests): Update.
22195 2015-09-22  Florian Weimer  <fweimer@redhat.com>
22197         * nss/bug18287.c: New file.
22198         * nss/Makefile (tests): Add bug18287.
22200 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22202         * mach/Versions (__mach_host_self_): Add symbol.
22204 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22206         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
22207         vm_page_size.
22209 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22211         Really fix sysdeps/i386/fpu/s_scalbn.S build
22213         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
22214         (libc: GLIBC_2_22): Remove unused version set.
22216 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
22218         * config.make.in (enable-timezone-tools): New variable.
22219         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
22220         (enable_timezone_tools): Export to generated files.
22221         * configure: Regenerate.
22222         * INSTALL: Regenerate.
22223         * manual/install.texi (--disable-timezone-tools): Document new flag.
22224         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
22225         ifeq ($(enable-timezone-tools),yes) check.
22227 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
22229         * timezone/Makefile: Revert previous change.
22231         [BZ #18980]
22232         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
22233         (DEFINE_DBL_MIN): Likewise.
22234         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
22235         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
22236         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
22237         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
22238         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
22239         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22240         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
22241         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
22242         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
22243         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22244         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
22245         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
22246         (flt_min): Replace with use of DEFINE_FLT_MIN.
22247         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
22248         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
22249         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22250         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
22251         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
22252         (flt_min): Replace with use of DEFINE_FLT_MIN.
22253         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
22254         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
22255         (flt_min): Replace with use of DEFINE_FLT_MIN.
22256         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
22257         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
22258         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
22259         (__ieee754_hypot): Use DBL_NARROW_EVAL.
22260         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
22261         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
22262         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
22263         (__ieee754_pow): Use DBL_NARROW_EVAL.
22264         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
22265         (__ieee754_powf): Use FLT_NARROW_EVAL.
22266         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
22267         (__ieee754_expf_sse2): Convert double-precision result to single
22268         precision.
22269         * sysdeps/i386/fpu/libm-test-ulps: Update.
22271 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22273         * timezone/Makefile: Ignore unused variable errors due to private.h
22274         (time_t_min) and (time_t_max).
22275         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
22276         Likewise.
22278 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
22280         [BZ #18981]
22281         * sysdeps/i386/fpu/i386-math-asm.h: New file.
22282         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
22283         (__ieee754_scalb): Use DBL_NARROW_EVAL.
22284         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
22285         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
22286         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
22287         (__scalbn): Use DBL_NARROW_EVAL.
22288         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
22289         (__scalbnf): Use FLT_NARROW_EVAL.
22291 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22293         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
22294         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
22295         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
22296         * stdio-common/printf_fp.c (___printf_fp):
22297         Use signbit to get the sign. Use isinf macro to allow inlining.
22298         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
22299         * stdio-common/printf_size.c (__printf_size): Likewise.
22301 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
22303         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
22305 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
22307         [BZ #18980]
22308         * sysdeps/generic/math_private.h: Include <float.h>.
22309         (math_narrow_eval): New macro.
22310         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
22311         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
22312         math_narrow_eval on overflowing return value.
22313         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
22314         Likewise.
22315         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22316         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
22317         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
22318         Likewise.
22319         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
22321 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22323         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
22324         * math/Makefile: Remove isinf_ns.c.
22325         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
22326         * math/multc3.c (__multc3): Likewise.
22327         * math/s_casin.c (__casin): Likewise.
22328         * math/s_casinf.c (__casinf): Likewise.
22329         * math/s_casinl.c (__casinl): Likewise.
22330         * math/s_cproj.c (__cproj): Likewise.
22331         * math/s_cprojf.c (__cprojf): Likewise.
22332         * math/s_cprojl.c (__cprofl): Likewise.
22333         * math/s_ctan.c (__ctan): Likewise.
22334         * math/s_ctanf.c (__ctanf): Likewise.
22335         * math/s_ctanh.c (__ctanh): Likewise.
22336         * math/s_ctanhf.c (__ctanhf): Likewise.
22337         * math/s_ctanhl.c (__ctanhl): Likewise.
22338         * math/s_ctanl.c (__ctanl): Likewise.
22339         * math/w_fmod.c (__fmod): Likewise.
22340         * math/w_fmodf.c (__fmodf): Likewise.
22341         * math/w_fmodl.c (_fmodl): Likewise.
22342         * math/w_remainder.c (__remainder): Likewise.
22343         * math/w_remainderf.c (__remainderf): Likewise.
22344         * math/w_remainderl.c (__remainderl): Likewise.
22345         * math/w_scalb.c (__scalb): Likewise.
22346         * math/w_scalbf.c (__scalbf): Likewise.
22347         * math/w_scalbl.c (__scalbl): Likewise.
22348         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
22349         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
22350         with isinf.
22351         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
22352         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
22353         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
22354         __isinf_nsf with isinf.
22355         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
22356         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
22357         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
22358         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
22359         with isinf.
22360         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
22361         __isinf_nsl with isinf.
22362         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
22363         with isinf.
22364         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
22365         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
22366         __isinf_nsl with isinf.
22367         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
22368         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
22369         with isinf.
22371 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22373         * resolv/base64.c (rcsid): Remove unused static.
22374         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
22375         static.  (tqpi1): Likewise.
22376         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
22377         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
22378         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
22379         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
22380         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
22381         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
22382         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
22383         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
22384         Likewise.
22386 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
22388         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
22389         <nptl/pthreadP.h>.
22390         (_longjmp_unwind): Use __libc_ptf_call.
22391         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
22393 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
22395         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
22396         * sysdeps/arm/__longjmp.S: Likewise.
22398 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22400         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
22401         Use __builtin_signbit.
22402         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
22403         Use __builtin_signbitf.
22404         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
22405         Use __builtin_signbitl.
22406         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22407         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
22409 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22411         [BZ #15367]
22412         [BZ #17441]
22414         * math/Makefile: Build test-snan.c with -fsignaling-nans.
22415         * math/math.h (fpclassify): Use __builtin_fpclassify when
22416         available.  (signbit): Use __builtin_signbit(f/l).
22417         (isfinite): Use__builtin_isfinite.  (isnormal): Use
22418         __builtin_isnormal.  (isnan): Use __builtin_isnan.
22419         (isinf): Use __builtin_isinf_sign.
22421 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22423         * benchtests/Makefile: Add bench-math-inlines, link with libm.
22424         * benchtests/bench-math-inlines.c: New benchmark.
22425         * benchtests/bench-util.h: New file.
22426         * benchtests/bench-util.c: New file.
22427         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
22429 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
22431         * elf/tst-dlmopen1.c: Define TEST_SO.
22432         (do_test): Use TEST_SO.
22434         * elf/dl-load.c: Include libc-internal.h.
22435         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
22437 2015-09-18  Vincent Bernat  <vincent@bernat.im>
22439         [BZ #17887]
22440         * time/strptime_l.c (__strptime_internal): Make %z accept
22441         [+-]HH:MM time zones.
22443 2015-09-18  Vincent Bernat  <vincent@bernat.im>
22445         [BZ #17886]
22446         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
22447         valid time zone.
22449 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
22451         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
22452         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
22453         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22454         (__ASSUME_FDATASYNC): Delete.
22456 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
22458         * conform/linknamespace.pl: Require weak undefined symbols to be
22459         in the standard namespace.
22460         (%strong_syms): Rename to %seen_syms.
22461         (%strong_seen): Rename to %seen_where.
22463 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
22465         [BZ #18970]
22466         * misc/error.c (error): Replace pthread_setcancelstate with
22467         __pthread_setcancelstate.
22468         (error_at_line): Likewise.
22469         * posix/wordexp.c (parse_comm): Likewise.
22470         * stdlib/fmtmsg.c (fmtmsg): Likewise.
22471         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
22472         (__pthread_setcancelstate): This.
22473         (pthread_setcancelstate): Add an alias.
22474         * nptl/nptl-init.c (pthread_functions): Replace
22475         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
22476         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
22477         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
22478         hidden_proto.
22479         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
22480         it with hidden_def.
22481         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
22482         (pthread_setcancelstate): Renamed to ...
22483         (__pthread_setcancelstate): This.
22484         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
22485         __libc_ptf_call with __pthread_setcancelstate.
22487 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
22488             Andreas Schwab  <schwab@suse.de>
22490         [BZ #17118]
22491         * math/s_ctan.c (__ctan): Determine sign of zero real part of
22492         result when imaginary part of argument is infinite using sine and
22493         cosine.
22494         * math/s_ctanf.c (__ctanf): Likewise.
22495         * math/s_ctanl.c (__ctanl): Likewise.
22496         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
22497         of result when real part of argument is infinite using sine and
22498         cosine.
22499         * math/s_ctanhf.c (__ctanhf): Likewise.
22500         * math/s_ctanhl.c (__ctanhl): Likewise.
22501         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
22502         (ctanh_test_data): Add more tests of ctanh.
22504 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
22506         [BZ #15384]
22507         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
22508         bit-mask as in subtraction.
22509         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
22510         Likewise.
22511         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
22512         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
22513         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
22515         [BZ #18951]
22516         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
22517         underflow exception for small results.
22518         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
22519         Likewise.
22520         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
22521         Likewise.
22522         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22523         Likewise.
22524         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
22525         Likewise.
22526         * math/auto-libm-test-in: Add more tests of tgamma.
22527         * math/auto-libm-test-out: Regenerated.
22529 2015-09-17  Andreas Schwab  <schwab@suse.de>
22531         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
22533 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
22535         [BZ #18977]
22536         * math/bits/mathcalls.h
22537         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
22538         not declare.
22539         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
22540         Likewise.
22541         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
22542         Likewise.
22543         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
22544         Likewise.
22545         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
22546         Likewise.
22547         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
22548         Likewise.
22549         * conform/data/math.h-data
22550         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
22551         function.
22552         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
22553         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
22554         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
22555         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
22556         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
22557         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
22558         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
22559         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
22560         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
22561         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
22562         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
22564         [BZ #6803]
22565         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
22566         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
22567         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
22568         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
22569         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
22570         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
22571         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
22572         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
22573         [NO_LONG_DOUBLE] (scalbnl): Likewise.
22574         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
22575         Likewise.
22576         [NO_LONG_DOUBLE] (scalbnl): Likewise.
22577         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
22578         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
22579         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
22580         long_double_symbol calls.
22581         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
22582         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
22583         strong alias of __ldexpl.
22584         (scalbnl): Define using long_double_symbol.
22585         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
22586         Remove alias.
22587         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
22588         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
22589         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
22590         (scalbln_test_data): Add more errno expectations.
22592 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
22594         Cache the host port like we cache the task port.  This way we do not
22595         need to call the kernel just to get the port.  Furthermore, we no
22596         longer increase the reference count on every invocation of
22597         `mach_host_self'.
22599         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
22600         Protect declarations against the macro expansion.
22601         * mach/mach_init.c (__mach_host_self_): New variable.
22602         (mach_init): Initialize `__mach_host_self_'.
22603         * mach/mach_init.h (__mach_host_self_): New declaration.
22604         (__mach_host_self, mach_host_self): New macros.
22605         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
22606         Release reference.
22608 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
22610         [BZ #4404]
22611         * po/de.po: Update from Translation Project.
22613         [BZ #16415]
22614         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
22615         (__expm1l): Remove code to handle positive infinity and overflow.
22616         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
22617         variable.
22618         (__expm1l): Remove code to handle positive infinity and overflow.
22620 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
22621             Paul Pluzhnikov  <ppluzhnikov@google.com>
22623         [BZ #18872]
22624         * stdio-common/Makefile (tst-printf-bz18872): New test.
22625         (tst-printf-bz18872-mem.out): Likewise.
22626         * stdio-common/tst-printf-bz18872.sh: Generate new test.
22627         * stdio-common/vfprintf.c: Fix memory leaks.
22629 2015-09-16  Andreas Schwab  <schwab@suse.de>
22631         [BZ #17244]
22632         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
22633         Remove extra va_start/va_end calls.
22635         [BZ #17243]
22636         * posix/execl.c (execl): Add missing va_end.
22637         * posix/execle.c (execle): Likewise.
22638         * posix/execlp.c (execlp): Likewise.
22640 2015-09-15  Roland McGrath  <roland@hack.frob.com>
22642         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
22643         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
22645 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
22647         [BZ #18967]
22648         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
22649         undefine around includes of <bits/mathcalls.h>.
22650         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
22651         not declare function.
22652         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
22653         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
22654         (scalb): Likewise.
22655         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
22656         not define macro.
22657         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
22658         variable.
22659         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22660         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22661         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22663         [BZ #18857]
22664         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
22665         return non-finite argument without doing ordered comparisons on
22666         it.
22668         [BZ #16296]
22669         * math/fenv.h (fegetround): Use __attribute_pure__.
22670         * include/fenv.h (__fegetround): Likewise.
22672         [BZ #18595]
22673         * math/s_ctan.c (__ctan): Force underflow exception for results
22674         whose real or imaginary part has small absolute value.
22675         * math/s_ctanf.c (__ctanf): Likewise.
22676         * math/s_ctanh.c (__ctanh): Likewise.
22677         * math/s_ctanhf.c (__ctanhf): Likewise.
22678         * math/s_ctanhl.c (__ctanhl): Likewise.
22679         * math/s_ctanl.c (__ctanl): Likewise.
22680         * math/auto-libm-test-in: Do not allow missing underflow for ctan
22681         and ctanh.  Add more tests of ctan and ctanh.
22683         [BZ #15918]
22684         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
22685         handling of cases where one argument is an infinity.
22687         [BZ #18875]
22688         [BZ #18966]
22689         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
22690         (MO): New macro.
22691         (__ieee754_exp10): For small results, force underflow exception
22692         and remove excess range and precision from return value.
22693         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
22694         (MO): New macro.
22695         (__ieee754_exp10f): For small results, force underflow exception
22696         and remove excess range and precision from return value.
22697         * math/auto-libm-test-in: Add more tests of exp10.
22698         * math/auto-libm-test-out: Regenerated.
22700 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
22702         [BZ #18875]
22703         [BZ #18961]
22704         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
22705         (MO): New macro.
22706         (__ieee754_exp): For small results, force underflow exception and
22707         remove excess range and precision from return value.
22708         (__exp_finite): Likewise.
22709         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
22710         (MO): New macro.
22711         (__ieee754_expf): For small results, force underflow exception and
22712         remove excess range and precision from return value.
22713         (__expf_finite): Likewise.
22714         * math/auto-libm-test-in: Add more tests of exp.
22715         * math/auto-libm-test-out: Regenerated.
22717         [BZ #16521]
22718         [BZ #18875]
22719         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
22720         small results.
22721         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
22722         (MO): New macro.
22723         (__ieee754_exp2): For small results, force underflow exception and
22724         remove excess range and precision from return value.
22725         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
22726         (MO): New macro.
22727         (__ieee754_exp2f): For small results, force underflow exception
22728         and remove excess range and precision from return value.
22729         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
22730         (MO): New macro.
22731         (__ieee754_exp2l): Force underflow exception for small results.
22732         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22733         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22734         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
22735         (MO): New macro.
22736         (__ieee754_exp2l): Force underflow exception for small results.
22737         * math/auto-libm-test-in: Add more tests or exp2.
22738         * math/auto-libm-test-out: Regenerated.
22740 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
22742         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
22744         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
22745         /dev/null.
22747 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22749         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
22750         io fs process)): Drop spurious backslash.
22752 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
22754         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
22755         Use sysinfo system call instead of parsing /proc/meminfo.
22756         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
22757         Likewise.
22759 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
22761         [BZ #16985]
22762         * programs/localedef.c (main): Display argv[remaining] when
22763         output_path is NULL.
22765 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
22767         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22768         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
22769         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
22770         tanh.
22771         * math/auto-libm-test-out: Regenerated.
22772         * sysdeps/i386/fpu/libm-test-ulps: Update.
22773         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22774         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22777 2015-09-11  Roland McGrath  <roland@hack.frob.com>
22779         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
22780         Use 'override' keyword to freeze the value here, preventing
22781         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
22783 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
22785         [BZ #14912]
22786         * sysdeps/aarch64/bits/atomic.h: Move to ...
22787         * sysdeps/aarch64/atomic-machine.h: ...here.
22788         (_AARCH64_BITS_ATOMIC_H): Rename macro to
22789         _AARCH64_ATOMIC_MACHINE_H.
22790         * sysdeps/alpha/bits/atomic.h: Move to ...
22791         * sysdeps/alpha/atomic-machine.h: ...here.
22792         * sysdeps/arm/bits/atomic.h: Move to ...
22793         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
22794         * bits/atomic.h: Move to ...
22795         * sysdeps/generic/atomic-machine.h: ...here.
22796         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22797         * sysdeps/i386/bits/atomic.h: Move to ...
22798         * sysdeps/i386/atomic-machine.h: ...here.
22799         * sysdeps/ia64/bits/atomic.h: Move to ...
22800         * sysdeps/ia64/atomic-machine.h: ...here.
22801         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
22802         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
22803         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22804         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
22805         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
22806         * sysdeps/microblaze/bits/atomic.h: Move to ...
22807         * sysdeps/microblaze/atomic-machine.h: ...here.
22808         * sysdeps/mips/bits/atomic.h: Move to ...
22809         * sysdeps/mips/atomic-machine.h: ...here.
22810         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
22811         * sysdeps/powerpc/bits/atomic.h: Move to ...
22812         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
22813         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
22814         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
22815         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
22816         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
22817         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
22818         <atomic-machine.h> instead of <bits/atomic.h>.
22819         * sysdeps/s390/bits/atomic.h: Move to ...
22820         * sysdeps/s390/atomic-machine.h: ...here.
22821         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
22822         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
22823         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22824         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
22825         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
22826         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
22827         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
22828         * sysdeps/tile/bits/atomic.h: Move to ...
22829         * sysdeps/tile/atomic-machine.h: ...here.
22830         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
22831         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
22832         <sysdeps/tile/atomic-machine.h> instead of
22833         <sysdeps/tile/bits/atomic.h>.
22834         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22835         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
22836         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
22837         <sysdeps/tile/atomic-machine.h> instead of
22838         <sysdeps/tile/bits/atomic.h>.
22839         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22840         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
22841         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
22842         <sysdeps/arm/atomic-machine.h> instead of
22843         <sysdeps/arm/bits/atomic.h>.
22844         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
22845         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
22846         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22847         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
22848         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
22849         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22850         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
22851         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
22852         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
22853         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
22854         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
22855         * sysdeps/x86_64/bits/atomic.h: Move to ...
22856         * sysdeps/x86_64/atomic-machine.h: ...here.
22857         * include/atomic.h: Include <atomic-machine.h> instead of
22858         <bits/atomic.h>.
22860         * sysdeps/mips/mips32/libm-test-ulps: Update.
22861         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22863         [BZ #18952]
22864         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
22865         not convert non-integer negative arguments to int to determine the
22866         value of signgam.
22867         * math/auto-libm-test-in: Add more tests of lgamma.
22868         * math/auto-libm-test-out: Regenerated.
22870         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
22871         cosh, csqrt, erfc, expm1 and lgamma.
22872         * math/auto-libm-test-out: Regenerated.
22873         * sysdeps/i386/fpu/libm-test-ulps: Update.
22874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22876 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
22878         [BZ #2542]
22879         [BZ #2543]
22880         [BZ #2558]
22881         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
22882         __lgamma_neg for arguments from -28.0 to -2.0.
22883         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
22884         __lgamma_negf for arguments from -15.0 to -2.0.
22885         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22886         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
22887         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
22888         Call __lgamma_negl for arguments from -33.0 to -2.0.
22889         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
22890         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
22891         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
22892         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
22893         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
22894         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
22895         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
22896         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
22897         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
22898         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
22899         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
22900         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
22901         (__lgamma_neg): Likewise.
22902         (__lgamma_negl): Likewise.
22903         (__lgamma_product): Likewise.
22904         (__lgamma_productl): Likewise.
22905         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
22906         * math/auto-libm-test-in: Add more tests of lgamma.
22907         * math/auto-libm-test-out: Regenerated.
22908         * sysdeps/i386/fpu/libm-test-ulps: Update.
22909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22911 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
22913         [BZ #18675]
22914         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
22916 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
22918         [BZ #14912]
22919         * bits/libc-lock.h: Move to ...
22920         * sysdeps/generic/libc-lock.h: ...here.
22921         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22922         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
22923         * sysdeps/mach/hurd/libc-lock.h: ...here.
22924         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22925         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
22926         * sysdeps/mach/bits/libc-lock.h: Move to ...
22927         * sysdeps/mach/libc-lock.h: ...here.
22928         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22929         * sysdeps/nptl/bits/libc-lock.h: Move to ...
22930         * sysdeps/nptl/libc-lock.h: ...here.
22931         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22932         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
22933         * sysdeps/nptl/libc-lockP.h: ...here.
22934         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
22935         * crypt/crypt_util.c: Include <libc-lock.h> instead of
22936         <bits/libc-lock.h>.
22937         * dirent/scandir-tail.c: Likewise.
22938         * dlfcn/dlerror.c: Likewise.
22939         * elf/dl-close.c: Likewise.
22940         * elf/dl-iteratephdr.c: Likewise.
22941         * elf/dl-lookup.c: Likewise.
22942         * elf/dl-open.c: Likewise.
22943         * elf/dl-support.c: Likewise.
22944         * elf/dl-writev.h: Likewise.
22945         * elf/rtld.c: Likewise.
22946         * grp/fgetgrent.c: Likewise.
22947         * gshadow/fgetsgent.c: Likewise.
22948         * gshadow/sgetsgent.c: Likewise.
22949         * iconv/gconv_conf.c: Likewise.
22950         * iconv/gconv_db.c: Likewise.
22951         * iconv/gconv_dl.c: Likewise.
22952         * iconv/gconv_int.h: Likewise.
22953         * iconv/gconv_trans.c: Likewise.
22954         * include/link.h: Likewise.
22955         * inet/getnameinfo.c: Likewise.
22956         * inet/getnetgrent.c: Likewise.
22957         * inet/getnetgrent_r.c: Likewise.
22958         * intl/bindtextdom.c: Likewise.
22959         * intl/dcigettext.c: Likewise.
22960         * intl/finddomain.c: Likewise.
22961         * intl/gettextP.h: Likewise.
22962         * intl/loadmsgcat.c: Likewise.
22963         * intl/localealias.c: Likewise.
22964         * intl/textdomain.c: Likewise.
22965         * libidn/idn-stub.c: Likewise.
22966         * libio/libioP.h: Likewise.
22967         * locale/duplocale.c: Likewise.
22968         * locale/freelocale.c: Likewise.
22969         * locale/newlocale.c: Likewise.
22970         * locale/setlocale.c: Likewise.
22971         * login/getutent_r.c: Likewise.
22972         * login/getutid_r.c: Likewise.
22973         * login/getutline_r.c: Likewise.
22974         * login/utmp-private.h: Likewise.
22975         * login/utmpname.c: Likewise.
22976         * malloc/mtrace.c: Likewise.
22977         * misc/efgcvt.c: Likewise.
22978         * misc/error.c: Likewise.
22979         * misc/fstab.c: Likewise.
22980         * misc/getpass.c: Likewise.
22981         * misc/mntent.c: Likewise.
22982         * misc/syslog.c: Likewise.
22983         * nis/nis_call.c: Likewise.
22984         * nis/nis_callback.c: Likewise.
22985         * nis/nss-default.c: Likewise.
22986         * nis/nss_compat/compat-grp.c: Likewise.
22987         * nis/nss_compat/compat-initgroups.c: Likewise.
22988         * nis/nss_compat/compat-pwd.c: Likewise.
22989         * nis/nss_compat/compat-spwd.c: Likewise.
22990         * nis/nss_nis/nis-alias.c: Likewise.
22991         * nis/nss_nis/nis-ethers.c: Likewise.
22992         * nis/nss_nis/nis-grp.c: Likewise.
22993         * nis/nss_nis/nis-hosts.c: Likewise.
22994         * nis/nss_nis/nis-network.c: Likewise.
22995         * nis/nss_nis/nis-proto.c: Likewise.
22996         * nis/nss_nis/nis-pwd.c: Likewise.
22997         * nis/nss_nis/nis-rpc.c: Likewise.
22998         * nis/nss_nis/nis-service.c: Likewise.
22999         * nis/nss_nis/nis-spwd.c: Likewise.
23000         * nis/nss_nisplus/nisplus-alias.c: Likewise.
23001         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
23002         * nis/nss_nisplus/nisplus-grp.c: Likewise.
23003         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
23004         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
23005         * nis/nss_nisplus/nisplus-network.c: Likewise.
23006         * nis/nss_nisplus/nisplus-proto.c: Likewise.
23007         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
23008         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
23009         * nis/nss_nisplus/nisplus-service.c: Likewise.
23010         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
23011         * nis/ypclnt.c: Likewise.
23012         * nptl/libc_pthread_init.c: Likewise.
23013         * nss/getXXbyYY.c: Likewise.
23014         * nss/getXXent.c: Likewise.
23015         * nss/getXXent_r.c: Likewise.
23016         * nss/nss_db/db-XXX.c: Likewise.
23017         * nss/nss_db/db-netgrp.c: Likewise.
23018         * nss/nss_db/nss_db.h: Likewise.
23019         * nss/nss_files/files-XXX.c: Likewise.
23020         * nss/nss_files/files-alias.c: Likewise.
23021         * nss/nsswitch.c: Likewise.
23022         * posix/regex_internal.h: Likewise.
23023         * posix/wordexp.c: Likewise.
23024         * pwd/fgetpwent.c: Likewise.
23025         * resolv/res_hconf.c: Likewise.
23026         * resolv/res_libc.c: Likewise.
23027         * shadow/fgetspent.c: Likewise.
23028         * shadow/lckpwdf.c: Likewise.
23029         * shadow/sgetspent.c: Likewise.
23030         * socket/opensock.c: Likewise.
23031         * stdio-common/reg-modifier.c: Likewise.
23032         * stdio-common/reg-printf.c: Likewise.
23033         * stdio-common/reg-type.c: Likewise.
23034         * stdio-common/vfprintf.c: Likewise.
23035         * stdio-common/vfscanf.c: Likewise.
23036         * stdlib/abort.c: Likewise.
23037         * stdlib/cxa_atexit.c: Likewise.
23038         * stdlib/fmtmsg.c: Likewise.
23039         * stdlib/random.c: Likewise.
23040         * stdlib/setenv.c: Likewise.
23041         * string/strsignal.c: Likewise.
23042         * sunrpc/auth_none.c: Likewise.
23043         * sunrpc/bindrsvprt.c: Likewise.
23044         * sunrpc/create_xid.c: Likewise.
23045         * sunrpc/key_call.c: Likewise.
23046         * sunrpc/rpc_thread.c: Likewise.
23047         * sysdeps/arm/backtrace.c: Likewise.
23048         * sysdeps/generic/ldsodefs.h: Likewise.
23049         * sysdeps/generic/stdio-lock.h: Likewise.
23050         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
23051         * sysdeps/i386/backtrace.c: Likewise.
23052         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23053         * sysdeps/m68k/backtrace.c: Likewise.
23054         * sysdeps/mach/hurd/cthreads.c: Likewise.
23055         * sysdeps/mach/hurd/dirstream.h: Likewise.
23056         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
23057         * sysdeps/nptl/malloc-machine.h: Likewise.
23058         * sysdeps/nptl/stdio-lock.h: Likewise.
23059         * sysdeps/posix/dirstream.h: Likewise.
23060         * sysdeps/posix/getaddrinfo.c: Likewise.
23061         * sysdeps/posix/system.c: Likewise.
23062         * sysdeps/pthread/aio_suspend.c: Likewise.
23063         * sysdeps/s390/s390-32/backtrace.c: Likewise.
23064         * sysdeps/s390/s390-64/backtrace.c: Likewise.
23065         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23066         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
23067         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
23068         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
23069         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
23070         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
23071         * sysdeps/unix/sysv/linux/system.c: Likewise.
23072         * sysdeps/x86_64/backtrace.c: Likewise.
23073         * time/alt_digit.c: Likewise.
23074         * time/era.c: Likewise.
23075         * time/tzset.c: Likewise.
23076         * wcsmbs/wcsmbsload.c: Likewise.
23077         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
23078         instead of <bits/libc-lock.h> in comment.
23080 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
23082         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
23083         Only use .set mips2 if the current ISA is below mips2.
23084         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
23085         Likewise.
23086         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
23087         mips32r2 if the current ISA is below mips32r2.
23088         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
23089         (TLS_IE): Updated to use the TLD_RDHWR macro.
23090         (TLS_LE): Likewise.
23091         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
23092         __ASSEMBLER__ condition.
23094 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23096         Fix parallel build of before-compile targets.
23098         * sysdeps/mach/Makefile ($(patsubst
23099         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
23100         mach-before-compile target.
23101         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
23102         io fs process)): Move rule to dedicated hurd-before-compile target.
23104 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23106         Fix rules generating headers in hurd/ and mach/ when initial make call
23107         has subdir= explicitly set.
23109         * sysdeps/mach/Makefile ($(patsubst
23110         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
23111         calling $(MAKE).
23112         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
23113         io fs process)): Force subdir to hurd when calling $(MAKE).
23114         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
23115         subdir to mach when calling $(MAKE).
23117 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
23119         Check sysheaders when looking for Mach and Hurd headers
23121         * sysdeps/mach/configure.ac: Add sysheaders check.
23122         * sysdeps/mach/configure: Regenerate.
23123         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
23124         * sysdeps/mach/hurd/configure: Regenerate.
23126 2015-09-04  Roland McGrath  <roland@hack.frob.com>
23128         [BZ #18921]
23129         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
23130         Fix inverted sense of test of 'o_directory_works' value.
23131         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
23132         Bernhard Voelker <mail@bernhard-voelker.de>.
23134 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
23136         [BZ #14912]
23137         * bits/linkmap.h: Move to ...
23138         * sysdeps/generic/linkmap.h: ...here.
23139         * sysdeps/aarch64/bits/linkmap.h: Move to ...
23140         * sysdeps/aarch64/linkmap.h: ...here.
23141         * sysdeps/arm/bits/linkmap.h: Move to ...
23142         * sysdeps/arm/linkmap.h: ...here.
23143         * sysdeps/hppa/bits/linkmap.h: Move to ...
23144         * sysdeps/hppa/linkmap.h: ...here.
23145         * sysdeps/ia64/bits/linkmap.h: Move to ...
23146         * sysdeps/ia64/linkmap.h: ...here.
23147         * sysdeps/mips/bits/linkmap.h: Move to ...
23148         * sysdeps/mips/linkmap.h: ...here.
23149         * sysdeps/s390/bits/linkmap.h: Move to ...
23150         * sysdeps/s390/linkmap.h: ...here.
23151         * sysdeps/sh/bits/linkmap.h: Move to ...
23152         * sysdeps/sh/linkmap.h: ...here.
23153         * sysdeps/x86/bits/linkmap.h: Move to ...
23154         * sysdeps/x86/linkmap.h: ...here.
23155         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
23157 2015-09-04  Andreas Schwab  <schwab@suse.de>
23159         [BZ #18635]
23160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
23161         (__makecontext): Terminate FDE before return label.
23162         (__novec_makecontext): Likewise.
23164 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23166         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
23167         first member of struct sv in syscall macro.
23169 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
23171         [BZ #14912]
23172         * bits/stdio-lock.h: Move to ...
23173         * sysdeps/generic/stdio-lock.h: ...here.
23174         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
23175         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
23176         * sysdeps/nptl/stdio-lock.h: ...here.
23177         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
23178         * include/libio.h: Include <stdio-lock.h> instead of
23179         <bits/stdio-lock.h>.
23180         * sysdeps/nptl/fork.c: Likewise.
23181         * sysdeps/pthread/flockfile.c: Likewise.
23182         * sysdeps/pthread/ftrylockfile.c: Likewise.
23183         * sysdeps/pthread/funlockfile.c: Likewise.
23185         [BZ #14912]
23186         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
23187         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
23188         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
23189         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
23190         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
23191         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
23192         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
23194 2015-09-03  Roland McGrath  <roland@hack.frob.com>
23196         * elf/Makefile (test-xfail-tst-protected1a): New variable.
23197         (test-xfail-tst-protected1b): New variable.
23199 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
23201         [BZ #14912]
23202         * bits/libc-tsd.h: Move to ...
23203         * sysdeps/generic/libc-tsd.h: ...here.
23204         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
23205         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
23206         * sysdeps/mach/hurd/libc-tsd.h: ...here.
23207         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
23208         * include/ctype.h: Include <libc-tsd.h> instead of
23209         <bits/libc-tsd.h>.
23210         * include/rpc/rpc.h: Likewise.
23211         * locale/localeinfo.h: Likewise.
23212         * sunrpc/rpc_thread.c: Likewise.
23213         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
23214         * sysdeps/nptl/malloc-machine.h: Likewise.
23216         * Makefile (headers): Remove bits/libc-lock.h.
23217         * libio/Makefile (headers): Remove bits/stdio-lock.h.
23219         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
23220         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
23221         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
23222         <bits/stdio-lock.h>.
23223         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
23224         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
23226 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
23228         [BZ #18757]
23229         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
23230         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
23231         BZ #18757.
23233 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
23235         * malloc/mtrace.pl: Filter out NULL entries.
23237 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
23239         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
23240         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
23241         macro.
23243         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
23244         (TCP_CC_INFO): Likewise.
23245         (TCP_SAVE_SYN): Likewise.
23246         (TCP_SAVED_SYN): Likewise.
23248 2015-08-31  Brett Neumeier <brett@neumeier.us>
23250         [BZ #18870]
23251         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
23253 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
23255         [BZ #18873]
23256         Fix broken overflow check in posix_fallocate
23257         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
23258         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
23259         Fix parenthesization typo.
23261 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
23263         [BZ #18887]
23264         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
23265         tst-mntent-blank-passno.
23266         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
23267         * misc/tst-mntent-blank-corrupt.c: New test.
23268         * misc/tst-mntent-blank-passno.c: New test ripped from ...
23269         * misc/tst-mntent.c (do_test): ... here.
23271 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
23273         [BZ #4404]
23274         * po/de.po: Fix SIGALRM typo.
23276 2015-08-28  James Perkins  <james@loowit.net>
23278         * time/tst-strptime2.c (tests): Replace short list of test
23279         strings for strptime %z specifier with code which exhaustively
23280         tests every combination of sign and 0 to 5 digits. Tests for
23281         rejection of invalid strings.
23283 2015-08-28  James Perkins  <james@loowit.net>
23285         [BZ #16141]
23286         * time/strptime_l.c (__strptime_internal): Fix %z minutes
23287         calculation, removing incorrect decimal time rounding, so that
23288         all minute values result in a valid seconds value.
23289         * time/strptime_l.c (__strptime_internal): Extend %z time zone
23290         offset range limits to UTC-99:59 through UTC+99:59 to parse
23291         current and historical use cases.
23292         * time/tst-strptime2.c (tests): Modify and add tests for the
23293         strptime %z input field descriptor, specifically conversion of
23294         minutes to seconds and validating an offset range of -9959 to
23295         +9959.
23297 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23298             Dmitry V. Levin  <ldv@altlinux.org>
23300         [BZ #18877]
23301         * posix/Makefile (tests): Add tst-mmap-offset.
23302         * posix/tst-mmap.c: New file.
23303         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
23304         offset calculation for negative values.
23306 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23308         * sysdeps/i386/init-arch.h: New file.
23309         * sysdeps/i386/i586/init-arch.h: Likewise.
23310         * sysdeps/i386/i686/init-arch.h: Likewise.
23311         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
23312         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
23313         * sysdeps/x86/cpu-features.h (bit_I586): New.
23314         (bit_I686): Likewise.
23315         (bit_CX8): Likewise.
23316         (bit_CMOV): Likewise.
23317         (index_CX8): Likewise.
23318         (index_CMOV): Likewise.
23319         (index_I586): Likewise.
23320         (index_I686): Likewise.
23321         (reg_CX8): Likewise.
23322         (reg_CMOV): Likewise.
23323         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
23324         available at compile-time.
23325         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
23326         available at compile-time.
23327         * sysdeps/x86/init-arch.h (USE_I586): New macro.
23328         (USE_I686): Likewise.
23330 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23332         * sysdeps/i386/bcopy.S: New file.
23333         * sysdeps/i386/bzero.S: Likewise.
23334         * sysdeps/i386/memcpy.S: Likewise.
23335         * sysdeps/i386/memmove.S: Likewise.
23336         * sysdeps/i386/mempcpy.S: Likewise.
23337         * sysdeps/i386/memset.S: Likewise.
23338         * sysdeps/i386/bzero.c: Removed.
23339         * sysdeps/i386/memset.c: Likewise.
23340         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
23341         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
23342         * sysdeps/i386/i586/memset_chk.S: Likewise.
23343         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
23344         * sysdeps/i386/memcpy_chk.S: Here.
23345         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
23346         * sysdeps/i386/memmove_chk.S: Here.
23347         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
23348         * sysdeps/i386/mempcpy_chk.S: Likewise.
23349         * sysdeps/i386/i686/memset_chk.S: Moved to ...
23350         * sysdeps/i386/memset_chk.S: Likewise.
23352 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
23354         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
23355         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
23356         file, move DIAG_POP_NEEDS_COMMENT to end of file.
23357         * soft-fp/fmadf4.c: Ditto.
23358         * soft-fp/fmatf4.c: Ditto.
23360 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23362         * sysdeps/i386/i586/Implies: Removed.
23363         * sysdeps/i386/i686/Implies: Likewise.
23365 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23367         * sysdeps/i386/i486/strlen.S: Moved to ...
23368         * sysdeps/i386/strlen.S: Here.
23370 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23372         * sysdeps/i386/i486/strcat.S: Moved to ...
23373         * sysdeps/i386/strcat.S: Here.
23375 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23377         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
23378         * sysdeps/i386/pthread_spin_trylock.S: Here.
23379         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
23380         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
23382 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23384         * sysdeps/i386/i486/string-inlines.c: Moved to ...
23385         * sysdeps/i386/string-inlines.c: Here.
23387 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23389         * sysdeps/i386/i486/htonl.S: Moved ...
23390         * sysdeps/i386/htonl.S: here.
23392 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23394         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
23395         * sysdeps/i386/bits/atomic.h: Here.
23397 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23399         * sysdeps/i386/i486/Versions: Removed.
23401 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
23403         [BZ #2898]
23404         * misc/mktemp.c: Add mkdtemp to the link_warning message.
23405         Based on patch by Aurelien Jarno.
23407 2015-08-26  Stan Shebs  <stanshebs@google.com>
23409         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
23410         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
23412 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23414         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
23415         * sysdeps/powerpc/dl-procinfo.c:
23416         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
23417         feature so it shows when LD_SHOW_AUXV=1.
23419 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23421         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
23422         (__arch_compare_and_exchange_val_32_acq): Remove and use common
23423         definition.  ISA 2.07B no longer requires full sync.
23425 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
23427         [BZ #18863]
23428         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
23429         (si_call_addr): Define.
23430         (si_syscall): Define.
23431         (si_arch): Define.
23433 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
23435         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
23436         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
23437         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
23438         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
23439         (__memset_zero_constant_len_parameter): New.
23440         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
23441         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
23442         (__memset_zero_constant_len_parameter): Don't define if
23443         __memset_chk or USE_AS_BZERO are defined.
23445         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
23446         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
23447         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
23449         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
23450         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
23451         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
23452         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
23453         comments.
23454         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
23455         -mno-mmx for $(all-rtld-routines).
23456         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
23457         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
23458         i386.
23460 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
23462         * sysdeps/generic/unwind.h
23463         (_Unwind_Word): Use __mode__(__unwind_word__)
23464         instead of __mode__(__word__).
23465         (_Unwind_Sword): Likewise.
23467         * sysdeps/s390/s390-64/utf8-utf16-z9.c
23468         (MAX_NEEDED_INPUT): New define.
23469         (MAX_NEEDED_OUTPUT): New define.
23471         * NEWS: New item for IBM z13 string optimizations.
23473         * sysdeps/s390/multiarch/memrchr-c.c: New File.
23474         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
23475         * sysdeps/s390/multiarch/memrchr.c: Likewise.
23476         * sysdeps/s390/multiarch/Makefile
23477         (sysdep_routines): Add memrchr functions.
23478         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23479         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
23481         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
23482         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
23483         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
23484         * sysdeps/s390/multiarch/Makefile
23485         (sysdep_routines): Add wmemcmp functions.
23486         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23487         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
23488         * benchtests/bench-wmemcmp.c: New File.
23489         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
23491         * sysdeps/s390/multiarch/wmemset-c.c: New File.
23492         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
23493         * sysdeps/s390/multiarch/wmemset.c: Likewise.
23494         * sysdeps/s390/multiarch/Makefile
23495         (sysdep_routines): Add wmemset functions.
23496         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23497         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
23498         * wcsmbs/wmemset.c: Use WMEMSET if defined.
23499         * string/test-memset.c: Add wmemset support.
23500         * wcsmbs/test-wmemset.c: New File.
23501         * wcsmbs/Makefile (strop-tests): Add wmemset.
23502         * benchtests/bench-memset.c: Add wmemset support.
23503         * benchtests/bench-wmemset.c: New File.
23504         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
23506         * sysdeps/s390/multiarch/memccpy-c.c: New File.
23507         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
23508         * sysdeps/s390/multiarch/memccpy.c: Likewise.
23509         * sysdeps/s390/multiarch/Makefile
23510         (sysdep_routines): Add memccpy functions.
23511         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23512         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
23513         * string/memccpy.c: Use MEMCCPY if defined.
23515         * sysdeps/s390/multiarch/memchr-vx.S: New File.
23516         * sysdeps/s390/multiarch/memchr.c: Likewise.
23517         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
23518         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
23519         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
23520         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
23521         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
23522         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
23523         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
23524         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
23525         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
23526         and rawmemchr functions.
23527         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23528         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
23529         and wmemchr.
23530         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
23531         * string/test-memchr.c: Add wmemchr support.
23532         * wcsmbs/test-wmemchr.c: New File.
23533         * wcsmbs/Makefile (strop-tests): Add wmemchr.
23534         * benchtests/bench-memchr.c: Add wmemchr support.
23535         * benchtests/bench-wmemchr.c: New File.
23536         * benchtests/Makefile (wcsmbs-bench): wmemchr.
23538         * sysdeps/s390/multiarch/strcspn-c.c: New File.
23539         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
23540         * sysdeps/s390/multiarch/strcspn.c: Likewise.
23541         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
23542         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
23543         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
23544         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
23545         wcscspn functions.
23546         * sysdeps/s390/multiarch/ifunc-impl-list.c
23547         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
23548         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
23549         * string/test-strcspn.c: Add wcscspn support.
23550         * wcsmbs/test-wcscspn.c: New File.
23551         * wcsmbs/Makefile (strop-tests): Add wcscspn.
23552         * benchtests/bench-strcspn.c: Add wcscspn support.
23553         * benchtests/bench-wcscspn.c: New File.
23554         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
23556         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
23557         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
23558         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
23559         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
23560         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
23561         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
23562         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
23563         wcspbrk functions.
23564         * sysdeps/s390/multiarch/ifunc-impl-list.c
23565         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
23566         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
23567         * string/test-strpbrk.c: Add wcspbrk support.
23568         * wcsmbs/test-wcspbrk.c: New File.
23569         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
23570         * benchtests/bench-strpbrk.c: Add wcspbrk support.
23571         * benchtests/bench-wcspbrk.c: New File.
23572         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
23574         * sysdeps/s390/multiarch/strspn-c.c: New File.
23575         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
23576         * sysdeps/s390/multiarch/strspn.c: Likewise.
23577         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
23578         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
23579         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
23580         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
23581         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
23582         wcsspn functions.
23583         * sysdeps/s390/multiarch/ifunc-impl-list.c
23584         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
23585         * string/test-strspn.c: Add wcsspn support.
23586         * wcsmbs/test-wcsspn.c: New File.
23587         * wcsmbs/Makefile (strop-tests): Add wcsspn.
23588         * benchtests/bench-strspn.c: Add wcsspn support.
23589         * benchtests/bench-wcsspn.c: New File.
23590         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
23592         * sysdeps/s390/multiarch/strrchr-c.c: New File.
23593         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
23594         * sysdeps/s390/multiarch/strrchr.c: Likewise.
23595         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
23596         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
23597         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
23598         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
23599         wcsrchr functions.
23600         * sysdeps/s390/multiarch/ifunc-impl-list.c
23601         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
23602         * benchtests/bench-wcsrchr.c: New File.
23603         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
23605         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
23606         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
23607         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
23608         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
23609         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
23610         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
23611         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
23612         wcschrnul functions.
23613         * sysdeps/s390/multiarch/ifunc-impl-list.c
23614         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
23615         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
23616         * string/test-strchr.c: Add wcschrnul support.
23617         * wcsmbs/test-wcschrnul.c: New File.
23618         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
23619         * benchtests/bench-strchr.c: Add wcschrnul support.
23620         * benchtests/bench-wcschrnul.c: New File.
23621         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
23623         * sysdeps/s390/multiarch/strchr-c.c: New File.
23624         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
23625         * sysdeps/s390/multiarch/strchr.c: Likewise.
23626         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
23627         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
23628         * sysdeps/s390/multiarch/wcschr.c: Likewise.
23629         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
23630         wcschr functions.
23631         * sysdeps/s390/multiarch/ifunc-impl-list.c
23632         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
23633         * string/strchr.c (STRCHR): Define and use macro.
23634         * benchtests/bench-wcschr.c: New File.
23635         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
23637         * sysdeps/s390/multiarch/strncmp-c.c: New File.
23638         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
23639         * sysdeps/s390/multiarch/strncmp.c: Likewise.
23640         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
23641         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
23642         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
23643         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
23644         wcsncmp functions.
23645         * sysdeps/s390/multiarch/ifunc-impl-list.c
23646         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
23647         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
23648         * benchtests/bench-strncmp.c: Add wcsncmp support.
23649         * benchtests/bench-wcsncmp.c: New File.
23650         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
23652         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
23653         * sysdeps/s390/multiarch/strcmp.c: Likewise.
23654         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
23655         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
23656         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
23657         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
23658         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
23659         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
23660         wcscmp functions.
23661         * sysdeps/s390/multiarch/ifunc-impl-list.c
23662         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
23663         * string/strcmp.c (STRCMP): Define and use macro.
23664         * benchtests/bench-wcscmp.c: New File.
23665         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
23666         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
23667         instead of _HAVE_STRING_ARCH_memchr.
23669         * sysdeps/s390/multiarch/strncat-c.c: New File.
23670         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
23671         * sysdeps/s390/multiarch/strncat.c: Likewise.
23672         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
23673         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
23674         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
23675         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
23676         wcsncat functions.
23677         * sysdeps/s390/multiarch/ifunc-impl-list.c
23678         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
23679         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
23680         * string/test-strncat.c: Add wcsncat support.
23681         * wcsmbs/test-wcsncat.c: New File.
23682         * wcsmbs/Makefile (strop-tests): Add wcsncat.
23683         * benchtests/bench-strncat.c: Add wcsncat support.
23684         * benchtests/bench-wcsncat.c: New File.
23685         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
23687         * sysdeps/s390/multiarch/strcat-c.c: New File.
23688         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
23689         * sysdeps/s390/multiarch/strcat.c: Likewise.
23690         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
23691         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
23692         * sysdeps/s390/multiarch/wcscat.c: Likewise.
23693         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
23694         wcscat functions.
23695         * sysdeps/s390/multiarch/ifunc-impl-list.c
23696         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
23697         * string/strcat.c (STRCAT): Define and use macro.
23698         * wcsmbs/wcscat.c: Use WCSCAT if defined.
23699         * string/test-strcat.c: Add wcscat support.
23700         * wcsmbs/test-wcscat.c: New File.
23701         * wcsmbs/Makefile (strop-tests): Add wcscat.
23702         * benchtests/bench-strcat.c: Add wcscat support.
23703         * benchtests/bench-wcscat.c: New File.
23704         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
23706         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
23707         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
23708         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
23709         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
23710         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
23711         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
23712         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
23713         wcpncpy functions.
23714         * sysdeps/s390/multiarch/ifunc-impl-list.c
23715         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
23716         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
23717         * string/test-stpncpy.c: Add wcpncpy support.
23718         * wcsmbs/test-wcpncpy.c: New File.
23719         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
23720         * benchtests/bench-stpncpy.c: Add wcpncpy support.
23721         * benchtests/bench-wcpncpy.c: New File.
23722         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
23724         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
23725         * sysdeps/s390/multiarch/strncpy.c: Likewise.
23726         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
23727         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
23728         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
23729         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
23730         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
23731         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
23732         wcsncpy functions.
23733         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
23734         * sysdeps/s390/multiarch/ifunc-impl-list.c
23735         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
23736         * string/test-strncpy.c: Add wcsncpy support.
23737         * wcsmbs/test-wcsncpy.c: New File.
23738         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
23739         * benchtests/bench-strncpy.c: Add wcsncpy support.
23740         * benchtests/bench-wcsncpy.c: New File.
23741         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
23743         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
23744         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
23745         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
23746         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
23747         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
23748         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
23749         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
23750         wcpcpy functions.
23751         * string/stpcpy.c: Use STPCPY if defined.
23752         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
23753         * sysdeps/s390/multiarch/ifunc-impl-list.c
23754         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
23755         * string/test-stpcpy.c: Add wcpcpy support.
23756         * wcsmbs/test-wcpcpy.c: New File.
23757         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
23758         * benchtests/bench-stpcpy.c: Add wcpcpy support.
23759         * benchtests/bench-wcpcpy.c: New File.
23760         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
23762         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
23763         * sysdeps/s390/multiarch/strcpy.c: Likewise.
23764         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
23765         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
23766         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
23767         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
23768         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
23769         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
23770         wcscpy functions.
23771         * sysdeps/s390/multiarch/ifunc-impl-list.c
23772         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
23773         * benchtests/bench-wcscpy.c: New File.
23774         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
23776         * sysdeps/s390/multiarch/strnlen-c.c: New File.
23777         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
23778         * sysdeps/s390/multiarch/strnlen.c: Likewise.
23779         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
23780         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
23781         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
23782         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
23783         wcsnlen functions.
23784         * sysdeps/s390/multiarch/ifunc-impl-list.c
23785         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
23786         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
23787         * string/test-strnlen.c: Add wcsnlen support.
23788         * wcsmbs/test-wcsnlen.c: New File.
23789         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
23790         * benchtests/bench-strnlen.c: Add wcsnlen support.
23791         * benchtests/bench-wcsnlen.c: New File.
23792         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
23794         * sysdeps/s390/multiarch/Makefile: New File.
23795         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
23796         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
23797         * sysdeps/s390/multiarch/strlen.c: Likewise.
23798         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
23799         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
23800         * sysdeps/s390/multiarch/wcslen.c: Likewise.
23801         * string/strlen.c (STRLEN): Define and use macro.
23802         * sysdeps/s390/multiarch/ifunc-impl-list.c
23803         (IFUNC_VX_IMPL): New macro function.
23804         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
23805         * benchtests/Makefile (wcsmbs-bench): New variable.
23806         (string-bench-all): Added wcsmbs-bench.
23807         * benchtests/bench-wcslen.c: New File.
23809         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
23810         s390_vx_libc_ifunc2): New macro function.
23812         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
23813         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
23814         assembler support.
23815         * sysdeps/s390/configure: Regenerated.
23817         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
23818         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
23820         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
23821         * sysdeps/s390/dl-procinfo.h: Add vector capability.
23822         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
23824         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
23825         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
23826         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
23827         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
23828         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
23829         (memcmp, bcmp): Use __memcmp_default as alias source.
23830         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
23831         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
23832         Rename to __memcmp_default.
23833         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
23834         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
23835         (memcpy): Use __memcpy_default as alias source.
23836         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
23837         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
23838         Rename to __memcpy_default.
23839         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
23840         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
23841         (memset): Use __memset_default as alias source.
23842         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
23843         * sysdeps/s390/s390-32/memset.S (__memset_g5):
23844         Rename to __memset_default.
23845         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
23846         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
23847         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
23848         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
23849         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
23850         (memcmp, bcmp): Use __memcmp_default as alias source.
23851         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
23852         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
23853         Rename to __memcmp_default.
23854         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
23855         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
23856         (memcpy): Use __memcpy_default as alias source.
23857         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
23858         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
23859         Rename to __memcpy_default.
23860         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
23861         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
23862         (memset): Use __memset_default as alias source.
23863         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
23864         * sysdeps/s390/s390-64/memset.S (__memset_z900):
23865         Rename to __memset_default.
23866         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
23867         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
23869         [BZ #18610]
23870         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
23871         __ieee_instruction_pointer to __unused.
23872         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
23873         __ieee_instruction_pointer.
23874         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
23875         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
23876         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23877         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23878         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
23879         Mark dxc-field as reserved.
23881 2015-08-25  Roland McGrath  <roland@hack.frob.com>
23883         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
23884         if the weak reference is not null.
23886 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23888         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
23890         [BZ #11214]
23891         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
23893 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23895         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
23896         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
23897         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
23898         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
23899         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
23900         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
23901         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
23902         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
23903         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
23904         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
23905         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
23906         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
23907         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
23908         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
23909         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
23910         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
23911         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
23912         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
23914 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23916         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
23917         register other than r0 for tabort, it has special meaning.
23918         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
23919         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
23920         transaction before starting syscall.
23922 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23924         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
23926 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23928         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
23930         * sysdeps/x86_64/rtld-memcmp.c: Removed.
23931         * sysdeps/x86_64/rtld-memset.S: Likewise.
23932         * sysdeps/x86_64/rtld-strchr.S: Likewise.
23933         * sysdeps/x86_64/rtld-strlen.S: Likewise.
23934         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
23935         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
23937         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
23939 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
23941         * debug/strcpy_chk.c: Improve performance.
23942         * debug/stpcpy_chk.c: Likewise.
23943         * sysdeps/x86_64/strcpy_chk.S: Remove.
23944         * sysdeps/x86_64/stpcpy_chk.S: Remove.
23946         [BZ #18240]
23947         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
23949 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23951         [BZ #15128]
23952         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
23953         ifuncmain8.
23954         (modules-names): Add ifuncmod8.
23955         ($(objpfx)ifuncmain8): New rule.
23956         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
23957         <cpuid.h>.
23958         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
23959         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
23960         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
23961         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
23962         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
23963         * sysdeps/x86_64/dl-trampoline.h: Likewise.
23964         * sysdeps/x86_64/ifuncmain8.c: New file.
23965         * sysdeps/x86_64/ifuncmod8.c: Likewise.
23966         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
23967         Removed.
23968         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
23969         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
23970         Change rtld_savespace_sse to __glibc_unused2.
23971         (RTLD_CHECK_FOREIGN_CALL): Removed.
23972         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
23973         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
23974         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
23976 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
23978         * sysdeps/aarch64/bzero.S (__bzero): Remove.
23980 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
23982         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
23983         Unconditionally set __fpcr to avoid uninialized warning.
23984         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
23986 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23988         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
23989         is corrupt.
23991         * malloc/arena.c (arena_get2): Drop unused argument.
23992         (arena_lock): Adjust.
23993         (arena_get_retry): Likewise.
23995 2015-08-24  Andreas Schwab  <schwab@suse.de>
23997         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
23998         Don't define.
23999         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
24000         (__ASSUME_IPC64): Don't undef.
24001         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
24002         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24003         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24004         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
24005         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
24006         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
24007         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
24008         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
24009         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
24010         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
24011         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
24012         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
24013         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
24014         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
24015         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
24016         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
24017         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
24018         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
24019         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
24020         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
24021         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
24023 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
24025         * manual/Makefile (install): Only build manual when perl is available.
24027 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24029         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
24030         '#undef memcpy' by '#undef memchr'.
24032 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24034         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
24035         memchr not point to the internal __GI_memchr implementation.
24037 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
24039         * timezone/Makefile (CFLAGS-zdump.c): Remove
24040         -Wno-strict-prototypes.
24041         (CFLAGS-zic.c): Likewise.
24042         (CFLAGS-ialloc.c): Likewise.
24043         (CFLAGS-scheck.c): Likewise.
24045         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
24046         -Wno-error=undef.
24048 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
24050         * i386/i686/multiarch/strcasestr-c.c: Removed.
24051         * x86_64/multiarch/strcasestr.c: Likewise.
24052         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24053         Remove strcasestr.
24055 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
24057         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
24059         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
24060         variables for high and low parts before possibly modifying them.
24062 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
24064         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
24065         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
24066         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
24067         of "multiarch/init-arch.h".
24068         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
24069         * sysdeps/x86/init-arch.h: This.
24071 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
24073         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
24074         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
24076 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
24078         [BZ #17787]
24079         * manual/macros.texi: Add twoexp macro.
24080         * manual/filesys.texi: Fix exponents.
24081         * manual/llio.texi: Likewise.
24082         * manual/stdio.texi: Likewise.
24084 2015-08-20  Florian Weimer  <fweimer@redhat.com>
24086         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
24087         incorrect use.
24089 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
24091         [BZ #18370]
24092         * math/s_csqrt.c (__csqrt): Force underflow exception for results
24093         whose real or imaginary part has small absolute value.
24094         * math/s_csqrtf.c (__csqrtf): Likewise.
24095         * math/s_csqrtl.c (__csqrtl): Likewise.
24096         * math/auto-libm-test-in: Add more tests of csqrt.
24097         * math/auto-libm-test-out: Regenerated.
24098         * sysdeps/i386/fpu/libm-test-ulps: Update.
24100 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24102         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
24103         __ppc_set_ppr_very_low): New functions.
24104         * manual/platform.texi: Add documentation about
24105         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
24107 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
24109         * string/stpncpy.c (stpncpy): Improve performance using
24110         __strnlen/memcpy/memset.
24112 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24114         [BZ #18796]
24115         * scripts/test-installation.pl: Don't add -lmvec to build options if
24116         libmvec wasn't built.
24118 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
24120         [BZ #14341]
24121         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
24122         case when there is a gap between DT_REL and DT_JMPREL sections.
24123         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
24124         (LDFLAGS-tst-split-dynreloc): New.
24125         (tst-split-dynreloc-ENV): Likewise.
24126         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
24127         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
24129 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24131         [BZ #18822]
24132         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
24133         attribute_hidden.
24134         (__xstat64_conv): Likewise.
24135         (__xstat32_conv): Likewise.
24137 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24139         [BZ #18822]
24140         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
24141         Don't load %ebx when calling __setcontext.  Call __setcontext
24142         with HIDDEN_JUMPTARGET.
24143         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
24144         libc_hidden_def.
24146 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24148         * sysdeps/i386/i686/Makefile
24149         [$(subdir) == string] (sysdep_routines): Moved to ...
24150         * sysdeps/i386/Makefile: Here.
24151         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
24152         * sysdeps/i386/cacheinfo.c: Here.
24153         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
24154         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
24155         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
24156         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
24158 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24160         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
24161         __i586__ is defined.
24162         (HAS_I686): Defined to 1 if __i686__ is defined.
24164 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
24166         * elf/Makefile [$(have-z-execstack) = yes]
24167         (CPPFLAGS-tst-execstack.c): New variable.
24169         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
24170         conditional to [defined UTMPX || _HAVE_UT_TYPE].
24171         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
24172         UTMPX || _HAVE_UT_TV].
24173         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
24174         UTMPX || _HAVE_UT_TV - 0].
24176 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
24178         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
24179         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
24180         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
24182 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24184         * sysdeps/powerpc/dl-procinfo.c:
24185         (_dl_powerpc_cap_flags): Added missing strings for some
24186         hwcap features.
24187         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
24189 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
24191         Port the 0x7efe...feff pattern to GCC 6.
24192         See Steve Ellcey's bug report in:
24193         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
24194         * string/memrchr.c (MEMRCHR):
24195         * string/rawmemchr.c (RAWMEMCHR):
24196         * string/strchr.c (strchr):
24197         * string/strchrnul.c (STRCHRNUL):
24198         Rewrite code to avoid issues with signed shift overflow.
24200 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
24202         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
24203         whether cpuid is available only if HAS_CPUID is 0.
24204         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
24205         (HAS_I586): Likewise.
24206         (HAS_I686): Likewise.
24208 2015-08-18  Zack Weinberg  <zackw@panix.com>
24210         * misc/Versions (libc): Add GLIBC_2.23.
24212 2015-08-18  Alan Modra  <amodra@gmail.com>
24214         [BZ #18421]
24215         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
24216         .Lp__global.
24217         (_start): Load %dp via .Lp__global.
24218         [!SHARED]: Use .section .rodata.
24220 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24222         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
24223         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
24225 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24227         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
24228         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
24230 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24232         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
24233         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
24235 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24237         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
24238         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
24240 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24242         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
24243         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
24245 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24247         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
24248         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
24250 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24252         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
24254 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24256         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
24257         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
24258         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24259         (__ASSUME_LWS_CAS): Delete.
24261 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24263         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
24264         * sysdeps/hppa/configure: Regenerated.
24265         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
24266         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
24267         * sysdeps/hppa/nptl/tls.h: Likewise.
24269 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
24271         [BZ #18823]
24272         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
24273         for scaling up small arguments.
24274         * math/s_csqrtf.c (__csqrtf): Likewise.
24275         * math/s_csqrtl.c (__csqrtl): Likewise.
24276         * math/auto-libm-test-in: Add more tests of csqrt.
24277         * math/auto-libm-test-out: Regenerated.
24279 2015-08-17  Andreas Schwab  <schwab@suse.de>
24281         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
24282         version set GLIBC_2.19.
24284 2015-08-16  Zack Weinberg  <zackw@panix.com>
24286         [BZ #18681]
24287         * misc/regexp.h: This interface is no longer supported.
24288         Remove all contents, leaving only an #error directive.
24289         * misc/regexp.c (loc1, loc2, locs, step, advance):
24290         Demote to compatibility symbols.
24292 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
24294         [BZ #18084]
24295         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
24296         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
24297         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
24298         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
24299         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
24300         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
24301         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
24302         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
24303         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
24305 2015-08-15  Zack Weinberg  <zackw@panix.com>
24307         [BZ #18795]
24308         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
24309         buffer length is known to be too large, not if it's known to be
24310         small enough.
24311         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
24312         overflow at runtime, involving a length parameter, twice: once
24313         with a compile-time constant length parameter, once without.
24315 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
24317         [BZ #18824]
24318         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
24319         scaling x * y up instead of down.
24320         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24321         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24322         * math/auto-libm-test-in: Add more tests of fma.
24323         * math/auto-libm-test-out: Regenerated.
24325 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
24327         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24329 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24331         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
24332         unnecessary movq.
24333         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
24334         Likewise.
24336 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
24338         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24339         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
24340         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
24341         and tgamma.
24342         * math/auto-libm-test-out: Regenerated.
24343         * sysdeps/i386/fpu/libm-test-ulps: Update.
24344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24346         [BZ #16520]
24347         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
24348         (__tanh): Force underflow exception for arguments with small
24349         absolute value.
24350         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
24351         (__tanhf): Force underflow exception for arguments with small
24352         absolute value.
24353         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
24354         (__tanhl): Force underflow exception for arguments with small
24355         absolute value.
24356         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
24357         (__tanhl): Force underflow exception for arguments with small
24358         absolute value.
24359         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
24360         (__tanhl): Force underflow exception for arguments with small
24361         absolute value.
24362         * math/auto-libm-test-in: Add more tests of tanh.
24363         * math/auto-libm-test-out: Regenerated.
24364         * sysdeps/i386/fpu/libm-test-ulps: Update.
24366 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24368         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
24369         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
24371 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24373         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
24374         <cpuid.h>.
24376 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24378         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
24379         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
24381 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24383         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
24384         Remove $(objpfx)init-arch.o.
24385         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
24386         init-arch.
24387         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
24388         (INIT_ARCH_EXT): Defined as empty.
24389         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
24390         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
24391         __init_cpu_features call.  Replace HAS_XXX with
24392         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24393         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
24394         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
24395         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
24396         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
24397         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
24398         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
24399         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
24400         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
24401         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
24402         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
24403         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
24404         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
24405         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
24406         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
24407         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
24408         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
24409         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
24410         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
24411         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
24412         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
24413         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
24414         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
24415         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
24416         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
24417         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
24418         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
24419         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
24420         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
24421         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
24422         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
24423         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
24424         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
24425         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
24426         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
24427         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
24429 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24431         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
24432         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24433         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
24434         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
24435         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
24436         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
24437         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
24438         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
24439         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
24440         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
24441         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
24442         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
24443         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24444         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24445         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24446         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24447         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24448         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24449         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24450         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24451         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24452         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24453         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24454         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24455         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24456         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24457         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24458         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24459         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24460         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24461         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24462         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24463         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24464         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24465         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24466         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24467         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24468         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24469         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24470         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24471         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24472         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24473         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24475 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24477         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
24478         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24479         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
24480         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24481         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24482         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
24483         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24484         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
24485         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
24486         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24487         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24488         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
24489         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
24490         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
24491         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
24492         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
24493         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
24494         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
24495         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
24496         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
24497         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
24498         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
24499         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
24500         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24501         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24502         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
24503         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
24504         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
24505         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24506         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24507         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24508         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24509         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24510         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24511         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24512         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24513         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24514         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24515         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24516         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24517         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24518         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24519         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24521 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24523         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
24524         (dl_platform_init): Call init_cpu_features.
24525         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
24526         * sysdeps/i386/i686/cacheinfo.c
24527         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
24528         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
24529         * sysdeps/i386/i686/multiarch/Versions: Removed.
24530         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
24531         Removed.
24532         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
24533         * sysdeps/unix/sysv/linux/x86/Makefile
24534         (libpthread-sysdep_routines): Remove init-arch.
24535         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
24536         <sysdeps/x86_64/dl-procinfo.c> instead of
24537         sysdeps/generic/dl-procinfo.c>.
24538         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
24539         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
24540         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
24541         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
24542         [$(subdir) == elf] (tests-static): Add
24543         tst-get-cpu-features-static.
24544         * sysdeps/x86/Versions: New file.
24545         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
24546         * sysdeps/x86/cpu-features.c: Likewise.
24547         * sysdeps/x86/cpu-features.h: Likewise.
24548         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
24549         * sysdeps/x86/libc-start.c: Likewise.
24550         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
24551         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
24552         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
24553         * sysdeps/x86_64/dl-procinfo.c: Likewise.
24554         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
24555         Assume USE_MULTIARCH is defined and don't check it.
24556         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
24557         (is_amd): Likewise.
24558         (max_cpuid): Likewise.
24559         (intel_check_word): Likewise.
24560         (__cache_sysconf): Don't call __init_cpu_features.
24561         (__x86_preferred_memory_instruction): Removed.
24562         (init_cacheinfo): Don't call __init_cpu_features. Replace
24563         __cpu_features with GLRO(dl_x86_cpu_features).
24564         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
24565         (dl_platform_init): Call init_cpu_features.
24566         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
24567         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
24568         * sysdeps/x86_64/multiarch/Versions: Removed.
24569         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
24570         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
24571         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
24572         Removed.
24573         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
24575 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
24577         [BZ #18820]
24578         * libio/Makefile (test-fmemopen-mem): New test.
24579         * libio/test-fmemopen.c (do_bz18820): New test.
24580         * libio/fmemopen.c (__fmemopen): Fix memory leak.
24581         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
24583 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
24585         [BZ #16734]
24586         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
24587         (FREE_BUF): Delete.
24588         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
24589         * libio/genops.c (_IO_setb): Use malloc and free directly.
24590         (_IO_default_doallocate, _IO_default_finish): Likewise.
24591         ( _IO_unbuffer_all): Likewise.
24592         ( libc_freeres_fn): Likewise.
24593         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24594         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
24595         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
24596         (_IO_wdefault_doallocate): Likewise.
24598 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
24600         [BZ #18086]
24601         * sysdeps/posix/nice.c (nice): Restore old errno.
24602         * posix/tst-nice.c (do_test): Add test for BZ #18086.
24604 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
24606         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
24608 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24610         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
24611         __bcopy and add a weak_alias to bcopy.
24612         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
24613         for static build.
24615         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
24616         cleanup macro usage.
24617         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
24618         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
24619         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
24620         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
24621         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
24622         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
24623         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
24624         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
24625         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24626         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
24627         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24628         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
24629         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24630         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
24631         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24632         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
24633         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
24634         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
24635         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
24637         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
24638         libc_hidden_def.
24639         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
24641         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
24642         (sysdep_routines): Add strstr-ppc64.
24643         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
24645 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
24647         [BZ #18778]
24648         * elf/Makefile (tests): Add Add tst-nodelete2.
24649         (modules-names): Add tst-nodelete2mod.
24650         (tst-nodelete2mod.so-no-z-defs): New.
24651         ($(objpfx)tst-nodelete2): Likewise.
24652         ($(objpfx)tst-nodelete2.out): Likewise.
24653         (LDFLAGS-tst-nodelete2): Likewise.
24654         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
24655         out of loop through all loaded libraries.
24656         * elf/tst-nodelete2.c: New file.
24657         * elf/tst-nodelete2mod.c: Likewise.
24658         * elf/tst-znodelete-zlib.cc: Delete.
24660 2015-08-11  Andreas Schwab  <schwab@suse.de>
24662         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
24663         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
24664         (__openat64_nocancel): Likewise.
24666 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
24668         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
24669         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
24670         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
24671         * math/auto-libm-test-out: Regenerated.
24672         * sysdeps/i386/fpu/libm-test-ulps: Update.
24673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24675 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
24677         [BZ #18790]
24678         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
24679         threshold for returning +/- 1.
24680         * math/auto-libm-test-in: Add more tests of tanh.
24681         * math/auto-libm-test-out: Regenerated.
24682         * sysdeps/i386/fpu/libm-test-ulps: Update.
24684 2015-08-10  Andreas Schwab  <schwab@suse.de>
24686         [BZ #18781]
24687         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
24688         MORE_OFLAGS to oflag.
24689         * io/test-lfs.c (do_test): Test openat64.
24691 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
24693         [BZ #18789]
24694         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
24695         smaller threshold for returning the argument.
24696         * math/auto-libm-test-in: Add more tests of sinh.
24697         * math/auto-libm-test-out: Regenerated.
24698         * sysdeps/i386/fpu/libm-test-ulps: Update.
24700 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
24702         [BZ #18674]
24703         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
24704         break.
24706 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
24708         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
24709         (generated): Don't add $(addprefix z.,$(tzfiles)).
24711 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
24713         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
24714         * scripts/sysd-rules.awk: Likewise.
24716 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
24718         * iconvdata/tst-tables.sh: Change echo -n to printf.
24719         * nss/db-Makefile: Likewise.
24720         * posix/tst-getconf.sh: Likewise.
24721         * stdio-common/tst-unbputc.sh: Likewise.
24723 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
24725         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
24726         MADV_*_PAGES defines behind this feature check.
24728 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
24730         [BZ #18480]
24731         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
24732         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
24733         Define.
24734         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
24735         LOAD_REGS_5, LOAD_REGS_6): Update.
24736         (INTERNAL_SYSCALL): Update using new LOAD defines.
24737         (INTERNAL_SYSCALL_NCS): Likewise.
24738         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
24740 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24742         [BZ #16734]
24743         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
24745 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24747         [BZ #17905]
24748         * catgets/Makefile (tst-catgets-mem): New test.
24749         * catgets/catgets.c (catopen): Don't use unbounded alloca.
24750         * catgets/open_catalog.c (__open_catalog): Likewise.
24751         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
24753 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
24755         [BZ #18787]
24756         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
24757         clobber registers.
24758         (atomic_compare_and_exchange_val_acq): Use register asms to assign
24759         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
24760         Cast return to __typeof (oldval).
24762 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
24764         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
24765         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
24766         and delete sys/syscall.h include.
24768 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
24770         [BZ #16517]
24771         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
24772         (tan): Force underflow exception for arguments with small absolute
24773         value.
24774         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
24775         (__kernel_tanf): Force underflow exception for arguments with
24776         small absolute value.
24777         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
24778         (__kernel_tanl): Force underflow exception for arguments with
24779         small absolute value.
24780         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
24781         (__kernel_tanl): Force underflow exception for arguments with
24782         small absolute value.
24783         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
24784         (__kernel_tanl): Force underflow exception for arguments with
24785         small absolute value.
24786         * math/auto-libm-test-in: Add more tests of tan.
24787         * math/auto-libm-test-out: Regenerated.
24789 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24791         Fix sysdeps/i386/fpu/s_scalbn.S build
24793         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
24795 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
24797         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
24799 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24801         Fix gcrt0.o compilation
24803         When static-start-installed-name is different from
24804         start-installed-name, we must not use the shared objects.
24806         * csu/Makefile
24807         (extra-objs): Add gmon-start.o when building shared library and
24808         $(static-start-installed-name) is different from
24809         $(start-installed-name).
24810         $(objpfx)g$(static-start-installed-name): When building shared
24811         library and $(static-start-installed-name) is different from
24812         $(static-start-installed-name), revert to non-shared rule,
24813         i.e. using $(objpfx)% and gmon-start.o.
24815 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
24817         [BZ #16519]
24818         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
24819         (__ieee754_sinh): Force underflow exception for arguments with
24820         small absolute value.
24821         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
24822         (__ieee754_sinhf): Force underflow exception for arguments with
24823         small absolute value.
24824         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
24825         (__ieee754_sinhl): Force underflow exception for arguments with
24826         small absolute value.
24827         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
24828         (__ieee754_sinhl): Force underflow exception for arguments with
24829         small absolute value.
24830         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
24831         (__ieee754_sinhl): Force underflow exception for arguments with
24832         small absolute value.
24833         * math/auto-libm-test-in: Add more tests of sinh.
24834         * math/auto-libm-test-out: Regenerated.
24835         * sysdeps/i386/fpu/libm-test-ulps: Update.
24837 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24839         * libio/oldfileops.c: Include unistd.h.
24841 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
24843         * stdlib/isomac.c: Include ctype.h.
24845 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
24847         * dirent/tst-seekdir.c (main): Converted to ...
24848         (do_test): ... this.
24849         (TEST_FUNCTION): New macro.
24850         Include test-skeleton.c.
24851         * elf/tst-dlmodcount.c (main): Converted to ...
24852         (do_test): ... this.
24853         (TEST_FUNCTION): New macro.
24854         Include test-skeleton.c.
24855         * elf/tst-order-main.c (main): Converted to ...
24856         (do_test): ... this.
24857         (TEST_FUNCTION): New macro.
24858         Include test-skeleton.c.
24859         * elf/tst-pie2.c (main): Converted to ...
24860         (do_test): ... this.
24861         (TEST_FUNCTION): New macro.
24862         Include test-skeleton.c.
24863         * inet/tst-ether_aton.c (main): Converted to ...
24864         (do_test): ... this.
24865         (TEST_FUNCTION): New macro.
24866         Include test-skeleton.c.
24867         * misc/tst-mntent.c (main): Converted to ...
24868         (do_test): ... this.
24869         (TEST_FUNCTION): New macro.
24870         Include test-skeleton.c.
24871         * misc/tst-tsearch.c (main): Converted to ...
24872         (do_test): ... this.
24873         (TEST_FUNCTION): New macro.
24874         Include test-skeleton.c.
24875         * posix/tst-regexloc.c (main): Converted to ...
24876         (do_test): ... this.
24877         (TEST_FUNCTION): New macro.
24878         Include test-skeleton.c.
24879         * resolv/tst-aton.c (main): Converted to ...
24880         (do_test): ... this.
24881         (TEST_FUNCTION): New macro.
24882         Include test-skeleton.c.
24883         * stdio-common/test-fwrite.c (main): Converted to ...
24884         (do_test): ... this.
24885         (TEST_FUNCTION): New macro.
24886         Include test-skeleton.c.
24887         * stdio-common/tst-ferror.c (main): Converted to ...
24888         (do_test): ... this.
24889         (TEST_FUNCTION): New macro.
24890         Include test-skeleton.c.
24891         * stdio-common/tst-printf.c (main): Converted to ...
24892         (do_test): ... this.
24893         (TEST_FUNCTION): New macro.
24894         Include test-skeleton.c.
24895         * stdio-common/tst-printfsz.c (main): Converted to ...
24896         (do_test): ... this.
24897         (TEST_FUNCTION): New macro.
24898         Include test-skeleton.c.
24899         * stdlib/tst-strtod.c (main): Converted to ...
24900         (do_test): ... this.
24901         (TEST_FUNCTION): New macro.
24902         Include test-skeleton.c.
24903         * string/tst-strlen.c (main): Converted to ...
24904         (do_test): ... this.
24905         (TEST_FUNCTION): New macro.
24906         Include test-skeleton.c.
24907         * string/tst-svc.c (main): Converted to ...
24908         (do_test): ... this.
24909         (TEST_FUNCTION): New macro.
24910         Include test-skeleton.c.
24911         * time/tst-strptime.c (main): Converted to ...
24912         (do_test): ... this.
24913         (TEST_FUNCTION): New macro.
24914         Include test-skeleton.c.
24915         * timezone/tst-timezone.c (main): Converted to ...
24916         (do_test): ... this.
24917         (TEST_FUNCTION): New macro.
24918         Include test-skeleton.c.
24920 2015-08-05  Zack Weinberg  <zackw@panix.com>
24922         * misc/regexp.h: Update comments.
24924 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
24926         [BZ #18635]
24927         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
24928         before return label.
24930 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24932         [BZ #18661]
24933         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
24934         when calling __errno_location.
24935         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
24936         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
24938 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24940         [BZ #18661]
24941         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
24942         (__lll_timedwait_tid): Align stack to 16 bytes when calling
24943         __gettimeofday.
24945 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24947         [BZ #18661]
24948         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24949         (__start_context): Don't use pop to restore %rdi so that stack
24950         is aligned to 16 bytes when calling __setcontext.
24952 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24954         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
24955         only for libc.
24956         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24958 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24960         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
24961         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
24962         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
24964 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24966         * string/memccpy.c (memccpy):
24967         Improve performance by using memchr/memcpy/__mempcpy.
24969 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24971         * string/strncpy.c (strncpy):
24972         Improve performance by using __strnlen/memcpy.
24974 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24976         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
24977         Optimize to avoid an unnecessary FPCR read.
24979 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24981         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
24982         Optimize to reduce FPCR/FPSR accesses.
24984 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24986         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
24987         dead->data[category] != NULL.
24989 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
24991         [BZ #18647]
24992         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
24993         and |x| close to 1, use absolute value of x when computing log.
24994         * math/auto-libm-test-in: Add more tests of pow.
24995         * math/auto-libm-test-out: Regenerated.
24997 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24999         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
25000         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
25001         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
25003 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
25005         [BZ #18525]
25006         * locales/km_KH: Remove timezone definition.
25007         * locales/lo_LA: Likewise.
25008         * locales/my_MM: Likewise.
25009         * locales/nan_TW@latin: Likewise.
25010         * locales/th_TH: Likewise.
25011         * locales/uk_UA: Likewise.
25013 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
25015         [BZ #18265]
25016         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
25017         (wcsncat): Likewise.
25018         (wcscmp): Likewise.
25019         (wcsncmp): Likewise.
25021 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
25023         * test-skeleton.c (usage): New function.
25024         (main): Call usage when opt is '?'.
25026 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
25028         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
25029         before first use.
25031 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
25033         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
25034         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
25035         in there too.
25037 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
25039         * version.h (RELEASE): Set to "development".
25040         (VERSION): Set to "2.22.90"
25042         * version.h (RELEASE): Set to "stable".
25043         (VERSION): Set to "2.22"
25044         * include/features.h (__GLIBC_MINOR__): Set to 22.
25046 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
25048         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
25049         Restructure macro to avoid "value computed is not used" warning.
25050         (atomic_compare_and_exchange_val_acq): Likewise.
25052 2015-08-04  Andreas Schwab  <schwab@suse.de>
25054         [BZ #18635]
25055         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
25056         ret.
25057         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
25059 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
25061         * po/pl.po: Updated translation.
25062         * po/uk.po: Likewise.
25063         * po/fi.po: Likewise.
25064         * po/ko.po: Likewise.
25065         * po/ru.po: Likewise.
25066         * po/vi.po: Likewise.
25068 2015-07-31  Zack Weinberg  <zackw@panix.com>
25070         [BZ #18681]
25071         * regexp.h: Add unconditional #warning stating that this header
25072         will be removed soon.  Revise banner comment to match.
25073         (compile): Consistently use ERROR instead of RETURN to report
25074         errors (partial fix for bz#18681).
25075         * regexp.c: Don't include regexp.h. Remove some unnecessary
25076         declarations.
25078 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
25080         * po/libc.pot: Regenerated.
25082 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25084         [BZ #18740]
25085         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
25086         float-vlen4-arch-ext-cflags): Removed.
25087         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
25088         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
25090 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25092         [BZ #14113]
25093         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
25094         aligned to __aligned__.
25095         (pthread_cond_t, pthread_rwlock_t): Likewise.
25097 2015-07-30  Torvald Riegel  <triegel@redhat.com>
25099         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
25101 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25103         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
25104         (struct sigaction): Change sa_flags from a long to an int, and add
25105         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
25107 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25109         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
25110         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
25111         sysdeps/generic/sysdep.h include.
25112         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
25113         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
25114         sysdeps/hppa/sysdep.h.
25115         (ENTRY, PSEUDO): Undefine before defining.
25117 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25119         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
25120         from scratch to use INTERNAL_SYSCALL.
25122 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
25124         [BZ #18078]
25125         * scripts/check-localplt.awk: Support alternate relocations.
25126         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
25127         sections.
25128         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
25129         malloc entries with + REL R_386_GLOB_DAT.
25130         * sysdeps/x86_64/localplt.data: New file.
25132 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
25134         [BZ #18731]
25135         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
25136         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25137         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25139 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25141         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
25143 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25145         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
25146         directly in terms of __sync_fetch_and_add and delete (int) cast.
25148 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25150         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
25151         the -D_ASM_IA64_CURRENT_H flag.
25153 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25155         [BZ #18641]
25156         * pwd/pwd.h (putpwent): Delete __nonnull markings.
25158 2015-07-27  Andreas Schwab  <schwab@suse.de>
25160         * conform/conformtest.pl (checknamespace): Filter out string
25161         literals while tokenizing.
25163 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
25165         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
25166         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
25167         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
25169 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
25171         * nptl/tst-join7mod.c: Add #include <string.h>.
25173 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
25175         * sysdeps/nios2/libm-test-ulps: Update.
25177 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
25179         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
25180         Fix order of arguments to the rt_sigprocmask syscall.
25181         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
25182         Likewise.
25184 2015-07-24  Roland McGrath  <roland@hack.frob.com>
25186         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
25188 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25190         [BZ #18457]
25191         * nptl/Makefile (tests): New test case tst-join7.
25192         (modules-names): New test case module tst-join7mod.
25193         * nptl/tst-join7.c: New file.
25194         * nptl/tst-join7mod.c: New file.
25195         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
25196         all translation units in libc.so, libpthread.so and rtld.
25198 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25200         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25202 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
25204         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
25205         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
25206         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
25207         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
25208         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
25209         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
25210         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
25211         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
25212         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
25213         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
25214         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
25215         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
25216         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
25217         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
25218         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
25219         implementation.
25221 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25223         [BZ #17711]
25224         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
25225         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
25226         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
25227         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
25228         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
25229         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
25231 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25233         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
25234         instead of just saying load lock in the comments.
25236 2015-07-23  Roland McGrath  <roland@hack.frob.com>
25238         * sysdeps/unix/Subdirs: Moved ...
25239         * sysdeps/posix/Subdirs: ... here.
25240         * login/pty.h (struct termios, struct winsize): Add forward decls.
25241         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
25242         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
25243         * sysdeps/arm/nacl/libc.abilist: Updated.
25244         * sysdeps/nacl/libutil.abilist: New file.
25246         * bits/signum.h: Update comments to mention 1003.1-2013 too.
25247         (SIGWINCH): New macro.
25249         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
25250         * sysdeps/arm/nacl/libc.abilist: Add it.
25252 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
25254         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
25256 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
25258         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
25259         Swap __glibc_reserved0 and sa_flags order.
25261 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
25263         [BZ #18657]
25264         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
25265         are pending TLS destructor calls.
25266         * include/link.h (struct link_map): Add concurrency note for
25267         L_TLS_DTOR_COUNT.
25268         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25269         Don't touch the link map flag.  Atomically increment
25270         l_tls_dtor_count.
25271         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
25272         Avoid taking the load lock and don't touch the link map flag.
25273         * stdlib/tst-tls-atexit-nodelete.c: New test case.
25274         * stdlib/Makefile (tests): Use it.
25275         * stdlib/tst-tls-atexit.c (do_test): dlopen
25276         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
25277         to allow tst-tls-atexit-nodelete test case to use it.
25279 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
25281         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
25282         to bits/types.h.
25283         (msgqnum_t): New typedef.
25284         (msglen_t): Likewise.
25285         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
25286         and msg_qbytes type to msglen_t.
25288 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
25290         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
25291         pad0 to __glibc_reserved0.
25292         (struct stat64): Likewise.
25294 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
25296         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
25297         Change sa_flags from a long to an int and add __glibc_reserved0 before
25298         it for padding.
25300 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
25302         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
25303         anonymous by deleting "siginfo" name.
25305 2015-07-21  Roland McGrath  <roland@hack.frob.com>
25307         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
25308         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
25309         rather than __nacl_irt_filename.
25310         * sysdeps/nacl/xstat.c (__xstat): Likewise.
25312         * NEWS: New item for arm-nacl port.
25313         * sysdeps/arm/nacl/libc.abilist: New file.
25314         * sysdeps/nacl/ld.abilist: New file.
25315         * sysdeps/nacl/libBrokenLocale.abilist: New file.
25316         * sysdeps/nacl/libanl.abilist: New file.
25317         * sysdeps/nacl/libcrypt.abilist: New file.
25318         * sysdeps/nacl/libdl.abilist: New file.
25319         * sysdeps/nacl/libm.abilist: New file.
25320         * sysdeps/nacl/libpthread.abilist: New file.
25321         * sysdeps/nacl/libresolv.abilist: New file.
25322         * sysdeps/nacl/librt.abilist: New file.
25324 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
25326         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
25327         __startcontext to initialize the new context.
25328         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
25329         up CFI directive to forbid further backtracing.
25331 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
25333         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
25334         reference.
25335         * charmaps/ANSI_X3.4-1968: Likewise.
25336         * charmaps/BS_4730: Likewise.
25337         * charmaps/BS_VIEWDATA: Likewise.
25338         * charmaps/CP1250: Likewise.
25339         * charmaps/CP1251: Likewise.
25340         * charmaps/CP1252: Likewise.
25341         * charmaps/CP1253: Likewise.
25342         * charmaps/CP1254: Likewise.
25343         * charmaps/CP1255: Likewise.
25344         * charmaps/CP1256: Likewise.
25345         * charmaps/CSN_369103: Likewise.
25346         * charmaps/EBCDIC-DK-NO: Likewise.
25347         * charmaps/GB_1988-80: Likewise.
25348         * charmaps/GREEK-CCITT: Likewise.
25349         * charmaps/GREEK7: Likewise.
25350         * charmaps/INIS-8: Likewise.
25351         * charmaps/ISIRI-3342: Likewise.
25352         * charmaps/ISO_2033-1983: Likewise.
25353         * charmaps/ISO_5427-EXT: Likewise.
25354         * locales/POSIX: Likewise.
25355         * locales/ar_SA: Likewise.
25356         * locales/be_BY: Likewise.
25357         * locales/be_BY@latin: Likewise.
25358         * locales/ca_ES: Likewise.
25359         * locales/cs_CZ: Likewise.
25360         * locales/da_DK: Likewise.
25361         * locales/de_BE: Likewise.
25362         * locales/de_CH: Likewise.
25363         * locales/de_LU: Likewise.
25364         * locales/en_AU: Likewise.
25365         * locales/en_BW: Likewise.
25366         * locales/en_CA: Likewise.
25367         * locales/en_DK: Likewise.
25368         * locales/en_GB: Likewise.
25369         * locales/en_IE: Likewise.
25370         * locales/en_NZ: Likewise.
25371         * locales/en_ZA: Likewise.
25372         * locales/en_ZW: Likewise.
25373         * locales/es_AR: Likewise.
25374         * locales/es_BO: Likewise.
25375         * locales/es_CL: Likewise.
25376         * locales/es_CO: Likewise.
25377         * locales/es_DO: Likewise.
25378         * locales/es_EC: Likewise.
25379         * locales/es_ES: Likewise.
25380         * locales/es_HN: Likewise.
25381         * locales/es_MX: Likewise.
25382         * locales/es_PA: Likewise.
25383         * locales/es_PE: Likewise.
25384         * locales/es_PY: Likewise.
25385         * locales/es_SV: Likewise.
25386         * locales/es_US: Likewise.
25387         * locales/es_UY: Likewise.
25388         * locales/es_VE: Likewise.
25389         * locales/et_EE: Likewise.
25390         * locales/fa_IR: Likewise.
25391         * locales/fo_FO: Likewise.
25392         * locales/fr_CA: Likewise.
25393         * locales/fr_CH: Likewise.
25394         * locales/gv_GB: Likewise.
25395         * locales/he_IL: Likewise.
25396         * locales/hr_HR: Likewise.
25397         * locales/id_ID: Likewise.
25398         * locales/is_IS: Likewise.
25399         * locales/it_CH: Likewise.
25400         * locales/iw_IL: Likewise.
25401         * locales/kl_GL: Likewise.
25402         * locales/ko_KR: Likewise.
25403         * locales/kw_GB: Likewise.
25404         * locales/lg_UG: Likewise.
25405         * locales/lt_LT: Likewise.
25406         * locales/lv_LV: Likewise.
25407         * locales/mi_NZ: Likewise.
25408         * locales/nhn_MX: Likewise.
25409         * locales/nl_BE: Likewise.
25410         * locales/pl_PL: Likewise.
25411         * locales/sk_SK: Likewise.
25412         * locales/sl_SI: Likewise.
25413         * locales/sv_FI: Likewise.
25414         * locales/tl_PH: Likewise.
25415         * locales/tr_TR: Likewise.
25416         * locales/vi_VN: Likewise.
25418 2015-07-21  Khem Raj  <raj.khem@gmail.com>
25420         [BZ #17475]
25421         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
25422         of tu_IN and bh_IN.
25424 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
25426         [BZ #18694]
25427         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
25428         bits/wordsize.h.
25429         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
25431 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25433         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
25434         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
25435         (spawn_thread): New function.
25436         (load): Rename to reg_dtor_and_close.  Move dlopen to...
25437         (do_test): ... here.  Use IS_LOADED to test for its
25438         availability.
25440 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
25442         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
25444 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
25446         [BZ #18696]
25447         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
25448         si_addr_bnd.
25449         (si_lower): New.
25450         (si_upper): Likewise.
25452 2015-07-16  David S. Miller  <davem@davemloft.net>
25454         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
25456 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25458         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
25459         buffer.
25460         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
25461         fail output information.
25463 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25465         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
25466         and strstr-ppc64..
25467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25468         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
25469         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
25470         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
25471         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
25473 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
25475         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
25476         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
25477         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
25478         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
25480 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
25482         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
25483         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
25484         rtld_hidden_proto.
25485         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
25487 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25489         * tst-nodelete-opened.c (do_test): Add comment to clarify how
25490         the test can fail.
25492         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
25494         [BZ #18676]
25495         * elf/tst-nodelete-opened.c: New test case.
25496         * elf/tst-nodelete-opened-lib.c: New test case module.
25497         * elf/Makefile (tests, modules-names): Use them.
25498         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
25499         early.
25501 2015-07-15  David S. Miller  <davem@davemloft.net>
25503         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
25504         futex-intenal.h
25505         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
25506         * sysdeps/sparc/sparc64/Makefile: Likewise.
25507         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
25508         Remove space from macro define.
25509         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
25511 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
25513         [BZ #17475]
25514         * locale/iso-639.def: Update Bhili and Tulu language codes as
25515         per iso639-3.
25517 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
25519         * elf/tst-leaks1.c (main): Converted to ...
25520         (do_test): ... this.
25521         (TEST_FUNCTION): New macro.
25522         Include test-skeleton.c.
25523         * localedata/tst-langinfo.c (main): Converted to ...
25524         (do_test): ... this.
25525         (TEST_FUNCTION): New macro.
25526         Include test-skeleton.c.
25527         * math/test-fpucw.c (main): Converted to ...
25528         (do_test): ... this.
25529         (TEST_FUNCTION): New macro.
25530         Include test-skeleton.c.
25531         * math/test-tgmath.c (main): Converted to ...
25532         (do_test): ... this.
25533         (TEST_FUNCTION): New macro.
25534         Include test-skeleton.c.
25535         * math/test-tgmath2.c (main): Converted to ...
25536         (do_test): ... this.
25537         (TEST_FUNCTION): New macro.
25538         Include test-skeleton.c.
25539         * setjmp/tst-setjmp.c (main): Converted to ...
25540         (do_test): ... this.
25541         (TEST_FUNCTION): New macro.
25542         Include test-skeleton.c.
25543         * stdio-common/tst-sscanf.c (main): Converted to ...
25544         (do_test): ... this.
25545         (TEST_FUNCTION): New macro.
25546         Include test-skeleton.c.
25547         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
25548         (do_test): ... this.
25549         (TEST_FUNCTION): New macro.
25550         Include test-skeleton.c.
25552         * elf/tst-audit9.c (main): Converted to ...
25553         (do_test): ... this.
25554         (TEST_FUNCTION): New macro.
25555         Include test-skeleton.c.
25557 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
25559         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
25561 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
25563         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
25564         New variable.
25566 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
25568         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25570 2015-07-14  Roland McGrath  <roland@hack.frob.com>
25572         * sysdeps/generic/dl-fileid.h: New file.
25573         * sysdeps/posix/dl-fileid.h: New file.
25574         * sysdeps/nacl/dl-fileid.h: New file.
25575         * include/link.h: Include <dl-fileid.h>.
25576         (struct link_map): Replace l_dev and l_ino with l_file_id.
25577         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
25578         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
25579         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
25581 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25583         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
25585 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25587         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
25588         Add iff $CXX is set.
25589         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
25590         Likewise.
25591         (tst-nodelete-zmodiff): Likewise.
25592         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
25594 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25596         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
25598 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
25600         * sysdeps/aarch64/fpu/math_private.h
25601         (define math_opt_barrier): Add AArch64 version.
25602         (math_force_eval): Likewise.
25604 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
25606         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
25608 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
25610         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
25611         %ld with %jd and cast to intmax_t.
25612         (do_test_length_zero): Likewise.
25614 2015-07-10  Roland McGrath  <roland@hack.frob.com>
25616         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
25618 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
25620         * sysdeps/tile/libm-test-ulps: Regenerated.
25622         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
25623         Comment out the whole function, not just its body.
25625 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25627         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
25628         locks.
25630         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
25632 2015-07-10  Torvald Riegel  <triegel@redhat.com>
25634         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
25635         (sem_assume_only_signals_cause_futex_EINTR): Remove.
25637 2015-07-10  Torvald Riegel  <triegel@redhat.com>
25639         * sysdeps/nptl/futex-internal.h: New file.
25640         * sysdeps/nacl/futex-internal.h: New file.
25641         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
25642         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
25643         error checking.
25644         (setxid_unmark_thread): Likewise.
25645         (__nptl_setxid): Likewise.
25646         (__wait_lookup_done): Likewise.
25647         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
25648         * nptl/nptl-init.c (sighandler_setxid): Likewise.
25649         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25650         * nptl/pthread_once.c (clear_once_control): Likewise.
25651         (__pthread_once_slow): Likewise.
25652         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
25653         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
25654         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
25655         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25656         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
25657         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
25658         Likewise.
25659         (__pthread_rwlock_rdlock): Likewise.
25660         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25661         Likewise.
25662         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
25663         Likewise.
25664         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
25665         Likewise.
25666         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
25667         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
25668         Likewise.
25669         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
25670         __ASSUME_PRIVATE_FUTEX check.
25671         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
25672         Check that shared futexes are supported.
25673         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
25674         wrappers with error checking.
25675         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
25676         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
25677         * nptl/pthread_barrierattr_setpshared.c
25678         (pthread_barrierattr_setpshared): Check that shared futexes are
25679         supported.
25680         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
25681         Likewise.
25682         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
25683         Likewise.
25684         * nptl/sem_init.c (futex_private_if_supported): Remove.
25685         (__new_sem_init): Adapt and check that shared futexes are supported.
25686         * nptl/sem_open.c (sem_open): Likewise.
25687         * nptl/sem_post.c (futex_wake): Remove.
25688         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
25689         (do_futex_wait): Use futex wrappers with error checking.
25690         * nptl/sem_wait.c: Include lowlevellock.h.
25691         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
25692         Use futex_supports_pshared.
25693         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
25694         Use futex wrappers with error checking.
25695         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
25696         Likewise.
25697         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
25698         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
25699         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
25700         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
25701         (futex_wake): Likewise.
25702         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
25703         (do_futex_wait): Use futex wrappers with error checking.
25704         (__new_sem_wait_slow): Update EINTR handling.
25705         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
25707 2015-07-09  Martin Sebor  <msebor@redhat.com>
25709         [BZ #18435]
25710         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
25711         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
25712         * nptl/Makefile (test-xfail-tst-once5): Define.
25714 2015-07-09  Roland McGrath  <roland@hack.frob.com>
25716         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
25717         * elf/dl-minimal.c: For readability, reorder some definitions and
25718         introduce more page breaks.  Include <stdio.h>.
25719         (__libc_fatal): New function.
25721         * include/unistd.h: Add rtld_hidden_proto for _exit.
25722         * posix/_exit.c: Add rtld_hidden_def.
25723         * sysdeps/mach/hurd/_exit.c: Likewise.
25724         * sysdeps/nacl/_exit.c: Likewise.
25725         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
25726         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
25728 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
25730         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
25731         bndmov encoding with zero displacement.
25733 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
25734             H.J. Lu  <hongjiu.lu@intel.com>
25736         [BZ #18134]
25737         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
25738         * sysdeps/i386/configure: Regenerated.
25739         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
25740         (_dl_runtime_profile): Save and restore Intel MPX return bound
25741         registers when calling _dl_call_pltexit.  Add
25742         PRESERVE_BND_REGS_PREFIX before return.
25743         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
25744         (LRV_BND1_OFFSET): Likewise.
25745         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
25746         lrv_bnd1.
25747         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
25748         typo in bndmov encoding.
25749         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
25750         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
25751         branch instructions to preserve bounds.
25753 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
25756         [GLIBC_2.22]: Add fmemopen.
25758 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25760         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
25761         returns an error, also try to use host port from __mach_host_self for
25762         the __vm_wire call.
25763         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
25765 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25767         [BZ #18400]
25768         [BZ #18648]
25769         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
25770         Fix pr_uid and pr_gid members.
25771         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
25772         definition to elf_greg_t.
25774 2015-07-08  Roland McGrath  <roland@hack.frob.com>
25776         [BZ #18383]
25777         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
25778         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
25779         * sysdeps/arm/configure: Regenerated.
25780         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
25781         (test-xfail-tst-tlsalign-static): Variable removed.
25783         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
25784         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
25785         rather than explicit 'ln -s'.
25787         * resolv/rpc/netdb.h: New file.
25788         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
25790 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25792         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
25793         length buffers.
25794         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
25795         test-skeleton.c.
25797         [BZ #6544]
25798         [BZ #11216]
25799         [BZ #12836]
25800         [BZ #13151]
25801         [BZ #13152]
25802         [BZ #14292]
25803         * include/stdio.h (fmemopen): Remove hidden prototype.
25804         (__fmemopen): Add new hidden prototype.
25805         * libio/Makefile: Add oldfmemopen object.
25806         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
25807         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
25808         compliance.
25809         * libio/oldfmemopen.c: New file: old fmemopen implementation for
25810         symbol compatibility.
25811         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
25812         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
25813         fmemopen.
25814         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
25815         on append and read mode.
25816         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
25817         fmemopen.
25818         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
25819         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
25820         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
25821         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
25822         Likewise.
25823         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
25824         [GLIBC_2.22]: Likewise.
25825         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
25826         Likewise.
25827         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
25828         Likewise.
25829         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
25830         [GLIBC_2.22]: Likewise.
25831         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
25832         [GLIBC_2.22]: Likewise.
25833         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
25834         [GLIBC_2.22]: Likewise.
25835         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
25836         [GLIBC_2.22]: Likewise.
25837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
25838         [GLIBC_2.22]: Likewise.
25839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
25840         [GLIBC_2.22]: Likewise.
25841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
25842         [GLIBC_2.22]: Likewise.
25843         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
25844         Likewise.
25845         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
25846         Likewise.
25847         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
25848         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
25849         [GLIBC_2.22]: Likewise.
25850         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
25851         [GLIBC_2.22]: Likewise.
25852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
25853         [GLIBC_2.22]: Likewise.
25854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
25855         [GLIBC_2.22]: Likewise.
25856         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
25857         Likewise.
25858         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
25859         Likewise.
25860         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
25861         Likewise.
25862         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
25863         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
25865 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
25867         [BZ #18643]
25868         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
25869         IPV6_PATHMTU, and IPV6_DONTFRAG.
25871 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
25873         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
25874         and _IO_UNBUFFERED.
25875         * libio/oldfileops.c: Likewise.
25876         * libio/wfileops.c: Likewise.
25878 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
25880         * nscd/selinux.c: Delete selinux/flask.h include.
25882 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
25884         [BZ #18641]
25885         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
25886         (putpwent): Likewise.
25887         (getpwnam): Likewise.
25888         (getpwent_r): Likewise.
25889         (getpwuid_r): Likewise.
25890         (getpwnam_r): Likewise.
25891         (fgetpwent_r): Likewise.
25893 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
25895         [BZ #18557]
25896         * inet/rcmd.c (__validuser2_sa): Check user first to
25897         short-circuit host check.
25899 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
25900             Mikhail Ilin  <m.ilin@samsung.com>
25902         [BZ #17833]
25903         * elf/Makefile (tests): Add tst-nodelete.
25904         (modules-names): Add tst-nodelete-uniquemod.
25905         (tst-nodelete-uniquemod.so-no-z-defs): New.
25906         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
25907         (tst-nodelete-zmod.so-no-z-defs): Likewise.
25908         ($(objpfx)tst-nodelete): Likewise.
25909         ($(objpfx)tst-nodelete.out): Likewise.
25910         (LDFLAGS-tst-nodelete): Likewise.
25911         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
25912         * elf/dl-close.c (_dl_close_worker): Add a parameter to
25913         implement forced object deletion.
25914         (_dl_close): Pass false to _dl_close_worker.
25915         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
25916         * elf/tst-nodelete.cc: New file.
25917         * elf/tst-nodeletelib.cc: Likewise.
25918         * elf/tst-znodeletelib.cc: Likewise.
25919         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
25921 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
25923         [BZ #18508]
25924         * stdlib/Makefile ($(objpfx)tst-makecontext3):
25925         Depend on $(libdl).
25926         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
25927         is not called infinitely times.
25928         (backtrace_helper): New function.
25929         (trace_arg): New struct.
25930         (st1): Enlarge stack size.
25931         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25932         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
25933         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25934         Likewise.
25936 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
25938         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25940 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
25942         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
25943         Include sys/types.h instead of bits/types.h.
25944         Remove inclusion of bits/wordsize.h.
25946 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
25948         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
25949         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
25950         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
25951         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
25952         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
25953         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
25955 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
25957         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
25958         link-defines.sym.
25959         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
25960         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
25961         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
25962         and LR_SIZE.
25963         * sysdeps/i386/link-defines.sym: New file.
25965 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
25967         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
25968         (modules-names): Add tst-auditmod3a tst-auditmod3b.
25969         ($(objpfx)tst-audit3): New rule.
25970         ($(objpfx)tst-audit3.out): Likewise.
25971         * sysdeps/i386/tst-audit3.c: New file.
25972         * sysdeps/i386/tst-audit3.h: Likewise.
25973         * sysdeps/i386/tst-auditmod3a.c: Likewise.
25974         * sysdeps/i386/tst-auditmod3b.c: Likewise.
25976 2015-07-07  Torvald Riegel  <triegel@redhat.com>
25978         [BZ #18633]
25979         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
25980         pointer in C code.
25981         (__strcat_c): Likewise.
25982         (__strcat_g): Likewise.
25984 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
25986         [BZ #18592]
25987         * misc/sbrk.c: Set errno to ENOMEM on overflow.
25989 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
25991         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
25992         New function.  (__ieee754_sqrtf): New function.
25993         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
25994         New function.
25995         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
25996         New function.
25998 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
26000         * sysdeps/ieee754/support.c: Remove unused file.
26002 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26004         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
26005         registers instead of d ones so the layout is kernel abi compatible.
26006         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
26007         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
26008         Likewise.
26010 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26012         * sysdeps/aarch64/libm-test-ulps: Regenerated.
26014 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
26016         [BZ #18619]
26017         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
26018         and return argument in case of subnormal argument.
26020 2015-07-01  Martin Sebor  <msebor@redhat.com>
26022         [BZ #18435]
26023         * nptl/Makefile: Add tst-once5.cc.
26024         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
26025         Remove macro redefinitions.
26026         * nptl/tst-once5.cc: New test.
26028 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
26030         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26032         * sysdeps/arm/libm-test-ulps: Regenerated.
26034         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
26035         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26037 2015-06-30  Torvald Riegel  <triegel@redhat.com>
26039         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
26040         lll_lock_wait_private and lll_futex_wake probes.
26042         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
26043         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
26044         Likewise.
26045         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
26046         atomic_spin_nop.
26047         * sysdeps/x86_64/bits/atomic.h: Likewise.
26048         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
26049         to atomic_spin_nop and move ...
26050         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
26051         ... here and ...
26052         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
26053         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
26054         atomic_spin_nop instead of BUSY_WAIT_NOP.
26055         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
26056         Likewise.
26057         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
26058         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
26059         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
26060         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
26061         instead of atomic_delay.
26063 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
26065         [BZ #18613]
26066         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
26067         X_ADJ not X when adjusting exponent.
26068         (__ieee754_gamma_r): Do intermediate computations in
26069         round-to-nearest then adjust overflowing and underflowing results
26070         as needed.
26071         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
26072         of X_ADJ not X when adjusting exponent.
26073         (__ieee754_gammaf_r): Do intermediate computations in
26074         round-to-nearest then adjust overflowing and underflowing results
26075         as needed.
26076         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
26077         log of X_ADJ not X when adjusting exponent.
26078         (__ieee754_gammal_r): Do intermediate computations in
26079         round-to-nearest then adjust overflowing and underflowing results
26080         as needed.  Use 1.0L not 1.0f as numerator of division.
26081         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
26082         log of X_ADJ not X when adjusting exponent.
26083         (__ieee754_gammal_r): Do intermediate computations in
26084         round-to-nearest then adjust overflowing and underflowing results
26085         as needed.  Use 1.0L not 1.0f as numerator of division.
26086         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
26087         of X_ADJ not X when adjusting exponent.
26088         (__ieee754_gammal_r): Do intermediate computations in
26089         round-to-nearest then adjust overflowing and underflowing results
26090         as needed.  Use 1.0L not 1.0f as numerator of division.
26091         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
26092         to auto-libm-test-in.
26093         (tgamma_test): Use ALL_RM_TEST.
26094         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
26095         tests of tgamma with spurious-overflow.
26096         * math/auto-libm-test-out: Regenerated.
26097         * math/gen-libm-have-vector-test.sh: Do not check for START.
26098         * sysdeps/i386/fpu/libm-test-ulps: Update.
26099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26101         [BZ #18612]
26102         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
26103         arguments, just return 0.5 times the argument, with underflow
26104         forced as needed.
26105         * math/auto-libm-test-in: Add more tests of j1.
26106         * math/auto-libm-test-out: Regenerated.
26108         [BZ #16559]
26109         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
26110         (__ieee754_j1): Force underflow exception for small results.
26111         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
26112         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
26113         (__ieee754_j1f): Force underflow exception for small results.
26114         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
26115         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
26116         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26117         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
26118         (__ieee754_j1l): Force underflow exception for small results.
26119         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
26120         * math/auto-libm-test-in: Add more tests of j1 and jn.
26121         * math/auto-libm-test-out: Regenerated.
26123         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
26124         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
26125         (PF_MPLS): Likewise.
26126         (AF_IB): Likewise.
26127         (AF_MPLS): Likewise.
26128         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
26129         value and macro.
26130         (MS_RMT_MASK): Include MS_LAZYTIME.
26132 2015-06-26  Mel Gorman  <mgorman@suse.de>
26134         [BZ #18502]
26135         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
26136         already minimal.
26138 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
26140         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
26141         (DT_MIPS_NUM): Update.
26142         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
26143         DT_MIPS_RLD_MAP_REL.
26145 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
26147         [BZ #16559]
26148         [BZ #18602]
26149         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
26150         round-to-nearest internally then recompute results that
26151         underflowed to zero in the original rounding mode.
26152         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
26153         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
26154         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26155         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
26156         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
26157         * sysdeps/i386/fpu/libm-test-ulps: Update.
26158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26160 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
26162         * NEWS: Fixed description of link with vector math library.
26164 2015-06-25  Andreas Schwab  <schwab@suse.de>
26166         [BZ #18549]
26167         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
26168         * libio/test-fmemopen.c (do_test): Add test for it.
26170 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
26172         [BZ #17841]
26173         * Makeconfig (no-pie-ldflag): New.
26174         (+link): Set to $(+link-pie) if default to PIE.
26175         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
26176         * config.make.in (build-pie-default): New.
26177         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
26178         is default.  AC_SUBST.
26179         * configure: Regenerated.
26180         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
26182 2015-06-24  Roland McGrath  <roland@hack.frob.com>
26184         * nptl/descr.h (struct pthread): Change type of field setxid_futex
26185         to 'unsigned int'.
26187         * resolv/gai_misc.h (struct waitlist): Change type of field
26188         counterp to 'volatile unsigned int *'.
26189         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
26190         FUTEXADDR and OLDVAL.
26191         * resolv/getaddrinfo_a.c (getaddrinfo_a):
26192         Give local variable TOTAL type 'volatile unsigned int'.
26193         (struct async_waitlist): Change type of field counter to 'unsigned int'.
26194         * resolv/gai_suspend.c (gai_suspend):
26195         Give local variable CNTR type 'unsigned int'.
26197         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
26198         counterp to 'volatile unsigned int *'.
26199         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
26200         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
26201         (aio_suspend): Give local variable CNTR type 'unsigned int'.
26202         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
26203         Give local variable TOTAL type 'volatile unsigned int'.
26204         (struct async_waitlist): Change type of field counter to 'unsigned int'.
26206 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
26208         [BZ #18383]
26209         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
26210         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
26211         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
26212         comment for i386/x86-64.
26213         (test-xfail-tst-tlsalign-extern-static): Removed.
26215 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
26217         * math/test-double.h: New file.
26218         * math/test-float.h: Likewise.
26219         * math/test-ldouble.h: Likewise.
26220         * math/test-math-inline.h: Likewise.
26221         * math/test-math-no-inline.h: Likewise.
26222         * math/test-math-scalar.h: Likewise.
26223         * math/test-math-vector.h: Likewise.
26224         * math/test-vec-loop.h: Remove file.  Contents moved into
26225         test-math-vector.h.
26226         * math/libm-test.inc (MATHCONST): Do not document macro.
26227         * math/test-double.c: Include test-double.h, test-math-no-inline.h
26228         and test-math-scalar.h.
26229         (FUNC): Remove macro.
26230         (FUNC_TEST): Likewise.
26231         (FLOAT): Likewise.
26232         (MATHCONST): Likewise.
26233         (PRINTF_EXPR): Likewise.
26234         (PRINTF_XEXPR): Likewise.
26235         (PRINTF_NEXPR): Likewise.
26236         (TEST_DOUBLE): Likewise.
26237         (TEST_MATHVEC): Likewise.
26238         (__NO_MATH_INLINES): Likewise.
26239         * math/test-float.c: Include test-float.h, test-math-no-inline.h
26240         and test-math-scalar.h.
26241         (FUNC): Remove macro.
26242         (FUNC_TEST): Likewise.
26243         (FLOAT): Likewise.
26244         (MATHCONST): Likewise.
26245         (PRINTF_EXPR): Likewise.
26246         (PRINTF_XEXPR): Likewise.
26247         (PRINTF_NEXPR): Likewise.
26248         (TEST_FLOAT): Likewise.
26249         (TEST_MATHVEC): Likewise.
26250         (__NO_MATH_INLINES): Likewise.
26251         * math/test-idouble.c: Include test-double.h, test-math-inline.h
26252         and test-math-scalar.h.
26253         (FUNC): Remove macro.
26254         (FUNC_TEST): Likewise.
26255         (FLOAT): Likewise.
26256         (MATHCONST): Likewise.
26257         (PRINTF_EXPR): Likewise.
26258         (PRINTF_XEXPR): Likewise.
26259         (PRINTF_NEXPR): Likewise.
26260         (TEST_DOUBLE): Likewise.
26261         (TEST_MATHVEC): Likewise.
26262         (TEST_INLINE): Likewise.
26263         (__NO_MATH_INLINES): Likewise.
26264         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
26265         test-math-scalar.h.
26266         (FUNC): Remove macro.
26267         (FUNC_TEST): Likewise.
26268         (FLOAT): Likewise.
26269         (MATHCONST): Likewise.
26270         (PRINTF_EXPR): Likewise.
26271         (PRINTF_XEXPR): Likewise.
26272         (PRINTF_NEXPR): Likewise.
26273         (TEST_FLOAT): Likewise.
26274         (TEST_MATHVEC): Likewise.
26275         (TEST_INLINE): Likewise.
26276         (__NO_MATH_INLINES): Likewise.
26277         * math/test-ildoubl.c: Include test-ldouble.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_LDOUBLE): Likewise.
26287         (TEST_MATHVEC): Likewise.
26288         (TEST_INLINE): Likewise.
26289         (__NO_MATH_INLINES): Likewise.
26290         * math/test-ldouble.c: Include test-ldouble.h,
26291         test-math-no-inline.h and 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_LDOUBLE): Likewise.
26300         (TEST_MATHVEC): Likewise.
26301         (__NO_MATH_INLINES): Likewise.
26302         * math/test-double-vlen2.h: Include test-double.h,
26303         test-math-no-inline.h and test-math-vector.h.
26304         (FLOAT): Remove macro.
26305         (FUNC): Likewise.
26306         (MATHCONST): Likewise.
26307         (PRINTF_EXPR): Likewise.
26308         (PRINTF_XEXPR): Likewise.
26309         (PRINTF_NEXPR): Likewise.
26310         (TEST_DOUBLE): Likewise.
26311         (TEST_MATHVEC): Likewise.
26312         (__NO_MATH_INLINES): Likewise.
26313         (CNCT): Likewise.
26314         (CONCAT): Likewise.
26315         (WRAPPER_NAME): Likewise.
26316         (WRAPPER_DECL): Likewise.
26317         (WRAPPER_DECL_ff): Likewise.
26318         (WRAPPER_DECL_fFF): Likewise.
26319         (VECTOR_WRAPPER): Likewise.
26320         (VECTOR_WRAPPER_ff): Likewise.
26321         (VECTOR_WRAPPER_fFF): Likewise.
26322         (VEC_LEN): New macro.
26323         * math/test-double-vlen4.h: Include test-double.h,
26324         test-math-no-inline.h and test-math-vector.h.
26325         (FLOAT): Remove macro.
26326         (FUNC): Likewise.
26327         (MATHCONST): Likewise.
26328         (PRINTF_EXPR): Likewise.
26329         (PRINTF_XEXPR): Likewise.
26330         (PRINTF_NEXPR): Likewise.
26331         (TEST_DOUBLE): Likewise.
26332         (TEST_MATHVEC): Likewise.
26333         (__NO_MATH_INLINES): Likewise.
26334         (CNCT): Likewise.
26335         (CONCAT): Likewise.
26336         (WRAPPER_NAME): Likewise.
26337         (WRAPPER_DECL): Likewise.
26338         (WRAPPER_DECL_ff): Likewise.
26339         (WRAPPER_DECL_fFF): Likewise.
26340         (VECTOR_WRAPPER): Likewise.
26341         (VECTOR_WRAPPER_ff): Likewise.
26342         (VECTOR_WRAPPER_fFF): Likewise.
26343         (VEC_LEN): New macro.
26344         * math/test-double-vlen8.h: Include test-double.h,
26345         test-math-no-inline.h and test-math-vector.h.
26346         (FLOAT): Remove macro.
26347         (FUNC): Likewise.
26348         (MATHCONST): Likewise.
26349         (PRINTF_EXPR): Likewise.
26350         (PRINTF_XEXPR): Likewise.
26351         (PRINTF_NEXPR): Likewise.
26352         (TEST_DOUBLE): Likewise.
26353         (TEST_MATHVEC): Likewise.
26354         (__NO_MATH_INLINES): Likewise.
26355         (CNCT): Likewise.
26356         (CONCAT): Likewise.
26357         (WRAPPER_NAME): Likewise.
26358         (WRAPPER_DECL): Likewise.
26359         (WRAPPER_DECL_ff): Likewise.
26360         (WRAPPER_DECL_fFF): Likewise.
26361         (VECTOR_WRAPPER): Likewise.
26362         (VECTOR_WRAPPER_ff): Likewise.
26363         (VECTOR_WRAPPER_fFF): Likewise.
26364         (VEC_LEN): New macro.
26365         * math/test-float-vlen4.h: Include test-float.h,
26366         test-math-no-inline.h and test-math-vector.h.
26367         (FLOAT): Remove macro.
26368         (FUNC): Likewise.
26369         (MATHCONST): Likewise.
26370         (PRINTF_EXPR): Likewise.
26371         (PRINTF_XEXPR): Likewise.
26372         (PRINTF_NEXPR): Likewise.
26373         (TEST_FLOAT): Likewise.
26374         (TEST_MATHVEC): Likewise.
26375         (__NO_MATH_INLINES): Likewise.
26376         (CNCT): Likewise.
26377         (CONCAT): Likewise.
26378         (WRAPPER_NAME): Likewise.
26379         (WRAPPER_DECL): Likewise.
26380         (WRAPPER_DECL_ff): Likewise.
26381         (WRAPPER_DECL_fFF): Likewise.
26382         (VECTOR_WRAPPER): Likewise.
26383         (VECTOR_WRAPPER_ff): Likewise.
26384         (VECTOR_WRAPPER_fFF): Likewise.
26385         (VEC_LEN): New macro.
26386         * math/test-float-vlen8.h: Include test-float.h,
26387         test-math-no-inline.h and test-math-vector.h.
26388         (FLOAT): Remove macro.
26389         (FUNC): Likewise.
26390         (MATHCONST): Likewise.
26391         (PRINTF_EXPR): Likewise.
26392         (PRINTF_XEXPR): Likewise.
26393         (PRINTF_NEXPR): Likewise.
26394         (TEST_FLOAT): Likewise.
26395         (TEST_MATHVEC): Likewise.
26396         (__NO_MATH_INLINES): Likewise.
26397         (CNCT): Likewise.
26398         (CONCAT): Likewise.
26399         (WRAPPER_NAME): Likewise.
26400         (WRAPPER_DECL): Likewise.
26401         (WRAPPER_DECL_ff): Likewise.
26402         (WRAPPER_DECL_fFF): Likewise.
26403         (VECTOR_WRAPPER): Likewise.
26404         (VECTOR_WRAPPER_ff): Likewise.
26405         (VECTOR_WRAPPER_fFF): Likewise.
26406         (VEC_LEN): New macro.
26407         * math/test-float-vlen16.h: Include test-float.h,
26408         test-math-no-inline.h and test-math-vector.h.
26409         (FLOAT): Remove macro.
26410         (FUNC): Likewise.
26411         (MATHCONST): Likewise.
26412         (PRINTF_EXPR): Likewise.
26413         (PRINTF_XEXPR): Likewise.
26414         (PRINTF_NEXPR): Likewise.
26415         (TEST_FLOAT): Likewise.
26416         (TEST_MATHVEC): Likewise.
26417         (__NO_MATH_INLINES): Likewise.
26418         (CNCT): Likewise.
26419         (CONCAT): Likewise.
26420         (WRAPPER_NAME): Likewise.
26421         (WRAPPER_DECL): Likewise.
26422         (WRAPPER_DECL_ff): Likewise.
26423         (WRAPPER_DECL_fFF): Likewise.
26424         (VECTOR_WRAPPER): Likewise.
26425         (VECTOR_WRAPPER_ff): Likewise.
26426         (VECTOR_WRAPPER_fFF): Likewise.
26427         (VEC_LEN): New macro.
26428         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
26429         test-vec-loop.h.
26430         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26431         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26432         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26433         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26434         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26435         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26436         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
26438 2015-06-24  Roland McGrath  <roland@hack.frob.com>
26440         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
26441         (__getlogin_r): ... this.
26443 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
26445         [BZ #18594]
26446         * math/s_ccosh.c (__ccosh): Compare with least normal value
26447         instead of comparing class with FP_SUBNORMAL.
26448         * math/s_ccoshf.c (__ccoshf): Likewise.
26449         * math/s_ccoshl.c (__ccoshl): Likewise.
26450         * math/s_cexp.c (__cexp): Likewise.
26451         * math/s_cexpf.c (__cexpf): Likewise.
26452         * math/s_cexpl.c (__cexpl): Likewise.
26453         * math/s_csin.c (__csin): Likewise.
26454         * math/s_csinf.c (__csinf): Likewise.
26455         * math/s_csinh.c (__csinh): Likewise.
26456         * math/s_csinhf.c (__csinhf): Likewise.
26457         * math/s_csinhl.c (__csinhl): Likewise.
26458         * math/s_csinl.c (__csinl): Likewise.
26459         * math/s_ctan.c (__ctan): Likewise.
26460         * math/s_ctanf.c (__ctanf): Likewise.
26461         * math/s_ctanh.c (__ctanh): Likewise.
26462         * math/s_ctanhf.c (__ctanhf): Likewise.
26463         * math/s_ctanhl.c (__ctanhl): Likewise.
26464         * math/s_ctanl.c (__ctanl): Likewise.
26465         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
26466         csin, csinh, ctan and ctanh.
26467         * math/auto-libm-test-out: Regenerated.
26468         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
26469         * sysdeps/i386/fpu/libm-test-ulps: Update.
26470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26472 2015-06-24  Roland McGrath  <roland@hack.frob.com>
26474         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
26475         return value is wrong, print the expected value too.
26477 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
26479         [BZ #18585]
26480         * elf/readlib.c (is_gdb_python_file): New.
26481         (process_file): Don't issue errors on filenames with -gdb.py
26482         suffix.
26484 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
26486         * math/auto-libm-test-in: Add more tests of csin and csinh.
26487         * math/auto-libm-test-out: Regenerated.
26488         * math/libm-test.inc (csin_test_data): Remove tests moved to
26489         auto-libm-test-in.
26490         (csinh_test_data): Likewise.
26492         [BZ #18593]
26493         * math/s_csin.c (__csin): Negate before rather than after possibly
26494         overflowing multiplication.
26495         * math/s_csinf.c (__csinf): Likewise.
26496         * math/s_csinh.c (__csinh): Likewise.
26497         * math/s_csinhf.c (__csinhf): Likewise.
26498         * math/s_csinhl.c (__csinhl): Likewise.
26499         * math/s_csinl.c (__csinl): Likewise.
26500         * math/auto-libm-test-in: Add some tests of csin and csinh.
26501         * math/auto-libm-test-out: Regenerated.
26502         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
26503         (csinh_test_data): Likewise.
26504         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26506         [BZ #18586]
26507         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
26508         underflow exception for small results.
26510 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
26512         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
26513         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
26514         variable and included header.
26515         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
26516         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
26517         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
26518         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
26519         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
26520         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
26521         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
26522         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
26523         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
26524         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
26525         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
26526         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
26527         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
26528         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
26529         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
26530         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
26532 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
26534         [BZ #16526]
26535         [BZ #16538]
26536         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
26537         (__sin): Force underflow exception for arguments with small
26538         absolute value.
26539         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
26540         (__kernel_sinf): Force underflow exception for arguments with
26541         small absolute value.
26542         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
26543         (__kernel_sincosl): Force underflow exception for arguments with
26544         small absolute value.
26545         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
26546         (__kernel_sinl): Force underflow exception for arguments with
26547         small absolute value.
26548         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
26549         (__kernel_sincosl): Force underflow exception for arguments with
26550         small absolute value.
26551         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
26552         (__kernel_sinl): Force underflow exception for arguments with
26553         small absolute value.
26554         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
26555         (__kernel_sinl): Force underflow exception for arguments with
26556         small absolute value.
26557         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
26558         (__kernel_sinf): Force underflow exception for arguments with
26559         small absolute value.
26560         * math/auto-libm-test-in: Add more tests of sin and sincos.
26561         * math/auto-libm-test-out: Regenerated.
26563         [BZ #18245]
26564         [BZ #18583]
26565         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
26566         (__kernel_standard_l): Use feholdexcept and fesetenv around
26567         conversion to double instead of special-casing overflow and
26568         underflow.
26569         * math/libm-test.inc (fmod_test_data): Add more tests.
26570         (remainder_test_data): Likewise.
26571         (sqrt_test_data): Likewise.
26573 2015-06-23  Torvald Riegel  <triegel@redhat.com>
26575         [BZ #17403]
26576         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
26577         atomic_read_barrier, atomic_write_barrier): Define.
26578         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
26579         atomic_read_barrier, atomic_write_barrier): Define.
26581 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
26583         * math/Makefile [$(PERL) != no]
26584         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
26585         dependency on libm-test.stmp below the inclusion of Rules.
26587 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
26589         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
26590         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
26591         and included header.
26592         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
26593         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
26594         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
26595         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
26596         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
26597         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
26598         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
26599         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
26600         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
26601         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
26602         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
26603         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
26604         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
26605         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
26606         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
26607         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
26608         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
26609         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
26610         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
26612 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
26614         [BZ #18371]
26615         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
26616         intermediate but not final result might underflow.
26617         * math/s_csqrtf.c (__csqrtf): Likewise.
26618         * math/s_csqrtl.c (__csqrtl): Likewise.
26619         * math/auto-libm-test-in: Add more tests of csqrt.
26620         * math/auto-libm-test-out: Regenerated.
26621         * sysdeps/i386/fpu/libm-test-ulps: Update.
26623         [BZ #18219]
26624         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
26625         threshold on absolute value of exponent for which scaling is used.
26626         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
26627         * math/auto-libm-test-in: Add more tests of exp2.
26628         * math/auto-libm-test-out: Regenerated.
26630 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
26632         [BZ #17977]
26633         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
26634         when initializing interface list, based on the bug analysis
26635         and the patch proposed by Eric Newton.
26636         * resolv/tst-res_hconf_reorder.c: New test.
26637         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
26638         tst-res_hconf_reorder.
26639         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
26640         and $(shared-thread-library).
26641         (tst-res_hconf_reorder-ENV): New variable.
26643         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
26644         in comment.
26646 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
26648         [BZ #16353]
26649         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
26650         (__expm1): Force underflow exception for arguments with small
26651         absolute value.
26652         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
26653         (__expm1f): Force underflow exception for arguments with small
26654         absolute value.
26655         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
26656         (__expm1): Force underflow exception for arguments with small
26657         absolute value.
26658         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
26659         (__expm1f): Force underflow exception for arguments with small
26660         absolute value.
26661         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26662         Check for small arguments before calling __expm1.
26663         * math/auto-libm-test-in: Do not mark underflow exceptions as
26664         possibly missing for bug 16353.
26665         * math/auto-libm-test-out: Regenerated.
26667 2015-06-22  Andreas Schwab  <schwab@suse.de>
26669         [BZ #18513]
26670         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
26671         PTR queries.
26673 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
26675         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
26677         * string/strcoll_l.c: Remove unused struct element idxnow.
26679 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
26681         [BZ #18569]
26682         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
26683         underflow and return argument in case of subnormal argument.
26684         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26685         Likewise.
26686         * math/auto-libm-test-in: Add more tests of expm1.
26687         * math/auto-libm-test-out: Regenerated.
26689         [BZ #16361]
26690         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
26691         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
26692         tiny results.
26693         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
26694         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
26695         tiny results.
26696         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
26697         mark underflow exceptions as possibly missing for bug 16361.
26698         * math/auto-libm-test-out: Regenerated.
26700 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
26702         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
26703         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
26704         Remove variable.
26705         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
26706         (test-xfail-XOPEN2K8/utmpx.h/conform).
26708         * conform/conformtest.pl ($xerrors): New variable.
26709         (note_error): New function.
26710         (compiletest): New argument $xfail.  Use not_error.
26711         (runtest): Likewise.
26712         (top level): Handle xfail- lines.  Update calls to compiletest and
26713         runtest.  Handle xfail- and optional- in headers listed with
26714         allow-header.
26715         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
26716         (O_EXEC): Likewise.
26717         (O_SEARCH): Likewise.
26718         * conform/data/stropts.h-data (ioctl): Likewise.
26719         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
26720         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
26721         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
26722         (msghdr.msg_controllen): Likewise.
26723         (cmsghdr.cmsg_len): Likewise.
26724         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
26725         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
26726         variable.
26727         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
26728         (test-xfail-XPG4/stropts.h/conform): Likewise.
26729         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
26730         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
26731         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
26732         (test-xfail-UNIX98/stropts.h/conform): Likewise.
26733         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
26734         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
26735         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
26736         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
26737         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
26738         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
26739         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
26740         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
26741         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
26742         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
26743         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
26744         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
26745         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
26746         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
26747         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
26749 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
26751         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
26752         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
26753         definitions for proper unfolding of __MATHDECL_VEC.
26755 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
26757         * benchtests/bench-strcoll.c:
26758         Include string.h.
26759         (main): Remove unused variable res.
26761 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
26763         * timezone/Makefile (%/UTC %/Universal):
26764         Generate test-result files for UTC and Universal.
26766 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
26768         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26770 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
26772         [BZ #16350]
26773         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
26774         for arguments with small absolute value.
26775         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
26776         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
26777         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
26778         (__asinh): Force underflow exception for arguments with small
26779         absolute value.
26780         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
26781         (__asinhf): Force underflow exception for arguments with small
26782         absolute value.
26783         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
26784         (__asinhl): Force underflow exception for arguments with small
26785         absolute value.
26786         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
26787         (__asinhl): Force underflow exception for arguments with small
26788         absolute value.
26789         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
26790         (__asinhl): Force underflow exception for arguments with small
26791         absolute value.
26792         * math/auto-libm-test-in: Do not mark underflow exceptions as
26793         possibly missing for bug 16350.
26794         * math/auto-libm-test-out: Regenerated.
26796         * include/bits/ipc.h: Remove file.
26797         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
26798         variable.
26799         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
26800         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
26801         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
26802         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
26803         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
26804         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
26805         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
26806         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
26807         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
26809         * math/auto-libm-test-in: Remove spurious underflow allowance for
26810         tests of cexp.
26811         * math/auto-libm-test-out: Regenerated.
26813         [BZ #18558]
26814         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
26815         unconditional definition.
26816         (MCAST_BLOCK_SOURCE): Likewise.
26817         (MCAST_UNBLOCK_SOURCE): Likewise.
26818         (MCAST_LEAVE_GROUP): Likewise.
26819         (MCAST_JOIN_SOURCE_GROUP): Likewise.
26820         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
26821         (MCAST_MSFILTER): Likewise.
26822         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
26823         Remove variable.
26824         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
26825         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
26826         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
26827         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
26828         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
26830 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
26832         * NEWS: Mention addition of x86_64 vector sincosf.
26833         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
26834         * math/test-float-vlen4.h: Likewise.
26835         * math/test-float-vlen8.h: Likewise.
26836         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26837         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
26838         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26839         * sysdeps/x86_64/fpu/Versions: New versions added.
26840         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26841         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26842         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26843         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
26844         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
26845         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
26846         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
26847         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
26848         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
26849         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
26850         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
26851         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
26852         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
26853         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
26854         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
26855         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
26856         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
26857         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
26858         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26859         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26860         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26861         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26862         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26863         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26865         * NEWS: Mention addition of x86_64 vector sincos.
26866         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
26867         * math/math.h (__MATHDECL_VEC): New macro.
26868         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
26869         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
26870         declaration under condition.
26871         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
26872         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
26873         TEST_VEC_LOOP change.
26874         * math/test-double-vlen4.h: Likewise.
26875         * math/test-double-vlen8.h: Likewise.
26876         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
26877         * math/test-float-vlen4.h: Likewise.
26878         * math/test-float-vlen8.h: Likewise.
26879         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26880         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
26881         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26882         * sysdeps/x86_64/fpu/Versions: New versions added.
26883         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26884         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26885         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26886         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
26887         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
26888         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
26889         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
26890         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
26891         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
26892         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
26893         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
26894         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
26895         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
26896         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
26897         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
26898         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
26899         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
26900         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
26901         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26902         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
26903         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26904         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26905         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26906         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
26908         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26909         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26910         redirections for powf.
26911         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26912         * sysdeps/x86_64/fpu/Versions: New versions added.
26913         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26914         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26915         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26916         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
26917         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
26918         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
26919         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
26920         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
26921         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
26922         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
26923         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
26924         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
26925         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
26926         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
26927         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
26928         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
26929         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
26930         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
26931         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26932         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26933         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26934         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26935         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26936         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26937         * math/test-float-vlen16.h: Fixed 2 argument macro.
26938         * math/test-float-vlen4.h: Likewise.
26939         * math/test-float-vlen8.h: Likewise.
26940         * NEWS: Mention addition of x86_64 vector powf.
26942 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
26944         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26945         and redefine.
26946         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26947         and redefine.
26948         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
26949         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26950         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26952         [BZ #18553]
26953         * resource/getpriority.c (getpriority): Rename to __getpriority
26954         and define as weak alias of __getpriority.
26955         * resource/setpriority.c (setpriority): Rename to __setpriority
26956         and define as weak alias of __setpriority.
26957         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
26958         __getpriority and define as weak alias of __getpriority.
26959         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
26960         __setpriority and define as weak alias of __setpriority.
26961         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
26962         strong name.
26963         (setpriority): Use __setpriority as strong name.
26964         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
26965         __getpriority and define as weak alias of __getpriority.
26966         * include/sys/resource.h (__getpriority): Declare.  Use
26967         libc_hidden_proto.
26968         (__setpriority): Likewise.
26969         (getpriority): Don't use libc_hidden_proto.
26970         (setpriority): Likewise.
26971         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
26972         getpriority.  Call __setpriority instead of setpriority.
26973         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
26974         Remove variable.
26976         [BZ #18547]
26977         * misc/getttyent.c (getttynam): Rename to __getttynam and define
26978         as weak alias of __getttynam.  Use prototype function definition.
26979         Call __setttyent, __getttyent and __endttyent instead of
26980         setttyent, getttyent and endttyent.
26981         (getttyent): Rename to __getttyent and define as weak alias of
26982         __getttyent.  Call __setttyent instead of setttyent.  Call
26983         __fgets_unlocked instead of fgets_unlocked.
26984         (setttyent): Rename to __setttyent and define as weak alias of
26985         __setttyent.
26986         (endttyent): Rename to __endttyent and define as weak alias of
26987         __endttyent.
26988         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
26989         (__setttyent): Likewise.
26990         (__endttyent): Likewise.
26991         (getttyent): Don't use libc_hidden_proto.
26992         (setttyent): Likewise.
26993         (endttyent): Likewise.
26994         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
26995         __endttyent instead of setttyent, getttyent and endttyent.
26996         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
26997         Remove variable.
26999         [BZ #18546]
27000         * socket/recv.c (__recv): Use libc_hidden_def.
27001         * socket/socket.c (__socket): Likewise.
27002         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
27003         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
27004         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
27005         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
27006         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
27007         libc_hidden_def.
27008         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
27009         libc_hidden_weak.
27010         * include/sys/socket.h (__socket): Do not use attribute_hidden.
27011         Use libc_hidden_proto.
27012         (__recv): Likewise.
27013         * socket/Versions (libc): Export __recv and __socket at version
27014         GLIBC_PRIVATE.
27015         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
27016         instead of recv.
27017         (init_mq_netlink): Call __socket instead of socket.
27018         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
27019         Remove variable.
27021         [BZ #18545]
27022         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
27023         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
27024         hidden_weak.
27025         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
27026         define as alias of __mq_timedsend.  Use hidden_weak.
27027         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
27028         __mq_timedsend as strong name.
27029         (mq_timedreceive): Use __mq_timedreceive as strong name.
27030         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
27031         (__mq_timedreceive): Likewise.
27032         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
27033         __mq_timedreceive instead of mq_timedreceive.
27034         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
27035         instead of mq_timedsend.
27036         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
27037         Remove variable.
27039         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
27040         hidden_def and hidden_weak instead of libc_hidden_def and
27041         libc_hidden_weak.
27042         (top level): Refer to hidden_def in comment.
27043         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
27044         macro.  Use it instead of libc_hidden_def.
27045         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
27046         specify __GI_* name explicitly.
27047         (mq_timedreceive): Likewise.
27048         (mq_setattr): Likewise.
27050         [BZ #18544]
27051         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
27052         __pthread_barrier_init and define as weak alias of
27053         __pthread_barrier_init.
27054         * sysdeps/sparc/nptl/pthread_barrier_init.c
27055         (pthread_barrier_init): Likewise.
27056         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
27057         __pthread_barrier_wait and define as weak alias of
27058         __pthread_barrier_wait.
27059         * sysdeps/sparc/nptl/pthread_barrier_wait.c
27060         (pthread_barrier_wait): Likewise.
27061         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
27062         (pthread_barrier_wait): Likewise.
27063         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
27064         (pthread_barrier_wait): Likewise.
27065         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
27066         (pthread_barrier_wait): Likewise.
27067         * nptl/Versions (libpthread): Export __pthread_barrier_init and
27068         __pthread_barrier_wait at version GLIBC_PRIVATE.
27069         * include/pthread.h (__pthread_barrier_init): Declare.
27070         (__pthread_barrier_wait): Likewise.
27071         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
27072         Call __pthread_barrier_wait instead of pthread_barrier_wait.
27073         (helper_thread): Likewise.
27074         (init_mq_netlink): Call __pthread_barrier_init instead of
27075         pthread_barrier_init.
27077         [BZ #18542]
27078         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
27079         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
27080         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
27081         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
27082         vswscanf.
27083         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
27084         Remove variable.
27086         [BZ #18540]
27087         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
27088         strong alias of _IO_fflush.  Use libc_hidden_def.
27089         * libio/iofflush_u.c (fflush_unlocked): Rename to
27090         __fflush_unlocked and define as weak alias of __fflush_unlocked.
27091         Use libc_hidden_weak.
27092         * include/stdio.h (__fflush_unlocked): Declare.  Use
27093         libc_hidden_proto.
27094         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
27095         fflush_unlocked.
27096         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
27097         Remove variable.
27099         [BZ #18539]
27100         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
27101         define as weak alias of __addseverity.
27102         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
27103         Remove variable.
27104         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
27105         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
27106         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
27108         [BZ #18536]
27109         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
27110         (__tfind): Likewise.
27111         (__tdelete): Likewise.
27112         (__twalk): Likewise.
27113         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
27114         __twalk to GLIBC_PRIVATE.
27115         * include/search.h (__tsearch): Use libc_hidden_proto.
27116         (__tfind): Likewise.
27117         (__tdelete): Likewise.
27118         (__twalk): Likewise.
27119         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
27120         Call __tdelete instead of tdelete.
27121         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
27122         tfind.  Call __tsearch instead of tsearch.
27123         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
27124         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
27125         Remove variable.
27126         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
27128         [BZ #18534]
27129         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
27130         (dprintf): Define as a weak alias of __dprintf, not a strong
27131         alias.
27132         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
27133         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
27134         dprintf.
27135         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
27136         Remove variable.
27137         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
27138         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
27140         [BZ #18533]
27141         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
27142         not a strong alias.
27143         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
27144         Remove variable.
27146         [BZ #18532]
27147         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
27148         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
27149         (in6addr_loopback): Rename to __in6addr_loopback and define as
27150         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
27151         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
27152         libc_hidden_proto.
27153         (__in6addr_any): Likewise.
27154         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
27155         in6addr_any.
27156         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
27157         variable.
27158         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
27160 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
27162         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
27163         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
27164         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27165         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27166         redirections for pow.
27167         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27168         * sysdeps/x86_64/fpu/Versions: New versions added.
27169         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27170         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27171         build of SSE, AVX2 and AVX512 IFUNC versions.
27172         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
27173         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
27174         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
27175         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
27176         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
27177         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
27178         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
27179         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
27180         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
27181         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
27182         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
27183         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
27184         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
27185         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
27186         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27187         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27188         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27189         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27190         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27191         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27192         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27193         * NEWS: Mention addition of x86_64 vector pow.
27195         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27196         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27197         redirections for expf.
27198         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27199         * sysdeps/x86_64/fpu/Versions: New versions added.
27200         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27201         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27202         build of SSE, AVX2 and AVX512 IFUNC versions.
27203         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
27204         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
27205         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
27206         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
27207         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
27208         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
27209         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
27210         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
27211         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
27212         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
27213         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
27214         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
27215         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
27216         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
27217         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27218         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27219         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27220         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27221         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27222         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27223         * NEWS: Mention addition of x86_64 vector expf.
27225         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
27226         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
27227         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27228         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27229         redirections for exp.
27230         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27231         * sysdeps/x86_64/fpu/Versions: New versions added.
27232         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27233         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27234         build of SSE, AVX2 and AVX512 IFUNC versions.
27235         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
27236         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
27237         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
27238         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
27239         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
27240         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
27241         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
27242         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
27243         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
27244         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
27245         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
27246         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
27247         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
27248         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27249         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27250         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27251         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27252         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27253         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27254         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27255         * NEWS: Mention addition of x86_64 vector exp.
27257         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27258         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27259         redirections for logf.
27260         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27261         * sysdeps/x86_64/fpu/Versions: New versions added.
27262         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27263         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27264         build of SSE, AVX2 and AVX512 IFUNC versions.
27265         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
27266         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
27267         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
27268         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
27269         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
27270         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
27271         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
27272         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
27273         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
27274         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
27275         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
27276         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
27277         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
27278         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
27279         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27280         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27281         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27282         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27283         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27284         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27285         * NEWS: Mention addition of x86_64 vector logf.
27287         * bits/libm-simd-decl-stubs.h: Added stubs for log.
27288         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
27289         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27290         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27291         redirections for log.
27292         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27293         * sysdeps/x86_64/fpu/Versions: New versions added.
27294         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27295         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27296         build of SSE, AVX2 and AVX512 IFUNC versions.
27297         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
27298         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
27299         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
27300         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
27301         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
27302         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
27303         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
27304         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
27305         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
27306         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
27307         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
27308         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
27309         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
27310         test.
27311         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27312         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27313         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27314         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27315         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27316         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27317         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27318         * NEWS: Mention addition of x86_64 vector log.
27320 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27322         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
27323         cfi_adjust_cfa_offset argument.
27324         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
27325         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
27327         [BZ #18034]
27328         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
27329         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
27330         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
27331         ordering using ldar.
27332         (_dl_tlsdesc_dynamic): Likewise.
27333         (_dl_tlsdesc_return_lazy): Likewise.
27334         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
27335         relaxed atomics instead of volatile and synchronize with release store.
27336         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
27337         volatile.
27338         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27340 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
27342         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27343         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
27344         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27345         * sysdeps/x86_64/fpu/Versions: New versions added.
27346         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27347         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27348         build of SSE, AVX2 and AVX512 IFUNC versions.
27349         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
27350         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
27351         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
27352         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
27353         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
27354         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
27355         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
27356         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
27357         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
27358         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
27359         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
27360         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
27361         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
27362         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
27363         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27364         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27365         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27366         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27367         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27368         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27369         * NEWS: Mention addition of x86_64 vector sinf.
27371 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
27373         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
27374         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
27375         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
27376         Remove variable.
27377         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
27378         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
27380 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
27382         [BZ #18530]
27383         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
27384         strong alias of _IO_fputs.  Use libc_hidden_def.
27385         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
27386         and define as weak alias of __fputs_unlocked.  Use
27387         libc_hidden_weak.
27388         * include/stdio.h (__fputs_unlocked): Declare.  Use
27389         libc_hidden_proto.
27390         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
27391         fputs_unlocked.
27393         [BZ #18529]
27394         * resolv/netdb.h [__USE_POSIX]: Change condition to
27395         [__USE_XOPEN2K].
27396         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
27397         not expect.
27398         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
27399         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
27400         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
27401         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
27402         [XPG4 || UNIX98] (AI_ALL): Likewise.
27403         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
27404         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
27405         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
27406         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
27407         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
27408         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
27409         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
27410         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
27411         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
27412         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
27413         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
27414         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
27415         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
27416         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
27417         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
27418         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
27419         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
27420         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
27421         [XPG4 || UNIX98] (gai_strerror): Likewise.
27422         [XPG4 || UNIX98] (getaddrinfo): Likewise.
27423         [XPG4 || UNIX98] (getnameinfo): Likewise.
27425         [BZ #18528]
27426         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
27427         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
27428         __USE_XOPEN2K8].
27429         (getgrent): Likewise.
27430         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
27431         expect.
27432         [XPG3 || POSIX2008] (endgrent): Likewise.
27433         [XPG3] (setgrent): Likewise.
27434         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
27435         variable.
27436         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
27438         [BZ #18527]
27439         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
27440         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
27441         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
27442         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
27443         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
27444         * include/unistd.h (__getlogin_r): Declare.  Use
27445         libc_hidden_proto.
27446         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
27447         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
27448         variable.
27449         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
27450         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
27451         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
27453 2015-06-12  Martin Sebor  <msebor@redhat.com>
27455         [BZ #18512]
27456         * Makerules (check-install-supported): New target.
27457         (install): Add check-install-supported as a dependency.
27458         * manual/install.texi (Installing the C Library): Document
27459         that overriding prefix and exec_prefix is not supported.
27460         Mention DESTDIR.
27461         * INSTALL: Regenerate from the above.
27463 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
27465         [BZ #18519]
27466         * posix/Versions (libc): Export __libc_pread at version
27467         GLIBC_PRIVATE.
27468         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
27469         instead of pread.
27470         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
27471         variable.
27473         [BZ #18522]
27474         * misc/efgcvt_r.c
27475         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
27476         (cvt_symbol): Use weak_alias instead of strong_alias.
27477         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
27478         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
27479         Remove variable.
27480         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
27481         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
27483         [BZ #18520]
27484         * inet/herrno.c (h_errno): Rename to __h_errno.
27485         (__libc_h_errno): Define as alias of __h_errno not h_errno.
27486         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
27487         to __h_errno instead of h_errno.
27488         * nptl/herrno.c (h_errno): Rename to __h_errno.
27489         (__h_errno_location): Refer to __h_errno not h_errno.
27490         * resolv/Versions (h_errno): Rename to __h_errno.
27491         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
27492         Remove variable.
27493         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
27495 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
27497         * configure.ac: More strict check for AVX512 assembler support.
27498         * configure: Regenerated.
27500         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
27501         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
27502         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27503         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
27504         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27505         * sysdeps/x86_64/fpu/Versions: New versions added.
27506         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27507         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27508         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27509         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
27510         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
27511         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
27512         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
27513         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
27514         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
27515         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
27516         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
27517         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
27518         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
27519         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
27520         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
27521         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
27522         test.
27523         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27524         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27525         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27526         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27527         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27528         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27529         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27530         * NEWS: Mention addition of x86_64 vector sin.
27532 2015-06-11  Florian Weimer  <fweimer@redhat.com>
27534         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
27535         comment.
27537 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
27539         [BZ #18479]
27540         * nptl/pt-interp.c: New file.
27541         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
27542         Add pt-interp.
27543         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
27544         $(common-objpfx)runtime-linker.h.
27546 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
27548         * Makeconfig (+interp): Remove unused variable.
27549         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
27550         only.  Depend on $(common-objpfx)runtime-linker.h instead of
27551         $(elf-objpfx)runtime-linker.h.
27552         ($(elf-objpfx)runtime-linker.h): Rename to
27553         $(common-objpfx)runtime-linker.h and move ...
27554         * Makerules [$(build-shared) = yes]: ... here.
27555         * elf/interp.c: Include <runtime-linker.h> instead of
27556         <elf/runtime-linker.h>.
27558 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27560         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
27561         (__gettimeofday_syscall): Remove vsyscall fallback.
27562         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
27563         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
27564         Add syscall fallback function.
27565         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
27566         if vDSO is not present.
27567         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
27568         fallback function.
27569         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
27570         present.
27571         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
27572         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27574 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
27576         [BZ #18497]
27577         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
27578         of wcscmp.
27579         (wcscmp): Define as weak alias of WCSCMP.
27580         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
27581         wcscoll.
27582         (USE_HIDDEN_DEF): Define.
27583         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
27584         __wcscoll.  Don't use libc_hidden_weak.
27585         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
27586         wcscmp.
27587         * sysdeps/i386/i686/multiarch/wcscmp-c.c
27588         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
27589         __GI_wcscmp.
27590         (weak_alias): Undefine and redefine.
27591         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
27592         __wcscmp and define as weak alias of __wcscmp.
27593         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
27594         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
27595         (__wcscoll): Likewise.
27596         (wcscmp): Don't use libc_hidden_proto.
27597         (wcscoll): Likewise.
27598         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
27599         wcscoll.
27600         * posix/regexec.c (check_node_accept_bytes): Likewise.
27601         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
27602         variable.
27603         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
27604         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
27606         [BZ #18507]
27607         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
27608         __fstatvfs and define as weak alias of __fstatvfs.  Use
27609         libc_hidden_weak.
27610         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
27611         and define as weak alias of __statvfs.  Use libc_hidden_weak.
27612         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
27613         Define as alias of __fstatvfs, not fstatvfs.
27614         (fstatvfs64): Likewise.
27615         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
27616         Define as alias of __statvfs, not statvfs.
27617         (statvfs64): Likewise.
27618         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
27619         Remove variable.
27621 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27624         (HAVE_GETCPU_VSYSCALL): Define.
27625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27626         (HAVE_GETCPU_VSYSCALL): Likewise.
27627         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
27628         * sysdeps/unix/sysv/linux/sched_getcpu.c
27629         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
27630         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
27631         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
27632         prototype.
27633         * sysdeps/unix/sysv/linux/x86_64/init-first.c
27634         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
27635         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
27636         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
27637         Define.
27638         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
27639         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27640         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
27641         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27643 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
27645         * sysdeps/x86_64/fpu/Makefile: New file.
27646         * sysdeps/x86_64/fpu/Versions: New file.
27647         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
27648         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
27649         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
27650         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
27651         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
27652         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
27653         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
27654         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
27655         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
27656         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
27657         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
27658         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
27659         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
27660         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27661         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27662         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
27663         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
27664         * sysdeps/x86_64/configure.ac: Options for libmvec build.
27665         * sysdeps/x86_64/configure: Regenerated.
27666         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
27667         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
27668         * manual/install.texi (Configuring and compiling): Document
27669         --disable-mathvec.
27670         * INSTALL: Regenerated.
27671         * NEWS: Mention addition of libmvec and x86_64 vector cos.
27673         * math/Makefile: Added rules for vector tests.
27674         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
27675         declaration under condition.
27676         * math/test-double-vlen2.h: New file.
27677         * math/test-double-vlen4.h: New file.
27678         * math/test-double-vlen8.h: New file.
27679         * math/test-vec-loop.h: Added initialization macro.
27680         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
27681         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
27682         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
27683         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
27684         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
27685         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
27686         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
27687         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
27688         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
27689         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
27690         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
27692         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27693         * sysdeps/x86_64/fpu/Versions: New versions added.
27694         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
27695         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
27696         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
27697         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
27698         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
27699         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
27700         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
27701         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
27702         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
27703         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
27704         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
27705         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
27706         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
27707         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27708         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27709         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27710         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
27711         * NEWS: Mention addition of x86_64 vector cosf.
27713         * math/Makefile: Added CFLAGS for new tests.
27714         * math/test-float-vlen16.h: New file.
27715         * math/test-float-vlen4.h: New file.
27716         * math/test-float-vlen8.h: New file.
27717         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
27718         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
27719         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27720         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
27721         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
27722         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
27723         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
27724         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
27725         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
27726         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
27727         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
27729 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
27731         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
27732         * locale/programs/ld-ctype.c: Likewise.
27734 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
27736         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
27737         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
27738         bit_ZMM16_31_state): New macro.
27739         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27740         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
27742 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
27744         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
27746 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
27748         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
27750 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
27752         [BZ #18498]
27753         * libio/memstream.c (open_memstream): Rename to __open_memstream
27754         and define as weak alias of __open_memstream.
27755         * include/stdio.h (__open_memstream): Declare.  Use
27756         libc_hidden_proto.
27757         (open_memstream): Don't use libc_hidden_proto.
27758         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
27759         open_memstream.
27760         * posix/getopt.c (_getopt_internal_r): Likewise.
27761         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
27762         variable.
27763         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
27764         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
27765         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
27767         [BZ #18496]
27768         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
27769         instead of wcrtomb.
27771         [BZ #18483]
27772         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
27773         [__USE_XOPEN2K8].  Remove redundant #endif.
27774         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
27775         Remove redundant #if.
27776         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
27777         Remove variable.
27778         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
27779         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
27781         [BZ #18495]
27782         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
27783         (__iswlower): Likewise.
27784         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
27785         (__iswlower): Likewise.
27786         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
27787         instead of towlower.
27788         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
27789         instead of iswlower.  Call __towupper instead of towupper.
27790         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
27791         instead of iswalnum.
27793 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27795         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
27796         errors to stderr.
27798 2015-06-05  Florian Weimer  <fweimer@redhat.com>
27800         [BZ #15661]
27801         [BZ #17322]
27802         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
27803         Check for overflow properly.  Check for O_APPEND.  Ignore large
27804         file system block sizes.  Add comments about problems.
27805         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
27806         * manual/filesys.texi (Storage Allocation): New node.
27808 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27810         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
27811         cancellable syscalls.
27812         (SYS_ify): Add guard to no redefine it.
27813         (INLINE_SYSCALL): Likewise.
27814         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
27815         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
27816         SYSCALL_CANCEL instead.
27817         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
27818         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
27819         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
27820         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
27821         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
27822         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
27823         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
27824         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
27825         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
27826         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
27827         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
27828         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
27829         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
27830         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
27831         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
27832         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
27833         Likewise.
27834         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
27835         (__libc_pread64): Likewise.
27836         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
27837         (__libc_preadv): Likewise.
27838         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
27839         (__libc_readv64): Likewise.
27840         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
27841         (__libc_pwrite): Likewise.
27842         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
27843         (__libc_pwrite64): Likewise.
27844         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
27845         (__libc_pwritev): Likewise.
27846         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
27847         (__libc_pwritev64): Likewise.
27848         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
27849         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
27850         (sync_file_range): Likewise.
27851         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
27852         Likewise.
27853         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
27854         Likewise.
27855         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
27856         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
27857         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
27858         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
27859         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
27860         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
27861         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
27862         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
27863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
27864         Likewise.
27865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
27866         (__libc_read64): Likewise.
27867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
27868         Likewise.
27869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
27870         Likewise.
27871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
27872         Likewise.
27873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
27874         Likewise.
27875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
27876         (__libc_pread64): Likewise.
27877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
27878         Likewise.
27879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
27880         (__libc_pwrite64): Likewise.
27881         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
27882         (sync_file_range): Likewise.
27883         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
27884         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
27885         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
27886         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
27887         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
27888         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
27889         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
27890         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
27891         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
27892         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
27893         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27894         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
27895         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
27896         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
27897         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
27898         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
27899         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
27900         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
27901         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
27902         Likewise.
27903         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
27904         Likewise.
27905         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
27906         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
27907         Likewise.
27908         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
27909         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
27910         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
27911         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
27912         Likewise.
27913         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
27914         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
27915         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
27916         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
27917         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
27919 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
27921         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
27922         Include dl-vdso.
27923         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
27924         Use VDSO routines for gettimeofday, clock_gettime if
27925         available.
27926         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
27927         Declare VDSO symbols.
27928         * sysdeps/unix/sysv/linux/arm/sysdep.h:
27929         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
27930         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
27931         * sysdeps/unix/sysv/linux/arm/Versions: Add
27932         __vdso_clock_gettime.
27934 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27936         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
27937         be an inline implementation regardless of library is built within.
27938         (open_not_cancel_2): Likewise.
27939         (__read_nocancel): Likewise.
27940         (__write_nocancel): Likewise.
27941         (openat_not_cancel): Likewise.
27942         (openat_not_cancel_3): Likewise.
27943         (openat64_not_cancel): Likewise.
27944         (openat64_not_cancel_3): Likewise.
27945         (__close_nocancel): Likewise.
27946         (pause_not_cancel): Likewise.
27947         (nanosleep_not_cancel): Likewise.
27948         (sigsuspend_not_cancel): Likewise.
27950 2015-06-04  Torvald Riegel  <triegel@redhat.com>
27952         [BZ #14958]
27953         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
27954         wake-up.
27955         (__pthread_rwlock_rdlock_slow): Likewise.
27956         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27957         Likewise.
27958         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
27959         Likewise.
27960         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
27961         * nptl/tst-rwlock16.c: New file.
27962         * nptl/Makefile (tests): Add new test.
27964 2015-06-04  Torvald Riegel  <triegel@redhat.com>
27966         [BZ #18324]
27967         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
27968         missing wake-up of readers.
27969         * nptl/tst-rwlock15.c: New file.
27970         * nptl/Makefile (tests): Add new test.
27972 2015-06-03  Roland McGrath  <roland@hack.frob.com>
27974         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
27975         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
27976         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
27977         and __nacl_supply_interface_rtld.
27978         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
27979         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
27980         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
27981         Add __nacl_supply_interface_rtld.
27982         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
27984 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
27986         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
27987         isfinite.
27988         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27989         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
27991 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
27993         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
27994         __signbit* with standard C99 macros.
27995         * math/e_exp10l.c: Likewise.
27996         * math/e_exp2l.c: Likewise.
27997         * math/e_scalb.c: Likewise.
27998         * math/e_scalbf.c: Likewise.
27999         * math/e_scalbl.c: Likewise.
28000         * math/s_ldexp.c: Likewise.
28001         * math/s_ldexpf.c: Likewise.
28002         * math/s_ldexpl.c: Likewise.
28003         * math/w_atan2.c: Likewise.
28004         * math/w_atan2f.c: Likewise.
28005         * math/w_atan2l.c: Likewise.
28006         * math/w_cosh.c: Likewise.
28007         * math/w_coshf.c: Likewise.
28008         * math/w_coshl.c: Likewise.
28009         * math/w_exp10.c: Likewise.
28010         * math/w_exp10f.c: Likewise.
28011         * math/w_exp10l.c: Likewise.
28012         * math/w_exp2.c: Likewise.
28013         * math/w_exp2f.c: Likewise.
28014         * math/w_exp2l.c: Likewise.
28015         * math/w_fmod.c: Likewise.
28016         * math/w_fmodf.c: Likewise.
28017         * math/w_fmodl.c: Likewise.
28018         * math/w_hypot.c: Likewise.
28019         * math/w_hypotf.c: Likewise.
28020         * math/w_hypotl.c: Likewise.
28021         * math/w_jnl.c: Likewise.
28022         * math/w_lgamma.c: Likewise.
28023         * math/w_lgamma_r.c: Likewise.
28024         * math/w_lgammaf.c: Likewise.
28025         * math/w_lgammaf_r.c: Likewise.
28026         * math/w_lgammal.c: Likewise.
28027         * math/w_lgammal_r.c: Likewise.
28028         * math/w_pow.c: Likewise.
28029         * math/w_powf.c: Likewise.
28030         * math/w_powl.c: Likewise.
28031         * math/w_remainder.c: Likewise.
28032         * math/w_remainderf.c: Likewise.
28033         * math/w_remainderl.c: Likewise.
28034         * math/w_scalb.c: Likewise.
28035         * math/w_scalbf.c: Likewise.
28036         * math/w_scalbl.c: Likewise.
28037         * math/w_scalbln.c: Likewise.
28038         * math/w_scalblnf.c: Likewise.
28039         * math/w_scalblnl.c: Likewise.
28040         * math/w_sinh.c: Likewise.
28041         * math/w_sinhf.c: Likewise.
28042         * math/w_sinhl.c: Likewise.
28043         * math/w_tgamma.c: Likewise.
28044         * math/w_tgammaf.c: Likewise.
28045         * math/w_tgammal.c: Likewise.
28046         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28047         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
28048         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28049         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28050         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28051         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28052         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28053         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28054         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28055         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28056         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28057         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
28058         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28059         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28060         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28061         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28062         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28063         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28064         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28065         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28066         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28067         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28068         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28069         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28070         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28071         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28072         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
28073         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28074         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28075         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28076         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
28077         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
28078         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
28079         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
28080         * stdio-common/printf_fp.c: Likewise.
28081         * stdio-common/printf_fphex.c: Likewise.
28082         * stdio-common/printf_size.c: Likewise.
28084 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
28086         [BZ #18470]
28087         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
28088         strnlen.
28089         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
28090         Remove variable.
28091         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
28092         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
28093         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
28094         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
28095         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
28096         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
28097         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
28098         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
28099         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
28100         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
28102         [BZ #18468]
28103         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
28104         weak alias of __wmemchr.  Use libc_hidden_weak.
28105         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
28106         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
28107         instead of wmemchr.
28109 2015-06-02  Roland McGrath  <roland@hack.frob.com>
28111         [BZ #18383]
28112         * elf/tst-tlsalign-extern.c: New file.
28113         * elf/tst-tlsalign-extern-static.c: New file.
28114         * elf/tst-tlsalign-vars.c: New file.
28115         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
28116         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
28117         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
28118         ($(objpfx)tst-tlsalign-extern-static): Likewise.
28119         (test-xfail-tst-tlsalign-extern-static): New variable.
28121 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
28123         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
28124         Use variable name _sc_err instead of err.
28125         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
28126         instead of ret.
28127         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
28128         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
28129         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
28130         (INLINE_SYSCALL): Likewise.
28132         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
28133         * include/string.h (__strnlen): Use libc_hidden_proto.
28134         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
28135         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
28136         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
28137         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
28138         (libc_hidden_def): Undefine and redefine.
28139         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
28140         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
28141         __GI_strnlen.
28142         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
28143         libc_hidden_def.
28144         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
28146         [BZ #18469]
28147         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
28148         weak alias of __towlower.  Use libc_hidden_weak.
28149         (towupper): Rename to __towupper and define as weak alias of
28150         __towupper.  Use libc_hidden_weak.
28151         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
28152         (__towupper): Likewise.
28153         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
28154         __towlower instead of towlower.
28156 2015-06-02  Roland McGrath  <roland@hack.frob.com>
28158         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
28159         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
28161 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28163         * sysdeps/aarch64/libm-test-ulps: Update.
28165 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28167         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
28168         Define.
28169         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28170         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
28171         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
28172         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28173         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
28174         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
28175         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
28177 2015-06-01  Martin Sebor  <msebor@redhat.com>
28179         [BZ #18116]
28180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28181         (__setcontext): Use extended four-operand version of mtsf whenever
28182         possible.
28183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28184         (__novec_swapcontext): Likewise.
28186 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28188         * benchtests/scripts/compare_bench.py: New file.
28189         * benchtests/scripts/import_bench.py (mean): New function.
28190         (split_list): Likewise.
28191         (do_for_all_timings): Likewise.
28192         (compress_timings): Likewise.
28194         * benchtests/scripts/import_bench.py: New file.
28195         * benchtests/scripts/validate_benchout.py: Import import_bench
28196         instead of jsonschema.
28197         (validate_bench): Remove function.
28198         (main): Use import_bench.
28200 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
28202         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
28203         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
28205 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28207         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28209 2015-05-28  Roland McGrath  <roland@hack.frob.com>
28211         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
28212         set THREAD_SELF->tid to a magic value and futex-wake it.
28213         Pass its address to the thread_exit system call.
28214         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
28215         bit is clear.
28216         * sysdeps/nacl/lowlevellock.h: New file.
28217         * sysdeps/nacl/lll_timedwait_tid.c: New file.
28219         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
28220         Add TIMEOUT to current time, don't subtract it.
28222 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
28224         [BZ #2981]
28225         [BZ #18422]
28226         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
28227         ($(objpfx)tst-audit2.out): Also depend on
28228         $(objpfx)tst-auditmod9b.so.
28229         * elf/tst-audit2.c: Include <dlfcn.h>.
28230         (calloc_called): New.
28231         (calloc): Allow to be called more than once.
28232         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
28234 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
28236         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
28237         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
28239 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
28241         * stdlib/monetary.h: Fix comment.
28243 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
28245         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
28246         Avoid using variables in #defines that might cause shadowing.
28247         (INTERNAL_VSYSCALL_CALL): Likewise.
28249 2015-05-26  Roland McGrath  <roland@hack.frob.com>
28251         * sysdeps/nacl/lll_timedlock_wait.c: New file.
28253         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
28254         * nptl/lll_timedlock_wait.c: ... to this new file.
28255         * nptl/Makefile (libpthread-routines): Add it.
28256         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
28257         * nptl/lll_timedwait_tid.c: ... to this new file.
28258         * nptl/Makefile (libpthread-routines): Add it.
28259         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
28260         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
28261         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
28262         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
28263         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
28264         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
28265         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
28266         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
28267         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
28268         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
28270 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28272         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
28273         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28274         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
28275         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
28276         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
28277         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28278         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28279         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28280         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28281         * sysdeps/unix/sysv/linux/tile/sysdep.h
28282         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28283         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
28284         using vDSO syscall macro.
28286 2015-05-26  Andriy Rysin  <arysin@gmail.com>
28288         [BZ #17293]
28289         * uk_UA: Fix sorting order for Ukrainian locale
28291 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
28293         * stdlib/monetary.h: Fix comment.
28295 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28297         [BZ #18234]
28298         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
28299         st_mtim and st_ctim members.
28300         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
28301         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
28302         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
28303         (struct stat64): Likewise.
28304         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
28305         (struct stat64): Likewise.
28306         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
28307         (struct stat64): Likewise.
28309 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28311         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
28312         Define and include sysdep-vdso.h.
28313         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
28314         Likewise.
28315         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
28316         Likewise.
28317         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
28318         Define with VDSO_SYMBOL and use PTR_MANGLE.
28319         (__vdso_clock_gettime): Likewise.
28320         (__vdso_clock_getres): Likewise.
28321         (_libc_vdso_platform_setup): Likewise.
28322         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
28323         Likewise.
28324         (_libc_vdso_platform_setup): Likewise.
28325         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
28326         Likewise.
28327         (__vdso_clock_gettime): Likewise.
28328         (__vdso_clock_getres): Likewise.
28329         (__vdso_get_tbfreq): Likewise.
28330         (__vdso_getcpu): Likewise.
28331         (__vdso_time): Likewise.
28332         (__vdso_sigtramp_rt64): Likewise.
28333         (__vdso_signtramp32): Likewise.
28334         (__vdso_sigtramp_rt32): Likewise.
28335         (_libc_vdso_platform_setup): Likewise.
28336         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
28337         Likewise.
28338         (__vdso_clock_gettime): Likewise.
28339         (__vdso_clock_getres): Likewise.
28340         (_libc_vdso_platform_setup): Likewise.
28341         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
28342         Likewise.
28343         (__vdso_clock_gettime): Likewise.
28344         (_libc_vdso_platform_setup): Likewise.
28345         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
28346         Likewise.
28347         (__vdso_getcpu): Likewise.
28348         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
28349         Use VDSO_SYMBOL macro to define.
28350         (__vdso_clock_gettime): Likewise.
28351         (__vdso_clock_getres): Likewise.
28352         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
28353         Likewise.
28354         (__vdso_clock_gettime): Likewise.
28355         (__vdso_clock_getres): Likewise.
28356         (__vdso_get_tbfreq): Likewise.
28357         (__vdso_getcpu): Likewise.
28358         (__vdso_time): Likewise.
28359         (__vdso_sigtramp_rt64): Likewise.
28360         (__vdso_signtramp32): Likewise.
28361         (__vdso_sigtramp_rt32): Likewise.
28362         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
28363         Likewise.
28364         (__vdso_clock_gettime): Likewise.
28365         (__vdso_clock_getres): Likewise.
28366         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
28367         Likewise.
28368         (__vdso_clock_gettime): Likewise.
28369         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
28370         Likewise.
28371         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
28372         macro.
28373         (INTERNAL_VSYSCALL): Likewise.
28374         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
28375         Remove macro.
28376         (INTERNAL_VSYSCALL): Likewise.
28377         (INTERNAL_VSYSCALL_NCS): Likewise.
28378         (INTERNAL_VSYSCALL_CALL): New macro.
28379         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
28380         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
28381         Likewise.
28382         (INTERNAL_VSYSCALL): Likewise.
28383         (INTERNAL_VSYSCALL_NCS): Likewise.
28384         (INTERNAL_VSYSCALL_CALL): New macro.
28385         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
28386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28387         (INLINE_VSYSCALL): Remove macro.
28388         (INTERNAL_VSYSCALL): Remove macro.
28389         (INTERNAL_VSYSCALL_NCS): Remove macro.
28390         (INTERNAL_VSYSCALL_CALL): New macro.
28391         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
28392         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
28393         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
28394         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
28395         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
28396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28397         (INLINE_VSYSCALL): Remove macro.
28398         (INTERNAL_VSYSCALL): Likewise.
28399         (INTERNAL_VSYSCALL_NCS): Likewise.
28400         (INTERNAL_VSYSCALL_CALL): New macro.
28401         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
28402         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
28403         PTR_DEMANGLE on vDSO pointer.
28404         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
28405         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
28406         macro.
28407         (INTERNAL_SYSCALL): Likewise.
28408         (INTERNAL_VSYSCALL_NCS): Remove macro.
28409         (INTERNAL_VSYSCALL_CALL): New macro.
28410         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
28411         Remove macro.
28412         (INTERNAL_VSYSCALL): Likewise.
28413         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
28414         sysdep-vdso.h instead of libc-vdso.h.
28415         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
28416         definition.
28417         (INLINE_VSYSCALL): Likewise.
28418         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
28419         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
28420         definition.
28421         (INLINE_VSYSCALL): Likewise.
28422         (INTERNAL_VSYSCALL): Likewise.
28423         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
28424         * sysdeps/unix/sysv/linux/timespec_get.c
28425         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
28426         (timespec_get): Use ANSI prototype.
28427         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
28428         and definition for Linux.
28430 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
28432         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
28433         * include/libc-symbols.h: libmvec_hidden_* macro series added.
28435 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28437         [BZ #2981]
28438         [BZ #18410]
28439         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
28440         for missing DT_PLTRELSZ.
28442 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
28444         Remove obsolete aliases that broke 'locale -a'
28445         [BZ #18412]
28446         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
28447         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
28448         breaking some applications that use 'locale -a' output.
28449         Change the encoding of this file from Latin-1 to ASCII to avoid
28450         other potential problems with people grepping this file.
28452 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28454         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
28455         -fasynchronous-unwind-tables.
28456         (CFLAGS-sendto.c): Likewise.
28457         (CFLAGS-sendmsg.c): Likewise.
28458         (CFLAGS-connect.c): Likewise.
28459         (CFLAGS-recvmsg.c): Likewise.
28460         (CFLAGS-recvfrom.c): Likewise.
28461         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
28462         (SOCKETCALL): New macro: non-cancellable socketcall.
28463         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
28464         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
28465         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
28466         * sysdeps/unix/sysv/linux/accept.c: New file.
28467         * sysdeps/unix/sysv/linux/bind.c: Likewise.
28468         * sysdeps/unix/sysv/linux/connect.c: Likewise.
28469         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
28470         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
28471         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
28472         * sysdeps/unix/sysv/linux/listen.c: Likewise.
28473         * sysdeps/unix/sysv/linux/recv.c: Likewise.
28474         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
28475         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
28476         * sysdeps/unix/sysv/linux/send.c: Likewise.
28477         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
28478         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
28479         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
28480         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
28481         * sysdeps/unix/sysv/linux/socket.c: Likewise.
28482         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
28483         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
28484         prototype.
28485         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
28486         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
28487         instead of __internal_xxx function.
28488         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
28489         prototype.
28490         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
28491         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
28492         instead of __internal_xxx function.
28493         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
28494         prototype.
28495         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
28496         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
28497         instead of __internal_xxx function.
28498         * sysdeps/unix/sysv/linux/accept.S: Remove file.
28499         * sysdeps/unix/sysv/linux/bind.S: Likewise.
28500         * sysdeps/unix/sysv/linux/connect.S: Likewise.
28501         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
28502         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
28503         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
28504         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
28505         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
28506         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
28507         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
28508         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
28509         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28510         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
28511         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
28512         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
28513         * sysdeps/unix/sysv/linux/listen.S: Likewise.
28514         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
28515         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
28516         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
28517         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
28518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
28519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
28520         * sysdeps/unix/sysv/linux/recv.S: Likewise.
28521         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
28522         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
28523         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
28524         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
28525         * sysdeps/unix/sysv/linux/send.S: Likewise.
28526         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
28527         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
28528         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
28529         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
28530         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
28531         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
28532         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
28533         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
28534         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
28535         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
28536         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
28537         socketcall is implemented in GLIBC.
28539 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
28541         * soft-fp/fmadf4.c: Include <libc-internal.h>.
28542         (__fma): Ignore uninitialized warnings around packing.
28543         * soft-fp/fmasf4.c: Include <libc-internal.h>.
28544         (__fmaf): Ignore uninitialized warnings around packing.
28545         * soft-fp/fmatf4.c: Include <libc-internal.h>.
28546         (__fmal): Ignore uninitialized warnings around packing.
28548         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
28549         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
28550         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
28551         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
28553         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
28554         switch statement into default case.
28555         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
28557         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
28558         a conditional in forcing "inexact".
28559         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28560         Likewise.
28562 2015-05-22  Roland McGrath  <roland@hack.frob.com>
28564         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28565         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
28566         for each INTERNAL_SYSCALL use.
28568 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
28570         [BZ #438]
28571         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
28572         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
28573         variable.
28575         [BZ #18444]
28576         * string/basename.c (basename): Rename to __basename and define as
28577         weak alias of __basename.  Use libc_hidden_weak.
28578         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
28579         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
28580         __basename instead of basename.
28581         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
28582         Remove variable.
28583         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
28585 2015-05-18  Florian Weimer  <fweimer@redhat.com>
28587         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
28588         (_IO_JUMPS_FILE_plus): New.
28589         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
28590         _IO_CAST_FIELD_ACCESS.
28591         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
28592         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
28593         * libio/freopen.c (freopen): Likewise.
28594         * libio/freopen64.c (freopen64): Likewise.
28595         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
28596         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
28597         * libio/iofwide.c (_IO_fwide): Likewise.
28598         * libio/memstream.c (open_memstream): Likewise.
28599         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28600         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
28601         * libio/oldiopopen.c (_IO_old_popen): Likewise.
28603 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
28605         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
28606         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
28607         NADJ.
28608         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
28609         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
28610         NADJ.
28611         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
28612         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
28613         NADJ.
28615         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
28616         (p == 4) case.
28618         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
28619         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
28620         Remove variable.
28621         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
28622         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
28623         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
28625 2015-05-21  Florian Weimer  <fweimer@redhat.com>
28627         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
28628         Adjust jump table label generation macros.
28630 2015-05-21  Florian Weimer  <fweimer@redhat.com>
28632         * stdio-common/vfprintf.c (vfprintf): Move local variables
28633         args_malloced, specs, specs_malloced, and the code after
28634         do_positional to the printf_positional function.
28635         (printf_positional): New function.
28637 2015-05-21  Florian Weimer  <fweimer@redhat.com>
28639         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
28640         function.
28641         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
28642         STEP4_TABLE, process_arg): Move macro definitions
28643         out of the vfprintf function.  (Cosmetic change only.)
28645 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
28647         * benchtests/Makefile (stdio-common-bench): Define.
28648         (benchset): Add stdio-common-bench.
28649         * sprintf-inputs: New file.
28650         * sprintf-source.c: New file.
28652 2015-05-21  Andreas Schwab  <schwab@suse.de>
28654         [BZ #13028]
28655         [BZ #17053]
28656         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
28657         of struct __res_state.
28658         * resolv/res_send.c (__libc_res_nsend): Likewise.
28659         (get_nsaddr): New function.
28660         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
28661         statp directly.
28663 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
28665         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
28666         -D_POSIX_C_SOURCE=199506L.
28668         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
28670         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
28671         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
28672         Do not mention otherwise.
28673         [POSIX] (_XOPEN_VERSION): Do not expect.
28674         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
28675         [POSIX] (_POSIX2_C_BIND): Likewise.
28676         [POSIX] (_POSIX2_VERSION): Likewise.
28677         [POSIX] (_XOPEN_XPG2): Likewise.
28678         [POSIX] (_XOPEN_XPG3): Likewise.
28679         [POSIX] (_XOPEN_XPG4): Likewise.
28680         [POSIX] (_XOPEN_UNIX): Likewise.
28681         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
28682         [POSIX] (_POSIX_BARRIERS): Likewise.
28683         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
28684         [POSIX] (_POSIX_CPUTIME): Likewise.
28685         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
28686         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
28687         [POSIX] (_POSIX_SHELL): Likewise.
28688         [POSIX] (_POSIX_SPAWN): Likewise.
28689         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
28690         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
28691         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
28692         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
28693         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
28694         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
28695         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
28696         [POSIX] (_XBS5_LP64_OFF64): Likewise.
28697         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
28698         [POSIX] (_POSIX_TIMEOUTS): Likewise.
28699         [POSIX] (_POSIX2_PBS): Likewise.
28700         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
28701         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
28702         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
28703         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
28704         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
28705         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
28706         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
28707         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
28708         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
28709         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
28710         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
28711         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
28712         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
28713         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
28714         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
28715         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
28716         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
28717         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
28718         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
28719         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
28720         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
28721         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
28722         [POSIX] (_SC_2_C_BIND): Likewise.
28723         [POSIX] (_SC_2_C_VERSION): Likewise.
28724         [POSIX] (_SC_2_PBS): Likewise.
28725         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
28726         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
28727         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
28728         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
28729         [POSIX] (_SC_2_PBS_TRACK): Likewise.
28730         [POSIX] (_SC_ATEXIT_MAX): Likewise.
28731         [POSIX] (_SC_BARRIERS): Likewise.
28732         [POSIX] (_SC_BASE): Likewise.
28733         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
28734         [POSIX] (_SC_DEVICE_IO): Likewise.
28735         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
28736         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
28737         [POSIX] (_SC_FD_MGMT): Likewise.
28738         [POSIX] (_SC_FIFO): Likewise.
28739         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
28740         [POSIX] (_SC_FILE_LOCKING): Likewise.
28741         [POSIX] (_SC_FILE_SYSTEM): Likewise.
28742         [POSIX] (_SC_IOV_MAX): Likewise.
28743         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
28744         [POSIX] (_SC_NETWORKING): Likewise.
28745         [POSIX] (_SC_PAGE_SIZE): Likewise.
28746         [POSIX] (_SC_PASS_MAX): Likewise.
28747         [POSIX] (_SC_PIPE): Likewise.
28748         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
28749         [POSIX] (_SC_REGEXP): Likewise.
28750         [POSIX] (_SC_SHELL): Likewise.
28751         [POSIX] (_SC_SIGNALS): Likewise.
28752         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
28753         [POSIX] (_SC_SPIN_LOCKS): Likewise.
28754         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
28755         [POSIX] (_SC_USER_GROUPS): Likewise.
28756         [POSIX] (_SC_USER_GROUPS_R): Likewise.
28757         [POSIX] (_SC_STREAMS): Likewise.
28758         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
28759         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
28760         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
28761         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
28762         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
28763         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
28764         [POSIX] (_PC_FILESIZEBITS): Likewise.
28765         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
28766         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
28767         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
28768         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
28769         [POSIX] (uid_t): Likewise.
28770         [POSIX] (gid_t): Likewise.
28771         [POSIX] (off_t): Likewise.
28772         [POSIX] (pid_t): Likewise.
28773         [POSIX] (cuserid): Allow.
28774         (_SC_2_CHAR_TERM): Require constant.
28775         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
28776         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
28777         variable.
28779 2015-05-20  Roland McGrath  <roland@hack.frob.com>
28781         * sysdeps/nacl/pthread-pids.h: New file.
28782         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
28783         (create_thread): Use __nacl_get_tid to initialize PD->tid.
28785         * nptl/pthread-pids.h: New file.
28786         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
28787         * nptl/nptl-init.c: Include <pthread-pids.h>.
28788         (__pthread_initialize_minimal_internal):
28789         Call __pthread_initialize_pids instead of set_tid_address syscall.
28791         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
28792         * sysdeps/posix/usleep.c: ... here.
28794 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28796         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
28797         call_pselect6 object.
28798         [$(subdir) = io]: Remove call_sync_file_range object.
28799         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
28800         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
28801         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
28802         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
28804 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
28806         * math/s_cproj.c: Add include "math_private.h".
28807         * math/s_cprojf.c: Likewise.
28808         * math/s_cprojl.c: Likewise.
28810 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
28812         [BZ #18244]
28813         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
28814         high mantissa bit when testing whether P is a NaN.
28815         * math/libm-test.inc (remainder_test_data): Add more tests.
28816         (remquo_test_data): Likewise.
28818         [BZ #18049]
28819         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
28820         below -32, return the argument, with underflow if subnormal.
28821         * math/auto-libm-test-in: Add more tests of atanh.
28822         * math/auto-libm-test-out: Regenerated.
28824 2015-05-19  Roland McGrath  <roland@hack.frob.com>
28826         [BZ #18434]
28827         * nptl/tst-sem15.c: New file.
28828         * nptl/Makefile (tests): Add it.
28829         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
28830         s/<</>>/ to fix typo in EOVERFLOW check.
28831         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
28833 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28835         * manual/strings.texi (envz_remove): Fix typo in safety
28836         annotations.
28838 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
28839             Steve Ellcey  <sellcey@imgtec.com>
28841         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
28842         in order to avoid strict alias warnings.
28843         (iruserok_af): Ditto for ra.
28845 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
28847         [BZ #17581]
28848         * malloc/hooks.c
28849         (magicbyte): Convert to a function and avoid returning 0x01.
28850         (mem2mem_check): Avoid using a length byte equal to the magic byte.
28851         (mem2chunk_check): Fix unsigned comparisons to zero.
28852         Hoist defs of sz and magic.
28854 2015-05-19  Richard Henderson  <rth@redhat.com>
28856         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
28858         * sysdeps/alpha/fpu/libm-test-ulps: Update.
28860 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28862         [BZ #16159]
28863         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
28864         * malloc/arena.c (arena_lock): Check if arena is corrupt.
28865         (reused_arena): Find a non-corrupt arena.
28866         (heap_trim): Pass arena to unlink.
28867         * malloc/hooks.c (malloc_check_get_size): Pass arena to
28868         malloc_printerr.
28869         (top_check): Likewise.
28870         (free_check): Likewise.
28871         (realloc_check): Likewise.
28872         * malloc/malloc.c (malloc_printerr): Add arena argument.
28873         (unlink): Likewise.
28874         (munmap_chunk): Adjust.
28875         (ARENA_CORRUPTION_BIT): New macro.
28876         (arena_is_corrupt): Likewise.
28877         (set_arena_corrupt): Likewise.
28878         (sysmalloc): Use mmap if there are no usable arenas.
28879         (_int_malloc): Likewise.
28880         (__libc_malloc): Don't fail if arena_get returns NULL.
28881         (_mid_memalign): Likewise.
28882         (__libc_calloc): Likewise.
28883         (__libc_realloc): Adjust for additional argument to
28884         malloc_printerr.
28885         (_int_free): Likewise.
28886         (malloc_consolidate): Likewise.
28887         (_int_realloc): Likewise.
28888         (_int_memalign): Don't touch corrupt arenas.
28889         * malloc/tst-malloc-backtrace.c: New test case.
28891         * Makefile (summarize-tests): Fix return value on success.
28893         * manual/string.texi (Envz Functions): Add envz_remove.
28895 2015-05-18  Roland McGrath  <roland@hack.frob.com>
28897         * sysdeps/posix/opendir.c: Include <stdbool.h>.
28898         (invalid_name): New function, broken out of ...
28899         (__opendirat): ... here.  Call it.
28900         (need_isdir_precheck): New function, broken out of ...
28901         (__opendirat): ... here.  Call it.
28902         Use __fxstatat64, not __xstatat64.
28903         (opendir_oflags): New function, broken out of ...
28904         (__opendirat): ... here.  Call it.
28905         (opendir_tail): New function, broken out of ...
28906         (__opendirat): ... here.  Call it.
28907         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
28908         opendir_tail, rather than punting to __opendirat.
28909         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
28911 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28913         * .gitignore: Ignore generated *.pyc.
28915 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
28917         * include/stdio.h: Define __need_wint_t.
28918         * test-skeleton.c: Avoid `for' loop initial declaration.
28919         * nptl/tst-initializers1.c: Use test-skeleton.c.
28921 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28923         [BZ #18418]
28924         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
28926 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
28928         [BZ #16352]
28929         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
28930         (__ieee754_atanh): Force underflow exception for results with
28931         small absolute value.
28932         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
28933         (__ieee754_atanhf): Force underflow exception for results with
28934         small absolute value.
28935         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
28936         (__ieee754_atanh): Force underflow exception for results with
28937         small absolute value.
28938         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
28939         (__ieee754_atanhf): Force underflow exception for results with
28940         small absolute value.
28941         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
28942         (__ieee754_atanhl): Force underflow exception for results with
28943         small absolute value.
28944         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
28945         (__ieee754_atanhl): Force underflow exception for results with
28946         small absolute value.
28947         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
28948         (__ieee754_atanhl): Force underflow exception for results with
28949         small absolute value.
28950         * math/auto-libm-test-in: Do not allow missing underflow
28951         exceptions from atanh.
28952         * math/auto-libm-test-out: Regenerated.
28954         [BZ #18221]
28955         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
28956         2**-28 as threshold for returning x or +/- 1/x.
28957         * math/auto-libm-test-in: Add more tests of tan.
28958         * math/auto-libm-test-out: Regenerated.
28960         [BZ #18220]
28961         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
28962         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
28963         * math/auto-libm-test-in: Add another test of lgamma.
28964         * math/auto-libm-test-out: Regenerated.
28966 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
28968         * stdio-common/printf_fp.c (___printf_fp): Use abs.
28969         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
28970         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
28971         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
28972         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
28973         (ADD2A): Use fabs.  (SUB2A): Use fabs.
28974         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
28975         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
28976         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
28977         (log1): Use fabs.  (my_log2): Use fabs.
28978         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
28979         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
28980         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
28981         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
28982         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
28983         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
28984         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
28985         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
28986         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
28987         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
28988         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
28990 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
28992         [BZ #18217]
28993         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
28994         as threshold for returning 1 - x.
28995         * math/auto-libm-test-in: Add more tests of erfc.
28996         * math/auto-libm-test-out: Regenerated.
28998 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
29000         [BZ #18196]
29001         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
29002         threshold for large arguments.
29003         * math/auto-libm-test-in: Add another test of atan.
29004         * math/auto-libm-test-out: Regenerated.
29006         [BZ #16339]
29007         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
29008         (__log1p): Force underflow exception for results with small
29009         absolute value.
29010         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
29011         (__log1pf): Force underflow exception for results with small
29012         absolute value.
29013         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
29014         (__log1p): Force underflow exception for results with small
29015         absolute value.
29016         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
29017         (__log1pf): Force underflow exception for results with small
29018         absolute value.
29019         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
29020         (__log1pl): Force underflow exception for results with small
29021         absolute value.
29022         * math/auto-libm-test-in: Do not allow missing underflow
29023         exceptions from log1p.
29024         * math/auto-libm-test-out: Regenerated.
29026 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
29027             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29029         [BZ #16704]
29030         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
29032 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
29034         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
29035         (libmvec): New variable.
29036         * configure.ac: Added option for mathvec build.
29037         * configure: Regenerated.
29038         * mathvec/Depend: New file.
29039         * mathvec/Makefile: New file.
29040         * shlib-versions: Added libmvec.
29041         * math/Makefile: Added rule for libm.so installation.
29043         * bits/math-vector.h: New file.
29044         * bits/libm-simd-decl-stubs.h: New header.
29045         * math/Makefile (headers): Added new header
29046         libm-simd-decl-stubs.h.
29047         * math/math.h (__MATHCALL_VEC): New macro.
29049         * math/gen-libm-have-vector-test.sh: Script generates series of macros
29050         for conditions in testing functions.
29051         * math/Makefile: Added call of libm-have-vector-test.sh.
29052         * math/libm-test.inc (HAVE_VECTOR): New macros.
29054         * math/libm-test.inc: START refactored.
29055         * math/test-double.c (TEST_MATHVEC): Add define.
29056         * math/test-float.c: Likewise.
29057         * math/test-idouble.c: Likewise.
29058         * math/test-ifloat.c: Likewise.
29059         * math/test-ildoubl.c: Likewise.
29060         * math/test-ldouble.c: Likewise.
29061         * sysdeps/generic/math-tests-arch.h
29062         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
29063         architecture check.
29065         * math/test-double.c (FUNC_TEST): New macro.
29066         * math/test-float.c: Likewise.
29067         * math/test-idouble.c: Likewise.
29068         * math/test-ifloat.c: Likewise.
29069         * math/test-ildoubl.c: Likewise.
29070         * math/test-ldouble.c: Likewise.
29071         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
29073 2015-05-13  Roland McGrath  <roland@hack.frob.com>
29075         * sysdeps/nacl/fdopendir.c: New file.
29077         * dirent/scandir-tail.c: New file.
29078         * dirent/scandir64-tail.c: New file.
29079         * dirent/Makefile (routines): Add them.
29080         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
29081         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
29082         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
29083         [!SCANDIR] (SCANDIR_TAIL): New macro.
29084         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
29085         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
29086         (SCANDIRAT): Macro removed.
29087         (SCANDIR_TAIL): New macro.
29088         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
29089         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
29090         (SCANDIRAT): Just call __opendirat and __scandir_tail.
29091         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
29092         (READDIR): Macro removed.
29093         (SCANDIR_TAIL): New macro.
29094         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
29095         (SCANDIR_TAIL): New macro.
29097         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
29098         * dirent/scandir-cancel.c: ... to this new file.
29099         * dirent/Makefile (routines): Add it.
29100         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
29101         * sysdeps/unix/sysv/linux/i386/scandir64.c
29102         (SKIP_SCANDIR_CANCEL): Macro removed.
29103         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
29105         * dirent/tst-scandir.c: New file.
29106         * dirent/tst-scandir64.c: New file.
29107         * dirent/Makefile (tests): Add them.
29109 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
29111         [BZ #18409]
29112         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
29114 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29116         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
29117         list.
29119 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
29121         * benchtests/bench-strcoll.c: New benchmark.
29122         * benchtests/Makefile: Generate locales and run benchmark.
29123         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
29124         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
29125         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
29126         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
29127         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
29128         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
29129         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
29130         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
29131         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
29132         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
29133         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
29134         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
29135         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
29136         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
29137         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
29138         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
29139         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
29140         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
29141         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
29142         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
29143         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
29144         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
29145         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
29146         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
29148 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
29150         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
29151         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29153 2015-05-12  Roland McGrath  <roland@hack.frob.com>
29155         * posix/uname-values.h: New file.
29156         * posix/uname.c: Include that instead of <config-name.h>.
29157         * sysdeps/nacl/uname-values.h: New file.
29158         * sysdeps/arm/nacl/uname-values.h: New file.
29160 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
29162         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
29163         splitting into fields.
29165 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
29167         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
29168         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
29169         * locale/localeinfo.h: Add enum collation_encoding_type.
29170         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
29171         * programs/ld-collate.c (collate_output): Add encoding type info.
29172         * string/strcoll_l.c (STRDIFF): New function.
29173         * (STRCOLL): Use STRDIFF to skip over equal prefix.
29174         * wcsmbs/wcscoll_l.c: Define STRDIFF.
29176 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
29178         [BZ #18397]
29179         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
29180         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
29181         <fpu_control.h> instead of <math/fpu_control.c>.
29182         * sysdeps/mips/mips32/fpu/Makefile: New file.
29184 2015-05-11  Andreas Schwab  <schwab@suse.de>
29186         [BZ #18007]
29187         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
29188         nss_endgrent.
29189         (_nss_compat_endgrent): Call nss_endgrent.
29190         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
29191         nss_endpwent.
29192         (_nss_compat_endpwent): Call nss_endpwent.
29193         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
29194         needent, call nss_setspent only if non-zero.
29195         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
29196         (internal_endspent): Don't call nss_endspent.
29197         (_nss_compat_endspent): Call nss_endspent.
29198         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
29199         Remove.  All uses removed.
29200         (internal_setent): Remove parameter stayopen, add parameter
29201         stream.  Use it instead of global variable.
29202         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
29203         (internal_endent, internal_getent): Add parameter stream.  Use it
29204         instead of global variable.
29205         (CONCAT(_nss_files_end,ENTNAME))
29206         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
29207         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
29208         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
29209         uses removed.
29210         (internal_setent, internal_endent): Add parameter stream.  Use it
29211         instead of global variable.
29212         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
29213         stream.
29214         (get_next_alias): Add parameter stream.
29215         (_nss_files_getaliasent_r): Pass global stream.
29216         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
29217         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
29218         (_nss_files_gethostbyname4_r): Pass local stream to
29219         internal_setent, internal_getent and internal_endent.  Remove
29220         locking.
29222 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29224         * tst-strfmon1.c (tests): Update expected currency symbol.
29226 2015-05-08  Roland McGrath  <roland@hack.frob.com>
29228         * sysdeps/nacl/gethostname.c: New file.
29230 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
29232         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
29233         and sinh.
29234         * math/auto-libm-test-out: Regenerated.
29235         * sysdeps/i386/fpu/libm-test-ulps: Update.
29236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29238 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
29240         [BZ #18125]
29241         * stdlib/tst-setcontext3.c: New file.
29242         * stdlib/tst-setcontext3.sh: New file.
29243         * stdlib/Makefile (tests): Add tst-setcontext3.
29244         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
29245         to verify test program created output file.
29246         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
29247         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
29248         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
29249         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
29251 2015-05-06  Roland McGrath  <roland@hack.frob.com>
29253         [BZ #18383]
29254         * elf/tst-tlsalign.c: New file.
29255         * elf/tst-tlsalign-static.c: New file.
29256         * elf/tst-tlsalign-lib.c: New file.
29257         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
29258         (tests-static): Add tst-tlsalign-static.
29259         (modules-names): Add tst-tlsalign-lib.
29260         (test-xfail-tst-tlsalign): New variable.
29261         (test-xfail-tst-tlsalign-static): New variable.
29263         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
29264         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
29266 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
29268         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
29269         csqrt, erfc, sin and sincos.
29270         * math/auto-libm-test-out: Regenerated.
29271         * sysdeps/i386/fpu/libm-test-ulps: Update.
29272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29274 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29276         * sysdeps/aarch64/libm-test-ulps: Update.
29278 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
29280         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
29281         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
29282         * math/auto-libm-test-out: Regenerated.
29283         * sysdeps/i386/fpu/libm-test-ulps: Update.
29284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29286 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
29288         [BZ #18265]
29289         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
29290         (wcsncpy): Likewise.
29292 2015-05-05  Florian Weimer  <fweimer@redhat.com>
29294         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
29295         Assume __ASSUME_FALLOCATE is always true.
29296         * sysdeps/unix/sysv/linux/posix_fallocate64.c
29297         (__posix_fallocate64_l64): Likewise.
29298         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
29299         (posix_fallocate): Likewise.
29300         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
29301         (__posix_fallocate64_l64): Likewise.
29302         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29303         [!__ASSUME_FALLOCATE]: Add comment.
29305 2015-05-05  Florian Weimer  <fweimer@redhat.com>
29307         * sysdeps/unix/sysv/linux/i386/Makefile
29308         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
29309         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
29310         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
29311         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29312         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29313         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
29314         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
29316 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
29318         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
29319         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
29320         tgamma.
29321         * math/auto-libm-test-out: Regenerated.
29322         * sysdeps/i386/fpu/libm-test-ulps: Update.
29323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29325 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
29327         * math/auto-libm-test-in: Add more tests of tgamma.
29328         * math/auto-libm-test-out: Regenerated.
29329         * sysdeps/i386/fpu/libm-test-ulps: Update.
29330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29332         * math/auto-libm-test-in: Add more tests of tanh.
29333         * math/auto-libm-test-out: Regenerated.
29334         * sysdeps/i386/fpu/libm-test-ulps: Update.
29335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29337         * math/auto-libm-test-in: Add more tests of tan.
29338         * math/auto-libm-test-out: Regenerated.
29339         * sysdeps/i386/fpu/libm-test-ulps: Update.
29340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29342         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
29343         * math/auto-libm-test-out: Regenerated.
29344         * sysdeps/i386/fpu/libm-test-ulps: Update.
29345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29347         * math/auto-libm-test-in: Add another test of pow.
29348         * math/auto-libm-test-out: Regenerated.
29349         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29351         * math/auto-libm-test-in: Add more tests of lgamma.
29352         * math/auto-libm-test-out: Regenerated.
29353         * sysdeps/i386/fpu/libm-test-ulps: Update.
29354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29356         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
29357         log1p.
29358         * math/auto-libm-test-out: Regenerated.
29359         * sysdeps/i386/fpu/libm-test-ulps: Update.
29360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29362 2015-05-01  Mark Wielaard  <mjw@redhat.com>
29364         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
29365         Elf64_Chdr structs and ELFCOMPRESS constants.
29367 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
29369         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
29370         expm1.
29371         * math/auto-libm-test-out: Regenerated.
29372         * sysdeps/i386/fpu/libm-test-ulps: Update.
29373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29375         * math/auto-libm-test-in: Add more tests of erf and erfc.
29376         * math/auto-libm-test-out: Regenerated.
29377         * sysdeps/i386/fpu/libm-test-ulps: Update.
29378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29380 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29382         * config.h.in (HAVE_AARCH64_BE): Add.
29384 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
29386         * math/auto-libm-test-in: Add more tests of csqrt.
29387         * math/auto-libm-test-out: Regenerated.
29388         * sysdeps/i386/fpu/libm-test-ulps: Update.
29389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29391         * math/auto-libm-test-in: Add more tests of cosh and sinh.
29392         * math/auto-libm-test-out: Regenerated.
29393         * sysdeps/i386/fpu/libm-test-ulps: Update.
29394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29396         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
29398 2015-04-29  Roland McGrath  <roland@hack.frob.com>
29400         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
29401         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
29403         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
29404         (euidaccess, eaccess): Define as weak aliases.
29406         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
29407         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
29408         but __suseconds_t is often 'long int' so some sources assume that
29409         type is being used (e.g. they use %ld to print tv_usec).
29411 2015-04-29  Florian Weimer  <fweimer@redhat.com>
29413         [BZ #18007]
29414         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
29415         (CVE-2014-8121)
29416         * nss/tst-nss-getpwent.c: New file.
29417         * nss/Makefile (tests): Add new test.
29419 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
29421         [BZ #18346]
29422         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
29423         exponents less than 48 as cases where high part of mantissa needs
29424         examining to determine whether argument is integral.
29425         * math/libm-test.inc (round_test_data): Add more tests.
29427 2015-04-28  Mark Wielaard  <mjw@redhat.com>
29429         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
29431 2015-04-27  David S. Miller  <davem@davemloft.net>
29433         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
29434         __tls_get_addr.
29435         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
29437 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
29439         [BZ#18333]
29440         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
29442 2015-04-27  Florian Weimer  <fweimer@redhat.com>
29444         [BZ#18333]
29445         * time/tzset.c (parse_tzname): Return error on memory allocation
29446         failure.
29447         * test-skeleton.c (struct temp_name_list): Change type of name
29448         member to non-const.
29449         (add_temp_file): Create a copy of the file name.
29450         (delete_temp_files): Deallocate memory.
29451         (create_temp_file): Add comment.
29453 2015-04-24  Florian Weimer  <fweimer@redhat.com>
29455         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
29456         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
29458 2015-04-24  Roland McGrath  <roland@hack.frob.com>
29460         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
29461         * sysdeps/arm/configure: Regenerated.
29463 2015-04-24  Florian Weimer  <fweimer@redhat.com>
29465         [BZ #17715]
29466         * time/tzfile.c (__tzfile_read): Check for large values of
29467         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
29468         * time/tzset.c (__tzstring_len): New function, based on the old
29469         __tzstring function.
29470         (__tzstring): Call __tzstring_len.
29471         (parse_tzname): New helper function extracted from
29472         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
29473         the input string.
29474         (parse_offset): New helper function extracted from
29475         __tzset_parse_tz.  Replace switch with fallthrough with
29476         initialization before sscanf.
29477         (parse_rule): Likewise.
29478         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
29479         new-style function definition.
29480         * timezone/Makefile (tests): Add tst-tzset.
29481         (tst-tzset.out): Dependencies on time zone files.
29482         (tst-tzset-ENV): Set TZDIR.
29483         (testdata/XT%): Copy crafted time zone files.
29484         * timezone/README: Mention crafted time zone files.
29485         * timezone/testdata/XT1, timezone/testdata/XT2,
29486         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
29487         files.
29488         * timezone/tst-tzset.c: New test.
29490 2015-04-24  Florian Weimer  <fweimer@redhat.com>
29492         * Makeconfig (+gccwarn): Remove -Winline.
29494 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
29496         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
29498 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
29500         * NEWS: Mention sysconf() cache information support for s390.
29501         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
29503 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
29505         * math/k_casinh.c (__kernel_casinh): Use __copysign.
29506         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
29507         (__nearbyint): Likewise.
29508         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
29509         (copysignl): Likewise.
29511 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
29513         [BZ #18287]
29514         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
29515         based on padding.  (CVE-2015-1781)
29517 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29519         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
29520         libc-vdso.h.
29521         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
29522         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
29523         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
29524         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
29525         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
29526         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
29527         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
29528         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29529         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
29530         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
29531         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
29532         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29533         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
29534         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
29535         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
29536         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
29537         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
29538         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
29539         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
29540         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
29541         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
29542         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
29543         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
29545 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
29547         * stdlib/setenv.c (__add_to_environ):
29548         Dump core quickly if setenv (..., NULL, ...) is called.
29549         This time, do it the right way, and pacify GCC with a pragma.
29551 2015-04-17  Roland McGrath  <roland@hack.frob.com>
29553         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
29554         IMAP->l_prev cannot be null, and #if out the code for the contrary
29555         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
29556         believe that NS (&_dl_ns[NSID]) could point outside the array.
29558         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
29559         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
29560         before using NSID as an index.
29562 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
29564         [BZ #17825]
29565         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
29566         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
29567         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
29569 2015-04-17  Roland McGrath  <roland@hack.frob.com>
29571         Add preliminary port to Google Native Client on ARM.
29572         * abi-tags (.*-.*-nacl.*): New entry.
29573         * sysdeps/arm/nacl: New directory.
29574         * sysdeps/nacl: New directory.
29576 2015-04-16  David S. Miller  <davem@davemloft.net>
29578         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
29579         lowlevellock-futex.h
29581 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
29583         * sysdeps/tile/configure.ac: New file.
29584         * sysdeps/tile/configure: Regenerated.
29586 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29588         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
29589         conditionals for weak_alias and libc_hidden_weak.
29590         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
29591         libc_hidden_weak and weak_alias.
29592         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
29593         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
29594         and weak_alias for static one.
29596 2015-04-15  David S. Miller  <davem@davemloft.net>
29598         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
29600 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29602         [BZ #18206]
29603         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
29604           Use signed comparision instead of substraction to avoid
29605           overflow bug.
29606         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
29607           Take the sign of ret.
29608         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
29609           Do not expect precise return values. Only the sign matters.
29610         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
29611         * wcsmbs/test-wcsncmp.c: New File.
29612         * string/test-strncmp.c: Add wcsncmp support.
29614 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29616         [BZ #6792]
29617         * math/w_log1p.c: New file.
29618         * math/w_log1pf.c: Likewise.
29619         * math/w_log1pl.c: Likewise.
29620         * math/Makefile (libm-calls): Add w_log1p.
29621         * math/s_log1pl.c (log1pl): Remove weak_alias.
29622         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
29623         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
29624         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
29625         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
29626         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
29627         [NO_LONG_DOUBLE] (log1pl): Likewise.
29628         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
29629         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
29630         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
29631         (log1p): Remove long_double_symbol.
29632         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
29633         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
29634         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
29635         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
29636         remove weak_alias for corresponding log1p function.
29637         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
29638         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
29639         * sysdeps/ia64/fpu/w_log1p.c: New file.
29640         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
29641         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
29642         * math/libm-test.inc (log1p_test_data): Add errno expectations.
29644 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
29646         [BZ #18247]
29647         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
29648         decimal exponent by 1.
29649         * stdlib/tst-strtod-round-data: Add more tests.
29650         * stdlib/tst-strtod-round.c (tests): Regenerated.
29652 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
29654         * math/auto-libm-test-in: Add more tests of clog and clog10.
29655         * math/auto-libm-test-out: Regenerated.
29656         * sysdeps/i386/fpu/libm-test-ulps: Update.
29657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29659 2015-04-09  Roland McGrath  <roland@hack.frob.com>
29661         * Makeconfig (module-cppflags): Exclude all .v.i files.
29662         (skip-module-cppflags): Variable removed.
29664         * configure.ac (libc_config_ok): Initialize before reading
29665         preconfigure scripts, not after.
29666         * configure: Regenerated.
29668         * test-skeleton.c (TIMEOUT): Move #define to top level.
29669         (main): Grok environment variable TEST_DIRECT.  If set, print
29670         test expectation details into that file and then behave as if
29671         given --direct.
29673 2015-04-09  Florian Weimer  <fweimer@redhat.com>
29675         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
29676         warning on 32-bit.
29678 2015-04-08  David S. Miller  <davem@davemloft.net>
29680         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29682 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
29684         * math/auto-libm-test-in: Add more tests of atanh.
29685         * math/auto-libm-test-out: Regenerated.
29686         * sysdeps/i386/fpu/libm-test-ulps: Update.
29687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29689         * math/auto-libm-test-in: Add more tests of atan.
29690         * math/auto-libm-test-out: Regenerated.
29691         * sysdeps/i386/fpu/libm-test-ulps: Update.
29692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29694 2015-04-08  Florian Weimer  <fweimer@redhat.com>
29696         * elf/pldd.c (main): Rewrite to use struct
29697         scratch_buffer instead of extend_alloca.
29698         * elf/pldd-xx.c (find_maps): Likewise.
29699         * grp/initgroups.c: Include <scratch_buffer.h> instead of
29700         <alloca.h>.
29701         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
29702         scratch_buffer instead of extend_alloca.
29703         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
29704         grp/compat-initgroups.c.
29705         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
29706         Rewrite to use struct scratch_buffer instead of extend_alloca.
29707         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
29708         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29710 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
29712         * math/auto-libm-test-in: Add more tests of cbrt.
29713         * math/auto-libm-test-out: Regenerated.
29714         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29716         * math/auto-libm-test-in: Add more tests of cabs.
29717         * math/auto-libm-test-out: Regenerated.
29718         * sysdeps/i386/fpu/libm-test-ulps: Update.
29719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29721         [BZ #18210]
29722         [BZ #18211]
29723         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
29724         (__ieee754_atan2): Set FE_TONEAREST mode for internal
29725         computations.
29726         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
29727         clog10.
29728         * math/auto-libm-test-out: Regenerated.
29729         * sysdeps/i386/fpu/libm-test-ulps: Update.
29730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29732         [BZ #18197]
29733         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
29734         (atan): Set FE_TONEAREST mode for internal computations.
29735         * math/auto-libm-test-in: Add more tests of atan.
29736         * math/auto-libm-test-out: Regenerated.
29738 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
29740         [BZ #17930]
29741         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
29743 2015-04-07  Florian Weimer  <fweimer@redhat.com>
29745         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
29747 2015-04-07  Florian Weimer  <fweimer@redhat.com>
29749         * include/scratch_buffer.h: New file.
29750         * malloc/scratch_buffer_grow.c: Likewise.
29751         * malloc/scratch_buffer_grow_preserve.c: Likewise.
29752         * malloc/scratch_buffer_set_array_size.c: Likewise.
29753         * malloc/tst-scratch_buffer.c: Likewise.
29754         * malloc/Makefile (routines): Add scratch_buffer_grow.
29755         (tests): Add test case.
29756         * malloc/Versions (GLIBC_PRIVATE): Export
29757         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
29758         __libc_scratch_buffer_set_array_size.
29760 2015-04-06  Richard Henderson  <rth@redhat.com>
29762         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
29763         * sysdeps/alpha/fpu/libm-test-ulps: Update.
29765         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
29766         unsigned int before printing.
29768 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29770         [BZ #17596]
29771         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
29772         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
29774 2015-04-02  Florian Weimer  <fweimer@redhat.com>
29776         * include/libc-internal.h (libc_max_align_t): Define.
29778 2015-04-02  Andreas Schwab  <schwab@suse.de>
29780         [BZ #16850]
29781         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
29783 2015-04-02  Mel Gorman  <mgorman@suse.de>
29785         [BZ #17195]
29786         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
29787         as well as the main arena.
29789 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
29791         [BZ #18185]
29792         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
29793         sharing L2 cache to 2 for Silvermont/Knights Landing.
29795 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
29797         [BZ #17711]
29798         * config.make.in (have-protected-data): New.
29799         * configure.ac: Check linker support for protected data symbol.
29800         * configure: Regenerated.
29801         * elf/Makefile (modules-names): Add tst-protected1moda and
29802         tst-protected1modb if $(have-protected-data) is yes.
29803         (tests): Add tst-protected1a and tst-protected1b if
29804         $(have-protected-data) is yes.
29805         ($(objpfx)tst-protected1a): New.
29806         ($(objpfx)tst-protected1b): Likewise.
29807         (tst-protected1modb.so-no-z-defs): Likewise.
29808         * elf/tst-protected1a.c: New file.
29809         * elf/tst-protected1b.c: Likewise.
29810         * elf/tst-protected1mod.h: Likewise.
29811         * elf/tst-protected1moda.c: Likewise.
29812         * elf/tst-protected1modb.c: Likewise.
29814 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
29816         [BZ #17711]
29817         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
29818         indicates it is called from do_lookup_x on relocation against
29819         protected data, skip the data definion in the executable from
29820         copy reloc.
29821         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
29822         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
29823         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
29824         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
29825         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
29826         otherwise to 0.
29827         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
29828         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
29829         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
29830         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
29831         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
29832         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
29834 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
29836         * sysdeps/nptl/pthread.h: Remove duplicate definition of
29837         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
29839 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
29841         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
29842         THREAD_SETMEM_NC.
29843         * sysdeps/x86_64/nptl/tls.h: Ditto.
29845 2015-03-27  Roland McGrath  <roland@hack.frob.com>
29847         * dlfcn/tststatic.c (main): Converted to ...
29848         (do_test): ... this.
29849         (TEST_FUNCTION): New macro.
29850         Include test-skeleton.c.
29852 2015-03-26  Alan Modra  <amodra@gmail.com>
29854         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
29855         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
29856         zero for undefined weak.
29857         (elf_machine_plt_conflict): Similarly.
29859 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
29861         * math/auto-libm-test-in: Add more tests of acosh, asinh and
29862         atanh.
29863         * math/auto-libm-test-out: Regenerated.
29864         * sysdeps/i386/fpu/libm-test-ulps: Update.
29865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29867         * math/auto-libm-test-in: Add another test of asin.
29868         * math/auto-libm-test-out: Regenerated.
29869         * sysdeps/i386/fpu/libm-test-ulps: Update.
29870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29872         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
29873         Remove macro.
29874         (LLL_EBX_REG): Likewise.
29875         (LLL_ENTER_KERNEL): Likewise.
29877         * math/auto-libm-test-in: Add more tests of asin.
29878         * math/auto-libm-test-out: Regenerated.
29879         * sysdeps/i386/fpu/libm-test-ulps: Update.
29880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29882         [BZ #18138]
29883         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
29884         libc_do_syscall_args): New structure.
29885         (INTERNAL_SYSCALL_MAIN_0): New macro.
29886         (INTERNAL_SYSCALL_MAIN_1): Likewise.
29887         (INTERNAL_SYSCALL_MAIN_2): Likewise.
29888         (INTERNAL_SYSCALL_MAIN_3): Likewise.
29889         (INTERNAL_SYSCALL_MAIN_4): Likewise.
29890         (INTERNAL_SYSCALL_MAIN_5): Likewise.
29891         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
29892         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
29893         Replace conditional definitions by conditional definitions of ....
29894         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
29895         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
29896         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
29897         (libpthread-sysdep_routines): Add libc-do-syscall.
29898         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
29899         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
29900         to __NR_futex not 240.
29902 2015-03-25  Alan Modra  <amodra@gmail.com>
29904         * NEWS: Advertise TLS optimization.
29905         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
29906         (DT_PPC_NUM): Increment.
29907         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
29908         (CHECK_STATIC_TLS): Use here.
29909         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
29910         TLS descriptors.
29911         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29912         * sysdeps/powerpc/dl-tls.c: New file.
29913         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
29914         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
29915         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
29916         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
29917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
29918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
29919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
29921 2015-03-25  Alan Modra  <amodra@gmail.com>
29923         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
29924         for overlapping .opd entries" to "support...".
29925         * sysdeps/powerpc/powerpc64/configure: Regenerate
29927 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
29929         * math/auto-libm-test-in: Add more tests of acos.
29930         * math/auto-libm-test-out: Regenerated.
29931         * sysdeps/i386/fpu/libm-test-ulps: Update.
29932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29934         * math/auto-libm-test-in: Add more tests of expm1.
29935         * math/auto-libm-test-out: Regenerated.
29936         * sysdeps/i386/fpu/libm-test-ulps: Update.
29937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29939 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
29941         * math/auto-libm-test-in: Add more tests of cosh and sinh.
29942         * math/auto-libm-test-out: Regenerated.
29943         * sysdeps/i386/fpu/libm-test-ulps: Update.
29944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29946         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29949         * math/auto-libm-test-in: Add more tests of log2.
29950         * math/auto-libm-test-out: Regenerated.
29951         * sysdeps/i386/fpu/libm-test-ulps: Update.
29952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29954 2015-03-23  Roland McGrath  <roland@hack.frob.com>
29956         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
29957         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
29958         _IO_IS_APPENDING bit in READ_WRITE instead.
29960 2015-03-23  Florian Weimer  <fweimer@redhat.com>
29962         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
29963         (__determine_cpumask_size): Replace extend_alloca with a
29964         variable-length array.  Do not treat res == 0 as an error.
29966 2015-03-23  Florian Weimer  <fweimer@redhat.com>
29968         [BZ #18100]
29969         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
29970         and integer overflow.
29971         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
29972         (main): Add integer overflow tests.
29973         * manual/pattern.texi (Calling Wordexp): Document additional use
29974         for WRDE_SYNTAX.
29976 2015-03-23  Alan Modra  <amodra@gmail.com>
29978         * config.h.in: Remove HAVE_ASM_PPC_REL16.
29979         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
29980         and false branch of conditional.
29981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29982         Likewise.
29984 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
29986         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
29987         libc-modules.h
29988         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
29989         unused declaration of _hurd_intr_rpc_msg_in_trap.
29990         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
29991         defined instead of whether it is non-zero.
29992         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
29993         input constraint instead of both input and output constraint.  Use ecx
29994         clobber instead of %ecx.
29995         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
29996         mutex_unlock): Use a statement expression instead of an expression list.
29997         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
29998         type to vm_size_t instead of vm_address_t.
29999         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
30000         defined instead of whether it is non-zero.
30001         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
30002         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
30003         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
30004         comparisons with mapaddr.
30005         * nscd/nscd-client.h: Include <time.h>.
30006         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
30007         9th parameter to __vm_region instead of int.
30008         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
30009         * scripts/check-local-headers.sh (exclude): Add device/,
30010         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
30011         cthreads.h.
30013 2015-03-19  Roland McGrath  <roland@hack.frob.com>
30015         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
30016         to account for alignment padding.
30017         * sysdeps/arm/memmove.S: Likewise.
30019 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
30021         * sysdeps/unix/sysv/linux/generic/README: New file.
30023 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
30025         [BZ #18138]
30026         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
30027         (futex_abstimed_wait)
30028         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
30029         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
30030         of lll_futex_timed_wait.
30032 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
30034         [BZ #17542]
30035         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
30037 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
30039         [BZ #17090]
30040         [BZ #17620]
30041         [BZ #17621]
30042         [BZ #17628]
30043         * NEWS: Update.
30044         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
30045         entries with Static TLS too.  Skip entries past the end of the
30046         allocated DTV, from Alan Modra.
30047         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
30048         Static TLS DTV entry set up from...
30049         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
30050         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
30051         * nptl/allocatestack.c (init_one_static_tls): ... and here...
30052         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
30053         for Static TLS.
30054         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
30055         that the slot we find is associated with the given map before
30056         using its generation count.
30057         * nptl_db/db_info.c: Include ldsodefs.h.
30058         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
30059         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
30060         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
30061         (link_map::l_tls_offset): New struct field.
30062         (dtv_t::counter): Likewise.
30063         (rtld_global): New struct.
30064         (_rtld_global): New rtld variable.
30065         (dl_tls_dtv_slotinfo_list): New rtld global field.
30066         (dtv_slotinfo_list): New struct.
30067         (dtv_slotinfo): Likewise.
30068         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
30069         (td_lookup): Rename to...
30070         (td_mod_lookup): ... this.  Use new mod parameter instead of
30071         LIBPTHREAD_SO.
30072         * nptl_db/td_thr_tlsbase.c: Include link.h.
30073         (dtv_slotinfo_list, dtv_slotinfo): New functions.
30074         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
30075         addresses even if the DTV is out of date or missing them.
30076         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
30077         index zero-length arrays.
30078         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
30079         (td_lookup): Make it a macro implemented in terms of...
30080         (td_mod_lookup): ... this declaration.
30081         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
30082         (DB_MAIN_VARIABLE): Likewise.
30084 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
30086         [BZ #18134]
30087         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
30089 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
30091         * stdlib/setenv.c (__add_to_environ): Revert previous change.
30093 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
30095         [BZ #18128]
30096         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
30097         (atomic_add, atomic_increment_and_test)
30098         (atomic_decrement_and_test): Fix 64-bit arithmetic.
30100 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
30102         * stdlib/setenv.c (__add_to_environ):
30103         Dump core quickly if setenv (..., NULL, ...) is called.
30105 2015-03-13  Roland McGrath  <roland@hack.frob.com>
30107         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
30108         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
30109         all the necessary asm magic in one place.
30110         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
30111         using those.
30113 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
30115         [BZ #14906]
30116         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
30117         traced file mtime. Use consistent log message.
30118         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
30119         (register_traced_file): Call install_watches. Always set mtime.
30120         (invalidate_cache): Iterate over all trace files. Call install_watches.
30121         (inotify_check_files): Don't inline. Handle watching parent
30122         directories and configuration file movement in and out.
30123         (handle_inotify_events): New function.
30124         (main_loop_poll): Call handle_inotify_events.
30125         (main_loop_epoll): Likewise.
30126         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
30127         (struct traced_file): Use array of inotify fds. Add parent directory,
30128         and basename.
30129         (struct database_dyn): Remove unused file_mtime.
30130         (init_traced_file): New inline function.
30131         (define_traced_file): New macro.
30132         * nss/nss_db/db-init.c: Use define_traced_file.
30133         (_nss_db_init): Use init_traced_file.
30134         * nss/nss_files/files-init.c: Use define_traced_file.
30135         (_nss_files_init): Use init_traced_file.
30137 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
30139         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
30140         [_LIBC]: Do not include <stdlib.h>.
30141         [!_LIBC] (abort): Remove declaration.
30142         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
30143         _FP_STATIC_ASSERT instead of conditionally calling abort.
30144         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
30145         (_FP_EXTEND_CNAN): Likewise.
30146         (FP_TRUNC): Likewise.
30147         (__FP_CLZ): Likewise.
30148         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
30150 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
30152         * manual/string.texi (XPG basename): Fix prototype.
30154 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30156         [BZ #18080]
30157         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
30158         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
30159         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
30160         (__setcontext): Likewise.
30161         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
30162         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
30163         Call rt_sigprocmask syscall one time to set new signal mask
30164         and retrieve the current signal mask instead of two calls.
30165         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
30166         (__swapcontext): Likewise.
30167         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
30168         * stdlib/tst-setcontext2.c: New file.
30170 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30172         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30174 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
30176         [BZ #18093]
30177         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
30178         the wrong size.
30180 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
30182         [BZ #18043]
30183         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
30185 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
30187         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
30188         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
30189         Remove define.
30190         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
30191         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
30192         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
30193         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
30194         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
30195         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
30196         define.
30197         * nptl_db/td_symbol_list.c (td_lookup): Remove
30198         HAVE_ASM_GLOBAL_DOT_NAME code.
30199         * sysdeps/powerpc/powerpc64/configure.ac: Remove
30200         HAVE_ASM_GLOBAL_DOT_NAME check.
30201         * sysdeps/powerpc/powerpc64/configure: Regenerate.
30202         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
30203         (DOT_LABEL): Remove define.
30204         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
30205         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
30206         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
30207         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
30208         (__TLS_GET_ADDR): Likewise.
30209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
30210         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
30212 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
30214         [BZ #18111]
30215         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
30216         (_FPU_SETCW): Initialize cw from fpsr before storing.
30217         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
30218         (fesetexceptflag): Rewrite using fpu_control.h.
30219         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
30221 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
30223         [BZ #18110]
30224         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
30225         asms.
30226         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
30228 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
30230         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
30231         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
30232         abort.
30233         (_FP_FMA): Likewise.
30234         (_FP_DIV): Likewise.
30236 2015-03-10  Roland McGrath  <roland@hack.frob.com>
30238         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
30239         with 0 in that case.
30240         * Makefile (summarize-tests): New canned sequence, factored out of
30241         commands for targets tests and xtests.  Display summary lines that
30242         don't start with PASS: or XFAIL: rather than ones that do start with
30243         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
30244         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
30245         do start with ERROR: or FAIL:.
30246         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
30247         (except for [$(build-shared) = yes]).
30248         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
30249         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
30250         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
30251         * nptl/Makefile: Revert 2015-03-04 changes.
30252         [$(CXX) empty] (tests-unsupported): New variable.
30253         * debug/Makefile: Likewise.
30255         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
30256         gnulib file.  Replace __attribute with __attribute__ throughout.
30258 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
30260         * sysdeps/hppa/fpu/libm-test-ulps: Update.
30262 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
30264         [BZ #18104]
30265         * math/auto-libm-test-in: Add another test of pow.
30266         * math/auto-libm-test-out: Regenerated.
30268 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30270         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
30271         $(config-cflags-nofma).
30273 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
30275         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
30276         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
30277         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
30278         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
30279         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
30280         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
30281         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
30282         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
30283         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
30284         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
30285         Add comment on closing #endif.
30287 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
30289         * posix/wordexp.c (CHAR_IN_SET): New macro.
30290         (parse_param): Use it.
30292 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30294         * sysdeps/powerpc/fpu/libm-test-ulps: update.
30296 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
30298         [BZ #18043]
30299         * posix/wordexp.c (parse_param): Fix buffer overflow.
30300         * posix/wordexp-test.c (test_case): Add test case.
30302 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
30304         [BZ #18042]
30305         * posix/wordexp.c (parse_backtick): Fix off-by-one.
30306         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
30308 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
30310         [BZ #18043]
30311         * posix/wordexp-test.c (test_case): Add test for BZ #18043
30312         (do_bz18043): Delete.
30313         (at_page_end): New.
30314         (testit): Refactor to have words at the edge of unreadable page.
30316 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
30318         [BZ #16734]
30319         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
30320         Cleanup read-only streams as well.
30321         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
30323 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30325         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
30326         <bits/libc-lockP.h>
30328 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
30330         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
30331         on [__KERNEL__].
30332         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
30333         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
30334         * soft-fp/op-common.h (_FP_DECL): Likewise.
30336 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
30338         * elf/ifuncdep2.c (global): Replace
30339         __attribute__((visibility("protected"))) with
30340         asm (".protected global").
30341         * elf/ifuncmod1.c (global): Likewise.
30342         * elf/ifuncmod5.c (global): Likewise.
30344 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
30346         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
30347         <asm/sfp-machine.h> instead of <sfp-machine.h>.
30349 2015-03-06  Roland McGrath  <roland@hack.frob.com>
30351         * manual/install.texi (Configuring and compiling):
30352         Document test-wrapper-env-only.
30353         * INSTALL: Regenerated.
30355 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
30357         [BZ #18043]
30358         * posix/wordexp.c (parse_param): Fix buffer overflow.
30359         * posix/wordexp-test.c (do_bz18043): Add test case.
30361 2015-03-06  Vincent Bernat  <vincent@bernat.im>
30363         * time/tst-strptime2.c (do_test): Ensure failing tests are
30364         reported correctly.
30365         * time/tst-strptime3.c (do_test): Likewise.
30367 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
30369         Fix aio_error thread-safety.
30370         * sysdeps/pthread/aio_error.c: New file
30371         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
30372         synchronization.
30374 2015-03-06  Florian Weimer  <fweimer@redhat.com>
30376         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
30377         (group_number, vfprintf): Use it.
30378         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
30379         (JUMP, REF): Use it.
30380         (WORK_BUFFER_SIZE): New enum constant.
30381         (process_arg, vfprintf): Use it.
30383 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
30385         * manual/errno.texi (Error Messages): Complete example function
30386         by adding missing #define.
30387         (program_invocation_name): Add statement indicating GNU
30388         extension and reference which header file declares the variable.
30389         (program_invocation_short_name): Likewise.
30391 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
30393         * manual/errno.texi (Error Messages): Delete strerror ISO C89
30394         compatibility note.
30396 2015-03-05  Roland McGrath  <roland@hack.frob.com>
30398         * Makeconfig (test-wrapper-env-only): New variable.
30399         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
30400         then use that with $(test-wrapper-env-only) rather than using
30401         $(test-wrapper-env) $(run-program-env) $($*-ENV).
30403 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
30405         [BZ #18082]
30406         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
30407         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
30408         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
30409         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
30410         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
30411         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
30412         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
30413         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
30414         Likewise.
30415         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
30416         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
30417         Likewise.
30418         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
30419         Likewise.
30420         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
30421         Likewise.
30422         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
30423         Likewise.
30424         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
30425         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
30426         Likewise.
30427         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
30428         Likewise.
30429         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
30430         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
30432 2015-03-04  Roland McGrath  <roland@hack.frob.com>
30434         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
30435         (ETH_ALEN): New macro.
30436         (struct ether_addr): Use it for length of ether_addr_octet.
30438         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
30439         (setdb): Don't call __nss_configure_lookup for "rpc".
30440         (do_test): Don't call test_rpc.
30441         (output_rpcent, test_rpc): Functions moved ...
30442         * sunrpc/test-rpcent.c: ... to this new file.
30443         * sunrpc/Makefile (tests): Add it.
30445         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
30446         __xpg_sigpause.
30447         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
30448         * nptl/tst-signal6.c: Likewise.
30449         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
30450         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
30452         * configure.ac (libc_cv_cxx_link_ok): New check.
30453         Reset CXX to empty if it fails to link.
30454         * configure: Regenerated.
30455         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
30456         bug-atexit3-lib only if $(CXX) is nonempty.
30457         * nptl/Makefile (tests): Likewise for tst-cancel24.
30458         (tests, tests-static): Likewise for tst-cancel24-static.
30459         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
30460         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
30461         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
30462         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
30464 2015-03-04  Andreas Schwab  <schwab@suse.de>
30466         [BZ #17631]
30467         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
30468         for non-GCC compilers.
30469         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
30470         Likewise.
30472 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
30474         [BZ #17776]
30475         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
30476         integer before bitwise and assembly operations.
30477         (feclearexcept): Likewise.
30478         * math/test-fenvinline.c: New file.
30479         * math/Makefile: Add test-fenvinline test.
30481 2015-03-03  Alan Modra  <amodra@gmail.com>
30483         [BZ #16512]
30484         * scripts/localplt.awk: Strip off symbol version.
30485         * NEWS: Mention bug fix.
30487 2015-03-02  Roland McGrath  <roland@hack.frob.com>
30489         * sysdeps/pthread/timer_routines.c
30490         (timer_free_list, thread_free_list, thread_active_list): Make static.
30492 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
30494         [BZ #17779]
30495         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30496         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
30497         Undefine.
30498         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30499         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
30500         Likewise.
30501         * sysdeps/unix/sysv/linux/sh/kernel-features.h
30502         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
30503         Likewise.
30505 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
30507         [BZ #18036]
30508         * posix/fnmatch_loop.c (END): Detect invalid pattern.
30509         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
30511 2015-03-02  Andreas Schwab  <schwab@suse.de>
30513         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
30514         variable name.
30516 2015-03-02  Florian Weimer  <fweimer@redhat.com>
30518         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
30519         Return error status.
30521 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
30523         [BZ #15969]
30524         * locale/findlocale.c (_nl_find_locale): Introduce const
30525         version of loc_name and drop unsafe type casts.
30527 2015-02-27  Roland McGrath  <roland@hack.frob.com>
30529         * dlfcn/tststatic2.c (main): Converted to ...
30530         (do_test): ... this.
30531         (TEST_FUNCTION): New macro.
30532         Include test-skeleton.c.
30534 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
30536         [BZ #17711]
30537         * elf/Makefile (tests): Add vismain only if PIE is enabled.
30538         (tests-pie): Add vismain.
30539         (CFLAGS-vismain.c): New.
30540         * elf/vismain.c: Add comments for PIE requirement.
30542 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
30544         [BZ #18046]
30545         [BZ #18047]
30546         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
30547         0x1p-56L as threshold for just returning the argument.
30548         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
30549         0x1p-32L as threshold for just returning the argument.
30550         * math/auto-libm-test-in: Add more tests of atanh.
30551         * math/auto-libm-test-out: Regenerated.
30552         * sysdeps/i386/fpu/libm-test-ulps: Update.
30553         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
30555 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
30557         * string/bcopy.c (bcopy): Call memmove for performance.
30559 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
30561         * string/bzero.c (__bzero): Call memset for performance.
30563 2015-02-27  John David Anglin  <dave.anglin@bell.net>
30565         [BZ #18068]
30566         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
30567         to 00100000.
30569 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
30571         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
30573 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
30575         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
30576         (__kernel_standard): Use CSTR macro when setting exc.name.
30577         * sysdeps/ieee754/Makefile [$(subdir) = math]
30578         (CFLAGS-k_standard.c): Remove variable.
30580         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
30581         setting p and q from "else if" to "else".
30582         (qzero): Likewise.
30583         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
30584         (qone): Likewise.
30585         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
30586         (qzerof): Likewise.
30587         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
30588         (qonef): Likewise.
30589         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
30590         (qzero): Likewise.
30591         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
30592         (qone): Likewise.
30594         [BZ #18038]
30595         [BZ #18039]
30596         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
30597         return pi/2 for arguments below 0x1p-113L.
30598         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
30599         return pi/2 for arguments below 0x1p-106L.
30600         * math/auto-libm-test-in: Add more tests of acos.
30601         * math/auto-libm-test-out: Regenerated.
30603         [BZ #16351]
30604         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
30605         (MO): New macro.
30606         (__ieee754_asin): Force underflow exception for results with small
30607         absolute value.
30608         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
30609         (MO): New macro.
30610         (__ieee754_asinf): Force underflow exception for results with
30611         small absolute value.
30612         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
30613         (__ieee754_asin): Force underflow exception for results with small
30614         absolute value.
30615         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
30616         (__ieee754_asinf): Force underflow exception for results with
30617         small absolute value.
30618         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
30619         (__ieee754_asinl): Force underflow exception for results with
30620         small absolute value.
30621         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
30622         (__ieee754_asinl): Force underflow exception for results with
30623         small absolute value.
30624         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
30625         (__ieee754_asinl): Force underflow exception for results with
30626         small absolute value.
30627         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
30628         Include <math.h>.
30629         * math/auto-libm-test-in: Do not mark underflow exceptions as
30630         possibly missing for bug 16351.
30631         * math/auto-libm-test-out: Regenerated.
30633         [BZ #18030]
30634         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
30635         of power of 2 down when low part has opposite sign.
30636         * math/libm-test.inc (logb_test_data): Add more tests.
30638 2015-02-26  Andreas Schwab  <schwab@suse.de>
30640         [BZ #18032]
30641         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
30642         over collating symbol inside a bracket expression.  Minor cleanup.
30643         * posix/tst-fnmatch3.c (do_test): Add test case.
30645 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
30647         [BZ #18029]
30648         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
30649         Adjust exponent of power of 2 down when low part has opposite
30650         sign.
30651         * math/libm-test.inc (ilogb_test_data): Add more tests.
30653 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
30655         [BZ #15969]
30656         * locale/findlocale.c (_nl_find_locale): Fix constness error in
30657         the previous change.
30659         [BZ #15969]
30660         * locale/findlocale.c (_nl_find_locale): Retry archive search
30661         after alias expansion.
30663 2015-02-25  Roland McGrath  <roland@hack.frob.com>
30665         * iconv/tst-iconv3.c (main): Converted to ...
30666         (do_test): ... this.
30667         (TEST_FUNCTION): New macro.
30668         Include test-skeleton.c.
30670         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
30671         (convert): Make function static.
30672         (test_unalign): Likewise.  Add const to argument pointee types.
30673         (main): Replace with static function do_test.
30674         Print "Succeeded." only if RET is zero.
30675         (TEST_FUNCTION): New macro.
30676         Include test-skeleton.c.
30678         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
30679         returns a null pointer.
30681 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30683         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
30684         to __memcpy_ppc only for static builds.
30686 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
30688         [BZ #18020]
30689         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
30690         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
30691         * math/auto-libm-test-in: Add more tests of asinh.
30692         * math/auto-libm-test-out: Regenerated.
30693         * sysdeps/i386/fpu/libm-test-ulps: Update.
30694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30696 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
30698         [BZ #15850]
30699         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
30700         and ip6_mtuinfo definitions here.
30701         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
30702         in this define too.  Update comment.
30704 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
30706         * elf/sprof.c (load_shobj): Tweak error message to match others.
30708 2015-02-24  Kevin Easton  <kevin@guarana.org>
30710         [BZ #16145] (partial fix)
30711         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
30712         to reduce lock contention.
30714 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
30716         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
30717         (struct timex): Update time comment.
30718         (ADJ_SETOFFSET): Define.
30720 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
30722         [BZ #18019]
30723         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30724         2**56 not 2**28 as threshold for log (2x) formula.
30725         * math/auto-libm-test-in: Add more tests of acosh.
30726         * math/auto-libm-test-out: Regenerated.
30727         * sysdeps/i386/fpu/libm-test-ulps: Update.
30728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30730 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
30732         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
30733         parenthesis around the buf assignment.
30734         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
30736 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
30738         [BZ #16783]
30739         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
30740         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
30741         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
30742         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
30743         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
30744         * math/libm-test.inc (scalb_test_data): Add more tests.
30746 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30748         [BZ #17916]
30749         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
30750         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
30752 2015-02-24  Eric Rannaud  <e@nanocritical.com>
30754         [BZ #17523]
30755         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
30756         * io/bits/fcntl2.h (open): Use it.
30757         (openat): Likewise.
30758         * io/open.c (__libc_open): Likewise.
30759         * io/open64.c (__libc_open64): Likewise.
30760         * io/open64_2.c (__open64_2): Likewise.
30761         * io/open_2.c (__open_2): Likewise.
30762         * io/openat.c (__openat): Likewise.
30763         * io/openat64.c (__openat64): Likewise.
30764         * io/openat64_2.c (__openat64_2): Likewise.
30765         * io/openat_2.c (__openat_2): Likewise.
30766         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
30767         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
30768         * sysdeps/posix/open64.c (__libc_open64): Likewise.
30769         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
30770         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
30771         (__open_nocancel): Likewise.
30772         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
30773         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
30774         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
30776 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30778         [BZ #14841]
30779         * resolv/gethnamaddr.c (getanswer): Skip logging if
30780         RES_USE_DNSSEC is set.
30781         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30783 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
30785         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
30787 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
30789         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
30790         201304L, for Unicode 7.
30792 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
30794         [BZ #17836]
30795         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
30796         shared library.  Add gmon-start.os otherwise.
30797         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
30798         $(objpfx)gmon-start.os if builing shared library.
30799         ($(objpfx)g$(static-start-installed-name)): Likewise.
30801 2015-02-23  Andreas Schwab  <schwab@suse.de>
30803         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
30805 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
30807         [BZ #17269]
30808         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
30809         (enlarge_userbuf): Likewise.
30811 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
30813         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
30814         * math/atest-exp.c (TIMEOUT): Adjust to 200.
30815         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
30816         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
30818 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
30820         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
30821         expression inside statement expression.
30823 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
30825         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
30826         <sysdeps/nptl/lowlevellock.h> and remove macros and
30827         functions that are now defined there.
30828         (SYS_futex): Remove.
30829         (lll_compare_and_swap): Remove.
30830         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
30832 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
30834         [BZ #17999]
30835         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
30836         instead of scandirat.
30837         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
30838         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
30839         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
30840         __scandirat.
30841         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
30842         (__scandirat): Declare.  Use libc_hidden_proto.
30843         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
30844         Remove variable.
30845         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
30847 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
30849         [BZ #15319]
30850         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
30851         (MO): New macro.
30852         (__ieee754_atan2): For results with small absolute value, force
30853         underflow exception and remove excess range and precision from
30854         return value.
30855         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
30856         (MO): New macro.
30857         (__ieee754_atan2f): For results with small absolute value, force
30858         underflow exception and remove excess range and precision from
30859         return value.
30860         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
30861         (MO): New macro.
30862         (__atan): For results with small absolute value, force underflow
30863         exception and remove excess range and precision from return value.
30864         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
30865         (MO): New macro.
30866         (__atanf): For results with small absolute value, force underflow
30867         exception and remove excess range and precision from return value.
30868         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
30869         <math.h>.
30870         (__ieee754_atan2): Force underflow exception for results with
30871         small absolute value.
30872         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
30873         <math_private.h>.
30874         (atan): Force underflow exception for results with small absolute
30875         value.
30876         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
30877         (__atanf): Force underflow exception for results with small
30878         absolute value.
30879         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
30880         <math.h>.
30881         (__atanl): Force underflow exception for results with small
30882         absolute value.
30883         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
30884         (__atanl): Force underflow exception for results with small
30885         absolute value.
30886         * sysdeps/x86/fpu/bits/mathinline.h
30887         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
30888         (__ieee754_atan2): Only define inline for long double.
30889         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
30890         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
30891         * math/auto-libm-test-in: Do not mark underflow exceptions as
30892         possibly missing for bug 15319.  Add more tests of atan2.
30893         * math/auto-libm-test-out: Regenerated.
30894         * math/libm-test.inc (casin_test_data): Do not mark underflow
30895         exceptions as possibly missing for bug 15319.
30896         (casinh_test_data): Likewise.
30897         * sysdeps/i386/fpu/libm-test-ulps: Update.
30899 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
30901         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
30902         * sysdeps/mips/bits/endian.h: Fix comments.
30904 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
30906         [BZ #17996]
30907         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
30908         (hdestroy_r): Likewise.
30909         (hsearch_r): Likewise.
30910         (__hcreate_r): Declare and use libc_hidden_proto.
30911         (__hdestroy_r): Likewise.
30912         (__hsearch_r): Likewise.
30913         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
30914         (hcreate): Call __hcreate_r instead of hcreate_r.
30915         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
30916         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
30917         as weak alias of __hcreate_r.
30918         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
30919         __hdestroy_r.
30920         (hsearch_r): Rename to __hsearch_r and define as weak alias of
30921         __hsearch_r.
30922         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
30923         Remove variable.
30924         (test-xfail-XPG4/search.h/linknamespace): Likewise.
30925         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
30926         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
30927         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
30929 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30931         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
30932         arena_lock into a single arena_get.
30934 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
30936         * dl-reloc.c: Inlucde libc-internal.h.
30937         (_dl_try_allocate_static_tls): Call ALIGN_UP.
30938         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
30939         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
30940         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
30941         (grow_heap): Likewise.
30942         * malloc/malloc.c: Include libc-internal.h.
30943         (do_check_malloc): Call powerof2.
30944         (sysmalloc): Use pagesize. Call ALIGN_UP.
30945         (systrim): Use pagesize.
30946         (mremap_chunk): Use pagesize. Call ALIGN_UP.
30947         (__libc_valloc): Use pagesize.
30948         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
30950 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
30952         [BZ #17991]
30953         * include/sys/resource.h (__getrlimit64): Declare.  Use
30954         libc_hidden_proto.
30955         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
30956         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
30957         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
30958         getrlimit64.
30959         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
30960         __getrlimit64.
30961         [!getrlimit64] (getrlimit64): Define as weak alias of
30962         __getrlimit64.  Use libc_hidden_weak.
30963         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
30964         using __getrlimit64 not __new_getrlimit64.
30965         (__GI_getrlimit64): Likewise.
30966         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
30967         Likewise.
30968         (__GI_getrlimit64): Likewise.
30969         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
30970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
30971         (getrlimit): Add __getrlimit64 alias.
30972         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
30973         Likewise.
30974         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
30975         Remove variable.
30976         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
30977         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
30979 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
30981         * libio/fileops.c: Add missing sys/mman.h
30982         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
30984 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
30986         * manual/math.texi (Errors in Math Functions): Clarify goals
30987         regarding inexact and underflow exceptions.
30989 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
30991         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
30992         * sysdeps/mips/memset.S: Ditto.
30994 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
30996         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
30998 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
31000         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
31001         (__v1longjmp): Remove versioned symbol.
31002         (__v1siglongjmp): Remove alias and versioned symbol.
31003         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
31004         (__v2siglongjmp): Likewise.
31006 2015-02-16  Torvald Riegel  <triegel@redhat.com>
31008         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
31010 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
31012         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
31014 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
31016         [BZ #17987]
31017         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
31018         zero result does not depend on the sign resulting from
31019         subtraction.
31020         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
31021         Likewise.
31022         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31023         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31024         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31025         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31026         * math/libm-test.inc (remquo_test_data): Add more tests.
31028 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
31030         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
31031         Problem reported by J William Piggott.
31033 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
31035         [BZ #17978]
31036         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
31037         products 4 * y and 2 * y where those would overflow.
31038         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
31039         Likewise.
31040         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31041         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31042         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31043         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31044         * math/libm-test.inc (remquo_test_data): Add more tests.
31046         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
31048         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
31049         [defined _COMPILING_NEWLIB].
31050         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
31051         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
31053         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
31054         [!defined __mips_isa_rev || __mips_isa_rev < 6].
31056 2015-02-16  Torvald Riegel  <triegel@redhat.com>
31058         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
31059         acquired.
31061 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
31063         [BZ #17792]
31064         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
31065         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
31066         HOST_STACK_END_ADDR): Likewise.
31068 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
31070         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
31071         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
31072         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
31074 2015-02-13  Roland McGrath  <roland@hack.frob.com>
31076         * sysdeps/generic/c++-types.data: New file.
31077         * sysdeps/generic/ld.abilist: New file.
31078         * sysdeps/generic/libBrokenLocale.abilist: New file.
31079         * sysdeps/generic/libanl.abilist: New file.
31080         * sysdeps/generic/libc.abilist: New file.
31081         * sysdeps/generic/libcrypt.abilist: New file.
31082         * sysdeps/generic/libdl.abilist: New file.
31083         * sysdeps/generic/libm.abilist: New file.
31084         * sysdeps/generic/libpthread.abilist: New file.
31085         * sysdeps/generic/libresolv.abilist: New file.
31086         * sysdeps/generic/librt.abilist: New file.
31088 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
31090         [BZ #17569]
31091         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
31092         Compute absolute value of x as modified by fmod, not original
31093         value of x.
31094         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
31095         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
31096         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
31097         RUN_TEST_ffI_f1_mod8.
31098         (remquo_test_data): Add more tests.
31100 2015-02-13  Roland McGrath  <roland@hack.frob.com>
31102         * sysdeps/init_array/pt-crti.S: New file.
31104 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
31106         [BZ #17967]
31107         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
31108         __builtin_fmaf instead of relying on contraction of a * b + c.
31110 2015-02-12  J William Piggott  <elseifthen@gmx.com>
31112         [BZ #17969]
31113         * manual/time.texi: correct the zoneinfo path in the TZ Variable
31114         node.
31116 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
31118         [BZ #17964]
31119         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
31120         __builtin_fma instead of relying on contraction of a * b + c.
31122 2015-02-12  Roland McGrath  <roland@hack.frob.com>
31124         * Makeconfig (ASFLAGS): Add -Werror=undef.
31125         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
31126         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
31127         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
31129         * Makeconfig (after-link): New variable.
31130         (+link-pie, +link-pie-tests): Use it.
31131         (+link-static, +link-static-tests): Likewise.
31132         (+link, +link-tests): Likewise.
31133         * Makerules (build-module, build-module-asneeded): Likewise.
31134         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
31135         Likewise.
31136         * elf/Makefile ($(objpfx)ld.so): Likewise.
31138 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
31140         [BZ #17965]
31141         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
31142         both struct timeval and struct timespec.
31144 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
31146         [BZ #16560]
31147         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31148         and redefine.
31149         (__ieee754_exp2l): Do not multiply small fractional parts by
31150         M_LN2l.
31151         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
31152         small argument.
31153         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31154         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31155         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
31156         * math/auto-libm-test-in: Add more tests of exp2.
31157         * math/auto-libm-test-out: Regenerated.
31159 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31161         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
31162         unaligned path.
31164 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31166         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
31167         little endian.
31169 2015-02-12  Andreas Schwab  <schwab@suse.de>
31171         [BZ #15790]
31172         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
31173         Filter out elision flags from value returned in kind.
31174         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
31175         * nptl/tst-pthread-mutexattr.c: New file.
31177 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31179         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
31180         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
31181         into gnu-gnu, and update comment to refer to abi-tags.
31183 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
31185         [BZ #15467]
31186         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
31187         (__sincos): Set errno to EDOM for infinite argument.
31188         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
31189         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
31190         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
31191         (__sincosl): Set errno to EDOM for infinite argument.
31192         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
31193         (__sincosl): Set errno to EDOM for infinite argument.
31194         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
31195         (__sincosl): Set errno to EDOM for infinite argument.
31196         * math/libm-test.inc (sincos_test_data): Test errno setting.
31198 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
31200         * string/strxfrm_l.c: Remove #define STRCMP.
31201         * string/strcoll_l.c: Remove #define STRLEN.
31202         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
31203         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
31205 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
31207         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
31208         * sysdeps/mips/mips32/sfp-machine.h: ... here.
31209         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
31210         * sysdeps/mips/mips64/Makefile: ... here.
31211         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
31212         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
31213         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
31214         * sysdeps/mips/mips64/sfp-machine.h: ... here.
31215         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
31216         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
31217         * sysdeps/mips/mips64/n64/Implies: Likewise.
31219 2015-02-10  Roland McGrath  <roland@hack.frob.com>
31221         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
31222         <sys/time.h>, <string.h>, and <errno.h>.
31223         (dest_offset, dest_address, value, zero): Remove unused variables.
31224         (ldouble): Remove typedef.
31225         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
31226         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
31227         1).  Fix code style.
31228         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
31229         (check): Function removed.
31230         (CHECK): New macro.
31231         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
31232         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
31233         Don't call set_sigaction_FP and remove_sigaction_FP here.
31234         (ldouble_test): Just use 'long double' as macro argument, no need for
31235         the 'ldouble' typedef.
31236         (do_test): Set up SIGFPE handler at start, using plain signal rather
31237         than sigaction.  Fix code style.
31239 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
31241         [BZ #17949]
31242         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
31243         jump label.
31245 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31247         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
31248         * sysdeps/powerpc/powerpc32/configure: Regenerated.
31250         * sysdeps/powerpc/configure.ac: Remove file.
31251         * sysdeps/powerpc/configure: Likewise.
31253         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
31254         [sysdep_routines]: Remove wordcopy-power6 object.
31255         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
31256         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
31257         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
31258         (__memmove_ppc32): Likewise.
31259         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
31260         file.
31261         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
31262         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
31263         Remove preprocessor.
31265         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
31266         [sysdep_routines]: Remove wide chars objects.
31267         [wcsmbs]: New rule for wide char objects.
31269         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31270         Remove wordcopy-power6 obejct.
31271         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
31272         Use local call for wordcopy and memcpy symbols.
31273         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
31274         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
31275         implementation for loader.
31276         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
31278         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31279         Remove wordcopy-power7 object.
31280         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
31281         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
31282         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
31283         (_wordcopy_fwd_dest_aligned): Likewise.
31284         (_wordcopy_bwd_aligned): Likewise.
31285         (_wordcopy_bwd_dest_aligned): Likewise.
31287         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
31288         Rewrite to call __memmove_ppc instead of include default
31289         implementation.
31291         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31292         Remove wide chars objects.
31293         [wcsmbs]: New rule for wide char objects.
31295 2015-02-09  Andreas Schwab  <schwab@suse.de>
31297         [BZ #17912]
31298         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
31299         in terms of __O_DIRECTORY.
31301 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31303         * time/getdate.c: Include <stdbool.h>.
31304         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
31305         call PTR_MANGLE.
31306         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
31307         PTR_DEMANGLE.
31309 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
31311         Add ersatz _Static_assert on older C hosts
31312         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
31313         pre-C11 C platform that is not known to support _Static_assert.
31315 2015-02-07  Richard Braun  <rbraun@sceen.net>
31317         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
31318         sigstate.
31319         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
31321 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31323         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
31324         priority against unexistent AIO_PRIO_DELTA_MAX.
31325         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
31326         instead of int.
31327         * misc/fchflags.c (fchflags): Likewise.
31328         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
31329         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
31330         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
31331         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
31332         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
31333         Declare macros.
31334         [__USE_MISC] (chflags, fchflags): Declare functions.
31335         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
31336         EINVAL when nfds is greater than FD_SETSIZE.
31337         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
31338         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
31339         45.
31340         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
31341         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
31342         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
31343         MACH_RCV_TIMED_OUT.
31344         * hurd/hurd/signal.h (_hurd_self_sigstate,
31345         _hurd_critical_section_lock, _hurd_critical_section_unlock):
31346         Explicit casts from void *.
31347         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
31348         * abi-tags: Rename gnu-gnu os into gnu.
31350         [BZ #4719]
31351         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
31352         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
31353         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
31354         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
31355         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
31356         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
31358         [BZ #17944]
31359         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
31360         duplicates ADDR->sun_path with sockaddr LEN limitation.
31361         * sysdeps/mach/hurd/connect.c: Include <string.h>
31362         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
31363         * sysdeps/mach/hurd/sendmsg.c: Likewise.
31364         * sysdeps/mach/hurd/sendto.c: Likewise.
31365         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
31366         implementing it by hand.
31368 2015-02-06  Roland McGrath  <roland@hack.frob.com>
31370         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
31371         Use sfi_breg on ldr.
31372         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
31373         Likewise.
31375         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
31376         it's defined.
31377         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
31378         Test SIGSETXID only if it's defined.
31380         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
31382         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
31383         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
31385         * nptl/tst-align2.c: Moved ...
31386         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
31387         * nptl/Makefile (tests): Remove tst-align2.
31388         * sysdeps/unix/sysv/linux/Makefile
31389         [$(subdir) = nptl] (tests): Add tst-align-clone.
31390         * nptl/tst-getpid1.c: Moved ...
31391         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
31392         * nptl/tst-getpid2.c: Moved ...
31393         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
31394         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
31395         * sysdeps/unix/sysv/linux/Makefile
31396         [$(subdir) = nptl] (tests): ... here.
31397         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
31398         * sysdeps/unix/sysv/linux/Makefile
31399         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
31401         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
31402         Drop trailing \n from perror argument.  Use return rather than exit.
31404         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
31405         on [SA_SIGINFO].
31406         * nptl/tst-cancel21.c (do_test): Likewise.
31407         * debug/tst-backtrace6.c: Include <signal.h> first thing.
31408         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
31409         [!SA_SIGINFO]: Make it a stub test.
31411         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
31412         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
31414         * posix/tst-getlogin.c: Move to ...
31415         * login/tst-getlogin.c: ... here.
31416         * posix/Makefile (tests): Move tst-getlogin to ...
31417         * login/Makefile (tests): ... here.
31419         * libio/tst-atime.c (do_test): Move local variables SV and E
31420         inside [ST_NOATIME] conditional.
31422         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
31424         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
31426         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
31427         (wait_code): New function replaces macro.
31428         Call nanosleep rather than syscall.
31430         * nptl/pt-system.c: Rewritten.  Put everything under
31431         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
31432         Use IFUNC to redirect when possible.
31434         * nptl/pt-longjmp.c: Rewritten.  Put everything under
31435         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
31436         Use IFUNC to redirect when possible.
31438         * nptl/pt-fork.c: Rewritten.  Put everything under
31439         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
31440         Use IFUNC to redirect when possible.
31441         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
31443         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
31444         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
31445         unconditionally nowadays.  This included the only reference to
31446         __vdso_clock_gettime that appears outside libc proper.
31447         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
31448         Remove version set (containing only __vdso_clock_gettime).
31449         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
31450         Add attribute_hidden.
31451         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
31452         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
31453         libc_hidden_data_def.
31454         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
31455         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
31457         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
31458         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
31459         setrpcent, and getrpcport to ...
31460         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
31461         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
31462         getrpcbynumber_r, and getrpcent_r to ...
31463         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
31464         * inet/getrpcbyname.c: Moved ...
31465         * sunrpc/getrpcbyname.c: ... here.
31466         * inet/getrpcbyname_r.c: Moved ...
31467         * sunrpc/getrpcbyname_r.c: ... here.
31468         * inet/getrpcbynumber.c: Moved ...
31469         * sunrpc/getrpcbynumber.c: ... here.
31470         * inet/getrpcbynumber_r.c: Moved ...
31471         * sunrpc/getrpcbynumber_r.c: ... here.
31472         * inet/getrpcent.c: Moved ...
31473         * sunrpc/getrpcent.c: ... here.
31474         * inet/getrpcent_r.c: Moved ...
31475         * sunrpc/getrpcent_r.c: ... here.
31476         * inet/Makefile (routines): Move those to ...
31477         * sunrpc/Makefile (routines): ... here.
31478         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
31479         the $(subdirs) list.
31480         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
31481         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
31482         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
31483         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
31485         * elf/Makefile (routines): Include $(all-dl-routines), not just
31486         $(dl-routines).
31487         (rtld-routines): Likewise.  Use = rather than :=.
31488         * sysdeps/aarch64/Makefile [$(subdir) = elf]
31489         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
31490         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
31491         * sysdeps/arm/Makefile: Likewise.
31492         * sysdeps/i386/Makefile: Likewise.
31493         * sysdeps/x86_64/Makefile: Likewise.
31494         * sysdeps/hppa/Makefile [$(subdir) = elf]
31495         (sysdep_routines, sysdep-rtld-routines): Don't add
31496         $(sysdep-dl-routines) to these.
31497         * sysdeps/ia64/Makefile: Likewise.
31498         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
31499         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
31500         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
31501         Don't add dl-static to these; sysdep-dl-routines alone is enough.
31502         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
31503         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
31504         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
31505         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
31506         * sysdeps/powerpc/Makefile [$(subdir) = elf]
31507         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
31508         these; sysdep-dl-routines alone is enough.
31510 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
31512         [BZ #17932]
31513         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
31514         where multiplication results in zero and third argument is finite
31515         and nonzero.
31516         * math/auto-libm-test-in: Add more tests of fma.
31517         * math/auto-libm-test-out: Regenerated.
31519         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
31520         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
31521         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
31522         (_FP_CMP_EQ): Likewise.
31523         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
31525         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
31526         extra argument CHECK_NAN.  Redefine as wrapper around
31527         _FP_EXTEND_CNAN.
31529 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
31531         * version.h (RELEASE): Set to "stable".
31532         (VERSION): Set to "2.21"
31533         * include/features.h (__GLIBC_MINOR__): Set to 21.
31535         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
31537 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31538             Paul Eggert  <eggert@cs.ucla.edu>
31540         [BZ #16618]
31541         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
31542         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
31543         size in bytes. Store needed elements in wpmax. Use needed size
31544         in bytes for extend_alloca.
31546 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
31548         * manual/install.texi: Latest tested versions are GCC 4.9.2,
31549         binutls 2.25, and texinfo 5.2.
31550         * INSTALL: Regenerate.
31551         * sysdeps/nios2/configure: Regenerate.
31552         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
31553         * manual/contrib.texi: Update.
31554         * po/be.po: Update.
31555         * po/bg.po: Update.
31556         * po/ca.po: Update.
31557         * po/cs.po: Update.
31558         * po/da.po: Update.
31559         * po/de.po: Update.
31560         * po/el.po: Update.
31561         * po/eo.po: Update.
31562         * po/es.po: Update.
31563         * po/fi.po: Update.
31564         * po/fr.po: Update.
31565         * po/gl.po: Update.
31566         * po/hr.po: Update.
31567         * po/hu.po: Update.
31568         * po/ia.po: Update.
31569         * po/id.po: Update.
31570         * po/it.po: Update.
31571         * po/ja.po: Update.
31572         * po/ko.po: Update.
31573         * po/lt.po: Update.
31574         * po/nb.po: Update.
31575         * po/nl.po: Update.
31576         * po/pl.po: Update.
31577         * po/pt_BR.po: Update.
31578         * po/ru.po: Update.
31579         * po/rw.po: Update.
31580         * po/sk.po: Update.
31581         * po/sl.po: Update.
31582         * po/sv.po: Update.
31583         * po/tr.po: Update.
31584         * po/uk.po: Update.
31585         * po/vi.po: Update.
31586         * po/zh_CN.po: Update.
31587         * po/zh_TW.po: Update.
31589         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
31590         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
31591         * sysdeps/hppa/dl-irel.h: Remove #warning.
31592         * sysdeps/hppa/entry.h: Provide prototype for
31593         __canonicalize_funcptr_for_compare and cast argument.
31594         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
31595         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
31596         * sysdeps/hppa/sotruss-lib.c: New file.
31597         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
31598         (atomic_compare_and_exchange_val_acq): Use __typeof__.
31599         (atomic_compare_and_exchange_bool_acq): Likewise.
31600         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
31601         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
31603         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
31604         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
31605         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
31607 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
31609         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
31610         called function in non-PIC case.
31612 2015-01-31  David S. Miller  <davem@davemloft.net>
31614         * sysdeps/sparc/sparc32/bits/atomic.h
31615         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
31616         unlock not after it.
31617         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
31618         volatile register usage warnings from the compiler.
31620         * sysdeps/sparc/nptl/sem_init.c: Delete.
31621         * sysdeps/sparc/nptl/sem_post.c: Delete.
31622         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
31623         * sysdeps/sparc/nptl/sem_wait.c: Delete.
31624         * sysdeps/sparc/sparc32/sem_init.c: New file.
31625         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
31626         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
31627         padding explicitly initialized.
31628         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
31629         padding for in-semaphore spinlock.
31630         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
31631         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
31632         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
31633         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
31634         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
31635         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
31636         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
31637         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
31638         version.
31639         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
31640         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
31642 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
31644         [BZ #17801]
31645         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31646         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
31647         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
31648         New.
31649         (index_AVX_Fast_Unaligned_Load): Likewise.
31650         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
31651         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
31652         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
31653         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
31654         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
31655         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
31656         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
31657         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
31658         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
31660 2015-01-29  Andreas Schwab  <schwab@suse.de>
31662         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
31664 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
31666         [BZ #17892]
31667         * nscd/nscd_stat.c (send_stats): Initialize DATA.
31669 2015-01-28  Martin Sebor  <msebor@redhat.com>
31671         * math/README.libm-test: Clarify. Add "How to read the test output."
31673 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
31675         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
31676         Define to 0.
31678 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
31680         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
31681         (__HAVE_64B_ATOMICS): Define to 0.
31683 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31685         [BZ #17885]
31686         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
31687         value to set as new flag.
31689         [BZ #16576]
31690         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
31691         and use _ARCH_PPCSQ instead.
31692         (__ieee754_sqrt): Likewise.
31693         (__ieee754_sqrtf): Likewise.
31694         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
31695         _ARCH_PPCSQ is defined.
31696         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
31697         fsqrt instruction.
31698         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
31699         _ARCH_PPCSQ is defined.
31700         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
31701         fsqrts instruction.
31702         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
31704 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31706         * iconv/loop.c: Suppress array out of bound warning caused by GCC
31707         bug (GCC BZ #64739).
31709 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
31711         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
31712         Mark _retval as used.
31713         (lll_futex_wake_unlock): Likewise.
31714         (lll_futex_timed_wait_requeue_pi): Likewise.
31716         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
31717         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
31718         register variables.
31720         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
31721         libm_hidden_def.
31723         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
31724         (__bswap_64): Mark as __always_inline.
31726 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
31728         [BZ #15378]
31729         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
31730         when none of the search directories exist.
31732 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31734         [BZ #17869]
31735         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
31736         power8 in .machine directive.
31738         [BZ #17868]
31739         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
31740         set dependency from opd value.
31742 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
31744         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31745         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
31746         architecture.
31748 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
31750         [BZ #17870]
31751         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
31752         with uint64_t.
31753         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
31754         (uint64_t) 1.
31755         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
31756         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
31757         Replace 1UL with (uint64_t) 1.
31758         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
31759         int with uint64_t.
31761 2015-01-23  Roland McGrath  <roland@hack.frob.com>
31763         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
31764         (if_freenameindex): Likewise.
31766         * resource/getrlimit64.c: Add missing libc_hidden_def.
31768 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
31770         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
31771         __label__.
31772         (_FP_FMA): Likewise.
31773         (_FP_TO_INT_ROUND): Likewise.
31774         (_FP_FROM_INT): Likewise.
31776 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31778         [BZ #16418]
31779         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31780         Make code racy and cancel safe.
31782 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
31784         * sysdeps/arm/unwind-resume.h: Fix copyright year.
31785         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
31786         attribution.
31788         * pwd/tst-getpw.c: Rewrite.
31790         [BZ #17702]
31791         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
31792         (modules-names): Add moddummy1 and moddummy2.
31793         ($(objpfx)tst-rec-dlopen): Define.
31794         * dlfcn/moddummy1.c: New file.
31795         * dlfcn/moddummy2.c: New file.
31796         * dlfcn/tst-rec-dlopen.c: New file.
31797         * elf/dl-cache.c (_dl_load_cache_lookup):
31798         Return char*. Copy result with alloca/strcpy/strdup.
31799         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
31800         returns char*. Free cached. If not saving realname
31801         free cached.
31802         * elf/dl-open.c (dl_open_worker): Do not assert that
31803         _r_debug->r_state is RT_CONSISTENT.
31804         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
31805         returns char*.
31807 2015-01-21  Torvald Riegel  <triegel@redhat.com>
31808             Carlos O'Donell  <carlos@redhat.com>
31810         [BZ #12674]
31811         * nptl/sem_waitcommon.c: New file.
31812         * nptl/sem_wait.c: Include sem_waitcommon.c.
31813         (__sem_wait_cleanup, do_futex_wait): Remove.
31814         (__new_sem_wait): Adapt.
31815         (__new_sem_trywait): New function.
31816         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
31817         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
31818         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
31819         (sem_timedwait): Adapt.
31820         * nptl/sem_post.c (__new_sem_post): Adapt.
31821         (futex_wake): New function.
31822         (__old_sem_post): Add release MO fence.
31823         * nptl/sem_open.c (sem_open): Adapt.
31824         * nptl/sem_init.c (__new_sem_init): Adapt.
31825         (futex_private_if_supported): New function.
31826         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
31827         (__old_sem_getvalue): Add using previous code.
31828         * sysdeps/nptl/internaltypes.h: Adapt.
31829         * nptl/tst-sem13.c (do_test): Adapt.
31830         * nptl/tst-sem11.c (main): Adapt.
31831         * nptl/sem_trywait.c: Remove.
31832         * nptl/DESIGN-sem.txt: Remove.
31833         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
31834         (gen-as-const-headers): Remove structsem.sym.
31835         * nptl/structsem.sym: Remove.
31836         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
31837         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
31838         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
31839         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
31840         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
31841         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
31842         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
31843         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
31844         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
31845         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
31846         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
31847         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
31848         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
31849         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
31850         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
31851         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
31852         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
31853         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
31854         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
31855         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
31856         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
31857         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
31859 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
31861         * INSTALL: Regenerated.
31863         * po/libc.pot: Regenerated.
31865 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
31866             Sandra Loosemore  <sandra@codesourcery.com>
31867             Andrew Jenner  <andrew@codesourcery.com>
31868             Joseph Myers  <joseph@codesourcery.com>
31869             Nathan Sidwell  <nathan@codesourcery.com>
31871         * NEWS: Mention new Nios II port.
31872         * sysdeps/nios2/Implies: New file.
31873         * sysdeps/nios2/Makefile: New file.
31874         * sysdeps/nios2/Subdirs: New file.
31875         * sysdeps/nios2/Versions: New file.
31876         * sysdeps/nios2/__longjmp.S: New file.
31877         * sysdeps/nios2/abort-instr.h: New file.
31878         * sysdeps/nios2/backtrace.c: New file.
31879         * sysdeps/nios2/bits/endian.h: New file.
31880         * sysdeps/nios2/bits/fenv.h: New file.
31881         * sysdeps/nios2/bits/link.h: New file.
31882         * sysdeps/nios2/bits/setjmp.h: New file.
31883         * sysdeps/nios2/bsd-_setjmp.S: New file.
31884         * sysdeps/nios2/bsd-setjmp.S: New file.
31885         * sysdeps/nios2/configure: New generated file.
31886         * sysdeps/nios2/configure.ac: New file.
31887         * sysdeps/nios2/crti.S: New file.
31888         * sysdeps/nios2/crtn.S: New file.
31889         * sysdeps/nios2/dl-init.c: New file.
31890         * sysdeps/nios2/dl-machine.h: New file.
31891         * sysdeps/nios2/dl-sysdep.h: New file.
31892         * sysdeps/nios2/dl-tls.h: New file.
31893         * sysdeps/nios2/dl-trampoline.S: New file.
31894         * sysdeps/nios2/gccframe.h: New file.
31895         * sysdeps/nios2/gmp-mparam.h: New file.
31896         * sysdeps/nios2/jmpbuf-offsets.h: New file.
31897         * sysdeps/nios2/jmpbuf-unwind.h: New file.
31898         * sysdeps/nios2/ldsodefs.h: New file.
31899         * sysdeps/nios2/libc-tls.c: New file.
31900         * sysdeps/nios2/libm-test-ulps: New file.
31901         * sysdeps/nios2/machine-gmon.h: New file.
31902         * sysdeps/nios2/math-tests.h: New file.
31903         * sysdeps/nios2/math_private.h: New file.
31904         * sysdeps/nios2/memusage.h: New file.
31905         * sysdeps/nios2/nptl/Makefile: New file.
31906         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
31907         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
31908         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
31909         * sysdeps/nios2/nptl/pthreaddef.h: New file.
31910         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
31911         * sysdeps/nios2/nptl/tls.h: New file.
31912         * sysdeps/nios2/preconfigure: New file.
31913         * sysdeps/nios2/s_fma.c: New file.
31914         * sysdeps/nios2/s_fmaf.c: New file.
31915         * sysdeps/nios2/setjmp.S: New file.
31916         * sysdeps/nios2/sfp-machine.h: New file.
31917         * sysdeps/nios2/sotruss-lib.c: New file.
31918         * sysdeps/nios2/stackguard-macros.h: New file.
31919         * sysdeps/nios2/stackinfo.h: New file.
31920         * sysdeps/nios2/start.S: New file.
31921         * sysdeps/nios2/sysdep.h: New file.
31922         * sysdeps/nios2/tls-macros.h: New file.
31923         * sysdeps/nios2/tst-audit.h: New file.
31924         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
31925         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
31926         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
31927         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
31928         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
31929         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
31930         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
31931         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
31932         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
31933         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
31934         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
31935         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
31936         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
31937         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
31938         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
31939         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
31940         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
31941         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
31942         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
31943         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
31944         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
31945         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
31946         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
31947         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
31948         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
31949         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
31950         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
31951         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
31952         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
31953         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
31954         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
31955         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
31956         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
31957         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
31958         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
31959         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
31960         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
31961         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
31962         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
31963         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
31964         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
31965         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
31966         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
31967         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
31969 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
31971         [BZ #17844]
31972         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
31973         (getutent): Use weak_alias in non SHARED case
31974         and default_symbol_version in SHARED case.
31975         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
31976         (getutent_r, pututline): Likewise.
31977         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
31978         (getutid): Likewise.
31979         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
31980         (getutid_r): Likewise.
31981         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
31982         (getutline): Likewise.
31983         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
31984         (getutline_r): Likewise.
31985         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
31986         (updwtmp): Likewise.
31988 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
31990         [BZ #17848]
31991         * sysdeps/s390/s390-32/memcmp.S
31992         (memcmp_g5): Rename to __memcmp_g5.
31993         * sysdeps/s390/s390-32/memcpy.S
31994         (memcpy_g5): Rename to __memcpy_g5.
31995         Jump to __memcpy_mvcle instead of memcpy_mvcle.
31996         (memcpy_mvcle) Rename to __memcpy_mvcle.
31997         * sysdeps/s390/s390-32/memset.S
31998         (memset_g5): Rename to __memset_g5.
31999         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32000         (IFUNC_RESOLVE): Prefix ifunc-resolve function
32001         and use prefixed functions.
32002         * sysdeps/s390/s390-32/multiarch/memcmp.S
32003         (memcmp_z196): Rename to __memcmp_z196.
32004         (memcmp_z10): Rename to __memcmp_z10.
32005         (memcmp): Set alias to __memcmp_g5.
32006         (bcmp): Set alias to __memcmp_g5.
32007         * sysdeps/s390/s390-32/multiarch/memcpy.S
32008         (memcpy_z196): Rename to __memcpy_z196.
32009         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32010         (memcpy_z10): Rename to __memcpy_z10.
32011         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32012         (memcpy): Set alias to __memcpy_g5.
32013         * sysdeps/s390/s390-32/multiarch/memset.S
32014         (memset_z196): Rename to __memset_z196.
32015         Jump to __memset_mvcle instead of memset_mvcle.
32016         (memset_z10): Rename to __memset_z10.
32017         Jump to __memset_mvcle instead of memset_mvcle.
32018         (memset_mvcle) Rename to __memset_mvcle.
32019         (memset): Set alias to __memset_g5.
32020         * sysdeps/s390/s390-64/memcmp.S
32021         (memcmp_z900): Rename to __memcmp_z900.
32022         * sysdeps/s390/s390-64/memcpy.S
32023         (memcpy_z900): Rename to __memcpy_z900.
32024         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32025         (memcpy_mvcle) Rename to __memcpy_mvcle.
32026         * sysdeps/s390/s390-64/memset.S
32027         (memset_z900): Rename to __memset_z900.
32028         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
32029         (IFUNC_RESOLVE): Prefix ifunc-resolve function
32030         and use prefixed functions.
32031         * sysdeps/s390/s390-64/multiarch/memcmp.S
32032         (memcmp_z196): Rename to __memcmp_z196.
32033         (memcmp_z10): Rename to __memcmp_z10.
32034         (memcmp): Set alias to __memcmp_z900.
32035         (bcmp): Set alias to __memcmp_z900.
32036         * sysdeps/s390/s390-64/multiarch/memcpy.S
32037         (memcpy_z196): Rename to __memcpy_z196.
32038         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32039         (memcpy_z10): Rename to __memcpy_z10.
32040         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32041         (memcpy): Set alias to __memcpy_z900.
32042         * sysdeps/s390/s390-64/multiarch/memset.S
32043         (memset_z196): Rename to __memset_z196.
32044         Jump to __memset_mvcle instead of memset_mvcle.
32045         (memset_z10): Rename to __memset_z10.
32046         Jump to __memset_mvcle instead of memset_mvcle.
32047         (memset_mvcle) Rename to __memset_mvcle.
32048         (memset): Set alias to __memset_z900.
32050 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
32052         [BZ #17748]
32053         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
32054         __fesetenv instead of fesetenv.
32056 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32058         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
32059         macro.
32061 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32063         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
32064         regression on LE.
32066         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
32067         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
32068         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
32069         strncmp-power8 object.
32070         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32071         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
32072         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
32073         * NEWS: Update.
32075 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32076             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32078         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
32079         trailing byte check.
32081 2015-01-13  David S. Miller  <davem@davemloft.net>
32083         * include/signal.h (__sigreturn): Guard with __USE_MISC.
32085 2015-01-13  Roland McGrath  <roland@hack.frob.com>
32087         * login/logout.c (logout): Use memset rather than bzero.
32088         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
32089         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
32090         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
32091         (_gethtbyaddr): Likewise.
32092         * locale/programs/simple-hash.c (bcopy): Macro removed.
32094 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32096         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32097         Add strcmp-power8 object.
32098         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32099         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
32100         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
32101         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
32102         __strcmp_power8 implementation.
32103         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
32104         * NEWS: Update.
32106         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32107         Add strncpy-power8 and stpncpy-power8 objects.
32108         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32109         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
32110         implementations.
32111         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
32112         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
32113         __stpncpy_power8 implementation.
32114         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
32115         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
32116         __strncpy_power8 implementation.
32117         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
32118         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
32119         * NEWS: Update.
32121         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
32122         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
32123         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
32125         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
32126         strncat-power8 object.
32127         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
32128         __strcat_power8 implementation.
32129         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32130         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
32131         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
32132         optimized strcat for power8.
32134         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
32135         strcpy-power8 and stpcpy-power8 objects.
32136         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32137         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
32138         implementations.
32139         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
32140         multiarch stpcpy implementation for POWER8.
32141         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
32142         multiarch strcpy implementation for POWER8.
32143         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
32144         __strcpy_power8 function.
32145         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
32146         stpcpy for POWER8.
32147         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
32148         strcpy for POWER8.
32149         * NEWS: Update.
32151 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
32153         [BZ #16009]
32154         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
32155         weights and rules. Use do_xfrm_cached if data fits in cache,
32156         do_xfrm otherwise.  Moved former main loop to...
32157         * (do_xfrm_cached): New function.
32158         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
32159         find_idx, find_position and stack_push.
32160         * (find_idx): New function.
32161         * (find_position): Likewise.
32162         * localedata/sort-test.sh: Added test run for do_xfrm.
32163         * localedata/xfrm-test.c (main): Added command line option
32164         -nocache to run the test with strings that are too large for
32165         the STRXFRM cache.
32167 2015-01-13  Torvald Riegel  <triegel@redhat.com>
32169         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
32170         variable to lll_futex_wake call, not the value itself.
32172 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
32174         [BZ #17803]
32175         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
32176         twom64.  Adjust value to 0x1p-64L.
32177         (__scalblnl): Only return standard underflowing result for K <=
32178         -64 not K <= -63; adjust exponent for underflowing result by 64
32179         not 63.
32180         * math/libm-test.inc (scalbn_test_data): Add more tests.
32181         (scalbln_test_data): Likewise.
32183         [BZ #17834]
32184         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
32185         0x1p63L.
32186         (__scalblnl): Get new exponent of adjusted subnormal value from ES
32187         not HX.
32188         * math/libm-test.inc (scalbn_test_data): Add more tests.
32189         (scalbln_test_data): Likewise.
32191 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32192             Stefani Seibold  <stefani@seibold.net>
32194         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
32195         (sysdep_routines): Add dl-vdso here, ...
32196         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
32197         (sysdep_routines): ... not here.
32198         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
32199         fallback when vDSO is not presented.
32200         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
32201         Define with libc_hidden_proto/libc_hidden_data_def definitions.
32202         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
32203         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
32204         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
32205         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
32206         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
32207         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
32208         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
32209         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
32210         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
32211         fallback configurable symbol when vDSO is not available.
32212         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
32213         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
32214         be able to redefine fallback symbol when vDSO is not available.
32215         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
32216         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
32218 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32220         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
32221         (TLS_INIT_TP): Add tm_capable initialization.
32222         (TLS_DEFINE_INIT_TP): Likewise.
32223         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
32224         TCB.
32225         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
32226         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
32227         calculation.
32228         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
32229         transactoion is lock elision is built and TCB tm_capable is set.
32230         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
32231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32232         (INTERNAL_SYSCALL_NCS): Likewise.
32233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32234         (INTERNAL_SYSCALL_NCS): Likewise.
32235         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
32237         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
32238         for powerpc.
32239         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32240         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
32241         and remove it for 32 bits case.
32242         [pthread_rwlock_t] (__rwelision): New field for lock elision.
32243         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
32244         initialization.
32245         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
32246         Disable lock elision with rdlocks if elision is not available.
32248         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
32249         (sysdep_routines): Add lock elision objects.
32250         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32251         [pthread_mutex_t] (__spins): Rework to add lock elision field.
32252         [pthread_mutex_t] (__elision): Add field.
32253         [__PTHREAD_SPINS]: Adjust to init lock elision field.
32254         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
32255         elision definitions for powerpc.
32256         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
32257         implementation of lock elision for powerpc.
32258         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
32259         implementation of timed lock elision for powerpc.
32260         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
32261         implementation of trylock with lock elision for powerpc.
32262         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
32263         implementaion of unlock for lock elision for powerpc.
32264         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
32265         automatic enable lock elision for mutexes.
32266         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
32267         transaction execution definitions for powerpc.
32268         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
32269         definitions.
32270         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
32271         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
32272         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
32273         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
32274         * NEWS: Update.
32276 2015-01-09  Roland McGrath  <roland@hack.frob.com>
32278         * sysdeps/posix/shm-directory.c: Use <> rather than ""
32279         for #include of <shm-directory.h>.
32281 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
32283         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
32284         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
32286 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
32288         [BZ #17791]
32289         * NEWS: Mention bug fix.
32290         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
32291         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
32292         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
32294 2015-01-09  Torvald Riegel <triegel@redhat.com>
32296         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
32298 2015-01-09  Torvald Riegel <triegel@redhat.com>
32300         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
32302 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
32304         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
32305         pointer and cast to uintptr_t.
32307 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
32309         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
32310         removed.
32311         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
32313 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
32315         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
32316         of 0.
32318 2015-01-08  Roland McGrath  <roland@hack.frob.com>
32320         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
32321         <nptl/pthreadP.h> instead.
32322         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
32324         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
32325         already defined.
32326         [__SIGRTMIN] (init): Function removed.
32327         [__SIGRTMIN] (initialized): Variable removed.
32328         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
32329         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
32330         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
32331         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
32332         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
32333         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
32334         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
32335         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
32336         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
32337         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
32338         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
32339         * sysdeps/nptl/allocrtsig.c: New file.
32340         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
32341         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
32342         * sysdeps/generic/testrtsig.h: File removed.
32344         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
32345         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
32347         * nptl/nptl-init.c (pthread_functions): Conditionalize
32348         .ptr__nptl_setxid initialization on [SIGSETXID].
32350         * sysdeps/nptl/sys/procfs.h: New file.
32351         * nptl_db/Makefile (headers): Add it.
32352         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
32354         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
32355         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
32356         * nptl/pthread_attr_setaffinity.c: Include it.
32357         * nptl/pthread_setattr_default_np.c: Likewise.
32358         * nptl/check-cpuset.h: New file.
32360 2015-01-08  Richard Henderson  <rth@redhat.com>
32362         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
32363         (CFLAGS-tst-execstack-prog.c): Likewise.
32364         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
32366 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
32367             Sandra Loosemore  <sandra@codesourcery.com>
32368             Andrew Jenner  <andrew@codesourcery.com>
32369             Joseph Myers  <joseph@codesourcery.com>
32370             Nathan Sidwell  <nathan@codesourcery.com>
32372         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
32373         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
32374         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
32375         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
32376         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
32377         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
32378         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
32379         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
32380         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
32381         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
32382         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
32383         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
32384         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
32385         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
32386         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
32387         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
32388         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
32390 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32392         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
32393         timespec struct member in syscall macro.
32394         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
32395         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
32396         first timeval struct member in syscall macro.
32397         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
32399 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
32401         [BZ #17748]
32402         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
32403         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
32404         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
32405         __feupdateenv and define as weak alias of __feupdateenv.  Use
32406         libm_hidden_weak.
32407         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
32408         libm_hidden_def.
32409         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
32410         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
32411         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
32412         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
32413         libm_hidden_def.
32414         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
32415         __feupdateenv and define as weak alias of __feupdateenv.  Use
32416         libm_hidden_weak.
32417         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
32418         libm_hidden_def.
32419         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
32420         __feupdateenv and define as weak alias of __feupdateenv.  Use
32421         libm_hidden_weak.
32422         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
32423         libm_hidden_def.
32424         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
32425         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
32426         (__feupdateenv): Likewise.
32427         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
32428         __feupdateenv and define as weak alias of __feupdateenv.  Use
32429         libm_hidden_weak.
32430         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32431         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
32432         libm_hidden_def.
32433         * sysdeps/tile/math_private.h (__feupdateenv): New inline
32434         function.
32435         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
32436         libm_hidden_def.
32437         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
32438         __feupdateenv instead of feupdateenv.
32439         (default_libc_feupdateenv_test): Likewise.
32440         (libc_feresetround_ctx): Likewise.
32442 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32444         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
32445         prototype.
32447 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
32449         * posix/regcomp.c (parse_bracket_exp): Initialize type to
32450         COLL_SYM in a couple of places to avoid uninitialized variable
32451         wanings on tilegx gcc 4.8.2.
32453 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
32455         * sysdeps/aarch64/strcpy.S: New file.
32456         * sysdeps/aarch64/stpcpy.S: New file.
32457         * NEWS: Updated.
32459 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
32461         * sysdeps/aarch64/strrchr.S: New file.
32462         * NEWS: Updated.
32464 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
32466         [BZ #17658]
32467         * stdlib/setenv.c: Fix memory leak when setting large,
32468         duplicate string.
32470 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
32472         [BZ #17273]
32473         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
32474         and tabs from buffer before parsing fstab entry.
32475         * misc/tst-mntent.c (main): Add test for mount entry with
32476         trailing spaces and tabs.
32478 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
32480         [BZ #17748]
32481         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
32482         * math/fesetround.c (fesetround): Rename to __fesetround and
32483         define as weak alias of __fesetround.  Use libm_hidden_weak.
32484         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
32485         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
32486         * sysdeps/arm/fesetround.c (fesetround): Likewise.
32487         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
32488         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
32489         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
32490         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
32491         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
32492         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
32493         __fesetround_inline.
32494         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
32495         __fesetround_inline instead of __fesetround.
32496         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
32497         __fesetround and define as weak alias of __fesetround.  Use
32498         libm_hidden_weak.  Call __fesetround_inline instead of
32499         __fesetround.
32500         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
32501         __fesetround and define as weak alias of __fesetround.  Use
32502         libm_hidden_weak.
32503         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
32504         Likewise.
32505         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
32506         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32507         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
32508         * sysdeps/tile/math_private.h (__fesetround): New inline function.
32509         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
32510         __fesetround and define as weak alias of __fesetround.  Use
32511         libm_hidden_weak.
32512         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
32513         __fesetround instead of fesetround.
32514         (default_libc_feholdexcept_setround): Likewise.
32515         (libc_feholdsetround_ctx): Likewise.
32516         (libc_feholdsetround_noex_ctx): Likewise.
32518         [BZ #17748]
32519         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
32520         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
32521         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
32522         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
32523         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
32524         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
32525         define as weak alias of __fesetenv.  Use libm_hidden_weak.
32526         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
32527         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
32528         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
32529         define as weak alias of __fesetenv.  Use libm_hidden_weak.
32530         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
32531         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
32532         define as weak alias of __fesetenv.  Use libm_hidden_weak.
32533         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
32534         libm_hidden_def.
32535         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
32536         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
32537         Likewise.
32538         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
32539         define as weak alias of __fesetenv.  Use libm_hidden_weak.
32540         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32541         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
32542         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
32543         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
32544         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
32545         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
32546         __fesetenv instead of fesetenv.
32547         (libc_feresetround_noex_ctx): Likewise.
32548         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
32549         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
32550         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
32551         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
32552         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
32553         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
32554         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
32555         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
32556         (__feupdateenv): Likewise.
32557         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32558         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32559         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
32560         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
32562 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
32564         [BZ #17806]
32565         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
32566         addresses have been freed.
32568 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
32570         * resolv/res_init.c (__res_vinit): Improve comments about nserv
32571         and nservall.
32573 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
32575         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
32576         Clean up check_pf allocation pattern. addresses
32578 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32580         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
32581         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
32582         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
32583         * nptl/pthread_exit.c (__pthread_exit): Likewise.
32584         * nptl/pthread_join.c (pthread_join): Likewise.
32585         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
32586         * sysdeps/posix/waitid.c (__waitid): Likewise.
32587         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
32588         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
32589         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
32590         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
32591         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
32592         Likewise.
32593         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
32594         (__libc_pread64): Likewise.
32595         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
32596         (__libc_pwrite): Likewise.
32597         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
32598         (__libc_pwrite64): Likewsie.
32599         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
32600         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
32601         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
32602         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
32603         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
32604         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
32605         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
32606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
32607         Likewise.
32608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32609         (__libc_pread64): Likewise.
32610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
32611         Likewise.
32612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32613         (__libc_pwrite64): Likewise.
32614         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
32615         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
32616         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
32617         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
32618         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
32619         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
32620         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
32621         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
32622         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
32623         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
32624         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
32625         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
32626         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
32627         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
32628         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
32629         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
32630         Likewise.
32632 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
32634         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
32635         (CFLAGS-test-double.c): Likewise.
32636         (CFLAGS-test-ldouble.c): Likewise.
32637         (CPPFLAGS-test-ifloat.c): Likewise.
32638         (CPPFLAGS-test-idouble.c): Likewise.
32639         (CPPFLAGS-test-ildoubl.c): Likewise.
32640         (CFLAGS-test-test-fenv.c): Remove variable.
32641         (CFLAGS-test-misc.c): Likewise.
32643 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
32645         [BZ #17797]
32646         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
32647         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
32648         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
32649         CLOCKS_PER_SEC == 1000000.
32650         * time/clocktest.c (main): Replace %ld with %jd and cast to
32651         intmax_t.
32653 2015-01-05  Roland McGrath  <roland@hack.frob.com>
32655         * sysdeps/generic/unwind-resume.h: New file.
32656         * sysdeps/gnu/unwind-resume.c: Include it.
32657         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
32658         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
32659         argument list.
32660         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
32661         global rather than static.
32662         (_Unwind_Resume): Update user.
32663         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
32664         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
32665         rather than static.  Add __attribute__ ((cold)).
32666         (_Unwind_Resume, __gcc_personality_v0): Update callers.
32667         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
32668         * sysdeps/arm/arm-unwind-resume.S: New file.
32669         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
32670         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
32671         * sysdeps/arm/Makefile [$(subdir) = csu]
32672         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
32673         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
32674         Add rt-arm-unwind-resume.
32675         [$(subdir) = nptl]
32676         (libpthread-sysdep_routines, libpthread-shared-only-routines):
32677         Add pt-arm-unwind-resume.
32678         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
32679         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
32681 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
32683         [BZ #17748]
32684         * include/fenv.h (__feholdexcept): Declare.  Use
32685         libm_hidden_proto.
32686         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
32687         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
32688         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32689         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
32690         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
32691         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
32692         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
32693         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32694         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
32695         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
32696         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
32697         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
32698         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
32699         (feholdexcept): Likewise.
32700         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32701         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32702         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
32703         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32704         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
32705         __feholdexcept instead of feholdexcept.
32706         (default_libc_feholdexcept_setround): Likewise.
32708 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
32710         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
32711         to avoid using stl/str to align destination.
32713 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
32715         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
32717 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
32719         [BZ #17796]
32720         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
32721         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
32722         Define as weak alias not strong alias.
32724 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
32726         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
32727         bltzal with addiupc.
32728         (RTLD_START): Ditto.
32730 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
32732         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
32733         for __vdso_* functions in declarations.
32734         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
32735         definitions.
32736         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
32737         INTERNAL_VSYSCALL): Use struct return types to check for error.
32739         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
32740         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
32741         function with cast from llround().
32742         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
32743         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
32744         Define.
32746 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
32748         [BZ #17793]
32749         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
32750         Define as weak alias not strong alias.
32752         [BZ #17635]
32753         * ctype/ctype-c99.c: New file.  isblank implementation moved from
32754         ...
32755         * ctype/ctype-extn.c: ... here.
32756         (__isblank_l): Move to ...
32757         * ctype/ctype-c99_l.c: ... here.  New file.
32758         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
32759         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
32760         Remove variable.
32761         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
32762         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
32763         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
32764         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
32765         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
32767         [BZ #17777]
32768         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
32769         (posix_fadvise64): Define as weak alias not strong alias.
32770         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32771         (posix_fallocate64): Likewise.
32772         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
32773         Remove variable.
32774         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
32775         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
32776         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
32777         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
32778         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
32780 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
32782         [BZ #16191]
32783         * NEWS: Mention bug fix.
32784         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
32785         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
32786         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
32787         (HOST_STACK_END_ADDR): Likewise.
32789 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
32791         [BZ #17748]
32792         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
32793         * math/fegetround.c (fegetround): Rename to __fegetround and
32794         define as weak alias of __fegetround.  Use libm_hidden_weak.
32795         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
32796         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
32797         * sysdeps/arm/fegetround.c (fegetround): Likewise.
32798         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
32799         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
32800         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
32801         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
32802         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
32803         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
32804         Undefine after rather than before function definition; use
32805         parentheses around function name in definition.
32806         (__fegetround): Also undefine macro after function definition.
32807         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
32808         __fegetround and define as weak alias of __fegetround.  Use
32809         libm_hidden_weak.  Do not undefine as macro.
32810         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
32811         Likewise.
32812         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
32813         __fegetround and define as weak alias of __fegetround.  Use
32814         libm_hidden_weak.
32815         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32816         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
32817         * sysdeps/tile/math_private.h (__fegetround): New inline function.
32818         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
32819         __fegetround and define as weak alias of __fegetround.  Use
32820         libm_hidden_weak.
32821         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
32822         __fegetround instead of fegetround.
32824         [BZ #17782]
32825         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
32826         Condition macro definition on [__USE_MISC].
32828         [BZ #17781]
32829         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32830         (struct sigaction): Change type of sa_flags field to int.
32832         [BZ #17780]
32833         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
32834         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
32835         __glibc_reserved0.
32837         * nptl/version.c (banner): Use single year in copyright notice.
32839         * NEWS: Update copyright dates.
32840         * catgets/gencat.c (print_version): Likewise.
32841         * csu/version.c (banner): Likewise.
32842         * debug/catchsegv.sh: Likewise.
32843         * debug/pcprofiledump.c (print_version): Likewise.
32844         * debug/xtrace.sh (do_version): Likewise.
32845         * elf/ldconfig.c (print_version): Likewise.
32846         * elf/ldd.bash.in: Likewise.
32847         * elf/pldd.c (print_version): Likewise.
32848         * elf/sotruss.sh: Likewise.
32849         * elf/sprof.c (print_version): Likewise.
32850         * iconv/iconv_prog.c (print_version): Likewise.
32851         * iconv/iconvconfig.c (print_version): Likewise.
32852         * locale/programs/locale.c (print_version): Likewise.
32853         * locale/programs/localedef.c (print_version): Likewise.
32854         * login/programs/pt_chown.c (print_version): Likewise.
32855         * malloc/memusage.sh (do_version): Likewise.
32856         * malloc/memusagestat.c (print_version): Likewise.
32857         * malloc/mtrace.pl: Likewise.
32858         * manual/libc.texinfo: Likewise.
32859         * nptl/version.c (banner): Likewise.
32860         * nscd/nscd.c (print_version): Likewise.
32861         * nss/getent.c (print_version): Likewise.
32862         * nss/makedb.c (print_version): Likewise.
32863         * posix/getconf.c (main): Likewise.
32864         * scripts/test-installation.pl: Likewise.
32865         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
32867 2015-01-02  Will Newton  <will.newton@linaro.org>
32869         * sysdeps/arm/armv7/configure: Removed.
32870         * sysdeps/arm/armv7/configure.ac: Likewise.
32872 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
32874         * All files with FSF copyright notices: Update copyright dates
32875         using scripts/update-copyrights.
32876         * intl/plural.c: Regenerated.
32877         * locale/programs/charmap-kw.h: Likewise.
32878         * locale/programs/locfile-kw.h: Likewise.
32880 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32882         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
32884 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
32886         [BZ #17748]
32887         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
32888         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
32889         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
32890         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
32891         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32892         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
32893         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32894         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
32895         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32896         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
32897         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32898         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32899         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
32900         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32901         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
32902         libm_hidden_def.
32903         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
32904         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
32905         Likewise.
32906         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
32907         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32908         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32909         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32910         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
32911         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
32912         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
32913         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
32914         __fegetenv instead of fegetenv.
32915         (libc_feholdsetround_noex_ctx): Likewise.
32917 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
32919         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
32920         (Elf_MIPS_ABIFlags_v0): New structure.
32921         (EF_MIPS_FP64): Define.
32922         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
32923         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
32924         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
32925         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
32926         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
32927         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
32928         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
32929         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
32930         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
32931         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
32932         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
32933         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
32934         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
32935         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
32936         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
32937         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
32938         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
32939         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
32940         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
32941         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
32942         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
32943         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
32944         field.
32945         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
32946         EF_MIPS_FP64.
32947         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
32948         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
32949         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
32950         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
32951         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
32952         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
32953         * sysdeps/mips/tst-abi-interlink.c: Likewise.
32954         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
32955         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
32956         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
32957         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
32958         record the current FP ABI extension.
32959         (mips-mode-switch): Define to show if kernel headers support mode
32960         switching.
32961         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
32962         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
32963         supported SYSV ABI version to 3.
32964         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
32965         feature.
32967 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32968             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32970         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
32971         path.
32972         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
32974 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
32976         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
32977         __fegetround and redefine to call __fegetround.  Remove condition
32978         on [!__NO_MATH_INLINES].
32979         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
32980         function.
32981         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
32982         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
32983         Remove macro.
32984         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
32985         instead of <fenv_libc.h>.
32986         (__llrintl): Call fegetround instead of __fegetround.
32987         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
32988         instead of <fenv_libc.h>.
32989         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32990         (__lrintl): Call fegetround instead of __fegetround.
32991         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
32992         instead of <fenv_libc.h>.
32993         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32994         (__rintl): Call fegetround instead of __fegetround.
32996 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32998         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
32999         arrays.
33001 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
33003         [BZ #17775]
33004         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
33005         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
33006         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
33008 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
33010         * sysdeps/i386/tls-macros.h: Include <features.h>.
33011         (TLS_LE): Use non-PIC version for GCC >= 5.0.
33012         (TLS_IE): Likewise.
33013         (TLS_LD): Likewise.
33014         (TLS_GD): Likewise.
33015         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
33016         define for GCC >= 5.0.
33018 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
33020         * math/test-fenv.c (test_single_exception, set_single_exc,
33021         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
33022         feexcp_mask_test, feenable_test, fe_single_test): Add
33023         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
33024         case where they are not used.
33025         * math/libm-test.inc: Likewise.
33026         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
33027         unused in the absence of FP rounding/exception support.
33028         * stdio-common/tst-printf-round.c: Likewise.
33029         * stdlib/tst-strtod-round.c: Likewise.
33030         * stdlib/tst-strtod-underflow.c: Likewise.
33032 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
33034         [BZ #17723]
33035         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
33036         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
33037         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33038         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33039         libm_hidden_weak.
33040         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
33041         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
33042         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
33043         libm_hidden_def.
33044         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33045         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33046         libm_hidden_weak.
33047         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
33048         Likewise.
33049         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
33050         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33051         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33052         libm_hidden_weak.
33053         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
33054         libm_hidden_def.
33055         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
33056         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
33057         (__feraiseexcept): Likewise.
33058         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33059         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33060         libm_hidden_weak.
33061         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
33062         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
33063         libm_hidden_def.
33064         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
33065         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
33066         Use libm_hidden_def.
33067         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
33068         libm_hidden_def.
33069         (feraiseexcept): Define as weak not strong alias.  Use
33070         libm_hidden_weak.
33071         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
33072         New inline function.  Factored out of ...
33073         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
33074         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
33075         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
33076         feraiseexcept.
33077         * math/w_acos.c (__acos): Likewise.
33078         * math/w_asin.c (__asin): Likewise.
33079         * math/w_ilogb.c (__ilogb): Likewise.
33080         * math/w_j0.c (y0): Likewise.
33081         * math/w_j1.c (y1): Likewise.
33082         * math/w_jn.c (yn): Likewise.
33083         * math/w_log.c (__log): Likewise.
33084         * math/w_log10.c (__log10): Likewise.
33085         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
33086         * sysdeps/aarch64/fpu/math_private.h
33087         (libc_feupdateenv_test_aarch64): Likewise.
33088         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
33089         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
33090         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
33091         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
33092         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
33093         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
33094         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
33095         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33096         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33097         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
33099 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
33101         [BZ #17732]
33102         * io/test-utime.c (main): Replace %ld with %jd and cast to
33103         intmax_t.
33104         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
33105         * nptl/tst-mutex5.c: Include <stdint.h>.
33106         (do_test): Replace %ld with %jd and cast to intmax_t.
33107         * posix/tst-regex.c (run_test): Likewise.
33108         (run_test_backwards): Likewise.
33109         * rt/tst-clock.c: Include <stdint.h>.
33110         (clock_test): Replace %ld with %jd and cast to intmax_t.
33111         * rt/tst-cpuclock1.c: Include <stdint.h>.
33112         (do_test): Replace %lu with %ju and cast to uintmax_t.
33113         * rt/tst-cpuclock2.c: Include <stdint.h>.
33114         (do_test): Replace %lu with %ju and cast to uintmax_t.
33115         * rt/tst-mqueue1.c: Include <stdint.h>.
33116         (check_attrs): Replace %ld with %jd and cast to intmax_t.
33117         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
33118         intmax_t.
33119         * rt/tst-mqueue4.c (do_test): Likewise.
33120         * rt/tst-timer4.c: Include <stdint.h>.
33121         (check_ts): Replace %ld with %jd and cast to intmax_t.
33122         (do_test): Likewise.
33123         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
33124         and cast to intmax_t.
33125         * sysdeps/pthread/tst-timer.c (main): Likewise.
33126         * time/clocktest.c (main): Likewise.
33127         * time/tst-posixtz.c (do_test): Likewise.
33128         * timezone/tst-timezone.c (main): Likewise.
33130 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
33131             H.J. Lu  <hongjiu.lu@intel.com>
33133         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
33134         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
33135         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
33136         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
33137         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
33138         version if bit_Fast_Unaligned_Load is set.
33139         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33140         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33141         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33142         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33143         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33144         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33145         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33146         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
33147         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
33148         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
33149         to 4.
33150         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
33151         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
33152         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
33153         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
33155 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
33157         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
33158         instead of #if to avoid a Wundef warning.
33159         * stdlib/tst-limits.c (do_test): Likewise.
33161         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
33162         parallel other exception macros.
33163         (fegetenv): Convert from macro to extern inline so that it applies
33164         retroactively to inline functions already seen by the compiler.
33165         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
33167         * posix/Makefile (before-compile): Use $(objpfx) for
33168         posix-conf-vars-def.h.
33170 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33172         * posix/getconf.c (main): Use size_t for type of I.
33173         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
33174         NSPEC.
33176         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
33177         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
33178         * posix/posix-envs.def: Likewise.
33179         * sysdeps/posix/sysconf.c: Likewise.
33180         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
33181         (specs): Remove array.
33182         * scripts/gen-posix-conf-vars.awk: Support generation of specs
33183         array.
33185         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
33186         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
33187         (__sysconf): Use CONF_IS_* macros.
33189         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
33190         ($(objpfx)posix-conf-vars-def.h): New target.
33191         * posix/posix-conf-vars.list: New file.
33192         * posix/posix-conf-vars.h: New file.
33193         * posix/confstr.c: Include posix-conf-vars.h.
33194         (confstr): Use CONF_IS_* macros.
33195         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
33196         CONF_IS_* macros.
33197         * scripts/gen-posix-conf-vars.awk: New file.
33199 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
33201         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
33202         fegetround): Add no-op macros to avoid linknamespace issues.
33204         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
33205         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
33207         * sysdeps/unix/sysv/linux/tile/sysdep.h
33208         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
33209         assembly-specific section to avoid a redefinition warning.
33211         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
33212         long before casting to pointer to avoid a cast warning.
33214 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
33216         * sysdeps/tile/tilegx/Implies: New file.
33218 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
33220         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
33222 2014-12-23  Florian Weimer  <fweimer@redhat.com>
33224         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
33226 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
33228         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
33229         not define.
33230         * sysdeps/unix/sysv/linux/utimes.c: Do not include
33231         <kernel-features.h>.
33232         (__utimes) [__NR_utimes]: Make code unconditional.
33233         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
33234         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33235         (__ASSUME_UTIMES): Do not undefine.
33236         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33237         (__ASSUME_UTIMES): Likewise.
33238         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33239         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
33240         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
33241         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
33243 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
33245         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
33247 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
33249         [BZ #17747]
33250         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
33251         alias to weak alias for j0l, y0l.
33252         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
33253         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
33255         [BZ #17746]
33256         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
33257         conversion.
33259 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
33261         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
33262         to zero if not already defined.
33264 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
33266         [BZ #17724]
33267         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
33268         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
33269         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
33270         (char *) casts added.
33271         * sysdeps/ieee754/k_standardf.c: New file.
33272         * sysdeps/ieee754/k_standardl.c: Likewise.
33273         * math/Makefile (libm-support): Remove k_standard.
33274         (libm-calls): Add k_standard.
33276 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
33278         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33279         Optimize to avoid an unnecessary FPCR read.
33281 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
33283         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
33284         Optimize to reduce FPCR/FPSR accesses.
33286 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
33288         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
33289         Call libc_fetestexcept_aarch64.
33291 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
33293         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
33294         Call libc_fesetround_aarch64.
33296 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
33298         [BZ #17733]
33299         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
33300         (__bind): Do not define as weak alias.
33301         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
33302         define.
33303         (__getsockname): Do not define as weak alias.
33305 2014-12-22  Will Newton  <will.newton@linaro.org>
33307         * manual/install.texi: Document that we require bison 2.7
33308         or above.
33309         * INSTALL: Regenerate.
33310         * configure.ac: Use AC_CHECK_PROG_VER instead of
33311         AC_PATH_PROG when checking for bison and check for
33312         version 2.7 or above.
33313         * configure: Regenerate.
33315 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
33317         [BZ #17745]
33318         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
33319         * sysdeps/tile/ffsll.c (ffsll): To here.
33321         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
33323 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
33325         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
33326         if not defined.
33327         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
33328         definition.
33329         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
33330         hidden ___tls_get_addr.
33331         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
33332         hidden __tls_get_addr.
33333         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
33334         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
33335         Likewise.
33337 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
33339         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
33340         _dl_init call.
33342 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
33344         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
33345         from "call _dl_init@PLT".
33346         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
33348 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
33350         * manual/search.texi: (Array Sort Function): Clarify stable sorting
33351         guarantees.
33353 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
33355         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
33357 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
33359         [BZ #17744]
33360         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
33361         strnlen.
33363 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
33365         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
33366         of multu on MIPSr6.
33367         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
33368         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
33369         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
33370         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
33371         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
33373 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
33375         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
33376         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
33377         (PTR_SUBU): Use subu for mips32r6/mips64r6.
33378         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
33379         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
33380         mips32r6/mips64r6.
33381         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
33383 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
33385         * string/strncat.c (STRNCAT): Simplify implementation.
33387 2014-12-19  David S. Miller  <davem@davemloft.net>
33389         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
33390         access the quad as both a long double and as a series of 4 words.
33392         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
33393         link_map->l_info array access.
33395 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
33397         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
33399         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
33400         * math/atest-exp2.c (TIMEOUT): Likewise.
33401         * math/atest-sincos.c (TIMEOUT): Likewise.
33403 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
33405         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
33406         -Wno-error with -fno-builtin-lround.
33408 2014-12-19  Torvald Riegel  <triegel@redhat.com>
33410         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
33411         Contains futex constants and functions moved over from ...
33412         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
33413         <lowlevellock-futex.h>.
33414         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
33415         (lll_timedwait_tid): Add comments and parentheses around macro
33416         arguments.
33418 2014-12-19  Torvald Riegel  <triegel@redhat.com>
33420         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
33421         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
33422         (__lll_private_flag): Remove.
33423         (lll_futex_wait): Likewise.
33424         (lll_futex_timed_wait): Likewise.
33425         (lll_futex_wake): Likewise.
33426         (lll_futex_requeue): Likewise.
33427         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
33428         (__lll_timedwait_tid): Spell out argument names.
33429         (lll_timedwait_tid): Add comments and parentheses around macro
33430         arguments.
33431         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
33432         LLL_SHARED and LLL_PRIVATE usable from assembly code.
33434 2014-12-19  Torvald Riegel  <triegel@redhat.com>
33436         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
33437         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
33438         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33439         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
33440         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
33441         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
33442         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
33443         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
33444         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
33445         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
33446         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
33447         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
33448         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
33449         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
33450         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
33451         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
33452         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
33453         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
33454         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
33456 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
33458         * sysdeps/x86_64/x32/Makefile: New file.
33460 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
33462         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
33463         1L with (mp_limb_t) 1.
33465 2014-12-17  Roland McGrath  <roland@hack.frob.com>
33467         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
33468         * nptl/libc_pthread_init.c: ... here.
33469         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
33470         * nptl/register-atfork.c: ... here.
33472         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
33473         Use pthread_sigmask rather than INTERNAL_SYSCALL.
33474         Use assert_perror to check its return value.
33475         (__gai_create_helper_thread): Likewise.
33477         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
33479         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
33481 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
33483         [BZ #17725]
33484         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
33485         __profil_counter.
33486         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
33487         Likewise.
33488         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
33489         Likewise.
33490         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
33491         Likewise.
33492         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
33493         (profil_counter): Likewise.
33494         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
33495         (profil_counter): Likewise.
33496         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
33497         Likewise.
33498         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
33499         Likewise.
33500         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
33501         (profil_counter): Likewise.
33502         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
33503         Likewise.
33504         [!__profil_counter] (profil_counter): Define as weak alias of
33505         __profil_counter.
33506         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
33507         (profil_counter): Rename to __profil_counter.
33508         [!__profil_counter] (profil_counter): Define as weak alias of
33509         __profil_counter.
33510         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
33511         (profil_counter): Rename to __profil_counter.
33512         [!__profil_counter] (profil_counter): Define as weak alias of
33513         __profil_counter.
33514         * sysdeps/posix/profil.c: Update comment referring to
33515         profil_counter.
33516         (__profil): Use __profil_counter instead of profil_counter.
33517         * sysdeps/posix/sprofil.c (profil_counter): Rename to
33518         __profil_counter.  Use __profil_counter_ushort and
33519         __profil_counter_uint in definitions.
33520         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
33521         instead of profil_counter_uint and profil_counter_ushort.
33523         [BZ #17722]
33524         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
33525         define as weak alias of __inet_makeaddr.
33526         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
33527         as weak alias of __inet_addr.
33528         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
33529         as weak alias of __inet_pton.  Use libc_hidden_weak.
33530         * include/arpa/inet.h (__inet_pton): Declare.  Use
33531         libc_hidden_proto.
33532         (inet_makeaddr): Don't use libc_hidden_proto.
33533         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
33534         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
33535         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
33536         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
33537         Remove variable.
33538         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
33539         (test-xfail-POSIX/time.h/linknamespace): Likewise.
33541 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
33543         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
33545 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
33547         * stdio-common/bug-vfprintf-nargs.c (do_test):
33548         Cast value to intptr_t to avoid format warning
33549         for usage with PRIdPTR printing macro.
33551 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
33553         * libio/tst-widetext.c (do_test):
33554         Use format type %td instead of %Zd for ptrdiff_t
33555         in order to avoid format warning.
33557 2014-12-17  Andreas Schwab  <schwab@suse.de>
33559         * nscd/mem.c (gc): Add size_t cast to match printf format.
33561 2014-12-16  Roland McGrath  <roland@hack.frob.com>
33563         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
33564         (init): Apply PTR_MANGLE to pointers before storing them.
33565         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
33566         before using them.
33568 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
33570         [BZ #17719]
33571         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
33572         define as weak alias of __memrchr.
33573         (__memrchr): Do not define as strong alias of memrchr.
33574         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
33575         Remove variable.
33576         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
33577         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
33578         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
33580         [BZ #17717]
33581         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
33582         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
33583         (if_indextoname): Rename to __if_indextoname and define as weak
33584         alias of __if_indextoname.  Use libc_hidden_weak.
33585         (if_freenameindex): Rename to __if_freenameindex and define as
33586         weak alias of __if_freenameindex.
33587         (if_nameindex): Rename to __if_nameindex and define as weak alias
33588         of __if_nameindex.
33589         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
33590         __if_nametoindex and define as weak alias of __if_nametoindex.
33591         Use libc_hidden_weak.
33592         (if_freenameindex): Rename to __if_freenameindex and define as
33593         weak alias of __if_freenameindex.
33594         (if_nameindex): Rename to __if_nameindex and define as weak alias
33595         of __if_nameindex.
33596         (if_indextoname): Rename to __if_indextoname and define as weak
33597         alias of __if_indextoname.  Use libc_hidden_weak.
33598         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
33599         __if_nametoindex and define as weak alias of __if_nametoindex.
33600         Use libc_hidden_weak.
33601         (if_freenameindex): Rename to __if_freenameindex and define as
33602         weak alias of __if_freenameindex.  Use libc_hidden_weak.
33603         (if_nameindex_netlink): Use __if_freenameindex instead of
33604         if_freenameindex.
33605         (if_nameindex): Rename to __if_nameindex and define as weak alias
33606         of __if_nameindex.  Use libc_hidden_weak.
33607         (if_indextoname): Rename to __if_indextoname and define as weak
33608         alias of __if_indextoname.  Use libc_hidden_weak.
33609         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
33610         libc_hidden_proto.
33611         [!_ISOMAC] (__if_freenameindex): Likewise.
33612         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
33613         if_nametoindex.
33614         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
33615         variable.
33616         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
33617         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
33618         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
33619         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
33620         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
33621         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
33622         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
33624         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
33625         Remove variable.
33626         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
33627         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
33629 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33631         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
33632         subscript above bounds'
33634         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
33635         bounds.
33637 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
33639         * libio/tst-fopenloc.c: Use test-skeleton.c.
33641         * stdlib/tst-bsearch.c: Use test-skeleton.c.
33642         (entry): Rename to ITEM.
33643         (do_test, comp): Adjust.
33645         * stdio-common/tst-fseek.c: Use test-skeleton.c.
33647 2014-12-16  Torvald Riegel  <triegel@redhat.com>
33649         * string/tester.c: Include <libc-internal.h>.
33650         (test_memset): Ignore -Wmemset-transposed-args.
33652 2014-12-16  Torvald Riegel  <triegel@redhat.com>
33654         * misc/tst-mntent2.c (do_test): Fix warning.
33656 2014-12-16  Torvald Riegel  <triegel@redhat.com>
33658         * elf/tst-unique4lib.cc(a): Mark as used.
33660 2014-12-16  Florian Weimer  <fweimer@redhat.com>
33662         [BZ #17630]
33663         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
33664         names.
33666 2014-12-16  Allan McRae  <allan@archlinux.org>
33668         * stdio-common/Makefile (tests): Re-add bug26.
33670 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
33672         [BZ #17657]
33673         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
33674         static array.
33676 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
33678         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
33679         (__lll_lock_wait): Likewise.
33680         (__lll_timedlock_wait): Likewise.
33681         (__lll_timedwait_tid): Likewise.
33682         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
33683         (__lll_robust_timedlock_wait): Likewise.
33684         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
33685         (lll_cond_trylock): Likewise.
33686         (__lll_lock): Likewise.
33687         (__lll_robust_lock): Likewise.
33688         (__lll_cond_lock): Likewise.
33689         (lll_robust_cond_lock): Likewise.
33690         (__lll_timedlock): Likewise.
33691         (__lll_robust_timedlock): Likewise.
33692         (__lll_unlock): Likewise.
33693         (__lll_robust_unlock): Likewise.
33694         (lll_wait_tid): Likewise.
33695         (lll_timedwait_tid): Likewise.
33697 2014-12-15  Torvald Riegel  <triegel@redhat.com>
33699         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
33701 2014-12-15  Torvald Riegel  <triegel@redhat.com>
33703         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
33705 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
33707         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
33708         * stdio-common/tst-sprintf.c: Likewise.
33710 2014-12-15  Torvald Riegel  <triegel@redhat.com>
33712         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
33714 2014-12-15  Jeff Law  <law@redhat.com>
33716         [BZ #16617]
33717         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
33718         on the heap.  (CVE-2012-3406)
33719         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
33720         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
33721         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
33723 2014-12-15  Will Newton  <will.newton@linaro.org>
33725         * manual/install.texi: Bump required version of texinfo
33726         to 4.7 from 4.5.
33727         * INSTALL: Regenerated.
33728         * configure.ac: Check for makeinfo version 4.7 and above.
33729         * configure: Regenerated.
33731 2014-12-12  Roland McGrath  <roland@hack.frob.com>
33733         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
33734         PREFIX, string constant to insert between directory and name.
33735         * sysdeps/posix/shm_open.c: Update caller.
33736         * sysdeps/posix/shm_unlink.c: Likewise.
33737         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
33738         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
33739         (SEM_SHM_PREFIX): New macro.
33740         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
33741         [$(have-thread-library) = no].
33742         * nptl/Makefile (libpthread-routines): Add shm-directory.
33743         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
33744         * sysdeps/nptl/shm-directory.h: New file.
33745         * sysdeps/posix/shm-directory.c
33746         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
33747         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
33748         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
33749         INTERNAL_SYSCALL.
33750         (__where_is_shmfs): Function removed.
33751         (mountpoint, defaultmount, defaultdir, __namedsem_once):
33752         Variables removed.
33753         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
33754         Use SHM_GET_NAME.
33755         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
33757         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
33758         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
33759         unconditional for use inside libpthread.
33760         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
33762 2014-12-12  Roland McGrath  <roland@hack.frob.com>
33764         * nptl/pthread_getaffinity.c: New file.
33765         * nptl/pthread_setaffinity.c: New file.
33766         * nptl/pthread_getname.c: New file.
33767         * nptl/pthread_setname.c: New file.
33769         * nptl/pthread_create.c (START_THREAD_DEFN)
33770         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
33772 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33773             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33775         * resolv/res_send.c (send_vc): Disable warning resplen may
33776         be used uninitialized.
33778 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33780         * nptl/tst-mutex6.c
33781         (ATTR_NULL): New define checks ATTR against NULL.
33782         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
33783         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
33785 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
33787         [BZ #17581]
33788         * malloc/hooks.c
33789         (mem2mem_check): Revert my previous change.
33790         (malloc_check_get_size): Revert my previous change.
33791         (mem2chunk_check): Revert my previous change.
33793 2014-12-11  Roland McGrath  <roland@hack.frob.com>
33795         * sysdeps/posix/shm-directory.c: New file.
33796         * sysdeps/posix/shm-directory.h: New file.
33797         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
33798         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
33799         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
33800         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
33801         Transmute EPERM to EACCES.
33802         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
33803         from ...
33804         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
33805         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
33807 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33809         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
33810         pointer and cast to uintptr_t.
33811         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
33812         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
33813         Add cast to avoid warning.
33814         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
33816 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
33818         * nptl/semaphore.h: Move to ...
33819         * sysdeps/pthread/semaphore.h: ... here.
33820         * Makefile (installed-headers): Change nptl/semaphore.h to
33821         sysdeps/pthread/semaphore.h.
33823 2014-12-11  Roland McGrath  <roland@hack.frob.com>
33825         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
33826         generated error format strings.
33828         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
33829         -Wformat-extra-args warnings for scanf formats.
33830         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
33831         test of zero-length format (duh).
33832         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
33833         corner-case scanf format test.
33834         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
33835         generated fprintf format string.
33836         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
33837         corner-case sprintf format tests.
33838         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
33839         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
33840         -Wformat-extra-args warnings throughout.
33841         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
33842         (CFLAGS-scanf4.c): Likewise.
33843         (CFLAGS-scanf7.c): Likewise.
33844         (CFLAGS-tst-sprintf.c): Likewise.
33845         (CFLAGS-tst-printf.c): Likewise.
33846         (CFLAGS-tst-printfsz.c): Likewise.
33848 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
33850         * include/cpio.h: New file.
33851         * include/fmtmsg.h: Likewise.
33853         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
33854         corresponding format argument to size_t.
33855         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
33856         arguments.
33857         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
33858         corresponding format argument to size_t.
33859         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
33860         arguments.
33861         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
33862         corresponding format argument to size_t.
33863         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
33864         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
33865         (CFLAGS-tst-mbswcs2.c): Likewise.
33866         (CFLAGS-tst-mbswcs3.c): Likewise.
33867         (CFLAGS-tst-mbswcs4.c): Likewise.
33868         (CFLAGS-tst-mbswcs5.c): Likewise.
33869         (CFLAGS-tst-trans.c): Likewise.
33871 2014-12-11  Roland McGrath  <roland@hack.frob.com>
33873         * posix/regexbug1.c (main): Use "%s" format with regerror results,
33874         rather than assuming they won't contain any '%'s.
33876 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
33878         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
33879         inhibit_loop_to_libcall to avoid recursive calls.
33880         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
33881         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
33883 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
33885         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
33886         prototype.
33888 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
33890         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
33891         integer value instead of boolean.
33893 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
33895         * malloc/malloc.c: Fix powerof2 check.
33897 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33899         * locale/programs/locfile.h (maybe_swap_uint32):
33900         Remove inline and add unused attribute.
33902 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33904         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
33905         Truncating assembler expression to a .long expression.
33907 2014-12-11  Andreas Schwab  <schwab@suse.de>
33909         * elf/rtld.c (struct map_args): Constify str member.
33910         (do_preload): Constify fname argument.
33912 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33914         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
33915         constants definition.
33917 2014-12-11  Andreas Schwab  <schwab@suse.de>
33919         [BZ #16657]
33920         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
33921         FORCE_ELISION instead of DO_ELISION.
33922         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
33923         Remove.
33924         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
33925         Likewise.
33927         * iconvdata/gconv-modules: Remove duplicate entry.
33929 2014-12-11  Will Newton  <will.newton@linaro.org>
33931         Merge gettext 0.19.3 into intl/.
33933         This involves a number of cosmetic changes to comments
33934         and ANSI function definitions and prototypes throughout
33935         all the files. The gettext copyright header is used but
33936         with the date ranges taken from the glibc copy.
33938         * NEWS: Add gettext merge to 2.21.
33939         * intl/bindtextdom.c: Switch to gettext copyright.
33940         Use ANSI definitions and prototypes.
33941         Use gl_* locking primitives rather than __libc_* ones.
33942         Use __builtin_expect rather than __glibc_likely/unlikely.
33943         * intl/dcgettext.c: Switch to gettext copyright.
33944         Use ANSI definitions and prototypes.
33945         * intl/dcigettext.c: Switch to gettext copyright.
33946         Use ANSI definitions and prototypes.
33947         (INTDIV0_RAISES_SIGFPE): New define.
33948         Use gl_* locking primitives rather than __libc_* ones.
33949         Include eval-plural.h instead of plural-eval.c.
33950         Use __builtin_expect rather than __glibc_likely/unlikely.
33951         * intl/dcngettext.c: Switch to gettext copyright.
33952         Use ANSI definitions and prototypes.
33953         * intl/dgettext.c: Likewise.
33954         * intl/dngettext.c: Likewise.
33955         * intl/plural-eval.c: Renamed to...
33956         * intl/eval-plural.h: ...this.
33957         * intl/explodename.c: Switch to gettext copyright.
33958         Use ANSI definitions and prototypes.
33959         (_nl_explode_name): Use strchr instead of __rawmemchr.
33960         * intl/finddomain.c: Switch to gettext copyright.
33961         Use ANSI definitions and prototypes.
33962         Use gl_* locking primitives rather than __libc_* ones.
33963         (_nl_find_domain): Use malloc rather than alloca for
33964         allocation of temporary locale name.
33965         * intl/gettext.c: Switch to gettext copyright.
33966         Use ANSI definitions and prototypes.
33967         * intl/gettextP.h: Switch to gettext copyright.
33968         Use ANSI definitions and prototypes.
33969         Use gl_* locking primitives rather than __libc_* ones.
33970         * intl/gmo.h: Switch to gettext copyright.
33971         (struct sysdep_string): Move struct segment_pair outside of
33972         struct definition.
33973         * intl/hash-string.c: Use ANSI definitions and prototypes.
33974         * intl/hash-string.h: Switch to gettext copyright.
33975         Use ANSI definitions and prototypes.
33976         * intl/l10nflist.c: Switch to gettext copyright.
33977         Use ANSI definitions and prototypes.
33978         (_nl_normalize_codeset): Avoid integer overflow.
33979         * intl/loadinfo.h: Switch to gettext copyright.
33980         Use ANSI definitions and prototypes.
33981         (LIBINTL_DLL_EXPORTED): New define.
33982         (PATH_SEPARATOR): New define.
33983         * intl/loadmsgcat.c: Switch to gettext copyright.
33984         * intl/localealias.c: Switch to gettext copyright.
33985         Use ANSI definitions and prototypes.
33986         (_nl_expand_alias): Use PATH_SEPARATOR.
33987         * intl/ngettext.c: Switch to gettext copyright.
33988         Use ANSI definitions and prototypes.
33989         * intl/plural-exp.c: Likewise.
33990         * intl/plural-exp.h: Switch to gettext copyright.
33991         Use ANSI definitions and prototypes.
33992         (struct expression): Move definition of enum operator outside
33993         of struct definition.
33994         * intl/plural.c: Regenerate.
33995         * intl/plural.y: Switch to gettext copyright.
33996         Use ANSI definitions and prototypes.
33997         Port to bison 3.0.
33998         * intl/textdomain.c: Switch to gettext copyright.
33999         Use ANSI definitions and prototypes.
34000         Use gl_* locking primitives rather than __libc_* ones.
34002 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
34004         * debug/warning-nop.c: Add used atrribute.
34006 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34008         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
34010         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
34011         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
34012         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
34014 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34015             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34017         [BZ #17634]
34018         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
34019         Undefine after defining function.  Define as weak alias of
34020         __wcschr.  Use libc_hidden_weak.
34021         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
34022         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
34023         (libc_hidden_def): Also define __GI___wcschr alias.
34024         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
34025         __wcschr and define as weak alias of __wcschr.
34026         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
34027         __wcschr.
34028         [!WCSCHR] (DEFAULT_WCSCHR): Define.
34029         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
34030         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
34031         libc_hidden_weak.  Do not use libc_hidden_def.
34032         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
34033         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
34034         __GI___wcschr alias.
34035         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
34036         [IS_IN (libc)] (wcschr): Define as macro expanding to
34037         __redirect_wcschr.
34038         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
34039         [IS_IN (libc)] (__wcschr_power6): Likewise.
34040         [IS_IN (libc)] (__wcschr_power7): Likewise.
34041         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
34042         instead of wcschr.
34043         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
34044         __libc_wcschr.
34045         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
34046         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
34047         __wcschr and define as weak alias of __wcschr.  Use
34048         libc_hidden_builtin_def.
34049         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
34050         as weak alias of __wcschr.  Use libc_hidden_weak.
34051         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
34052         wcschr.
34053         * time/era.c (_nl_init_era_entries): Likewise.
34054         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
34055         variable.
34056         (test-xfail-XPG3/time.h/linknamespace): Likewise.
34057         (test-xfail-XPG4/time.h/linknamespace): Likewise.
34059 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34061         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
34062         format for long int variable.
34064 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
34066         [BZ #10672]
34067         * manual/search.texi: (Array Sort Function): Remove claim how to make
34068         qsort stable.
34070 2014-12-10  Andreas Schwab  <schwab@suse.de>
34072         [BZ #12847]
34073         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
34074         user-controlled locks.
34076 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
34078         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
34079         register.
34081 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34083         * configure.ac (--disable-werror): New configure option.
34084         (enable_werror): New AC_SUBST.
34085         * configure: Regenerated.
34086         * config.make.in (enable-werror): New variable.
34087         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
34088         -Wno-error=undef.
34089         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
34090         * manual/install.texi (Configuring and compiling): Document
34091         --disable-werror.
34092         * INSTALL: Regenerated.
34093         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
34094         (CFLAGS-tst-chk2.c): Likewise.
34095         (CFLAGS-tst-chk3.c): Likewise.
34096         (CFLAGS-tst-chk4.cc): Likewise.
34097         (CFLAGS-tst-chk5.cc): Likewise.
34098         (CFLAGS-tst-chk6.cc): Likewise.
34099         (CFLAGS-tst-lfschk1.c): Likewise.
34100         (CFLAGS-tst-lfschk2.c): Likewise.
34101         (CFLAGS-tst-lfschk3.c): Likewise.
34102         (CFLAGS-tst-lfschk4.cc): Likewise.
34103         (CFLAGS-tst-lfschk5.cc): Likewise.
34104         (CFLAGS-tst-lfschk6.cc): Likewise.
34106         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
34107         (main): Disable -Wdeprecated-declarations around calls to
34108         register_printf_function.
34110         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
34111         (do_test): Disable -Wdiv-by-zero around some calls to
34112         fwrite_unlocked and fread_unlocked.
34114         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
34115         (DIAG_POP_NEEDS_COMMENT): Likewise.
34116         (_DIAG_STR1): Likewise.
34117         (_DIAG_STR): Likewise.
34118         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
34119         * stdio-common/bug21.c: Include <libc-internal.h>.
34120         (do_test): Disable -Wformat around call to sscanf.
34121         * stdio-common/scanf14.c: Include <libc-internal.h>.
34122         (main): Disable -Wformat around some calls to scanf functions.
34124 2014-12-09  Torvald Riegel  <triegel@redhat.com>
34126         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
34128 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34130         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
34131         stack variable alignment.
34133 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
34135         [BZ #17682]
34136         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
34137         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
34138         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
34139         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
34140         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
34141         __getrlimit instead of getrlimit.
34142         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
34143         __gettimeofday instead of gettimeofday.
34144         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34145         Likewise.
34146         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
34147         Likewise.
34148         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34149         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
34150         Remove variable.
34151         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
34152         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
34154 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34156         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
34157         for wide-character tests.
34159 2014-12-04  Roland McGrath  <roland@hack.frob.com>
34161         * io/openat64.c: #include <libc-internal.h>
34162         (__openat64): Prototypify.  Use ignore_value on MODE.
34163         * io/openat.c: Likewise.
34164         * misc/reboot.c: #include <libc-internal.h>
34165         (reboot): Prototypify.  Use ignore_value on HOWTO.
34166         * misc/ptrace.c: #include <libc-internal.h>
34167         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
34169 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
34171         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
34172         XPG4, UNIX98 and XOPEN2K.
34173         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
34174         Remove variable.
34175         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
34177 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34179         * libio/fileops.c: Use ISO C style for function definitions.
34180         * libio/iofopen.c: Likewise.
34181         * libio/wfileops.c: Likewise.
34183         [BZ #17653]
34184         * libio/fileops.c (_IO_new_file_underflow): Unset cached
34185         offset on EOF.
34186         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
34187         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
34188         (fgets_func): Function pointer to fgets and fgetws.
34189         (do_ftell_test): Add test to verify ftell value after read
34190         EOF.
34191         (do_test): Set fgets_func.
34193         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
34194         O_TRUNC flag for w and w+ modes.
34195         (do_rewind_test): Likewise.
34196         (do_ftell_test): Likewise.
34197         (do_write_test): Likewise.
34199         [BZ #17647]
34200         * libio/fileops.c (do_ftell): Seek only when there are
34201         unflushed writes.
34202         * libio/wfileops.c (do_ftell_wide): Likewise.
34203         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
34204         test case.
34205         (do_one_test): Call it.
34207 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
34209         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
34210         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
34211         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
34212         Remove variable.
34213         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
34214         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
34215         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
34217 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
34219         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
34220         Remove variable.
34221         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
34223         [BZ #17668]
34224         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
34225         as weak alias of __getifaddrs.  Use libc_hidden_weak.
34226         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
34227         __freeifaddrs.  Use libc_hidden_weak.
34228         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
34229         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
34230         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
34231         __freeifaddrs.  Use libc_hidden_weak.
34232         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
34233         __getifaddrs and define as weak alias of __getifaddrs.  Use
34234         libc_hidden_weak.
34235         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
34236         __freeifaddrs.  Use libc_hidden_weak.
34237         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
34238         Remove variable.
34239         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
34240         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
34242 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
34244         [BZ #17601]
34245         * sysdeps/mips/start.S (__start): Use indirect jump to call
34246         __libc_start_main.
34248 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
34250         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
34252         * nptl/tst-mutex1.c: Include <stdbool.h>.
34253         [!ATTR] (ATTR_NULL): New macro.
34254         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
34255         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
34256         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
34258         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
34259         to char *.
34261         [BZ #17665]
34262         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
34263         Change conditional to [__USE_MISC].
34265         [BZ #17664]
34266         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
34267         fgets_unlocked.
34268         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
34269         __fgets_unlocked.
34270         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
34271         fgets_unlocked.
34272         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
34273         Remove variable.
34274         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
34275         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
34276         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
34277         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
34278         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
34279         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
34280         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
34281         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
34282         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
34284         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
34286 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34288         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34289         Remove strpbrk objects.
34290         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34291         (__libc_ifunc_impl_list): Remove strpbrk implementation.
34292         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
34293         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
34294         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
34295         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
34297         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34298         Remove strcspn objects.
34299         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34300         (__libc_ifunc_impl_list): Remove strcspn implementation.
34301         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
34302         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
34303         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
34304         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
34306         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34307         Remove strspn objetcs.
34308         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34309         (__libc_ifunc_impl_list): Remove strspn implementation.
34310         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
34311         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
34312         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
34313         * sysdeps/powerpc/powerpc64/strspn.S: New file.
34315 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
34317         [BZ #17581]
34318         * malloc/hooks.c
34319         (mem2mem_check): Add a terminator to the chain of checking blocks.
34320         (malloc_check_get_size): Use it here.
34321         (mem2chunk_check): Ditto.
34323 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34325         * sysdeps/powerpc/powerpc64/strtok.S: New file.
34326         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
34328 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
34330         * bits/ioctl-types.h: Indent preprocessor directives correctly.
34332         * nptl/nptl-init.c: Include libc-internal.h.
34333         (__pthread_initialize_minimal_internal): Use ROUND_UP.
34335         * elf/ldconfig.c (search_dir): Expand comment.
34337 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
34339         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
34340         variable.
34341         (linknamespace-symlist-stdlibs-tests): Likewise.
34342         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
34343         instead of $(objpfx)symlist-stdlibs.
34344         (linknamespace-libs-isoc): New variable.
34345         (linknamespace-libs): Use $(linknamespace-libs-isoc).
34346         (linknamespace-libs-ISO): New variable.
34347         (linknamespace-libs-ISO99): Likewise.
34348         (linknamespace-libs-ISO11): Likewise.
34349         (linknamespace-libs-XPG3): Likewise.
34350         (linknamespace-libs-XPG4): Likewise.
34351         (linknamespace-libs-POSIX): Likewise.
34352         (linknamespace-libs-UNIX98): Likewise.
34353         (linknamespace-libs-XOPEN2K): Likewise.
34354         (linknamespace-libs-POSIX2008): Likewise.
34355         (linknamespace-libs-XOPEN2K8): Likewise.
34356         ($(objpfx)symlist-stdlibs): Replace by
34357         $(linknamespace-symlist-stdlibs-tests).  Use
34358         $(linknamespace-libs-$*) as set of libraries.
34359         ($(linknamespace-header-tests)): Update dependencies.  Use
34360         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
34361         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
34362         * conform/linknamespace.pl: Remove comment about considering
34363         definitions of symbols from irrelevant libraries.
34365 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
34367         [BZ #13862]
34368         * elf/dl-tls.c: Include <atomic.h>.
34369         (oom): Remove #ifdef SHARED/#endif.
34370         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
34371         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
34372         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
34373         big enough.
34374         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
34375         * nptl/Makefile (tests): Add tst-stack4.
34376         (modules-names): Add tst-stack4mod.
34377         ($(objpfx)tst-stack4): New.
34378         (tst-stack4mod.sos): Likewise.
34379         ($(objpfx)tst-stack4.out): Likewise.
34380         ($(tst-stack4mod.sos)): Likewise.
34381         (clean): Likewise.
34382         * nptl/tst-stack4.c: New file.
34383         * nptl/tst-stack4mod.c: Likewise.
34385 2014-11-27  J. Brown  <jb999@gmx.de>
34387         * sysdeps/x86/bits/string.h: Add recent CPUs.
34389 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
34391         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
34392         sigblock.
34394         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
34395         feof.
34397         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
34398         variable.
34400 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
34402         * nscd/connections.c: Include libc-internal.h because of macro
34403         usage ignore_value.
34405 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34407         * string/bits/string3.h (__warn_memset_zero_len): Don't
34408         declare for gcc newer than 5.0.
34409         (memset): Don't test for zero-length __LEN for gcc newer than
34410         5.0.
34412 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
34414         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
34415         size_t for %zu format.
34417         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
34418         difference, not %ju.
34420 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
34422         * include/libc-internal.h (ignore_value): New macro.
34423         * nscd/connections.c (restart): Wrap calls to setuid and setgid
34424         with ignore_value.
34426         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
34427         definition.
34429         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
34430         pthread_cleanup_push to void *.
34432         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
34433         Undefine.
34435         [BZ #16619]
34436         [BZ #16740]
34437         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
34438         instead of 1L << 52.
34440         * libio/bug-rewind.c (do_test): Check fwscanf return values.
34441         * libio/bug-rewind2.c (do_test): Likewise.
34443         * debug/test-stpcpy_chk-ifunc.c: Remove file.
34444         * debug/test-strcpy_chk-ifunc.c: Likewise.
34445         * wcsmbs/test-wcschr-ifunc.c: Likewise.
34446         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34447         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34448         * wcsmbs/test-wcslen-ifunc.c: Likewise.
34449         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34450         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34451         * Rules [$(multi-arch) = no] (tests): Do not filter out
34452         $(tests-ifunc).
34453         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
34454         * debug/Makefile (tests-ifunc): Remove variable.
34455         (tests): Do not add $(tests-ifunc).
34456         * wcsmbs/Makefile (tests-ifunc): Remove variable.
34457         (tests): Do not add $(tests-ifunc).
34458         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
34459         [TEST_IFUNC]: Remove conditionals.
34460         * string/test-string.h (TEST_IFUNC): Remove macro.
34461         [TEST_IFUNC]: Remove conditionals.
34463         * string/test-strchr.c [!WIDE] (L): New macro.
34464         [WIDE] (L): Likewise.
34465         (check1): Use CHAR instead of char.  Use L on string and character
34466         constants.
34468 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
34470         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
34471         tests.
34472         * sysdeps/powerpc/bits/atomic.h
34473         (__arch_atomic_exchange_and_add_32_acq): Add definition.
34474         (__arch_atomic_exchange_and_add_32_rel): Likewise.
34475         (atomic_exchange_and_add_acq): Likewise.
34476         (atomic_exchange_and_add_rel): Likewise.
34477         * sysdeps/powerpc/powerpc32/bits/atomic.h
34478         (__arch_atomic_exchange_and_add_64_acq): Add definition.
34479         (__arch_atomic_exchange_and_add_64_rel): Likewise.
34480         * sysdeps/powerpc/powerpc64/bits/atomic.h
34481         (__arch_atomic_exchange_and_add_64_acq): Add definition.
34482         (__arch_atomic_exchange_and_add_64_rel): Likewise.
34484 2014-11-26  Torvald Riegel  <triegel@redhat.com>
34486         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
34487         Change synchronization of __sched_fifo_min_prio and
34488         __sched_fifo_max_prio.
34489         * nptl/pthread_mutexattr_getprioceiling.c
34490         (pthread_mutexattr_getprioceiling): Likewise.
34491         * nptl/pthread_mutexattr_setprioceiling.c
34492         (pthread_mutexattr_setprioceiling): Likewise.
34493         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
34494         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
34495         Likewise.
34497 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
34499         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
34500         void.
34502 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
34504         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
34505         third argument const.
34507 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
34509         fnmatch: work around GCC compiler warning bug with uninit var
34510         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
34511         This works around a bug with x86-64 GCC 4.9.2 and earlier
34512         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
34513         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
34514         used uninitialized in this function [-Wmaybe-uninitialized]".
34516 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
34518         * posix/bug-regex31.c (main): Return RES not 0.
34520 2014-11-25  Anton Blanchard <anton@samba.org>
34522         * sysdeps/powerpc/bits/atomic.h
34523         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
34525 2014-11-24  Sterling Augustine  <saugustine@google.com>
34527         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
34529 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
34531         [BZ #17608]
34532         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
34534 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
34536         [BZ #17633]
34537         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
34538         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
34539         variable.
34540         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
34541         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
34543 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
34545         * string/strncpy.c (strncpy): Improve performance by using memset.
34547 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
34549         * string/strcpy.c (strcpy):
34550         Improve performance by using strlen and memcpy.
34552 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
34554         * string/strcoll_l.c (get_next_seq): __always_inline.
34555         * string/strcoll_l.c (do_compare): __always_inline.
34557 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34559         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
34560         defined.
34561         * include/mqueue.h: Likewise.
34562         * include/stdlib.h: Likewise.
34564         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
34565         (get_null_defines): Adjust.
34566         * sunrpc/Makefile: Adjust comment.
34567         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
34568         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
34569         (CFLAGS-interp.c): Likewise.
34570         (CFLAGS-ldconfig.c): Likewise.
34571         (CPPFLAGS-.os): Likewise.
34572         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34573         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
34574         * extra-modules.mk (extra-modules.mk): Likewise.
34575         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
34576         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
34577         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
34578         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
34579         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
34580         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
34581         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
34582         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
34583         * iconvdata/Makefile (CPPFLAGS): Likewise.
34584         (cpp-srcs-left): Add libof for all iconvdata routines.
34585         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
34586         * include/assert.h: Likewise.
34587         * include/ctype.h: Likewise.
34588         * include/errno.h: Likewise.
34589         * include/libc-symbols.h: Likewise.
34590         * include/math.h: Likewise.
34591         * include/netdb.h: Likewise.
34592         * include/resolv.h: Likewise.
34593         * include/stdio.h: Likewise.
34594         * include/stdlib.h: Likewise.
34595         * include/string.h: Likewise.
34596         * include/sys/stat.h: Likewise.
34597         * include/wctype.h: Likewise.
34598         * intl/l10nflist.c: Likewise.
34599         * libidn/idn-stub.c: Likewise.
34600         * libio/libioP.h: Likewise.
34601         * nptl/libc_multiple_threads.c: Likewise.
34602         * nptl/pthreadP.h: Likewise.
34603         * posix/regex_internal.h: Likewise.
34604         * resolv/res_hconf.c: Likewise.
34605         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
34606         * sysdeps/arm/memmove.S: Likewise.
34607         * sysdeps/arm/sysdep.h: Likewise.
34608         * sysdeps/generic/_itoa.h: Likewise.
34609         * sysdeps/generic/symbol-hacks.h: Likewise.
34610         * sysdeps/gnu/errlist.awk: Likewise.
34611         * sysdeps/gnu/errlist.c: Likewise.
34612         * sysdeps/i386/i586/memcpy.S: Likewise.
34613         * sysdeps/i386/i586/memset.S: Likewise.
34614         * sysdeps/i386/i686/memcpy.S: Likewise.
34615         * sysdeps/i386/i686/memmove.S: Likewise.
34616         * sysdeps/i386/i686/mempcpy.S: Likewise.
34617         * sysdeps/i386/i686/memset.S: Likewise.
34618         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34619         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34620         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
34621         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
34622         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34623         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34624         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
34625         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34626         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34627         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34628         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34629         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34630         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34631         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34632         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34633         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34634         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
34635         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
34636         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
34637         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34638         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34639         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34640         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34641         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34642         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34643         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34644         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
34645         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34646         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
34647         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34648         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34649         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34650         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34651         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34652         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34653         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34654         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34655         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34656         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34657         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34658         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34659         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34660         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34661         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34662         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34663         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34664         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
34665         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
34666         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34667         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34668         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34669         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
34670         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
34671         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34672         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
34673         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
34674         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34675         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
34676         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
34677         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34678         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
34679         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34680         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
34681         * sysdeps/nptl/bits/libc-lock.h: Likewise.
34682         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
34683         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
34684         * sysdeps/posix/closedir.c: Likewise.
34685         * sysdeps/posix/opendir.c: Likewise.
34686         * sysdeps/posix/readdir.c: Likewise.
34687         * sysdeps/posix/rewinddir.c: Likewise.
34688         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
34689         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
34690         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
34691         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
34692         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
34693         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
34694         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
34695         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
34696         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
34697         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
34698         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
34699         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
34700         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
34701         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
34702         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
34703         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
34704         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
34705         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
34706         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
34707         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
34708         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
34709         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
34710         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
34711         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
34712         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
34713         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
34714         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
34715         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
34716         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
34717         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
34718         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
34719         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
34720         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
34721         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
34722         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
34723         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
34724         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
34725         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
34726         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
34727         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
34728         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
34729         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
34730         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
34731         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
34732         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
34733         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
34734         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
34735         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
34736         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
34737         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
34738         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
34739         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
34740         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
34741         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
34742         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
34743         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
34744         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
34745         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
34746         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
34747         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
34748         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
34749         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
34750         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
34751         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
34752         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
34753         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
34754         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
34755         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
34756         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
34757         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
34758         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
34759         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
34760         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
34761         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
34762         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
34763         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
34764         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
34765         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
34766         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
34767         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
34768         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
34769         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
34770         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
34771         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
34772         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
34773         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
34774         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
34775         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34776         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34777         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34778         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
34779         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
34780         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
34781         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34782         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34783         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
34784         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34785         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34786         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
34787         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
34788         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34789         * sysdeps/unix/alpha/sysdep.S: Likewise.
34790         * sysdeps/unix/alpha/sysdep.h: Likewise.
34791         * sysdeps/unix/make-syscalls.sh: Likewise.
34792         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
34793         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
34794         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
34795         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
34796         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
34797         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
34798         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
34799         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34800         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
34801         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
34802         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34803         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
34804         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34805         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
34806         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
34807         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34808         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34809         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
34810         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
34811         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
34812         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
34813         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34814         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
34815         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
34816         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
34817         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
34818         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
34820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
34821         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
34822         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34823         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
34824         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34825         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34826         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
34827         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
34828         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34829         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34830         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
34831         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
34832         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34833         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
34834         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34835         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
34836         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34837         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
34838         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34839         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34840         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34841         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34842         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34843         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
34844         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
34845         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
34846         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
34847         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34848         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
34849         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34850         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
34851         * sysdeps/x86_64/memcpy.S: Likewise.
34852         * sysdeps/x86_64/memmove.c: Likewise.
34853         * sysdeps/x86_64/memset.S: Likewise.
34854         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
34855         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34856         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
34857         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
34858         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
34859         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34860         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34861         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34862         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34863         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34864         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34865         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34866         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
34867         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34868         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34869         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
34870         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34871         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34872         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34873         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34874         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
34875         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34876         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34877         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34878         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34879         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34880         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34881         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
34882         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
34883         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34884         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
34885         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34886         * sysdeps/x86_64/strcmp.S: Likewise.
34888         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
34890         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
34891         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
34892         * elf/rtld-Rules: Likewise.
34893         * elf/setup-vdso.h: Likewise.
34894         * include/assert.h: Likewise.
34895         * include/bits/stdlib-float.h: Likewise.
34896         * include/errno.h: Likewise.
34897         * include/sys/stat.h: Likewise.
34898         * include/unistd.h: Likewise.
34899         * sysdeps/aarch64/setjmp.S: Likewise.
34900         * sysdeps/alpha/setjmp.S: Likewise.
34901         * sysdeps/arm/__longjmp.S: Likewise.
34902         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
34903         * sysdeps/arm/setjmp.S: Likewise.
34904         * sysdeps/arm/sysdep.h: Likewise.
34905         * sysdeps/generic/_itoa.h: Likewise.
34906         * sysdeps/generic/dl-sysdep.h: Likewise.
34907         * sysdeps/generic/ldsodefs.h: Likewise.
34908         * sysdeps/i386/dl-tls.h: Likewise.
34909         * sysdeps/i386/setjmp.S: Likewise.
34910         * sysdeps/m68k/setjmp.c: Likewise.
34911         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
34912         * sysdeps/mach/hurd/opendir.c: Likewise.
34913         * sysdeps/posix/getcwd.c: Likewise.
34914         * sysdeps/posix/opendir.c: Likewise.
34915         * sysdeps/posix/profil.c: Likewise.
34916         * sysdeps/powerpc/dl-procinfo.h: Likewise.
34917         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
34918         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
34919         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
34920         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
34921         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
34922         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
34923         * sysdeps/s390/dl-tls.h: Likewise.
34924         * sysdeps/s390/s390-32/setjmp.S: Likewise.
34925         * sysdeps/s390/s390-64/setjmp.S: Likewise.
34926         * sysdeps/sh/sh3/setjmp.S: Likewise.
34927         * sysdeps/sh/sh4/setjmp.S: Likewise.
34928         * sysdeps/unix/alpha/sysdep.h: Likewise.
34929         * sysdeps/unix/arm/sysdep.S: Likewise.
34930         * sysdeps/unix/i386/sysdep.S: Likewise.
34931         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
34932         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
34933         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34934         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34935         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34936         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
34937         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
34938         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34939         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
34940         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
34941         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
34942         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34943         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
34945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34946         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34947         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34948         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34949         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34950         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34951         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34952         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34953         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34954         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34955         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
34956         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34957         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34958         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34959         * sysdeps/x86_64/setjmp.S: Likewise.
34961         * include/math.h: Use IS_IN instead of IS_IN_libm.
34962         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
34963         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34964         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34965         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
34966         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34967         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34968         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34969         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34970         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34971         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34972         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
34973         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
34974         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
34975         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
34976         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
34977         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
34978         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
34979         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
34980         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
34981         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
34982         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
34983         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
34984         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
34985         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
34986         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
34987         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
34988         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
34989         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
34990         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
34991         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
34992         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
34993         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
34994         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
34995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
34996         Likewise.
34997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
34998         Likewise.
34999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
35000         Likewise.
35001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
35002         Likewise.
35003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
35004         Likewise.
35005         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
35006         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
35007         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
35008         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35009         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35010         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
35012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
35013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
35014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
35015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
35016         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
35017         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
35018         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
35019         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
35020         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35021         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
35022         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
35023         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35024         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
35025         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
35026         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
35027         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
35028         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
35029         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
35030         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35031         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
35033         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
35034         * nptl/pthreadP.h: Likewise.
35035         * nptl_db/structs.def: Likewise.
35036         * sysdeps/arm/sysdep.h: Likewise.
35037         * sysdeps/nptl/bits/libc-lock.h: Likewise.
35038         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
35039         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
35040         * sysdeps/unix/alpha/sysdep.h: Likewise.
35041         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
35042         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35043         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
35044         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
35045         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
35046         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
35047         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35048         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
35049         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35050         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
35051         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
35052         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
35053         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
35054         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
35055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
35056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
35057         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
35058         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
35059         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
35060         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
35061         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35062         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
35063         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35064         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
35065         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
35066         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
35068         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
35069         * nptl/pthreadP.h: Likewise.
35070         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
35071         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
35072         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
35073         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
35074         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
35075         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
35076         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35077         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
35078         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
35079         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
35080         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
35081         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
35082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
35083         Likewise.
35084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
35085         Likewise.
35086         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
35087         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
35088         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
35089         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
35090         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35091         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
35092         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
35093         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
35095         * dlfcn/dladdr.c: Use IS_IN.
35096         * dlfcn/dladdr1.c: Likewise.
35097         * dlfcn/dlclose.c: Likewise.
35098         * dlfcn/dlerror.c: Likewise.
35099         * dlfcn/dlinfo.c: Likewise.
35100         * dlfcn/dlmopen.c: Likewise.
35101         * dlfcn/dlopen.c: Likewise.
35102         * dlfcn/dlsym.c: Likewise.
35103         * dlfcn/dlvsym.c: Likewise.
35105         * include/ifaddrs.h: Use IS_IN.
35106         * inet/check_pf.c: Likewise.
35107         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35108         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
35110         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
35111         IS_IN_ldconfig.
35112         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
35113         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
35115         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
35116         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
35117         IS_IN (libc).
35119         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
35121         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
35122         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35123         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
35124         * include/libc-symbols.h (IS_IN_LIB): New macro.
35125         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
35126         * include/netdb.h: Likewise.
35127         * include/stap-probe.h: Remove all uses of IN_LIB.
35129         * Makeconfig (module-cppflags-real): Define MODULE_NAME
35130         instead of IN_MODULE.
35131         * include/libc-symbols.h (IN_MODULE): Define using
35132         MODULE_NAME.
35133         (PASTE_NAME, PASTE_NAME1): New macros.
35134         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
35135         of IN_LIB.
35136         (STAP_PROBE_ASM): Likewise.
35138 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35140         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
35141         __mach_init in dlopened libc.
35143 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
35145         * sysdeps/arm/preconfigure.ac: Delete EABI check.
35146         * sysdeps/arm/preconfigure: Regenerate.
35148 2014-11-21  Roland McGrath  <roland@hack.frob.com>
35150         * nptl/pthread_create.c (__pthread_create_2_1): Set
35151         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
35152         when copying values from IATTR into PD.
35154 2014-11-21  Will Newton  <will.newton@linaro.org>
35155             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
35157         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
35158         Refactor inline-asm.  Also add comment.
35160         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
35161         ElfW macro instead of hardcoded Elf64 types.
35162         (la_aarch64_gnu_pltenter): Likewise.
35163         * sysdeps/aarch64/dl-machine.h
35164         (elf_machine_runtime_setup): Use ElfW(Addr).
35166         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
35167         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
35168         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
35169         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
35170         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
35171         (R_AARCH64_TLS_DTPMOD64): Rename to ..
35172         (R_AARCH64_TLS_DTPMOD): This.
35173         (R_AARCH64_TLS_DTPREL64): Rename to ...
35174         (R_AARCH64_TLS_DTPREL): This.
35175         (R_AARCH64_TLS_TPREL64): Rename to ...
35176         (R_AARCH64_TLS_TPREL): This.
35177         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
35178         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
35179         R_AARCH64_TLS_TPREL64.
35180         (elf_machine_rela): Likewise.
35182 2014-11-21  Torvald Riegel  <triegel@redhat.com>
35184         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
35185         by setting it to 0.  64b atomics are not supported currently.
35187 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35189         [BZ #16469]
35190         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
35191         search domain names.
35193 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35195         [BZ #16469]
35196         * NEWS: Update.
35197         * resolv/res_query.c (__libc_res_nquerydomain): Retain
35198         trailing dot.
35199         * posix/tst-getaddrinfo5.c: New.
35200         * posix/Makefile (tests): Add it.
35202 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35204         [BZ #14498]
35205         * NEWS: Fixed.
35206         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
35207         after parsing line but before break_if_match.
35208         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
35209         if there is a protocol mismatch.
35211 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
35213         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
35214         because the potential race is on the user-supplied stream.
35216 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35218         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
35219         string literal if not passed a buffer.
35220         * manual/job.texi (ctermid): Update reasoning, note deviation
35221         from posix, suggest mtasurace when not passed a buffer, for
35222         future non-preliminary safety notes.
35224 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35226         * manual/users.texi (cuserid): Fix MT-Safety note for the case
35227         of not passing it a buffer.
35228         Reported by Peng Haitao.
35230 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35232         * manual/Makefile ($(objpfx)stamp-summary): Require
35233         check-safety.sh to pass.
35234         * manual/check-safety.sh: Wish for verification that every
35235         @deftypefn and @deftypefun is followed by a @safety remark.
35237 2014-11-20  Roland McGrath  <roland@hack.frob.com>
35239         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
35241         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
35242         PTHREAD_CANCEL_ASYNCHRONOUS.
35243         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
35244         send SIGCANCEL.
35246         * nptl/default-sched.h: New file.
35247         * sysdeps/unix/sysv/linux/default-sched.h: New file.
35248         * nptl/pthread_create.c: Include it.
35249         (__pthread_create_2_1): Use collect_default_sched instead of making
35250         Linux syscalls here directly.
35252 2014-11-20  Torvald Riegel  <triegel@redhat.com>
35254         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
35255         __pthread_once): Use C11 atomics.
35257 2014-11-20  Torvald Riegel  <triegel@redhat.com>
35259         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
35261 2014-11-20  Torvald Riegel  <triegel@redhat.com>
35263         * include/atomic.h (__atomic_link_error, __atomic_check_size,
35264         atomic_thread_fence_acquire, atomic_thread_fence_release,
35265         atomic_thread_fence_seq_cst, atomic_load_relaxed,
35266         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
35267         atomic_compare_exchange_weak_relaxed,
35268         atomic_compare_exchange_weak_acquire,
35269         atomic_compare_exchange_weak_release,
35270         atomic_exchange_acquire, atomic_exchange_release,
35271         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
35272         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
35273         atomic_fetch_and_acquire,
35274         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
35276 2014-11-20  Torvald Riegel  <triegel@redhat.com>
35278         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
35279         USE_ATOMIC_COMPILER_BUILTINS): Define.
35280         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
35281         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35282         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
35283         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35284         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
35285         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35286         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
35287         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35288         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
35289         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35290         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
35291         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35292         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
35293         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35294         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
35295         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35296         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
35297         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35298         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
35299         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35300         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
35301         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35302         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
35303         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35304         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
35305         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35306         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
35307         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35308         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
35309         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35310         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
35311         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35312         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
35313         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35314         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
35315         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35316         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
35317         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35318         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
35319         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35321 2014-11-19  Roland McGrath  <roland@hack.frob.com>
35323         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
35324         the sched_priority value here.  It was already checked when the user
35325         called pthread_attr_setschedparam.
35327         * nptl/tst-bad-schedattr.c: New file.
35328         * nptl/Makefile (tests): Add it.
35330 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
35331             Florian Weimer  <fweimer@redhat.com>
35332             Joseph Myers  <joseph@codesourcery.com>
35333             Adam Conrad  <adconrad@0c3.net>
35334             Andreas Schwab  <schwab@suse.de>
35335             Brooks  <bmoses@google.com>
35337         [BZ #17625]
35338         * wordexp-test.c (__dso_handle): Add prototype.
35339         (__register_atfork): Likewise.
35340         (__app_register_atfork): New function.
35341         (registered_forks): New global.
35342         (register_fork): New function.
35343         (test_case): Add 3 new tests for WRDE_CMDSUB.
35344         (main): Call __app_register_atfork.
35345         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
35346         fork count is non-zero fail the test.
35347         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
35348         is set.
35349         (parse_dollars): Remove check for WRDE_NOCMD.
35350         (parse_dquote): Likewise.
35352 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35354         * Makeconfig (built-modules): List non-library modules to be
35355         built.
35356         (module-cppflags): Include libc-modules.h for
35357         everything except shlib-versions.v.i.
35358         (CPPFLAGS): Use it.
35359         (before-compile): Add libc-modules.h.
35360         ($(common-objpfx)libc-modules.h,
35361         $(common-objpfx)libc-modules.stmp): New targets.
35362         (common-generated): Add libc-modules.h and libc-modules.stmp.
35363         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
35364         * include/libc-symbols.h: Don't include libc-modules.h.
35365         * include/libc-modules.h: Remove file.
35366         * scripts/gen-libc-modules.awk: New script to generate
35367         libc-modules.h.
35368         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
35369         Depend on libc-modules.stmp.
35371         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
35373         * Makeconfig (in-module): Get value of libof set for the
35374         translation unit.
35375         (CPPFLAGS): Use $(in-module).
35376         * Makerules: Don't suffix routine names for nonlib.
35377         * include/libc-modules.h: New file.
35378         * include/libc-symbols.h: Include libc-modules.h
35379         (IS_IN): New macro to replace IS_IN_* macros.
35380         * elf/Makefile: Set libof-* for each routine.
35381         * elf/rtld-Rules: Likewise.
35382         * extra-modules.mk: Likewise.
35383         * iconv/Makefile: Likewise.
35384         * iconvdata/Makefile: Likewise.
35385         * locale/Makefile: Likewise.
35386         * malloc/Makefile: Likewise.
35387         * nss/Makefile: Likewise.
35388         * sysdeps/gnu/Makefile: Likewise.
35389         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
35390         * sysdeps/unix/sysv/linux/Makefile: Likewise.
35391         * sysdeps/s390/s390-64/Makefile: Likewise.
35392         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
35393         CPPFLAGS for nscd instead of nonlib.
35395 2014-11-18  Roland McGrath  <roland@hack.frob.com>
35397         * nptl/createthread.c: New file.
35399         * nptl/createthread.c: Moved ...
35400         * sysdeps/unix/sysv/linux/createthread.c: ... here.
35402         * nptl/createthread.c: Add proper top-line comment.
35403         (do_clone): Folded into ...
35404         (create_thread): ... here.  Take new arguments STOPPED_START and
35405         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
35406         increment __nptl_threads, do event-reporting logic, do
35407         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
35408         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
35409         resource cleanup if sched_setaffinity or sched_setscheduler fails,
35410         just send SIGCANCEL.
35411         * nptl/pthread_create.c: Forward-declare create_thread before
35412         including createthread.c.
35413         (start_thread): Use new macro START_THREAD_DEFN to replace defining
35414         declaration, and new macro START_THREAD_SELF to replace argument.
35415         Remove return statement.
35416         (report_thread_creation): New function.
35417         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
35418         synchronization logic, and __nptl_nthreads increment here, around
35419         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
35420         PD->parent_cancelhandling here, before create_thread.  When
35421         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
35422         __deallocate_stack, and ENOMEM translation here.
35424 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
35426         [BZ #17616]
35427         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
35428         (mptwo): Rename to __mptwo.
35429         (__inv): Use __mptwo instead of mptwo.
35430         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
35431         (mptwo): Rename to __mptwo.
35432         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
35433         of mpone and __mptwo instead of mptwo.
35434         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
35435         instead of mpone.
35436         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35437         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
35438         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
35439         of mpone and __mptwo instead of mptwo.
35440         (__mpranred): Use __mpone instead of mpone.
35441         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
35442         variable.
35443         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
35444         (test-xfail-ISO99/math.h/linknamespace): Likewise.
35445         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
35446         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
35447         (test-xfail-ISO11/math.h/linknamespace): Likewise.
35448         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
35449         (test-xfail-XPG3/math.h/linknamespace): Likewise.
35450         (test-xfail-XPG4/math.h/linknamespace): Likewise.
35451         (test-xfail-POSIX/math.h/linknamespace): Likewise.
35452         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
35453         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
35454         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
35455         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
35456         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
35457         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
35458         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
35459         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
35460         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
35461         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
35463 2014-11-18  Tom de Vries  <tom@codesoucery.com>
35465         * manual/signal.texi (Primitives Interrupted by Signals): In section,
35466         replace BSD Handler xref with BSD Signal Handling.
35468 2014-11-17  Richard Henderson  <rth@redhat.com>
35470         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
35471         (_FP_PACK_RAW_2): Remove.
35472         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
35473         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
35474         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
35475         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
35476         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
35477         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
35478         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
35479         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
35480         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
35481         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
35482         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
35483         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
35484         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
35485         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
35486         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
35487         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
35489 2014-11-14  Roland McGrath  <roland@hack.frob.com>
35491         * signal/signal.h [__USE_MISC]
35492         (struct sigvec): Remove type.
35493         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
35494         (sigvec): Remove declaration.
35495         * sysdeps/posix/sigvec.c: Moved ...
35496         * signal/sigvec.c: ... here, replacing old file.
35497         (struct sigvec): New type, copied from old signal.h definition.
35498         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
35499         (__sigvec): Convert definition to prototype.
35500         (sigvec): Replace weak_alias with compat_symbol.
35501         * signal/Versions (libc: GLIBC_2.21): New version set.
35502         * include/signal.h: Remove __sigvec declaration.
35503         * sysdeps/unix/bsd/sigvec.c: Remove file.
35504         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
35505         * manual/signal.texi (BSD Handler): Remove subsection.
35506         Move siginterrupt up to ...
35507         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
35508         (Blocking in BSD): Fold subsection into its parent.
35509         * NEWS: Mention sigvec removal.
35511 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
35513         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
35514         (DLA_FMS): Make definition conditional only on [__FMA4__].
35515         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
35516         definition.
35518         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
35519         Make definition conditional only on [PROF].
35520         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
35521         definition.
35522         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
35523         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
35525         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
35526         !__GNUC__].
35527         * include/signal.h (__sigpause): Move declaration above call to
35528         libc_hidden_proto.
35529         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
35530         variable.
35531         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
35532         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
35534 2014-11-14  David S. Miller  <davem@davemloft.net>
35536         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
35537         Define before including <string/memcpy.c> and <string/mempcpy.c>.
35539 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
35541         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
35542         * configure: Regenerated.
35543         * manual/install.texi (Tools for Compilation): Document a
35544         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
35545         compiler verified to work.
35546         * INSTALL: Regenerated.
35548         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
35549         redeclare with asm name.
35550         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
35551         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
35552         including <string.h>.
35553         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
35554         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
35555         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
35556         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
35557         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
35558         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
35559         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
35561 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
35563         * stdlib/strtol.c (__strtol): Use prototype definition.
35565         [BZ #17594]
35566         * stdlib/strtol.c (SYM__): New macro.
35567         (SYM__1): Likewise.
35568         (__strtol): Likewise.
35569         (strtol): Rename to __strtol and define as weak alias of
35570         __strtol.  Use libc_hidden_weak.
35572 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35574         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
35575         Use numbered labels in inline assembly.
35577 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35579         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
35580         Add setjmp LIBC_PROBE.
35581         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
35582         Likewise.
35583         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
35584         Add longjmp, longjmp_target LIBC_PROBE.
35585         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
35586         Likewise.
35588 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35590         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
35591         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
35592         to get rid of unused variable warning.
35594 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35596         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
35597         Check for unwind_backtrace ==  NULL only in SHARED case.
35598         (__backchain_backtrace): Compile only in SHARED case.
35599         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
35600         Likewise.
35601         (__backchain_backtrace): Declare as static.
35603 2014-11-12  Roland McGrath  <roland@hack.frob.com>
35605         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
35606         (__libc_multiple_threads_ptr): Variable moved ...
35607         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
35609 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
35611         * conform/GlibcConform.pm: New file.
35612         * conform/conformtest.pl: Use GlibcConform module.
35613         * conform/linknamespace.pl: New file.
35614         * conform/list-header-symbols.pl: Likewise.
35615         * conform/Makefile (linknamespace-symlists-base): New variable.
35616         (linknamespace-symlists-tests): Likewise.
35617         (linknamespace-header-base): Likewise.
35618         (linknamespace-header-tests): Likewise.
35619         (tests-special): Add new tests.
35620         ($(linknamespace-symlists-tests)): New rule.
35621         (linknamespace-libs): New variable.
35622         ($(objpfx)symlist-stdlibs): New rule.
35623         ($(linknamespace-header-tests)): Likewise.
35624         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
35625         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
35626         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
35627         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
35628         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
35629         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
35630         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
35631         (test-xfail-ISO/math.h/linknamespace): Likewise.
35632         (test-xfail-ISO/signal.h/linknamespace): Likewise.
35633         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
35634         (test-xfail-ISO/time.h/linknamespace): Likewise.
35635         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
35636         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
35637         (test-xfail-ISO99/math.h/linknamespace): Likewise.
35638         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
35639         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
35640         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
35641         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
35642         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
35643         (test-xfail-ISO11/math.h/linknamespace): Likewise.
35644         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
35645         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
35646         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
35647         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
35648         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
35649         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
35650         (test-xfail-XPG3/math.h/linknamespace): Likewise.
35651         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
35652         (test-xfail-XPG3/search.h/linknamespace): Likewise.
35653         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
35654         (test-xfail-XPG3/time.h/linknamespace): Likewise.
35655         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
35656         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
35657         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
35658         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
35659         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
35660         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
35661         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
35662         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
35663         (test-xfail-XPG4/math.h/linknamespace): Likewise.
35664         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
35665         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
35666         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
35667         (test-xfail-XPG4/search.h/linknamespace): Likewise.
35668         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
35669         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
35670         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
35671         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
35672         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
35673         (test-xfail-XPG4/time.h/linknamespace): Likewise.
35674         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
35675         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
35676         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
35677         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
35678         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
35679         (test-xfail-POSIX/math.h/linknamespace): Likewise.
35680         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
35681         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
35682         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
35683         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
35684         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
35685         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
35686         (test-xfail-POSIX/time.h/linknamespace): Likewise.
35687         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
35688         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
35689         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
35690         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
35691         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
35692         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
35693         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
35694         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
35695         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
35696         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
35697         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
35698         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
35699         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
35700         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
35701         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
35702         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
35703         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
35704         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
35705         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
35706         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
35707         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
35708         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
35709         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
35710         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
35711         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
35712         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
35713         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
35714         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
35715         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
35716         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
35717         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
35718         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
35719         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
35720         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
35721         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
35722         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
35723         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
35724         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
35725         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
35726         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
35727         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
35728         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
35729         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
35730         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
35731         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
35732         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
35733         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
35734         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
35735         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
35736         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
35737         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
35738         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
35739         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
35740         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
35741         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
35742         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
35743         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
35744         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
35745         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
35746         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
35747         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
35748         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
35749         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
35750         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
35751         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
35752         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
35753         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
35754         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
35755         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
35756         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
35757         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
35758         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
35759         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
35760         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
35761         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
35762         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
35763         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
35764         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
35765         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
35766         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
35767         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
35768         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
35769         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
35770         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
35771         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
35772         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
35773         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
35774         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
35775         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
35776         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
35777         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
35778         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
35779         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
35780         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
35781         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
35782         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
35783         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
35784         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
35786         [BZ #17589]
35787         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
35788         of fgets_unlocked.
35790         [BZ #17585]
35791         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
35792         (memmem): Rename to __memmem and define as weak alias of
35793         __memmem.  Use libc_hidden_weak.
35794         (__memmem): Use libc_hidden_def.
35795         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
35796         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
35797         memmem.
35799         [BZ #17582]
35800         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
35801         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
35802         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
35803         and define as weak alias of __fgets_unlocked.  Use
35804         libc_hidden_weak.
35805         (__fgets_unlocked): Use libc_hidden_def.
35806         * include/stdio.h (__fgets_unlocked): Declare.  Use
35807         libc_hidden_proto.
35808         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
35809         __fgets_unlocked instead of fgets_unlocked.
35810         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
35811         (GET_NPROCS_CONF_PARSER): Likewise.
35812         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
35813         (GET_NPROCS_CONF_PARSER): Likewise.
35815         [BZ #17574]
35816         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
35817         weak alias of __wmemset.  Use libc_hidden_weak.
35818         (__wmemset): Use libc_hidden_def.
35819         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
35820         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
35821         of wmemset.
35823         [BZ #17573]
35824         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
35825         with asm name __mempcpy.
35826         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
35828         [BZ #17572]
35829         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
35830         and define as weak alias of __rawmemchr.
35831         (__rawmemchr): Do not define as strong alias of rawmemchr.
35833         [BZ #17571]
35834         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
35835         alias of __qsort_r.
35836         (qsort): Call __qsort_r instead of qsort_r.
35837         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
35838         (__qsort_r): Declare.  Call libc_hidden_proto.
35839         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
35840         instead of qsort_r.
35841         * nscd/gai.c (__qsort_r): Define to qsort_r.
35842         * posix/tst-rfc3484.c (__qsort_r): Likewise.
35843         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
35844         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
35846         [BZ #17570]
35847         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
35848         define as weak alias of __malloc_info.
35850         [BZ #17584]
35851         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
35852         as weak alias of __rewinddir.  Don't use libc_hidden_def.
35853         (__rewinddir): Use libc_hidden_def.
35854         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
35855         as weak alias of __rewinddir.  Don't use libc_hidden_def.
35856         (__rewinddir): Use libc_hidden_def.
35857         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
35858         weak alias of __rewinddir.  Don't use libc_hidden_def.
35859         (__rewinddir): Use libc_hidden_def.
35860         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
35861         (__rewinddir): Use libc_hidden_proto.
35862         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
35863         rewinddir.
35864         (__getcwd): Use __rewinddir instead of rewinddir.
35866         [BZ #17583]
35867         * libio/fileno.c (fileno): Rename to __fileno and define as weak
35868         alias of __fileno.  Use libc_hidden_weak.
35869         (__fileno): Use libc_hidden_def.
35870         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
35871         * libio/ftello.c (ftello): Rename to __ftello and define as weak
35872         alias of __ftello.
35873         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
35874         __ftello.
35875         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
35876         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
35877         libc_hidden_def.
35878         (fread_unlocked): Don't use libc_hidden_ver.
35879         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
35880         and define as weak alias of __fread_unlocked.  Don't use
35881         libc_hidden_def.
35882         (__fread_unlocked): Use libc_hidden_def.
35883         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
35884         (ftello): Don't use libc_hidden_proto.
35885         (__ftello): Declare.  Use libc_hidden_proto.
35886         (fread_unlocked): Don't use libc_hidden_proto.
35887         (__fread_unlocked): Declare.  Use libc_hidden_proto.
35888         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
35889         and __ftello instead of fileno, fread_unlocked and ftello.
35891 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35893         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
35894         GOT12.
35895         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
35896         Likewise.
35897         (_dl_start_user): Likewise.
35898         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
35900 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
35901             Siddhesh Poyarekar  <siddhesh@redhat.com>
35903         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
35904         Move argv and envp down instead of moving argc up.
35905         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
35907 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
35909         [BZ #17506]
35910         * test-skeleton.c (main): Return successful if one of
35911         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
35912         * string/tst-strcoll-overflow.c: Define expected status.
35914 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
35916         [BZ #17475]
35917         * locale/iso-639.def: Define Bhili and Tulu language codes.
35919 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
35921         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
35923 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
35925         [BZ #17555]
35926         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
35928 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
35930         * configure.ac: Updated check of minimal required version to
35931         2.22.
35932         * manual/install.texi (Tools for Compilation): Updated version
35933         number.
35934         * configure: Regenerated.
35935         * INSTALL: Likewise.
35937 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
35939         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
35940         __tls_get_addr.
35942 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
35944         * include/sys/wait.h (__libc_waitpid): Remove declaration.
35945         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
35946         (__waitpid): Don't define as alias.  Use libc_hidden_def not
35947         libc_hidden_weak.
35948         (waitpid): Define as alias of __waitpid.
35949         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
35950         __waitpid.
35951         (__waitpid): Don't define as alias.  Use libc_hidden_def not
35952         libc_hidden_weak.
35953         (waitpid): Define as alias of __waitpid.
35954         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
35955         __libc_waitpid alias.
35956         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
35957         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
35958         Likewise.
35959         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
35960         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
35961         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
35962         alias.
35963         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
35964         __waitpid.
35965         (__waitpid): Don't define as alias.  Use libc_hidden_def not
35966         libc_hidden_weak.
35967         (waitpid): Define as alias of __waitpid.
35969 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
35971         * manual/llio.texi: Add comment that write safety has been
35972         fixed in Linux.
35974         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
35975         (localplt-build-dso): Add elf/ld.so.
35976         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
35977         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
35978         and free for ld.so.
35979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
35980         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
35981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
35982         Likewise.
35983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
35984         Likewise.
35985         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
35986         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
35987         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
35988         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
35989         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
35990         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
35991         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
35992         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
35993         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
35994         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
35995         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
35997 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
35999         [BZ #14132]
36000         * include/libc-symbols.h (INTUSE): Remove macro.
36001         (INTDEF): Likewise.
36002         (INTVARDEF): Likewise.
36003         (_INTVARDEF): Likewise.
36004         (INTDEF2): Likewise.
36005         (INTVARDEF2): Likewise.
36006         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
36007         rtld_hidden_def instead of INTVARDEF.
36008         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
36009         (_dl_starting_up_internal): Remove declaration.
36010         (_dl_starting_up): Use rtld_hidden_proto.
36011         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
36012         declaration.
36013         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
36014         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
36015         _dl_starting_up.
36016         * elf/dl-writev.h (_dl_writev): Likewise.
36017         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
36018         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
36019         _dl_starting_up_internal.
36021 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36023         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
36024         test-skeleton.c.
36026 2014-11-05  Will Newton  <will.newton@linaro.org>
36028         * benchtests/Makefile: (bench-malloc): Add malloc thread
36029         scalability benchmark.
36030         * benchtests/bench-malloc-threads.c: New file.
36032 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
36034         * sysdeps/aarch64/strchrnul.S: New file.
36036 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36038         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
36039         definition.
36040         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
36041         Likewise.
36042         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
36043         Likewise.
36044         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
36045         Likewise.
36046         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
36047         Likewise.
36048         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
36049         Likewise.
36051 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
36053         * catgets/test-gencat.c: Use test-skeleton.c.
36054         * catgets/tst-catgets.c: Likewise.
36055         * csu/tst-empty.c: Likewise.
36056         * elf/tst-audit2.c: Likewise.
36057         * elf/tst-global1.c: Likewise.
36058         * elf/tst-pathopt.c: Likewise.
36059         * elf/tst-piemod1.c: Likewise.
36060         * elf/tst-tls10.c: Likewise.
36061         * elf/tst-tls11.c: Likewise.
36062         * elf/tst-tls12.c: Likewise.
36063         * gnulib/tst-gcc.c: Likewise.
36064         * iconvdata/tst-e2big.c: Likewise.
36065         * iconvdata/tst-loading.c: Likewise.
36066         * iconv/tst-iconv1.c: Likewise.
36067         * iconv/tst-iconv2.c: Likewise.
36068         * inet/test-inet6_opt.c: Likewise.
36069         * inet/tst-gethnm.c: Likewise.
36070         * inet/tst-network.c: Likewise.
36071         * inet/tst-ntoa.c: Likewise.
36072         * intl/tst-codeset.c: Likewise.
36073         * intl/tst-gettext2.c: Likewise.
36074         * intl/tst-gettext3.c: Likewise.
36075         * intl/tst-ngettext.c: Likewise.
36076         * intl/tst-translit.c: Likewise.
36077         * io/test-stat.c: Likewise.
36078         * libio/test-fmemopen.c: Likewise.
36079         * libio/tst-freopen.c: Likewise.
36080         * libio/tst-sscanf.c: Likewise.
36081         * libio/tst-ungetwc1.c: Likewise.
36082         * libio/tst-ungetwc2.c: Likewise.
36083         * libio/tst-widetext.c: Likewise.
36084         * localedata/tst-ctype.c: Likewise.
36085         * localedata/tst-digits.c: Likewise.
36086         * localedata/tst-leaks.c: Likewise.
36087         * localedata/tst-mbswcs1.c: Likewise.
36088         * localedata/tst-mbswcs2.c: Likewise.
36089         * localedata/tst-mbswcs3.c: Likewise.
36090         * localedata/tst-mbswcs4.c: Likewise.
36091         * localedata/tst-mbswcs5.c: Likewise.
36092         * localedata/tst-setlocale.c: Likewise.
36093         * localedata/tst-trans.c: Likewise.
36094         * localedata/tst-wctype.c: Likewise.
36095         * localedata/tst-xlocale1.c: Likewise.
36096         * login/tst-grantpt.c: Likewise.
36097         * malloc/tst-calloc.c: Likewise.
36098         * malloc/tst-malloc.c: Likewise.
36099         * malloc/tst-mallocstate.c: Likewise.
36100         * malloc/tst-mcheck.c: Likewise.
36101         * malloc/tst-mtrace.c: Likewise.
36102         * malloc/tst-obstack.c: Likewise.
36103         * math/atest-exp2.c: Likewise.
36104         * math/atest-exp.c: Likewise.
36105         * math/atest-sincos.c: Likewise.
36106         * math/test-matherr.c: Likewise.
36107         * math/test-misc.c: Likewise.
36108         * math/test-powl.c: Likewise.
36109         * math/tst-definitions.c: Likewise.
36110         * misc/tst-dirname.c: Likewise.
36111         * misc/tst-efgcvt.c: Likewise.
36112         * misc/tst-fdset.c: Likewise.
36113         * misc/tst-hsearch.c: Likewise.
36114         * misc/tst-mntent2.c: Likewise.
36115         * nptl/tst-sem7.c: Likewise.
36116         * nptl/tst-sem8.c: Likewise.
36117         * nptl/tst-sem9.c: Likewise.
36118         * nss/test-netdb.c: Likewise.
36119         * posix/tst-fnmatch.c: Likewise.
36120         * posix/tst-getlogin.c: Likewise.
36121         * posix/tst-gnuglob.c: Likewise.
36122         * posix/tst-mmap.c: Likewise.
36123         * pwd/tst-getpw.c: Likewise.
36124         * resolv/tst-inet_ntop.c: Likewise.
36125         * rt/tst-timer.c: Likewise.
36126         * stdio-common/test-fseek.c: Likewise.
36127         * stdio-common/test-popen.c: Likewise.
36128         * stdio-common/test-vfprintf.c: Likewise.
36129         * stdio-common/tst-cookie.c: Likewise.
36130         * stdio-common/tst-fileno.c: Likewise.
36131         * stdio-common/tst-gets.c: Likewise.
36132         * stdio-common/tst-obprintf.c: Likewise.
36133         * stdio-common/tst-perror.c: Likewise.
36134         * stdio-common/tst-sprintf2.c: Likewise.
36135         * stdio-common/tst-sprintf3.c: Likewise.
36136         * stdio-common/tst-sprintf.c: Likewise.
36137         * stdio-common/tst-swprintf.c: Likewise.
36138         * stdio-common/tst-tmpnam.c: Likewise.
36139         * stdio-common/tst-unbputc.c: Likewise.
36140         * stdio-common/tst-wc-printf.c: Likewise.
36141         * stdlib/tst-environ.c: Likewise.
36142         * stdlib/tst-fmtmsg.c: Likewise.
36143         * stdlib/tst-limits.c: Likewise.
36144         * stdlib/tst-rand48-2.c: Likewise.
36145         * stdlib/tst-rand48.c: Likewise.
36146         * stdlib/tst-random2.c: Likewise.
36147         * stdlib/tst-random.c: Likewise.
36148         * stdlib/tst-strtol.c: Likewise.
36149         * stdlib/tst-strtoll.c: Likewise.
36150         * stdlib/tst-tls-atexit.c: Likewise.
36151         * stdlib/tst-xpg-basename.c: Likewise.
36152         * string/test-ffs.c: Likewise.
36153         * string/tst-bswap.c: Likewise.
36154         * string/tst-inlcall.c: Likewise.
36155         * string/tst-strtok.c: Likewise.
36156         * string/tst-strxfrm.c: Likewise.
36157         * sysdeps/x86_64/tst-audit10.c: Likewise.
36158         * sysdeps/x86_64/tst-audit3.c: Likewise.
36159         * sysdeps/x86_64/tst-audit4.c: Likewise.
36160         * sysdeps/x86_64/tst-audit5.c: Likewise.
36161         * time/tst-ftime_l.c: Likewise.
36162         * time/tst-getdate.c: Likewise.
36163         * time/tst-mktime3.c: Likewise.
36164         * time/tst-mktime.c: Likewise.
36165         * time/tst-posixtz.c: Likewise.
36166         * time/tst-strptime2.c: Likewise.
36167         * time/tst-strptime3.c: Likewise.
36168         * wcsmbs/tst-btowc.c: Likewise.
36169         * wcsmbs/tst-mbrtowc.c: Likewise.
36170         * wcsmbs/tst-mbsrtowcs.c: Likewise.
36171         * wcsmbs/tst-wchar-h.c: Likewise.
36172         * wcsmbs/tst-wcpncpy.c: Likewise.
36173         * wcsmbs/tst-wcrtomb.c: Likewise.
36174         * wcsmbs/tst-wcsnlen.c: Likewise.
36175         * wcsmbs/tst-wcstof.c: Likewise.
36177 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
36179         [BZ #14132]
36180         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
36181         INTDEF.
36182         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
36183         declaration.
36184         (_dl_mcount): Use rtld_hidden_proto.
36185         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
36186         _dl_mcount.
36187         * elf/rtld.c (_rtld_global_ro): Likewise.
36189         [BZ #14132]
36190         * elf/dl-init.c (_dl_init): Don't use INTDEF.
36191         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
36192         of _dl_init_internal.
36193         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
36194         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
36195         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
36196         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
36197         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
36198         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
36199         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
36200         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
36201         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
36202         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
36203         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
36204         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
36205         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36206         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36207         * sysdeps/tile/dl-start.S (_start): Likewise.
36208         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
36209         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
36211         [BZ #14132]
36212         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
36213         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
36214         (rtld_progname): Make macro definition unconditional.
36215         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
36216         INTDEF.
36217         (dlmopen_doit): Do not use INTUSE with _dl_argv.
36218         (dl_main): Likewise.
36219         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
36220         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
36221         instead of _dl_argv_internal.
36222         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36223         __GI__dl_argv instead of INTUSE(_dl_argv).
36224         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
36225         __GI__dl_argv instead of _dl_argv_internal.
36227         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
36228         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
36229         macro.
36230         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
36231         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
36232         New macro.
36233         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
36234         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
36235         macro.
36236         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
36237         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
36239 2014-11-04  Andreas Schwab  <schwab@suse.de>
36241         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
36243 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36245         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
36246         mtvsrd instruction in binary form.
36248 2014-11-03  Andreas Schwab  <schwab@suse.de>
36250         [BZ #17522]
36251         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
36252         for less than MB_LEN_MAX use a local buffer of that size.
36253         * libio/tst-fputws.c: New file.
36254         * libio/Makefile (tests): Add tst-fputws.
36256 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
36258         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
36259         the size of the fpu_fr.fpu_dregs[] array.
36261 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
36263         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
36264         (__nanosleep): Do not define as alias.
36265         (nanosleep): Define as alias of __nanosleep.
36266         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
36267         __libc_nanosleep name.
36269 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
36271         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
36272         install.texi in comment.
36274 2014-10-31  Torvald Riegel  <triegel@redhat.com>
36276         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
36277         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
36278         ... add here and use lwsync or sync ...
36279         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
36280         ... and add here using lwsync.
36282 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
36284         * elf/dl-machine-reject-phdr.h: New file.
36285         * elf/dl-load.c: #include that.
36286         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
36287         if that returned true.
36289 2014-10-31  Roland McGrath  <roland@hack.frob.com>
36291         [BZ #17496]
36292         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
36293         gen-as-const-headers chunk.  Add a big scare comment after the last
36294         safe place to touch before-compile.
36296 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
36298         * manual/install.texi (Tools for Compilation): Update autoconf
36299         version requirements.
36300         * INSTALL: Regenerated.
36302         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
36303         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
36304         (__libc_pselect): Likewise.
36306         [BZ #14138]
36307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
36308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36312 2014-10-31  Torvald Riegel  <triegel@redhat.com>
36314         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
36315         correct barrier instruction.
36316         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
36317         Likewise.
36318         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
36319         Likewise.
36321 2014-10-30  Roland McGrath  <roland@hack.frob.com>
36323         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
36324         after defining inlines.  Instead, just use parens to defeat macro
36325         expansion of __isctype in its declaration.
36327 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
36329         * include/sys/uio.h (__libc_readv): Remove declaration.
36330         (__libc_writev): Likewise.
36331         * misc/readv.c (__libc_readv): Rename to __readv.
36332         (__readv): Do not define as alias.
36333         (readv): Define as alias of __readv.
36334         * misc/writev.c (__libc_writev): Rename to __writev.
36335         (__writev): Do not define as alias.
36336         (writev): Define as alias of __writev.
36337         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
36338         (__readv): Do not define as alias.
36339         (readv): Define unconditionally as alias of __readv.
36340         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
36341         (__writev): Do not define as alias.
36342         (writev): Define unconditionally as alias of __writev.
36343         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
36344         name.
36345         (writev): Do not define __libc_writev name.
36347 2014-10-30  Roland McGrath  <roland@hack.frob.com>
36349         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
36350         (convert_charseq): New function, broken out of ...
36351         (use_from_charmap): ... here.  Call it.
36352         (use_to_charmap): Use convert_charseq and free instead of duplicating
36353         its code with a variable-length stack struct.
36355 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
36357         * include/fcntl.h (__libc_creat): Remove declaration.
36358         * io/creat.c (__libc_creat): Rename to creat.
36359         (creat): Do not define as alias.
36360         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
36361         of creat instead of __libc_creat.
36362         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
36363         to creat.
36364         (creat): Do not define as alias.
36365         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
36366         __libc_creat.
36367         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
36368         __libc_creat name.
36369         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
36370         Likewise.
36372 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
36374         * manual/llio.texi: Add comments discussing why write() may be
36375         considered MT-unsafe on Linux.
36377 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
36379         * dl-load.c (local_strdup): Remove.
36380         (expand_dynamic_string_token): Use __strdup.
36381         (decompose_rpath): Likewise.
36382         (_dl_map_object): Likewise.
36384 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
36386         [BZ #14132]
36387         * sysdeps/generic/unwind-dw2-fde.c
36388         (__register_frame_info_bases_internal): Do not declare.
36389         (__register_frame_info_table_bases_internal): Likewise.
36390         (__deregister_frame_info_bases_internal): Likewise.
36391         (__register_frame_info_bases): Declare and use hidden_proto before
36392         definition.  Use hidden_def instead of INTDEF.
36393         (__register_frame_info_table_bases): Likewise.
36394         (__deregister_frame_info_bases): Likewise.
36395         (__register_frame_info): Do not use INTUSE.
36396         (__register_frame): Likewise.
36397         (__register_frame_info_table): Likewise.
36398         (__register_frame_table): Likewise.
36399         (__deregister_frame_info): Likewise.
36400         (__deregister_frame): Likewise.
36402 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
36404         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36405         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
36406         not undefine.
36407         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
36408         Likewise.
36409         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
36410         Likewise.
36412 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
36414         [BZ #14138]
36415         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
36416         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
36417         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
36418         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
36419         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
36420         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
36421         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
36422         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
36423         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
36424         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
36425         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
36426         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
36427         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
36428         syscall.
36429         (setfsuid): Likewise.
36430         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
36431         (setfsuid): Likewise.
36432         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
36433         (setfsuid): Likewise.
36434         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
36435         Likewise.
36436         (setfsuid): Likewise.
36437         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
36438         (setfsuid): Likewise.
36439         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
36440         Likewise.
36441         (setfsuid): Likewise.
36443 2014-10-27  Andreas Schwab  <schwab@suse.de>
36445         [BZ #17501]
36446         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
36447         check for Slow_SSE4_2 feature bit.
36448         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
36449         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
36450         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
36451         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
36453 2014-10-24  Roland McGrath  <roland@hack.frob.com>
36455         * configure.ac: Validate compiler version with a empirical test of
36456         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
36457         $CC -v output.
36458         * configure: Regenerated.
36460         * inet/htons.c (htons): Prototypify.
36461         * inet/htonl.c (htonl): Likewise.
36463 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36465         * string/strncat.c (strncat): Improve performance by using strlen.
36467 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36469         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
36471 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36473         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
36474         Call libc_fetestexcept_aarch64.
36476 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36478         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
36479         Call libc_feholdexcept_aarch64.
36481 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36483         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
36484         Call get_rounding_mode.
36486 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36488         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
36489         Simplify logic.
36491 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36493         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
36494         Simplify logic.
36496 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
36498         [BZ #14138]
36499         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
36500         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
36501         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
36502         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
36503         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
36504         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
36505         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
36506         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
36507         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
36508         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
36509         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36510         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
36511         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
36512         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
36513         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
36514         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
36515         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
36516         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
36517         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
36518         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
36519         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
36520         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
36521         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
36522         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
36523         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
36524         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
36525         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
36526         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
36527         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
36528         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
36529         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
36530         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
36531         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
36532         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
36533         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
36534         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
36535         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
36536         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
36537         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
36538         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
36539         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
36540         syscall.
36541         (geteuid): Likewise.
36542         (getgid): Likewise.
36543         (getuid): Likewise.
36544         (getresgid): Likewise.
36545         (getresuid): Likewise.
36546         (getgroups): Likewise.
36547         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
36548         (geteuid): Likewise.
36549         (getgid): Likewise.
36550         (getuid): Likewise.
36551         (getresgid): Likewise.
36552         (getresuid): Likewise.
36553         (getgroups): Likewise.
36554         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
36555         (geteuid): Likewise.
36556         (getgid): Likewise.
36557         (getuid): Likewise.
36558         (getresgid): Likewise.
36559         (getresuid): Likewise.
36560         (getgroups): Likewise.
36561         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
36562         Likewise.
36563         (geteuid): Likewise.
36564         (getgid): Likewise.
36565         (getuid): Likewise.
36566         (getresgid): Likewise.
36567         (getresuid): Likewise.
36568         (getgroups): Likewise.
36569         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
36570         (geteuid): Likewise.
36571         (getgid): Likewise.
36572         (getuid): Likewise.
36573         (getresgid): Likewise.
36574         (getresuid): Likewise.
36575         (getgroups): Likewise.
36576         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
36577         Likewise.
36578         (geteuid): Likewise.
36579         (getgid): Likewise.
36580         (getuid): Likewise.
36581         (getgroups): Likewise.
36583         [BZ #14138]
36584         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
36585         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
36586         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
36587         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
36588         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
36589         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
36590         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
36591         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
36592         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
36593         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
36594         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
36595         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
36596         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
36597         __chown.
36598         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
36599         (lchown): Likewise.
36600         (fchown): Likewise.
36601         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
36602         Likewise.
36603         (lchown): Likewise.
36604         (fchown): Likewise.
36605         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
36606         (lchown): Likewise.
36607         (fchown): Likewise.
36608         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
36609         Likewise.
36610         (lchown): Likewise.
36611         (fchown): Likewise.
36613 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36615         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
36616         Simplify logic.
36618 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36620         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
36621         Cleanup logic.
36623 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36625         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
36626         Remove unused include.
36628 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36630         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
36631         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
36632         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
36633         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
36635 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
36636             Helge Deller <deller@gmx.de>
36638         [BZ #17508]
36639         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
36640         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
36641         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
36643 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
36645         [BZ #14132]
36646         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
36647         Remove macro definition.
36648         (__ashrdi3_v_glibc20): Likewise.
36649         (__lshrdi3_v_glibc20): Likewise.
36650         (__cmpdi2_v_glibc20): Likewise.
36651         (__ucmpdi2_v_glibc20): Likewise.
36652         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
36653         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
36654         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
36655         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
36656         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
36657         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
36659 2014-10-22  Roland McGrath  <roland@hack.frob.com>
36661         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
36662         old GNU extension [0] syntax.
36663         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
36664         alloca rather than an array member with variable length.
36665         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
36666         * nscd/nscd.c (invalidate_db): New function, broken out of ...
36667         (parse_opt): ... here.  Likewise use alloca there.
36668         Validate the -i argument before checking for rootness.
36669         (send_shutdown): New function, broken out of ...
36670         (parse_opt): ... here.
36672 2014-10-22  Roland McGrath  <roland@hack.frob.com>
36674         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
36675         macro to get at the _rt_local_ro field.
36676         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
36677         ([PIC] case) or _dl_hwcap ([!PIC] case).
36678         * sysdeps/arm/setjmp.S: Likewise.
36680         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
36681         * sysdeps/arm/configure.ac: New check to define it.
36682         * sysdeps/arm/configure: Regenerated.
36683         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
36684         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
36685         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
36686         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
36687         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
36688         Use move/movt pair instead of a load.
36689         (LDST_GLOBAL): Macro removed.
36690         (LDR_GLOBAL): New macro replaces it.
36691         (LDR_HIDDEN): New macro.
36692         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
36693         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
36695         * setjmp/tst-setjmp-static.c: New file.
36696         * setjmp/Makefile (tests): Add it.
36697         (tests-static): New variable.
36699 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
36701         [BZ #17485]
36702         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
36704 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
36706         [BZ #14132]
36707         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
36709 2014-10-21  Roland McGrath  <roland@hack.frob.com>
36711         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
36713 2014-10-20  Roland McGrath  <roland@hack.frob.com>
36715         * io/fts.c (dirent_not_directory): New function.
36716         (fts_build): Call it.
36718 2014-10-20  Roland McGrath  <roland@hack.frob.com>
36720         * nptl/version.c (__nptl_main): Use normal __write rather than
36721         INTERNAL_SYSCALL.
36722         (banner): Update copyright years.
36724         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
36725         gettimeofday.
36726         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
36727         * nptl/pthread_cond_timedwait.c: Likewise.
36728         * nptl/pthread_mutex_timedlock.c: Likewise.
36729         * nptl/sem_timedwait.c: Likewise.
36731         * sysdeps/nptl/bits/libc-lock.h
36732         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
36733         (__libc_lock_init_recursive): Return void, not 0.
36734         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
36735         (__libc_rwlock_init): Likewise.
36736         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
36738 2014-10-20  Torvald Riegel  <triegel@redhat.com>
36740         [BZ #15215]
36741         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
36742         (__pthread_once_slow): ... here.
36743         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
36744         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
36746 2014-10-20  Torvald Riegel  <triegel@redhat.com>
36748         [BZ #15215]
36749         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
36750         __PTHREAD_ONCE_FORK_GEN_INCR): New.
36751         * sysdeps/nptl/fork.c (__libc_fork): Use them.
36752         * nptl/pthread_once.c (__pthread_once): Likewise.
36753         Update comments.
36755 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
36757         [BZ #14138]
36758         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
36759         name.
36760         (writev): Use __libc_writev as strong name.
36761         * sysdeps/unix/sysv/linux/readv.c: Remove file.
36762         * sysdeps/unix/sysv/linux/writev.c: Likewise.
36764 2014-10-17  Roland McGrath  <roland@hack.frob.com>
36766         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
36768         * sysdeps/i386/nptl/tls.h
36769         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
36770         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
36771         New macros.
36772         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
36773         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
36774         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
36775         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
36776         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
36777         Call CHECK_THREAD_SYSINFO instead of doing an assert.
36779         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
36780         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
36781         on [__NR_futex].
36782         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
36783         broken out of ...
36784         (__pthread_mutex_init): ... here.  Call it.
36785         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
36786         Conditionalize PI cases on [__NR_futex].
36787         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
36788         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
36789         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
36791         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
36792         conditional on [SIGSETXID].
36793         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
36794         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
36795         is defined.  Likewise for SIGSETXID.
36796         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
36797         Conditionalize definitions on [SIGSETXID].
36798         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
36799         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
36800         unblocking on [SIGCANCEL].
36802         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
36803         [__NR_set_robust_list].
36805 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36807         * string/strcoll_l.c (get_next_seq): Fix up formatting.
36808         (do_compare): Likewise.
36810 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
36812         [BZ #15884]
36813         * string/strcoll_l.c: Don't include stdio.h.
36814         (coll_seq): Remove members idxarr and rulearr.
36815         (get_next_seq_cached): Remove function.
36816         (get_next_seq): Likewise.
36817         (get_next_seq_nocache): Rename to get_next_seq.
36818         (do_compare): Remove function.
36819         (do_compare_nocache): Rename to do_compare.
36820         (STRCOLL): Remove weight and rules cache.
36822 2014-10-16  Roland McGrath  <roland@hack.frob.com>
36824         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
36825         * sysdeps/arm/sfp-machine.h: ... to here.
36826         * sysdeps/arm/Implies: Remove arm/soft-fp.
36828 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
36830         * conform/data/sys/utsname.h-data (*_t): Allow.
36831         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
36832         [POSIX] (WEXITED): Do not expect constant.
36833         [POSIX] (WSTOPPED): Likewise.
36834         [POSIX] (WNOHANG): Likewise.
36835         [POSIX] (WNOWAIT): Likewise.
36836         [POSIX] (siginfo_t): Do not expect type or elements.
36837         [POSIX] (pid_t): Do not expect type.
36838         [POSIX] (signal.h): Do not allow header.
36839         [POSIX] (sys/resource.h): Likewise.
36840         [POSIX] (si_*): Do not allow pattern.
36841         [POSIX] (W*): Likewise.
36842         [POSIX] (P_*): Likewise.
36843         [POSIX] (BUS_*): Likewise.
36844         [POSIX] (CLD_*): Likewise.
36845         [POSIX] (FPE_*): Likewise.
36846         [POSIX] (ILL_*): Likewise.
36847         [POSIX] (POLL_*): Likewise.
36848         [POSIX] (SEGV_*): Likewise.
36849         [POSIX] (SI_*): Likewise.
36850         [POSIX] (TRAP_*): Likewise.
36851         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
36852         variable.
36854 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
36856         [BZ #12926]
36857         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
36858         infinite loop when __recvmsg returns 0.
36860 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
36862         * CANCEL-FCT-WAIVE: Remove file.
36863         * CANCEL-FILE-WAIVE: Likewise.
36865         [BZ #14132]
36866         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
36867         instead of INTVARDEF.
36868         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
36869         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
36870         rtld_hidden_data_def instead of INTVARDEF.
36871         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
36872         * elf/dl-deps.c (expand_dst): Likewise.
36873         * elf/dl-load.c (_dl_dst_count): Likewise.
36874         (_dl_dst_substitute): Likewise.
36875         (decompose_rpath): Likewise.
36876         (_dl_init_paths): Likewise.
36877         (open_path): Likewise.
36878         (_dl_map_object): Likewise.
36879         * elf/rtld.c (dl_main): Likewise.
36880         (process_dl_audit): Likewise.
36881         (process_envvars): Likewise.
36882         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
36883         Remove declaration.
36884         (__libc_enable_secure): Use rtld_hidden_proto.
36886 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36888         * elf/dl-load.c
36889         (add_path): New function broken out of _dl_rtld_di_serinfo.
36890         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
36892 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
36894         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
36895         parentheses around macro arguments.
36896         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
36897         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
36898         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
36899         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
36900         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
36901         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
36902         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
36903         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
36904         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
36905         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
36906         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
36907         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
36908         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
36909         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
36910         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
36911         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
36912         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
36913         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
36914         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
36915         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
36916         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
36917         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
36918         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
36919         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
36920         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
36921         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
36922         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
36923         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
36924         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
36925         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
36926         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
36927         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
36928         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
36929         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
36930         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
36931         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
36932         Likewise.
36933         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
36934         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
36935         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
36936         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
36937         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
36938         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
36939         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
36940         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
36941         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
36942         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
36943         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
36944         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
36945         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
36946         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
36947         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
36948         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
36949         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
36950         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
36951         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
36952         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
36953         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
36954         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
36955         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
36956         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
36957         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
36958         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
36959         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
36960         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
36961         (_FP_FRAC_SRS_1): Likewise.
36962         (_FP_FRAC_CLZ_1): Likewise.
36963         (_FP_MUL_MEAT_1_imm): Likewise.
36964         (_FP_MUL_MEAT_1_wide): Likewise.
36965         (_FP_MUL_MEAT_1_hard): Likewise.
36966         (_FP_SQRT_MEAT_1): Likewise.
36967         (_FP_FRAC_ASSEMBLE_1): Likewise.
36968         (_FP_FRAC_DISASSEMBLE_1): Likewise.
36969         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
36970         (__FP_CLZ_2): Likewise.
36971         (_FP_MUL_MEAT_2_wide): Likewise.
36972         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
36973         (_FP_MUL_MEAT_2_gmp): Likewise.
36974         (_FP_MUL_MEAT_2_120_240_double): Likewise.
36975         (_FP_SQRT_MEAT_2): Likewise.
36976         (_FP_FRAC_ASSEMBLE_2): Likewise.
36977         (_FP_FRAC_DISASSEMBLE_2): Likewise.
36978         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
36979         (_FP_FRAC_CLZ_4): Likewise.
36980         (_FP_MUL_MEAT_4_wide): Likewise.
36981         (_FP_MUL_MEAT_4_gmp): Likewise.
36982         (_FP_SQRT_MEAT_4): Likewise.
36983         (_FP_FRAC_ASSEMBLE_4): Likewise.
36984         (_FP_FRAC_DISASSEMBLE_4): Likewise.
36985         * soft-fp/op-common.h (_FP_CMP): Likewise.
36986         (_FP_CMP_EQ): Likewise.
36987         (_FP_CMP_UNORD): Likewise.
36988         (_FP_TO_INT): Likewise.
36989         (_FP_FROM_INT): Likewise.
36990         [!__FP_CLZ] (__FP_CLZ): Likewise.
36991         (_FP_DIV_HELP_imm): Likewise.
36992         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
36993         Likewise.
36994         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
36995         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
36996         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
36997         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
36998         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
36999         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
37000         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
37001         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
37002         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
37003         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
37004         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
37005         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
37006         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
37007         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
37008         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
37009         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
37010         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
37011         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
37012         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
37013         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
37014         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
37015         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
37016         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
37017         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
37018         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
37019         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
37020         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
37021         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
37022         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
37023         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
37024         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
37025         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
37026         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
37027         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
37028         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
37029         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
37030         (FP_UNPACK_RAW_SP): Likewise.
37031         (FP_PACK_RAW_S): Likewise.
37032         (FP_PACK_RAW_SP): Likewise.
37033         (FP_UNPACK_S): Likewise.
37034         (FP_UNPACK_SP): Likewise.
37035         (FP_UNPACK_SEMIRAW_S): Likewise.
37036         (FP_UNPACK_SEMIRAW_SP): Likewise.
37037         (FP_PACK_S): Likewise.
37038         (FP_PACK_SP): Likewise.
37039         (FP_PACK_SEMIRAW_S): Likewise.
37040         (FP_PACK_SEMIRAW_SP): Likewise.
37041         (_FP_SQRT_MEAT_S): Likewise.
37042         (FP_CMP_S): Likewise.
37043         (FP_CMP_EQ_S): Likewise.
37044         (FP_CMP_UNORD_S): Likewise.
37045         (FP_TO_INT_S): Likewise.
37046         (FP_FROM_INT_S): Likewise.
37048         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
37050         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
37051         (FP_EX_INVALID_IMZ): Likewise.
37052         (FP_EX_INVALID_IMZ_FMA): Likewise.
37053         (FP_EX_INVALID_ISI): Likewise.
37054         (FP_EX_INVALID_ZDZ): Likewise.
37055         (FP_EX_INVALID_IDI): Likewise.
37056         (FP_EX_INVALID_SQRT): Likewise.
37057         (FP_EX_INVALID_CVI): Likewise.
37058         (FP_EX_INVALID_VC): Likewise.
37059         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
37060         "invalid" exceptions.
37061         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
37062         (_FP_ADD_INTERNAL): Likewise.
37063         (_FP_MUL): Likewise.
37064         (_FP_FMA): Likewise.
37065         (_FP_DIV): Likewise.
37066         (_FP_CMP_CHECK_NAN): Likewise.
37067         (_FP_SQRT): Likewise.
37068         (_FP_TO_INT): Likewise.
37069         (FP_EXTEND): Likewise.
37071 2014-10-09  Allan McRae  <allan@archlinux.org>
37073         * po/fr.po: Update French translation from translation project.
37075 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
37077         [BZ #14132]
37078         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
37079         of INTDEF.
37080         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
37081         (__cxa_atexit): Use libc_hidden_proto.
37082         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
37084         [BZ #14132]
37085         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
37086         declaration.
37087         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
37088         [!_ISOMAC] (__iswspace_l_internal): Likewise.
37089         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
37090         [!_ISOMAC] (__iswctype_internal): Likewise.
37091         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
37092         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
37093         alias.
37094         (fcntl): Remove __fcntl_internal alias.
37095         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
37096         __connect_internal alias.
37097         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
37098         Likewise.
37100         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
37101         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
37102         FP_DENORM_ZERO.
37103         (_FP_CHECK_FLUSH_ZERO): New macro.
37104         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
37105         (_FP_CMP): Likewise.
37106         (_FP_CMP_EQ): Likewise.
37107         (_FP_TO_INT): Do not set inexact for subnormal arguments if
37108         FP_DENORM_ZERO.
37109         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
37110         (FP_TRUNC): Likewise.
37112         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
37113         treated as invalid conversion, not as normal exponent.
37115         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
37116         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
37117         (_FP_CMP_EQ): Likewise.
37118         (_FP_CMP_UNORD): Likewise.
37119         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
37120         (FP_CMP_EQ_D): Likewise.
37121         (FP_CMP_UNORD_D): Likewise.
37122         * soft-fp/extended.h (FP_CMP_E): Likewise.
37123         (FP_CMP_EQ_E): Likewise.
37124         (FP_CMP_UNORD_E): Likewise.
37125         * soft-fp/quad.h (FP_CMP_Q): Likewise.
37126         (FP_CMP_EQ_Q): Likewise.
37127         (FP_CMP_UNORD_Q): Likewise.
37128         * soft-fp/single.h (FP_CMP_S): Likewise.
37129         (FP_CMP_EQ_S): Likewise.
37130         (FP_CMP_UNORD_S): Likewise.
37131         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
37132         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
37133         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
37134         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
37135         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
37136         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
37137         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
37138         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
37139         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
37140         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
37141         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
37142         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
37143         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
37144         to FP_CMP_Q.
37145         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
37146         FP_CMP_Q.
37147         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
37148         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
37149         FP_CMP_EQ_Q.
37150         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
37151         FP_CMP_Q.
37152         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
37153         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
37154         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
37155         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
37156         FP_CMP_EQ_Q.
37157         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
37158         FP_CMP_Q.
37159         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
37160         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
37161         FP_CMP_EQ_Q.
37162         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
37163         FP_CMP_Q.
37164         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
37165         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
37166         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
37167         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
37168         FP_CMP_EQ_Q.
37170         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
37171         a subnormal result, set the underflow exception if trapping on
37172         underflow is enabled.
37173         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
37174         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
37175         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
37176         redefine to 0.
37177         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
37178         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
37179         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
37180         * soft-fp/extendxftf2.c (__extendxftf2): Use
37181         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
37183         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
37184         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
37185         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37186         FP_HANDLE_EXCEPTIONS.
37187         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
37188         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37189         FP_HANDLE_EXCEPTIONS.
37190         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
37191         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37192         FP_HANDLE_EXCEPTIONS.
37193         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
37194         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37195         FP_HANDLE_EXCEPTIONS.
37197 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
37199         [BZ #14132]
37200         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
37201         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
37202         use INTUSE.
37203         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
37204         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
37205         Remove alias.
37206         (__adjtimex): Define using libc_hidden_ver.
37207         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
37208         Remove declaration.
37209         (ntp_gettime): Call __adjtimex directly.
37210         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
37211         Remove declaration.
37212         (ntp_gettimex): Call __adjtimex directly.
37213         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
37214         __adjtimex_internal alias.
37216 2014-10-08  Roland McGrath  <roland@hack.frob.com>
37218         [BZ #17460]
37219         * nscd/nscd.c (more_help): Rewrite list of tables collection
37220         using xstrdup and asprintf.
37222         * nscd/nscd_conf.c: Remove local xstrdup declaration.
37224 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37225             Roland McGrath  <roland@hack.frob.com>
37227         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
37228         (do_lookup_unique): ... local function 'enter' here; update callers.
37230 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
37232         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
37233         compat_symbol calls on [SHARED].
37234         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
37235         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
37236         Remove.
37237         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
37238         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
37239         (oldsetrlimit): Remove.
37240         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
37241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
37242         (lchown): New syscall entry.
37243         (oldsetrlimit): Remove.
37244         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
37245         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
37246         (oldsetrlimit): Remove.
37247         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
37249         [BZ #14138]
37250         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
37251         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
37252         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
37253         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
37254         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
37255         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
37256         (fchown): Likewise.
37257         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
37258         (fchown): Likewise.
37259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
37260         Likewise.
37262 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37264         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
37265         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
37266         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
37267         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
37268         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
37269         Likewise.
37270         (__old_sem_post): Likewise.
37272 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
37274         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
37275         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
37276         HAVE_CLOCK_GETTIME_VSYSCALL macros.
37277         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
37278         Use INLINE_VSYSCALL macro.
37279         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
37280         __vdso_clock_gettime.
37281         * sysdeps/unix/sysv/linux/tile/init-first.c
37282         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
37283         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
37284         __vdso_clock_gettime.
37286         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
37287         to set up frame more cleanly.
37289         * sysdeps/tile/memcmp.c: New file.
37291         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
37293         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
37294         * sysdeps/tile/tilegx/strcasestr.c: New file.
37295         * sysdeps/tile/tilegx/strnlen.c: New file.
37296         * sysdeps/tile/tilegx/strstr.c: New file.
37298         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
37300 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
37302         * nptl/tst-setuid3.c: Write errors to stdout.
37304 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37306         * elf/dl-deps.c
37307         (preload): New functions broken out of _dl_map_object_deps.
37308         (_dl_map_object_deps):  Remove a nested function. Update call sites.
37310 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
37312         [BZ #14138]
37313         * sysdeps/unix/sysv/linux/execve.c: Remove file.
37314         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
37316 2014-10-01  Steve Ellcey  <sellcey@mips.com>
37318         * sysdeps/mips/strcmp.S: New.
37320 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
37322         [BZ #14138]
37323         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
37324         (linkat): Likewise.
37325         (mkdirat): Likewise.
37326         (readlinkat): Likewise.
37327         (renameat): Likewise.
37328         (symlinkat): Likewise.
37329         (unlinkat): Likewise.
37330         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
37331         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
37332         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
37333         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
37334         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
37335         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
37336         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
37338 2014-09-30  Will Newton  <will.newton@linaro.org>
37340         * math/math.h: Define long double math functions if
37341         _LIBC_TEST is defined.
37342         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
37344         * localedata/Makefile: Move assignment to tests-special
37345         into an ifdef testing run-built-tests.
37346         * timezone/Makefile: Likewise.
37348 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
37350         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
37351         with $(BASH) not $(SHELL).
37353 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
37354             Matthew LeGendre  <legendre1@llnl.gov>
37356         [BZ #17411]
37357         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
37358         l_reloc_result.
37360 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37362         * stdio-common/printf_fp.c
37363         (hack_digit): New function, broken out of ...
37364         (__printf_fp): ... local function here.  Update call sites.
37365         hack_digit now takes an additional parameter that is a pointer
37366         to a struct of the referenced locals.  Those locals moved inside
37367         the struct and references updated.
37369 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
37371         * aclocal.m4: Require autoconf 2.69.
37372         * configure: Regenerated.
37373         * sysdeps/aarch64/configure: Likewise.
37374         * sysdeps/alpha/configure: Likewise.
37375         * sysdeps/arm/armv7/configure: Likewise.
37376         * sysdeps/arm/configure: Likewise.
37377         * sysdeps/ia64/configure: Likewise.
37378         * sysdeps/mach/configure: Likewise.
37379         * sysdeps/mips/configure: Likewise.
37380         * sysdeps/s390/configure: Likewise.
37381         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
37382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
37384         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
37385         file.
37386         * sysdeps/ia64/configure.ac: Likewise.
37388 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
37390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
37391         specify symbol version for ld.so.  Do not include entry for
37392         libpthread.
37393         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
37394         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
37395         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
37397         [BZ #14171]
37398         * Makeconfig [$(build-shared) = yes]
37399         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
37400         makefiles.
37401         [$(build-shared) = yes && $(soversions.mk-done) = t]
37402         ($(common-objpfx)gnu/lib-names.h): Remove rule.
37403         [$(build-shared) = yes && $(soversions.mk-done) = t]
37404         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
37405         to Makerules.
37406         [$(build-shared) = yes && $(soversions.mk-done) = t]
37407         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
37408         here.
37409         [$(build-shared) = yes && $(soversions.mk-done) = t]
37410         (common-generated): Don't append gnu/lib-names.h and
37411         gnu/lib-names.stmp here.
37412         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
37413         (lib-names-h-abi): New variable.
37414         [$(build-shared) = yes && $(soversions.mk-done) = t]
37415         (lib-names-stmp-abi): Likewise.
37416         [$(build-shared) = yes && $(soversions.mk-done) = t &&
37417         abi-variants] (before-compile): Append
37418         $(common-objpfx)$(lib-names-h-abi).
37419         [$(build-shared) = yes && $(soversions.mk-done) = t &&
37420         abi-variants] (common-generated): Append gnu/lib-names.h.
37421         [$(build-shared) = yes && $(soversions.mk-done) = t &&
37422         abi-variants] (install-others-nosubdir): Depend on
37423         $(inst_includedir)/$(lib-names-h-abi).
37424         [$(build-shared) = yes && $(soversions.mk-done) = t &&
37425         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
37426         [$(build-shared) = yes && $(soversions.mk-done) = t]
37427         ($(common-objpfx)$(lib-names-h-abi)): New rule.
37428         [$(build-shared) = yes && $(soversions.mk-done) = t]
37429         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
37430         [$(build-shared) = yes && $(soversions.mk-done) = t]
37431         (common-generated): Append $(lib-names-h-abi) and
37432         $(lib-names-stmp-abi).
37433         * scripts/lib-names.awk: Do not handle multi being set.
37434         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
37435         Remove variable.
37436         (abi-lp64_be-ld-soname): Likewise.
37437         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
37438         Likewise.
37439         (abi-hard-ld-soname): Likewise.
37440         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
37441         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
37442         Remove variable.
37443         (abi-o32_hard-ld-soname): Likewise.
37444         (abi-o32_soft_2008-ld-soname): Likewise.
37445         (abi-o32_hard_2008-ld-soname): Likewise.
37446         (abi-n32_soft-ld-soname): Likewise.
37447         (abi-n32_hard-ld-soname): Likewise.
37448         (abi-n32_soft_2008-ld-soname): Likewise.
37449         (abi-n32_hard_2008-ld-soname): Likewise.
37450         (abi-n64_soft-ld-soname): Likewise.
37451         (abi-n64_hard-ld-soname): Likewise.
37452         (abi-n64_soft_2008-ld-soname): Likewise.
37453         (abi-n64_hard_2008-ld-soname): Likewise.
37454         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
37455         Likewise.
37456         (abi-64-v2-ld-soname): Likewise.
37457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
37458         ld.so entries.
37459         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
37460         variable.
37461         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
37462         entry.
37463         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
37464         variable.
37465         (abi-64-ld-soname): Likewise.
37466         (abi-x32-ld-soname): Likewise.
37467         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
37468         entry.
37469         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
37471 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
37473         [BZ #14138]
37474         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
37475         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
37476         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
37477         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
37478         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
37479         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
37480         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
37481         syscall entry for GLIBC_2.2 symbol version.
37482         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
37483         Likewise.
37484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
37485         (setrlimit): Likewise.
37486         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
37487         Likewise.
37489 2014-09-23  Will Newton  <will.newton@linaro.org>
37491         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
37492         _LINUX_ARM_SYSDEP_H include guard too.
37493         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
37494         define.
37496 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
37498         * sysdeps/unix/sysv/linux/eventfd.c:
37499         Make first argument unsigned.
37500         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
37501         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
37503 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
37505         [BZ #16852]
37506         * socket/recvmmsg.c (recvmmsg): Drop const argument.
37507         * socket/sys/socket.h: Likewise.
37508         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
37510 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37512         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
37514 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
37516         * time/tst-ftime.c: New test.
37517         * time/Makefile (tests): Add tst-ftime.
37519 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
37521         * soft-fp/extended.h: Fix comment formatting.
37522         * soft-fp/op-1.h: Likewise.
37523         * soft-fp/op-2.h: Likewise.
37524         * soft-fp/op-4.h: Likewise.
37525         * soft-fp/op-8.h: Likewise.
37526         * soft-fp/op-common.h: Likewise.
37527         * soft-fp/soft-fp.h: Likewise.
37529         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
37531 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
37533         [BZ #6652]
37534         * Makeconfig (soversions-default-setname): Remove variable.
37535         ($(common-objpfx)soversions.i): Don't pass default_setname to
37536         soversions.awk.
37537         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
37538         oldest_abi to abi-versions.awk.
37539         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
37540         * config.make.in (oldest-abi): Remove variable.
37541         * configure.ac (--enable-oldest-abi): Remove configure option.
37542         * configure: Regenerated.
37543         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
37544         text.
37545         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
37546         * scripts/soversions.awk: Do not handle default_setname variable.
37547         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
37548         variable.
37549         * sysdeps/mach/hurd/configure: Regenerated.
37550         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
37551         variable.
37552         * sysdeps/unix/sysv/linux/configure: Regenerated.
37554 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37556         * elf/Makefile (CFLAGS-interp.c): Remove.
37557         ($(elf-objpfx)runtime-linker.h): Generate header with linker
37558         path string.
37559         * elf/interp.c: Include generated runtime-linker.h
37561         * Makerules (lib%.so): Don't include $(+interp) in
37562         prerequisites.
37563         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
37564         * dlfcn/eval.c: Remove file.
37566         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
37567         macros.
37569         [BZ #17266]
37570         * misc/sys/cdefs.h: Define __extern_always_inline for clang
37571         4.2 and newer.
37573         [BZ #17370]
37574         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
37576 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37577             Jakub Jelinek  <jakub@redhat.com>
37579         [BZ #17266]
37580         * libio/stdio.h: Check definition of __fortify_function
37581         instead of __extern_always_inline to include bits/stdio2.h.
37582         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
37583         check if __extern_always_inline is defined.
37584         [__USE_MISC || __USE_XOPEN]: Likewise.
37585         [__USE_ISOC99] Likewise.
37586         * misc/sys/cdefs.h (__fortify_function): Define only if
37587         __extern_always_inline is defined.
37588         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
37589         __extern_always_inline and __extern_inline only for g++-4.3
37590         and newer or a compatible gcc.
37592 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
37594         [BZ #17371]
37595         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
37596         last change to handle zero prefix length.
37598 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37600         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
37601         _SC_REGEX_VERSION.
37603         * posix/getconf.c (vars): Add _POSIX_IPV6 and
37604         _POSIX_RAW_SOCKETS.
37606 2014-09-13  Allan McRae  <allan@archlinux.org>
37608         * po/ru.po: Update Russian translation from translation project.
37610 2014-09-12  Roland McGrath  <roland@hack.frob.com>
37612         * locale/programs/locale.c (show_locale_vars): Inline local function
37613         into its sole call site.  Clean up some style nits.
37614         (print_item): New function, broken out of ...
37615         (show_info): ... local function here.  Clean up style nits.
37617         * locale/programs/ld-ctype.c (set_one_default): New function, broken
37618         out of ...
37619         (set_class_defaults): ... local function set_default here.
37620         Define set_default as a macro locally to pass constant parameters.
37621         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
37622         rather than a shared local.
37624         * stdlib/rpmatch.c (try): New function, broken out of ...
37625         (rpmatch): ... local function here.  Also, prototypify definition.
37627 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
37629         * scripts/soversions.awk: Do not handle configuration names.
37630         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
37631         vendor and os variables to soversions.awk.
37632         * configure.ac: Do not modify gnu-* host_os.
37633         * configure: Regenerated
37634         * shlib-versions: Remove first column with configuration names.
37635         * nptl/shlib-versions: Likewise.
37636         * nptl_db/shlib-versions: Likewise.
37637         * sysdeps/hppa/shlib-versions: Likewise.
37638         * sysdeps/m68k/shlib-versions: Likewise.
37639         * sysdeps/mach/hurd/shlib-versions: Likewise.
37640         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
37641         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
37642         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
37643         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
37644         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
37645         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
37646         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
37647         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
37648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
37649         Likewise.
37650         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
37651         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
37652         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
37653         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
37654         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
37655         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
37656         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
37657         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
37659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
37660         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
37661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
37662         Regenerated.
37663         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
37664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
37665         Condition symbol version definitions on [HAVE_ELFV2_ABI].
37667         * shlib-versions: Remove OS-specific entries.  Moved to files in
37668         sysdeps.
37669         * sysdeps/mach/hurd/shlib-versions: New file.
37670         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
37672         * nptl/shlib-versions: Remove architecture-specific entries.
37673         Moved to files in sysdeps.
37674         * shlib-versions: Likewise.
37675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
37676         file.
37677         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
37678         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
37679         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
37680         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
37682         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
37683         (UDP_NO_CHECK6_RX): Likewise.
37685 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37687         * sysdeps/posix/sysconf.c (__sysconf): Spell
37688         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
37690 2014-08-12  Florian Weimer  <fweimer@redhat.com>
37692         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
37693         loading.
37694         * iconv/Versions (__gconv_transliterate): Export for use from
37695         gconv modules.
37696         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
37697         (struct __gconv_trans_data, __gconv_trans_fct,
37698         __gconv_trans_context_fct, __gconv_trans_query_fct,
37699         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
37700         definitions.
37701         (struct __gconv_step_data): Remove __trans member.
37702         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
37703         longer hidden.  Remove unused trans_data argument.
37704         * iconv/gconv_int.h (struct trans_struct): Remove definition.
37705         (__gconv_translit_find): Remove declaration.
37706         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
37707         prototype.
37708         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
37709         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
37710         trans_data argument.  Add hidden definition.
37711         (__gconv_translit_find): Remove.
37712         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
37713         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
37714         * iconv/skeleton.c: Remove transliteration initialization.
37715         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
37716         __gconv_step_data initialization.
37717         * libio/iofwide.c (__libio_translit_): Remove.
37718         (_IO_fwide): Adjust struct __gconv_step_data initialization.
37719         * wcsmbs/btowc.c (__btowc): Likewise.
37720         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
37721         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
37722         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
37723         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
37724         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
37725         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
37726         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
37727         * wcsmbs/wctob.c (wctob): Likewise.
37729 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37731         [BZ #16194]
37732         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
37733         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
37734         register usage.
37735         * sysdeps/x86/Makefile: Adjust.
37737 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37738             Roland McGrath  <roland@hack.frob.com>
37740         * locale/weight.h: Add include guard.
37741         (findidx): Make static rather than auto; take new parameters
37742         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
37743         * locale/weightwc.h: Likewise.
37744         * posix/fnmatch_loop.c
37745         (FCT): Change type of EXTRA from int32_t to wint_t.
37746         Don't include either header inside the function.
37747         Call FINDIDX rather than findidx, and pass new arguments.
37748         #undef FINDIDX at the end of the file.
37749         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
37750         FINDIDX before including fnmatch_loop.c for the non-wide version.
37751         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
37752         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
37753         for the wide version.
37754         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
37755         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
37756         Pass new arguments to findidx.
37757         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
37758         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
37759         Don't #include it inside the function.  Pass new arguments to findidx.
37760         * posix/regex_internal.h
37761         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
37762         (re_string_elem_size_at): Don't #include it inside the function.
37763         Pass new arguments to findidx.
37764         * string/strcoll_l.c: #include WEIGHT_H at top level.
37765         (get_next_seq): Don't #include it inside the function.
37766         Pass new arguments to findidx.
37767         (get_next_seq_nocache): Likewise.
37768         * string/strxfrm_l.c: #include WEIGHT_H at top level.
37769         (STRXFRM): Don't #include it inside the function.
37770         Pass new arguments to findidx.
37772 2014-09-11  Florian Weimer  <fweimer@redhat.com>
37774         [BZ #17344]
37775         * malloc/malloc.c (unlink): Turn asserts into a call to
37776         malloc_printerr.
37778 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
37780         [BZ #17370]
37781         * libio/wfileops (do_ftell_wide): Free OUT.
37783 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
37785         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
37787 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37789         [BZ #17363]
37790         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
37791         group if the current group is empty.
37793 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37795         * benchtests/bench-memset.c (test_main): Add more test from size
37796         from 32 to 512 bytes.
37797         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37798         Add POWER8 memset object.
37799         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37800         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
37801         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
37802         implementation.
37803         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
37804         Likewise.
37805         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
37806         multiarch POWER8 memset optimization.
37807         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
37808         POWER8 memset optimization.
37810         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37811         Remove bzero multiarch objects.
37812         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
37813         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
37814         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
37815         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
37816         Remove define.
37817         [__bzero]: Redefine to specific name.
37818         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
37819         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
37820         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
37821         define.
37822         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
37823         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
37825 2014-09-10  Florian Weimer  <fweimer@redhat.com>
37827         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
37828         warnings into errors.
37830         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
37831         __cxa_thread_atexit_impl prototype.
37833 2014-09-09  Steve Ellcey  <sellcey@mips.com>
37835         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
37836         Fix capitalization of error message.
37838 2014-09-09  Steve Ellcey  <sellcey@mips.com>
37840         * sysdeps/mips/preconfigure: Modify ABI tests.
37842 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
37844         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
37846 2014-09-07  Roland McGrath  <roland@hack.frob.com>
37847             Carlos O'Donell  <carlos@systemhalted.org>
37849         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
37850         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
37851         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
37852         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
37853         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
37854         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
37855         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
37856         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
37857         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
37858         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
37859         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
37860         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
37861         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
37862         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
37863         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
37864         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
37865         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
37866         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
37867         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
37868         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
37869         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
37870         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
37871         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
37872         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
37873         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
37874         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
37875         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
37876         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
37877         Deconditionalize the code that was previously under [RESET_PID].
37878         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
37879         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
37880         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
37881         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
37882         include sysdep.h.
37884 2014-09-08  Allan McRae  <allan@archlinux.org>
37886         * version.h (RELEASE): Set to "development".
37887         (VERSION): Set to "2.20.90"
37889 2014-09-07  Allan McRae  <allan@archlinux.org
37891         * version.h (RELEASE): Set to "stable".
37892         (VERSION): Set to "2.20"
37893         * include/features.h (__GLIBC_MINOR__): Set to 20.
37895         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
37896         Liebler.
37898         * po/ko.po: Update Korean translation from translation project.
37900 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
37902         [BZ #17354]
37903         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
37904         macro for handling signed relocations.
37906 2014-09-03  Florian Weimer  <fweimer@redhat.com>
37908         [BZ #17325]
37909         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
37910         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
37911         assert.
37912         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
37913         * iconvdata/ibm935.c (BODY): Likewise.
37914         * iconvdata/ibm937.c (BODY): Likewise.
37915         * iconvdata/ibm939.c (BODY): Likewise.
37916         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
37917         assert.
37918         * iconvdata/Makefile (iconv-test.out): Pass module list to test
37919         script.
37920         * iconvdata/run-iconv-test.sh: New test loop for checking for
37921         decoder crashers.
37923 2014-09-02  Khem Raj  <raj.khem@gmail.com>
37925         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
37926         libm_hidden_ver.
37928 2014-09-01  Allan McRae  <allan@archlinux.org>
37930         * po/eo.po: Update Esperanto translation from translation project.
37932         * po/ca.po: Update Catalan translation from translation project.
37934 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37936         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
37937         __proc_dostop call.
37939 2014-08-27  Mark Wielaard  <mjw@redhat.com>
37941         [BZ #17319]
37942         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
37943         to call set_thread_area instead of hand written asm.
37944         (__NR_set_thread_area): Removed define.
37945         (TLS_FLAG_WRITABLE): Likewise.
37946         (__ASSUME_SET_THREAD_AREA): Remove check.
37947         (TLS_EBX_ARG): Remove define.
37948         (TLS_LOAD_EBX): Likewise.
37950 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37952         Simplify atomicity of socket creation in bind.
37954         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
37955         looking up the name after linking the file.
37957 2014-08-27  Allan McRae  <allan@archlinux.org>
37959         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37961 2014-08-26  Florian Weimer  <fweimer@redhat.com>
37963         [BZ #17187]
37964         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
37965         trans_compare, open_translit, __gconv_translit_find):
37966         Remove module loading code.
37968 2014-08-26  Allan McRae  <allan@archlinux.org>
37970         * po/vi.po: Update Vietnamese translation from translation project.
37972         * po/uk.po: Update Ukrainian translation from translation project.
37974         * po/fr.po: Update French translation from translation project.
37976         * po/ru.po: Update Russian translation from translation project.
37978         * po/pl.po: Update Polish translation from translation project.
37980         * po/cs.po: Update Czech translation from translation project.
37982         * po/de.po: Update German translation from translation project.
37984         * po/bg.po: Update Bulgarian translation from translation project.
37986         * po/sv.po: Update Sweedish translation from translation project.
37988         * po/nl.po: Update Dutch translation from translation project.
37990         * po/es.po: Update Spanish translation from translation project.
37992 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37994         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
37996         * catgets/Makefile (CPPFLAGS-gencat): Remove.
37997         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
37998         (CPPFLAGS-iconvconfig): Likewise.
37999         * timezone/Makefile (CPPFLAGS-zic): Likewise.
38001         * include/libc-symbols.h: Remove unnecessary check for
38002         NOT_IN_libc.
38003         * nptl/pthreadP.h: Likewise.
38004         * sysdeps/aarch64/setjmp.S: Likewise.
38005         * sysdeps/alpha/setjmp.S: Likewise.
38006         * sysdeps/arm/sysdep.h: Likewise.
38007         * sysdeps/i386/setjmp.S: Likewise.
38008         * sysdeps/m68k/setjmp.c: Likewise.
38009         * sysdeps/posix/getcwd.c: Likewise.
38010         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
38011         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
38012         * sysdeps/s390/s390-32/setjmp.S: Likewise.
38013         * sysdeps/s390/s390-64/setjmp.S: Likewise.
38014         * sysdeps/sh/sh3/setjmp.S: Likewise.
38015         * sysdeps/sh/sh4/setjmp.S: Likewise.
38016         * sysdeps/unix/alpha/sysdep.h: Likewise.
38017         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
38018         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38019         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
38020         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38023         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38024         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38025         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38026         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38027         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38028         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
38029         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38030         * sysdeps/x86_64/setjmp.S: Likewise.
38032 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
38034         [BZ #17263]
38035         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
38036         <stdint.h>.
38037         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
38038         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
38040 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38042         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
38044         [BZ #17262]
38045         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
38046         and __x86_64__ when disabling x87 inline functions.
38048 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
38050         [BZ #17259]
38051         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
38052         asm statement with __cpuid_count.
38054 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
38056         * configure.ac: Change __ehdr_start code to dereference the struct.
38057         Run readelf on the output to look for relocations.
38058         * configure: Regenerated.
38060 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
38062         [BZ #17261]
38063         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
38064         value to 0.
38065         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
38067 2014-08-12  Roland McGrath  <roland@hack.frob.com>
38069         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
38071 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
38073         [BZ #16892]
38074         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
38075         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
38077 2014-08-12  Sean Anderson  <seanga2@gmail.com>
38079         * malloc/malloc.c: Fix typo in comment.
38081 2014-08-09  Allan McRae  <allan@archlinux.org>
38083         * Regenerate libc.po.
38085 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
38087         * intl/tst-gettext2.sh: Check every lang file for creation.
38089 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
38091         * sysdeps/aarch64/fpu/math_private.h
38092         (libc_feholdsetround_noex_aarch64_ctx): New function.
38094 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
38096         * sysdeps/arm/armv6/strcpy.S (strcpy):
38097         Fix performance issue in misaligned cases.
38099 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38101         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
38102         Move definition from termios.h.
38103         (struct termio): Likewise.
38104         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
38105         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
38106         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
38107         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
38108         Likewise.
38109         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
38110         Move definition to ioctl-types.h
38111         (struct termio): Likewise.
38112         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
38113         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
38114         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
38115         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
38116         Likewise.
38118 2014-08-05  Richard Henderson  <rth@redhat.com>
38120         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
38121         exceptions.
38122         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
38123         Add fraiseexcpt.
38124         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
38125         Use __feraiseexcept.
38126         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
38127         Protect libm symbols with IS_IN_libm.
38129         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
38131 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
38133         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
38135 2014-08-04  Will Newton  <will.newton@linaro.org>
38137         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
38138         file.
38140 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
38142         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
38143         variants for each function.
38145 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38147         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
38148         appended ...
38149         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
38150         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
38151         appended ...
38152         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
38153         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
38154         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
38155         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
38156         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
38157         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
38158         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
38159         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
38160         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
38161         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
38162         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
38163         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
38164         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
38165         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
38166         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
38167         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
38168         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
38169         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
38170         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
38171         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
38172         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
38173         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
38174         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
38175         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
38176         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
38177         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
38178         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
38179         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
38180         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
38181         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
38182         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
38183         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
38184         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
38185         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
38186         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
38187         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
38188         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
38189         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
38190         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
38191         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
38192         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
38193         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
38194         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
38195         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
38196         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
38197         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
38198         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
38199         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
38200         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
38201         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
38202         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
38203         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
38204         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
38205         Update #include.
38206         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
38207         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
38209 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38211         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
38212         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
38213         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
38214         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
38215         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
38216         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
38218 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38220         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
38221         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
38222         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38223         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
38225 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38227         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
38228         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
38229         (__libc_vfork): Define function under this name.
38230         (__vfork): Define as an alias.
38231         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
38232         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
38234 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38236         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
38237         that was previously under [RESET_PID].
38238         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
38240 2014-08-04  Andreas Schwab  <schwab@suse.de>
38242         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
38244 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
38246         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
38247         (main): Likewise.
38249 2014-08-01  Roland McGrath  <roland@hack.frob.com>
38251         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
38253 2014-08-01  Richard Henderon  <rth@redhat.com>
38255         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
38256         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
38257         typo in exact zero test.
38258         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38259         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38260         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38262 2014-08-01  Roland McGrath  <roland@hack.frob.com>
38264         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
38265         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
38266         * sysdeps/arm/sysdep.h: ... here.
38267         [!__ASSEMBLER__]: Include <stdint.h>.
38269 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
38271         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
38272         (HAVE_WCTYPE_H): Likewise.
38273         (HAVE_ISWCTYPE): Likewise.
38274         (ENABLE_NLS): Likewise.
38275         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
38276         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
38278         * posix/regex_internal.c: Check if DEBUG is defined and is
38279         set.
38281         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
38282         (HAVE_MBSRTOWCS): Likewise.
38283         * posix/fnmatch.c: Include string.h unconditionally.
38285 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
38287         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
38288         reversal.
38290 2014-07-31  Roland McGrath  <roland@hack.frob.com>
38292         * sysdeps/generic/safe-fatal.h: New file.
38293         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
38294         * nptl/forward.c: Include it.
38295         (__pthread_unwind): Use __safe_fatal as default action, rather
38296         than a bogus use of INTERNAL_SYSCALL that could never work.
38298         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
38299         * configure.ac (libc_cv_builtin_trap): New test.
38300         * configure: Regenerated.
38301         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
38302         (ABORT_INSTRUCTION): Define using __builtin_trap.
38304         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
38305         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
38306         * sysdeps/nptl/nptl-signals.h: New file.
38307         * nptl/pthreadP.h: Include <nptl-signals.h>.
38309 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
38311         * sysdeps/s390/s390-64/utf16-utf32-z9.c
38312         (ONE_DIRECTION): Define.
38313         * sysdeps/s390/s390-64/utf8-utf16-z9.c
38314         (ONE_DIRECTION): Define.
38315         * sysdeps/s390/s390-64/utf8-utf32-z9.c
38316         (ONE_DIRECTION): Define.
38318 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
38320         * sysdeps/s390/Makefile: Delete file.
38321         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
38322         * sysdeps/s390/__longjmp.c: Delete file.
38323         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
38324         Remove fields __flags and __reserved.
38325         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
38326         and add versioning.
38327         * sysdeps/s390/rtld-__longjmp.c: Delete file.
38328         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
38329         * sysdeps/s390/rtld-setjmp.S: Likewise.
38330         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
38331         * sysdeps/s390/s390-32/__longjmp.c: ... here.
38332         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
38333         * sysdeps/s390/s390-32/setjmp.S: ... here.
38334         Add versioning.
38335         (__sigsetjmp): Remove setting __flags field.
38336         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
38337         * sysdeps/s390/s390-64/__longjmp.c: ... here.
38338         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
38339         * sysdeps/s390/s390-64/setjmp.S: ... here.
38340         Add versioning.
38341         (__sigsetjmp): Remove setting __flags field.
38342         * sysdeps/s390/setjmp.S: Delete file.
38343         * sysdeps/s390/sigjmp.c: Likewise.
38344         * sysdeps/s390/v1-longjmp.c: Likewise.
38345         * sysdeps/s390/v1-setjmp.h: Likewise.
38346         * sysdeps/s390/v1-sigjmp.c: Likewise.
38347         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
38348         Remove v1-longjmp_chk.
38349         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
38350         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
38351         Include debug/longjmp_chk.c and add versioning.
38352         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
38353         Include nptl/pt-longjmp.c and add versioning.
38354         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
38355         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
38356         Include __longjmp.c.
38357         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
38358         Move to ...
38359         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
38360         (__getcontext): Remove setting __flags field.
38361         Add versioning.
38362         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
38363         Don't restore upper high grps.
38364         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
38365         Likewise.
38366         (__swapcontext): Remove setting uc_flags field.
38367         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
38368         Delete file.
38369         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
38370         Include __longjmp.c.
38371         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
38372         Move to ...
38373         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
38374         (__getcontext): Remove setting __flags field.
38375         Add versioning.
38376         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
38377         (__swapcontext): Remove setting uc_flags field.
38378         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
38379         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
38380         Remove fields uc_high_gprs and __reserved.
38381         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
38382         New file with reverted content.
38383         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
38384         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
38385         Regenerated.
38386         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
38387         Regenerated.
38389 2014-07-31  Andreas Schwab  <schwab@suse.de>
38391         * config.h.in (HAVE_IFUNC): Define to 0.
38392         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
38393         definedness.
38395 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
38397         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38398         memmove-avx-unaligned, memcpy-avx-unaligned and
38399         mempcpy-avx-unaligned.
38400         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38401         Add tests for AVX memcpy functions.
38402         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
38403         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
38404         memcpy_chk.
38405         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
38406         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
38407         memmove_chk.
38408         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
38409         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
38410         mempcpy_chk.
38411         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
38412         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
38413         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
38415 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38417         [BZ #17213]
38418         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
38419         powerpc64le.
38421 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
38423         [BZ #16839]
38424         * manual/llio.texi: Add section about open file description locks.
38425         * manual/examples/ofdlocks.c: Example of open file description
38426         lock usage.
38427         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
38428         F_OFD_SETLK, and F_OFD_SETLKW.
38430 2014-07-23  Allan McRae  <allan@archlinux.org>
38432         * po/es.po: Update Spanish translation from translation project.
38434 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
38436         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
38438 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
38440         [BZ #17078]
38441         * sysdeps/arm/dl-machine.h (elf_machine_rela)
38442         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
38443         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
38445 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
38447         [BZ #17088]
38448         * math/fesetenv.c (__fesetenv)
38449         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
38450         * math/feupdateenv.c (__feupdateenv)
38451         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
38453         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
38454         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
38455         (__ASSUME_SOCKETCALL): Do not define.
38457         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
38458         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
38459         (__ASSUME_SOCKETCALL): Do not define.
38460         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
38461         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
38462         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38463         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
38464         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38465         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
38466         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38467         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38469         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
38470         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
38471         (__ASSUME_SOCKETCALL): Do not define.
38472         (__ASSUME_IPC64): Define unconditionally.
38473         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
38474         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38475         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
38476         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38477         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
38478         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38479         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
38480         Likewise.
38482         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
38483         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
38484         (__ASSUME_SOCKETCALL): Do not define.
38485         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
38486         (__ASSUME_FUTEX_LOCK_PI): Likewise.
38487         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38488         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
38489         (__ASSUME_REQUEUE_PI): Define unconditionally.
38490         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
38491         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
38492         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38493         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
38494         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38495         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38497         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
38498         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
38499         (__ASSUME_SOCKETCALL): Do not define.
38500         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
38501         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38502         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38503         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
38504         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38505         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38507         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
38508         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
38509         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38510         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
38511         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38512         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
38513         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38514         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
38515         (__ASSUME_GETCPU_SYSCALL): Likewise.
38517         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
38518         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
38519         cases for individual architectures.
38520         * sysdeps/gnu/configure: Regenerated.
38521         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
38522         LIBC_SLIBDIR_RTLDDIR.
38523         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
38524         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
38525         LIBC_SLIBDIR_RTLDDIR.
38526         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
38527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
38528         LIBC_SLIBDIR_RTLDDIR.
38529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
38530         Regenerated.
38531         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
38532         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
38533         file.
38534         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
38535         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
38536         file.
38537         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
38538         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
38539         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
38540         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
38542         * sysdeps/aarch64/shlib-versions: Move to ...
38543         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
38544         * sysdeps/alpha/shlib-versions: Move to ...
38545         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
38546         * sysdeps/arm/shlib-versions: Move to ...
38547         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
38548         * sysdeps/hppa/shlib-versions: Move all contents except for
38549         libgcc_s entry to ...
38550         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
38551         entry from ...
38552         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
38553         * sysdeps/ia64/shlib-versions: Move to ...
38554         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
38555         entry from ...
38556         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
38557         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
38558         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
38559         * sysdeps/microblaze/shlib-versions: Move to ...
38560         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
38561         * sysdeps/mips/shlib-versions: Move to ...
38562         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
38563         entry from ...
38564         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
38565         * sysdeps/tile/shlib-versions: Move to ...
38566         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
38567         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
38568         from ...
38569         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
38570         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
38571         entry from ...
38572         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
38574 2014-07-17  Will Newton  <will.newton@linaro.org>
38576         * sysdeps/arm/bits/atomic.h
38577         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
38578         (__arch_compare_and_exchange_bool_16_int): Likewise.
38579         (__arch_compare_and_exchange_bool_64_int): Likewise.
38581         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
38582         into an #else block.
38584 2014-07-16  Roland McGrath  <roland@hack.frob.com>
38586         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
38587         just Linux configurations.  Test empirically that the compiler sets
38588         __ARM_EABI__, rather than using the tuple to decide.
38589         * sysdeps/arm/preconfigure: Regenerated.
38590         * sysdeps/unix/sysv/linux/arm/configure: File removed.
38591         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
38592         contents appended ...
38593         * sysdeps/arm/configure.ac: ... here.
38594         * sysdeps/arm/configure: Regenerated.
38596 2014-07-15  Roland McGrath  <roland@hack.frob.com>
38598         * nptl/pthread_kill.c: New file.
38599         * nptl/pthread_sigmask.c: New file.
38600         * nptl/pthread_sigqueue.c: New file.
38602         * sysdeps/nptl/lowlevellock.h: New file.
38603         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
38604         * sysdeps/nptl/lowlevellock-futex.h: New file.
38606         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
38607         Remove dead declarations.
38609 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
38611         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
38612         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
38613         config-cflags-avx2.
38614         * sysdeps/x86_64/configure.ac: Likewise.
38615         * sysdeps/i386/configure: Regenerated.
38616         * sysdeps/x86_64/configure: Likewise.
38617         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38618         memset-avx2 only if config-cflags-avx2 is yes.
38619         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38620         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
38621         defined.
38622         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
38623         only if HAVE_AVX2_SUPPORT is defined.
38624         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38626 2014-07-14  Alan Modra  <amodra@gmail.com>
38628         [BZ #17153]
38629         * elf/elf.h (DT_PPC64_NUM): Correct value.
38630         * NEWS: Add to fixed bug list.
38632 2014-07-13  Jim Meyering  <meyering@fb.com>
38634         [BZ 17150]
38635         regex: don't deref NULL upon heap allocation failure
38636         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
38637         failure in one more place.
38638         To trigger the segfault, configure grep -with-included-regex,
38639         build it, and run these commands:
38640         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
38642 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
38644         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
38646 2014-07-11  Richard Henderson  <rth@redhat.com>
38648         * sysdeps/aarch64/libm-test-ulps: Update.
38650 2014-07-10  Florian Weimer  <fweimer@redhat.com>
38652         [BZ #17135]
38653         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
38654         * nptl/allocatestack.c (__nptl_setxid_error): New function.
38655         (__nptl_setxid): Initialize error member.  Call
38656         __nptl_setxid_error.
38657         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
38658         * nptl/descr.h (struct xid_command): Add error member.
38659         * nptl/tst-setuid3.c: New file.
38660         * nptl/Makefile (tests): Add it.
38662 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38664         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
38665         New define.
38666         (__lll_trylock): Use __lll_base_trylock.
38667         (__lll_cond_trylock): Likewise.
38669 2014-07-10  Roland McGrath  <roland@hack.frob.com>
38671         * nptl/pthread_create.c (start_thread): Use atomic_or and
38672         lll_futex_wake directly rather than lll_robust_dead.
38673         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
38674         (lll_robust_dead): Macro removed.
38675         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
38676         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
38677         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
38678         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
38679         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
38680         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
38681         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
38682         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38683         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
38684         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38685         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38686         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38687         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38688         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38689         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38691         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
38692         Use atomic_compare_and_exchange_val_acq directly rather than
38693         lll_robust_trylock.
38694         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
38695         (__lll_robust_trylock, lll_robust_trylock): Removed.
38696         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
38697         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
38698         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
38699         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
38700         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
38701         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
38702         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38703         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
38704         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38705         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38706         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38707         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38708         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38709         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38711 2014-07-02  Florian Weimer  <fweimer@redhat.com>
38713         * manual/locale.texi (Locale Names): New section documenting
38714         locale name syntax.  Adjust menu and node chaining accordingly.
38715         (Choosing Locale): Reference Locale Names, Locale Categories.
38716         Mention setting LC_ALL=C.  Reflect that name syntax is now
38717         documented.
38718         (Locale Categories): New section title.  Reference Locale Names.
38719         LC_ALL is an environment variable, but not a category.
38720         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
38721         description, now in Locale Name.  Reference that section.  Locale
38722         name syntax is now documented.
38724 2014-07-02  Florian Weimer  <fweimer@redhat.com>
38726         [BZ #17137]
38727         * locale/findlocale.c (name_present, valid_locale_name): New
38728         functions.
38729         (_nl_find_locale): Use the loc_name variable to store name
38730         candidates.  Call name_present and valid_locale_name to check and
38731         validate locale names.  Return an error if the locale is invalid.
38733 2014-07-02  Florian Weimer  <fweimer@redhat.com>
38735         * locale/setlocale.c (setlocale): Use strdup for allocating
38736         composite name copy.
38738 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38740         Sync up with gnulib.
38741         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
38742         [!_LIBC && ENABLE_NLS]: Include gettext.h.
38743         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
38744         and _GL_ARG_NONNULL.
38745         [USE_UNLOCKED_IO]: Include unlocked-io.h.
38746         [!_LIBC]: Include code for Windows and Cygwin.
38747         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
38748         Include prototype for int strerror_r.
38749         [!_LIBC] (is_open): New function.
38750         (flush_stdout): New function.
38751         (print_errno_message): Use it.
38752         (error): Likewise.
38753         (error_at_line): Likewise.
38754         (error_tail) Add function attribute macros.  Use
38755         __builtin_expect.
38757         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
38759         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
38761         * io/ftw.c: Include sys/param.h unconditionally.
38763         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
38765         [BZ #17125]
38766         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
38767         libc_freeres_ptr.
38768         (freecache): New function to free CACHE on exit.
38770         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
38771         initialization.
38773 2014-07-09  David S. Miller  <davem@davemloft.net>
38775         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38777         * sysdeps/sparc/nptl/internaltypes.h: Delete.
38778         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
38779         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
38780         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
38781         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
38782         * sysdeps/sparc/nptl/sem_init.c: Likewise.
38783         * sysdeps/sparc/nptl/sem_post.c: Likewise.
38784         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
38785         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
38786         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
38787         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
38788         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
38789         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
38791 2014-07-09  Andreas Schwab  <schwab@suse.de>
38793         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
38794         output.
38795         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
38796         (do_test): Likewise.
38798         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38800 2014-07-09  Will Newton  <will.newton@linaro.org>
38802         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
38803         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
38804         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
38805         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
38806         * sysdeps/hppa/start.S (_start): Likewise.
38808 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
38810         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
38812         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
38813         defined.
38815 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38817         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
38818         after checking that it is non-NULL.
38820         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
38822 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38824         * sysdeps/powerpc/memmove.c: Remove file.
38825         * sysdeps/powerpc/powerpc32/power4/memcopy.h
38826         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
38827         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
38828         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
38829         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
38830         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
38831         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
38832         string memmove instead of removed powerpc one.
38834         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
38835         [weak_alias]: Fix compiler warning due trailing data.
38836         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
38837         [weak_alias]: Likewise.
38838         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
38839         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
38841         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38842         (__libc_ifunc_impl_list): Add memmove functions.
38844 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38846         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
38847         Remove code.
38848         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
38849         Likewise.
38850         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
38851         Likewise.
38852         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
38853         Likewise.
38854         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
38855         Likewise.
38856         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
38857         Likewise.
38858         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
38859         Likewise.
38860         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
38861         Likewise.
38862         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
38863         Likewise.
38864         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
38865         Likewise.
38866         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
38867         Likewise.
38868         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
38869         Likewise.
38870         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
38871         Likewise.
38872         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
38873         Likewise.
38874         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
38875         Likewise.
38876         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
38877         Likewise.
38878         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
38879         Likewise.
38881 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38883         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
38884         to avoid alignment traps in non-cacheable memory.
38885         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
38887         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
38888         multiarch objects.
38889         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
38890         file: multiarch power7 memmove.
38891         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
38892         multiarch default memmove.
38893         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
38894         multiarch memove for powerpc32/power4.
38896         * string/bcopy.c: Use full path to include memmove.c.
38897         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
38898         multiarch objects.
38899         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
38900         bcopy for powerpc64.
38901         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
38902         bcopy for powerpc64.
38903         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
38904         and memmove implementations.
38905         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
38906         optimized multiarch memmove for POWER7/powerpc64.
38907         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
38908         default multiarch memmove for powerpc64.
38909         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
38910         multiarch for powerpc64.
38911         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
38912         for POWER7/powerpc64.
38913         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
38914         memmove for POWER7/powerpc64.
38916         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
38917         glibc default one.
38919         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
38920         __ELF_NATIVE_CLASS equal to 64.
38922 2014-07-07  Roland McGrath  <roland@hack.frob.com>
38924         * sysdeps/nptl/lowlevellock.h: File removed.
38926         * NEWS: NPTL is no longer an add-on!
38927         * nptl/internaltypes.h: Moved ...
38928         * sysdeps/nptl/internaltypes.h: ... here.
38929         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
38930         * sysdeps/nptl/fork.c: Likewise.
38931         * sysdeps/nptl/gai_misc.h: Likewise.
38932         * sysdeps/nptl/librt-cancellation.c: Likewise.
38933         * sysdeps/nptl/jmp-unwind.c: Likewise.
38934         * sysdeps/nptl/setxid.h: Likewise.
38935         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
38936         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
38937         * sysdeps/unix/sysv/linux/arm/Implies: New file.
38938         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
38939         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
38940         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
38941         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
38942         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
38943         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
38944         * sysdeps/unix/sysv/linux/mips/Implies: New file.
38945         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
38946         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
38947         * sysdeps/unix/sysv/linux/sh/Implies: New file.
38948         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
38949         * sysdeps/unix/sysv/linux/tile/Implies: New file.
38950         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
38951         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
38952         * nptl/Makeconfig: Moved ...
38953         * sysdeps/nptl/Makeconfig: ... here.
38954         * nptl/configure: File removed.
38955         * nptl/ANNOUNCE: File removed.
38956         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
38957         * sysdeps/unix/sysv/linux/configure: Regenerated.
38959         * nptl/Makefile (routines): Add libc_pthread_init,
38960         libc_multiple_threads, register-atfork and unregister-atfork.
38961         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
38962         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
38963         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
38964         pthread-pi-defines.sym, structsem.sym.
38965         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
38966         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
38967         [$(subdir) = nptl] (tests): Add tst-setgetname.
38968         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
38969         * sysdeps/unix/sysv/linux/sigaction.c: Just include
38970         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
38971         [!LIBC_SIGACTION]: Remove aliases.
38972         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
38973         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
38974         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
38975         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
38976         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
38977         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
38978         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38979         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38980         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
38981         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
38982         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
38983         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
38984         __libc_allocate_rtsig_private.
38985         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
38986         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
38987         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
38988         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
38989         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
38990         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
38991         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
38992         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
38993         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
38994         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
38995         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
38996         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
38997         * nptl/internaltypes.h: ... here.
38998         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
38999         * sysdeps/nptl/jmp-unwind.c: ... here.
39000         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
39001         * nptl/libc-lowlevellock.c: ... here.
39002         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
39003         * nptl/libc_multiple_threads.c: ... here.
39004         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
39005         * nptl/libc_pthread_init.c: ... here.
39006         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
39007         * nptl/lowlevelbarrier.sym: ... here.
39008         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
39009         * nptl/lowlevelcond.sym: ... here.
39010         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
39011         * nptl/lowlevellock.c: ... here.
39012         * nptl/lowlevellock.h: Moved ...
39013         * sysdeps/nptl/lowlevellock.h: ... here.
39014         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
39015         * nptl/lowlevelrobustlock.c: ... here.
39016         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
39017         * nptl/lowlevelrobustlock.sym: ... here.
39018         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
39019         * nptl/lowlevelrwlock.sym: ... here.
39020         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
39021         * nptl/pt-fork.c: ... here.
39022         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
39023         * nptl/pthread-pi-defines.sym: ... here.
39024         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
39025         * nptl/pthread_attr_getaffinity.c: ... here.
39026         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
39027         * nptl/pthread_attr_setaffinity.c: ... here.
39028         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
39029         * nptl/pthread_mutex_cond_lock.c: ... here.
39030         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
39031         Update #include.
39032         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
39033         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
39034         * nptl/pthread_once.c: ... here, replacing old file.
39035         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
39036         * nptl/pthread_yield.c: ... here.
39037         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
39038         * nptl/register-atfork.c: ... here.
39039         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
39040         * nptl/sem_post.c: ... here.
39041         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
39042         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
39043         * nptl/sem_timedwait.c: ... here.
39044         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
39045         * nptl/sem_trywait.c: ... here.
39046         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
39047         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
39048         * nptl/sem_wait.c: ... here.
39049         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
39050         * nptl/structsem.sym: ... here.
39051         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
39052         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
39053         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
39054         * nptl/unregister-atfork.c: ... here.
39055         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
39056         * nptl/unwindbuf.sym: ... here.
39057         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
39058         * sysdeps/nptl/fork.c: ... here.
39059         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
39060         * sysdeps/nptl/fork.h: ... here.
39061         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
39062         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
39063         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
39064         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
39065         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
39066         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
39067         * sysdeps/unix/sysv/linux/getpid.c: ... here.
39068         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
39069         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
39070         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
39071         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
39072         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
39073         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
39074         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
39075         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
39076         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
39077         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
39078         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
39079         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
39080         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
39081         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
39082         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
39083         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
39084         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
39085         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
39086         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
39087         * sysdeps/unix/sysv/linux/raise.c: ... here.
39088         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
39089         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
39090         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
39091         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
39092         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
39093         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
39094         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
39095         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
39096         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
39097         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
39098         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
39099         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
39100         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
39101         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
39102         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
39104 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39106         * sysdeps/generic/memcopy.h: Add comment for
39107         MEMCPY_OK_FOR_FWD_MEMMOVE.
39109 2014-07-04  Will Newton  <will.newton@linaro.org>
39111         * string/memchr.c: Merge from gnulib.
39112         [_LIBC]: Remove conditionals.
39113         (__ptr_t): Remove define.
39114         (LONG_MAX_32_BITS): Likewise.
39115         (LONG_MAX): Likewise.
39116         (MEMCHR): Use ANSI prototype and optimize algorithm.
39118         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
39120 2014-07-03  Roland McGrath  <roland@hack.frob.com>
39122         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
39123         (lll_futex_timed_wait_bitset): Fix syscall argument count.
39125         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
39126         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
39127         in a bare environment with no <stdlib.h> installed.
39128         * sysdeps/nptl/configure: Regenerated.
39130         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
39132         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
39133         AC_EGREP_CPP for kernel header checks, so they only succeed if
39134         including <linux/version.h> actually works right.
39135         * sysdeps/unix/sysv/linux/configure: Regenerated.
39137         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
39138         value so it's not diagnosed as unused.
39140         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
39141         thing) with "ifeq ($(subdir),rt)".
39143 2014-07-03  Richard Henderson  <rth@redhat.com>
39145         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
39146         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
39147         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
39149         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
39150         (math_force_eval): New.
39152         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
39153         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
39155         * sysdeps/alpha/fpu/s_round.c: Remove file.
39156         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
39158         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
39159         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
39160         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
39161         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
39162         (_dl_start, print_statistics): Likewise.
39163         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
39164         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
39166         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39167         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39168         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39169         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39170         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
39171         (HP_SMALL_TIMING_AVAIL): Define.
39172         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39173         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
39174         (HP_SMALL_TIMING_AVAIL): Define.
39175         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39176         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39178         * sysdeps/aarch64/hp-timing.h: New file.
39180         * sysdeps/generic/hp-timing.h: Remove dead comment.
39181         * sysdeps/generic/hp-timing-common.h: New file.
39182         * sysdeps/alpha/hp-timing.h: Include it.
39183         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
39184         * sysdeps/i386/i686/hp-timing.h: Likewise.
39185         * sysdeps/ia64/hp-timing.h: Likewise.
39186         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39187         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39188         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39189         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39190         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
39191         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
39192         (hp_timing_t): New.
39194         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
39195         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
39196         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
39197         * elf/rtld.c (_dl_start_final): Likewise.
39198         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
39199         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39200         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39201         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39202         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39203         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
39204         (HP_TIMING_DIFF_INIT): Remove.
39205         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39206         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
39207         (HP_TIMING_DIFF_INIT): Remove.
39208         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39209         * sysdeps/i386/i686/hp-timing.c: Remove file.
39210         * sysdeps/x86_64/hp-timing.c: Remove file.
39211         * sysdeps/ia64/hp-timing.c: Remove file.
39212         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
39213         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
39214         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
39215         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
39217         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
39218         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
39219         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
39220         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
39221         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
39222         (HP_TIMING_ACCUM): Remove.
39223         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
39224         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
39225         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
39227         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
39228         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
39229         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
39230         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
39231         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
39232         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
39233         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
39234         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
39236         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
39238 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
39240         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
39242 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39244         Sync up with gettext.
39245         * intl/loadmsgcat.c: Define O_BINARY if not defined.
39246         [_MSC_VER]: Include malloc.h
39247         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
39248         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
39249         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
39250         TEMP_FAILURE_RETRY.  Cast return of alloca.
39251         [!_LIBC] Call gl_rwlock_init.
39252         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
39254 2014-07-02  Roland McGrath  <roland@hack.frob.com>
39256         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
39257         before checking its value.
39259 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39261         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
39263         * debug/memcpy_chk.c: Don't include pagecopy.h.
39264         * debug/mempcpy_chk.c: Likewise.
39265         * string/memcpy.c: Likewise.
39266         * string/memmove.c: Likewise.
39267         * sysdeps/powerpc/memmove.c: Likewise.
39268         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
39269         definition of PAGE_COPY_FWD_MAYBE here...
39270         * sysdeps/generic/pagecopy.h: ... from here.
39271         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
39273 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39274             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39276         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
39277         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
39278         optimizations.
39279         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39280         (__libc_ifunc_impl_list): Likewise.
39281         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
39282         multiarch strcat for PPC64.
39283         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
39284         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
39286 2014-07-02  Roland McGrath  <roland@hack.frob.com>
39288         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
39290 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39292         * intl/loadmsgcat.c: Remove declaration of
39293         get_sysdep_segment_value.
39294         (get_sysdep_segment_value): Use ISO C style.
39295         (_nl_load_domain): Use ISO C style.  Get rid of redundant
39296         semicolon.  Fix typo and formatting in comment.
39297         (_nl_unload_domain): Use ISO C style.
39299         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
39301 2014-07-02  Will Newton  <will.newton@linaro.org>
39303         * malloc/obstack.c: Merge from gnulib master.
39304         [HAVE_CONFIG_H]: Remove conditional code.
39305         [!_LIBC]: Include config.h.
39306         [!ELIDE_CODE]: Don't include inttypes.h, include
39307         stdint.h unconditionally.
39308         (print_and_abort): Mark as _Noreturn.
39309         (_obstack_allocated_p): Mark as __attribute_pure__.
39310         (obstack_free): Rename to __obstack_free.
39311         [!__attribute__]: Remove conditional code.
39312         * malloc/obstack.h: Merge from gnulib master.
39313         [__cplusplus]: Move conditional down.
39314         [!__attribute_pure__]: Define __attribute_pure__ here
39315         if it is not already defined.
39316         (_obstack_memory_used): Mark as __attribute_pure__.
39317         [!__obstack_free]: Define as obstack_free.
39318         [__GNUC__]: Remove check for ancient NeXT gcc.
39320 2014-07-02  Will Newton  <will.newton@linaro.org>
39321             Paul Eggert  <eggert@cs.ucla.edu>
39323         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
39325 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39327         * resolv/gethnamaddr.c: Add comment warning that the file is
39328         not maintained.
39330 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
39332         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
39333         entries.
39335         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
39336         entry for aio_cancel and aio_cancel64.
39337         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
39338         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
39339         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
39340         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
39341         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
39342         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
39343         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
39344         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
39345         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
39346         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
39347         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
39348         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
39349         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
39351 2014-07-01  Roland McGrath  <roland@hack.frob.com>
39353         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
39354         * nptl/pthread_mutex_lock.c: Likewise.
39355         * nptl/pthread_mutex_timedlock.c: Likewise.
39356         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
39358 2014-07-01  Richard henderson  <rth@redhat.com>
39360         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
39361         (__isnan, __isnanl): Remove.
39362         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
39364         * sysdeps/alpha/fpu/libm-test-ulps: Update.
39366 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
39368         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39370 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
39372         * resolv/nss_dns/dns-host.c (getanswer_r)
39373         [MULTI_PTRS_ARE_ALIASES]: Remove code.
39375 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
39377         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39378         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
39379         undefine.
39380         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
39381         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
39383 2014-07-01  Roland McGrath <roland@hack.frob.com>
39385         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
39386         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
39388         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
39389         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
39391         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
39392         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
39393         ... here.
39394         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
39395         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
39397         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
39398         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
39399         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
39400         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
39402         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
39403         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
39404         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
39405         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
39406         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
39407         Moved ...
39408         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
39409         ... here.
39410         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
39411         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
39412         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
39413         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
39414         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
39415         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
39416         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
39417         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
39418         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
39419         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
39420         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
39421         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
39422         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
39423         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
39424         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
39425         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
39426         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
39427         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
39428         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
39429         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
39430         ... here.
39431         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
39432         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
39433         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
39434         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
39435         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
39436         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
39437         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
39438         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
39440 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
39442         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
39443         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
39444         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
39445         Add sysdep.
39447 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39449         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39451 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
39453         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
39454         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
39456         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39458         * sysdeps/arm/libm-test-ulps: Regenerated.
39460 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
39461             Roland McGrath <roland@hack.frob.com>
39463         * test-skeleton.c (signal_handler): Kill the whole process group
39464         before killing the child individually.
39465         (main): Report any failure on `setpgid'.
39467 2014-06-30  Roland McGrath  <roland@hack.frob.com>
39469         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
39470         from _TLS_H to _ARM_NPTL_TLS_H.
39471         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
39472         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
39474 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
39476         [BZ #16539]
39477         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
39478         (__expm1l): Return argument unchanged when small but not
39479         subnormal.
39481         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
39482         include macro name.
39483         (_FP_UNPACK_RAW_1_P): Likewise.
39484         (_FP_PACK_RAW_1): Likewise.
39485         (_FP_PACK_RAW_1_P): Likewise.
39486         (_FP_MUL_MEAT_1_wide): Likewise.
39487         (_FP_MUL_MEAT_DW_1_hard): Likewise.
39488         (_FP_MUL_MEAT_1_hard): Likewise.
39489         (_FP_DIV_MEAT_1_imm): Likewise.
39490         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
39491         (_FP_DIV_MEAT_1_udiv): Likewise.
39492         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
39493         (_FP_UNPACK_RAW_2): Likewise.
39494         (_FP_UNPACK_RAW_2_P): Likewise.
39495         (_FP_PACK_RAW_2): Likewise.
39496         (_FP_PACK_RAW_2_P): Likewise.
39497         (_FP_MUL_MEAT_DW_2_wide): Likewise.
39498         (_FP_MUL_MEAT_2_wide): Likewise.
39499         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
39500         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
39501         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
39502         (_FP_MUL_MEAT_2_gmp): Likewise.
39503         (_FP_DIV_MEAT_2_udiv): Likewise.
39504         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
39505         (_FP_FRAC_SRL_4): Likewise.
39506         (_FP_FRAC_SRST_4): Likewise.
39507         (_FP_FRAC_SRS_4): Likewise.
39508         (_FP_UNPACK_RAW_4): Likewise.
39509         (_FP_UNPACK_RAW_4_P): Likewise.
39510         (_FP_PACK_RAW_4): Likewise.
39511         (_FP_PACK_RAW_4_P): Likewise.
39512         (_FP_MUL_MEAT_DW_4_wide): Likewise.
39513         (_FP_MUL_MEAT_4_wide): Likewise.
39514         (_FP_MUL_MEAT_4_gmp): Likewise.
39515         (umul_ppppmnnn): Likewise.
39516         (_FP_DIV_MEAT_4_udiv): Likewise.
39517         (__FP_FRAC_ADD_4): Likewise.
39518         (__FP_FRAC_SUB_3): Likewise.
39519         (__FP_FRAC_SUB_4): Likewise.
39520         (__FP_FRAC_DEC_3): Likewise.
39521         (__FP_FRAC_DEC_4): Likewise.
39522         (__FP_FRAC_ADDI_4): Likewise.
39523         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
39524         (_FP_FRAC_SRL_8): Likewise.
39525         (_FP_FRAC_SRS_8): Likewise.
39527         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
39528         include macro name.
39529         (FP_UNPACK_RAW_EP): Likewise.
39530         (FP_PACK_RAW_E): Likewise.
39531         (FP_PACK_RAW_EP): Likewise.
39532         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
39533         (_FP_ISSIGNAN): Likewise.
39534         (_FP_ADD_INTERNAL): Likewise.
39535         (_FP_FMA): Likewise.
39536         (_FP_CMP): Likewise.
39537         (_FP_SQRT): Likewise.
39538         (_FP_TO_INT): Likewise.
39539         (_FP_FROM_INT): Likewise.
39540         (FP_EXTEND): Likewise.
39541         (_FP_DIV_MEAT_N_loop): Likewise.
39543 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
39545         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
39546         throughout.
39548 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
39550         [BZ #17097]
39551         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
39552         result with correct sign in case of exponents that produce
39553         overflow except for X very close to 1.
39555 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
39557         mktime: merge #if/#ifdef usage from glibc
39558         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
39559         as that works with both Glibc's and Gnulib's style.
39560         See thread starting at Siddhesh Poyarekar's bug report at:
39561         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
39563 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39565         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
39566         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
39567         * sysdeps/tile/tilegx/memmove.c: Remove file.
39569 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
39571         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
39572         abi-name definition.
39573         * scripts/soversions.awk: Do not handle or generate ABI lines.
39574         * shlib-versions: Remove ABI entries.
39575         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
39576         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
39578 2014-06-27  Roland McGrath  <roland@hack.frob.com>
39580         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
39581         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
39582         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
39583         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
39584         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
39585         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
39586         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
39587         Moved ...
39588         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
39589         ... here.
39590         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
39591         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
39592         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
39593         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
39594         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
39595         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
39596         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
39597         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
39598         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
39599         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
39600         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
39601         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
39602         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
39603         Moved ...
39604         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
39605         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
39606         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
39607         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
39608         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
39609         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
39610         Moved ...
39611         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
39612         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
39613         Moved ...
39614         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
39615         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
39616         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
39617         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
39618         Moved ...
39619         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
39620         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
39621         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
39622         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
39623         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
39624         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
39625         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
39626         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
39627         Moved ...
39628         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
39629         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
39630         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
39631         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
39632         Moved ...
39633         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
39634         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
39635         Moved ...
39636         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
39637         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
39638         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
39639         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
39640         Moved ...
39641         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
39642         ... here.
39643         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
39644         Identical file removed.
39645         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
39646         Moved ...
39647         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
39648         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
39649         Identical file removed.
39650         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
39651         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
39652         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
39653         Moved ...
39654         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
39655         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
39656         Identical file removed.
39657         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
39658         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
39659         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
39660         Identical file removed.
39661         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
39662         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
39663         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
39664         Identical file removed.
39665         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
39666         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
39667         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
39668         Identical file removed.
39669         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
39670         Moved ...
39671         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
39672         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
39673         Identical file removed.
39674         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
39675         Moved ...
39676         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
39677         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
39678         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
39679         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
39680         Identical file removed.
39681         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
39682         Moved ...
39683         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
39684         ... here.
39685         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
39686         Identical file removed.
39687         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
39688         Moved ...
39689         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
39690         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
39691         Identical file removed.
39692         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
39693         Moved ...
39694         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
39695         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
39696         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
39697         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
39698         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
39699         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
39700         Moved ...
39701         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
39702         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
39703         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
39705         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
39706         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
39707         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
39708         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
39709         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
39711 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
39713         [BZ #17092]
39714         * nscd/nscd.c (monitor_child): Return exit status of child
39715         instead of return value from wait syscall.
39717 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
39719         * configure.ac (libc_commonpagesize): Remove variable.
39720         (libc_relro_required): Likewise.
39721         (libc_cv_z_relro): Remove configure test.
39722         * configure: Regenerated.
39723         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
39724         variable.
39725         (libc_relro_required): Likewise.
39726         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
39727         (libc_relro_required): Likewise.
39728         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
39729         (libc_relro_required): Likewise.
39730         * sysdeps/arm/preconfigure: Regenerated.
39731         * sysdeps/ia64/preconfigure: Remove file.
39732         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
39733         variable.
39734         (libc_relro_required): Likewise.
39736         [BZ #16561]
39737         [BZ #16562]
39738         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
39739         (__ieee754_yn): Set FE_TONEAREST mode internally and then
39740         recompute overflowing results in original rounding mode.
39741         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
39742         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
39743         recompute overflowing results in original rounding mode.
39744         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
39745         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39746         recompute overflowing results in original rounding mode.
39747         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
39748         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39749         recompute overflowing results in original rounding mode.
39750         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
39751         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39752         recompute overflowing results in original rounding mode.
39753         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
39754         (libc_feholdsetround_ctx): New macro.
39755         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
39756         * sysdeps/i386/fpu/libm-test-ulps: Update.
39757         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
39759 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39761         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
39762         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
39763         corresponding .cpsetup call.
39765 2014-06-26  Roland McGrath  <roland@hack.frob.com>
39767         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
39768         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
39769         * sysdeps/arm/Makefile [$(subdir) = csu]
39770         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
39771         (static-only-routines): Add aeabi_read_tp here.
39772         (shared-only-routines): Add libc-aeabi_read_tp here.
39773         (CFLAGS-libc-start.c): Add -fexceptions here.
39774         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
39775         (sysdep_routines, static-only-routines, shared-only-routines):
39776         Don't add to these here.
39777         (CFLAGS-libc-start.c): Likewise.
39779         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
39780         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
39781         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
39782         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
39783         * sysdeps/arm/Makefile [$(subdir) = rt]
39784         (librt-sysdep_routines, librt-shared-only-routines):
39785         Append rt-aeabi_unwind_cpp_pr1 here.
39786         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
39787         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
39788         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
39789         (libpthread-sysdep_routines, libpthread-shared-only-routines):
39790         Append nptl-aeabi_unwind_cpp_pr1 here.
39791         (tests): Filter out tst-cleanupx4 here.
39792         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
39793         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
39794         Don't do those here.
39796 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39798         * scripts/list-sources.sh: Do not handle ports specially.
39800 2014-06-26  Roland McGrath  <roland@hack.frob.com>
39802         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
39803         * sysdeps/arm/feupdateenv.c: Likewise.
39805         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
39807 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39809         * manual/texinfo.tex: Update to version 2014-05-05.10 with
39810         trailing whitespace removed.
39811         * scripts/config.guess: Update to version 2014-03-23.
39812         * scripts/config.sub: Update to version 2014-05-01
39813         * scripts/install-sh: Update to version 2013-12-25.23.
39814         * scripts/move-if-change: Update from gnulib.
39816 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39818         * debug/memmove_chk.c: Remove pagecopy.h include.
39820 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
39822         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
39823         identical to gnulib mktime.
39825 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39827         * configure.ac: Do not test for machine being rs6000.  Do not test
39828         for powerpc*-*soft.
39829         * configure: Regenerated.
39831         [BZ #11505]
39832         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
39833         test.
39834         * configure: Regenerated.
39835         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
39836         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
39837         Remove configure test.
39838         * sysdeps/arm/configure: Regenerated.
39839         * sysdeps/nptl/configure.ac: Do not check
39840         libc_cv_asm_cfi_directives.
39841         * sysdeps/nptl/configure: Regenerated.
39842         * sysdeps/x86_64/nptl/configure.ac: Remove file.
39843         * sysdeps/x86_64/nptl/configure: Remove generated file.
39844         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
39845         unconditional.
39846         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
39848 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39850         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
39851         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
39852         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
39853         it is defined.
39855         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
39856         instead of whether it is defined.
39857         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
39858         * sysdeps/hppa/dl-machine.h: Likewise.
39859         * sysdeps/ia64/dl-machine.h: Likewise.
39860         * sysdeps/m68k/dl-machine.h: Likewise.
39861         * sysdeps/microblaze/dl-machine.h: Likewise.
39862         * sysdeps/mips/dl-machine.: Likewise.
39863         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39864         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39865         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39866         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39867         * sysdeps/sh/dl-machine.h: Likewise.
39868         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39869         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39870         * sysdeps/tile/dl-machine.h: Likewise.
39871         * sysdeps/x86_64/dl-machine.h: Likewise.
39873         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
39874         code.
39875         (verify_persistent_db): Likewise.
39877 2014-06-26  Roland McGrath  <roland@hack.frob.com>
39879         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
39880         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
39881         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
39882         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
39883         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39884         Moved ...
39885         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
39886         ... here.
39887         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
39888         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
39889         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
39890         Identical file removed.
39891         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
39892         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
39893         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
39894         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
39895         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
39896         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
39897         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
39898         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
39899         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
39900         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
39901         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39902         Moved ...
39903         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
39904         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
39905         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
39906         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
39907         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
39908         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39909         Moved ...
39910         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
39911         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
39912         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
39913         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
39914         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
39915         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39916         Identical file removed.
39917         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
39918         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
39919         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
39920         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
39921         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39922         Moved ...
39923         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
39924         ... here.
39925         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
39926         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
39927         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
39928         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
39929         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
39930         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
39931         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
39932         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
39933         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
39934         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
39935         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39936         Moved ...
39937         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
39938         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
39939         Moved ...
39940         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
39941         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
39942         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
39943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39944         Moved ...
39945         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
39946         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
39947         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
39949         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
39950         folded into ...
39951         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
39952         * sysdeps/unix/sysv/linux/s390/Versions
39953         (libpthread: GLIBC_2.19): New version set.
39954         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
39955         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
39956         (librt: GLIBC_2.3.3): New version set.
39957         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
39958         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
39959         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
39960         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
39961         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
39962         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
39963         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
39964         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
39965         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
39966         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
39967         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
39968         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
39969         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
39970         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
39971         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
39972         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
39973         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
39974         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
39975         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
39976         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
39977         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
39978         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
39979         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
39980         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
39981         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
39982         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
39983         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
39984         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
39985         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
39986         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
39987         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
39988         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
39989         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
39990         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
39991         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
39992         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
39993         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
39994         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
39995         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
39996         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
39997         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
39998         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
39999         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
40000         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
40001         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
40003         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
40004         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
40005         (__libc_vfork): Define the function under this name.
40006         [!NOT_IN_libc] (__vfork): Make this an alias.
40007         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
40008         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
40009         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
40010         (__libc_vfork): Define the function under this name.
40011         [!NOT_IN_libc] (__vfork): Make this an alias.
40012         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
40013         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
40014         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
40015         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
40016         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
40017         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40019         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
40020         code that was previously under [RESET_PID].
40021         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
40022         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
40023         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
40025         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
40026         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
40027         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
40028         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
40029         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
40030         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
40031         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
40032         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
40033         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
40034         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
40035         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
40036         Moved ...
40037         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
40038         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
40039         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
40040         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
40041         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
40042         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
40043         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
40044         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
40045         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
40046         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
40047         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
40048         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
40049         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
40050         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
40051         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
40052         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
40053         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
40054         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
40055         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
40056         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
40057         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
40058         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
40059         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
40060         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
40061         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
40062         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
40063         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
40064         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
40065         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
40067 2014-06-25  Roland McGrath  <roland@hack.frob.com>
40069         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
40070         that was previously under [RESET_PID].
40071         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
40073 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
40075         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
40076         not undefine and redefine.
40077         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
40078         [O_CLOEXEC]: Make code unconditional.
40079         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
40080         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
40081         <kernel-features.h>.
40082         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
40083         conditional variable definition.
40084         (shm_open) [O_CLOEXEC]: Make code unconditional.
40085         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
40086         code.
40088         * configure.ac (USE_REGPARMS): Don't define here.
40089         * configure: Regenerated.
40090         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
40091         * sysdeps/i386/configure: Regenerated.
40093         * nptl/createthread.c: Don't include kernel-features.h.
40094         * nptl/pthread_cancel.c: Likewise.
40095         * nptl/pthread_condattr_setclock.c: Likewise.
40096         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
40097         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
40098         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
40099         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
40100         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
40101         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
40102         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
40103         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
40104         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
40105         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
40106         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
40107         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
40108         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
40109         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
40110         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
40111         * nscd/gai.c: Likewise.
40112         * nss/nss_db/db-open.c: Likewise.
40113         * sysdeps/generic/ldsodefs.h: Likewise.
40114         * sysdeps/sh/nptl/tls.h: Likewise.
40115         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
40116         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
40117         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
40118         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
40119         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
40120         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
40121         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
40122         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
40123         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
40124         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
40125         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
40126         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
40127         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
40128         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
40129         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
40130         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
40131         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
40132         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
40133         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
40134         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
40135         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
40136         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
40137         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
40138         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
40139         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
40140         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
40141         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
40142         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
40143         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
40144         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
40145         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
40146         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
40147         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
40148         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40149         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40150         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
40151         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40152         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
40153         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
40154         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
40155         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
40156         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
40157         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
40158         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40159         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
40160         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
40161         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
40162         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
40163         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
40164         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
40165         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
40166         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
40167         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
40168         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
40169         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
40170         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
40171         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
40172         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
40173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
40174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
40175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
40176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
40177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
40178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
40179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
40180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
40181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
40182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
40183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
40184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
40185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
40186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
40187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
40188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
40193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
40194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
40195         * sysdeps/unix/sysv/linux/pread.c: Likewise.
40196         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
40197         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
40198         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
40199         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
40200         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
40201         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
40202         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
40203         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
40204         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
40205         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
40206         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
40207         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
40208         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
40209         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
40210         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
40211         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
40212         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
40213         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
40214         * sysdeps/unix/sysv/linux/system.c: Likewise.
40215         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
40216         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
40217         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40218         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40219         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40220         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
40221         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40223         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
40224         * configure: Regenerated.
40225         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
40227         * configure.ac (base_machine): Do not set specially for particular
40228         machines here.
40229         * configure: Regenerated.
40230         * sysdeps/powerpc/preconfigure: Move machine and base_machine
40231         settings from configure.ac.
40232         * sysdeps/i386/preconfigure: New file.
40233         * sysdeps/s390/preconfigure: Likewise.
40234         * sysdeps/sh/preconfigure: Likewise.
40235         * sysdeps/sparc/preconfigure: Likewise.
40237 2014-06-25  Roland McGrath  <roland@hack.frob.com>
40239         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
40240         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
40241         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
40242         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
40243         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
40244         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
40245         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
40246         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
40247         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
40248         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
40249         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
40250         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
40251         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
40252         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
40253         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
40254         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
40255         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
40256         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
40257         * sysdeps/sparc/sparc64/Makefile: ... appended here.
40259         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
40260         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
40261         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
40262         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
40263         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
40264         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
40265         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
40266         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
40267         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
40268         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
40269         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
40270         * sysdeps/sparc/sparc32/sem_post.c: ... here.
40271         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
40272         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
40273         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
40274         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
40275         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
40276         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
40277         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
40278         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
40279         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
40280         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
40281         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
40282         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
40283         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
40284         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
40285         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
40286         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
40287         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
40288         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
40289         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
40290         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
40291         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
40292         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
40293         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
40294         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
40295         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
40296         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
40298         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
40299         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
40300         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
40301         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
40302         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40303         Moved ...
40304         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
40305         ... here.
40306         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
40307         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
40308         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
40309         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
40310         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
40311         Moved ...
40312         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
40313         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
40314         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
40315         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
40316         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
40317         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
40318         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
40319         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40320         Moved ...
40321         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
40322         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40323         Moved ...
40324         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
40325         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
40326         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
40327         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40328         Moved ...
40329         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
40330         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
40331         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
40332         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
40333         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
40334         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
40335         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
40336         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
40337         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
40338         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40339         Moved ...
40340         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
40341         ... here.
40342         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
40343         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
40344         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
40345         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
40346         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
40347         Moved ...
40348         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
40349         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
40350         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
40351         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
40352         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
40353         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
40354         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
40355         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40356         Moved ...
40357         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
40358         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40359         Moved ...
40360         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
40361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
40362         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
40363         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40364         Moved ...
40365         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
40366         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
40367         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
40368         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
40369         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
40371 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
40373         * timezone/checktab.awk: Update from tzcode 2014e.
40374         * timezone/private.h: Likewise.
40375         * timezone/tzfile.h: Likewise.
40376         * timezone/zdump.c: Likewise.
40377         * timezone/zic.c: Likewise.
40379         * sysdeps/unix/sysv/linux/kernel-features.h
40380         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
40381         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
40382         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
40383         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
40384         Remove conditional code.
40386 2014-06-25  Will Newton  <will.newton@linaro.org>
40388         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
40389         (_dl_arm_cap_flags): Add HWCAP2 values.
40390         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
40391         (_DL_HWCAP_COUNT): Increase to 37.
40392         (_DL_HWCAP_LAST): New define.
40393         (_DL_HWCAP2_LAST): New define.
40394         (_dl_procinfo): Add support for printing
40395         AT_HWCAP2 entries.
40396         (_dl_string_hwcap): Use _dl_hwcap_string.
40398 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40400         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40402 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
40404         * README: Do not mention ports directory.
40406         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
40407         Remove macro.
40408         * sysdeps/unix/sysv/linux/futimes.c: Do not include
40409         <kernel-features.h>.
40410         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
40411         conditional variable definition.
40412         (__futimes): Update comment.
40413         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
40414         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
40416         [BZ #16560]
40417         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
40418         arguments close to 0.
40419         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
40420         Likewise.
40421         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
40422         Likewise.
40423         * math/auto-libm-test-in: Add more tests of exp10.
40424         * math/auto-libm-test-out: Regenerated.
40425         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40427         * sysdeps/unix/sysv/linux/kernel-features.h
40428         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
40429         * sysdeps/unix/sysv/linux/readv.c: Do not include
40430         <kernel-features.h>.
40431         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
40432         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
40433         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
40434         unconditional.
40435         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
40436         conditional code.
40437         * sysdeps/unix/sysv/linux/writev.c: Do not include
40438         <kernel-features.h>.
40439         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
40440         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
40441         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
40442         unconditional.
40443         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
40444         conditional code.
40446 2014-06-25  Will Newton  <will.newton@linaro.org>
40448         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
40449         comment changes throughout the file.  Remove checks
40450         for HAVE_*_H definitions that are not required.
40451         (__gen_tempname): Call abort if an unknown kind value is
40452         passed.
40454 2014-06-25  Andreas Schwab  <schwab@suse.de>
40456         [BZ #17086]
40457         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
40458         scalbln, scalblnf, scalblnl in libc.
40460 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40462         [BZ #17086]
40463         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
40464         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
40465         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
40467 2014-06-24  Roland McGrath  <roland@hack.frob.com>
40469         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
40470         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
40471         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
40472         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
40473         Update #include.
40474         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
40475         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
40476         Update #include.
40477         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
40478         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
40479         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
40480         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
40481         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
40482         * sysdeps/x86/bits/pthreadtypes.h: ... here.
40483         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
40484         * sysdeps/x86/bits/semaphore.h: ... here.
40485         * sysdeps/x86/nptl/elide.h: Moved ...
40486         * sysdeps/x86/elide.h: ... here.
40487         * sysdeps/x86_64/nptl/Implies: File removed.
40488         * sysdeps/i386/nptl/Implies: File removed.
40490 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
40492         [BZ #16539]
40493         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
40494         return the argument for normal arguments with exponent below -64.
40495         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
40496         Likewise.
40497         * math/auto-libm-test-in: Add another test of expm1.
40498         * math/auto-libm-test-out: Regenerated.
40500         [BZ #16287]
40501         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
40502         calling __erfcl for arguments at least 16.
40503         * math/auto-libm-test-in: Add more tests of erf.
40504         * math/auto-libm-test-out: Regenerated.
40506         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
40507         individual architectures.
40508         * sysdeps/unix/sysv/linux/configure: Regenerated.
40509         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
40510         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
40511         * sysdeps/unix/sysv/linux/powerpc/configure.ac
40512         (ldd_rewrite_script): Define variable.
40513         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
40514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
40515         file.
40516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
40517         generated file.
40518         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
40519         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
40520         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
40521         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
40522         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
40523         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
40524         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
40525         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
40527 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40529         [BZ #17084]
40530         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
40531         Rename member __data.d to __data.__elision_data.
40533 2014-06-24  Wilco  <wdijkstr@arm.com>
40535         * NEWS: Add 16918 to fixed bug list.
40537 2014-06-24  Wilco  <wdijkstr@arm.com>
40539         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
40541 2014-06-24  Wilco  <wdijkstr@arm.com>
40543         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
40544         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
40545         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
40546         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
40547         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
40548         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
40549         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
40550         Use _FPU_MASK_RM.
40552 2014-06-24  Wilco  <wdijkstr@arm.com>
40554         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
40556 2014-06-24  Wilco  <wdijkstr@arm.com>
40558         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
40559         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
40560         * sysdeps/arm/fesetround.c (fesetround): Remove space.
40561         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
40563 2014-06-24  Wilco  <wdijkstr@arm.com>
40565         [BZ #16918]
40566         * sysdeps/arm/feupdateenv.c (feupdateenv):
40567         Rewrite to reduce FPSCR accesses and fix return value.
40569 2014-06-24  Wilco  <wdijkstr@arm.com>
40571         * sysdeps/arm/fclrexcpt.c (feclearexcept):
40572         Optimize to avoid unnecessary FPSCR writes.
40573         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
40574         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
40575         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
40576         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
40578 2014-06-24  Wilco  <wdijkstr@arm.com>
40580         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
40581         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
40582         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
40583         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
40584         Call libc_fetestexcept_vfp.
40585         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
40586         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
40587         __SOFTFP__ ifdef so that they can be built for softfp.
40589 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40591         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
40592         argument type signed char.
40594         * Makerules (check-abi): Dump diff of symlist if the test
40595         fails.
40597 2014-06-23  Roland McGrath  <roland@hack.frob.com>
40599         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
40600         using abort.
40602         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
40603         Remove unused variable ST.
40605 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
40607         [BZ #16354]
40608         [BZ #17061]
40609         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
40610         small arguments before calling __expm1.
40611         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
40612         small arguments before calling __expm1f.
40613         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
40614         small arguments before calling __expm1l.
40615         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
40616         Likewise.
40617         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
40618         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
40619         spurious underflow for some cosh tests.
40620         * math/auto-libm-test-out: Regenerated.
40621         * sysdeps/i386/fpu/libm-test-ulps: Update.
40623         [BZ #17050]
40624         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
40625         (__ieee754_y1): Set errno if return value overflows.
40626         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
40627         (__ieee754_y1f): Set errno if return value overflows.
40628         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
40629         (__ieee754_y1l): Set errno if return value overflows.
40630         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
40631         (__ieee754_y1l): Set errno if return value overflows.
40632         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
40633         * math/auto-libm-test-out: Regenerated.
40635         * math/gen-auto-libm-tests.c: Document use of
40636         ignore-zero-inf-sign.
40637         (input_flag_type): Add value flag_ignore_zero_inf_sign.
40638         (input_flags): Add ignore-zero-inf-sign.
40639         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
40640         * math/gen-libm-test.pl (generate_testfile): Handle
40641         ignore-zero-inf-sign.
40642         * math/auto-libm-test-in: Mark some cpow tests with
40643         ignore-zero-inf-sign and some with xfail-rounding.
40644         * math/auto-libm-test-out: Regenerated.
40645         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
40646         * sysdeps/i386/fpu/libm-test-ulps: Update.
40647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40649         [BZ #16315]
40650         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
40651         overflowing or underflowing operations take place with sign of
40652         result.
40653         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40654         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
40655         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
40656         (__ieee754_pow): Recompute overflowing and underflowing results in
40657         original rounding mode.
40658         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
40659         (__powl_helper): Allow negative argument X and scale negated value
40660         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
40661         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
40662         overflowing or underflowing operations take place with sign of
40663         result.
40664         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
40665         Include <math.h>.
40666         * math/auto-libm-test-in: Add more tests of pow.
40667         * math/auto-libm-test-out: Regenerated.
40668         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
40669         (pow_tonearest_test_data): Remove.
40670         (pow_test_tonearest): Likewise.
40671         (pow_towardzero_test_data): Likewise.
40672         (pow_test_towardzero): Likewise.
40673         (pow_downward_test_data): Likewise.
40674         (pow_test_downward): Likewise.
40675         (pow_upward_test_data): Likewise.
40676         (pow_test_upward): Likewise.
40677         (main): Don't call removed functions.
40678         * sysdeps/i386/fpu/libm-test-ulps: Update.
40679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40681 2014-06-23  Roland McGrath  <roland@hack.frob.com>
40683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
40684         Moved ...
40685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
40686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40687         Moved ...
40688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
40689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40690         Moved ...
40691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
40692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40693         Moved ...
40694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
40695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40696         File removed.
40697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40698         File removed.
40699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
40700         File removed.
40701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
40702         File removed.
40703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
40704         File removed.
40705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
40706         File removed.
40707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
40708         File removed.
40709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40710         File removed.
40711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
40712         File removed.
40713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40714         File removed.
40715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
40716         File removed.
40717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
40718         File removed.
40719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
40720         Moved ...
40721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
40722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
40723         Moved ...
40724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
40725         ... here.
40726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
40727         Moved ...
40728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
40729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
40730         Moved ...
40731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
40732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
40733         Moved ...
40734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
40735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
40736         Moved ...
40737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
40738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
40739         Moved ...
40740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
40741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
40742         Moved ...
40743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
40744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
40745         Moved ...
40746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
40747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
40748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
40749         ... here.
40750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
40751         Moved ...
40752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
40753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
40754         Moved ...
40755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
40756         ... here.
40757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
40758         Moved ...
40759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
40760         ... here.
40761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40762         Moved ...
40763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
40764         ... here.
40765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40766         Moved ...
40767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
40768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
40769         Moved ...
40770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
40771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
40772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
40773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
40774         Moved ...
40775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
40776         ... here.
40777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40778         Moved ...
40779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
40780         ... here.
40781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
40782         Moved ...
40783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
40784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40785         Moved ...
40786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
40787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
40788         Moved ...
40789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
40790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40791         Moved ...
40792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
40793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
40794         Moved ...
40795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
40796         ... here.
40797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40798         Moved ...
40799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
40800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
40801         Moved ...
40802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
40803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40804         Moved ...
40805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
40806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
40807         Moved ...
40808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
40809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
40810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
40811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
40812         Moved ...
40813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
40814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40815         Moved ...
40816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
40817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
40818         Moved ...
40819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
40820         ... here.
40821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40822         Moved ...
40823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
40824         ... here.
40825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
40826         Moved ...
40827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
40828         ... here.
40829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40830         Moved ...
40831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
40832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
40833         Moved ...
40834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
40835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40836         Moved ...
40837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
40838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
40839         Moved ...
40840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
40841         ... here.
40842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40843         Moved ...
40844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
40845         ... here.
40846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
40847         Moved ...
40848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
40849         ... here.
40850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40851         Moved ...
40852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
40853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40854         Moved ...
40855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
40857 2014-06-23  Will Newton  <will.newton@linaro.org>
40858             Wilco  <wdijkstr@arm.com>
40860         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
40861         implementation.  Include get-rounding-mode.h.
40862         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
40863         [!libc_feholdsetround_noex_ctx]: Define
40864         libc_feholdsetround_noex_ctx.
40865         [!libc_feholdsetround_noexf_ctx]: Define
40866         libc_feholdsetround_noexf_ctx.
40867         [!libc_feholdsetround_noexl_ctx]: Define
40868         libc_feholdsetround_noexl_ctx.
40869         (libc_feholdsetround_ctx): New function.
40870         (libc_feresetround_ctx): New function.
40871         (libc_feholdsetround_noex_ctx): New function.
40872         (libc_feresetround_noex_ctx): New function.
40874 2014-06-23  Roland McGrath  <roland@hack.frob.com>
40876         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
40877         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
40878         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
40879         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
40880         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
40881         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
40883         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
40884         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
40885         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
40886         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
40887         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
40888         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
40889         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
40890         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
40891         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
40892         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
40893         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
40894         Moved ...
40895         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
40896         ... here.
40897         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
40898         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
40899         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
40900         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
40901         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
40902         Moved ...
40903         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
40904         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
40905         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
40906         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
40907         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
40908         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
40909         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
40910         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
40911         Moved ...
40912         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
40913         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
40914         Moved ...
40915         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
40916         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
40917         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
40918         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
40919         Moved ...
40920         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
40921         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
40922         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
40923         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
40924         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
40925         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
40926         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
40927         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
40928         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
40929         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
40930         Moved ...
40931         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
40932         ... here.
40933         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
40934         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
40935         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
40936         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
40937         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
40938         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
40939         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
40940         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
40941         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
40942         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
40943         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
40944         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
40945         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
40946         Moved ...
40947         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
40948         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
40949         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
40950         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
40951         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
40952         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
40953         Moved ...
40954         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
40955         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
40956         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
40957         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
40958         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
40960         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
40961         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
40962         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
40963         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
40964         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
40965         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
40966         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
40967         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
40968         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
40969         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
40970         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
40971         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
40972         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
40973         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
40974         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
40975         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
40976         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
40977         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
40978         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
40979         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
40980         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
40981         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
40982         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
40983         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
40984         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
40985         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
40986         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
40987         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
40989 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
40991         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
40992         (FALLOC_FL_COLLAPSE_RANGE): New macro.
40993         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
40994         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
40995         (IPV6_PMTUDISC_INTERFACE): Likewise.
40996         (IPV6_PMTUDISC_OMIT): Likewise.
40998 2014-06-23  Andreas Schwab  <schwab@suse.de>
41000         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
41001         Remove unused errout label.
41003 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41005         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
41006         macro: hardware supports Vector Crypto instructions.
41008 2014-06-23  Will Newton  <will.newton@linaro.org>
41010         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
41011         rather than __builtin_expect.
41013         * elf/dl-lookup.c (undefined_msg): Remove variable.
41014         (_dl_lookup_symbol_x): Replace undefined_msg with string
41015         literal.
41017         * elf/dl-lookup.c (do_lookup_unique): New function.
41018         (do_lookup_x): Move STB_GNU_UNIQUE handling code
41019         to a separate function.
41021 2014-06-23  Andreas Schwab  <schwab@suse.de>
41023         [BZ #17079]
41024         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
41025         before reading the next line.
41027 2014-06-23  Will Newton  <will.newton@linaro.org>
41029         * test-skeleton.c (signal_handler): Use printf and %m
41030         rather than perror.  Use printf rather than fprintf to
41031         stderr.  Use puts rather than fputs to stderr.
41032         (main): Likewise.
41034 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
41036         * nscd/nscd.c (thread_info_t): Remove typedef.
41037         (thread_info): Remove variable.
41039 2014-06-21  Allan McRae  <allan@archlinux.org>
41041         * NEWS: Mention CVE-2014-4043.
41043 2014-06-20  Roland McGrath  <roland@hack.frob.com>
41045         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
41046         * nptl/smp.h: ... here.
41048         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
41050         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
41051         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
41052         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
41053         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
41055         * nptl/allocatestack.c: Include <stack-aliasing.h>.
41056         * nptl/stack-aliasing.h: New file.
41057         * sysdeps/i386/i686/stack-aliasing.h: New file.
41058         * sysdeps/i386/i686/nptl/Makefile: File removed.
41059         * sysdeps/x86_64/stack-aliasing.h: New file.
41060         * sysdeps/x86_64/nptl/Makefile
41061         (CFLAGS-pthread_create.c): Variable removed.
41063         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
41064         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
41065         old file.
41066         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
41067         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
41068         old file.
41070 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
41072         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41073         (__ASSUME_SIGFRAME_V2): Remove macro.
41074         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
41075         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
41076         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
41077         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
41078         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
41079         Declare as function.  Remove conditional macro definitions.
41080         (__default_rt_sa_restorer): Likewise.
41081         (__default_sa_restorer_v1): Remove declaration.
41082         (__default_sa_restorer_v2): Likewise.
41083         (__default_rt_sa_restorer_v1): Likewise.
41084         (__default_rt_sa_restorer_v2): Likewise.
41085         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
41086         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
41087         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
41089 2014-06-20  Roland McGrath  <roland@hack.frob.com>
41091         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
41092         (libpthread-routines): Add sysdep.
41093         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
41094         * sysdeps/unix/sysv/linux/sparc/Versions
41095         (libpthread: GLIBC_2.3.3): New version set.
41096         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
41097         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
41098         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
41099         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
41100         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
41101         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
41102         Moved ...
41103         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
41104         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
41105         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
41106         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
41107         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
41108         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
41109         * sysdeps/sparc/nptl/sem_init.c: ... here.
41110         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
41111         * sysdeps/sparc/nptl/sem_post.c: ... here.
41112         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
41113         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
41114         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
41115         * sysdeps/sparc/nptl/sem_wait.c: ... here.
41116         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
41117         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
41118         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
41119         (libpthread-routines): Add cpu_relax.
41120         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
41121         File removed.
41122         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
41123         (librt: GLIBC_2.3.3): New version set.
41124         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
41125         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
41126         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
41127         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
41128         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
41129         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
41130         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
41131         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
41132         Moved ...
41133         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
41134         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
41135         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
41136         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
41137         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
41138         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
41139         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
41140         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
41141         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
41142         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
41143         Moved ...
41144         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
41145         Update #include.
41146         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
41147         Moved ...
41148         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
41149         Update #include.
41150         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
41151         Moved ...
41152         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
41153         Update #include.
41154         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
41155         Moved ...
41156         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
41157         Update #include.
41158         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
41159         Moved ...
41160         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
41161         Update #include.
41162         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
41163         Moved ...
41164         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
41165         Update #include.
41166         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
41167         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
41168         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
41169         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
41170         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
41171         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
41172         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
41173         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
41174         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
41175         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
41176         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
41177         Moved ...
41178         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
41179         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
41180         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
41181         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
41182         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
41184 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
41186         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
41187         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
41188         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
41189         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
41190         * nscd/nscd.c: Likewise.
41191         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
41192         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
41193         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
41194         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
41196         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
41197         <kernel-features.h>.
41198         (init_mq_netlink): Remove conditional have_sock_cloexec
41199         definitions.  Remove code conditional on have_sock_cloexec < 0.
41200         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
41201         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
41202         * sysdeps/unix/sysv/linux/opensock.c: Do not include
41203         <kernel-features.h>.
41204         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
41205         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
41207 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
41209         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41210         Add tests for memset_chk and memset.
41212         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
41213         with AVX2_Usable.
41215 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
41217         [BZ #16046]
41218         * elf/tst-dl-iter-static.c: New file.
41219         * elf/Makefile (tests-static): Add tst-dl-iter-static.
41221         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
41222         error.
41224 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
41226         * sysdeps/unix/sysv/linux/kernel-features.h
41227         (__ASSUME_F_GETOWN_EX): Remove macro.
41228         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
41229         <kernel-features.h>.
41230         (miss_F_GETOWN_EX): Remove variable or macro.
41231         (do_fcntl): Do not check miss_F_GETOWN_EX.
41232         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
41234         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
41235         Remove macro.
41236         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
41237         [!__ASSUME_AT_RANDOM]: Remove conditional code.
41238         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
41240         * sysdeps/unix/sysv/linux/kernel-features.h
41241         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
41242         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
41243         [ADJ_OFFSET_SS_READ]: Make code unconditional.
41244         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
41246 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
41248         [BZ #17075]
41249         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
41250         Fix calculation of the symbol's value.
41251         * sysdeps/arm/tst-armtlsdescloc.c: New file.
41252         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
41253         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
41254         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
41255         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
41256         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
41257         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
41258         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
41259         (modules-names): Add `tst-armtlsdescmod',
41260         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
41261         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
41262         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
41263         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
41264         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
41265         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
41266         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
41267         ($(objpfx)tst-armtlsdescloc): New dependency.
41268         ($(objpfx)tst-armtlsdescextnow): Likewise.
41269         ($(objpfx)tst-armtlsdescextlazy): Likewise.
41270         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
41271         TLS scheme support.
41272         * sysdeps/arm/configure: Regenerate.
41274 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
41276         * include/fcntl.h (__atfct_seterrno): Remove prototype.
41277         (__atfct_seterrno_2): Likewise.
41278         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
41279         <kernel-features.h>.
41280         (__ASSUME_ATFCTS): Do not undefine and redefine.
41281         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
41282         (__have_atfcts): Remove conditional definition.
41283         (__fxstatat([__NR_fstatat64]: Make code unconditional.
41284         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
41285         unreachable if [__ASSUME_ATFCTS].
41286         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
41287         not undefine and redefine.
41288         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
41289         <kernel-features.h>.
41290         (faccessat) [__NR_faccessat]: Make code unconditional.
41291         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
41292         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
41293         <kernel-features.h>.
41294         (fchmodat) [__NR_fchmodat]: Make code unconditional.
41295         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
41296         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
41297         <kernel-features.h>.
41298         (fchownat) [__NR_fchownat]: Make code unconditional.
41299         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
41300         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
41301         <kernel-features.h>.
41302         (futimesat) [__NR_futimesat]: Make code unconditional.
41303         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
41304         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
41305         <kernel-features.h>.
41306         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
41307         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
41308         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
41309         <kernel-features.h>.
41310         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
41311         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
41312         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
41313         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
41314         <kernel-features.h>.
41315         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
41316         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
41317         * sysdeps/unix/sysv/linux/linkat.c: Do not include
41318         <kernel-features.h>.
41319         (linkat) [__NR_linkat]: Make code unconditional.
41320         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
41321         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
41322         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
41323         <kernel-features.h>.
41324         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
41325         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
41326         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
41327         <kernel-features.h>.
41328         (mkdirat) [__NR_mkdirat]: Make code unconditional.
41329         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
41330         * sysdeps/unix/sysv/linux/openat.c: Do not include
41331         <kernel-features.h>.
41332         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
41333         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
41334         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
41335         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
41336         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
41337         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
41338         <kernel-features.h>.
41339         (readlinkat) [__NR_readlinkat]: Make code unconditional.
41340         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
41341         result of INLINE_SYSCALL directly, not via int variable.
41342         * sysdeps/unix/sysv/linux/renameat.c: Do not include
41343         <kernel-features.h>.
41344         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
41345         (renameat) [__NR_renameat]: Make code unconditional.
41346         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
41347         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
41348         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
41349         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
41350         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
41351         (__ASSUME_ATFCTS): Do not undefine and redefine.
41352         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
41353         <kernel-features.h>.
41354         (symlinkat) [__NR_symlinkat]: Make code unconditional.
41355         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
41356         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
41357         <kernel-features.h>.
41358         (unlinkat) [__NR_unlinkat]: Make code unconditional.
41359         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
41360         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
41361         (__ASSUME_ATFCTS): Do not undefine and redefine.
41362         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
41363         <kernel-features.h>.
41364         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
41365         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
41366         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
41367         <kernel-features.h>.
41368         (__xmknodat) [__NR_mknodat]: Make code unconditional.
41369         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
41371 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
41373         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
41375 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
41377         [BZ #17069]
41378         * posix/regcomp.c (parse_reg_exp): Deallocate partially
41379         constructed tree before returning error.
41380         * posix/bug-regexp36.c: Expand test case.
41382 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
41384         [BZ #6803]
41385         * math/libm-test.inc (scalbln_test_date):
41386         Add errno expectations.
41387         * math/w_scalblnf.c: New File.
41388         Add wrapper which checks for setting errno to ERANGE.
41389         Add weak_alias for corresponding scalbln function.
41390         * math/w_scalbln.c: Likewise.
41391         * math/w_scalblnl.c: Likewise.
41392         * math/Makefile (libm-calls): Add w_scalbln.
41393         * sysdeps/ieee754/flt-32/s_scalblnf.c:
41394         Remove weak_alias for corresponding scalbln function.
41395         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41396         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41397         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41398         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41399         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
41400         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
41401         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
41402         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
41403         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
41404         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
41405         Remove long_double_symbol for scalblnl function in libm, libc.
41406         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
41407         Add wrapper which checks for setting errno to ERANGE.
41408         Add long_double_symbol for scalblnl function in libm, libc.
41409         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
41410         Remove long_double_symbol for scalblnl in libm.
41411         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
41412         Add wrapper which checks for setting errno to ERANGE.
41413         Add long_double_symbol for scalblnl function in libm.
41414         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
41415         Do not use wrapper because of own implementation.
41417 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
41419         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
41420         3 bytes for __pad1 for x32.
41421         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
41423 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
41424             H.J. Lu  <hongjiu.lu@intel.com>
41426         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
41427         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
41428         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41429         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41430         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
41432 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
41434         [BZ #17069]
41435         * posix/regcomp.c (parse_expression): Deallocate partially
41436         constructed tree before returning error.
41437         * posix/Makefile.c (tests): Add bug-regex36.
41438         (generated): Add bug-regex36.mtrace.
41439         (tests-special): Add $(objpfx)bug-regex36-mem.out
41440         (bug-regex36-ENV): New variable.
41441         ($(objpfx)bug-regex36-mem.out): New rule.
41442         * posix/bug-regex36.c: New file.
41444 2014-06-19  Will Newton  <will.newton@linaro.org>
41446         * malloc/malloc.c (systrim): If extra is zero then return
41447         early.
41449 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41451         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
41453 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
41455         * sysdeps/aarch64/strchr.S: New file.
41457 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
41459         [BZ #17022]
41460         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
41461         from arguments -2 or below.
41462         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
41463         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
41465 2014-06-18  Andreas Schwab  <schwab@suse.de>
41467         [BZ #17062]
41468         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
41469         of a bracket expr not to run off the end of the string.
41470         * posix/Makefile (tests): Add tst-fnmatch3.
41471         * posix/tst-fnmatch3.c: New file.
41473 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
41475         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
41476         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
41477         [$(cross-compiling) = no]: Likewise.
41478         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
41479         [$(cross-compiling) = no]: Likewise.
41481 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41483         [BZ #17031]
41484         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
41485         double, adjusted for any remainder from the high double.
41486         * math/libm-test.inc (nearbyint): Add tests.
41487         (rint): Likewise.
41489 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41491         * nptl/sysdeps/powerpc/Makefile: Moved ...
41492         * sysdeps/powerpc/nptl/Makefile: ... here.
41493         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
41494         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
41495         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
41496         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
41497         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
41498         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
41499         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
41500         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
41501         * nptl/sysdeps/powerpc/tls.h: Moved ...
41502         * sysdeps/powerpc/nptl/tls.h: ... here.
41504 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
41506         [BZ #16681]
41507         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
41508         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
41509         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
41510         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
41511         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
41512         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
41513         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
41514         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
41515         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
41517 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
41519         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
41521 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
41523         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
41524         defined operator.
41526         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
41527         $TIMEOUTFACTOR.
41529 2014-06-16  Florian Weimer  <fweimer@redhat.com>
41531         [BZ #17058]
41532         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
41533         non-executed part of the test.
41535 2014-06-16  Andreas Schwab  <schwab@suse.de>
41537         * string/bits/string2.h (strdup, strndup): Update feature guard.
41539 2014-06-14  David S. Miller  <davem@davemloft.net>
41541         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41543 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
41545         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
41546         that was previously under [RESET_PID].
41547         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
41549         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
41550         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
41551         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
41552         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41553         (__libc_vfork): New strong alias.
41554         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
41556 2014-06-14 Andi Kleen  <ak@linux.intel.com>
41558         * sysdeps/generic/elide.h: New file.
41560 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
41562         * Makefile (installed-headers): Adjust path of pthread.h header.
41564 2014-06-13  Roland McGrath  <roland@hack.frob.com>
41566         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
41567         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
41568         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
41569         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
41571         * nptl/sysdeps/s390/Makefile: Moved ...
41572         * sysdeps/s390/nptl/Makefile: ... here.
41573         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
41574         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
41575         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
41576         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
41577         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
41578         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
41579         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
41580         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
41581         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
41582         * sysdeps/s390/nptl/pthreaddef.h: ... here.
41583         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
41584         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
41585         * nptl/sysdeps/s390/tls.h: Moved ...
41586         * sysdeps/s390/nptl/tls.h: ... here.
41588         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
41589         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
41591 2014-06-13  David S. Miller  <davem@davemloft.net>
41593         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
41594         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
41595         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
41596         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
41597         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
41598         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
41599         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
41600         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
41601         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
41602         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
41603         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
41604         Remove RESET_PID cpp guards.
41605         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
41606         Remove RESET_PID cpp guards.
41607         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
41609 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
41611         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
41612         __sp to uintptr_t.
41614 2014-06-13  Andi Kleen  <ak@linux.intel.com>
41616         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
41617         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
41618         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
41619         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
41620         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
41621         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
41622         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
41623         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
41624         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
41625         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
41626         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
41627         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
41628         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
41629         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
41630         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
41631         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
41632         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
41633         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
41634         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
41635         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
41637         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
41638         (pthread_rwlock_rdlock): Add elision.
41639         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
41640         (pthread_rwlock_wrlock): Add elision.
41641         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
41642         (pthread_rwlock_trywrlock): Add elision.
41643         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
41644         (pthread_rwlock_tryrdlock): Add elision.
41645         * nptl/pthread_rwlock_unlock.c: Include elide.h.
41646         (pthread_rwlock_tryrdlock): Add elision unlock.
41647         * nptl/sysdeps/pthread/pthread.h:
41648         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
41649         (PTHREAD_RWLOCK_INITIALIZER,
41650         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
41651         Handle new elision field.
41652         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
41653         * sysdeps/arm/nptl/bits/pthreadtypes.h
41654         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41655         * sysdeps/sh/nptl/bits/pthreadtypes.h
41656         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41657         * sysdeps/tile/nptl/bits/pthreadtypes.h
41658         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41659         * sysdeps/a/nptl/bits/pthreadtypes.h
41660         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41661         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
41662         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41663         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
41664         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41665         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
41666         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41667         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
41668         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41669         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
41670         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41671         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
41672         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41673         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
41674         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41675         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
41676         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41677         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
41678         (elision_init): Set try_xbegin to zero when no RTM.
41679         * sysdeps/x86/nptl/bits/pthreadtypes.h
41680         (pthread_rwlock_t): Change __pad1 to __rwelision.
41681         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41683 2014-06-13  Andi Kleen  <ak@linux.intel.com>
41685         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
41686         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
41687         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
41688         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
41690 2014-06-13  Meador Inge  <meadori@codesourcery.com>
41692         [BZ #16996]
41693         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
41694         that the cached result has been set before returning it.
41696 2014-06-12  Roland McGrath  <roland@hack.frob.com>
41698         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
41699         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
41700         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
41701         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
41702         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
41703         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
41705         * nptl/sysdeps/sparc/Makefile: Moved ...
41706         * sysdeps/sparc/nptl/Makefile: ... here.
41707         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
41708         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
41709         * nptl/sysdeps/sparc/tls.h: Moved ...
41710         * sysdeps/sparc/nptl/tls.h: ... here.
41711         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
41712         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
41713         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
41714         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
41715         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
41716         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
41717         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
41718         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
41719         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
41720         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
41721         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
41722         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
41723         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
41724         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
41725         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
41726         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
41727         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
41728         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
41729         Update #include.
41730         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
41731         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
41732         Update #include.
41733         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
41734         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
41735         Update #include.
41736         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
41737         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
41738         Update #include.
41740         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
41742         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
41743         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
41745         * sysdeps/pthread/posix-timer.h: Include <list.h>.
41746         (struct list_links): Type removed.
41747         (struct thread_node, struct timer_node): Replace struct list_links
41748         with struct list_head.
41749         (list_unlink_ip): Likewise.
41750         * sysdeps/pthread/timer_routines.c
41751         (timer_free_list, thread_free_list, thread_active_list): Likewise.
41752         (list_append, list_insbefore): Likewise.
41753         (list_init): Function removed.
41754         (thread_init, init_module): Use INIT_LIST_HEAD instead.
41755         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
41756         * sysdeps/pthread/Makefile: ... here, new file.
41758         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
41759         * sysdeps/nptl/Implies: ... here.
41760         * sysdeps/unix/sysv/linux/Implies: Add nptl.
41761         * nptl/sysdeps/pthread/list.h: Moved ...
41762         * include/list.h: ... here.
41763         * nptl/sysdeps/pthread/createthread.c: Moved ...
41764         * nptl/createthread.c: ... here.
41765         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
41766         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
41767         * nptl/pt-longjmp.c: ... here.
41768         * nptl/sysdeps/pthread/Makefile: Moved ...
41769         * sysdeps/nptl/Makefile: ... here.
41770         * nptl/sysdeps/pthread/Subdirs: Moved ...
41771         * sysdeps/nptl/Subdirs: ... here.
41772         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
41773         * sysdeps/nptl/aio_misc.h: ... here.
41774         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
41775         * sysdeps/nptl/bits/libc-lock.h: ... here.
41776         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
41777         * sysdeps/nptl/bits/libc-lockP.h: ... here.
41778         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
41779         * sysdeps/nptl/bits/stdio-lock.h: ... here.
41780         * nptl/sysdeps/pthread/configure: Moved ...
41781         * sysdeps/nptl/configure: ... here.
41782         * nptl/sysdeps/pthread/configure.ac: Moved ...
41783         * sysdeps/nptl/configure.ac: ... here.
41784         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
41785         * sysdeps/nptl/gai_misc.h: ... here.
41786         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
41787         * sysdeps/nptl/librt-cancellation.c: ... here.
41788         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
41789         * sysdeps/nptl/malloc-machine.h: ... here.
41790         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
41791         * sysdeps/nptl/pthread-functions.h: ... here.
41792         * nptl/sysdeps/pthread/pthread.h: Moved ...
41793         * sysdeps/nptl/pthread.h: ... here.
41794         * nptl/sysdeps/pthread/setxid.h: Moved ...
41795         * sysdeps/nptl/setxid.h: ... here.
41796         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
41797         * sysdeps/nptl/sigfillset.c: ... here.
41798         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
41799         * sysdeps/nptl/tcb-offsets.h: ... here.
41800         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
41801         * sysdeps/nptl/tst-mqueue8x.c: ... here.
41802         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
41803         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
41804         * nptl/sysdeps/pthread/allocalim.h: Moved ...
41805         * sysdeps/pthread/allocalim.h: ... here.
41806         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
41807         * sysdeps/pthread/bits/sigthread.h: ... here.
41808         * nptl/sysdeps/pthread/flockfile.c: Moved ...
41809         * sysdeps/pthread/flockfile.c: ... here.
41810         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
41811         * sysdeps/pthread/ftrylockfile.c: ... here.
41812         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
41813         * sysdeps/pthread/funlockfile.c: ... here.
41814         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
41815         * sysdeps/pthread/posix-timer.h: ... here.
41816         * nptl/sysdeps/pthread/timer_create.c: Moved ...
41817         * sysdeps/pthread/timer_create.c: ... here.
41818         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
41819         * sysdeps/pthread/timer_delete.c: ... here.
41820         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
41821         * sysdeps/pthread/timer_getoverr.c: ... here.
41822         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
41823         * sysdeps/pthread/timer_gettime.c: ... here.
41824         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
41825         * sysdeps/pthread/timer_routines.c: ... here.
41826         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
41827         * sysdeps/pthread/timer_settime.c: ... here.
41828         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
41829         * sysdeps/pthread/tst-timer.c: ... here.
41830         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
41831         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
41833         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
41834         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
41836         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
41837         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
41838         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
41839         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
41840         Update #include target.
41841         * nptl/sysdeps/i386/i686/Makefile: Moved ...
41842         * sysdeps/i386/i686/nptl/Makefile: ... here.
41843         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
41844         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
41845         Update #include target.
41846         * nptl/sysdeps/i386/i686/tls.h: Moved ...
41847         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
41848         * nptl/sysdeps/i386/Makefile: Moved ...
41849         * sysdeps/i386/nptl/Makefile: ... here.
41850         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
41851         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
41852         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
41853         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
41854         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
41855         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
41856         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
41857         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
41858         * sysdeps/i386/nptl/pthreaddef.h: ... here.
41859         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
41860         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
41861         * nptl/sysdeps/i386/tls.h: Moved ...
41862         * sysdeps/i386/nptl/tls.h: ... here.
41864         * sysdeps/sh/Makefile [$(subdir) = csu]
41865         (gen-as-const-headers): Add tcb-offsets.sym.
41866         * nptl/sysdeps/sh/Makefile: File removed.
41867         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
41868         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
41869         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
41870         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
41871         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
41872         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
41873         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
41874         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
41875         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
41876         * sysdeps/sh/nptl/pthreaddef.h: ... here.
41877         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
41878         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
41879         * nptl/sysdeps/sh/tls.h: Moved ...
41880         * sysdeps/sh/nptl/tls.h: ... here.
41881         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
41882         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
41883         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
41884         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
41885         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
41886         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
41887         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
41888         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
41889         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
41890         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
41891         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
41892         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
41893         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
41894         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
41895         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
41896         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
41897         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
41898         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
41899         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
41900         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
41901         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
41902         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
41903         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
41904         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
41905         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
41906         Moved ...
41907         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
41908         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
41909         Moved ...
41910         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
41911         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
41912         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
41913         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
41914         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
41915         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
41916         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
41917         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
41918         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
41919         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
41920         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
41921         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
41922         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
41923         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
41924         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
41925         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
41926         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
41927         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
41928         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
41930 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
41932         * posix/spawn_faction_addopen.c: Include string.h.
41934 2014-06-11  Roland McGrath  <roland@hack.frob.com>
41936         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
41937         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
41938         * nptl/sysdeps/x86_64/Makefile: Moved ...
41939         * sysdeps/x86_64/nptl/Makefile: ... here.
41940         * nptl/sysdeps/x86_64/configure: Moved ...
41941         * sysdeps/x86_64/nptl/configure: ... here.
41942         * nptl/sysdeps/x86_64/configure.ac: Moved ...
41943         * sysdeps/x86_64/nptl/configure.ac: ... here.
41944         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
41945         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
41946         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
41947         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
41948         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
41949         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
41950         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
41951         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
41952         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
41953         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
41954         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
41955         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
41956         * nptl/sysdeps/x86_64/tls.h: Moved ...
41957         * sysdeps/x86_64/nptl/tls.h: ... here.
41958         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
41959         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
41960         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
41961         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
41963         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
41965 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41967         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41969 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
41971         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
41972         type.
41973         [POSIX] (off_t): Likewise.
41974         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
41975         [POSIX] (S_ISBLK): Require macro.
41976         [POSIX] (S_ISCHR): Likewise.
41977         [POSIX] (S_ISDIR): Likewise.
41978         [POSIX] (S_ISFIFO): Likewise.
41979         [POSIX] (S_ISREG): Likewise.
41980         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
41981         optional-macro.
41982         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
41983         type.
41984         [POSIX] (time_t): Likewise.
41985         [POSIX] (timer_t): Likewise.
41987 2014-06-11  Florian Weimer  <fweimer@redhat.com>
41989         [BZ #17048]
41990         * posix/spawn_int.h (struct __spawn_action): Make the path string
41991         non-const to support deallocation.
41992         * posix/spawn_faction_addopen.c
41993         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
41994         * posix/spawn_faction_destroy.c
41995         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
41996         path in all spawn_do_open actions.
41997         * posix/tst-spawn.c (do_test): Exercise the copy operation in
41998         posix_spawn_file_actions_addopen.
42000 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
42002         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
42003         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
42004         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
42005         conditional code always true.
42006         (__libc_vfork): New alias.
42008 2014-06-11  Roland McGrath  <roland@hack.frob.com>
42010         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42011         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
42013         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
42015         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42016         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
42018         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
42019         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
42021         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42022         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
42024 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42026         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
42027         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
42028         multiarch strcmp for PPC64.
42029         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
42030         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
42031         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
42032         multiarch optimizations.
42033         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42034         (__libc_ifunc_impl_list): Likewise.
42036 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42038         * benchtests/scripts/validate_benchout.py: New script.
42039         * benchtests/Makefile (bench-func): Call it.
42040         * benchtests/scripts/benchout.schema.json: New file.
42042 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
42044         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
42045         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
42046         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
42047         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
42048         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
42049         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
42050         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
42051         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
42052         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
42053         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
42054         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
42055         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
42056         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
42057         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
42058         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
42059         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
42060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
42061         Moved ...
42062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
42063         ... here.
42064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
42065         Moved ...
42066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
42067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
42068         Moved ...
42069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
42070         ... here.
42071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
42072         Moved ...
42073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
42074         ... here.
42075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
42076         Moved ...
42077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
42078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
42079         Moved ...
42080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
42081         ... here.
42082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
42083         Moved ...
42084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
42085         ... here.
42086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
42087         Moved ...
42088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
42089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
42090         Moved ...
42091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
42092         ... here.
42093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
42094         Moved ...
42095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
42096         ... here.
42097         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
42098         Moved ...
42099         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
42100         ... here.
42101         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
42102         Moved ...
42103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
42104         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
42105         Moved ...
42106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
42107         ... here.
42108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
42109         Moved ...
42110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
42111         ... here.
42112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
42113         Moved ...
42114         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
42115         ... here.
42116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
42117         Moved ...
42118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
42119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
42120         Moved ...
42121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
42122         ... here.
42123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
42124         Moved ...
42125         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
42126         ... here.
42127         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
42128         Moved ...
42129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
42130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
42131         Moved ...
42132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
42133         ... here.
42134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
42135         Moved ...
42136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
42137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
42138         Moved ...
42139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
42140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
42141         Moved ...
42142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
42143         ... here.
42144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
42145         Moved ...
42146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
42147         ... here.
42148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
42149         Moved ...
42150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
42151         ... here.
42152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
42153         Moved ...
42154         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
42155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
42156         Moved ...
42157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
42158         ... here.
42159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
42160         Moved ...
42161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
42162         ... here.
42163         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
42164         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
42165         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
42166         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
42167         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
42168         Moved ...
42169         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
42170         ... here.
42171         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
42172         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
42173         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
42174         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
42175         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
42176         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
42177         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
42178         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
42179         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
42180         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
42181         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
42182         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
42183         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
42184         Moved ...
42185         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
42186         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
42187         Moved ...
42188         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
42189         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
42190         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
42191         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
42192         Moved ...
42193         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
42194         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
42195         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
42196         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
42197         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
42198         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
42199         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
42201 2014-06-10  Wilco  <wdijkstr@arm.com>
42203         * math/test-fenv-return.c: New file.
42204         * math/Makefile: Add new test test-fenv-return.
42206 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
42208         [BZ #17042]
42209         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
42210         when x - 1 is zero.
42211         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
42212         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
42213         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
42214         0.0L for an argument of 1.0L.
42215         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
42216         Likewise.
42217         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
42218         value when x - 1 is zero.
42219         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
42220         * sysdeps/i386/fpu/libm-test-ulps: Update.
42221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42223 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
42225         [BZ #15119]
42226         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
42228 2014-06-09  Roland McGrath  <roland@hack.frob.com>
42230         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
42231         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
42233 2014-06-09  Roland McGrath  <roland@hack.frob.com>
42235         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42236         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
42238         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42239         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
42241         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42242         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
42244         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42245         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
42247         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
42248         if not already defined.
42249         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
42250         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
42251         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
42252         (TLS_INIT_TP): Use it.
42253         (TLS_DEFINE_INIT_TP): New macro.
42254         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
42256 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
42258         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
42259         constant.
42260         [POSIX] (IXANY): Likewise.
42261         [POSIX] (OLCUC): Likewise.
42262         [POSIX || POSIX2008] (CBAUD): Do not allow.
42263         [POSIX || POSIX2008] (DEFECHO): Likewise.
42264         [POSIX || POSIX2008] (ECHOCTL): Likewise.
42265         [POSIX || POSIX2008] (ECHOKE): Likewise.
42266         [POSIX || POSIX2008] (ECHOPRT): Likewise.
42267         [POSIX || POSIX2008] (EXTA): Likewise.
42268         [POSIX || POSIX2008] (EXTB): Likewise.
42269         [POSIX || POSIX2008] (FLUSHO): Likewise.
42270         [POSIX || POSIX2008] (LOBLK): Likewise.
42271         [POSIX || POSIX2008] (PENDIN): Likewise.
42272         [POSIX || POSIX2008] (SWTCH): Likewise.
42273         [POSIX || POSIX2008] (VDISCARD): Likewise.
42274         [POSIX || POSIX2008] (VDSUSP): Likewise.
42275         [POSIX || POSIX2008] (VLNEXT): Likewise.
42276         [POSIX || POSIX2008] (VREPRINT): Likewise.
42277         [POSIX || POSIX2008] (VSTATUS): Likewise.
42278         [POSIX || POSIX2008] (VWERASE): Likewise.
42279         (B*): Change to B[0123456789]*.
42280         * conform/data/time.h-data [POSIX || UNIX98]
42281         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
42282         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
42283         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
42284         [POSIX] (tm_*): Do not allow.
42286 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
42288         * Makefile (install): Don't set LANGUAGE.
42289         * Makefile.in (install): Likewise.
42290         * assert/Makefile (test-assert-ENV): Remove variable.
42291         (test-assert-perr-ENV): Likewise.
42292         * elf/Makefile (neededtest4-ENV): Likewise.
42293         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
42294         [$(cross-compiling) = no]: Don't set LANGUAGE.
42295         * io/ftwtest-sh (LANG): Remove variable.
42296         * libio/Makefile (tst-widetext-ENV): Likewise.
42297         * manual/install.texi (Running make install): Don't refer to
42298         environment settings for make install.
42299         * INSTALL: Regenerated.
42300         * nptl/tst-tls6.sh: Don't set LANG.
42301         * posix/globtest.sh (LANG): Remove variable.
42302         * string/Makefile (tester-ENV): Likewise.
42303         (inl-tester-ENV): Likewise.
42304         (noinl-tester-ENV): Likewise.
42305         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
42306         [$(cross-compiling) = no]: Don't set LANGUAGE.
42307         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
42308         without explicit environment settings.
42310 2014-06-06  Roland McGrath  <roland@hack.frob.com>
42312         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
42313         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
42314         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
42315         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
42317 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
42319         * crypt/crypt-private.h [DOS]: Add some includes taken from the
42320         other files in the crypt directory.
42321         * crypt/crypt.c: Remove duplicate includes.
42322         * crypt/crypt-entry.c: Likewise.
42323         * crypt/crypt_util.c: Likewise.
42325 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
42327         * Makeconfig (run-program-env): New variable.
42328         (run-program-prefix-before-env): Likewise.
42329         (run-program-prefix-after-env): Likewise.
42330         (run-program-prefix): Define in terms of new variables.
42331         (built-program-cmd-before-env): New variable.
42332         (built-program-cmd-after-env): Likewise.
42333         (built-program-cmd): Define in terms of new variables.
42334         (test-program-prefix-before-env): New variable.
42335         (test-program-prefix-after-env): Likewise.
42336         (test-program-prefix): Define in terms of new variables.
42337         (test-program-cmd-before-env): New variable.
42338         (test-program-cmd-after-env): Likewise.
42339         (test-program-cmd): Define in terms of new variables.
42340         * Rules (make-test-out): Use $(run-program-env).
42341         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
42342         (help): Do not mention environment variables.  Mention
42343         --timeoutfactor option.
42344         (timeoutfactor): New variable.
42345         (blacklist_exports): Remove function.
42346         (exports): Remove variable.
42347         (command): Do not include ${exports}.
42348         * manual/install.texi (Configuring and compiling): Do not mention
42349         test wrappers preserving environment variables.  Mention that last
42350         assignment to a variable must take precedence.
42351         * INSTALL: Regenerated.
42352         * benchtests/Makefile (run-bench): Use $(run-program-env).
42353         * catgets/Makefile ($(objpfx)test1.cat): Use
42354         $(built-program-cmd-before-env), $(run-program-env) and
42355         $(built-program-cmd-after-env).
42356         ($(objpfx)test2.cat): Do not specify environment variables
42357         explicitly.
42358         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
42359         $(run-program-env) and $(built-program-cmd-after-env).
42360         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
42361         $(run-program-env) and $(test-program-cmd-after-env).
42362         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
42363         explicitly.
42364         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
42365         run_program_env and test_program_cmd_after_env arguments.
42366         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
42367         * elf/tst-pathopt.sh: Use run_program_env argument.
42368         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
42369         $(test-wrapper-env) and $(run-program-env).
42370         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
42371         run_program_env arguments.
42372         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
42373         * intl/Makefile ($(objpfx)tst-gettext.out): Use
42374         $(test-program-prefix-before-env), $(run-program-env) and
42375         $(test-program-prefix-after-env).
42376         ($(objpfx)tst-gettext2.out): Likewise.
42377         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
42378         run_program_env and test_program_prefix_after_env arguments.
42379         * intl/tst-gettext2.sh: Likewise.
42380         * intl/tst-gettext4.sh: Do not set environment variables
42381         explicitly.
42382         * intl/tst-gettext6.sh: Likewise.
42383         * intl/tst-translit.sh: Likewise.
42384         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
42385         $(test-program-prefix-before-env), $(run-program-env) and
42386         $(test-program-prefix-after-env).
42387         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
42388         run_program_env and test_program_prefix_after_env arguments.
42389         * math/Makefile (run-regen-ulps): Use $(run-program-env).
42390         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
42391         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
42392         explicitly with each use of ${test_wrapper_env}.
42393         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
42394         $(test-program-prefix-before-env), $(run-program-env) and
42395         $(test-program-prefix-after-env).
42396         * posix/tst-getconf.sh: Do not set environment variables
42397         explicitly.
42398         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
42399         run_program_env and test_program_prefix_after_env arguments.
42400         * stdio-common/tst-printf.sh: Do not set environment variables
42401         explicitly.
42402         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
42403         $(test-program-prefix-before-env), $(run-program-env) and
42404         $(test-program-prefix-after-env).
42405         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
42406         run_program_env and test_program_prefix_after_env arguments.
42407         Split $test calls into $test_pre and $test.
42408         * timezone/Makefile (build-testdata): Use
42409         $(built-program-cmd-before-env), $(run-program-env) and
42410         $(built-program-cmd-after-env).
42412 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42414         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
42415         strlen for non SHARED builds.
42417 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42419         * nptl/allocatestack.c (check_list): Inlined function...
42420         (__reclaim_stacks): ... here.
42422 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
42424         [BZ #15698]
42425         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
42426         memory overrun.
42428 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
42430         * Rules (make-test-out): Include
42431         LOCPATH=$(common-objpfx)localedata in default environment.
42432         * debug/Makefile (tst-chk1-ENV): Remove variable.
42433         (tst-chk2-ENV): Likewise.
42434         (tst-chk3-ENV): Likewise.
42435         (tst-chk4-ENV): Likewise.
42436         (tst-chk5-ENV): Likewise.
42437         (tst-chk6-ENV): Likewise.
42438         (tst-lfschk1-ENV): Likewise.
42439         (tst-lfschk2-ENV): Likewise.
42440         (tst-lfschk3-ENV): Likewise.
42441         (tst-lfschk4-ENV): Likewise.
42442         (tst-lfschk5-ENV): Likewise.
42443         (tst-lfschk6-ENV): Likewise.
42444         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
42445         (tst-iconv7-ENV): Likewise.
42446         * intl/Makefile (LOCPATH-ENV): Likewise.
42447         (tst-codeset-ENV): Likewise.
42448         (tst-gettext3-ENV): Likewise.
42449         (tst-gettext5-ENV): Likewise.
42450         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
42451         (tst-fopenloc-ENV): Likewise.
42452         (tst-fgetws-ENV): Remove variable.
42453         (tst-ungetwc1-ENV): Likewise.
42454         (tst-ungetwc2-ENV): Likewise.
42455         (bug-ungetwc2-ENV): Likewise.
42456         (tst-swscanf-ENV): Likewise.
42457         (bug-ftell-ENV): Likewise.
42458         (tst-fgetwc-ENV): Likewise.
42459         (tst-fseek-ENV): Likewise.
42460         (tst-ftell-partial-wide-ENV): Likewise.
42461         (tst-ftell-active-handler-ENV): Likewise.
42462         (tst-ftell-append-ENV): Likewise.
42463         * posix/Makefile (tst-fnmatch-ENV): Likewise.
42464         (tst-regexloc-ENV): Likewise.
42465         (bug-regex1-ENV): Likewise.
42466         (tst-regex-ENV): Likewise.
42467         (tst-regex2-ENV): Likewise.
42468         (bug-regex5-ENV): Likewise.
42469         (bug-regex6-ENV): Likewise.
42470         (bug-regex17-ENV): Likewise.
42471         (bug-regex18-ENV): Likewise.
42472         (bug-regex19-ENV): Likewise.
42473         (bug-regex20-ENV): Likewise.
42474         (bug-regex22-ENV): Likewise.
42475         (bug-regex23-ENV): Likewise.
42476         (bug-regex25-ENV): Likewise.
42477         (bug-regex26-ENV): Likewise.
42478         (bug-regex30-ENV): Likewise.
42479         (bug-regex32-ENV): Likewise.
42480         (bug-regex33-ENV): Likewise.
42481         (bug-regex34-ENV): Likewise.
42482         (bug-regex35-ENV): Likewise.
42483         (tst-rxspencer-ENV): Likewise.
42484         (tst-rxspencer-no-utf8-ENV): Likewise.
42485         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
42486         (tst-sscanf-ENV): Likewise.
42487         (tst-swprintf-ENV): Likewise.
42488         (tst-swscanf-ENV): Likewise.
42489         (test-vfprintf-ENV): Likewise.
42490         (scanf13-ENV): Likewise.
42491         (bug14-ENV): Likewise.
42492         (tst-grouping-ENV): Likewise.
42493         * stdlib/Makefile (tst-strtod-ENV): Likewise.
42494         (tst-strtod3-ENV): Likewise.
42495         (tst-strtod4-ENV): Likewise.
42496         (tst-strtod5-ENV): Likewise.
42497         (testmb2-ENV): Likewise./
42498         * string/Makefile (tst-strxfrm-ENV): Likewise.
42499         (tst-strxfrm2-ENV): Likewise.
42500         (bug-strcoll1-ENV): Likewise.
42501         (test-strcasecmp-ENV): Likewise.
42502         (test-strncasecmp-ENV): Likewise.
42503         * time/Makefile (tst-strptime-ENV): Likewise.
42504         (tst-ftime_l-ENV): Likewise.
42505         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
42506         (tst-mbrtowc-ENV): Likewise.
42507         (tst-wcrtomb-ENV): Likewise.
42508         (tst-mbrtowc2-ENV): Likewise.
42509         (tst-c16c32-1-ENV): Likewise.
42510         (tst-mbsnrtowcs-ENV): Likewise.
42512 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
42514         * manual/resource.texi (How to get information about the memory
42515         subsystem?): Fix typo.
42516         Reported by Peon de la Parra Ivan <peon@keba.com>
42518 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
42520         [BZ #16882]
42521         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
42522         (pthread_spin_lock): Branch out of spin loop to proper location.
42523         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
42524         (pthread_spin_lock): Likewise.
42526         * nptl/tst-spin4.c: New test.
42527         * nptl/Makefile (tests): Add tst-spin4.
42529 2014-06-03  Andreas Schwab  <schwab@suse.de>
42531         [BZ #15946]
42532         * resolv/res_send.c (send_dg): Reload file descriptor after
42533         calling reopen.
42535 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
42537         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42539 2014-06-03  Richard Henderson  <rth@redhat.com>
42541         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
42542         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
42543         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
42544         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
42545         in the SAVE_PID block.
42546         (__libc_vfork): New alias.
42547         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
42549         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
42550         child in registers, not on the stack.  Remove RESET_PID conditionals.
42551         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
42553 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42555         * sysdeps/aarch64/libm-test-ulps: Regenerate.
42557 2014-06-03  Wilco  <wdijkstr@arm.com>
42559         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
42560         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
42561         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
42562         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
42563         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
42564         Likewise.
42566 2014-06-03  Wilco  <wdijkstr@arm.com>
42568         * sysdeps/aarch64/fpu/math_private.h
42569         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
42570         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
42571         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
42572         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
42573         Fix declarations.
42575 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42577         * crypt/crypt-private.h: Include ufc-crypt.h.
42578         (__b64_from_24bit): Declare extern.
42579         * crypt/crypt_util.c(__b64_from_24bit): New function.
42580         (b64t): New static const variable.
42581         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
42582         (b64t): Remove variable.
42583         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
42584         * crypt/sha256-crypt.c: Include crypt-private.h.
42585         (b64t): Remove variable.
42586         (__sha256_crypt_r): Remove b64_from_24bit and replace
42587         with __b64_from_24bit.
42588         * crypt/sha512-crypt.c: Likewise.
42590 2014-06-02  Roland McGrath  <roland@hack.frob.com>
42592         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
42593         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
42594         Label the code __libc_vfork rather than __vfork.
42595         [!NOT_IN_libc] (vfork): Define as weak alias.
42596         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
42597         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
42598         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
42600 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42602         * malloc/malloc.c (malloc_info): Fix format specifier for
42603         n_mmaps.
42605 2014-06-02  Wilco  <wdijkstr@arm.com>
42607         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
42608         FPCR write.
42610 2014-06-02  Wilco  <wdijkstr@arm.com>
42612         [BZ #17009]
42613         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
42614         Rewrite to reduce FPCR/FPSR accesses.
42616 2014-06-01  David S. Miller  <davem@davemloft.net>
42618         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42620 2014-05-31  David S. Miller  <davem@davemloft.net>
42622         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
42623         to occur in round to nearest mode when |x| >= 2.0
42625 2014-05-30  Richard Henderson  <rth@twiddle.net>
42627         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
42628         (PSEUDO_RET_NOERRNO): Remove.
42629         (ret): Don't redefine.
42630         (ret_NOERRNO): Define in terms of ret.
42631         (ret_ERRVAL): Likewise.
42633         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
42634         use of PSEUDO_RET; perform the error check directly.
42636 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
42638         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
42639         with __int128_t.
42641 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42643         * malloc/malloc (malloc_info): Fix formatting.
42645 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42646             Roland McGrath  <roland@hack.frob.com>
42648         * malloc/malloc (malloc_info): Also print mmapped statistics.
42650 2014-05-30  Roland McGrath  <roland@hack.frob.com>
42652         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
42653         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
42655 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
42657         * malloc/malloc.c (malloc_info): Inline mi_arena.
42659 2014-05-29  Richard Henderson  <rth@twiddle.net>
42661         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
42662         Remove comma before expanding ASM_ARGS_##nr.
42663         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
42664         Make _x0 a strict output; make _x8 a strict input; adjust expansion
42665         of ASM_ARGS_##nr.
42666         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
42667         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
42668         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
42669         (ASM_ARGS_1): Add leading comma.
42671         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
42672         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
42673         to __errno_location.
42674         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
42675         Remove the expected plt for __errno_location.
42677         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42678         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
42679         call to __read_tp.
42681         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42682         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
42683         it and break it down.
42684         (DOCARGS_0, DOCARGS_1): Do nothing.
42685         (DOCARGS_2): Update to store into the new stack frame.
42686         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
42687         (UNDOCARGS_1): Update to restore from the new stack frame.
42688         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
42689         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
42691         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42692         (SINGLE_THREAD_P): New parameter for result regno.
42693         (PSEUDO): Update to match; use cbz instead of beq.
42695         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42696         Use ENTRY to define the _nocancel entry point.  Share the syscall
42697         and syscall error check paths with the cancel path.
42698         (PSEUDO_END): New.
42700         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
42701         whitespace; tabs before and after asm mnemonics.
42703 2014-05-29  Eric Wong  <normalperson@yhbt.net>
42705         [BZ #15132]
42706         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42707         Call fstat64 or stat64 internally, depending on arguments passed.
42708         Replace stat buffer argument with file descriptor argument.
42709         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
42710         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
42711         Pass fd to __internal_statvfs instead of calling fstat64.
42712         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
42713         Pass fd to __internal_statvfs64 instead of calling fstat64.
42714         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
42715         Pass -1 to __internal_statvfs instead of calling stat64.
42716         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
42717         Pass -1 to __internal_statvfs64 instead of calling stat64.
42719 2014-05-28  Roland McGrath  <roland@hack.frob.com>
42721         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
42722         that was previously under [RESET_PID].
42723         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
42725         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
42726         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
42728 2014-05-27  Roland McGrath  <roland@hack.frob.com>
42730         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
42732         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
42733         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
42735 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
42737         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
42739 2014-05-27  Andreas Schwab  <schwab@suse.de>
42741         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
42742         TLS_INIT_TP macro.
42743         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
42744         * elf/rtld.c (init_tls, dl_main): Likewise.
42745         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
42746         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
42747         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
42748         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
42749         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
42750         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
42751         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
42752         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
42753         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
42754         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
42755         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
42756         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
42757         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
42758         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
42759         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
42760         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
42761         * sysdeps/generic/tls.h: Update description.
42763 2014-05-27  Will Newton  <will.newton@linaro.org>
42765         [BZ #16990]
42766         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
42767         and restore r2 rather than just restoring.
42769 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42771         [BZ #16724]
42772         * libio/tst-ftell-append.c: New test case.
42773         * libio/Makefile (tests): Add test case.
42774         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
42775         append mode.
42776         * libio/wfileops.c (do_ftell_wide): Likewise.
42778 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42780         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42782         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
42783         ...
42784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
42785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
42786         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
42787         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
42788         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
42789         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
42790         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
42791         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
42792         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
42793         Moved ...
42794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
42795         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
42796         Moved ...
42797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
42798         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
42799         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
42800         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
42801         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
42802         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
42803         ...
42804         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
42805         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
42806         Moved ...
42807         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
42808         here.
42809         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
42810         ...
42811         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
42812         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
42813         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
42815         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
42816         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
42817         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
42818         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
42820         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
42821         merge into ...
42822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
42823         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
42824         ...
42825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
42826         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
42827         ...
42828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
42829         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
42830         Moved ...
42831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
42832         here.
42833         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
42834         Moved ...
42835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
42836         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
42837         Moved ...
42838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
42840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
42841         conditional [RESET_PID].
42842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
42843         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
42844         removed.
42845         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
42846         removed.
42848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
42849         <tcb-offsets.h>.
42850         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42851         (__libc_vfork): New strong alias.
42852         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
42853         removed.
42854         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
42855         Removed.
42857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
42858         <tcb-offsets.h>.
42859         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
42860         (__libc_vfork): New strong alias.
42861         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
42862         removed.
42863         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
42864         removed.
42866 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
42868         * malloc/malloc.c (mi_arena): New function.
42869         (malloc_info): Remove nested function mi_arena. Call non-nosted
42870         function mi_arena.
42872 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42874         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
42875         by insrwi.
42876         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
42877         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
42878         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
42879         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
42880         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
42881         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
42882         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
42884 2014-05-26  Andreas Schwab  <schwab@suse.de>
42886         [BZ #16984]
42887         * locale/programs/repertoire.c (repertoire_read): Add slash
42888         between I18NPATH element and file name.
42889         * locale/programs/locfile.c (locfile_read): Likewise.
42891 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
42893         * nptl/pthread_mutexattr_settype.c
42894         (__pthread_mutexattr_settype):
42895         Disable lock elision for PTHREAD_MUTEX_NORMAL.
42897 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
42899         * nptl/tst-mutex5 (do_test):
42900         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
42902 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42904         * benchtests/README: Document 'init' directive.
42905         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
42906         BENCH_INIT.
42907         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
42908         (parse_file): Recognize 'init' directive.
42910 2014-05-26  Kyle McMartin  <kyle@redhat.com>
42912         [BZ #16796]
42913         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
42914         alignment of struct pthread.
42916 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42918         [BZ #16878]
42919         * nscd/netgroupcache.c (addgetnetgrentX): Look for
42920         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
42921         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
42922         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
42924 2014-05-25  Richard Henderson  <rth@twiddle.net>
42926         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42927         (SINGLE_THREAD_P_PIC): Remove.
42928         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
42929         (SINGLE_THREAD_P_PIC): Remove.
42931         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
42932         branch to syscall error ...
42933         (PSEUDO): ... here.
42934         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
42935         from __local_syscall_error to .Lsyscall_error.
42936         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
42937         (SYSCALL_ERROR): Update label name.
42939         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42940         Do not use DOARGS/UNDOARGS.
42941         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
42942         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
42943         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
42944         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
42945         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
42947         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
42948         block comment.
42950         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
42951         define if !NOT_IN_libc.
42952         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
42953         define with non-default symbol versions.
42955 2014-05-23  Richard Henderson  <rth@twiddle.net>
42957         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
42958         (vfork, __vfork): Define via compat_symbol.
42960         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
42961         [!HAVE_IFUNC] (vfork_compat): Remove.
42962         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
42964 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
42966         [BZ #16978]
42967         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
42968         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
42969         variable.
42971 2014-05-23  Richard Henderson  <rth@twiddle.net>
42973         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
42974         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
42975         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
42976         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
42978         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
42979         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
42980         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
42981         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
42982         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
42983         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
42984         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
42985         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
42986         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
42987         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
42988         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
42989         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
42990         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
42991         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
42992         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
42993         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
42994         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
42995         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
42996         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
42997         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
42998         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
42999         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
43000         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
43001         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
43002         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
43003         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
43004         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
43005         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
43006         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
43007         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
43008         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
43009         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
43010         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
43011         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
43012         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
43013         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
43014         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
43015         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
43016         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
43017         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
43018         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
43019         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
43020         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
43021         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
43022         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
43023         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
43024         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
43025         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
43026         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
43027         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
43028         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
43029         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
43030         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
43031         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
43032         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
43033         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
43035         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
43036         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
43037         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
43038         before exiting on error.
43039         (__libc_vfork): New strong alias.
43040         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
43041         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
43043         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
43044         that was previously under [RESET_PID].
43045         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
43047         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
43049 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
43051         [BZ #16977]
43052         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
43053         value when x - 1 is zero.
43054         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
43055         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
43056         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
43057         0.0L for an argument of 1.0L.
43058         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
43059         Likewise.
43060         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
43061         value when x - 1 is zero.
43062         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
43063         * sysdeps/i386/fpu/libm-test-ulps: Update.
43064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43066 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
43068         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
43069         alphasort and versionsort.
43071 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43073         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
43074         macro.
43075         [copysignf]: Likewise.
43077 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43079         * crypt/md5-crypt.c: Fix formatting.
43081 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43083         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
43084         (b64_from_24bit): New function.
43086 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43088         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
43089         libc_hidden_builtin_def to ifunc.
43090         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
43091         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
43093 2014-05-21  Roland McGrath  <roland@hack.frob.com>
43095         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
43096         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
43098 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
43100         * nscd/Depend (linuxthreads): Remove.
43101         (nptl): Add.
43102         * resolv/Depend (linuxthreads): Remove.
43103         * rt/Depend (linuxthreads): Remove.
43105         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
43106         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
43107         $(common-objpfx)elf/.
43108         (link-libc-before-gnulib): Likewise.
43109         (elfobjdir): Remove variable.
43110         * Makefile (install): Use $(elf-objpfx) instead of
43111         $(common-objpfx)elf/.
43112         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
43113         $(elfobjdir)/.
43114         (link-libc-deps): Likewise.
43115         ($(common-objpfx)libc.so): Likewise.
43116         ($(common-objpfx)linkobj/libc.so): Likewise.
43117         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
43118         instead of $(common-objpfx)elf/.
43119         (symbolic-link-list): Likewise.
43120         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
43121         [$(cross-compiling) = no]: Likewise.
43122         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
43123         $(elfobjdir)/.
43124         (static-gnulib-arch): Likewise.
43125         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
43126         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
43127         $(common-objpfx)elf/.
43129 2014-05-21  Richard Henderson  <rth@redhat.com>
43131         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43132         (SINGLE_THREAD_P): Use the correct width load.  Fold
43133         into the ldr offset.
43135         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
43136         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
43138 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
43140         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
43141         (libgcc_s_resume): Use __attribute_used__.
43142         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
43143         Likewise.
43145 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43147         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
43148         optimization when used with float constants.
43150         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43152 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
43154         [BZ #16915]
43155         * locale/nl_langinfo_l.c: Make direct reference to every
43156         _nl_current_CATEGORY symbol.
43157         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
43158         (tests-static): Add tst-langinfo-static.
43159         (tests-special): Add tst-langinfo-static.out.
43160         ($(objpfx)tst-langinfo.out): Redirect output.
43161         ($(objpfx)tst-langinfo-static.out): New.
43162         * localedata/tst-langinfo.sh: Send output to stdout.
43163         * localedata/tst-langinfo-static.c: New file.
43165         [BZ #16965]
43166         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
43167         when the shift amount is modulo the limb size.
43169 2014-05-20  Richard Henderson  <rth@redhat.com>
43171         [BZ #16967]
43172         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
43173         Change type of sa_flags from unsigned int to int.
43175         [BZ #16966]
43176         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
43178         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
43180 2014-05-20  Will Newton  <will.newton@linaro.org>
43182         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43183         Test the return value of the system call in the nocancel case.
43185 2014-05-20  Will Newton  <will.newton@linaro.org>
43186             Yvan Roux  <yvan.roux@linaro.org>
43188         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
43189         #include of asm/ptrace.h.
43190         (PTRACE_GET_THREAD_AREA): Remove #undef.
43191         (PTRACE_GETHBPREGS): Likewise.
43192         (PTRACE_SETHBPREGS): Likewise.
43193         (struct user_regs_struct): New structure.
43194         (struct user_fpsimd_struct): New structure.
43195         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
43196         #include of asm/ptrace.h and second #include of sys/user.h.
43197         (PTRACE_GET_THREAD_AREA): Remove #undef.
43198         (PTRACE_GETHBPREGS): Likewise.
43199         (PTRACE_SETHBPREGS): Likewise.
43200         (ELF_NGREG): Use new struct user_regs_struct.
43201         (elf_fpregset_t): Use new struct user_fpsimd_struct.
43203 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43205         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
43206         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
43208 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
43210         [BZ #16958]
43211         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
43212         membar to avoid block loads/stores to overlap previous stores.
43214 2014-05-17  Richard Henderson  <rth@redhat.com>
43216         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
43217         Create the __##syscall_name##_nocancel entry point.
43218         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
43219         Remove; let the sysdep-cancel.h code create it.
43221 2014-05-17  David S. Miller  <davem@davemloft.net>
43223         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
43224         Protect with __USE_GNU.
43225         (TIOCSET_TEMPT): Likewise.
43226         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
43227         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
43228         these are already provided in bits/ioctl-types.h
43230 2014-05-16  Roland McGrath  <roland@hack.frob.com>
43232         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
43233         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
43235         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
43236         Use wait4 regardless of [__NR_waitpid].
43238 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
43240         PR libgcc/60166
43241         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
43242         (_FP_NANSIGN_Q): Set the quiet bit.
43244 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
43246         * benchtests/Makefile
43247         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
43248         not $(common-objpfx)math/libm.so.
43249         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
43250         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
43251         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
43252         $(common-objpfx)dlfcn/libdl.so.
43253         ($(objpfx)tst-audit8): Depend on $(libm), not
43254         $(common-objpfx)math/libm.so.
43255         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
43256         not $(common-objpfx)dlfcn/libdl.so.
43257         * math/Makefile
43258         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
43259         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
43260         [$(build-shared) = yes].
43261         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
43262         $(common-objpfx)nptl/libpthread.so.
43263         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
43264         $(common-objpfx)math/libm.so$(libm.so-version) or
43265         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
43266         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
43267         $(common-objpfx)dlfcn/libdl.so.
43268         * setjmp/Makefile (link-libm): Remove variable.
43269         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
43270         * stdio-common/Makefile (link-libm): Remove variable.
43271         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
43272         * stdlib/Makefile (link-libm): Remove variable.
43273         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
43274         ($(objpfx)tst-strtod-round): Likewise.
43275         ($(objpfx)tst-tininess): Likewise.
43276         ($(objpfx)tst-strtod-underflow): Likewise.
43277         ($(objpfx)tst-strtod6): Likewise.
43278         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
43279         $(libdl), not $(common-objpfx)nptl/libpthread.so and
43280         $(common-objpfx)dlfcn/libdl.so.
43282 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43284         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
43285         BSD terminal modes definitions.
43287 2014-05-16  Roland McGrath  <roland@hack.frob.com>
43289         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
43290         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
43292         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
43293         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
43294         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
43295         Don't do #include_next.
43296         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
43297         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
43298         Don't do #include_next.
43299         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
43300         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
43301         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
43302         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
43304 2014-05-16  Allan McRae  <allan@archlinux.org>
43306         * po/sv.po: Update Swedish translation from translation project.
43308         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
43309         in sed expression.
43311 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
43313         [BZ #16917]
43314         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
43315         errno if the TIOCGPTN ioctl fails with an error different than
43316         EINVAL.
43317         * login/tst-ptsname.c: New file.
43318         * login/Makefile (tests): Add tst-ptsname.
43320         [BZ #16943]
43321         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
43322         and prlimit64.
43324 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43326         [BZ #16849]
43327         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
43328         herrno to return EAI_AGAIN.
43330 2014-05-14  Roland McGrath  <roland@hack.frob.com>
43332         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
43333         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
43334         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
43335         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
43336         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
43337         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
43338         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
43339         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
43340         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
43341         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
43342         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
43343         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
43344         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
43345         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
43346         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
43347         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
43348         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
43349         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
43350         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
43351         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
43352         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
43353         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
43354         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
43355         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
43356         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
43357         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
43358         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
43359         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
43360         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
43361         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
43362         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
43363         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
43364         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
43365         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
43366         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43367         Moved ...
43368         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
43369         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
43370         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
43371         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
43372         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
43373         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
43374         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
43375         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
43376         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
43377         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
43378         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
43379         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
43380         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
43381         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
43382         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
43383         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
43384         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
43385         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
43386         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
43387         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
43388         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
43389         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
43390         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
43391         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
43392         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
43393         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
43394         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
43395         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
43396         Moved ...
43397         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
43398         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
43399         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
43400         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
43401         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
43402         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
43403         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
43404         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
43405         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
43406         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
43407         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
43408         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
43409         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
43410         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
43411         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
43412         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
43413         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
43414         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
43415         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
43416         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
43417         Moved ...
43418         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
43419         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
43420         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
43422         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
43423         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
43424         (libpthread-sysdep_routines): Add elision-related stuff here instead.
43425         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
43426         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
43427         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
43428         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
43429         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
43430         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
43431         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
43432         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
43433         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
43434         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
43435         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
43436         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
43437         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
43438         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
43439         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
43440         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
43441         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
43442         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
43443         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
43444         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
43445         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
43446         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
43447         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
43448         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
43449         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
43450         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
43451         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
43452         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
43454         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
43455         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
43457         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
43458         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
43459         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
43460         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
43461         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
43462         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
43463         Moved ...
43464         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
43465         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
43466         Moved ...
43467         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
43468         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
43469         Moved ...
43470         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
43471         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
43472         Moved ...
43473         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
43474         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
43475         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
43476         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
43477         Moved ...
43478         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
43479         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
43480         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
43481         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
43482         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
43483         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
43484         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
43485         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
43486         Moved ...
43487         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
43488         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
43489         Moved ...
43490         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
43491         ... here.
43492         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
43493         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
43494         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
43495         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
43496         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
43497         Moved ...
43498         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
43499         ... here.
43500         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
43501         Moved ...
43502         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
43503         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
43504         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
43505         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
43506         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
43507         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
43508         Moved ...
43509         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
43510         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
43511         Moved ...
43512         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
43513         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
43514         Moved ...
43515         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
43516         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
43517         Moved ...
43518         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
43519         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
43520         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
43521         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
43522         Moved ...
43523         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
43524         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
43525         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
43526         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
43527         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
43528         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
43529         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
43530         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
43531         Moved ...
43532         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
43533         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
43534         Moved ...
43535         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
43536         ... here.
43537         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
43538         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
43539         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
43540         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
43541         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
43542         Moved ...
43543         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
43544         ... here.
43545         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
43546         Moved ...
43547         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
43548         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
43549         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
43550         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
43551         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
43552         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
43553         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
43554         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
43555         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
43556         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
43557         Moved ...
43558         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
43559         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
43560         Moved ...
43561         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
43562         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
43563         Moved ...
43564         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
43565         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
43566         Moved ...
43567         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
43568         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
43569         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
43570         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
43571         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
43572         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
43573         Moved ...
43574         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
43575         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
43576         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
43577         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
43578         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
43579         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
43580         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
43581         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
43582         Moved ...
43583         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
43584         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
43585         Moved ...
43586         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
43587         ... here.
43588         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
43589         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
43590         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
43591         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
43592         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
43593         Moved ...
43594         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
43595         ... here.
43596         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
43597         Moved ...
43598         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
43599         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
43600         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
43601         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
43602         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
43603         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
43604         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
43605         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
43606         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
43607         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
43608         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
43610         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
43611         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
43613         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
43614         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
43616         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
43617         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
43618         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
43619         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
43620         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
43621         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
43622         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
43623         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
43624         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
43625         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
43626         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
43627         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
43628         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
43629         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
43630         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
43631         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
43632         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
43633         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
43634         Moved ...
43635         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
43636         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
43637         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
43638         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
43639         Moved ...
43640         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
43641         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
43642         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
43643         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
43644         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
43645         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
43646         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
43647         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
43648         Moved ...
43649         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
43650         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
43651         Moved ...
43652         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
43653         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
43654         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
43655         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
43656         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
43657         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
43658         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
43659         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
43660         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
43661         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
43662         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
43663         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
43664         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
43665         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
43666         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
43667         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
43668         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
43670         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
43671         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
43672         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
43673         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
43674         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
43676         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
43677         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
43678         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
43679         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
43680         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
43681         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
43682         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
43683         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
43684         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
43685         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
43687         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
43688         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
43690         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
43691         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
43692         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
43693         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
43694         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
43695         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
43696         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
43697         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
43698         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
43699         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
43700         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
43701         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
43702         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
43703         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
43704         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
43705         Update #include.
43706         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
43707         Likewise.
43708         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
43709         Likewise.
43710         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
43711         Likewise.
43712         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
43713         Likewise.
43714         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
43715         Likewise.
43716         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
43717         Likewise.
43718         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
43719         Likewise.
43720         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
43721         Likewise.
43722         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
43723         Likewise.
43724         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
43725         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
43726         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
43727         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
43728         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
43729         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
43730         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
43731         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
43732         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
43733         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
43734         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
43735         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
43736         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
43737         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
43738         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
43740         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
43741         that was previously under [RESET_PID].
43742         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
43743         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
43744         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
43746         * sysdeps/i386/nptl/Implies: New file.
43747         * sysdeps/x86_64/nptl/Implies: New file.
43748         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
43749         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
43750         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
43751         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
43753         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
43754         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43755         (__libc_vfork): New strong alias.
43756         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
43757         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
43759         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
43760         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43761         (__libc_vfork): New strong alias.
43762         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
43763         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
43765         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
43766         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43767         (__libc_vfork): New strong alias.
43768         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
43769         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
43770         * nptl/pt-vfork.c: New file.
43771         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
43772         (libpthread: GLIBC_2.20): New version set (empty).
43774 2014-05-14  Will Newton  <will.newton@linaro.org>
43776         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
43777         rather than #if.
43779 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
43781         [BZ #16564]
43782         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
43783         arguments with exponent 65 or above.
43784         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
43785         arguments 0x1p113L or above.
43786         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
43787         to arguments 0x1p107L or above.
43788         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
43789         positive arguments with exponent 65 or above.
43790         * math/auto-libm-test-in: Add more tests of log1p.
43791         * math/auto-libm-test-out: Regenerated.
43793         [BZ #16928]
43794         * math/s_cacos.c (__cacos): Ensure zero real part of result from
43795         non-finite arguments is +0.
43796         * math/s_cacosf.c (__cacosf): Likewise.
43797         * math/s_cacosl.c (__cacosl): Likewise.
43798         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
43799         * sysdeps/i386/fpu/libm-test-ulps: Update.
43800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43802         [BZ #16927]
43803         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
43804         value.
43805         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
43806         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
43807         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
43808         for explicit high bit of mantissa when testing for argument equal
43809         to 1.
43810         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
43811         * sysdeps/i386/fpu/libm-test-ulps: Update.
43812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43814         [BZ #16516]
43815         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
43816         (__erf): Scale by 16 instead of 8 in potentially underflowing
43817         case.  Ensure exception if result actually underflows.
43818         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
43819         (__erff): Scale by 16 instead of 8 in potentially underflowing
43820         case.  Ensure exception if result actually underflows.
43821         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
43822         (efx8): Remove variable.
43823         (__erfl): Scale by 16 instead of 8 in potentially underflowing
43824         case.  Ensure exception if result actually underflows.
43825         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
43826         (efx8): Remove variable.
43827         (__erfl): Scale by 16 instead of 8 in potentially underflowing
43828         case.  Ensure exception if result actually underflows.
43829         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
43830         (efx8): Remove variable.
43831         (__erfl): Scale by 16 instead of 8 in potentially underflowing
43832         case.  Ensure exception if result actually underflows.
43833         * math/auto-libm-test-in: Add more tests of erf.
43834         * math/auto-libm-test-out: Regenerated.
43836 2014-05-14  Andreas Schwab  <schwab@suse.de>
43838         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
43839         Remove code conditionalized on USE___THREAD.
43841         * config.h.in (HAVE_PT_CHOWN): Define as 0.
43842         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
43843         not definedness.
43845 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
43847         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
43848         Define unconditionally.
43849         (__ASSUME_O_CLOEXEC): Likewise.
43850         (__ASSUME_SOCK_CLOEXEC): Likewise.
43851         (__ASSUME_IN_NONBLOCK): Likewise.
43852         (__ASSUME_PIPE2): Likewise.
43853         (__ASSUME_EVENTFD2): Likewise.
43854         (__ASSUME_SIGNALFD4): Likewise.
43855         (__ASSUME_DUP3): Likewise.
43856         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43857         (__ASSUME_DUP3): Do not define.
43858         (__ASSUME_EVENTFD2): Likewise.
43859         (__ASSUME_IN_NONBLOCK): Likewise.
43860         (__ASSUME_O_CLOEXEC): Likewise.
43861         (__ASSUME_PIPE2): Likewise.
43862         (__ASSUME_SIGNALFD4): Likewise.
43863         (__ASSUME_SOCK_CLOEXEC): Likewise.
43864         (__ASSUME_UTIMES): Undefine.
43865         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43866         (__ASSUME_UTIMES): Do not define.
43867         (__ASSUME_O_CLOEXEC): Likewise.
43868         (__ASSUME_SOCK_CLOEXEC): Likewise.
43869         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
43870         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
43871         0x020621].
43872         (__ASSUME_PIPE2): Likewise.
43873         (__ASSUME_EVENTFD2): Likewise.
43874         (__ASSUME_SIGNALFD4): Likewise.
43875         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
43876         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
43877         Do not define.
43878         (__ASSUME_EVENTFD2): Likewise.
43879         (__ASSUME_SIGNALFD4): Likewise.
43880         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
43881         (__ASSUME_32BITUIDS): Likewise.
43882         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
43883         (__ASSUME_IPC64): Likewise.
43884         (__ASSUME_ST_INO_64_BIT): Likewise.
43885         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
43886         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
43887         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43888         (__ASSUME_UTIMES): Do not define.
43889         (__ASSUME_PSELECT): Likewise.
43890         (__ASSUME_PPOLL): Likewise.
43891         (__ASSUME_O_CLOEXEC): Likewise.
43892         (__ASSUME_SOCK_CLOEXEC): Likewise.
43893         (__ASSUME_IN_NONBLOCK): Likewise.
43894         (__ASSUME_PIPE2): Likewise.
43895         (__ASSUME_EVENTFD2): Likewise.
43896         (__ASSUME_SIGNALFD4): Likewise.
43897         (__ASSUME_DUP3): Likewise.
43898         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43899         (__ASSUME_UTIMES): Likewise.
43900         (__ASSUME_O_CLOEXEC): Likewise.
43901         (__ASSUME_SOCK_CLOEXEC): Likewise.
43902         (__ASSUME_IN_NONBLOCK): Likewise.
43903         (__ASSUME_PIPE2): Likewise.
43904         (__ASSUME_EVENTFD2): Likewise.
43905         (__ASSUME_SIGNALFD4): Likewise.
43906         (__ASSUME_DUP3): Likewise.
43907         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43908         (__ASSUME_UTIMES): Likewise.
43909         (__ASSUME_O_CLOEXEC): Likewise.
43910         (__ASSUME_SOCK_CLOEXEC): Likewise.
43911         (__ASSUME_IN_NONBLOCK): Likewise.
43912         (__ASSUME_PIPE2): Likewise.
43913         (__ASSUME_EVENTFD2): Likewise.
43914         (__ASSUME_SIGNALFD4): Likewise.
43915         (__ASSUME_DUP3): Likewise.
43916         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
43917         Likewise.
43918         (__ASSUME_UTIMES): Likewise.
43919         (__ASSUME_EVENTFD2): Likewise.
43920         (__ASSUME_SIGNALFD4): Likewise.
43921         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43922         (__ASSUME_O_CLOEXEC): Likewise.
43923         (__ASSUME_SOCK_CLOEXEC): Likewise.
43924         (__ASSUME_IN_NONBLOCK): Likewise.
43925         (__ASSUME_PIPE2): Likewise.
43926         (__ASSUME_EVENTFD2): Likewise.
43927         (__ASSUME_SIGNALFD4): Likewise.
43928         (__ASSUME_DUP3): Likewise.
43929         (__ASSUME_UTIMES): Undefine.
43931         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
43932         feclearexcept.  Remove symbol versioning code.
43933         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
43934         symbol versioning code.
43935         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
43936         symbol versioning code.
43937         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
43938         feupdateenv.  Remove symbol versioning code.
43939         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
43940         fegetexceptflag.  Remove symbol versioning code.
43941         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
43942         fesetexceptflag.  Remove symbol versioning code.
43943         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
43944         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
43945         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
43946         (__posix_fadvise64_l32): Remove prototype.
43947         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
43948         code.
43950 2014-05-13  Roland McGrath  <roland@hack.frob.com>
43952         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
43953         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
43954         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
43955         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
43957 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
43959         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
43960         current working directory
43962 2014-05-13  Roland McGrath  <roland@hack.frob.com>
43964         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
43965         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
43966         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
43967         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
43968         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
43969         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
43970         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
43971         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
43972         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
43973         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
43974         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
43975         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
43976         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
43977         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
43978         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
43979         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
43980         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
43981         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
43982         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
43983         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
43984         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
43985         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
43986         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
43987         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
43988         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
43989         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
43990         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
43991         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
43992         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
43993         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
43994         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
43995         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
43996         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
43997         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
43998         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
43999         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
44000         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
44001         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
44002         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
44003         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
44004         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
44005         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
44007         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
44008         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
44010         * sysdeps/unix/sysv/linux/arm/Makefile
44011         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
44012         Add rt-aeabi_unwind_cpp_pr1.
44013         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
44014         Add nptl-aeabi_unwind_cpp_pr1.
44015         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
44016         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
44017         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
44018         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
44019         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
44020         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
44022         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
44023         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
44024         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
44025         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
44027         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
44028         Deconditionalize the code that was previously under [RESET_PID].
44029         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
44031         * sysdeps/generic/exit-thread.h: New file.
44032         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
44033         * include/unistd.h (__exit_thread): Remove declaration.
44034         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
44035         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
44036         * csu/libc-start.c: Include <exit-thread.h>.
44037         (LIBC_START_MAIN): Pass no argument to __exit_thread.
44038         * nptl/pthread_create.c: Include <exit-thread.h>.
44039         (start_thread): Call __exit_thread in place of __exit_thread_inline.
44040         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
44041         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
44042         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
44043         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
44044         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
44045         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
44046         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
44047         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
44048         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
44049         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
44050         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
44051         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
44052         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
44053         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
44054         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
44055         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
44057 2014-05-13  Andreas Schwab  <schwab@suse.de>
44059         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
44061 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
44063         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
44064         (__ASSUME_UTIMES): Do not condition on kernel version.
44065         (__ASSUME_PSELECT): Define unconditionally.
44066         (__ASSUME_PPOLL): Likewise.
44067         (__ASSUME_ATFCTS): Likewise.
44068         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
44069         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
44070         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
44071         (__ASSUME_UTIMENSAT): Define unconditionally.
44072         (__ASSUME_PRIVATE_FUTEX): Likewise.
44073         (__ASSUME_FALLOCATE): Likewise.
44074         (__ASSUME_O_CLOEXEC): Likewise.
44075         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
44076         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
44077         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
44078         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
44079         (__ASSUME_IN_NONBLOCK): Likewise.
44080         (__ASSUME_PIPE2): Likewise.
44081         (__ASSUME_EVENTFD2): Likewise.
44082         (__ASSUME_SIGNALFD4): Likewise.
44083         (__ASSUME_DUP3): Likewise.
44084         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
44085         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
44086         (__ASSUME_AT_RANDOM): Likewise.
44087         (__ASSUME_PREADV): Likewise.
44088         (__ASSUME_PWRITEV): Likewise.
44089         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
44090         (__ASSUME_F_GETOWN_EX): Define unconditionally.
44091         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
44092         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44093         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
44094         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44095         (__ASSUME_O_CLOEXEC): Define unconditionally.
44096         (__ASSUME_PSELECT): Do not undefine conditionally.
44097         (__ASSUME_PPOLL): Likewise.
44098         (__ASSUME_ATFCTS): Likewise.
44099         (__ASSUME_SET_ROBUST_LIST): Likewise.
44100         (__ASSUME_UTIMENSAT): Likewise.
44101         (__ASSUME_FDATASYNC): Define unconditionally.
44102         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44103         (__ASSUME_SIGFRAME_V2): Likewise.
44104         )__ASSUME_EVENTFD2): Likewise.
44105         (__ASSUME_SIGNALFD4): Likewise.
44106         (__ASSUME_PSELECT): Do not undefine conditionally.
44107         (__ASSUME_PPOLL): Likewise.
44108         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
44109         (__ASSUME_PSELECT): Define unconditionally.
44110         (__ASSUME_PPOLL): Likewise.
44111         (__ASSUME_O_CLOEXEC): Likewise.
44112         (__ASSUME_SOCK_CLOEXEC): Likewise.
44113         (__ASSUME_IN_NONBLOCK): Likewise.
44114         (__ASSUME_PIPE2): Likewise.
44115         (__ASSUME_EVENTFD2): Likewise.
44116         (__ASSUME_SIGNALFD4): Likewise.
44117         (__ASSUME_DUP3): Likewise.
44118         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
44119         (__ASSUME_O_CLOEXEC): Likewise.
44120         (__ASSUME_SOCK_CLOEXEC): Likewise.
44121         (__ASSUME_IN_NONBLOCK): Likewise.
44122         (__ASSUME_PIPE2): Likewise.
44123         (__ASSUME_EVENTFD2): Likewise.
44124         (__ASSUME_SIGNALFD4): Likewise.
44125         (__ASSUME_DUP3): Likewise.
44126         * sysdeps/unix/sysv/linux/mips/kernel-features.h
44127         (__ASSUME_EVENTFD2): Likewise.
44128         (__ASSUME_SIGNALFD4): Likewise.
44129         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
44131 2014-05-12  Andreas Schwab  <schwab@suse.de>
44133         [BZ #16932]
44134         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
44135         (_nss_nis_gethostbyname4_r): Return error if item length is larger
44136         than maximum RPC packet size.
44137         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
44138         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
44139         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
44140         (_nss_nis_getservbyport_r): Likewise.
44142 2014-05-12  Will Newton  <will.newton@linaro.org>
44144         * malloc/Makefile (tests): Add tst-mallopt.
44145         * malloc/tst-mallopt.c: New file.
44147 2014-05-09  Roland McGrath  <roland@hack.frob.com>
44149         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
44150         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
44152 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44154         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
44155         (tst-tlsmod6.so): Likewise.
44157 2014-05-09  Roland McGrath  <roland@hack.frob.com>
44159         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
44161 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
44163         [BZ #16064]
44164         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
44165         and <dl-procinfo.h>.
44166         (__fegetenv): Save SSE state in envp->__eip if supported.
44167         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
44168         envp->__eip if supported.
44169         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
44170         and <dl-procinfo.h>.
44171         (__fesetenv): Always set __eip, __cs_selector, __opcode,
44172         __data_offset and __data_selector in environment to 0.  Set SSE
44173         state if supported.
44174         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
44175         test-fenv-sse.
44176         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
44177         -mfpmath=sse.
44178         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
44180 2014-05-09  Will Newton  <will.newton@linaro.org>
44182         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
44183         and libc_relro_required for ARM.
44184         * sysdeps/arm/preconfigure: Regenerate.
44186 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
44187             Stefan Liebler  <stli@linux.vnet.ibm.com>
44189         * config.make.in (enable-lock-elision): New Makefile variable.
44190         * configure.ac: Likewise.
44191         * configure: Regenerate.
44192         * sysdeps/s390/configure.ac:
44193         Add check for gcc transactions support.
44194         * sysdeps/s390/configure: Regenerate.
44195         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
44196         Build elision files if enabled.
44197         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
44198         Add lock elision support for s390.
44199         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
44200         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
44201         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
44202         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
44203         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
44204         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
44205         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
44206         Likewise.
44207         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
44208         Likewise.
44209         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
44210         Likewise.
44211         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
44212         Likewise.
44213         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
44214         (__lll_timedlock_elision, __lll_lock_elision)
44215         (__lll_unlock_elision, __lll_trylock_elision)
44216         (lll_timedlock_elision, lll_lock_elision)
44217         (lll_unlock_elision, lll_trylock_elision): Add.
44218         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
44219         (pthread_mutex_t): Add lock elision support for s390.
44221 2014-05-14  Wilco  <wdijkstr@arm.com>
44223         * sysdeps/arm/fclrexcpt.c: Cleanup.
44224         * sysdeps/arm/fedisblxcpt.c: Cleanup.
44225         * sysdeps/arm/feenablxcpt.c: Cleanup.
44226         * sysdeps/arm/fegetenv.c: Cleanup.
44227         * sysdeps/arm/fegetexcept.c: Cleanup.
44228         * sysdeps/arm/fegetround.c: Cleanup.
44229         * sysdeps/arm/feholdexcpt.c: Cleanup.
44230         * sysdeps/arm/fesetenv.c: Cleanup.
44231         * sysdeps/arm/fesetround.c: Cleanup.
44232         * sysdeps/arm/feupdateenv.c: Cleanup.
44233         * sysdeps/arm/fgetexcptflg.c: Cleanup.
44234         * sysdeps/arm/fraiseexcpt.c: Cleanup.
44235         * sysdeps/arm/fsetexcptflg.c: Cleanup.
44236         * sysdeps/arm/ftestexcept.c: Cleanup.
44237         * sysdeps/arm/get-rounding-mode.h: Cleanup.
44238         * sysdeps/arm/setfpucw.c: Cleanup.
44240 2014-05-09  Will Newton  <will.newton@linaro.org>
44242         * sysdeps/arm/armv7/strcmp.S: New file.
44243         * NEWS: Mention addition of ARMv7 optimized strcmp.
44245 2014-05-08  Roland McGrath  <roland@hack.frob.com>
44247         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
44248         look for %.ac rather than %.in.
44250         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
44251         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
44252         * sysdeps/mach/hurd/configure: Regenerated.
44253         * sysdeps/unix/sysv/linux/configure: Regenerated.
44255         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
44257 2014-05-07  Steve Ellcey  <sellcey@mips.com>
44259         [BZ# 16922]
44260         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
44261         (LONG_SUB): Ditto.
44262         (PTR_SUB): Ditto.
44264 2014-05-07  Andreas Schwab  <schwab@suse.de>
44266         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
44267         when skipping over non-matching result from nscd.
44269 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
44271         [BZ #16876]
44272         * nptl/sockperf.c (client): Check socket return value.
44274         [BZ #16877]
44275         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
44276         nscd security class.
44278 2014-05-06  Roland McGrath  <roland@hack.frob.com>
44280         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
44281         * sysdeps/arm/unwind.h: ... here.
44283 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
44285         [BZ# 16916]
44286         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
44287         Define.
44289 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44291         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
44292         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
44293         multiarch strncpy for PPC64.
44294         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
44295         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
44296         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
44297         multiarch optimizations.
44298         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44299         (__libc_ifunc_impl_list): Likewise.
44300         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
44301         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
44302         multiarch stpncpy for PPC64.
44303         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
44304         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
44306 2014-05-06  Andreas Schwab  <schwab@suse.de>
44308         [BZ #16912]
44309         * gmon/mcount.c (_MCOUNT_DECL): Use
44310         atomic_compare_and_exchange_bool_acq instead of
44311         catomic_compare_and_exchange_bool_acq.
44313 2014-05-05  Roland McGrath  <roland@hack.frob.com>
44315         * elf/Makefile (others, install-bin): Remove pldd.
44316         (pldd-modules): Variable removed.
44317         ($(objpfx)pldd): Target removed.
44318         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
44319         (others, install-bin): Append pldd here.
44320         ($(objpfx)pldd): New target.
44322         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
44323         to 0, so the first #if test emitted later doesn't see it undefined.
44324         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
44325         * sysdeps/gnu/errlist.c: Regenerated.
44327 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44329         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
44330         [libc_hidden_builtin_def]: Define to empty value.
44331         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
44332         [libc_hidden_builtin_def]: Likewise.
44333         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
44334         [libc_hidden_builtin_def]: Likewise.
44335         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
44336         [libc_hidden_builtin_def]: Likewise.
44337         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
44338         __redirect_memcpy and define ifunc as default hidden symbol.
44339         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
44340         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
44342 2014-05-04  Adam Conrad  <adconrad@0c3.net>
44344         * locale/iso-4217.def: Reintroduce XDR currency.
44346 2014-05-04  Allan McRae  <allan@archlinux.org>
44348         * po/eo.po: Update Esperanto translation from translation project.
44350 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
44352         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
44353         and FEATURE_INDEX_MAX to 1.
44354         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
44356 2014-05-01  Steve Ellcey  <sellcey@mips.com>
44358         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
44359         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
44360         * iconvdata/big5.c (ONE_DIRECTION): Define.
44361         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
44362         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
44363         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
44364         * iconvdata/cp932.c (ONE_DIRECTION): Define.
44365         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
44366         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
44367         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
44368         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
44369         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
44370         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
44371         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
44372         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
44373         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
44374         * iconvdata/gbk.c (ONE_DIRECTION): Define.
44375         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
44376         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
44377         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
44378         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
44379         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
44380         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
44381         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
44382         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
44383         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
44384         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
44385         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
44386         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
44387         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
44388         * iconvdata/iso646.c (ONE_DIRECTION): Define.
44389         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
44390         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
44391         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
44392         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
44393         * iconvdata/johab.c (ONE_DIRECTION): Define.
44394         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
44395         * iconvdata/sjis.c (ONE_DIRECTION): Define.
44396         * iconvdata/t.61.c (ONE_DIRECTION): Define.
44397         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
44398         * iconvdata/tscii.c (ONE_DIRECTION): Define.
44399         * iconvdata/uhc.c (ONE_DIRECTION): Define.
44400         * iconvdata/unicode.c (ONE_DIRECTION): Define.
44401         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
44402         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
44403         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
44405 2014-05-01  Roland McGrath  <roland@hack.frob.com>
44407         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
44408         (_IO_JUMPS_OFFSET): Define to 0.
44410         * nptl/sysdeps/pthread/bits/libc-lock.h
44411         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
44412         (__libc_lock_define_initialized_recursive): Always define using
44413         initializer.  Modern compilers treat uninitialized (implicit zero) and
44414         explicit zero initializers the same (i.e. put the datum in bss).
44416 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44418         * nscd/nscd-client.h: Include <string.h>.
44420 2014-05-01  David S. Miller  <davem@davemloft.net>
44422         [BZ #16885]
44423         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
44424         multiple zero bytes exist at the end of a string.
44425         Reported by Aurelien Jarno <aurelien@aurel32.net>
44427         * string/test-strcmp.c (check): Add explicit test for situations where
44428         there are multiple zero bytes after the first.
44430 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44432         [BZ #16890]
44433         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
44434         when compiling wprintf.
44435         * stdio-common/tstdiomisc.c (t3): New function.
44436         (main): Call it.
44438 2014-05-01  Steve Ellcey  <sellcey@mips.com>
44440         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
44441         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
44442         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
44443         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
44445 2014-05-01  Steve Ellcey  <sellcey@mips.com>
44447         * stdlib/longlong.h: Updated from GCC.
44449 2014-05-01  Will Newton  <will.newton@linaro.org>
44450             Bernard Ogden  <bernie.ogden@linaro.org>
44452         * NEWS: Update fixed bug list.
44454         [BZ #15119]
44455         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
44457 2014-04-30  David S. Miller  <davem@davemloft.net>
44459         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
44460         (libc_feholdexcept_setround_sparc_ctx): New function.
44461         (libc_fesetenv_sparc_ctx): Likewise.
44462         (libc_feupdateenv_sparc_ctx): Likewise.
44463         (libc_feholdsetround_sparc_ctx): Likewise.
44464         (libc_feholdexcept_setround_ctx): Define.
44465         (libc_feholdexcept_setroundf_ctx): Likewise.
44466         (libc_feholdexcept_setroundl_ctx): Likewise.
44467         (libc_fesetenv_ctx): Likewise.
44468         (libc_fesetenvf_ctx): Likewise.
44469         (libc_fesetenvl_ctx): Likewise.
44470         (libc_feupdateenv_ctx): Likewise.
44471         (libc_feupdateenvf_ctx): Likewise.
44472         (libc_feupdateenvl_ctx): Likewise.
44473         (libc_feresetround_ctx): Likewise.
44474         (libc_feresetroundf_ctx): Likewise.
44475         (libc_feresetroundl_ctx): Likewise.
44476         (libc_feholdsetround_ctx): Likewise.
44477         (libc_feholdsetroundf_ctx): Likewise.
44478         (libc_feholdsetroundl_ctx): Likewise.
44480         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
44481         with __USE_GNU instead of XOPEN cpp guards.
44483         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
44484         0.
44486         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
44487         with XOPEN cpp guards.
44489 2014-04-30  Julian Brown  <julian@codesourcery.com>
44491         [BZ #16888]
44492         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
44493         handling.
44495 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
44497         [BZ #9894]
44498         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
44499         Change to 2.6.32.
44500         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
44501         * sysdeps/unix/sysv/linux/configure: Regenerated.
44502         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
44503         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
44504         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
44505         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
44506         * README: Update reference to required Linux kernel version.
44507         * manual/install.texi (Linux): Update reference to required Linux
44508         kernel headers version.
44509         * INSTALL: Regenerated.
44511         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
44512         header inclusion.
44513         [POSIX] (limits.h): Likewise.
44514         [POSIX] (math.h): Likewise.
44515         [POSIX] (sys/wait.h): Likewise.
44516         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
44517         function.
44518         [POSIX] (stddef.h): Do not allow header inclusion.
44520 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44522         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
44524 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
44526         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
44527         Return immediately after lll_futex_wake.
44529 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44531         [BZ #16791]
44532         * nscd/nscd-client.h (datahead_init_common): Initialize entire
44533         structure.
44534         (datahead_init_pos): Call datahead_init_common early.
44535         (datahead_init_neg): Likewise.
44537         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
44538         datahead_init_neg): New functions.
44539         * nscd/aicache.c (addhstaiX): Use them.
44540         * nscd/grpcache.c (cache_addgr): Likewise.
44541         * nscd/hstcache.c (cache_addhst): Likewise.
44542         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44543         * nscd/netgroupcache.c (do_notfound): Likewise.
44544         (addgetnetgrentX): Likewise.
44545         (addinnetgrX): Likewise.
44546         * nscd/pwdcache.c (cache_addpw): Likewise.
44547         * nscd/servicescache.c (cache_addserv): Likewise.
44549 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44550             Atsushi Onoe  <atsushi@onoe.org>
44552         [BZ #14308]
44553         [BZ #12994]
44554         [BZ #13651]
44555         * resolv/res_query.c (__libc_res_nsearch): Return if at least
44556         one response is valid.
44557         * resolv/res_send.c (send_dg): Check for validity of other
44558         response if the current response is a referral.
44560 2014-04-29  Steve Ellcey  <sellcey@mips.com>
44562         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
44564 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
44566         [BZ #16823]
44567         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
44568         Always divide by positive zero when computing -Inf result.
44569         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
44570         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
44572 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44574         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
44575         FPSCR if value do not change.
44576         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
44577         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
44578         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
44579         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
44580         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
44581         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
44582         function.
44584 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
44586         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
44587         * sysdeps/unix/sysv/linux/hppa: Move directory from
44588         ports/systeps/unix/sysv/linux/hppa.
44589         * README: Update listing for hppa-*-linux-gnu.
44591 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
44593         [BZ #16754]
44594         * manual/stdio.texi (Hook functions): Fix types of stream hook
44595         functions.
44596         [BZ #16854]
44597         * socket/sys/socket.h: Fix typo in comment.
44599 2014-04-28  Wilco  <wdijkstr@arm.com>
44601         * sysdeps/arm/fenv_private.h: New file.
44602         * sysdeps/arm/math_private.h: New file.
44603         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
44605 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
44607         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
44608         with __int128_t.
44609         (La_x86_64_retval): Likewise.
44611 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
44613         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
44614         fpsr if value didn't change.
44615         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
44616         to fpcr if value didn't change.
44617         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
44618         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
44619         fpsr or fpcr if value didn't change.
44620         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
44621         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
44622         fpcr if value didn't change.
44623         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
44624         to fpsr if value didn't change.
44626 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44628         * nptl/tst-sem3.c: Use test-skeleton.c
44629         (main): Rename to do_test.  Use return instead of
44630         exit.
44631         * nptl/tst-sem4.c: Use test-skeleton.c
44632         (main): Rename to do_test.
44634 2014-04-22  David S. Miller  <davem@davemloft.net>
44636         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
44637         (struct sigaction): New struct member __glibc_reserved0, change
44638         type of sa_flags to int.
44640 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
44642         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
44643         (COUNT_LEADING_ZEROS_0): Define for AArch64.
44645 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44647         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
44648         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
44650 2014-04-22  Will Newton  <will.newton@linaro.org>
44651             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
44653         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
44654         (__longjmp): Add longjmp and longjmp_target SystemTap
44655         probes.
44656         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
44657         (__sigsetjmp): Add setjmp SystemTap probe.
44659 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
44661         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
44662         match manual order.
44664 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44666         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
44668         * sysdeps/powerpc/fpu/fenv_private.h
44669         (libc_feholdexcept_setroundl_ctx): Define to
44670         libc_feholdexcept_setround_ppc_ctx.
44671         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
44672         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
44673         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
44674         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
44676 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
44678         * sysdeps/aarch64/math-tests.h: New file.
44680 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
44682         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
44683         New.
44684         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44685         Check and set bit_AVX2_Usable.
44686         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
44687         macro.
44688         (bit_AVX2): Likewise.
44689         (index_AVX2_Usable): Likewise.
44690         (CPUID_AVX2): Likewise.
44691         (HAS_AVX2): Likewise.
44693 2014-04-17  Will Newton  <will.newton@linaro.org>
44695         * manual/setjmp.texi (System V contexts): Add note that
44696         calling setcontext on a context created by a call to a
44697         signal handler is undefined.  Update text to note that
44698         setcontext from a signal handler is possible but not
44699         recommended.
44701         [BZ #16629]
44702         * stdlib/tst-setcontext.c: Include signal.h.
44703         (main): Check that the signal stack before and
44704         after swapcontext is the same.
44706         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
44707         Re-implement to restore registers in user code and avoid
44708         rt_sigreturn system call.
44710 2014-04-17  Wilco  <wdijkstr@arm.com>
44712         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
44713         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
44714         * math/test-fenv.c: Skip exception trap tests on targets which only
44715         support non-stop mode.
44717 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
44718             Wilco Dijkstra  <wilco.dijkstra@arm.com>
44720         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
44721         (libc_feholdsetround_aarch64_ctx)
44722         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
44723         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
44724         (libc_feresetround_ctx, libc_feresetroundf_ctx)
44725         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
44726         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
44727         (libc_feresetround_noexl_ctx): Define.
44729 2014-04-16  Richard Henderson  <rth@redhat.com>
44731         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
44733         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
44734         unwind tables.
44736         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
44737         const from the non-libc, non-ldso copy.
44739         * sysdeps/alpha/libm-test-ulps: Regenerate.
44741 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
44742             Wilco Dijkstra  <wilco.dijkstra@arm.com>
44744         * sysdeps/aarch64/fpu/math_private.h: New file.
44746 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44748         * sysdeps/aarch64/libm-test-ulps: Regenerate.
44750 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
44752         [BZ #16275]
44753         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
44754         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
44755         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
44756         Intel MPX bound registers before _dl_profile_fixup.
44757         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
44758         registers after _dl_profile_fixup.  Save and restore bound
44759         registers bnd0/bnd1 when calling _dl_call_pltexit.
44760         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
44761         (LR_BND_OFFSET): Likewise.
44762         (LRV_BND0_OFFSET): Likewise.
44763         (LRV_BND1_OFFSET): Likewise.
44765 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44767         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
44768         to...
44769         * sysdeps/mach/hurd/i386/tls.h: ... here.
44770         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
44771         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
44772         fields.
44774 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44776         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
44778 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
44780         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44782 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
44784         [BZ #14770]
44785         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
44786         * sysdeps/s390/configure: Regenerate.
44788         [BZ #16824]
44789         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
44790         Set round-to-nearest internally to reduce error accumulation.
44792 2014-04-16  Alan Modra  <amodra@gmail.com>
44794         [BZ #16740]
44795         [BZ #16619]
44796         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
44797         * math/libm-test.inc (frexp_test_data): Add tests.
44798         * NEWS: Update fixed bug list.
44800 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44802         * benchtests/Makefile: Depend on libraries in build directory.
44803         (bench-math): Separate out math tests.
44804         (bench-pthread): Separate out pthread tests.
44805         (bench): Include math and pthread tests.
44807 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
44809         [BZ #16831]
44810         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
44811         _dl_debug_initialize.
44813         * configure.ac: Remove SELinux header check.
44814         * configure: Regenerate.
44815         * nscd/selinux.c (perms): Array of const char* to permission names.
44816         (nscd_request_avc_has_perm): Call security_deny_unknown to find
44817         default policy. Call string_to_security_class and string_to_av_perm to
44818         translate strings. Enforce default policy and call avs_has_perm with
44819         results of translated strings.
44821 2014-04-13  David S. Miller  <davem@davemloft.net>
44823         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44825 2014-04-12  Allan McRae  <allan@archlinux.org>
44827         [BZ #16838]
44828         * manual/string.texi (Collation Functions): Fix qsort argument
44829         order in example.
44830         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44832 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
44834         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
44835         Make the test a no-op if there are no exceptions defined.
44837 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
44839         * elf/Makefile (tests): make tst-dlopen-aout conditional on
44840         enable-hardcoded-path-in-tests
44842 2014-04-11  Will Newton  <will.newton@linaro.org>
44844         * benchtests/Makefile (extra-objs): Add json-lib.o.
44845         (bench-func): Tidy up JSON output.
44846         * benchtests/bench-skeleton.c: Include json-lib.h.
44847         (main): Use JSON library functions to do output of
44848         benchmark results.
44849         * benchtests/bench-timing-type.c (main): Output the
44850         timing type simply, leaving formatting to the user.
44851         * benchtests/json-lib.c: New file.
44852         * benchtests/json-lib.h: Likewise.
44854 2014-04-11  Torvald Riegel  <triegel@redhat.com>
44856         [BZ #15215]
44857         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
44858         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
44859         memory barriers.  Add comments.
44860         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
44861         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
44862         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
44863         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
44864         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
44865         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
44867 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
44869         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
44870         * sysdeps/s390/s390-64/configure.ac: ... this ...
44871         * sysdeps/s390/configure.ac: ... to here.
44872         * sysdeps/s390/s390-32/configure: Delete file.
44873         * sysdeps/s390/s390-64/configure: Delete file.
44874         * sysdeps/s390/configure: Regenerate.
44876 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
44878         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
44880 2014-04-11  Will Newton  <will.newton@linaro.org>
44882         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
44883         to zero if it is not defined elsewhere.  (mtrim): Test
44884         the value of MALLOC_DEBUG with #if rather than #ifdef.
44886 2014-04-10 Torvald Riegel  <triegel@redhat.com>
44888         * benchtests/pthread_once-inputs: New file.
44889         * benchtests/pthread_once-source.c: New file.
44890         * benchtests/README: Update documentation.
44892 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
44893             H.J. Lu  <hongjiu.lu@intel.com>
44895         [BZ #16275]
44896         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
44897         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
44898         * sysdeps/x86_64/configure: Regenerated.
44899         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
44900         macro.
44901         (REGISTER_SAVE_RAX): Likewise.
44902         (REGISTER_SAVE_RCX): Likewise.
44903         (REGISTER_SAVE_RDX): Likewise.
44904         (REGISTER_SAVE_RSI): Likewise.
44905         (REGISTER_SAVE_RDI): Likewise.
44906         (REGISTER_SAVE_R8): Likewise.
44907         (REGISTER_SAVE_R9): Likewise.
44908         (REGISTER_SAVE_BND0): Likewise.
44909         (REGISTER_SAVE_BND1): Likewise.
44910         (REGISTER_SAVE_BND2): Likewise.
44911         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
44912         bound registers when calling _dl_fixup.
44914 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44916         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
44917         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
44918         of its definition.
44919         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
44920         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
44921         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
44922         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
44923         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
44924         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
44925         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
44927 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
44929         [BZ #15514]
44930         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
44931         pathconf(_PC_NAME_MAX).
44933 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44935         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
44936         Remove macro usage.
44937         (__PTHREAD_SPINS): Move definition to ...
44938         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
44939         (__PTHREAD_SPINS): ... here.
44940         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
44941         (__PTHREAD_SPIN): Likewise.
44942         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
44943         (__PTHREAD_SPIN): Likewise.
44944         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
44945         (__PTHREAD_SPIN): Likewise.
44946         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
44947         (__PTHREAD_SPIN): Likewise.
44948         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
44949         (__PTHREAD_SPIN): Likewise.
44950         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
44951         (__PTHREAD_SPIN): Likewise.
44952         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
44953         (__PTHREAD_SPIN): Likewise.
44954         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
44955         (__PTHREAD_SPIN): Likewise.
44956         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
44957         (__PTHREAD_SPIN): Likewise.
44958         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
44959         (__PTHREAD_SPIN): Likewise.
44960         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
44961         (__PTHREAD_SPIN): Likewise.
44962         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
44963         (__PTHREAD_SPIN): Likewise.
44965         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
44966         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
44967         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
44968         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
44969         imply folder.
44970         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
44971         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
44972         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
44973         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
44974         correct imply path.
44975         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
44976         strlen symbol for non multi-arch builds.
44977         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
44978         missing hidden_def and weak_alias.
44980 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
44982         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
44984 2014-04-07  Will Newton  <will.newton@linaro.org>
44986         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
44987         and contents.  [!_LIBC] Remove #ifndef and contents.
44988         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
44989         * string/memccpy.c (__memccpy): Use ANSI prototype.
44990         * string/memfrob.c (memfrob): Likewise.
44991         * string/strcoll.c (STRCOLL): Likewise.
44992         * string/strlen.c (strlen): Likewise.
44993         * string/strtok.c (STRTOK): Likewise.
44994         * string/strcat.c: Remove unused #include of memcopy.h.
44995         (strcat): Use ANSI prototype.
44996         * string/strchr.c: Remove unused #include of memcopy.h.
44997         (strchr): Use ANSI prototype.
44998         * string/strcmp.c: Remove unused #include of memcopy.h.
44999         (strcmp): Use ANSI prototype.
45000         * string/strcpy.c: Remove unused #include of memcopy.h.
45001         (strcpy): Use ANSI prototype.
45003 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45005         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
45006         * config.make.in (config-extra-cppflags): Set it from
45007         libc_extra_cppflags.
45008         * configure.ac (libc_extra_cflags): Make it accumulate over
45009         configure fragments.
45010         (libc_extra_cppflags): New flag.
45011         * configure. Regenerate.
45012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
45013         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
45014         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
45015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
45017         [BZ #16815]
45018         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
45019         result for FE_DOWNWARD rounding mode.
45020         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
45021         Likewise.
45022         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45024 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
45026         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
45027         in function argument name.
45029 2014-04-03  David Svoboda  <svoboda@cert.org>
45031         [BZ #5666]
45032         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
45033         explicitly.
45035 2014-04-03  Roland McGrath  <roland@hack.frob.com>
45037         * elf/dl-unmap-segments.h: New file.
45038         * sysdeps/generic/ldsodefs.h
45039         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
45040         * elf/dl-close.c: Include <dl-unmap-segments.h>.
45041         * elf/dl-fptr.c: Likewise.
45042         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
45043         * sysdeps/aarch64/tlsdesc.c: Likewise.
45044         * sysdeps/arm/tlsdesc.c: Likewise.
45045         * sysdeps/i386/tlsdesc.c: Likewise.
45046         * sysdeps/tile/dl-runtime.c: Likewise.
45047         * sysdeps/x86_64/tlsdesc.c: Likewise.
45048         * elf/dl-load.h: New file.
45049         * elf/dl-load.c: Include it.
45050         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
45051         Macros moved to dl-load.h.
45052         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
45053         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
45054         Use _dl_unmap_segments in place of __munmap.
45055         Break out segment-mapping loop into ...
45056         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
45058 2014-04-03  Will Newton  <will.newton@linaro.org>
45060         * elf/dl-lookup.c (do_lookup_x): Remove comment
45061         referring to nested function and move variable
45062         declarations down to before first use.
45064 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
45066         [BZ #16799]
45067         [BZ #16800]
45068         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
45069         with 0 numerator.
45070         * math/s_catanf.c (__catanf): Likewise.
45071         * math/s_catanh.c (__catanh): Likewise.
45072         * math/s_catanhf.c (__catanhf): Likewise.
45073         * math/s_catanhl.c (__catanhl): Likewise.
45074         * math/s_catanl.c (__catanl): Likewise.
45075         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
45076         by positive zero when computing -Inf result.
45077         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
45078         (catanh_test): Likewise.
45079         * sysdeps/i386/fpu/libm-test-ulps: Update.
45080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45082         [BZ #16789]
45083         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
45084         instead of using underflowing value in computing result.
45085         * math/s_clog10.c (__clog10): Likewise.
45086         * math/s_clog10f.c (__clog10f): Likewise.
45087         * math/s_clog10l.c (__clog10l): Likewise.
45088         * math/s_clogf.c (__clogf): Likewise.
45089         * math/s_clogl.c (__clogl): Likewise.
45090         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
45091         (clog10_test): Likewise.
45092         * sysdeps/i386/fpu/libm-test-ulps: Update.
45093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45095 2014-04-02  Alan Modra  <amodra@gmail.com>
45097         [BZ #16739]
45098         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
45099         output when value is near a power of two.  Use int64_t for lx and
45100         remove casts.  Use decimal rather than hex exponent constants.
45101         Don't use long double multiplication when double will suffice.
45102         * math/libm-test.inc (nextafter_test_data): Add tests.
45103         * NEWS: Add 16739 and 16786 to bug list.
45105         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
45107         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
45109 2014-04-01  Will Newton  <will.newton@linaro.org>
45111         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
45112         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
45114 2014-04-01  Florian Weimer  <fweimer@redhat.com>
45116         [BZ #13347]
45117         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
45118         * nptl/tst-setuid2.c: New file.
45119         * nptl/Makefile (xtests): Add tst-setuid2.
45121 2014-04-01  Alan Modra  <amodra@gmail.com>
45123         [BZ #16786]
45124         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
45126 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
45128         [BZ #6803]
45129         [BZ #6804]
45130         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
45131         set errno as appropriate.
45132         * math/w_scalbf.c (__scalbf): Likewise.
45133         * math/w_scalbl.c (__scalbl): Likewise.
45134         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
45135         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
45136         * math/libm-test.inc (scalb_test_data): Add errno expectations.
45137         Add more NaN tests.
45139         [BZ #16349]
45140         * math/w_atan2.c: Include <errno.h>.
45141         (__atan2): Set errno for result underflowing to zero.
45142         * math/w_atan2f.c: Include <errno.h>.
45143         (__atan2f): Set errno for result underflowing to zero.
45144         * math/w_atan2l.c: Include <errno.h>.
45145         (__atan2l): Set errno for result underflowing to zero.
45146         * math/auto-libm-test-in: Don't allow missing errno for some atan2
45147         tests.
45148         * math/auto-libm-test-out: Regenerated.
45150 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45152         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
45153         Encode instruction correctly in little endian.
45154         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
45155         Likewise.
45156         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
45157         Likewise.
45158         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
45159         Likewise.
45160         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
45161         Likewise.
45163 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
45165         [BZ #9894]
45166         * sysdeps/unix/sysv/linux/kernel-features.h
45167         [__sparc__ && !__arch64__ && !__sparc_v9__]
45168         (__ASSUME_SET_ROBUST_LIST): Do not define.
45169         [__sparc__ && !__arch64__ && !__sparc_v9__]
45170         (__ASSUME_FUTEX_LOCK_PI): Likewise.
45171         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
45172         Likewise.
45173         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45174         (__ASSUME_FUTEX_LOCK_PI): Undefine.
45175         (__ASSUME_REQUEUE_PI): Likewise.
45176         (__ASSUME_SET_ROBUST_LIST): Likewise.
45177         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45178         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
45179         Undefine.
45180         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45181         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
45182         Likewise.
45183         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
45184         Likewise.
45185         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
45186         Likewise.
45187         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45188         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
45189         Undefine.
45190         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
45191         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
45192         Likewise.
45194         [BZ #16648]
45195         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45196         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
45197         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
45199 2014-03-31  Will Newton  <will.newton@linaro.org>
45201         * benchtests/Makefile (bench): Add ffs and ffsll to list
45202         of tests.
45203         * benchtests/ffs-inputs: New file.
45204         * benchtests/ffsll-inputs: Likewise.
45206 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
45208         [BZ #16770]
45209         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
45210         too large before casting to int.
45211         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
45212         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
45213         * math/libm-test.inc (scalb_test_data): Add more tests.
45215 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45217         * benchtests/Makefile (DETAILED_OPT): New make option.
45218         (bench-func): Run benchmark program with -d if DETAILED_OPT is
45219         set.
45220         * benchtests/bench-skeleton.c: Include stdbool.h.
45221         (main): Store and print timings per input.
45222         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
45223         member to each argument value.
45224         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
45225         (_print_arg_data): Initialize per-input timing to 0.
45227         * benchtests/Makefile (timing-type): New binary.
45228         (bench-clean): Also remove bench-timing-type.
45229         (bench): New target for timing-type.
45230         (bench-func): Print output in JSON format.
45231         * benchtests/bench-skeleton.c (main): Print output in JSON
45232         format.
45233         * benchtests/bench-timing-type.c: New file.
45234         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
45235         (TIMING_PRINT_STATS): Remove.
45236         * benchtests/scripts/bench.py (_print_arg_data): Store variant
45237         name separately.
45239         * benchtests/bench-modf.c: Remove.
45240         * benchtests/modf-inputs: New inputs file.
45242 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
45244         [BZ #16362]
45245         * math/s_clog10.c (M_PI_LOG10E): New macro.
45246         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
45247         imaginary parts are 0.
45248         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
45249         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
45250         imaginary parts are 0.
45251         * math/s_clog10l.c (M_PI_LOG10El): New macro.
45252         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
45253         imaginary parts are 0.
45254         * math/libm-test.inc (clog10_test_data): Update expected results
45255         for when real and imaginary parts are 0.
45257 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
45259         * elf/dl-load.c: Finish conversion of __builtin_expect into
45260         __glibc_{un}likely.
45262 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
45264         [BZ #16348]
45265         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
45266         1+x for argument with exponent below -67.
45267         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
45268         Likewise.
45269         * math/auto-libm-test-in: Add more tests of exp.
45270         * math/auto-libm-test-out: Regenerated.
45272 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45274         [BZ #16759]
45275         * inet/getnetgrent_r.c (get_nonempty_val): New function.
45276         (nscd_getnetgrent): Use it.
45278         [BZ #16760]
45279         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
45280         of stpcpy.
45282 2014-03-27  Andi Kleen  <ak@linux.intel.com>
45284         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
45285         (lll_robust_lock, lll_cond_lock, lll_timedlock)
45286         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
45287         (lll_robust_unlock): Remove out of line section. Use cfi
45288         intrinsics.
45289         (LLL_STUB_UNWIND_INFO*): Remove.
45290         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
45291         (lll_robust_lock, lll_cond_lock, lll_timedlock)
45292         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
45293         (lll_robust_unlock): Remove out of line section. Use cfi
45294         intrinsics.
45295         (LLL_STUB_UNWIND_INFO*): Remove.
45297 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45299         [BZ #16758]
45300         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
45301         blank values.
45303 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
45305         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
45307 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
45309         [BZ #16198]
45310         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
45311         fnstenv.
45312         * math/test-fenv-preserve.c: New file.
45313         * math/Makefile (tests): Add test-fenv-preserve.
45315 2014-03-26  Will Newton <will.newton@linaro.org>
45317         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
45319 2014-03-25  Roland McGrath  <roland@hack.frob.com>
45321         * scripts/versionlist.awk: Partition the version sets and emit all
45322         GLIBC_* (sorted) before all others (sorted).
45324 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
45326         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
45327         GLIBC_2.2.5 version.
45329 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45331         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
45332         calls.
45334         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
45335         previous change.
45337         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45339 2014-03-25  Andreas Schwab  <schwab@suse.de>
45341         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
45342         label to be used after in6ailist is initialized.
45344 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45346         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
45347         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
45349 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
45351         [BZ #16357]
45352         [BZ #16599]
45353         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
45354         min_plus_half.
45355         (fp_formats): Update initializers.
45356         (init_fp_formats): Initialize new field.
45357         (output_for_one_input_case): Allow underflow for results up to
45358         min_plus_half.
45359         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
45360         * math/auto-libm-test-in: Don't mark some underflows from asin and
45361         atanh as spurious.
45362         * math/auto-libm-test-out: Regenerated.
45363         * sysdeps/i386/fpu/libm-test-ulps: Update.
45364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45366 2014-03-25  Andreas Schwab  <schwab@suse.de>
45368         * libio/Makefile (tst-ftell-partial-wide-ENV)
45369         (tst-ftell-active-handler-ENV): Define.
45371 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
45373         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
45375 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
45377         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
45379 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
45381         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
45382         * sysdeps/x86_64/fpu/multiarch/e_exp.c
45383         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
45385 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
45387         [BZ #16634]
45388         * elf/dl-load.c (open_verify): Add mode parameter.
45389         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
45390         (open_path): Change from boolean 'secure' to complete flag 'mode'
45391         (_dl_map_object): Adjust.
45392         * elf/Makefile (tests): Add tst-dlopen-aout.
45393         * elf/tst-dlopen-aout.c: New test.
45395 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
45397         [BZ #16714]
45398         * sysdeps/unix/sysv/linux/s390/bits/stat.h
45399         (struct stat): Rename member pad0 to __glibc_reserved0.
45401         [BZ #16712]
45402         * sysdeps/s390/s390-32/bits/wordsize.h
45403         (__WORDSIZE32_SIZE_ULONG): New define.
45404         * sysdeps/s390/s390-64/bits/wordsize.h
45405         (__WORDSIZE32_SIZE_ULONG): Likewise.
45406         * sysdeps/generic/stdint.h (SIZE_MAX):
45407         Define as UL if __WORDSIZE32_SIZE_ULONG.
45409         [BZ #16713]
45410         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
45411         (__glibc_reserved0): New variable.
45412         (sa_flags): Change type to int.
45414         * posix/Makefile (before-compile): Use += before-compile instead
45415         of a :=.
45417         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
45418         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
45420 2014-03-20  Andreas Schwab  <schwab@suse.de>
45422         [BZ #16743]
45423         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
45424         non-matching result from nscd.
45426 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45428         * scripts/bench.py: Moved to ...
45429         * benchtests/scripts/bench.py: ... here.
45430         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
45432 2014-03-24  Andreas Schwab  <schwab@suse.de>
45434         [BZ #16002]
45435         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
45436         alloca_account and account alloca use for struct in6ailist.
45438 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
45440         [BZ #16284]
45441         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
45442         rounding mode to recompute results that overflow to infinity or
45443         underflow to zero.
45444         * math/auto-libm-test-in: Don't mark tests as expected to fail for
45445         bug 16284.
45446         * math/auto-libm-test-out: Regenerated.
45447         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
45448         (ccosh_test): Likewise.
45449         (csin_test_data): Use plus_oflow.
45450         (csin_test): Use ALL_RM_TEST.
45451         (csinh_test_data): Use plus_oflow.
45452         (csinh_test): Use ALL_RM_TEST.
45453         * sysdeps/i386/fpu/libm-test-ulps: Update.
45454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45456 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
45458         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
45459         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
45460         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
45462         [BZ #16731]
45463         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
45464         when x - 1 is zero.
45465         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
45466         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
45467         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
45468         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
45469         argument is 1.
45470         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
45471         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
45472         zero.
45473         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
45474         * sysdeps/i386/fpu/libm-test-ulps: Update.
45475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45477 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45479         * scripts/bench.pl: Remove file.
45480         * scripts/bench.py: New benchmark script.
45481         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
45482         * benchtests/README: Mention python dependency.
45483         * scripts/pylintrc: New file.
45484         * scripts/pylint: New file.
45486         * bits/mathdef.h: Use #ifdef instead of #if.
45487         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
45488         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
45489         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
45490         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
45491         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
45492         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
45494 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45495             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45497         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
45498         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
45499         and strpbrk-ppc64 objects.
45500         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45501         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
45502         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
45503         multiarch strpbrk for POWER7.
45504         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
45505         multiarch strpbrk for PPC64.
45506         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
45507         ifunc selector.
45508         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
45509         strpbrk for POWER7.
45511 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
45513         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
45514         (atan_test): Likewise.
45515         (atanh_test_data): Use NO_TEST_INLINE for two tests.
45516         (atanh_test): Use ALL_RM_TEST.
45517         (atan2_test_data): Likewise.
45518         (cabs_test): Likewise.
45519         (cacosh_test): Likewise.
45520         (carg_test): Likewise.
45521         (casin_test): Likewise.
45522         (casinh_test): Likewise.
45523         (cbrt_test): Likewise.
45524         (csqrt_test): Likewise.
45525         (erf_test): Likewise.
45526         (erfc_test): Likewise.
45527         (pow10_test): Likewise.
45528         (exp2_test): Likewise.
45529         (hypot_test): Likewise.
45530         (j0_test): Likewise.
45531         (j1_test): Likewise.
45532         (lgamma_test): Likewise.
45533         (gamma_test): Likewise.
45534         (sincos_test): Likewise.
45535         (tanh_test): Likewise.
45536         (y0_test): Likewise.
45537         (y1_test): Likewise.
45538         * sysdeps/i386/fpu/libm-test-ulps: Update.
45539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45541 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45543         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
45544         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
45545         and strcspn-ppc64 objects.
45546         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45547         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
45548         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
45549         multiarch strcspn for POWER7.
45550         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
45551         multiarch strcspn for PPC64.
45552         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
45553         ifunc selector.
45554         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
45555         strcspn for POWER7.
45557 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
45559         * math/gen-libm-test.pl (generate_testfile): Expect only function
45560         name as argument to AUTO_TESTS_* and pass results for all rounding
45561         modes to parse_args.
45562         (parse_auto_input): Separate inputs of automatic tests from
45563         outputs before storing in %auto_tests.
45564         * math/libm-test.inc (acos_test_data): Update call to
45565         AUTO_TESTS_f_f.
45566         (acos_test): Use ALL_RM_TEST.
45567         (acos_tonearest_test_data): Remove.
45568         (acos_test_tonearest): Likewise.
45569         (acos_towardzero_test_data): Likewise.
45570         (acos_test_towardzero): Likewise.
45571         (acos_downward_test_data): Likewise.
45572         (acos_test_downward): Likewise.
45573         (acos_upward_test_data): Likewise.
45574         (acos_test_upward): Likewise.
45575         (acosh_test_data): Update call to AUTO_TESTS_f_f.
45576         (asin_test_data): Likewise.
45577         (asin_test): Use ALL_RM_TEST.
45578         (asin_tonearest_test_data): Remove.
45579         (asin_test_tonearest): Likewise.
45580         (asin_towardzero_test_data): Likewise.
45581         (asin_test_towardzero): Likewise.
45582         (asin_downward_test_data): Likewise.
45583         (asin_test_downward): Likewise.
45584         (asin_upward_test_data): Likewise.
45585         (asin_test_upward): Likewise.
45586         (asinh_test_data): Update call to AUTO_TESTS_f_f.
45587         (atan_test_data): Likewise.
45588         (atanh_test_data): Likewise.
45589         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
45590         (cabs_test_data): Update call to AUTO_TESTS_c_f.
45591         (carg_test_data): Likewise.
45592         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
45593         (ccos_test_data): Update call to AUTO_TESTS_c_c.
45594         (ccosh_test_data): Likewise.
45595         (cexp_test_data): Likewise.
45596         (clog_test_data): Likewise.
45597         (clog10_test_data): Likewise.
45598         (cos_test_data): Update call to AUTO_TESTS_f_f.
45599         (cos_test): Use ALL_RM_TEST.
45600         (cos_tonearest_test_data): Remove.
45601         (cos_test_tonearest): Likewise.
45602         (cos_towardzero_test_data): Likewise.
45603         (cos_test_towardzero): Likewise.
45604         (cos_downward_test_data): Likewise.
45605         (cos_test_downward): Likewise.
45606         (cos_upward_test_data): Likewise.
45607         (cos_test_upward): Likewise.
45608         (cosh_test_data): Update call to AUTO_TESTS_f_f.
45609         (cosh_test): Use ALL_RM_TEST.
45610         (cosh_tonearest_test_data): Remove.
45611         (cosh_test_tonearest): Likewise.
45612         (cosh_towardzero_test_data): Likewise.
45613         (cosh_test_towardzero): Likewise.
45614         (cosh_downward_test_data): Likewise.
45615         (cosh_test_downward): Likewise.
45616         (cosh_upward_test_data): Likewise.
45617         (cosh_test_upward): Likewise.
45618         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
45619         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
45620         (ctan_test_data): Likewise.
45621         (ctan_test): Use ALL_RM_TEST.
45622         (ctan_tonearest_test_data): Remove.
45623         (ctan_test_tonearest): Likewise.
45624         (ctan_towardzero_test_data): Likewise.
45625         (ctan_test_towardzero): Likewise.
45626         (ctan_downward_test_data): Likewise.
45627         (ctan_test_downward): Likewise.
45628         (ctan_upward_test_data): Likewise.
45629         (ctan_test_upward): Likewise.
45630         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
45631         (ctanh_test): Use ALL_RM_TEST.
45632         (ctanh_tonearest_test_data): Remove.
45633         (ctanh_test_tonearest): Likewise.
45634         (ctanh_towardzero_test_data): Likewise.
45635         (ctanh_test_towardzero): Likewise.
45636         (ctanh_downward_test_data): Likewise.
45637         (ctanh_test_downward): Likewise.
45638         (ctanh_upward_test_data): Likewise.
45639         (ctanh_test_upward): Likewise.
45640         (erf_test_data): Update call to AUTO_TESTS_f_f.
45641         (erfc_test_data): Likewise.
45642         (exp_test_data): Likewise.
45643         (exp_test): Use ALL_RM_TEST.
45644         (exp_tonearest_test_data): Remove.
45645         (exp_test_tonearest): Likewise.
45646         (exp_towardzero_test_data): Likewise.
45647         (exp_test_towardzero): Likewise.
45648         (exp_downward_test_data): Likewise.
45649         (exp_test_downward): Likewise.
45650         (exp_upward_test_data): Likewise.
45651         (exp_test_upward): Likewise.
45652         (exp10_test_data): Update call to AUTO_TESTS_f_f.
45653         (exp10_test): Use ALL_RM_TEST.
45654         (exp10_tonearest_test_data): Remove.
45655         (exp10_test_tonearest): Likewise.
45656         (exp10_towardzero_test_data): Likewise.
45657         (exp10_test_towardzero): Likewise.
45658         (exp10_downward_test_data): Likewise.
45659         (exp10_test_downward): Likewise.
45660         (exp10_upward_test_data): Likewise.
45661         (exp10_test_upward): Likewise.
45662         (exp2_test_data): Update call to AUTO_TESTS_f_f.
45663         (expm1_test_data): Likewise.
45664         (expm1_test): Use ALL_RM_TEST.
45665         (expm1_tonearest_test_data): Remove.
45666         (expm1_test_tonearest): Likewise.
45667         (expm1_towardzero_test_data): Likewise.
45668         (expm1_test_towardzero): Likewise.
45669         (expm1_downward_test_data): Likewise.
45670         (expm1_test_downward): Likewise.
45671         (expm1_upward_test_data): Likewise.
45672         (expm1_test_upward): Likewise.
45673         (fma_test_data): Update call to AUTO_TESTS_fff_f.
45674         (fma_test): Use ALL_RM_TEST.
45675         (fma_towardzero_test_data): Remove.
45676         (fma_test_towardzero): Likewise.
45677         (fma_downward_test_data): Likewise.
45678         (fma_test_downward): Likewise.
45679         (fma_upward_test_data): Likewise.
45680         (fma_test_upward): Likewise.
45681         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
45682         (j0_test_data): Update call to AUTO_TESTS_f_f.
45683         (j1_test_data): Likewise.
45684         (jn_test_data): Update call to AUTO_TESTS_if_f.
45685         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
45686         (log_test_data): Update call to AUTO_TESTS_f_f.
45687         (log10_test_data): Likewise.
45688         (log1p_test_data): Likewise.
45689         (log2_test_data): Likewise.
45690         (pow_test_data): Update call to AUTO_TESTS_ff_f.
45691         (pow_tonearest_test_data): Likewise.
45692         (sin_test_data): Update call to AUTO_TESTS_f_f.
45693         (sin_test): Use ALL_RM_TEST.
45694         (sin_tonearest_test_data): Remove.
45695         (sin_test_tonearest): Likewise.
45696         (sin_towardzero_test_data): Likewise.
45697         (sin_test_towardzero): Likewise.
45698         (sin_downward_test_data): Likewise.
45699         (sin_test_downward): Likewise.
45700         (sin_upward_test_data): Likewise.
45701         (sin_test_upward): Likewise.
45702         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
45703         (sinh_test_data): Update call to AUTO_TESTS_f_f.
45704         (sinh_test): Use ALL_RM_TEST.
45705         (sinh_tonearest_test_data): Remove.
45706         (sinh_test_tonearest): Likewise.
45707         (sinh_towardzero_test_data): Likewise.
45708         (sinh_test_towardzero): Likewise.
45709         (sinh_downward_test_data): Likewise.
45710         (sinh_test_downward): Likewise.
45711         (sinh_upward_test_data): Likewise.
45712         (sinh_test_upward): Likewise.
45713         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
45714         (sqrt_test): Use ALL_RM_TEST.
45715         (sqrt_tonearest_test_data): Remove.
45716         (sqrt_test_tonearest): Likewise.
45717         (sqrt_towardzero_test_data): Likewise.
45718         (sqrt_test_towardzero): Likewise.
45719         (sqrt_downward_test_data): Likewise.
45720         (sqrt_test_downward): Likewise.
45721         (sqrt_upward_test_data): Likewise.
45722         (sqrt_test_upward): Likewise.
45723         (tan_test_data): Update call to AUTO_TESTS_f_f.
45724         (tan_test): Use ALL_RM_TEST.
45725         (tan_tonearest_test_data): Remove.
45726         (tan_test_tonearest): Likewise.
45727         (tan_towardzero_test_data): Likewise.
45728         (tan_test_towardzero): Likewise.
45729         (tan_downward_test_data): Likewise.
45730         (tan_test_downward): Likewise.
45731         (tan_upward_test_data): Likewise.
45732         (tan_test_upward): Likewise.
45733         (tanh_test_data): Update call to AUTO_TESTS_f_f.
45734         (tgamma_test_data): Likewise.
45735         (y0_test_data): Likewise.
45736         (y1_test_data): Likewise.
45737         (yn_test_data): Update call to AUTO_TESTS_if_f.
45738         (main): Do not call removed functions.
45740 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
45742         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
45743         (ldexp_test_data): Remove.
45744         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
45745         scalbn_test_data.
45746         (scalb_test): Use ALL_RM_TEST.
45748 2014-03-19  Andreas Schwab  <schwab@suse.de>
45750         * nscd/nscd.service: Also invalidate netgroup cache on reload.
45752 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
45754         [BZ #16649]
45755         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45756         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
45757         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
45758         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45759         (__ASSUME_PREADV): Undefine.
45760         (__ASSUME_PWRITEV): Likewise.
45762 2014-03-18  Roland McGrath  <roland@hack.frob.com>
45764         * bits/mman-linux.h: Add comment about non-Linux use.
45765         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
45766         bits/mman-linux.h resting place.
45768         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
45769         * bits/mman-linux.h: ... here.
45771 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45773         * conform/conformtest.pl: Add standard definition when calling C
45774         preprocessor on data files.
45775         (checknamespace): Remove unused variable.
45777 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
45779         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
45780         minus_oflow, plus_uflow and minus_uflow in expected results.
45781         * math/libm-test.inc (scalbn_test_data): Add more tests of
45782         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
45783         minus_uflow.
45784         (scalbn_test): Use ALL_RM_TEST.
45785         (scalbln_test_data): Add more tests of negative arguments.  Use
45786         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
45787         (scalbln_test): Use ALL_RM_TEST.
45789 2014-03-18  Roland McGrath  <roland@hack.frob.com>
45791         * scripts/abilist.awk: Ignore symbols marked with .hidden.
45793 2014-03-18  Will Newton  <will.newton@linaro.org>
45795         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
45796         inaccurate comment.
45798 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
45800         * Makerules [!subdir] (check-abi): Exit with error status if a
45801         test failed.
45803 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
45805         * math/libm-test.inc (nearbyint_test_data): Include all tests used
45806         for rint.  Include results for all rounding modes.
45807         (nearbyint_test): Use ALL_RM_TEST.
45808         (rint_test_data): Include all tests used for nearbyint.
45810 2014-03-17  Will Newton  <will.newton@linaro.org>
45812         * nptl/sysdeps/pthread/pthread.h: Revert previous
45813         change.
45815         * sysdeps/generic/ldsodefs.h: Revert previous
45816         change.
45818         * libio/genops.c: Revert previous change.
45819         * libio/libioP.h: Likewise.
45820         * stdio-common/vfprintf.c: Likewise.
45822         * sysdeps/generic/math_private.h: Revert previous
45823         change.
45825         * sysdeps/generic/math_private.h: Check whether
45826         HAVE_RM_CTX is defined with #ifdef rather
45827         than #if.
45829         * argp/argp-fmtstream.h: Check whether
45830         __STRICT_ANSI__ is defined with #ifdef rather
45831         than #if.
45832         * argp/argp.h: Likewise.
45834         * libio/genops.c: Check whether
45835         _IO_JUMPS_OFFSET is defined with #ifdef rather
45836         than #if.
45837         * libio/libioP.h: Likewise.
45838         * stdio-common/vfprintf.c: Likewise.
45840         * sysdeps/generic/ldsodefs.h: Check whether
45841         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
45842         than #if.
45844         * nptl/sysdeps/pthread/pthread.h: Check
45845         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
45846         its value.
45848 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45850         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
45851         setting O_APPEND.
45852         * libio/tst-ftell-active-handler.c (do_append_test): Add a
45853         test case.
45855         [BZ #16680]
45856         * libio/fileops.c (_IO_file_open): Seek to end of file but
45857         don't cache the offset.
45858         (get_file_offset): Remove function.
45859         (do_ftell): Use cached offset when available.
45860         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
45861         don't cache the offset.
45862         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
45863         case.
45864         (do_one_test): Call it.
45865         (do_ftell_test): Fix up expected old offset for a+ mode.
45866         * libio/wfileops.c (do_ftell_wide): Used cached offset when
45867         available.
45869         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
45870         up test status with function return status.
45871         (do_write_test): Likewise.
45872         (do_append_test): Likewise.
45874         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
45875         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
45876         Remove.
45878 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
45880         * math/gen-libm-test.pl (parse_args): Handle results specified for
45881         each rounding mode separately.
45882         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
45883         tests and results from lrint_tonearest_test_data,
45884         lrint_towardzero_test_data, lrint_downward_test_data and
45885         lrint_upward_test_data.
45886         (lrint_test): Use ALL_RM_TEST.
45887         (lrint_tonearest_test_data): Remove.
45888         (lrint_test_tonearest): Likewise.
45889         (lrint_towardzero_test_data): Likewise.
45890         (lrint_test_towardzero): Likewise.
45891         (lrint_downward_test_data): Likewise.
45892         (lrint_test_downward): Likewise.
45893         (lrint_upward_test_data): Likewise.
45894         (lrint_test_upward): Likewise.
45895         (llrint_test_data): Merge in per-rounding-mode tests and results
45896         from llrint_tonearest_test_data, llrint_towardzero_test_data,
45897         llrint_downward_test_data and llrint_upward_test_data.
45898         (llrint_test): Use ALL_RM_TEST.
45899         (llrint_tonearest_test_data): Remove.
45900         (llrint_test_tonearest): Likewise.
45901         (llrint_towardzero_test_data): Likewise.
45902         (llrint_test_towardzero): Likewise.
45903         (llrint_downward_test_data): Likewise.
45904         (llrint_test_downward): Likewise.
45905         (llrint_upward_test_data): Likewise.
45906         (llrint_test_upward): Likewise.
45907         (rint_test_data): Merge in per-rounding-mode tests and results
45908         from rint_tonearest_test_data, rint_towardzero_test_data,
45909         rint_downward_test_data and rint_upward_test_data.  Add
45910         per-rounding-mode results for tests not in those arrays.
45911         (rint_test): Use ALL_RM_TEST.
45912         (rint_tonearest_test_data): Remove.
45913         (rint_test_tonearest): Likewise.
45914         (rint_towardzero_test_data): Likewise.
45915         (rint_test_towardzero): Likewise.
45916         (rint_downward_test_data): Likewise.
45917         (rint_test_downward): Likewise.
45918         (rint_upward_test_data): Likewise.
45919         (rint_test_upward): Likewise.
45920         (main): Don't call removed functions.
45922 2014-03-14  Roland McGrath  <roland@hack.frob.com>
45924         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
45925         "Compiled on ..." crapola.  It is anti-useful.
45927 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
45929         * scripts/evaluate-test.sh: Handle fourth argument to determine
45930         whether test run should stop on failure.
45931         * Makeconfig (stop-on-test-failure): New variable.
45932         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
45933         $(stop-on-test-failure).
45934         * Makefile (tests): Give a summary of results from testing and
45935         exit with failure status if they include an ERROR or FAIL.
45936         (xtests): Likewise.
45937         * manual/install.texi (Configuring and compiling): Mention
45938         stop-on-test-failure=y.
45939         * INSTALL: Regenerated.
45941 2014-03-14  Roland McGrath  <roland@hack.frob.com>
45943         * scripts/versionlist.awk: New file.
45944         * Makerules [$(build-shared) = yes]
45945         (postclean-generated): Add Versions.def, not Versions.def.v and
45946         Versions.def.v.i.
45947         ($(common-objpfx)Versions.def.v.i): Target removed.
45948         ($(common-objpfx)Versions.def): New target.
45949         ($(common-objpfx)Versions.all): Depend on that rather that
45950         $(common-objpfx)Versions.def.v.
45951         * Versions.def: File removed.
45953         * Makeconfig (+gccwarn): Add -Wundef.
45954         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
45955         a dl-sysdep.h breaking its contract.
45956         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
45957         * include/stackinfo.h: New file.
45958         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
45959         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
45960         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
45961         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
45962         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
45963         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
45964         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45965         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45966         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45967         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45968         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45969         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
45970         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45971         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45972         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45974 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45976         [BZ #16707]
45977         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
45978         implementation.
45979         * math/libm-test.inc (round_test_data): Add more tests.
45981         [BZ #16706]
45982         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
45983         implementation.
45984         * math/libm-test.inc (nearbyint_test_data): Add more tests.
45986         [BZ #16701]
45987         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
45988         implementation.
45989         * math/libm-test.inc (ceil_test_data): Add more tests.
45991         * math/libm-test.inc (trunc_test_data): Add more tests related to
45992         BZ#16414.
45994 2014-03-14  Roland McGrath  <roland@hack.frob.com>
45996         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
45997         with #if rather than #ifdef.
45998         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
46000 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
46002         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
46003         first.  Disable AVX-512 GCC support if assembler doesn't support
46004         it.
46005         * sysdeps/x86_64/configure: Regenerated.
46007 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
46009         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
46010         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
46011         (__old_pthread_attr_setstack): Likewise.
46012         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
46013         [!_STACK_GROWS_DOWN]: Likewise.
46015 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
46017         * config.make.in (have-bash2): Delete.
46018         * configure.ac (libc_cv_have_bash2): Delete.
46019         * configure: Regenerate.
46020         * elf/Makefile (common-ldd-rewrite): Rename to ...
46021         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
46022         (sh-ldd-rewrite): Delete.
46023         (bash-ldd-rewrite): Delete.
46024         (have-bash2): Delete checks.
46025         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
46026         ldd-rewrite.
46028         * config.make.in (have-ksh): Delete.
46029         (KSH): Delete.
46030         * configure.ac (libc_cv_have_ksh): Delete.
46031         * configure: Regenerate.
46033         * elf/Makefile: Delete $(have-ksh) check.
46034         ($(objpfx)sotruss): Change KSH to BASH.
46035         * elf/sotruss.ksh: Rename to ...
46036         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
46037         function style to match POSIX.  Drop ksh vim mode setting.
46039         * manual/time.texi (Specifying the Time Zone with TZ): Change
46040         Tuesday to Thursday.
46042         * debug/tst-longjmp_chk2.c: Update header comment.
46043         (stackoverflow_handler): Add comment.  Call assert on pass value.
46045 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
46047         [BZ #16194]
46048         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
46049         (HAVE_AVX512_ASM_SUPPORT): Likewise.
46050         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
46051         (La_x86_64_vector): Add zmm.
46052         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
46053         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
46054         ($(objpfx)tst-audit10): New target.
46055         ($(objpfx)tst-audit10.out): Likewise.
46056         (tst-audit10-ENV): New.
46057         (AVX512-CFLAGS): Likewise.
46058         (CFLAGS-tst-audit10.c): Likewise.
46059         (CFLAGS-tst-auditmod10a.c): Likewise.
46060         (CFLAGS-tst-auditmod10b.c): Likewise.
46061         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
46062         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
46063         * sysdeps/x86_64/configure: Regenerated.
46064         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
46065         AVX-512 zmm register support.
46066         (_dl_x86_64_save_sse): Likewise.
46067         (_dl_x86_64_restore_sse): Likewise.
46068         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
46069         size vector registers.
46070         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
46071         (ZMM_SIZE): Likewise.
46072         * sysdeps/x86_64/tst-audit10.c: New file.
46073         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
46074         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
46076 2014-03-13  Roland McGrath  <roland@hack.frob.com>
46078         * configure.ac (HAVE_EHDR_START): New check.
46079         * configure: Regenerated.
46080         * config.h.in (HAVE_EHDR_START): New #undef.
46081         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
46082         assuming the lowest-addressed segment maps the start of the file.
46084 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
46086         * INSTALL: Regenerated.
46088 2014-03-13  Will Newton  <will.newton@linaro.org>
46090         * manual/setjmp.texi (System V contexts): Improve
46091         clarity and grammar of documentation.
46093 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
46095         [BZ #16381]
46096         * elf/Makefile (tests): Add tst-pie2.
46097         (tests-pie): Add tst-pie2.
46098         * elf/tst-pie2.c: New file.
46099         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
46100         for ET_EXEC.
46101         * elf/rtld.c (map_doit): Load executable as lt_executable.
46102         (dl_main): Likewise.
46104 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
46106         [BZ #16642]
46107         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46108         (__ASSUME_PSELECT): Undefine.
46110 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46112         [BZ #16689]
46113         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
46114         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
46115         static build.
46116         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
46117         selector for static builds.
46119 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46121         [BZ #16695]
46122         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
46123         key in the buffer.
46125 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46127         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
46128         IFUNC selector for static builds.
46130 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
46132         * sysdeps/mips/math_private.h [__mips_hard_float]
46133         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
46134         libc_feresetround_mips_ctx.
46135         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
46136         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
46137         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
46139         [BZ #16677]
46140         * math/s_nextafter.c (__nextafter): Do not return value from
46141         overflowing computation.
46142         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
46143         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
46144         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
46145         Likewise.
46146         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
46147         Likewise.
46148         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
46149         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
46151 2014-03-11  Roland McGrath  <roland@hack.frob.com>
46153         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
46154         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
46155         Move sfi_sp use from the load-multiple (that no longer sets sp) to
46156         the new mov targetting sp.
46158 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46160         [BZ #16683]
46161         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
46162         Define it for static builds as well.
46163         (NO_BZERO_IMPL): Likewise.
46165 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46167         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
46168         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
46169         multiarch strspn for PPC64.
46170         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
46171         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
46172         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46173         (__libc_ifunc_impl_list): Likewise.
46174         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
46175         multiarch optimizations
46176         * string/strspn.c (strspn): Using macro to redefine symbol name.
46178 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46179             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46181         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
46182         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
46183         multiarch strncat for PPC64.
46184         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
46185         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
46186         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46187         (__libc_ifunc_impl_list): Likewise.
46188         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
46189         multiarch optimizations
46191 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46193         [BZ #16639]
46194         * nscd/nscd.service: Make service type forking.
46196 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46198         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
46199         sign in non default rounding modes.
46200         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
46202 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
46204         * math/libm-test.inc (ALL_RM_TEST): New macro.
46205         (ceil_test): Use ALL_RM_TEST.
46206         (cimag_test): Likewise.
46207         (conj_test): Likewise.
46208         (copysign_test): Likewise.
46209         (cproj_test): Likewise.
46210         (creal_test): Likewise.
46211         (fabs_test): Likewise.
46212         (floor_test): Likewise.
46213         (fmax_test): Likewise.
46214         (fmin_test): Likewise.
46215         (fmod_test): Likewise.
46216         (fpclassify_test): Likewise.
46217         (frexp_test): Likewise.
46218         (ilogb_test): Likewise.
46219         (isfinite_test): Likewise.
46220         (finite_test): Likewise.
46221         (isgreater_test): Likewise.
46222         (isgreaterequal_test): Likewise.
46223         (isinf_test): Likewise.
46224         (isless_test): Likewise.
46225         (islessequal_test): Likewise.
46226         (islessgreater_test): Likewise.
46227         (isnan_test): Likewise.
46228         (isnormal_test): Likewise.
46229         (issignaling_test): Likewise.
46230         (isunordered_test): Likewise.
46231         (logb_test): Likewise.
46232         (logb_downward_test_data): Remove.
46233         (logb_test_downward): Likewise.
46234         (lround_test): Use ALL_RM_TEST.
46235         (llround_test): Likewise.
46236         (modf_test): Likewise.
46237         (nexttoward_test): Likewise.
46238         (remainder_test): Likewise.
46239         (drem_test): Likewise.
46240         (remainder_tonearest_test_data): Likewise.
46241         (remainder_test_tonearest): Likewise.
46242         (drem_test_tonearest): Likewise.
46243         (remainder_towardzero_test_data): Likewise.
46244         (remainder_test_towardzero): Likewise.
46245         (drem_test_towardzero): Likewise.
46246         (remainder_downward_test_data): Likewise.
46247         (remainder_test_downward): Likewise.
46248         (drem_test_downward): Likewise.
46249         (remainder_upward_test_data): Likewise.
46250         (remainder_test_upward): Likewise.
46251         (drem_test_upward): Likewise.
46252         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
46253         (round_test): Use ALL_RM_TEST.
46254         (signbit_test): Likewise.
46255         (trunc_test): Likewise.
46256         (significand_test): Likewise.
46257         (main): Don't call removed functions.
46259 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
46261         [BZ #16674]
46262         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
46263         || __USE_XOPEN2K8].
46264         (ILL_ILLOPN): Likewise.
46265         (ILL_ILLADR): Likewise.
46266         (ILL_ILLTRP): Likewise.
46267         (ILL_PRVOPC): Likewise.
46268         (ILL_PRVREG): Likewise.
46269         (ILL_COPROC): Likewise.
46270         (ILL_BADSTK): Likewise.
46271         (FPE_INTDIV): Likewise.
46272         (FPE_INTOVF): Likewise.
46273         (FPE_FLTDIV): Likewise.
46274         (FPE_FLTOVF): Likewise.
46275         (FPE_FLTUND): Likewise.
46276         (FPE_FLTRES): Likewise.
46277         (FPE_FLTINV): Likewise.
46278         (FPE_FLTSUB): Likewise.
46279         (SEGV_MAPERR): Likewise.
46280         (SEGV_ACCERR): Likewise.
46281         (BUS_ADRALN): Likewise.
46282         (BUS_ADRERR): Likewise.
46283         (BUS_OBJERR): Likewise.
46284         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46285         (TRAP_TRACE): Likewise.
46286         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46287         __USE_XOPEN2K8].
46288         (CLD_KILLED): Likewise.
46289         (CLD_DUMPED): Likewise.
46290         (CLD_TRAPPED): Likewise.
46291         (CLD_STOPPED): Likewise.
46292         (CLD_CONTINUED): Likewise.
46293         (POLL_IN): Likewise.
46294         (POLL_OUT): Likewise.
46295         (POLL_MSG): Likewise.
46296         (POLL_ERR): Likewise.
46297         (POLL_PRI): Likewise.
46298         (POLL_HUP): Likewise.
46299         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
46300         Likewise.
46301         (ILL_ILLOPN): Likewise.
46302         (ILL_ILLADR): Likewise.
46303         (ILL_ILLTRP): Likewise.
46304         (ILL_PRVOPC): Likewise.
46305         (ILL_PRVREG): Likewise.
46306         (ILL_COPROC): Likewise.
46307         (ILL_BADSTK): Likewise.
46308         (FPE_INTDIV): Likewise.
46309         (FPE_INTOVF): Likewise.
46310         (FPE_FLTDIV): Likewise.
46311         (FPE_FLTOVF): Likewise.
46312         (FPE_FLTUND): Likewise.
46313         (FPE_FLTRES): Likewise.
46314         (FPE_FLTINV): Likewise.
46315         (FPE_FLTSUB): Likewise.
46316         (SEGV_MAPERR): Likewise.
46317         (SEGV_ACCERR): Likewise.
46318         (BUS_ADRALN): Likewise.
46319         (BUS_ADRERR): Likewise.
46320         (BUS_OBJERR): Likewise.
46321         (BUS_MCEERR_AR): Likewise.
46322         (BUS_MCEERR_AO): Likewise.
46323         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46324         (TRAP_TRACE): Likewise.
46325         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46326         __USE_XOPEN2K8].
46327         (CLD_KILLED): Likewise.
46328         (CLD_DUMPED): Likewise.
46329         (CLD_TRAPPED): Likewise.
46330         (CLD_STOPPED): Likewise.
46331         (CLD_CONTINUED): Likewise.
46332         (POLL_IN): Likewise.
46333         (POLL_OUT): Likewise.
46334         (POLL_MSG): Likewise.
46335         (POLL_ERR): Likewise.
46336         (POLL_PRI): Likewise.
46337         (POLL_HUP): Likewise.
46338         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
46339         (ILL_ILLOPN): Likewise.
46340         (ILL_ILLADR): Likewise.
46341         (ILL_ILLTRP): Likewise.
46342         (ILL_PRVOPC): Likewise.
46343         (ILL_PRVREG): Likewise.
46344         (ILL_COPROC): Likewise.
46345         (ILL_BADSTK): Likewise.
46346         (FPE_INTDIV): Likewise.
46347         (FPE_INTOVF): Likewise.
46348         (FPE_FLTDIV): Likewise.
46349         (FPE_FLTOVF): Likewise.
46350         (FPE_FLTUND): Likewise.
46351         (FPE_FLTRES): Likewise.
46352         (FPE_FLTINV): Likewise.
46353         (FPE_FLTSUB): Likewise.
46354         (SEGV_MAPERR): Likewise.
46355         (SEGV_ACCERR): Likewise.
46356         (BUS_ADRALN): Likewise.
46357         (BUS_ADRERR): Likewise.
46358         (BUS_OBJERR): Likewise.
46359         (BUS_MCEERR_AR): Likewise.
46360         (BUS_MCEERR_AO): Likewise.
46361         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46362         (TRAP_TRACE): Likewise.
46363         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46364         __USE_XOPEN2K8].
46365         (CLD_KILLED): Likewise.
46366         (CLD_DUMPED): Likewise.
46367         (CLD_TRAPPED): Likewise.
46368         (CLD_STOPPED): Likewise.
46369         (CLD_CONTINUED): Likewise.
46370         (POLL_IN): Likewise.
46371         (POLL_OUT): Likewise.
46372         (POLL_MSG): Likewise.
46373         (POLL_ERR): Likewise.
46374         (POLL_PRI): Likewise.
46375         (POLL_HUP): Likewise.
46376         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
46377         Likewise.
46378         (ILL_ILLOPN): Likewise.
46379         (ILL_ILLADR): Likewise.
46380         (ILL_ILLTRP): Likewise.
46381         (ILL_PRVOPC): Likewise.
46382         (ILL_PRVREG): Likewise.
46383         (ILL_COPROC): Likewise.
46384         (ILL_BADSTK): Likewise.
46385         (ILL_BADIADDR): Likewise.
46386         (ILL_BREAK): Likewise.
46387         (FPE_INTDIV): Likewise.
46388         (FPE_INTOVF): Likewise.
46389         (FPE_FLTDIV): Likewise.
46390         (FPE_FLTOVF): Likewise.
46391         (FPE_FLTUND): Likewise.
46392         (FPE_FLTRES): Likewise.
46393         (FPE_FLTINV): Likewise.
46394         (FPE_FLTSUB): Likewise.
46395         (FPE_DECOVF): Likewise.
46396         (FPE_DECDIV): Likewise.
46397         (FPE_DECERR): Likewise.
46398         (FPE_INVASC): Likewise.
46399         (FPE_INVDEC): Likewise.
46400         (SEGV_MAPERR): Likewise.
46401         (SEGV_ACCERR): Likewise.
46402         (SEGV_PSTKOVF): Likewise.
46403         (BUS_ADRALN): Likewise.
46404         (BUS_ADRERR): Likewise.
46405         (BUS_OBJERR): Likewise.
46406         (BUS_MCEERR_AR): Likewise.
46407         (BUS_MCEERR_AO): Likewise.
46408         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46409         (TRAP_TRACE): Likewise.
46410         (TRAP_BRANCH): Likewise.
46411         (TRAP_HWBKPT): Likewise.
46412         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46413         __USE_XOPEN2K8].
46414         (CLD_KILLED): Likewise.
46415         (CLD_DUMPED): Likewise.
46416         (CLD_TRAPPED): Likewise.
46417         (CLD_STOPPED): Likewise.
46418         (CLD_CONTINUED): Likewise.
46419         (POLL_IN): Likewise.
46420         (POLL_OUT): Likewise.
46421         (POLL_MSG): Likewise.
46422         (POLL_ERR): Likewise.
46423         (POLL_PRI): Likewise.
46424         (POLL_HUP): Likewise.
46425         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
46426         (ILL_ILLOPN): Likewise.
46427         (ILL_ILLADR): Likewise.
46428         (ILL_ILLTRP): Likewise.
46429         (ILL_PRVOPC): Likewise.
46430         (ILL_PRVREG): Likewise.
46431         (ILL_COPROC): Likewise.
46432         (ILL_BADSTK): Likewise.
46433         (FPE_INTDIV): Likewise.
46434         (FPE_INTOVF): Likewise.
46435         (FPE_FLTDIV): Likewise.
46436         (FPE_FLTOVF): Likewise.
46437         (FPE_FLTUND): Likewise.
46438         (FPE_FLTRES): Likewise.
46439         (FPE_FLTINV): Likewise.
46440         (FPE_FLTSUB): Likewise.
46441         (SEGV_MAPERR): Likewise.
46442         (SEGV_ACCERR): Likewise.
46443         (BUS_ADRALN): Likewise.
46444         (BUS_ADRERR): Likewise.
46445         (BUS_OBJERR): Likewise.
46446         (BUS_MCEERR_AR): Likewise.
46447         (BUS_MCEERR_AO): Likewise.
46448         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46449         (TRAP_TRACE): Likewise.
46450         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46451         __USE_XOPEN2K8].
46452         (CLD_KILLED): Likewise.
46453         (CLD_DUMPED): Likewise.
46454         (CLD_TRAPPED): Likewise.
46455         (CLD_STOPPED): Likewise.
46456         (CLD_CONTINUED): Likewise.
46457         (POLL_IN): Likewise.
46458         (POLL_OUT): Likewise.
46459         (POLL_MSG): Likewise.
46460         (POLL_ERR): Likewise.
46461         (POLL_PRI): Likewise.
46462         (POLL_HUP): Likewise.
46463         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
46464         (ILL_ILLOPN): Likewise.
46465         (ILL_ILLADR): Likewise.
46466         (ILL_ILLTRP): Likewise.
46467         (ILL_PRVOPC): Likewise.
46468         (ILL_PRVREG): Likewise.
46469         (ILL_COPROC): Likewise.
46470         (ILL_BADSTK): Likewise.
46471         (FPE_INTDIV): Likewise.
46472         (FPE_INTOVF): Likewise.
46473         (FPE_FLTDIV): Likewise.
46474         (FPE_FLTOVF): Likewise.
46475         (FPE_FLTUND): Likewise.
46476         (FPE_FLTRES): Likewise.
46477         (FPE_FLTINV): Likewise.
46478         (FPE_FLTSUB): Likewise.
46479         (SEGV_MAPERR): Likewise.
46480         (SEGV_ACCERR): Likewise.
46481         (BUS_ADRALN): Likewise.
46482         (BUS_ADRERR): Likewise.
46483         (BUS_OBJERR): Likewise.
46484         (BUS_MCEERR_AR): Likewise.
46485         (BUS_MCEERR_AO): Likewise.
46486         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46487         (TRAP_TRACE): Likewise.
46488         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46489         __USE_XOPEN2K8].
46490         (CLD_KILLED): Likewise.
46491         (CLD_DUMPED): Likewise.
46492         (CLD_TRAPPED): Likewise.
46493         (CLD_STOPPED): Likewise.
46494         (CLD_CONTINUED): Likewise.
46495         (POLL_IN): Likewise.
46496         (POLL_OUT): Likewise.
46497         (POLL_MSG): Likewise.
46498         (POLL_ERR): Likewise.
46499         (POLL_PRI): Likewise.
46500         (POLL_HUP): Likewise.
46501         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
46502         (ILL_ILLOPN): Likewise.
46503         (ILL_ILLADR): Likewise.
46504         (ILL_ILLTRP): Likewise.
46505         (ILL_PRVOPC): Likewise.
46506         (ILL_PRVREG): Likewise.
46507         (ILL_COPROC): Likewise.
46508         (ILL_BADSTK): Likewise.
46509         (FPE_INTDIV): Likewise.
46510         (FPE_INTOVF): Likewise.
46511         (FPE_FLTDIV): Likewise.
46512         (FPE_FLTOVF): Likewise.
46513         (FPE_FLTUND): Likewise.
46514         (FPE_FLTRES): Likewise.
46515         (FPE_FLTINV): Likewise.
46516         (FPE_FLTSUB): Likewise.
46517         (SEGV_MAPERR): Likewise.
46518         (SEGV_ACCERR): Likewise.
46519         (BUS_ADRALN): Likewise.
46520         (BUS_ADRERR): Likewise.
46521         (BUS_OBJERR): Likewise.
46522         (BUS_MCEERR_AR): Likewise.
46523         (BUS_MCEERR_AO): Likewise.
46524         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46525         (TRAP_TRACE): Likewise.
46526         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46527         __USE_XOPEN2K8].
46528         (CLD_KILLED): Likewise.
46529         (CLD_DUMPED): Likewise.
46530         (CLD_TRAPPED): Likewise.
46531         (CLD_STOPPED): Likewise.
46532         (CLD_CONTINUED): Likewise.
46533         (POLL_IN): Likewise.
46534         (POLL_OUT): Likewise.
46535         (POLL_MSG): Likewise.
46536         (POLL_ERR): Likewise.
46537         (POLL_PRI): Likewise.
46538         (POLL_HUP): Likewise.
46539         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
46540         (ILL_ILLOPN): Likewise.
46541         (ILL_ILLADR): Likewise.
46542         (ILL_ILLTRP): Likewise.
46543         (ILL_PRVOPC): Likewise.
46544         (ILL_PRVREG): Likewise.
46545         (ILL_COPROC): Likewise.
46546         (ILL_BADSTK): Likewise.
46547         (ILL_DBLFLT): Likewise.
46548         (ILL_HARDWALL): Likewise.
46549         (FPE_INTDIV): Likewise.
46550         (FPE_INTOVF): Likewise.
46551         (FPE_FLTDIV): Likewise.
46552         (FPE_FLTOVF): Likewise.
46553         (FPE_FLTUND): Likewise.
46554         (FPE_FLTRES): Likewise.
46555         (FPE_FLTINV): Likewise.
46556         (FPE_FLTSUB): Likewise.
46557         (SEGV_MAPERR): Likewise.
46558         (SEGV_ACCERR): Likewise.
46559         (BUS_ADRALN): Likewise.
46560         (BUS_ADRERR): Likewise.
46561         (BUS_OBJERR): Likewise.
46562         (BUS_MCEERR_AR): Likewise.
46563         (BUS_MCEERR_AO): Likewise.
46564         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46565         (TRAP_TRACE): Likewise.
46566         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46567         __USE_XOPEN2K8].
46568         (CLD_KILLED): Likewise.
46569         (CLD_DUMPED): Likewise.
46570         (CLD_TRAPPED): Likewise.
46571         (CLD_STOPPED): Likewise.
46572         (CLD_CONTINUED): Likewise.
46573         (POLL_IN): Likewise.
46574         (POLL_OUT): Likewise.
46575         (POLL_MSG): Likewise.
46576         (POLL_ERR): Likewise.
46577         (POLL_PRI): Likewise.
46578         (POLL_HUP): Likewise.
46579         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
46580         (ILL_ILLOPN): Likewise.
46581         (ILL_ILLADR): Likewise.
46582         (ILL_ILLTRP): Likewise.
46583         (ILL_PRVOPC): Likewise.
46584         (ILL_PRVREG): Likewise.
46585         (ILL_COPROC): Likewise.
46586         (ILL_BADSTK): Likewise.
46587         (FPE_INTDIV): Likewise.
46588         (FPE_INTOVF): Likewise.
46589         (FPE_FLTDIV): Likewise.
46590         (FPE_FLTOVF): Likewise.
46591         (FPE_FLTUND): Likewise.
46592         (FPE_FLTRES): Likewise.
46593         (FPE_FLTINV): Likewise.
46594         (FPE_FLTSUB): Likewise.
46595         (SEGV_MAPERR): Likewise.
46596         (SEGV_ACCERR): Likewise.
46597         (BUS_ADRALN): Likewise.
46598         (BUS_ADRERR): Likewise.
46599         (BUS_OBJERR): Likewise.
46600         (BUS_MCEERR_AR): Likewise.
46601         (BUS_MCEERR_AO): Likewise.
46602         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46603         (TRAP_TRACE): Likewise.
46604         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46605         __USE_XOPEN2K8].
46606         (CLD_KILLED): Likewise.
46607         (CLD_DUMPED): Likewise.
46608         (CLD_TRAPPED): Likewise.
46609         (CLD_STOPPED): Likewise.
46610         (CLD_CONTINUED): Likewise.
46611         (POLL_IN): Likewise.
46612         (POLL_OUT): Likewise.
46613         (POLL_MSG): Likewise.
46614         (POLL_ERR): Likewise.
46615         (POLL_PRI): Likewise.
46616         (POLL_HUP): Likewise.
46617         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
46618         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
46620         [BZ #16670]
46621         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
46622         before #include of <time.h>.
46623         [!__USE_XOPEN2K] (__need_timespec): Likewise.
46624         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
46625         (test-xfail-UNIX98/sched.h/conform): Likewise.
46627 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
46629         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
46630         error absence of trapping exception support.
46631         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
46633 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
46635         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
46636         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
46637         * timezone/Makefile (testdata): Move definition above include of
46638         Rules.
46639         (test-zones): New variable.
46640         (tests-special): Add zone files.
46641         (build-testdata): Use $(evaluate-test).
46643         * elf/Makefile (tests-special): Rename tests to end with .out.
46644         ($(objpfx)noload-mem): Likewise.
46645         ($(objpfx)tst-leaks1-mem): Likewise.
46646         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
46647         * iconv/Makefile (xtests-special): Change test-iconvconfig to
46648         $(objpfx)test-iconvconfig.out.
46649         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
46650         set -e inside subshell and redirect output to file.
46651         * iconvdata/Makefile (generated): Rename tests to end with .out.
46652         Correct type.
46653         (tests-special): Rename tests to end with .out.
46654         ($(objpfx)mtrace-tst-loading): Likewise.
46655         * intl/Makefile (generated): Likewise.
46656         (tests-special): Likewise.
46657         ($(objpfx)mtrace-tst-gettext): Likewise.
46658         * misc/Makefile (generated): Likewise.
46659         (tests-special): Likewise.
46660         ($(objpfx)tst-error1-mem): Likewise.
46661         * nptl/Makefile (tests-special): Likewise.
46662         ($(objpfx)tst-stack3-mem): Likewise.
46663         (generated): Likewise.
46664         * posix/Makefile (generated): Likewise.
46665         (tests-special): Likewise.
46666         (xtests-special): Likewise.
46667         ($(objpfx)tst-fnmatch-mem): Likewise.
46668         ($(objpfx)bug-regex2-mem): Likewise.
46669         ($(objpfx)bug-regex14-mem): Likewise.
46670         ($(objpfx)bug-regex21-mem): Likewise.
46671         ($(objpfx)bug-regex31-mem): Likewise.
46672         ($(objpfx)tst-vfork3-mem): Likewise.
46673         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
46674         ($(objpfx)tst-pcre-mem): Likewise.
46675         ($(objpfx)tst-boost-mem): Likewise.
46676         ($(objpfx)bug-ga2-mem): Likewise.
46677         ($(objpfx)bug-glob2-mem): Likewise.
46678         * resolv/Makefile (generate): Likewise.
46679         (tests-special): Likewise.
46680         (xtests-special): Likewise.
46681         (generated): Likewise.
46682         ($(objpfx)mtrace-tst-leaks): Likewise.
46683         ($(objpfx)mtrace-tst-leaks2): Likewise.
46685         * scripts/merge-test-results.sh: New file.
46686         * Makefile (tests-special-notdir): New variable.
46687         (tests): Run merge-test-results.sh.
46688         (xtests): Likewise.
46689         * Rules (tests-special-notdir): New variable.
46690         (xtests-special-notdir): Likewise.
46691         (tests): Run merge-test-results.sh
46692         (xtests): Likewise.
46694         * Makeconfig (test-xfail-name): New variable.
46695         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
46696         compute variable name for expected failures.
46697         * conform/Makefile (conformtest-headers-data): New variable.
46698         (conformtest-standards): Likewise.
46699         (conformtest-headers-ISO): Likewise.
46700         (conformtest-headers-ISO99): Likewise.
46701         (conformtest-headers-ISO11): Likewise.
46702         (conformtest-headers-POSIX): Likewise.
46703         (conformtest-headers-XPG3): Likewise.
46704         (conformtest-headers-XPG4): Likewise.
46705         (conformtest-headers-UNIX98): Likewise.
46706         (conformtest-headers-XOPEN2K): Likewise.
46707         (conformtest-headers-POSIX2008): Likewise.
46708         (conformtest-headers-XOPEN2K8): Likewise.
46709         (conformtest-header-list-base): Likewise.
46710         (conformtest-header-list-tests): Likewise.
46711         (conformtest-header-base): Likewise.
46712         (conformtest-header-tests): Likewise.
46713         (tests-special): Add $(conformtest-header-list-tests).  If
46714         [$(fast-check) && !$(cross-compiling)], add
46715         $(conformtest-header-tests) instead of
46716         $(objpfx)run-conformtest.out.
46717         (generated): Add $(conformtest-header-list-base).  If
46718         [$(fast-check) && !$(cross-compiling)], add
46719         $(conformtest-header-base).  Remove previous setting.
46720         ($(conformtest-header-list-tests)): New target.
46721         (test-xfail-run-conformtest): Remove variable.
46722         ($(objpfx)run-conformtest.out): Remove target.
46723         (test-xfail-ISO11/complex.h/conform): New variable.
46724         (test-xfail-ISO11/stdalign.h/conform): Likewise.
46725         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
46726         (test-xfail-XPG3/varargs.h/conform): Likewise.
46727         (test-xfail-XPG4/varargs.h/conform): Likewise.
46728         (test-xfail-UNIX98/varargs.h/conform): Likewise.
46729         (test-xfail-XPG4/ndbm.h/conform): Likewise.
46730         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
46731         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
46732         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
46733         (test-xfail-XPG3/fcntl.h/conform): Likewise.
46734         (test-xfail-XPG3/ftw.h/conform): Likewise.
46735         (test-xfail-XPG3/grp.h/conform): Likewise.
46736         (test-xfail-XPG3/langinfo.h/conform): Likewise.
46737         (test-xfail-XPG3/limits.h/conform): Likewise.
46738         (test-xfail-XPG3/pwd.h/conform): Likewise.
46739         (test-xfail-XPG3/search.h/conform): Likewise.
46740         (test-xfail-XPG3/signal.h/conform): Likewise.
46741         (test-xfail-XPG3/stdio.h/conform): Likewise.
46742         (test-xfail-XPG3/stdlib.h/conform): Likewise.
46743         (test-xfail-XPG3/string.h/conform): Likewise.
46744         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
46745         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
46746         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
46747         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
46748         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
46749         (test-xfail-XPG3/sys/types.h/conform): Likewise.
46750         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
46751         (test-xfail-XPG3/termios.h/conform): Likewise.
46752         (test-xfail-XPG3/time.h/conform): Likewise.
46753         (test-xfail-XPG3/unistd.h/conform): Likewise.
46754         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
46755         (test-xfail-XPG4/fcntl.h/conform): Likewise.
46756         (test-xfail-XPG4/langinfo.h/conform): Likewise.
46757         (test-xfail-XPG4/netdb.h/conform): Likewise.
46758         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
46759         (test-xfail-XPG4/signal.h/conform): Likewise.
46760         (test-xfail-XPG4/stdio.h/conform): Likewise.
46761         (test-xfail-XPG4/stdlib.h/conform): Likewise.
46762         (test-xfail-XPG4/stropts.h/conform): Likewise.
46763         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
46764         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
46765         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
46766         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
46767         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
46768         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
46769         (test-xfail-XPG4/sys/time.h/conform): Likewise.
46770         (test-xfail-XPG4/sys/types.h/conform): Likewise.
46771         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
46772         (test-xfail-XPG4/termios.h/conform): Likewise.
46773         (test-xfail-XPG4/ucontext.h/conform): Likewise.
46774         (test-xfail-XPG4/unistd.h/conform): Likewise.
46775         (test-xfail-XPG4/utmpx.h/conform): Likewise.
46776         (test-xfail-POSIX/sched.h/conform): Likewise.
46777         (test-xfail-POSIX/signal.h/conform): Likewise.
46778         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
46779         (test-xfail-POSIX/tar.h/conform): Likewise.
46780         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
46781         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
46782         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
46783         (test-xfail-UNIX98/netdb.h/conform): Likewise.
46784         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
46785         (test-xfail-UNIX98/sched.h/conform): Likewise.
46786         (test-xfail-UNIX98/signal.h/conform): Likewise.
46787         (test-xfail-UNIX98/stdio.h/conform): Likewise.
46788         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
46789         (test-xfail-UNIX98/stropts.h/conform): Likewise.
46790         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
46791         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
46792         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
46793         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
46794         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
46795         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
46796         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
46797         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
46798         (test-xfail-UNIX98/unistd.h/conform): Likewise.
46799         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
46800         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
46801         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
46802         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
46803         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
46804         (test-xfail-XOPEN2K/math.h/conform): Likewise.
46805         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
46806         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
46807         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
46808         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
46809         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
46810         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
46811         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
46812         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
46813         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
46814         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
46815         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
46816         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
46817         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
46818         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
46819         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
46820         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
46821         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
46822         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
46823         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
46824         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
46825         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
46826         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
46827         (test-xfail-POSIX2008/signal.h/conform): Likewise.
46828         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
46829         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
46830         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
46831         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
46832         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
46833         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
46834         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
46835         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
46836         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
46837         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
46838         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
46839         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
46840         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
46841         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
46842         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
46843         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
46844         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
46845         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
46846         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
46847         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
46848         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
46849         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
46850         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
46851         (conformtest-cc-flags): Likewise.
46852         ($(conformtest-header-tests): New target.
46853         * conform/check-header-lists.sh: New file.
46854         * conform/run-conformtest.sh: Remove.
46856         * conform/conformtest.pl: Allow ' and \ in values given for
46857         constants.
46858         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
46859         inclusion.
46860         [POSIX] (sys/types.h): Likewise.
46861         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
46862         inclusion.
46863         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
46864         inclusion.
46865         * conform/data/signal.h-data (SIGIO): Remove expectation.
46866         [XPG3] (SIGBUS): Do not expect.
46867         [POSIX || XPG3] (SIGPOLL): Likewise.
46868         [POSIX || XPG3] (SIGPROF): Likewise.
46869         [POSIX || XPG3] (SIGSYS): Likewise.
46870         [XPG3] (SIGTRAP): Likewise.
46871         [POSIX || XPG3] (SIGURG): Likewise.
46872         [POSIX || XPG3] (SIGVTALRM): Likewise.
46873         [POSIX || XPG3] (SIGXCPU): Likewise.
46874         [POSIX || XPG3] (SIGXFSZ): Likewise.
46875         [POSIX] (SA_SIGINFO): Expect.
46876         [XPG3] (siginfo_t): Do not expect type or contents.
46877         [POSIX] (si_pid): Do not expect element.
46878         [POSIX] (si_uid): Likewise.
46879         [POSIX] (si_addr): Likewise.
46880         [POSIX] (si_status): Likewise.
46881         [POSIX] (si_band): Likewise.
46882         [XPG4] (si_value): Likewise.
46883         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
46884         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
46885         [POSIX || XPG3] (ILL_ILLADR): Likewise.
46886         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
46887         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
46888         [POSIX || XPG3] (ILL_PRVREG): Likewise.
46889         [POSIX || XPG3] (ILL_COPROC): Likewise.
46890         [POSIX || XPG3] (ILL_BADSTK): Likewise.
46891         [POSIX || XPG3] (FPE_INTDIV): Likewise.
46892         [POSIX || XPG3] (FPE_INTOVF): Likewise.
46893         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
46894         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
46895         [POSIX || XPG3] (FPE_FLTUND): Likewise.
46896         [POSIX || XPG3] (FPE_FLTRES): Likewise.
46897         [POSIX || XPG3] (FPE_FLTINV): Likewise.
46898         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
46899         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
46900         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
46901         [POSIX || XPG3] (BUS_ADRALN): Likewise.
46902         [POSIX || XPG3] (BUS_ADRERR): Likewise.
46903         [POSIX || XPG3] (BUS_OBJERR): Likewise.
46904         [POSIX || XPG3] (CLD_EXITED): Likewise.
46905         [POSIX || XPG3] (CLD_KILLED): Likewise.
46906         [POSIX || XPG3] (CLD_DUMPED): Likewise.
46907         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
46908         [POSIX || XPG3] (CLD_STOPPED): Likewise.
46909         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
46910         [POSIX || XPG3] (POLL_IN): Likewise.
46911         [POSIX || XPG3] (POLL_OUT): Likewise.
46912         [POSIX || XPG3] (POLL_MSG): Likewise.
46913         [POSIX || XPG3] (POLL_ERR): Likewise.
46914         [POSIX || XPG3] (POLL_PRI): Likewise.
46915         [POSIX || XPG3] (POLL_HUP): Likewise.
46916         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
46917         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
46918         (SIG*): Do not allow.
46919         [XPG3] (si_*): Likewise.
46920         [XPG3] (SI_*): Likewise.
46921         [XPG3 || XPG4] (sigev_*): Likewise.
46922         [XPG3 || XPG4] (SIGEV_*): Likewise.
46923         [XPG3 || XPG4] (sival_*): Likewise.
46924         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
46925         [POSIX || XPG3] (BUS_*): Likewise.
46926         [POSIX || XPG3] (CLD_*): Likewise.
46927         [POSIX || XPG3] (FPE_*): Likewise.
46928         [POSIX || XPG3] (ILL_*): Likewise.
46929         [POSIX || XPG3] (POLL_*): Likewise.
46930         [POSIX || XPG3] (SEGV_*): Likewise.
46931         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
46932         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
46933         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
46934         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
46935         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
46936         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
46937         Specify type and value.
46938         (TVERSLEN): Likewise.
46939         (REGTYPE): Likewise.
46940         (AREGTYPE): Likewise.
46941         (LNKTYPE): Likewise.
46942         (SYMTYPE): Likewise.
46943         (CHRTYPE): Likewise.
46944         (BLKTYPE): Likewise.
46945         (DIRTYPE): Likewise.
46946         (FIFOTYPE): Likewise.
46947         (CONTTYPE): Likewise.
46948         (TSUID): Likewise.
46949         (TSGID): Likewise.
46950         (TSVTX): Likewise.
46951         (TUREAD): Likewise.
46952         (TUWRITE): Likewise.
46953         (TUEXEC): Likewise.
46954         (TGREAD): Likewise.
46955         (TGWRITE): Likewise.
46956         (TGEXEC): Likewise.
46957         (TOREAD): Likewise.
46958         (TOWRITE): Likewise.
46959         (TOEXEC): Likewise.
46960         [POSIX] (TSVTX): Expect constant.
46962 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
46964         * Makefile (tests): Change dependencies to ....
46965         (tests-special): ... additions to this variable.
46966         (tests): Depend on $(tests-special).
46967         * Makerules (check-abi-list): New variable.
46968         (check-abi): Depend on $(check-abi-list).
46969         [$(subdir) = elf] (tests-special): Add
46970         $(objpfx)check-abi-libc.out.
46971         [$(build-shared) = yes && subdir] (tests-special): Add
46972         $(check-abi-list).
46973         [$(build-shared) = yes && subdir] (tests): Do not depend on
46974         check-abi.
46975         * Rules (tests): Depend on $(tests-special).
46976         (xtests): Depend on $(xtests-special).
46977         * catgets/Makefile (tests): Change dependencies to ....
46978         (tests-special): ... additions to this variable.
46979         * conform/Makefile (tests): Change dependencies to ....
46980         (tests-special): ... additions to this variable.
46981         * elf/Makefile (tests): Change dependencies to ....
46982         (tests-special): ... additions to this variable.
46983         * grp/Makefile (tests): Change dependencies to ....
46984         (tests-special): ... additions to this variable.
46985         * iconv/Makefile (xtests): Change dependencies to ....
46986         (xtests-special): ... additions to this variable.
46987         * iconvdata/Makefile (tests): Change dependencies to ....
46988         (tests-special): ... additions to this variable.
46989         * intl/Makefile (tests): Change dependencies to ....
46990         (tests-special): ... additions to this variable.  Also add
46991         $(objpfx)tst-gettext.out.
46992         * io/Makefile (tests): Change dependencies to ....
46993         (tests-special): ... additions to this variable.
46994         * libio/Makefile (tests): Change dependencies to ....
46995         (tests-special): ... additions to this variable.
46996         * malloc/Makefile (tests): Change dependencies to ....
46997         (tests-special): ... additions to this variable.
46998         * misc/Makefile (tests): Change dependencies to ....
46999         (tests-special): ... additions to this variable.
47000         * nptl/Makefile (tests): Change dependencies to ....
47001         (tests-special): ... additions to this variable.
47002         * nptl_db/Makefile (tests): Change dependencies to ....
47003         (tests-special): ... additions to this variable.
47004         * posix/Makefile (tests): Change dependencies to ....
47005         (tests-special): ... additions to this variable.
47006         (xtests): Change dependencies to ....
47007         (xtests-special): ... additions to this variable.
47008         * resolv/Makefile (tests): Change dependencies to ....
47009         (tests-special): ... additions to this variable.
47010         (xtests): Change dependencies to ....
47011         (xtests-special): ... additions to this variable.
47012         * stdio-common/Makefile (tests): Change dependencies to ....
47013         (tests-special): ... additions to this variable.
47014         (do-tst-unbputc): Remove target.
47015         (do-tst-printf): Likewise.
47016         * stdlib/Makefile (tests): Change dependencies to ....
47017         (tests-special): ... additions to this variable.
47018         * string/Makefile (tests): Change dependencies to ....
47019         (tests-special): ... additions to this variable.
47020         * sysdeps/x86/Makefile (tests): Change dependencies to ....
47021         (tests-special): ... additions to this variable.
47023         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
47024         whole file.
47025         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
47026         whole file.
47027         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
47028         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
47030         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
47031         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
47032         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
47033         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
47034         * conform/data/libgen.h-data [XPG3]: Likewise.
47035         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
47036         * conform/data/ndbm.h-data [XPG3]: Likewise.
47037         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
47038         * conform/data/netdb.h-data [XPG3]: Likewise.
47039         * conform/data/netinet/in.h-data [XPG3]: Likewise.
47040         * conform/data/poll.h-data [XPG3]: Likewise.
47041         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
47042         * conform/data/strings.h-data [XPG3]: Likewise.
47043         * conform/data/stropts.h-data [XPG3]: Likewise.
47044         * conform/data/sys/mman.h-data [XPG3]: Likewise.
47045         * conform/data/sys/resource.h-data [XPG3]: Likewise.
47046         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
47047         Likewise.
47048         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
47049         * conform/data/sys/time.h-data [XPG3]: Likewise.
47050         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
47051         * conform/data/sys/uio.h-data [XPG3]: Likewise.
47052         * conform/data/sys/un.h-data [XPG3]: Likewise.
47053         * conform/data/syslog.h-data [XPG3]: Likewise.
47054         * conform/data/ucontext.h-data [XPG3]: Likewise.
47055         * conform/data/utmpx.h-data [XPG3]: Likewise.
47056         * conform/data/varargs.h-data [UNIX98]: Enable file.
47058         * manual/Makefile (INSTALL_INFO): Remove variable setting.
47060         * math/libm-test.inc (struct test_f_f_data): Move expected results
47061         into structure for each rounding mode.
47062         (struct test_ff_f_data): Likewise.
47063         (struct test_ff_f_data_nexttoward): Likewise.
47064         (struct test_fi_f_data): Likewise.
47065         (struct test_fl_f_data): Likewise.
47066         (struct test_if_f_data): Likewise.
47067         (struct test_fff_f_data): Likewise.
47068         (struct test_c_f_data): Likewise.
47069         (struct test_f_f1_data): Likewise.
47070         (struct test_fF_f1_data): Likewise.
47071         (struct test_ffI_f1_data): Likewise.
47072         (struct test_c_c_data): Likewise.
47073         (struct test_cc_c_data): Likewise.
47074         (struct test_f_i_data): Likewise.
47075         (struct test_ff_i_data): Likewise.
47076         (struct test_f_l_data): Likewise.
47077         (struct test_f_L_data): Likewise.
47078         (struct test_fFF_11_data): Likewise.
47079         (RM_): New macro.
47080         (RM_FE_DOWNWARD): Likewise.
47081         (RM_FE_TONEAREST): Likewise.
47082         (RM_FE_TOWARDZERO): Likewise.
47083         (RM_FE_UPWARD): Likewise.
47084         (RUN_TEST_LOOP_f_f): Update references to expected results.
47085         (RUN_TEST_LOOP_2_f): Likewise.
47086         (RUN_TEST_LOOP_fff_f): Likewise.
47087         (RUN_TEST_LOOP_c_f): Likewise.
47088         (RUN_TEST_LOOP_f_f1): Likewise.
47089         (RUN_TEST_LOOP_fF_f1): Likewise.
47090         (RUN_TEST_LOOP_fI_f1): Likewise.
47091         (RUN_TEST_LOOP_ffI_f1): Likewise.
47092         (RUN_TEST_LOOP_c_c): Likewise.
47093         (RUN_TEST_LOOP_cc_c): Likewise.
47094         (RUN_TEST_LOOP_f_i): Likewise.
47095         (RUN_TEST_LOOP_f_i_tg): Likewise.
47096         (RUN_TEST_LOOP_ff_i_tg): Likewise.
47097         (RUN_TEST_LOOP_f_b): Likewise.
47098         (RUN_TEST_LOOP_f_b_tg): Likewise.
47099         (RUN_TEST_LOOP_f_l): Likewise.
47100         (RUN_TEST_LOOP_f_L): Likewise.
47101         (RUN_TEST_LOOP_fFF_11): Likewise.
47102         * math/gen-libm-test.pl (parse_args): Output four copies of
47103         expected results for each test.
47105         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47106         (__ASSUME_UTIMES): Remove.
47107         * sysdeps/unix/sysv/linux/tile/kernel-features.h
47108         (__ASSUME_UTIMES): Likewise.
47110         * math/gen-auto-libm-tests.c: Update comment on output format.
47111         (output_for_one_input_case): Generate before-rounding and
47112         after-rounding information as conditions on output flags not
47113         floating-point format.
47114         * math/auto-libm-test-out: Regenerated.
47115         * math/gen-libm-test.pl (cond_value): New function.
47116         (or_cond_value): Use cond_value.
47117         (generate_testfile): Handle conditional exceptions.
47119 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
47121         * math/libm-test.inc (max_valid_error): New variable.
47122         (init_max_error): Take new argument specifying whether function
47123         results are exactly determined.  Set max_valid_error and bound
47124         other variables for errors based on this argument.
47125         (set_max_error): Do not record results above max_valid_error.
47126         (check_float_internal): Only accept errors of up to 0.5ulps if
47127         also at most max_valid_error.
47128         (START): Take new argument EXACT and pass it to init_max_error.
47129         (acos_test): Update call to START.
47130         (acos_test_tonearest): Likewise.
47131         (acos_test_towardzero): Likewise.
47132         (acos_test_downward): Likewise.
47133         (acos_test_upward): Likewise.
47134         (acosh_test): Likewise.
47135         (asin_test): Likewise.
47136         (asin_test_tonearest): Likewise.
47137         (asin_test_towardzero): Likewise.
47138         (asin_test_downward): Likewise.
47139         (asin_test_upward): Likewise.
47140         (asinh_test): Likewise.
47141         (atan_test): Likewise.
47142         (atanh_test): Likewise.
47143         (atan2_test): Likewise.
47144         (cabs_test): Likewise.
47145         (cacos_test): Likewise.
47146         (cacosh_test): Likewise.
47147         (carg_test): Likewise.
47148         (casin_test): Likewise.
47149         (casinh_test): Likewise.
47150         (catan_test): Likewise.
47151         (catanh_test): Likewise.
47152         (cbrt_test): Likewise.
47153         (ccos_test): Likewise.
47154         (ccosh_test): Likewise.
47155         (ceil_test): Likewise.
47156         (cexp_test): Likewise.
47157         (cimag_test): Likewise.
47158         (clog_test): Likewise.
47159         (clog10_test): Likewise.
47160         (conj_test): Likewise.
47161         (copysign_test): Likewise.
47162         (cos_test): Likewise.
47163         (cos_test_tonearest): Likewise.
47164         (cos_test_towardzero): Likewise.
47165         (cos_test_downward): Likewise.
47166         (cos_test_upward): Likewise.
47167         (cosh_test): Likewise.
47168         (cosh_test_tonearest): Likewise.
47169         (cosh_test_towardzero): Likewise.
47170         (cosh_test_downward): Likewise.
47171         (cosh_test_upward): Likewise.
47172         (cpow_test): Likewise.
47173         (cproj_test): Likewise.
47174         (creal_test): Likewise.
47175         (csin_test): Likewise.
47176         (csinh_test): Likewise.
47177         (csqrt_test): Likewise.
47178         (ctan_test): Likewise.
47179         (ctan_test_tonearest): Likewise.
47180         (ctan_test_towardzero): Likewise.
47181         (ctan_test_downward): Likewise.
47182         (ctan_test_upward): Likewise.
47183         (ctanh_test): Likewise.
47184         (ctanh_test_tonearest): Likewise.
47185         (ctanh_test_towardzero): Likewise.
47186         (ctanh_test_downward): Likewise.
47187         (ctanh_test_upward): Likewise.
47188         (erf_test): Likewise.
47189         (erfc_test): Likewise.
47190         (exp_test): Likewise.
47191         (exp_test_tonearest): Likewise.
47192         (exp_test_towardzero): Likewise.
47193         (exp_test_downward): Likewise.
47194         (exp_test_upward): Likewise.
47195         (exp10_test): Likewise.
47196         (exp10_test_tonearest): Likewise.
47197         (exp10_test_towardzero): Likewise.
47198         (exp10_test_downward): Likewise.
47199         (exp10_test_upward): Likewise.
47200         (pow10_test): Likewise.
47201         (exp2_test): Likewise.
47202         (expm1_test): Likewise.
47203         (expm1_test_tonearest): Likewise.
47204         (expm1_test_towardzero): Likewise.
47205         (expm1_test_downward): Likewise.
47206         (expm1_test_upward): Likewise.
47207         (fabs_test): Likewise.
47208         (fdim_test): Likewise.
47209         (floor_test): Likewise.
47210         (fma_test): Likewise.
47211         (fma_test_towardzero): Likewise.
47212         (fma_test_downward): Likewise.
47213         (fma_test_upward): Likewise.
47214         (fmax_test): Likewise.
47215         (fmin_test): Likewise.
47216         (fmod_test): Likewise.
47217         (fpclassify_test): Likewise.
47218         (frexp_test): Likewise.
47219         (hypot_test): Likewise.
47220         (ilogb_test): Likewise.
47221         (isfinite_test): Likewise.
47222         (finite_test): Likewise.
47223         (isgreater_test): Likewise.
47224         (isgreaterequal_test): Likewise.
47225         (isinf_test): Likewise.
47226         (isless_test): Likewise.
47227         (islessequal_test): Likewise.
47228         (islessgreater_test): Likewise.
47229         (isnan_test): Likewise.
47230         (isnormal_test): Likewise.
47231         (issignaling_test): Likewise.
47232         (isunordered_test): Likewise.
47233         (j0_test): Likewise.
47234         (j1_test): Likewise.
47235         (jn_test): Likewise.
47236         (ldexp_test): Likewise.
47237         (lgamma_test): Likewise.
47238         (gamma_test): Likewise.
47239         (lrint_test): Likewise.
47240         (lrint_test_tonearest): Likewise.
47241         (lrint_test_towardzero): Likewise.
47242         (lrint_test_downward): Likewise.
47243         (lrint_test_upward): Likewise.
47244         (llrint_test): Likewise.
47245         (llrint_test_tonearest): Likewise.
47246         (llrint_test_towardzero): Likewise.
47247         (llrint_test_downward): Likewise.
47248         (llrint_test_upward): Likewise.
47249         (log_test): Likewise.
47250         (log10_test): Likewise.
47251         (log1p_test): Likewise.
47252         (log2_test): Likewise.
47253         (logb_test): Likewise.
47254         (logb_test_downward): Likewise.
47255         (lround_test): Likewise.
47256         (llround_test): Likewise.
47257         (modf_test): Likewise.
47258         (nearbyint_test): Likewise.
47259         (nextafter_test): Likewise.
47260         (nexttoward_test): Likewise.
47261         (pow_test): Likewise.
47262         (pow_test_tonearest): Likewise.
47263         (pow_test_towardzero): Likewise.
47264         (pow_test_downward): Likewise.
47265         (pow_test_upward): Likewise.
47266         (remainder_test): Likewise.
47267         (drem_test): Likewise.
47268         (remainder_test_tonearest): Likewise.
47269         (drem_test_tonearest): Likewise.
47270         (remainder_test_towardzero): Likewise.
47271         (drem_test_towardzero): Likewise.
47272         (remainder_test_downward): Likewise.
47273         (drem_test_downward): Likewise.
47274         (remainder_test_upward): Likewise.
47275         (drem_test_upward): Likewise.
47276         (remquo_test): Likewise.
47277         (rint_test): Likewise.
47278         (rint_test_tonearest): Likewise.
47279         (rint_test_towardzero): Likewise.
47280         (rint_test_downward): Likewise.
47281         (rint_test_upward): Likewise.
47282         (round_test): Likewise.
47283         (scalb_test): Likewise.
47284         (scalbn_test): Likewise.
47285         (scalbln_test): Likewise.
47286         (signbit_test): Likewise.
47287         (sin_test): Likewise.
47288         (sin_test_tonearest): Likewise.
47289         (sin_test_towardzero): Likewise.
47290         (sin_test_downward): Likewise.
47291         (sin_test_upward): Likewise.
47292         (sincos_test): Likewise.
47293         (sinh_test): Likewise.
47294         (sinh_test_tonearest): Likewise.
47295         (sinh_test_towardzero): Likewise.
47296         (sinh_test_downward): Likewise.
47297         (sinh_test_upward): Likewise.
47298         (sqrt_test): Likewise.
47299         (sqrt_test_tonearest): Likewise.
47300         (sqrt_test_towardzero): Likewise.
47301         (sqrt_test_downward): Likewise.
47302         (sqrt_test_upward): Likewise.
47303         (tan_test): Likewise.
47304         (tan_test_tonearest): Likewise.
47305         (tan_test_towardzero): Likewise.
47306         (tan_test_downward): Likewise.
47307         (tan_test_upward): Likewise.
47308         (tanh_test): Likewise.
47309         (tgamma_test): Likewise.
47310         (trunc_test): Likewise.
47311         (y0_test): Likewise.
47312         (y1_test): Likewise.
47313         (yn_test): Likewise.
47314         (significand_test): Likewise.
47316         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
47317         individual tests in comment.
47318         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
47319         (prev_max_error): New variable.
47320         (prev_real_max_error): Likewise.
47321         (prev_imag_max_error): Likewise.
47322         (compare_ulp_data): Don't refer to test names in comment.
47323         (find_test_ulps): Remove function.
47324         (find_function_ulps): Likewise.
47325         (find_complex_function_ulps): Likewise.
47326         (init_max_error): Take function name as argument.  Look up ulps
47327         for that function.
47328         (print_ulps): Remove function.
47329         (print_max_error): Use prev_max_error instead of calling
47330         find_function_ulps.
47331         (print_complex_max_error): Use prev_real_max_error and
47332         prev_imag_max_error instead of calling find_complex_function_ulps.
47333         (check_float_internal): Take max_ulp parameter instead of calling
47334         find_test_ulps.  Don't call print_ulps.
47335         (check_float): Update call to check_float_internal.
47336         (check_complex): Update calls to check_float_internal.
47337         (START): Pass argument to init_max_error.
47338         * math/gen-libm-test.pl (%results): Don't include "kind"
47339         information.
47340         (parse_ulps): Don't handle ulps of individual tests.
47341         (print_ulps_file): Likewise.
47342         (output_ulps): Likewise.
47343         * math/README.libm-test: Update.
47344         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
47345         individual tests.
47346         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
47347         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
47348         * sysdeps/arm/libm-test-ulps: Likewise.
47349         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
47350         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
47351         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
47352         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
47353         * sysdeps/microblaze/libm-test-ulps: Likewise.
47354         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
47355         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
47356         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47357         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
47358         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47359         * sysdeps/sh/libm-test-ulps: Likewise.
47360         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47361         * sysdeps/tile/libm-test-ulps: Likewise.
47362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47364 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
47366         * math/libm-test.inc (print_complex_max_error): Check separately
47367         whether real and imaginary errors are within allowed range and
47368         pass 0 to print_complex_function_ulps instead of value within
47369         allowed range.
47371 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47373         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
47374         formatting.
47375         (get_handles_fopen): Likewise.
47376         (do_write_test): Likewise.
47378         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
47380         * libio/fileops.c (do_ftell): Use cached offset when
47381         available.
47382         * libio/iofwide.c (do_ftell_wide): Likewise.
47383         * libio/iofdopen.c (_IO_new_fdopen): Don't use
47384         _IO_file_attach.
47385         * libio/wfileops.c (_IO_fwide): Don't cache offset.
47387         [BZ #16532]
47388         * libio/libioP.h (get_file_offset): New function.
47389         * libio/fileops.c (get_file_offset): Likewise.
47390         (do_ftell): Likewise.
47391         (_IO_new_file_seekoff): Split out ftell logic.
47392         * libio/wfileops.c (do_ftell_wide): Likewise.
47393         (_IO_wfile_seekoff): Split out ftell logic.
47394         * libio/tst-ftell-active-handler.c: New test case.
47395         * libio/Makefile (tests): Add it.
47397 2014-03-03  Roland McGrath  <roland@hack.frob.com>
47399         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
47400         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
47402 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47404         [BZ #16639]
47405         * nscd/connections.c (nscd_init): Call do_exit.
47406         (start_threads): Call do_exit and notify_parent.
47407         (begin_drop_privileges): Call do_exit.
47408         (finish_drop_privileges): Likewise.
47409         * nscd/selinux.c (preserve_capabilities): Likewise.
47410         (install_real_capabilities): Likewise.
47411         (nscd_selinux_enabled): Likewise.
47412         (avc_create_thread): Likewise.
47413         (avc_alloc_lock): Likewise.
47414         (nscd_avc_init): Likewise.
47415         * nscd/nscd.c (parent_fd): New static variable.
47416         (main): Create a pipe between parent and child processes.
47417         Skip closing parent_fd.
47418         (monitor_child): New function.
47419         (do_exit): Likewise.
47420         (notify_parent): Likewise.
47421         * nscd/nscd.h (notify_parent): Likewise.
47422         (do_exit): Likewise.
47424 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
47426         * malloc/malloc.c (__libc_calloc): Revert last change.
47428 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47430         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47432 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
47434         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
47435         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
47436         implementation.
47437         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47438         (__libc_ifunc_impl_list): Likewise.
47439         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
47440         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
47441         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
47442         * string/strrchr.c: Define STRRCHR.
47444 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
47446         * benchtest/bench-strtok.c (simple_strtok): Delete.
47447         (strtok_string): Use as benchmark.
47448         * string/strtok (STRTOK): New macro.
47450 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
47452         * manual/threads.texi: Add header and standard comments to all
47453         functions.
47455         * elf/dl-lookup.c (check_match): New function.
47456         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
47457         (do_lookup_x): Remove nested function check_match. Use non-nested
47458         function check_match.
47460 2014-02-28  Roland McGrath  <roland@hack.frob.com>
47462         * csu/Makefile (generated, before-compile): Use += rather than =.
47463         * catgets/Makefile (generated, generated-dirs): Likewise.
47464         * debug/Makefile (generated): Likewise.
47465         * dlfcn/Makefile (generated): Likewise.
47466         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
47467         * iconvdata/Makefile (before-compile, generated): Likewise.
47468         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
47469         * libio/Makefile (generated): Likewise.
47470         * malloc/Makefile (generated): Likewise.
47471         * manual/Makefile (generated, generated-dirs): Likewise.
47472         * misc/Makefile (generated): Likewise.
47473         * posix/Makefile (generated): Likewise.
47474         * resolv/Makefile (generated): Likewise.
47475         * sunrpc/Makefile (generated, generated-dirs): Likewise.
47476         * timezone/Makefile (generated, generated-dirs): Likewise.
47478         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
47480 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47482         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
47483         power8 implementation.
47484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
47485         file: POWER8 llround ifunc implementation.
47486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
47487         (__lllround): Add POWER8 implementation.
47488         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
47489         POWER8 llround implementation.
47491         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
47492         power8 implementation.
47493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
47494         file: POWER8 llrint ifunc implementation.
47495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
47496         Add POWER8 implementation.
47497         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
47498         POWER8 llrint implementation.
47500         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
47501         power8 implementation.
47502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
47503         file: POWER8 finite ifunc implementation.
47504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
47505         Add POWER8 implementation.
47506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
47507         Likewise.
47508         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
47509         POWER8 finite implementation.
47510         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
47512         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
47513         power8 implementation.
47514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
47515         file: POWER8 isinf ifunc implementation.
47516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
47517         POWER8 implementation.
47518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
47519         Likewise.
47520         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
47521         isinf implementation.
47522         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
47524         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
47525         (INIT_ARCH): Add hwcap2 initialization.
47526         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
47527         power8 implementation.
47528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
47529         file: POWER8 isnan ifunc implementation.
47530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
47531         POWER8 implementation.
47532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
47533         Likewise.
47534         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
47535         isnan implementation.
47536         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
47538 2014-02-27  Joey Ye  <joey.ye@arm.com>
47540         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
47541         (_FP_NANFRAC_Q): Set to zero.
47543 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47545         [BZ #16623]
47546         * math/auto-libm-test-in: New test inputs.
47547         * math/auto-libm-test-out: Regenerate.
47548         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
47549         and DA.
47550         (__cos): Likewise.
47551         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
47553 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
47555         * scripts/evaluate-test.sh: Take new argument indicating whether
47556         failure is expected.
47557         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
47558         indicating whether failure is expected.
47559         * conform/Makefile (test-xfail-run-conformtest): New variable.
47560         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
47561         level.
47562         * posix/Makefile (test-xfail-annexc): New variable.
47563         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
47565 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
47567         * argp/Makefile: Include Makeconfig immediately after defining
47568         subdir.
47569         * assert/Makefile: Likewise.
47570         * benchtests/Makefile: Likewise.
47571         * catgets/Makefile: Likewise.
47572         * conform/Makefile: Likewise.
47573         * crypt/Makefile: Likewise.
47574         * csu/Makefile: Likewise.
47575         (all): Remove target.
47576         * ctype/Makefile: Include Makeconfig immediately after defining
47577         subdir.
47578         * debug/Makefile: Likewise.
47579         * dirent/Makefile: Likewise.
47580         * dlfcn/Makefile: Likewise.
47581         * gmon/Makefile: Likewise.
47582         * gnulib/Makefile: Likewise.
47583         * grp/Makefile: Likewise.
47584         * gshadow/Makefile: Likewise.
47585         * hesiod/Makefile: Likewise.
47586         * hurd/Makefile: Likewise.
47587         (all): Remove target.
47588         * iconvdata/Makefile: Include Makeconfig immediately after
47589         defining subdir.
47590         * inet/Makefile: Likewise.
47591         * intl/Makefile: Likewise.
47592         * io/Makefile: Likewise.
47593         * libio/Makefile: Likewise.
47594         (all): Remove target.
47595         * locale/Makefile: Include Makeconfig immediately after defining
47596         subdir.
47597         * login/Makefile: Likewise.
47598         * mach/Makefile: Likewise.
47599         (all): Remove target.
47600         * malloc/Makefile: Include Makeconfig immediately after defining
47601         subdir.
47602         (all): Remove target.
47603         * manual/Makefile: Include Makeconfig immediately after defining
47604         subdir.
47605         * math/Makefile: Likewise.
47606         * misc/Makefile: Likewise.
47607         * nis/Makefile: Likewise.
47608         * nss/Makefile: Likewise.
47609         * po/Makefile: Likewise.
47610         (all): Remove target.
47611         * posix/Makefile: Include Makeconfig immediately after defining
47612         subdir.
47613         * pwd/Makefile: Likewise.
47614         * resolv/Makefile: Likewise.
47615         * resource/Makefile: Likewise.
47616         * rt/Makefile: Likewise.
47617         * setjmp/Makefile: Likewise.
47618         * shadow/Makefile: Likewise.
47619         * signal/Makefile: Likewise.
47620         * socket/Makefile: Likewise.
47621         * soft-fp/Makefile: Likewise.
47622         * stdio-common/Makefile: Likewise.
47623         * stdlib/Makefile: Likewise.
47624         * streams/Makefile: Likewise.
47625         * string/Makefile: Likewise.
47626         * sunrpc/Makefile: Likewise.
47627         (all): Remove target.
47628         * sysvipc/Makefile: Include Makeconfig immediately after defining
47629         subdir.
47630         * termios/Makefile: Likewise.
47631         * time/Makefile: Likewise.
47632         * timezone/Makefile: Likewise.
47633         (all): Remove target.
47634         * wcsmbs/Makefile: Include Makeconfig immediately after defining
47635         subdir.
47636         * wctype/Makefile: Likewise.
47638 2014-02-26  Steve Ellcey  <sellcey@mips.com>
47640         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
47641         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
47642         (libc_feholdexcept_setround_mips): Ditto.
47643         (libc_feholdsetround): New.
47644         (libc_feholdsetroundf): New.
47645         (libc_feholdsetroundl): New.
47646         (libc_feupdateenv_test_mips): New.
47647         (libc_feupdateenv_test): New.
47648         (libc_feupdateenv_testf): New.
47649         (libc_feupdateenv_testl): New.
47650         (libc_feresetround): New.
47651         (libc_feresetroundf): New.
47652         (libc_feresetroundl): New.
47653         (libc_fetestexcept_mips): New.
47654         (libc_fetestexcept): New.
47655         (libc_fetestexceptf): New.
47656         (libc_fetestexceptl): New.
47657         (HAVE_RM_CTX): New.
47658         (libc_feholdexcept_setround_mips_ctx): New.
47659         (libc_feholdexcept_setround_ctx): New.
47660         (libc_feholdexcept_setroundf_ctx): New.
47661         (libc_feholdexcept_setroundl_ctx): New.
47662         (libc_fesetenv_mips_ctx): New.
47663         (libc_fesetenv_ctx): New.
47664         (libc_fesetenv_ctxf): New.
47665         (libc_fesetenv_ctxl): New.
47666         (libc_feupdateenv_mips_ctx): New.
47667         (libc_feupdateenv_ctx): New.
47668         (libc_feupdateenvf_ctx): New.
47669         (libc_feupdateenvl_ctx): New.
47670         (libc_feholdsetround_mips_ctx): New.
47671         (libc_feholdsetround_ctx): New.
47672         (libc_feholdsetroundf_ctx): New.
47673         (libc_feholdsetroundl_ctx): New.
47674         (libc_feresetround_mips_ctx): New.
47675         (libc_feresetround_ctx): New.
47676         (libc_feresetroundf_ctx): New.
47677         (libc_feresetroundl_ctx): New.
47679 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
47681         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
47683         * manual/ipc.texi: New file.
47684         * manual/Makefile (chapters): Add ipc.
47685         * manual/job.texi: Add "Inter-Process Communication" to next.
47686         * manual/process.texi: Add "Inter-Process Communication" to prev.
47688 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47690         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47692 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
47694         * malloc/malloc.c (__libc_calloc): Simplify implementation.
47696         * manual/arith.texi: Fix spaces after sentences.
47697         * manual/charset.texi: Likewise.
47698         * manual/errno.texi: Likewise.
47699         * manual/install.texi: Likewise.
47700         * manual/llio.texi: Likewise.
47701         * manual/locale.texi: Likewise.
47702         * manual/maint.texi: Likewise.
47703         * manual/math.texi: Likewise.
47704         * manual/memory.texi: Likewise.
47705         * manual/message.texi: Likewise.
47706         * manual/probes.texi: Likewise.
47707         * manual/resource.texi: Likewise.
47708         * manual/signal.texi: Likewise.
47709         * manual/socket.texi: Likewise.
47710         * manual/stdio.texi: Likewise.
47711         * manual/string.texi: Likewise.
47712         * manual/time.texi: Likewise.
47713         * manual/users.texi: Likewise.
47715 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
47717         [BZ #16632]
47718         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
47719         _DEFAULT_SOURCE is defined.
47721 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
47722             Carlos O'Donell  <carlos@redhat.com>
47724         [BZ #16613]
47725         * elf/dl-tls.c (_dl_count_modids): New function.
47726         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
47727         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
47728         audit library and increment generation counter.
47729         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
47730         * elf/tst-audit9.c: New file.
47731         * elf/tst-auditmod9a.c: New file.
47732         * elf/tst-auditmod9b.c: New file.
47733         * elf/Makefile: Add rules to build and run tst-audit9.
47735 2014-02-25  Florian Weimer  <fweimer@redhat.com>
47737         [BZ #15347]
47738         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
47740 2014-02-25  Will Newton  <will.newton@linaro.org>
47742         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
47743         (__longjmp): Restore sp and lr before restoring callee
47744         saved registers.  Add longjmp and longjmp_target
47745         SystemTap probe point.
47746         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
47747         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
47748         Define to zero to match jmpbuf layout.
47749         * sysdeps/arm/setjmp.S: Include stap-probe.h.
47750         (__sigsetjmp): Save sp and lr before saving callee
47751         saved registers.  Add setjmp SystemTap probe point.
47753 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
47755         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47757 2014-02-24  Andreas Schwab  <schwab@suse.de>
47759         [BZ #15804]
47760         * elf/pldd.c (wait_for_ptrace_stop): New function.
47761         (main): Call it after attaching.
47763 2014-02-22  Roland McGrath  <roland@hack.frob.com>
47765         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
47766         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
47767         Versions files is now verboten.
47768         * hurd/Versions (libc: GLIBC_2.0):
47769         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
47770         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
47771         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
47772         * mach/Versions: Likewise.
47774         * csu/Versions: Remove unused %include.
47775         * resolv/Versions: Likewise.
47777 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
47779         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
47780         ($(objpfx)check-local-headers.out): Likewise.
47781         ($(objpfx)begin-end-check.out): Likewise.
47782         * Makerules (check-abi-%.out): Likewise.
47783         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
47784         ($(objpfx)test2.cat): Likewise.
47785         ($(objpfx)de/libc.cat): Likewise.
47786         ($(objpfx)test-gencat.out): Likewise.
47787         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
47788         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
47789         ($(objpfx)noload-mem): Likewise.
47790         ($(objpfx)tst-pathopt.out): Likewise.
47791         ($(objpfx)tst-rtld-load-self.out): Likewise.
47792         ($(objpfx)tst-array1-cmp.out): Likewise.
47793         ($(objpfx)tst-array1-static-cmp.out): Likewise.
47794         ($(objpfx)tst-array2-cmp.out): Likewise.
47795         ($(objpfx)tst-array3-cmp.out): Likewise.
47796         ($(objpfx)tst-array4-cmp.out): Likewise.
47797         ($(objpfx)tst-array5-cmp.out): Likewise.
47798         ($(objpfx)tst-array5-static-cmp.out): Likewise.
47799         ($(objpfx)check-textrel.out): Likewise.
47800         ($(objpfx)check-execstack.out): Likewise.
47801         ($(objpfx)check-localplt.out): Likewise.
47802         ($(objpfx)order2-cmp.out): Likewise.
47803         ($(objpfx)tst-leaks1-mem): Likewise.
47804         ($(objpfx)tst-leaks1-static-mem): Likewise.
47805         ($(objpfx)tst-initorder-cmp.out): Likewise.
47806         ($(objpfx)tst-initorder2-cmp.out): Likewise.
47807         ($(objpfx)tst-unused-dep.out): Likewise.
47808         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
47809         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
47810         * iconv/Makefile (test-iconvconfig): Likewise.
47811         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
47812         ($(objpfx)iconv-test.out): Likewise.
47813         ($(objpfx)tst-tables.out): Likewise.
47814         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
47815         ($(objpfx)tst-gettext.out): Likewise.
47816         ($(objpfx)tst-translit.out): Likewise.
47817         ($(objpfx)tst-gettext2.out): Likewise.
47818         ($(objpfx)tst-gettext4.out): Likewise.
47819         ($(objpfx)tst-gettext6.out): Likewise.
47820         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
47821         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
47822         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
47823         ($(objpfx)tst-fopenloc-mem.out): Likewise.
47824         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
47825         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
47826         * posix/Makefile ($(objpfx)globtest.out): Likewise.
47827         ($(objpfx)wordexp-tst.out): Likewise.
47828         ($(objpfx)annexc.out): Likewise.
47829         ($(objpfx)tst-fnmatch-mem): Likewise.
47830         ($(objpfx)bug-regex2-mem): Likewise.
47831         ($(objpfx)bug-regex14-mem): Likewise.
47832         ($(objpfx)bug-regex21-mem): Likewise.
47833         ($(objpfx)bug-regex31-mem): Likewise.
47834         ($(objpfx)tst-vfork3-mem): Likewise.
47835         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
47836         ($(objpfx)tst-pcre-mem): Likewise.
47837         ($(objpfx)tst-boost-mem): Likewise.
47838         ($(objpfx)tst-getconf.out): Likewise.
47839         ($(objpfx)bug-ga2-mem): Likewise.
47840         ($(objpfx)bug-glob2-mem): Likewise.
47841         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
47842         ($(objpfx)mtrace-tst-leaks2): Likewise.
47843         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
47844         ($(objpfx)tst-printf.out): Likewise.
47845         ($(objpfx)tst-setvbuf1.out): Likewise.
47846         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
47847         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
47848         ($(objpfx)tst-fmtmsg.out): Likewise.
47849         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
47850         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
47852         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
47853         * bits/sigaction.h [__USE_MISC]: Likewise.
47854         * bits/waitstatus.h: Update #endif comments.
47855         * ctype/ctype.h: Likewise.
47856         * dirent/dirent.h: Likewise.
47857         [__USE_MISC]: Remove redundant conditionals.
47858         * grp/grp.h: Update #endif comments.
47859         [__USE_GNU]: Remove redundant conditionals.
47860         [__USE_MISC]: Likewise.
47861         * inet/netinet/in.h [__USE_GNU]: Likewise.
47862         * io/sys/stat.h [__USE_MISC]: Likewise.
47863         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
47864         * libio/bits/stdio.h: Update #endif comments.
47865         [__USE_MISC]: Remove redundant conditionals.
47866         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
47867         * libio/stdio.h: Update #endif comments.
47868         [__USE_MISC]: Remove redundant conditionals.
47869         * math/bits/math-finite.h [__USE_MISC]: Likewise.
47870         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
47871         * math/math.h: Update #else and #endif comments.
47872         [__USE_MISC]: Remove redundant conditionals.
47873         * misc/sys/uio.h: Update #endif comments.
47874         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
47875         * posix/glob.h [__USE_MISC]: Likewise.
47876         * posix/sys/types.h: Update #endif comments.
47877         [__USE_MISC]: Remove redundant conditionals.
47878         * posix/sys/wait.h: Update #endif comments.
47879         [__USE_MISC]: Remove redundant conditionals.
47880         * posix/unistd.h: Update #endif comments.
47881         [__USE_MISC]: Remove redundant conditionals.
47882         * pwd/pwd.h [__USE_GNU]: Likewise.
47883         [__USE_MISC]: Likewise.
47884         * resolv/netdb.h [__USE_GNU]: Likewise.
47885         * signal/signal.h: Update #endif comments.
47886         [__USE_MISC]: Remove redundant conditionals.
47887         * stdlib/stdlib.h: Update #else and #endif comments.
47888         [__USE_MISC]: Remove redundant conditionals.
47889         [__USE_GNU]: Likewise.
47890         * string/bits/string2.h [__USE_MISC]: Likewise.
47891         * string/string.h: Update #endif comments.
47892         [__USE_MISC]: Remove redundant conditionals.
47893         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
47894         Likewise.
47895         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
47896         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
47897         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
47898         Likewise.
47899         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
47900         Likewise.
47901         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
47902         comments.
47903         [__USE_MISC]: Remove redundant conditionals.
47904         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
47905         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
47906         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
47907         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
47908         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
47909         Likewise.
47910         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
47911         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
47912         Likewise.
47913         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
47914         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
47915         Likewise.
47916         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
47917         Likewise.
47918         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
47919         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
47920         Likewise.
47921         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
47922         Likewise.
47923         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
47924         * sysdeps/x86/bits/string.h: Update #endif comments.
47925         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
47926         conditionals.
47927         * time/sys/time.h: Update #endif comments.
47928         * time/time.h: Likewise.
47929         [__USE_MISC]: Remove redundant conditionals.
47931 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
47933         [BZ #16600]
47934         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
47936 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
47938         * Versions.def (librt): Add GLIBC_2.17.
47940 2014-02-21  Adam Conrad  <adconrad@0c3.net>
47942         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
47943         synonym for _SYS_AUXV_H to allow direct inclusion.
47944         * sysdeps/sparc/bits/hwcap.h: Likewise.
47945         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
47946         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
47947         * sysdeps/sparc/sysdep.h: Likewise.
47949 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47951         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
47953 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
47955         * benchtests/bench-strrchr.c: Print length instead of position.
47957 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
47959         [BZ #16611]
47960         * sysdeps/unix/sysv/linux/kernel-features.h
47961         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
47962         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
47963         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
47964         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
47965         Likewise.
47966         [__i386__ || __powerpc__ || __sh__ || __sparc__]
47967         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47968         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
47969         (__ASSUME_SENDMMSG): Define instead of using previous
47970         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
47971         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47972         (__ASSUME_SENDMMSG_SYSCALL): Define.
47973         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47974         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
47975         Likewise.
47976         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47977         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
47978         Likewise.
47979         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47980         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
47981         Likewise.
47982         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
47983         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
47984         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
47985         [__ASSUME_SENDMMSG]: Change conditionals to
47986         [__ASSUME_SENDMMSG_SOCKETCALL].
47987         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47988         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
47989         Define.
47990         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47991         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
47992         Likewise.
47993         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
47994         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
47995         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
47996         [!__ASSUME_SENDMMSG]: Change conditional to
47997         [!__ASSUME_SENDMMSG_SOCKETCALL].
47998         * sysdeps/unix/sysv/linux/tile/kernel-features.h
47999         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
48000         Define.
48002         [BZ #16610]
48003         * sysdeps/unix/sysv/linux/kernel-features.h
48004         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
48005         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
48006         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
48007         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
48008         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
48009         [__i386__ || __sparc__]
48010         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
48011         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
48012         (__ASSUME_RECVMMSG): Define instead of using previous
48013         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
48014         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48015         (__ASSUME_RECVMMSG_SYSCALL): Define.
48016         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48017         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48018         Likewise.
48019         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48020         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48021         Likewise.
48022         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48023         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48024         Likewise.
48025         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
48026         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
48027         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
48028         [__ASSUME_RECVMMSG]: Change condition to
48029         [__ASSUME_RECVMMSG_SOCKETCALL].
48030         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48031         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48032         Define.
48033         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
48034         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48035         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48036         Likewise.
48037         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
48038         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
48039         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
48040         [!__ASSUME_RECVMMSG]: Change condition to
48041         [!__ASSUME_RECVMMSG_SOCKETCALL].
48042         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48043         (__ASSUME_RECVMMSG_SYSCALL): Define.
48045         [BZ #16609]
48046         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
48047         __powerpc__ || __s390__ || __sh__ || __sparc__]
48048         (__ASSUME_SOCKETCALL): Define.
48049         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
48050         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
48051         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
48052         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
48053         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
48054         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
48055         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
48056         (__ASSUME_ACCEPT4): Define instead of using previous
48057         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
48058         __powerpc__ || __sparc__ || __s390__)] condition.
48059         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48060         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
48061         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
48062         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
48063         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
48064         [!__ASSUME_ACCEPT4]: Change condition to
48065         [!__ASSUME_ACCEPT4_SOCKETCALL].
48066         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48067         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
48068         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
48069         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48070         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
48071         __ASSUME_ACCEPT4_SYSCALL.
48072         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
48073         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
48074         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48075         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
48076         __ASSUME_ACCEPT4_SYSCALL.
48077         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
48078         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
48079         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
48080         [__ASSUME_ACCEPT4]: Change condition to
48081         [__ASSUME_ACCEPT4_SOCKETCALL].
48082         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
48083         (__ASSUME_SOCKETCALL): Define.
48084         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
48085         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48086         (__ASSUME_SOCKETCALL): Define.
48087         (__ASSUME_ACCEPT4): Remove.
48088         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
48089         Define.
48090         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48091         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
48092         Likewise.
48093         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48094         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
48096         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
48097         macro.
48098         (HWCAP_ARM_LPAE): Likewise.
48099         (HWCAP_ARM_EVTSTRM): Likewise.
48100         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
48101         Add vpfd32, lpae and evtstrm.
48102         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
48103         Increase to 22.
48105 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
48107         * math/auto-libm-test-in: Add tests of clog10.
48108         * math/auto-libm-test-out: Regenerated.
48109         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
48110         * sysdeps/i386/fpu/libm-test-ulps: Update.
48111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48113 2014-02-18  Andreas Schwab  <schwab@suse.de>
48115         [BZ #16574]
48116         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
48117         Store non-zero if the second buffer was newly allocated.
48118         (send_dg): Likewise.
48119         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
48120         to send_vc and send_dg.
48121         (res_nsend): Pass NULL for ansp2_malloced.
48122         * resolv/res_query.c (__libc_res_nquery): Add parameter
48123         answerp2_malloced and pass it down to __libc_res_nsend.
48124         (res_nquery): Pass additional NULL to __libc_res_nquery.
48125         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
48126         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
48127         second answer buffer if answerp2_malloced was set.
48128         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
48129         (__libc_res_nquerydomain): Add parameter
48130         answerp2_malloced and pass it down to __libc_res_nquery.
48131         (res_nquerydomain): Pass additional NULL to
48132         __libc_res_nquerydomain.
48133         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
48134         additional NULL to __libc_res_nsend and __libc_res_nquery.
48135         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
48136         additional NULL to __libc_res_nsearch.
48137         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
48138         parameter of __libc_res_nsearch to check for separately allocated
48139         second buffer.
48140         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
48141         __libc_res_nquery.
48142         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
48143         additional NULL to __libc_res_nquery.
48144         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
48145         __libc_res_nsearch.
48146         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
48147         * include/resolv.h: Update prototypes of __libc_res_nquery,
48148         __libc_res_nsearch, __libc_res_nsend.
48150 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
48152         * math/auto-libm-test-in: Add tests of fma.
48153         * math/auto-libm-test-out: Regenerated.
48154         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
48155         (fma_towardzero_test_data): Likewise.
48156         (fma_downward_test_data): Likewise.
48157         (fma_upward_test_data): Likewise.
48158         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
48159         mpc_mode.
48160         (rounding_modes): Add values for new field.
48161         (func_calc_method): Add value mpfr_fff_f.
48162         (func_calc_desc): Add mpfr_fff_f union field.
48163         (test_function): Add field exact_args.
48164         (FUNC): Add macro argument EXACT_ARGS.
48165         (FUNC_mpfr_f_f): Update call to FUNC.
48166         (FUNC_mpfr_f_f): Likewise.
48167         (FUNC_mpfr_ff_f): Likewise.
48168         (FUNC_mpfr_if_f): Likewise.
48169         (FUNC_mpc_c_f): Likewise.
48170         (FUNC_mpc_c_c): Likewise.
48171         (test_functions): Add fma.  Update calls to FUNC.
48172         (handle_input_arg): Add argument exact_args.
48173         (add_test): Update call to handle_input_arg.
48174         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
48175         (output_for_one_input_case): Update call to calc_generic_results.
48176         Recalculate exact zero results in each rounding mode.
48178         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
48179         non-negative before setting low bit.
48180         * math/auto-libm-test-in: Mark one asin test possibly having
48181         spurious underflow.
48182         * math/auto-libm-test-out: Regenerated.
48183         * sysdeps/i386/fpu/libm-test-ulps: Update.
48184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48186 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
48188         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
48189         * sysdeps/unix/sysv/linux/microblaze: Move directory from
48190         ports/sysdeps/unix/sysv/linux/microblaze.
48191         * README: Add missing listing for microblaze*-*-linux-gnu.
48193 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
48195         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
48196         duplicate code
48198 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
48200         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
48201         * sysdeps/unix/sysv/linux/ia64: Move directory from
48202         ports/sysdeps/unix/sysv/linux/ia64.
48203         * README: Update listing for ia64-*-linux-gnu.
48205 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
48206             Joseph Myers  <joseph@codesourcery.com>
48208         * Makeconfig (test-name): New variable.
48209         (evaluate-test): Likewise.
48210         * Makerules (do-test-clean): Remove .test-result files.
48211         (common-mostlyclean): Likewise.
48212         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
48213         * scripts/evaluate-test.sh: New file.
48215 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
48217         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
48218         separate $(objpfx)tst-fopenloc-cmp.out and
48219         $(objpfx)tst-fopenloc-mem.out targets.
48220         (tests): Update dependencies.
48221         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
48222         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
48223         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
48224         (tst-rxspencer-no-utf8-ARGS): New variable.
48225         (tst-rxspencer-no-utf8-ENV): Likewise.
48226         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
48227         instead of $(objpfx)tst-rxspencer-mem.
48228         ($(objpfx)tst-rxspencer-mem): Change target to
48229         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
48230         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
48231         * posix/tst-rxspencer-no-utf8.c: New file.
48233         * elf/Makefile ($(objpfx)order.out): Remove rule.
48234         [$(run-built-tests) = yes] (tests): Depend on
48235         $(objpfx)order-cmp.out.
48236         ($(objpfx)order-cmp.out): New rule.
48237         [$(run-built-tests) = yes] (tests): Depend on
48238         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
48239         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
48240         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
48241         $(objpfx)tst-array5-static-cmp.out.
48242         ($(objpfx)tst-array1.out): Remove rule.
48243         ($(objpfx)tst-array1-cmp.out): New rule.
48244         ($(objpfx)tst-array1-static.out): Remove rule.
48245         ($(objpfx)tst-array1-static-cmp.out): New rule.
48246         ($(objpfx)tst-array2.out): Remove rule.
48247         ($(objpfx)tst-array2-cmp.out): New rule.
48248         ($(objpfx)tst-array3.out): Remove rule.
48249         ($(objpfx)tst-array3-cmp.out): New rule.
48250         ($(objpfx)tst-array4.out): Remove rule.
48251         ($(objpfx)tst-array4-cmp.out): New rule.
48252         ($(objpfx)tst-array5.out): Remove rule.
48253         ($(objpfx)tst-array5-cmp.out): New rule.
48254         ($(objpfx)tst-array5-static.out): Remove rule.
48255         ($(objpfx)tst-array5-static-cmp.out): New rule.
48256         [$(run-built-tests) = yes] (tests): Depend on
48257         $(objpfx)order2-cmp.out.
48258         ($(objpfx)order2.out): Remove rule.
48259         ($(objpfx)order2-cmp.out): New rule.
48260         ($(objpfx)tst-initorder.out): Remove rule.
48261         [$(run-built-tests) = yes] (tests): Depend on
48262         $(objpfx)tst-initorder-cmp.out.
48263         ($(objpfx)tst-initorder-cmp.out): New rule.
48264         ($(objpfx)tst-initorder2.out): Remove rule.
48265         [$(run-built-tests) = yes] (tests): Depend on
48266         $(objpfx)tst-initorder2-cmp.out.
48267         ($(objpfx)tst-initorder2-cmp.out): New rule.
48268         [$(run-built-tests) = yes] (tests): Depend on
48269         $(objpfx)tst-unused-dep-cmp.out.
48270         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
48271         ($(objpfx)tst-unused-dep-cmp.out): New rule.
48272         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
48273         on $(objpfx)tst-setvbuf1-cmp.out.
48274         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
48275         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
48276         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
48277         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
48278         ($(objpfx)tst-svc.out): Remove rule.
48279         ($(objpfx)tst-svc-cmp.out): New rule.
48281 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
48283         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
48284         * ctype/ctype.h [__USE_MISC]: Likewise.
48285         * dirent/dirent.h [__USE_MISC]: Likewise.
48286         * grp/grp.h [__USE_MISC]: Likewise.
48287         * io/fcntl.h [__USE_MISC]: Likewise.
48288         * io/sys/stat.h [__USE_MISC]: Likewise.
48289         * libio/stdio.h [__USE_MISC]: Likewise.
48290         * posix/unistd.h [__USE_MISC]: Likewise.
48291         * pwd/pwd.h [__USE_MISC]: Likewise.
48292         * stdlib.h [__USE_MISC]: Likewise.
48293         * string/bits/string2.h [__USE_MISC]: Likewise.
48294         * string/string.h [__USE_MISC]: Likewise.
48295         * time/time.h [__USE_MISC]: Likewise.
48297 2014-02-13  Andreas Schwab  <schwab@suse.de>
48299         [BZ #16574]
48300         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
48301         second answer buffer if it was separately allocated.
48303 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
48305         * sysdeps/mips/math-tests.h: Include <features.h>.
48306         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
48307         (ROUNDING_TESTS_long_double): Do not define.
48308         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
48309         (EXCEPTION_TESTS_long_double): Likewise.
48310         * sysdeps/mips/mips64/libm-test-ulps: Update.
48312         * include/features.h (__USE_BSD): Remove macro definitions.
48313         (__USE_SVID): Likewise.
48314         (_BSD_SOURCE): Likewise.
48315         (_SVID_SOURCE): Likewise.
48316         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
48317         from definition of _DEFAULT_SOURCE.
48318         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
48319         [_DEFAULT_SOURCE].
48320         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
48321         * bits/mman.h [__USE_BSD]: Likewise.
48322         * bits/termios.h [__USE_BSD]: Likewise.
48323         * bits/waitstatus.h [__USE_BSD]: Likewise.
48324         * ctype/ctype.h [__USE_SVID]: Likewise.
48325         * dirent/dirent.h [__USE_BSD]: Likewise.
48326         * grp/grp.h [__USE_SVID]: Likewise.
48327         [__USE_BSD]: Likewise.
48328         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
48329         * io/fcntl.h [__USE_BSD]: Likewise.
48330         * io/ftw.h [__USE_BSD]: Likewise.
48331         * io/sys/stat.h [__USE_BSD]: Likewise.
48332         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
48333         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
48334         * libio/stdio.h [__USE_SVID]: Likewise.
48335         [__USE_BSD]: Likewise.
48336         * math/math.h [__USE_SVID]: Likewise.
48337         [__USE_BSD]: Likewise.
48338         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
48339         * misc/bits/syslog.h [__USE_BSD]: Likewise.
48340         * misc/search.h [__USE_SVID]: Likewise.
48341         * misc/sys/mman.h [__USE_BSD]: Likewise.
48342         * misc/sys/syslog.h [__USE_BSD]: Likewise.
48343         * misc/sys/uio.h [__USE_BSD]: Likewise.
48344         * posix/bits/unistd.h [__USE_BSD]: Likewise.
48345         * posix/glob.h [__USE_BSD]: Likewise.
48346         * posix/regex.h [__USE_BSD]: Likewise.
48347         * posix/sys/types.h [__USE_BSD]: Likewise.
48348         [__USE_SVID]: Likewise.
48349         * posix/sys/utsname.h [__USE_SVID]: Likewise.
48350         * posix/sys/wait.h [__USE_BSD]: Likewise.
48351         [__USE_SVID]: Likewise.
48352         * posix/unistd.h [__USE_BSD]: Likewise.
48353         [__USE_SVID]: Likewise.
48354         * pwd/pwd.h [__USE_SVID]: Likewise.
48355         * resolv/netdb.h [__USE_BSD]: Likewise.
48356         * setjmp/setjmp.h [__USE_BSD]: Likewise.
48357         * signal/signal.h [__USE_BSD]: Likewise.
48358         [__USE_SVID]: Likewise.
48359         * socket/sys/socket.h [__USE_BSD]: Likewise.
48360         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
48361         * stdlib/stdlib.h [__USE_BSD]: Likewise.
48362         [__USE_SVID]: Likewise.
48363         * string/bits/string2.h [__USE_BSD]: Likewise.
48364         [__USE_SVID]: Likewise.
48365         * string/bits/string3.h [__USE_BSD]: Likewise.
48366         * string/endian.h [__USE_BSD]: Likewise.
48367         * string/string.h [__USE_SVID]: Likewise.
48368         [__USE_BSD]: Likewise.
48369         * string/strings.h [__USE_BSD]: Likewise.
48370         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
48371         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
48372         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
48373         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
48374         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
48375         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
48376         Likewise.
48377         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
48378         Likewise.
48379         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
48380         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
48381         Likewise.
48382         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
48383         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
48384         Likewise.
48385         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
48386         Likewise.
48387         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
48388         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
48389         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
48390         Likewise.
48391         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
48392         Likewise.
48393         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
48394         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
48395         * termios/termios.h [__USE_BSD]: Likewise.
48396         * time/sys/time.h [__USE_BSD]: Likewise.
48397         * time/time.h [__USE_BSD]: Likewise.
48398         [__USE_SVID]: Likewise.
48400         * Makefile (subdir_targets): Remove subdir_lint.out.
48402         * stdio-common/Makefile (do-tst-unbputc): Remove target.
48403         (do-tst-printf): Likewise.
48404         (tests): Depend directly on $(objpfx)tst-unbputc.out and
48405         $(objpfx)tst-printf.out.
48407         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
48409         * Makerules (check-abi-%): Change target to
48410         $(objpfx)check-abi-%.out.
48411         (check-abi target): Update dependencies.
48412         (check-abi-pattern variable): Redirect output of diff to $@.
48413         (check-abi variable): Likewise.
48414         * elf/Makefile (check-abi): Update dependencies.
48416         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
48417         unused.
48418         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
48419         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
48420         subnormal range.
48421         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
48422         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
48423         value has largest subnormal exponent.
48424         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
48425         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
48426         * sysdeps/aarch64/soft-fp/sfp-machine.h
48427         (_FP_TININESS_AFTER_ROUNDING): New macro.
48428         * sysdeps/alpha/soft-fp/sfp-machine.h
48429         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48430         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
48431         Likewise.
48432         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
48433         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48434         * sysdeps/mips/soft-fp/sfp-machine.h
48435         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48436         * sysdeps/powerpc/soft-fp/sfp-machine.h
48437         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48438         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
48439         Likewise.
48440         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
48441         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48442         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
48443         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48444         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
48445         Likewise.
48447 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
48449         [BZ #16545]
48450         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
48451         model 1.
48453 2014-02-12  Richard Henderson  <rth@redhat.com>
48455         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
48456         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
48457         * sysdeps/unix/sysv/linux/alpha: Move directory from
48458         ports/sysdeps/unix/sysv/linux/alpha.
48459         * README: Update listing for alpha-*-linux-gnu.
48461 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
48463         * include/features.h: Update comment documenting feature test
48464         macros.
48465         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
48466         _DEFAULT_SOURCE.
48467         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
48468         (_SVID_SOURCE): Likewise.
48469         (_DEFAULT_SOURCE): Update description of default features.
48470         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
48471         with _GNU_SOURCE.
48472         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
48473         (S_ISVTX): Likewise.
48474         * manual/math.texi (Mathematical Constants): Likewise.
48475         * manual/signal.texi (Interrupted Primitives): Likewise.
48476         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
48477         * math/test-matherr.c (_SVID_SOURCE): Do not define.
48478         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
48479         Don't refer to _SVID_SOURCE in warning text.
48481         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48483         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
48484         already defined.
48485         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
48486         * sysdeps/mips/dl-lookup.c: Remove.
48487         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
48489 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
48491         [BZ #16447]
48492         * math/auto-libm-test-in: Add testcase for expl.
48493         * math/auto-libm-test-out: Regenerate.
48494         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
48495         calculation of unsafe.
48496         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
48498 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
48500         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
48501         * sysdeps/unix/sysv/linux/aarch64: Move directory from
48502         ports/sysdeps/unix/sysv/linux/aarch64.
48503         * README: Update listing for aarch64*-*-linux-gnu.
48505 2014-02-11  Will Newton  <will.newton@linaro.org>
48507         * manual/probes.texi (Mathematical Function Probes): Use
48508         "triggered" instead of "hit".
48510         * manual/probes.texi (Internal Probes): Add documentation
48511         of setjmp, longjmp and longjmp_target probes.
48513         * include/stap-probe.h: Add comment about probe argument
48514         format.
48516         * malloc/mtrace.c (attribute_hidden): Remove unused macro
48517         definition.  (tr_where, tr_freehook, tr_mallochook,
48518         tr_reallochook, tr_memalignhook): Use ANSI protoype.
48520 2014-02-11  David S. Miller  <davem@davemloft.net>
48522         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
48523         processing int_tests.
48525 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
48527         * sysdeps/mips: Move directory from ports/sysdeps/mips.
48528         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
48529         * sysdeps/unix/sysv/linux/mips: Move directory from
48530         ports/sysdeps/unix/sysv/linux/mips.
48531         * README: Update listing for mips-*-linux-gnu and
48532         mips64-*-linux-gnu.
48534 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
48536         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
48537         * sysdeps/unix/sysv/linux/m68k: Move directory from
48538         ports/sysdeps/unix/sysv/linux/m68k.
48539         * README: Update listing for m68k-*-linux-gnu.
48541 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
48543         * sysdeps/tile: Move directory from ports/sysdeps/tile.
48544         * sysdeps/unix/sysv/linux/generic: Move directory from
48545         ports/sysdeps/unix/sysv/linux/generic.
48546         * sysdeps/unix/sysv/linux/tile: Move directory from
48547         ports/sysdeps/unix/sysv/linux/tile.
48548         * README: Update listing for tile*-*-linux-gnu.
48550 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
48552         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
48553         __builtin_expect.
48554         * benchtests/bench-memmem.c (simple_memmem): Likewise.
48555         * catgets/open_catalog.c (__open_catalog): Likewise.
48556         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
48557         * debug/confstr_chk.c: Likewise.
48558         * debug/fread_chk.c (__fread_chk): Likewise.
48559         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
48560         * debug/getgroups_chk.c: Likewise.
48561         * debug/mbsnrtowcs_chk.c: Likewise.
48562         * debug/mbsrtowcs_chk.c: Likewise.
48563         * debug/mbstowcs_chk.c: Likewise.
48564         * debug/memcpy_chk.c: Likewise.
48565         * debug/memmove_chk.c: Likewise.
48566         * debug/mempcpy_chk.c: Likewise.
48567         * debug/memset_chk.c: Likewise.
48568         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
48569         * debug/strcat_chk.c (__strcat_chk): Likewise.
48570         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
48571         * debug/strncat_chk.c (__strncat_chk): Likewise.
48572         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
48573         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
48574         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
48575         * debug/wcpncpy_chk.c: Likewise.
48576         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
48577         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
48578         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
48579         * debug/wcsncpy_chk.c: Likewise.
48580         * debug/wcsnrtombs_chk.c: Likewise.
48581         * debug/wcsrtombs_chk.c: Likewise.
48582         * debug/wcstombs_chk.c: Likewise.
48583         * debug/wmemcpy_chk.c: Likewise.
48584         * debug/wmemmove_chk.c: Likewise.
48585         * debug/wmempcpy_chk.c: Likewise.
48586         * debug/wmemset_chk.c: Likewise.
48587         * dirent/scandirat.c (SCANDIRAT): Likewise.
48588         * dlfcn/dladdr1.c (dladdr1): Likewise.
48589         * dlfcn/dladdr.c (dladdr): Likewise.
48590         * dlfcn/dlclose.c (dlclose_doit): Likewise.
48591         * dlfcn/dlerror.c (__dlerror): Likewise.
48592         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
48593         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
48594         * dlfcn/dlopen.c (dlopen_doit): Likewise.
48595         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
48596         * dlfcn/dlsym.c (dlsym_doit): Likewise.
48597         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
48598         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
48599         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
48600         Likewise.
48601         * elf/dl-conflict.c: Likewise.
48602         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
48603         * elf/dl-dst.h: Likewise.
48604         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
48605         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
48606         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
48607         * elf/dl-init.c (call_init, _dl_init): Likewise.
48608         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
48609         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
48610         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
48611         Likewise.
48612         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
48613         Likewise.
48614         * elf/dl-minimal.c (__libc_memalign): Likewise.
48615         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
48616         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
48617         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
48618         * elf/dl-sym.c (do_sym): Likewise.
48619         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
48620         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
48621         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
48622         * elf/dl-writev.h (_dl_writev): Likewise.
48623         * elf/ldconfig.c (search_dir): Likewise.
48624         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
48625         (dl_main): Likewise.
48626         * elf/setup-vdso.h (setup_vdso): Likewise.
48627         * grp/compat-initgroups.c (compat_call): Likewise.
48628         * grp/fgetgrent.c (fgetgrent): Likewise.
48629         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
48630         * grp/putgrent.c (putgrent): Likewise.
48631         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
48632         Likewise.
48633         * hurd/hurdinit.c: Likewise.
48634         * iconvdata/8bit-gap.c (struct): Likewise.
48635         * iconvdata/ansi_x3.110.c : Likewise.
48636         * iconvdata/big5.c : Likewise.
48637         * iconvdata/big5hkscs.c : Likewise.
48638         * iconvdata/cp1255.c: Likewise.
48639         * iconvdata/cp1258.c : Likewise.
48640         * iconvdata/cp932.c : Likewise.
48641         * iconvdata/euc-cn.c: Likewise.
48642         * iconvdata/euc-jisx0213.c : Likewise.
48643         * iconvdata/euc-jp.c: Likewise.
48644         * iconvdata/euc-jp-ms.c : Likewise.
48645         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
48646         * iconvdata/gb18030.c : Likewise.
48647         * iconvdata/gbbig5.c (const): Likewise.
48648         * iconvdata/gbgbk.c: Likewise.
48649         * iconvdata/gbk.c : Likewise.
48650         * iconvdata/ibm1364.c : Likewise.
48651         * iconvdata/ibm930.c : Likewise.
48652         * iconvdata/ibm932.c: Likewise.
48653         * iconvdata/ibm933.c : Likewise.
48654         * iconvdata/ibm935.c : Likewise.
48655         * iconvdata/ibm937.c : Likewise.
48656         * iconvdata/ibm939.c : Likewise.
48657         * iconvdata/ibm943.c: Likewise.
48658         * iconvdata/iso_11548-1.c: Likewise.
48659         * iconvdata/iso-2022-cn.c : Likewise.
48660         * iconvdata/iso-2022-cn-ext.c : Likewise.
48661         * iconvdata/iso-2022-jp-3.c: Likewise.
48662         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
48663         * iconvdata/iso-2022-kr.c : Likewise.
48664         * iconvdata/iso646.c (gconv_end): Likewise.
48665         * iconvdata/iso_6937-2.c : Likewise.
48666         * iconvdata/iso_6937.c : Likewise.
48667         * iconvdata/iso8859-1.c: Likewise.
48668         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
48669         * iconvdata/shift_jisx0213.c : Likewise.
48670         * iconvdata/sjis.c : Likewise.
48671         * iconvdata/t.61.c : Likewise.
48672         * iconvdata/tcvn5712-1.c : Likewise.
48673         * iconvdata/tscii.c: Likewise.
48674         * iconvdata/uhc.c : Likewise.
48675         * iconvdata/unicode.c (gconv_end): Likewise.
48676         * iconvdata/utf-16.c (gconv_end): Likewise.
48677         * iconvdata/utf-32.c (gconv_end): Likewise.
48678         * iconvdata/utf-7.c (base64): Likewise.
48679         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
48680         * iconv/gconv_close.c (__gconv_close): Likewise.
48681         * iconv/gconv_open.c (__gconv_open): Likewise.
48682         * iconv/gconv_simple.c (internal_ucs4_loop_single)
48683         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
48684         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
48685         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
48686         (ucs4le_internal_loop_single): Likewise.
48687         * iconv/iconv.c (iconv): Likewise.
48688         * iconv/iconv_close.c: Likewise.
48689         * iconv/loop.c (SINGLE): Likewise.
48690         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
48691         * include/atomic.h: Likewise.
48692         * inet/inet6_option.c (option_alloc): Likewise.
48693         * intl/bindtextdom.c (set_binding_values): Likewise.
48694         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
48695         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
48696         * intl/localealias.c (read_alias_file): Likewise.
48697         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
48698         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
48699         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
48700         * libio/fmemopen.c (fmemopen): Likewise.
48701         * libio/iofgets.c (_IO_fgets): Likewise.
48702         * libio/iofgets_u.c (fgets_unlocked): Likewise.
48703         * libio/iofgetws.c (fgetws): Likewise.
48704         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
48705         * libio/iogetdelim.c (_IO_getdelim): Likewise.
48706         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
48707         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
48708         * locale/findlocale.c (_nl_find_locale): Likewise.
48709         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
48710         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
48711         Likewise.
48712         * locale/setlocale.c (setlocale): Likewise.
48713         * login/programs/pt_chown.c (main): Likewise.
48714         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
48715         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
48716         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
48717         (mmap, mmap64, mremap, munmap): Likewise.
48718         * math/e_exp2l.c: Likewise.
48719         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
48720         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
48721         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
48722         * math/s_catan.c (__catan): Likewise.
48723         * math/s_catanf.c (__catanf): Likewise.
48724         * math/s_catanh.c (__catanh): Likewise.
48725         * math/s_catanhf.c (__catanhf): Likewise.
48726         * math/s_catanhl.c (__catanhl): Likewise.
48727         * math/s_catanl.c (__catanl): Likewise.
48728         * math/s_ccosh.c (__ccosh): Likewise.
48729         * math/s_ccoshf.c (__ccoshf): Likewise.
48730         * math/s_ccoshl.c (__ccoshl): Likewise.
48731         * math/s_cexp.c (__cexp): Likewise.
48732         * math/s_cexpf.c (__cexpf): Likewise.
48733         * math/s_cexpl.c (__cexpl): Likewise.
48734         * math/s_clog10.c (__clog10): Likewise.
48735         * math/s_clog10f.c (__clog10f): Likewise.
48736         * math/s_clog10l.c (__clog10l): Likewise.
48737         * math/s_clog.c (__clog): Likewise.
48738         * math/s_clogf.c (__clogf): Likewise.
48739         * math/s_clogl.c (__clogl): Likewise.
48740         * math/s_csin.c (__csin): Likewise.
48741         * math/s_csinf.c (__csinf): Likewise.
48742         * math/s_csinh.c (__csinh): Likewise.
48743         * math/s_csinhf.c (__csinhf): Likewise.
48744         * math/s_csinhl.c (__csinhl): Likewise.
48745         * math/s_csinl.c (__csinl): Likewise.
48746         * math/s_csqrt.c (__csqrt): Likewise.
48747         * math/s_csqrtf.c (__csqrtf): Likewise.
48748         * math/s_csqrtl.c (__csqrtl): Likewise.
48749         * math/s_ctan.c (__ctan): Likewise.
48750         * math/s_ctanf.c (__ctanf): Likewise.
48751         * math/s_ctanh.c (__ctanh): Likewise.
48752         * math/s_ctanhf.c (__ctanhf): Likewise.
48753         * math/s_ctanhl.c (__ctanhl): Likewise.
48754         * math/s_ctanl.c (__ctanl): Likewise.
48755         * math/w_pow.c: Likewise.
48756         * math/w_powf.c: Likewise.
48757         * math/w_powl.c: Likewise.
48758         * math/w_scalb.c (sysv_scalb): Likewise.
48759         * math/w_scalbf.c (sysv_scalbf): Likewise.
48760         * math/w_scalbl.c (sysv_scalbl): Likewise.
48761         * misc/error.c (error_tail): Likewise.
48762         * misc/pselect.c (__pselect): Likewise.
48763         * nis/nis_callback.c (__nis_create_callback): Likewise.
48764         * nis/nis_call.c (__nisfind_server): Likewise.
48765         * nis/nis_creategroup.c (nis_creategroup): Likewise.
48766         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
48767         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
48768         * nis/nis_getservlist.c (nis_getservlist): Likewise.
48769         * nis/nis_lookup.c (nis_lookup): Likewise.
48770         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
48771         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
48772         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
48773         * nis/nis_xdr.c (xdr_endpoint): Likewise.
48774         * nis/nss_compat/compat-grp.c (getgrent_next_file)
48775         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
48776         * nis/nss_compat/compat-initgroups.c (add_group)
48777         (internal_getgrent_r): Likewise.
48778         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
48779         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
48780         * nis/nss_compat/compat-spwd.c (getspent_next_file)
48781         (internal_getspnam_r): Likewise.
48782         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
48783         (_nss_nis_getaliasbyname_r): Likewise.
48784         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
48785         (_nss_nis_getntohost_r): Likewise.
48786         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
48787         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
48788         (_nss_nis_getgrgid_r): Likewise.
48789         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
48790         (internal_nis_gethostent_r, internal_gethostbyname2_r)
48791         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
48792         (_nss_nis_gethostbyname4_r): Likewise.
48793         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
48794         (initgroups_netid): Likewise.
48795         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
48796         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
48797         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
48798         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
48799         (_nss_nis_getprotobynumber_r): Likewise.
48800         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
48801         (_nss_nis_getsecretkey): Likewise.
48802         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
48803         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
48804         (_nss_nis_getpwuid_r): Likewise.
48805         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
48806         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
48807         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
48808         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
48809         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
48810         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
48811         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
48812         Likewise.
48813         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
48814         (_nss_nisplus_getntohost_r): Likewise.
48815         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
48816         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
48817         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
48818         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
48819         Likewise.
48820         * nis/nss_nisplus/nisplus-initgroups.c
48821         (_nss_nisplus_initgroups_dyn): Likewise.
48822         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
48823         (_nss_nisplus_getnetbyaddr_r): Likewise.
48824         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
48825         (_nss_nisplus_getprotobynumber_r): Likewise.
48826         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
48827         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
48828         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
48829         Likewise.
48830         * nis/nss_nisplus/nisplus-service.c
48831         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
48832         (_nss_nisplus_getservbyport_r): Likewise.
48833         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
48834         (_nss_nisplus_getspnam_r): Likewise.
48835         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
48836         Likewise.
48837         * nscd/aicache.c (addhstaiX): Likewise.
48838         * nscd/cache.c (cache_search, prune_cache): Likewise.
48839         * nscd/connections.c (register_traced_file, send_ro_fd)
48840         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
48841         (main_loop_epoll): Likewise.
48842         * nscd/grpcache.c (addgrbyX): Likewise.
48843         * nscd/hstcache.c (addhstbyX): Likewise.
48844         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48845         * nscd/mem.c (gc, mempool_alloc): Likewise.
48846         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
48847         (addinnetgrX): Likewise.
48848         * nscd/nscd-client.h (__nscd_acquire_maplock)
48849         (__nscd_drop_map_ref): Likewise.
48850         * nscd/nscd_getai.c (__nscd_getai): Likewise.
48851         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
48852         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
48853         Likewise.
48854         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
48855         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48856         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
48857         (__nscd_get_map_ref): Likewise.
48858         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
48859         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
48860         Likewise.
48861         * nscd/pwdcache.c (addpwbyX): Likewise.
48862         * nscd/selinux.c (preserve_capabilities): Likewise.
48863         * nscd/servicescache.c (addservbyX): Likewise.
48864         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
48865         * posix/fnmatch.c (fnmatch): Likewise.
48866         * posix/getopt.c (_getopt_internal_r): Likewise.
48867         * posix/glob.c (glob, glob_in_dir): Likewise.
48868         * posix/wordexp.c (exec_comm_child): Likewise.
48869         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
48870         (getanswer_r, gaih_getanswer_slice): Likewise.
48871         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
48872         * resolv/res_init.c: Likewise.
48873         * resolv/res_mkquery.c (res_nmkquery): Likewise.
48874         * resolv/res_query.c (__libc_res_nquery): Likewise.
48875         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
48876         Likewise.
48877         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
48878         * stdio-common/perror.c (perror): Likewise.
48879         * stdio-common/printf_fp.c (___printf_fp): Likewise.
48880         * stdio-common/tmpnam.c (tmpnam): Likewise.
48881         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
48882         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
48883         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
48884         Likewise.
48885         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
48886         * stdlib/putenv.c (putenv): Likewise.
48887         * stdlib/setenv.c (__add_to_environ): Likewise.
48888         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
48889         * stdlib/strtol_l.c (INTERNAL): Likewise.
48890         * string/memmem.c (memmem): Likewise.
48891         * string/strerror.c (strerror): Likewise.
48892         * string/strnlen.c (__strnlen): Likewise.
48893         * string/test-memmem.c (simple_memmem): Likewise.
48894         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
48895         * sunrpc/pm_getport.c (__get_socket): Likewise.
48896         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
48897         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
48898         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
48899         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
48900         Likewise.
48901         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
48902         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
48903         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
48904         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
48905         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
48906         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
48907         Likewise.
48908         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
48909         Likewise.
48910         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
48911         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
48912         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48913         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
48914         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
48915         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
48916         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
48917         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
48918         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
48919         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
48920         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48921         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
48922         Likewise.
48923         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
48924         Likewise.
48925         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
48926         Likewise.
48927         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
48928         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48929         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
48930         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
48931         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
48932         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
48933         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48934         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
48935         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
48936         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
48937         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
48938         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48939         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
48940         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
48941         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48942         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
48943         Likewise.
48944         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
48945         Likewise.
48946         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
48947         Likewise.
48948         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
48949         Likewise.
48950         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
48951         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48952         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
48953         Likewise.
48954         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
48955         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
48956         * sysdeps/posix/opendir.c (__opendirat): Likewise.
48957         * sysdeps/posix/sleep.c: Likewise.
48958         * sysdeps/posix/tempname.c: Likewise.
48959         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
48960         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
48961         Likewise.
48962         * sysdeps/powerpc/powerpc32/dl-machine.h
48963         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
48964         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
48965         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
48966         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
48967         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
48968         Likewise.
48969         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
48970         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
48971         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
48972         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
48973         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
48974         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
48975         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
48976         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
48977         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48978         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
48979         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
48980         (elf_machine_lazy_rel): Likewise.
48981         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
48982         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
48983         (elf_machine_lazy_rel): Likewise.
48984         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
48985         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
48986         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
48987         * sysdeps/unix/grantpt.c (grantpt): Likewise.
48988         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
48989         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
48990         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
48991         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48992         Likewise.
48993         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
48994         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
48995         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
48996         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
48997         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
48998         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
48999         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
49000         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
49001         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
49002         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
49003         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
49004         Likewise.
49005         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
49006         (__posix_fallocate64_l64): Likewise.
49007         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
49008         (posix_fallocate): Likewise.
49009         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
49010         Likewise.
49011         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49012         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
49013         (getifaddrs_internal): Likewise.
49014         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
49015         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
49016         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
49017         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
49018         * sysdeps/unix/sysv/linux/posix_fallocate64.c
49019         (__posix_fallocate64_l64): Likewise.
49020         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
49021         Likewise.
49022         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
49023         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
49024         (__get_clockfreq): Likewise.
49025         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
49026         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
49027         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
49028         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49029         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49030         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
49031         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
49032         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
49033         Likewise.
49034         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
49035         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
49036         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
49037         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
49038         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49039         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
49040         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
49041         Likewise.
49042         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
49043         (posix_fallocate): Likewise.
49044         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49045         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
49046         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
49047         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
49048         (elf_machine_rela, elf_machine_rela_relative)
49049         (elf_machine_lazy_rel): Likewise.
49050         * time/asctime.c (asctime_internal): Likewise.
49051         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
49052         * time/tzset.c (__tzset_parse_tz): Likewise.
49053         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
49054         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
49055         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
49056         * wcsmbs/wcsmbsload.h: Likewise.
49058         [BZ #15894]
49059         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
49061         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
49062         (arena_get2): Remove THREAD_STATS conditionals.
49063         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
49064         (__malloc_stats, int): Likewise.
49066 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
49068         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
49069         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
49071         * manual/setjmp.texi: Fix typos/grammar errors.
49073         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
49074         Only return early when n is <= 0.  Delete unused return statement.
49076         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
49077         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
49078         * debug/tst-longjmp_chk3.c: New file.
49080         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
49081         (test_main): Replace code with set_fortify_handler call.
49082         * debug/test-strcpy_chk.c: Likewise.
49083         * debug/tst-chk1.c: Likewise.
49084         * debug/tst-longjmp_chk.c: Likewise.
49085         * test-skeleton.c: Include fcntl.h & paths.h
49086         (set_fortify_handler): Define.
49088         * debug/tst-longjmp_chk.c: Add header comment and include
49089         ../test-skeleton.c.
49090         (do_test): Mark static.
49091         (TEST_FUNCTION): Define.
49093         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
49094         (IP_PMTUDISC_INTERFACE): Likewise.
49095         (IP_MULTICAST_IF): Likewise.
49096         (IP_MULTICAST_TTL): Likewise.
49097         (IP_MULTICAST_LOOP): Likewise.
49098         (IP_ADD_MEMBERSHIP): Likewise.
49099         (IP_DROP_MEMBERSHIP): Likewise.
49100         (IP_UNBLOCK_SOURCE): Likewise.
49101         (IP_BLOCK_SOURCE): Likewise.
49102         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
49103         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
49104         (IP_MSFILTER): Likewise.
49105         (MCAST_JOIN_GROUP): Likewise.
49106         (MCAST_BLOCK_SOURCE): Likewise.
49107         (MCAST_UNBLOCK_SOURCE): Likewise.
49108         (MCAST_LEAVE_GROUP): Likewise.
49109         (MCAST_JOIN_SOURCE_GROUP): Likewise.
49110         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
49111         (MCAST_MSFILTER): Likewise.
49112         (IP_MULTICAST_ALL): Likewise.
49113         (IP_UNICAST_IF): Likewise.
49115         * timezone/Makefile: Delete $(have-ksh) check.
49116         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
49117         * timezone/tzselect.ksh: Add +x mode bits.
49119         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
49120         (ANON_INODE_FS_MAGIC): Likewise.
49121         (BDEVFS_MAGIC): Likewise.
49122         (BINFMTFS_MAGIC): Likewise.
49123         (BTRFS_TEST_MAGIC): Likewise.
49124         (CRAMFS_MAGIC_WEND): Likewise.
49125         (DEBUGFS_MAGIC): Likewise.
49126         (ECRYPTFS_SUPER_MAGIC): Likewise.
49127         (EXT3_SUPER_MAGIC): Likewise.
49128         (EXT4_SUPER_MAGIC): Likewise.
49129         (FUTEXFS_SUPER_MAGIC): Likewise.
49130         (HOSTFS_SUPER_MAGIC): Likewise.
49131         (HUGETLBFS_MAGIC): Likewise.
49132         (MINIX3_SUPER_MAGIC): Likewise.
49133         (MTD_INODE_FS_MAGIC): Likewise.
49134         (NILFS_SUPER_MAGIC): Likewise.
49135         (OPENPROM_SUPER_MAGIC): Likewise.
49136         (PIPEFS_MAGIC): Likewise.
49137         (PSTOREFS_MAGIC): Likewise.
49138         (QNX6_SUPER_MAGIC): Likewise.
49139         (RAMFS_MAGIC): Likewise.
49140         (REISERFS_SUPER_MAGIC_STRING): Likewise.
49141         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
49142         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
49143         (SECURITYFS_MAGIC): Likewise.
49144         (SELINUX_MAGIC): Likewise.
49145         (SMACK_MAGIC): Likewise.
49146         (SOCKFS_MAGIC): Likewise.
49147         (SQUASHFS_MAGIC): Likewise.
49148         (STACK_END_MAGIC): Likewise.
49149         (TMPFS_MAGIC): Likewise.
49150         (USBDEVICE_SUPER_MAGIC): Likewise.
49151         (V9FS_MAGIC): Likewise.
49152         (XENFS_SUPER_MAGIC): Likewise.
49153         (CRAMFS_MAGIC): Fix typo in comment.
49154         (EXT2_SUPER_MAGIC): Update comment.
49155         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
49157 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
49159         * sysdeps/arm: Move directory from ports/sysdeps/arm.
49160         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
49161         * sysdeps/unix/sysv/linux/arm: Move directory from
49162         ports/sysdeps/unix/sysv/linux/arm.
49163         * README: Update listing for arm-*-linux-gnueabi.
49165         * README: Remove mention of am33.
49167 2014-02-07  Roland McGrath  <roland@hack.frob.com>
49169         * bits/sigset.h (__sigemptyset): Use a statement expression rather
49170         than the comma operator, to avoid "rhs of comma has no effect"
49171         compiler warnings.
49172         (__sigfillset, __sigandset, __sigorset): Likewise.
49173         * include/signal.h (__sigemptyset): Likewise.
49174         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
49176 2014-02-07  Allan McRae  <allan@archlinux.org>
49178         * version.h (RELEASE): Set to "development".
49179         (VERSION): Set to "2.19.90"
49180         * NEWS: Add 2.20 section.
49182 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
49184         [BZ #16529]
49185         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
49187 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
49189         * manual/contrib.texi: Update entry for Carlos O'Donell,
49190         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
49192 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
49194         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
49196         * sysdeps/unix/sysv/linux/kernel-features.h
49197         [__LINUX_KERNEL_VERSION >= 0x020621]
49198         (__ASSUME_PROC_PID_TASK_COMM): Define.
49200 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49202         [BZ #16398]
49203         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
49204         conversion when destination buffer does not have enough space.
49205         * libio/tst-ftell-partial-wide.c: New test case.
49206         * libio/Makefile (tests): Add tst-ftell-partial-wide.
49208         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
49209         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
49210         Leonard and Allan McRae.
49212 2014-02-04  David S. Miller  <davem@davemloft.net>
49214         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
49215         32-bit.
49217 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
49220         New file
49221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
49222         New file
49223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
49224         New file.
49225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
49226         New file.
49227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
49228         New file.
49229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
49230         New file.
49231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
49232         New file.
49233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
49234         New file.
49235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
49236         New file.
49237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
49238         New file.
49239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
49240         New file.
49241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
49242         New file.
49243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
49244         New file.
49246 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49248         * nptl/shlib-versions: Change powerpc*le start to 2.17.
49249         * shlib-versions: Likewise.
49251 2014-02-04  Roland McGrath  <roland@hack.frob.com>
49252             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49254         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
49255         (abilist-pattern): New variable, set to %-le.abilist.
49257         * Makerules (abilist-pattern): New variable.
49258         (vpath): Use $(abilist-pattern) in place of %.abilist.
49259         (check-abi-% pattern rule): Likewise.
49260         (check-abi, update-abi): Likewise.
49262 2014-02-04  Eric Wong  <normalperson@yhbt.net>
49264         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49266 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
49268         * manual/startup.texi: Add next, previous, and top entries for
49269         the `Program Arguments' and `Environment Variables' nodes.
49271 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
49273         * manual/macros.texi: Add comments before MTASC-safety macros.
49275         * manual/users.texi: Document MTASC-safety properties.
49277         * manual/threads.texi (pthread_key_create, pthread_key_delete)
49278         (pthread_getspecific, pthread_setspecific): Format with
49279         @deftypefun, and add @safety note.
49280         * manual/signal.texi: Move comments that analyze the above
49281         functions to their home place.
49283 2014-02-03  Allan McRae  <allan@archlinux.org>
49285         * po/sl.po: Update Slovenian translation from translation project.
49287 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
49289         * manual/time.texi (timegm): Add missing blank after @c.
49290         Reported by Joseph Myers <joseph@codesourcery.com>.
49292 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
49294         * manual/check-safety.sh: New.
49295         * manual/Makefile ($(objpfx)stamp-summary): Run it.
49297         * manual/terminal.texi: Document MTASC-safety properties.
49299         * manual/filesys.texi: Document MTASC-safety properties.
49301         * manual/errno.texi: Document MTASC-safety properties.
49303         * manual/intro.texi: Document safety identifiers and
49304         conditionals.
49306         * manual/string.texi (wcstok): Fix prototype.
49307         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
49309         * manual/time.texi: Document MTASC-safety properties.
49311         * manual/string.texi: Document MTASC-safety properties.
49313         * manual/threads.texi: Document MTASC-safety properties.
49315         * manual/stdio.texi: Document MTASC-safety properties.
49317         * manual/syslog.texi: Document MTASC-safety properties.
49319         * manual/sysinfo.texi: Document MTASC-safety properties.
49321         * manual/startup.texi: Document MTASC-safety properties.
49323         * manual/socket.texi: Document MTASC-safety properties.
49325         * manual/signal.texi: Document MTASC-safety properties.
49327 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
49329         * manual/setjmp.texi: Document MTASC-safety properties.
49331         * manual/search.texi: Document MTASC-safety properties.
49333         * manual/resource.texi: Document MTASC-safety properties.
49335         * manual/process.texi: Document MTASC-safety properties.
49337         * manual/platform.texi: Document MTASC-safety properties.
49339         * manual/pipe.texi: Document MTASC-safety properties.
49341         * manual/pattern.texi: Document MTASC-safety properties.
49343         * manual/message.texi: Document MTASC-safety properties.
49345         [BZ #12751]
49346         * manual/memory.texi: Document MTASC-safety properties.
49348         * manual/math.texi: Document MTASC-safety properties.
49350         * manual/locale.texi: Document MTASC-safety properties.
49352         * manual/llio.texi: Document MTASC-safety properties.
49354         * manual/libdl.texi: New.
49356         * manual/lang.texi: Document MTASC-safety properties.
49358         * manual/job.texi: Document MTASC-safety properties.
49360         * manual/getopt.texi: Document MTASC-safety properties.
49362         * manual/ctype.texi: Document MTASC-safety properties.
49364 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
49366         [BZ #16046]
49367         * csu/libc-tls.c (static_map): Remove variable.
49368         (__libc_setup_tls): Use main executable's link map for TLS data.
49369         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
49370         casing for LM_ID_BASE and GL(dl_nns).
49371         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
49372         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
49373         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
49374         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
49375         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
49376         member.
49377         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
49378         l_phnum members.
49380 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
49382         * manual/debug.texi: Document MTASC-safety properties.
49384 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
49386         [BZ #16510]
49387         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
49388         of __x86_64__ when disabling x87 inline functions.
49390 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
49392         * manual/charset.texi: Document MTASC-safety properties.
49394         * manual/crypt.texi: Document MTASC-safety properties.
49396         * manual/conf.texi: Document MTASC-safety properties.
49398         * manual/arith.texi: Document MTASC-safety properties.
49400         * manual/argp.texi: Document MTASC-safety properties.
49402         * manual/macros.texi: Introduce macros to document multi
49403         thread, asynchronous signal and asynchronous cancellation
49404         safety properties.
49405         * manual/intro.texi: Introduce the properties themselves.
49407 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49409         * sysdeps/sh/sh4/Makefile: New file.
49411 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
49413         * math/gen-libm-test.pl ($srcdir): New variable.
49414         ($auto_input): Use it.
49416 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49418         [BZ #16506]
49419         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
49420         access beyond array bounds when parsing netgroups file.
49422         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
49423         the old buffer before realloc.
49425 2014-01-27  Allan McRae  <allan@archlinux.org>
49427         * po/fr.po: Update French translation from translation project.
49429 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49431         * sysdeps/sh/libm-test-ulps: Regenerate.
49433 2014-01-24  David S. Miller  <davem@davemloft.net>
49435         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
49437 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49439         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
49440         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
49442 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49444         [BZ #16474]
49445         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
49446         string pointers after reallocation.
49448 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49450         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
49451         __SH4A__ instead of __SH_FPU_ANY__.
49453 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49455         * sysdeps/sh/fpu_control.h: New file.
49456         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
49457         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
49458         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
49459         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
49460         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
49461         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
49462         * sysdeps/sh/sys/ucontext.h: Remove.
49463         * sysdeps/sh/sys: Remove directory.
49465 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49467         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
49468         s390/sys/ucontext.h.
49469         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
49470         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
49472 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
49474         [BZ #15605]
49475         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
49477 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49479         [BZ#16431]
49480         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
49481         Adjust the vDSO correctly for internal calls.
49482         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
49484 2014-01-20  Allan McRae  <allan@archlinux.org>
49486         * po/ca.po: Update Catalan translation from translation project.
49488 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
49490         * sysdeps/s390/sotruss-lib.c: New file.
49492 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49494         [BZ#16430]
49495         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
49496         (__GI___gettimeofday): Alias for a different internal symbol to avoid
49497         local calls issues by not having a PLT stub required for IFUNC calls.
49498         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
49500 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
49502         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
49503         * math/test-fpucw-static.c: Likewise.
49505 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49507         [BZ #16453]
49508         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
49510 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49512         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
49513         implementation for powerpc.
49515 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
49517         [BZ #14782]
49518         * sysdeps/posix/system.c (__libc_system): Do not enable
49519         asynchronous cancellation.
49521 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49523         [BZ #16427]
49524         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
49525         handling only for numbers special also in the IEEE case.
49527 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49529         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49531 2014-01-11  Allan McRae  <allan@archlinux.org>
49533         * po/bg.po: Update Bulgarian translation from translation project.
49535         * po/de.po: Update German translation from translation project.
49537 2014-01-10  Roland McGrath  <roland@hack.frob.com>
49539         * sysdeps/generic/gcc-compat.h: New file.
49541 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49543         * benchtests/asin-inputs: Correct slow inputs.
49544         * benchtests/acos-inputs: Likewise.
49546 2014-01-10  Allan McRae  <allan@archlinux.org>
49548         * po:sv.po: Update Swedish translation from translation project.
49550         * po/vi.po: Update Vietnamese translation from translation project.
49552         * po/eo.po: Update Esperanto translation from translation project.
49554         * po/cs.po: Update Czech translation from translation project.
49556         * po/nl.po: Update Dutch translation from translation project.
49558         * po/pl.po: Update Polish translation from translation project.
49560         * po/ru.po: Update Russian translation from translation project.
49562         * po/uk.po: Update Ukrainian translation from translation project.
49564 2014-01-08  Brooks Moses  <bmoses@google.com>
49566         * elf/dl-load.c: Fix comment typo.
49568 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
49570         * po/header.pot: Rename to...
49571         * po/pot.header: ... this.
49572         * po/Makefile: Use pot.header.
49574 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
49575             Maxim Kuvyrkov  <maxim@kugelworks.com>
49577         [BZ #16394]
49578         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
49579         SRC and DEST against LEN.
49581 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49583         [BZ #16414]
49584         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
49585         implementation.
49586         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
49588 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49592 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
49594         [BZ #16408]
49595         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
49596         for large positive arguments.
49598 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
49600         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
49602         * math/auto-libm-test-in: Mark various tests with
49603         xfail-rounding:ldbl-128ibm.
49604         * math/auto-libm-test-out: Regenerated.
49606         [BZ #16407]
49607         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
49608         Increase overflow threshold.
49610 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
49612         [BZ #14286]
49613         * stdio-common/vfprintf.c: Check for integer overflow.
49615 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49617         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
49618         the first argument and return value of __tls_get_addr_internal.
49620 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49622         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
49623         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
49625 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49627         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
49628         * sysdeps/s390/rtld-global-offsets.sym: New file.
49629         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
49630         GLIBC_2.19 symbol.
49631         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
49632         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
49633         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
49634         ... this.
49635         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
49636         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
49637         ... this.
49638         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
49639         Regenerate.
49640         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
49641         Regenerate.
49642         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
49643         halfs of GPRs for high_gprs contexts.
49644         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
49645         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
49646         field.
49647         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
49648         uc_flags field.
49649         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
49650         64 bit versions:
49651         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
49652         for high GPRs (uc_high_gprs) and for future extensions
49653         (__reserved).
49654         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
49655         for future extensions (__reserved).
49656         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
49657         64 bit versions:
49658         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
49659         SC_HIGHGPRS offset definition.
49660         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
49661         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
49663         * Versions.def: Add GLIBC_2.19 for libpthread.
49664         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
49665         siglongjmp for libpthread with GLIBC_2.19 symver.
49666         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
49667         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
49668         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
49669         * sysdeps/s390/__longjmp.c: New file.
49670         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
49671         * sysdeps/s390/longjmp.c: New file.
49672         * sysdeps/s390/setjmp.S: New file.
49673         * sysdeps/s390/sigjmp.S: New file.
49674         * sysdeps/s390/v1-longjmp.c: New file.
49675         * sysdeps/s390/v1-setjmp.h: New file.
49676         * sysdeps/s390/v1-sigjmp.c: New file.
49677         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
49678         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
49679         GLIBC_2.19 version.
49680         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
49681         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
49682         versioned symbols for ____longjmp_chk.
49683         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
49684         Likewise.
49685         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
49686         Regenerate.
49687         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49688         Regenerate.
49689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
49690         Regenerate.
49691         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49692         Regenerate.
49693         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
49694         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
49695         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
49696         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
49697         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
49698         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
49699         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
49700         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
49701         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
49702         * sysdeps/s390/rtld-__longjmp.c: New file.
49703         * sysdeps/s390/rtld-setjmp.S: New file.
49705 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
49707         [BZ #16400]
49708         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
49709         Return -__logl (x) for small positive arguments without evaluating
49710         a polynomial.
49712 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
49714         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
49715         Rename to ...
49716         (__ptrace_peeksiginfo_args): ... this.
49717         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49718         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49719         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49721 2014-01-06  Allan McRae  <allan@archlinux.org>
49723         * inet/netinet/in.h: Fix typo in comment.
49725 2014-01-05  Andreas Jaeger  <aj@suse.de>
49727         * sysdeps/i386/fpu/libm-test-ulps: Update.
49729 2014-01-05  Allan McRae  <allan@archlinux.org>
49731         * po/libc.pot: Regenerated.
49733         * malloc/memusagestat.c: Fix gettext call formatting.
49735 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
49737         * nscd/nscd.c: Improve usage() output.
49739 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
49741         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
49742         * sysdeps/unix/sysv/linux/configure: Regenerated.
49743         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
49744         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
49746 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
49748         [BZ #16390]
49749         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
49750         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
49752 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49754         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
49755         extra tokens at end of #undef directive.
49756         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
49757         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
49758         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
49760 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
49762         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
49764         * math/auto-libm-test-in: Mark various tests with
49765         xfail-rounding:ldbl-128ibm.
49766         * math/auto-libm-test-out: Regenerated.
49768 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
49770         [BZ #16386]
49771         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
49772         numbers with subnormal high part when calculating exponent.
49774         [BZ #16385]
49775         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
49776         fabs.
49778         [BZ #16384]
49779         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
49780         M_LN2l.
49781         (__ieee754_acoshl): Use __log1pl not __log1p.
49783 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
49785         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
49786         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
49787         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
49788         (grow_heap, heap_trim, _int_new_arena, get_free_list)
49789         (reused_arena, arena_get2): Convert to GNU style.
49790         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
49791         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
49792         (memalign_check, __malloc_set_state): Likewise.
49793         * malloc/mallocbug.c (main): Likewise.
49794         * malloc/malloc.c (__malloc_assert, malloc_init_state)
49795         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
49796         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
49797         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
49798         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
49799         (__posix_memalign, malloc_info): Likewise.
49800         * malloc/malloc.h: Likewise.
49801         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
49802         (mallochook, memalignhook, reallochook, mabort): Likewise.
49803         * malloc/mcheck.h: Likewise.
49804         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
49805         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
49806         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
49807         * malloc/morecore.c (__default_morecore): Likewise.
49808         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
49809         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
49810         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
49811         (print_and_abort): Likewise.
49812         * malloc/obstack.h: Likewise.
49813         * malloc/set-freeres.c (__libc_freeres): Likewise.
49814         * malloc/tst-mallocstate.c (main): Likewise.
49815         * malloc/tst-mtrace.c (main): Likewise.
49816         * malloc/tst-realloc.c (do_test): Likewise.
49818 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49820         [BZ #16366]
49821         * nscd/netgroupcache.c (do_notfound): New function.
49822         (addgetnetgrentX): Use it.
49824         [BZ # 16365]
49825         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
49826         NSS_STATUS_NOTFOUND.
49828 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
49830         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
49831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49833 2014-01-01  Allan McRae  <allan@archlinux.org>
49835         * scripts/update-copyrights: Update configure input file suffix.
49837         * NEWS: Update copyright year.
49838         * catgets/gencat.c: Likewise.
49839         * csu/version.c: Likewise.
49840         * debug/catchsegv.sh: Likewise.
49841         * debug/pcprofiledump.c: Likewise.
49842         * debug/xtrace.sh: Likewise.
49843         * elf/ldconfig.c: Likewise.
49844         * elf/ldd.bash.in: Likewise.
49845         * elf/pldd.c: Likewise.
49846         * elf/sotruss.ksh: Likewise.
49847         * elf/sprof.c: Likewise.
49848         * iconv/iconv_prog.c: Likewise.
49849         * iconv/iconvconfig.c: Likewise.
49850         * locale/programs/locale.c: Likewise.
49851         * locale/programs/localedef.c: Likewise.
49852         * login/programs/pt_chown.c: Likewise.
49853         * malloc/memusage.sh: Likewise.
49854         * malloc/memusagestat.c: Likewise.
49855         * malloc/mtrace.pl: Likewise.
49856         * manual/libc.texinfo: Likewise.
49857         * nscd/nscd.c: Likewise.
49858         * nss/getent.c: Likewise.
49859         * nss/makedb.c: Likewise.
49860         * posix/getconf.c: Likewise.
49861         * scripts/test-installation.pl: Likewise.
49863         * All files with FSF copyright notices: Update copyright dates
49864         using scripts/update-copyrights.
49865         * intl/plural.c: Regenerated.
49866         * locale/programs/charmap-kw.h: Likewise.
49867         * locale/programs/locfile-kw.h: Likewise.
49869 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
49871         * sysdeps/unix/sysv/linux/configure: Regenerated.
49872         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
49873         the linux/fanotify.h header.
49874         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
49875         HAVE_LINUX_FANOTIFY_H is defined.
49877 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
49879         * benchtests/cos-inputs: New inputs.
49880         * benchtests/sin-inputs: Likewise.
49882         * benchtests/atan-inputs: New inputs. Fix name of multiple
49883         precision fallback inputs.
49885         * benchtests/atanh-inputs: New inputs.
49886         * benchtests/tanh-inputs: Likewise.
49888         * benchtests/acosh-inputs: New inputs.
49889         * benchtests/asinh-inputs: Likewise.
49891         * benchtests/cosh-inputs: New inputs.
49892         * benchtests/sinh-inputs: Likewise.
49894         * benchtests/acos-inputs: Add more inputs.
49895         * benchtests/asin-inputs: Likewise.
49897 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
49899         [BZ #16375]
49900         * manual/arith.texi: Fix spelling.
49901         * manual/charset.texi: Likewise.
49902         * manual/errno.texi: Likewise.
49903         * manual/filesys.texi: Likewise.
49904         * manual/lang.texi: Likewise.
49905         * manual/llio.texi: Likewise.
49906         * manual/locale.texi: Likewise.
49907         * manual/message.texi: Likewise.
49908         * manual/resource.texi: Likewise.
49909         * manual/search.texi: Likewise.
49910         * manual/setjmp.texi: Likewise.
49911         * manual/stdio.texi: Likewise.
49912         * manual/string.texi: Likewise.
49913         * manual/sysinfo.texi: Likewise.
49914         * manual/time.texi: Likewise.
49916 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
49918         * po/sl.po: New file.
49920 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
49922         * .gitignore: Add core/.gdbinit/.gdb_history.
49924 2013-12-27  Allan McRae  <allan@archlinux.org>
49926         [BZ #16369]
49927         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
49928         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
49930 2013-12-24  Brooks Moses  <bmoses@google.com>
49932         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
49933         all compilers that claim C++98 compliance, not just GCC.
49934         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
49935         Likewise.
49937 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
49939         * NEWS: Restore accidentally deleted bug-fix entries.
49941 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
49942             Ondřej Bílka  <neleai@seznam.cz>
49944         [BZ #15073]
49945         * malloc/malloc.c (_int_free): Perform sanity check only if we
49946         have_lock.
49948 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
49950         [BZ #12986]
49951         * manual/stdio.texi (String Input Conversions): Clarify that character
49952         classes are not supported.
49954 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49956         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49958 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
49960         [BZ #16337]
49961         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
49962         Calculate results for small negative arguments directly rather
49963         than using reflection formula with special underflow handling.
49965         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
49966         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
49967         sysdeps/unix/bsd/bsd4.4/syscalls.list.
49968         (fchflags): Likewise.
49969         (revoke): Likewise.
49970         (setlogin): Likewise.
49971         (sigaltstack): Likewise.
49972         (wait4): Likewise.
49973         (sigblock): Remove.
49974         (sigsetmask): Likewise.
49975         (wait3): Likewise.
49976         (waitpid): Likewise.
49977         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
49978         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
49979         file.
49980         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
49981         * sysdeps/unix/bsd/Makefile: ... here.
49982         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
49983         * sysdeps/unix/bsd/Versions: ... here.
49984         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
49985         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
49986         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
49987         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
49988         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
49989         * sysdeps/unix/bsd/sigblock.c: ... here.
49990         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
49991         * sysdeps/unix/bsd/sigsetmask.c: ... here.
49992         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
49993         * sysdeps/unix/bsd/sigvec.c: ... here.
49994         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
49995         * sysdeps/unix/bsd/tcdrain.c: ... here.
49996         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
49997         * sysdeps/unix/bsd/tcgetattr.c: ... here.
49998         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
49999         * sysdeps/unix/bsd/tcsetattr.c: ... here.
50000         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
50001         * sysdeps/unix/bsd/wait.c: ... here.
50002         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
50003         * sysdeps/unix/bsd/wait3.c: ... here.
50004         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
50005         * sysdeps/unix/bsd/waitpid.c: ... here.
50007 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
50009         [BZ #16356]
50010         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
50011         round-to-nearest for [!USE_AS_EXPM1L].
50012         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
50013         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
50014         more tests of exp and exp10.  Expect some exp10 tests to miss
50015         exceptions or fail in directed rounding modes.
50016         * math/auto-libm-test-out: Regenerated.
50017         * math/libm-test.inc (exp10_tonearest_test_data): New array.
50018         (exp10_test_tonearest): New function.
50019         (exp10_towardzero_test_data): New array.
50020         (exp10_test_towardzero): New function.
50021         (exp10_downward_test_data): New array.
50022         (exp10_test_downward): New function.
50023         (exp10_upward_test_data): New array.
50024         (exp10_test_upward): New function.
50025         (main): Call the new functions.
50026         * sysdeps/i386/fpu/libm-test-ulps: Update.
50027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50029 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
50031         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
50032         asinh, atan, atan2, atanh, cbrt, cos and cosh.
50033         * math/auto-libm-test-out: Regenerated.
50034         * math/libm-test.inc (acosh_test_data): Add more tests.
50035         (atanh_test_data): Likewise.
50036         (ceil_test_data): Likewise.
50037         (copysign_test_data): Likewise.
50038         * sysdeps/i386/fpu/libm-test-ulps: Update.
50039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50041         * timezone/checktab.awk: Update from tzcode 2013i.
50042         * timezone/private.h: Likewise.
50043         * timezone/scheck.c: Likewise.
50044         * timezone/tzfile.h: Likewise.
50045         * timezone/tzselect.ksh: Likewise.
50046         * timezone/zdump.c: Likewise.
50047         * timezone/zic.c: Likewise.
50049         * math/auto-libm-test-in: Add tests of cpow.
50050         * math/auto-libm-test-out: Regenerated.
50051         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
50052         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50053         mpc_cc_c.
50054         (func_calc_desc): Add mpc_cc_c union field.
50055         (test_functions): Add cpow.
50056         (special_fill_2pi): New function.
50057         (special_real_inputs): Add 2pi.
50058         (calc_generic_results): Handle mpc_cc_c.
50059         * sysdeps/i386/fpu/libm-test-ulps: Update.
50060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50062         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
50063         csqrt, ctan and ctanh.
50064         * math/auto-libm-test-out: Regenerated.
50065         * math/libm-test.inc (TEST_COND_x86_64): New macro.
50066         (TEST_COND_x86): Likewise.
50067         (ccos_test_data): Use AUTO_TESTS_c_c.
50068         (ccosh_test_data): Likewise.
50069         (cexp_test_data): Likewise.
50070         (clog_test_data): Likewise.
50071         (csqrt_test_data): Likewise.
50072         (ctan_test_data): Likewise.
50073         (ctan_tonearest_test_data): Likewise.
50074         (ctan_towardzero_test_data): Likewise.
50075         (ctan_downward_test_data): Likewise.
50076         (ctan_upward_test_data): Likewise.
50077         (ctanh_test_data): Likewise.
50078         (ctanh_tonearest_test_data): Likewise.
50079         (ctanh_towardzero_test_data): Likewise.
50080         (ctanh_downward_test_data): Likewise.
50081         (ctanh_upward_test_data): Likewise.
50082         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50083         mpc_c_c.
50084         (func_calc_desc): Add mpc_c_c union field.
50085         (FUNC_mpc_c_c): New macro.
50086         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
50087         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
50088         ctanh.
50089         (special_fill_min_subnorm_p120): New function.
50090         (special_real_inputs): Add min_subnorm_p120.
50091         (calc_generic_results): Handle mpc_c_c.
50092         * sysdeps/i386/fpu/libm-test-ulps: Update.
50093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50095 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50097         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
50098         (do_sin_slow): New functions.
50099         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
50100         (cslow2, csloww1, csloww2): Use the new functions.
50102         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
50103         Use M to change sign of result instead of X.  Assume X is
50104         positive.
50105         (csloww1): Likewise.
50106         (__sin): Adjust.
50107         (__cos): Adjust.
50109         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
50110         arguments A and DA.
50111         (__sin): Adjust.
50112         (__cos): Likewise.
50114         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
50115         (__cos): Likewise.
50116         (sloww1): Don't adjust sign of DX.
50117         (csloww1): Likewise.
50118         (sloww2): Use X directly and don't adjust sign of DX.
50119         (csloww2): Likewise.
50121 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
50123         * math/auto-libm-test-in: Add tests of cabs and carg.
50124         * math/auto-libm-test-out: Regenerated.
50125         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
50126         (carg_test_data): Likewise.
50127         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50128         mpc_c_f.
50129         (func_calc_desc): Add mpc_c_f union field.
50130         (test_functions): Add cabs and carg.
50131         (calc_generic_results): Handle mpc_c_f.
50133         * sysdeps/powerpc/powerpc32/libgcc-compat.S
50134         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
50135         as a macro and a compat symbol.
50136         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
50137         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
50138         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
50139         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
50140         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
50141         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
50142         not use .hidden.
50143         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
50144         Likewise.
50145         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
50146         Likewise.
50147         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
50148         Likewise.
50149         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
50150         Likewise.
50151         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
50152         Likewise.
50153         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
50154         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
50155         from GLIBC_2.3.2.
50157 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50161 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
50163         * manual/texinfo.tex: Update to version 2013-11-26.10 with
50164         trailing whitespace removed.
50165         * scripts/config.guess: Update to version 2013-11-29.
50166         * scripts/config.sub: Update to version 2013-10-01.
50168         * math/auto-libm-test-in: Add tests of sincos.
50169         * math/auto-libm-test-out: Regenerated.
50170         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
50171         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50172         mpfr_f_11.
50173         (func_calc_desc): Add mpfr_f_11 union field.
50174         (test_functions): Add sincos.
50175         (calc_generic_results): Handle mpfr_f_11.
50176         * sysdeps/i386/fpu/libm-test-ulps: Update.
50177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50179 2013-12-19  Andreas Schwab  <schwab@suse.de>
50181         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
50182         CALL_MCOUNT.
50183         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
50184         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
50185         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
50187 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
50189         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
50190         * sysdeps/i386/fpu/libm-test-ulps: Update.
50191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50193         [BZ #16293]
50194         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
50195         round-to-nearest mode when using frndint.
50196         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
50197         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
50198         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
50199         Likewise.
50200         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
50201         sinh test to fail.
50202         * math/auto-libm-test-out: Regenerated.
50203         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
50204         (TEST_COND_x86): Likewise.
50205         (expm1_tonearest_test_data): New array.
50206         (expm1_test_tonearest): New function.
50207         (expm1_towardzero_test_data): New array.
50208         (expm1_test_towardzero): New function.
50209         (expm1_downward_test_data): New array.
50210         (expm1_test_downward): New function.
50211         (expm1_upward_test_data): New array.
50212         (expm1_test_upward): New function.
50213         (main): Run the new test functions.
50214         * sysdeps/i386/fpu/libm-test-ulps: Update.
50215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50217         * include/features.h: Update comment documenting feature test
50218         macros.  Mention _DEFAULT_SOURCE in comment.
50219         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
50220         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
50221         _BSD_SOURCE and _SVID_SOURCE.
50222         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
50223         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
50224         !_SVID_SOURCE]: Likewise.
50225         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
50226         (__USE_POSIX_IMPLICITLY): Define.
50227         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
50228         (_POSIX_SOURCE): Undefine and redefine.
50229         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
50230         (_POSIX_C_SOURCE): Likewise.
50231         * manual/creature.texi (_DEFAULT_SOURCE): Document.
50232         (Feature Test Macros): Update documentation of default features.
50234 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
50236         * benchtests/Makefile: Add bench-strtok.
50237         * benchtests/bench-strtok.c: New file: strtok benchtest.
50239 2013-12-19  Allan McRae  <allan@archlinux.org>
50241         * manual/install.texi: Suppress menu for plain text output.
50242         * INSTALL: Regenerated.
50244 2013-12-18  Brooks Moses  <bmoses@google.com>
50246         [BZ #15846]
50247         * misc/getauxval.c: Include errno.h.
50248         (__getauxval): Set errno to ENOENT if the requested type is not
50249         found.
50250         * misc/sys/auxv.h (getauxval): Document that it may set errno;
50251         don't declare with __attribute_const__.
50252         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
50253         * manual/startup.texi: Document that getauxval sets errno.
50255 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
50257         * math/auto-libm-test-in: Add tests of jn and yn.
50258         * math/auto-libm-test-out: Regenerated.
50259         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
50260         (yn_test_data): Likewise.
50261         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50262         mpfr_if_f.
50263         (func_calc_desc): Add mpfr_if_f union field.
50264         (FUNC_mpfr_if_f): New macro.
50265         (test_functions): Add jn and yn.
50266         (calc_generic_results): Assert type of second input for
50267         mpfr_ff_f.  Handle mpfr_if_f.
50268         (output_for_one_input_case): Disable all checking for arguments
50269         fitting floating-point types in case of an integer argument.
50270         * sysdeps/i386/fpu/libm-test-ulps: Update.
50271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
50274         Don't expect fegetround reference in libm.so.
50276 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50278         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
50279         $(config-cflags-nofma).
50281 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
50283         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
50284         * math/auto-libm-test-out: Regenerated.
50286         [BZ #16338]
50287         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
50288         to determine exponent and adjust argument to have exponent of -1.
50289         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
50290         log2.
50291         * math/auto-libm-test-out: Regenerated.
50292         * sysdeps/i386/fpu/libm-test-ulps: Update.
50293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50295 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
50297         * manual/probes.texi: Remove cases when per-thread arenas are
50298         disabled.
50300 2013-12-18  Andreas Schwab  <schwab@suse.de>
50302         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
50303         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
50304         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
50305         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
50306         * sysdeps/i386/i686/multiarch/Makefile: Update.
50307         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
50309 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
50311         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
50312         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
50314 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
50316         [BZ #15968]
50317         Support TZ transition times < 00:00:00.
50318         This is needed for version-3 tz-format files; it supports time
50319         stamps past 2037 for America/Godthab (the only entry in the tz
50320         database for which this change is relevant).
50321         * manual/time.texi (TZ Variable): Document transition times
50322         from -167:59:59 through -00:00:01.
50323         * time/tzset.c (tz_rule): Time of day is now signed.
50324         (__tzset_parse_tz): Parse negative time of day.
50326         Document TZ transition times >= 25:00:00.
50327         * manual/time.texi (TZ Variable): Document transition times from
50328         25:00:00 through 167:59:59.  These are already supported, and this
50329         support will help with version-3 tz-format files.
50331         * manual/time.texi (TZ Variable): Modernize North America example
50332         to reflect current (i.e., 2007-and-later) daylight saving rules.
50334         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
50336 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
50338         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
50339         * sysdeps/unix/bsd/bits/stat.h: Likewise.
50340         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
50341         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
50342         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
50343         * sysdeps/unix/bsd/bsdstat.h: Likewise.
50344         * sysdeps/unix/bsd/clock.c: Likewise.
50345         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
50346         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
50347         * sysdeps/unix/bsd/init-posix.c: Likewise.
50348         * sysdeps/unix/bsd/poll.c: Likewise.
50349         * sysdeps/unix/bsd/ptsname.c: Likewise.
50350         * sysdeps/unix/bsd/seekdir.c: Likewise.
50351         * sysdeps/unix/bsd/setegid.c: Likewise.
50352         * sysdeps/unix/bsd/seteuid.c: Likewise.
50353         * sysdeps/unix/bsd/setgid.c: Likewise.
50354         * sysdeps/unix/bsd/setrgid.c: Likewise.
50355         * sysdeps/unix/bsd/setruid.c: Likewise.
50356         * sysdeps/unix/bsd/setsid.c: Likewise.
50357         * sysdeps/unix/bsd/setuid.c: Likewise.
50358         * sysdeps/unix/bsd/sigaction.c: Likewise.
50359         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
50360         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
50361         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
50362         * sysdeps/unix/bsd/telldir.c: Likewise.
50363         * sysdeps/unix/bsd/times.c: Likewise.
50364         * sysdeps/unix/bsd/usleep.c: Likewise.
50366         * misc/Makefile (install-lib): Remove libbsd-compat.a.
50367         ($(objpfx)libbsd-compat.a): Remove rule.
50369         * include/features.h (__FAVOR_BSD): Do not define.
50370         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
50371         features conflicting with POSIX.
50372         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
50373         (_BSD_SOURCE): Remove description of not being a subset of other
50374         feature test macros.
50375         * manual/job.texi (getpgrp): Do not document BSD version.
50376         (getpgid): Do not document by reference to BSD getpgrp.
50377         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
50378         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
50379         * signal/signal.h [__FAVOR_BSD]: Likewise.
50380         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
50381         instead of making contents conditional on [__FAVOR_BSD].
50382         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
50384 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50386         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50388 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
50390         [BZ #16314]
50391         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
50392         values below 2**-450, not 2**-500.
50393         * math/auto-libm-test-in: Don't allow spurious underflow from
50394         hypot.
50395         * math/auto-libm-test-out: Regenerated.
50397         [BZ #16316]
50398         [BZ #16330]
50399         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
50400         values of ha and hb and sort them after adjusting subnormal
50401         arguments.
50402         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
50403         Likewise.
50404         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
50405         values of ea and eb and sort them after adjusting subnormal
50406         arguments.
50407         * math/auto-libm-test-in: Do not expect some hypot tests of
50408         subnormals to fail.  Add more hypot tests.
50409         * math/auto-libm-test-out: Regenerated.
50411 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50413         [BZ #13304]
50414         * sysdeps/sh/s_fma.c: New file.
50415         * sysdeps/sh/s_fmaf.c: New file.
50416         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
50417         version.
50418         * sysdeps/sh/Implies: Add sh/soft-fp.
50420 2013-12-16  Roland McGrath  <roland@hack.frob.com>
50422         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
50423         level of indirection to members `objname', `errstring', `malloced'.
50424         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
50425         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
50426         it as the __longjmp argument (just pass 1 instead).
50427         (_dl_catch_error): Initialize C with argument pointers and address of
50428         volatile local ERRCODE rather than copying values out of C at return.
50430 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
50432         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
50433         * math/auto-libm-test-out: Regenerated.
50434         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
50435         (hypot_test_data): Likewise.
50436         (pow_test_data): Likewise.
50437         (pow_tonearest_test_data): Likewise.
50438         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50439         mpfr_ff_f.
50440         (func_calc_desc): Add mpfr_ff_f union field.
50441         (FUNC_mpfr_ff_f): New macro.
50442         (test_functions): Add atan2, hypot and pow.
50443         (special_fill_min): New function.
50444         (special_fill_minus_min): Likewise.
50445         (special_fill_min_subnorm): Likewise.
50446         (special_fill_minus_min_subnorm): Likewise.
50447         (special_real_inputs): Add min, -min, min_subnorm and
50448         -min_subnorm.
50449         (calc_generic_results): Handle mpfr_ff_f.
50450         * sysdeps/i386/fpu/libm-test-ulps: Update.
50451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50453 2013-12-16  Will Newton  <will.newton@linaro.org>
50455         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
50456         (Aligned Memory Blocks): Add documentation for aligned_alloc
50457         and suggest it as an alternative to posix_memalign.
50458         (Hooks for Malloc): Document __memalign_hook is also called
50459         for aligned_alloc.  (Summary of Malloc): Add summary for
50460         aligned alloc.  Document __memalign_hook is also called
50461         for aligned_alloc.
50463 2013-12-16  Will Newton  <will.newton@linaro.org>
50465         * manual/memory.texi (Malloc Examples): Clarify default
50466         alignment documentation.  Suggest posix_memalign rather
50467         than memalign or valloc.
50468         (Aligned Memory Blocks): Remove suggestion to use memalign
50469         or valloc.  Remove obsolete comment about BSD.
50470         Document memalign errno values and mark the function obsolete.
50471         Document posix_memalign returned error codes.  Mark valloc
50472         as obsolete.  (Hooks for Malloc): __memalign_hook is also
50473         called for posix_memalign and valloc.
50474         (Summary of Malloc): Add posix_memalign to function summary.
50475         __memalign_hook is also called for posix_memalign and valloc.
50477 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50479         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
50480         TAYLOR_SIN.
50481         (__sin): Adjust.
50482         (__cos): Likewise.
50483         (sloww): Use mynumber union.  Expand ternary operator into
50484         if-else statements.
50485         (cslow): use mynumber union.
50487 2013-12-16  Allan McRae  <allan@archlinux.org>
50489         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
50490         * configure: Regenerated.
50492         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
50494         [BZ #14120]
50495         * configure.ac: Added --enable-maintainer-mode. Check for
50496         autoconf when enabled.
50497         * configure: Regenerated.
50499         * nscd/nscd.service: New file.
50500         * nscd/nscd.tmpfiles: New file.
50502 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
50504         [BZ #12100]
50505         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
50506         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
50507         * sysdeps/x86_64/multiarch/strstr.c: ... here.
50508         (strstr): Add __strstr_sse2_unaligned ifunc.
50509         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
50510         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
50511         (strcasestr): Remove __strcasestr_sse42 ifunc.
50512         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
50513         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
50514         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
50516 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50518         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
50519         * sysdeps/sh/bits/fenv.h: ... here.
50520         * sysdeps/sh/sh4/fpu/bits: Remove directory.
50522 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50524         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
50526         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
50527         hypotf multiarch implementations.
50528         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
50529         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
50530         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
50531         multiarch hypot for PPC64.
50532         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
50533         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
50534         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
50535         multiarch hypotf for PPC64.
50537         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
50538         modff multiarch implementations.
50539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
50540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
50541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
50542         multiarch modf for PPC64.
50543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
50544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
50545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
50546         multiarch modff for PPC64.
50548         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
50549         and logl multiarch implementations.
50550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
50551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
50552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
50553         multiarch logb for PPC64.
50554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
50555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
50556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
50557         multiarch logb for PPC64.
50558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
50559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
50560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
50561         multiarch logb for PPC64.
50563         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
50564         isinff multiarch implementation.
50565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
50566         file.
50567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
50568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
50569         multiarch isinf for PPC64.
50570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
50571         file.
50572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
50573         multiarch isinff for PPC64.
50575         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
50576         finitef multiarch implementation.
50577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
50578         file.
50579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
50580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
50581         multiarch finite for PPC64.
50582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
50583         file.
50584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
50585         multiarch finitef for PPC64.
50587         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
50588         lrint multiarch implementation.
50589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
50590         file.
50591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
50592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
50593         multiarch llrint for PPC64.
50594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
50595         multiarch lrint for PPC64.
50597         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
50598         copysignf multiarch implementation.
50599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
50600         file.
50601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
50602         file.
50603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
50604         multiarch copysign for PPC64.
50605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
50606         multiarch copysignf for PPC64.
50608         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
50609         multiarch implementation.
50610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
50611         file.
50612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
50613         file.
50614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
50615         file.
50616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
50617         file.
50618         multiarch llround for PPC64.
50619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
50620         multiarch trunc for PPC64.
50621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
50622         multiarch truncf for PPC64.
50624         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
50625         multiarch implementation.
50626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
50627         file.
50628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
50629         file.
50630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
50631         file.
50632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
50633         file.
50634         multiarch llround for PPC64.
50635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
50636         multiarch round for PPC64.
50637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
50638         multiarch roundf for PPC64.
50640         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
50641         multiarch implementation.
50642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
50643         file.
50644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
50645         file.
50646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
50647         file.
50648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
50649         file.
50650         multiarch llround for PPC64.
50651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
50652         multiarch floor for PPC64.
50653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
50654         multiarch floorf for PPC64.
50656         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
50657         multiarch implementation.
50658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
50659         file.
50660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
50661         file.
50662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
50663         file.
50664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
50665         file.
50666         multiarch llround for PPC64.
50667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
50668         multiarch ceil for PPC64.
50669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
50670         multiarch ceilf for PPC64.
50672         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
50673         multiarch implementation.
50674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
50675         file.
50676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
50677         file.
50678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
50679         file.
50680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
50681         multiarch llround for PPC64.
50682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
50683         multiarch lround for PPC64.
50685         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
50686         multiarch implementation.
50687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
50688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
50689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
50690         file.
50691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
50692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
50693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
50694         multiarch isnan for PPC64.
50695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
50696         multiarch isnanf for PPC64.
50698         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
50699         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
50700         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
50701         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
50702         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
50703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
50705         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
50706         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50707         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50708         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50710         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
50711         multiarch implementations.
50712         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50713         (__libc_ifunc_impl_list): Likewise.
50714         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
50715         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
50716         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
50717         multiarch stpcpy for PPC64.
50719         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
50720         multiarch implementations.
50721         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50722         (__libc_ifunc_impl_list): Likewise.
50723         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
50724         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
50725         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
50726         multiarch strcpy for PPC64.
50728         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
50729         redefine function name.
50730         (_wordcopy_fwd_dest_aligned): Likewise.
50731         (_wordcopy_bwd_aligned): Likewise.
50732         (_wordcopy_bwd_dest_aligned): Likewise.
50733         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
50734         multiarch implementations.
50735         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50736         (__libc_ifunc_impl_list): Likewise.
50737         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
50738         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
50739         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
50740         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
50741         multiarch wcscpy for PPC64.
50743         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
50744         multiarch implementations.
50745         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50746         (__libc_ifunc_impl_list): Likewise.
50747         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
50748         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
50749         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
50750         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
50751         multiarch wcscpy for PPC64.
50753         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
50754         multiarch implementations.
50755         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50756         (__libc_ifunc_impl_list): Likewise.
50757         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
50758         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
50759         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
50760         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
50761         multiarch wcsrchr for PPC64.
50763         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
50764         multiarch implementations.
50765         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50766         (__libc_ifunc_impl_list): Likewise.
50767         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
50768         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
50769         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
50770         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
50771         multiarch wcschr for PPC64.
50773         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
50774         multiarch implementations.
50775         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50776         (__libc_ifunc_impl_list): Likewise.
50777         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
50778         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
50779         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
50780         multiarch strchrnul for PPC64.
50782         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
50783         implementations.
50784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50785         (__libc_ifunc_impl_list): Likewise.
50786         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
50787         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
50788         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
50789         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
50790         strchr for PPC64.
50792         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
50793         implementations.
50794         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50795         (__libc_ifunc_impl_list): Likewise.
50796         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
50797         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
50798         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
50799         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
50800         strncmp for PPC64.
50802         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
50803         multiarch implementations.
50804         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50805         (__libc_ifunc_impl_list): Likewise.
50806         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
50807         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
50808         strncasecmp for PPC64.
50809         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
50810         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
50811         multiarch strncasecmp_l for PPC64.
50813         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
50814         multiarch implementations.
50815         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50816         (__libc_ifunc_impl_list): Likewise.
50817         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
50818         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
50819         multiarch strcasecmp for PPC64.
50820         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
50821         file.
50822         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
50823         multiarch strcasecmp_l for PPC64.
50825         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
50826         implementations.
50827         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50828         (__libc_ifunc_impl_list): Likewise.
50829         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
50830         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
50831         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
50832         strnlen for PPC64.
50834         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
50835         implementations.
50836         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50837         (__libc_ifunc_impl_list): Likewise.
50838         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
50839         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
50840         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
50841         strlen for PPC64.
50843         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
50844         implementations.
50845         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50846         (__libc_ifunc_impl_list): Likewise.
50847         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
50848         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
50849         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
50850         rawmemrchr for PPC64.
50852         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
50853         implementation.
50854         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50855         (__libc_ifunc_impl_list): Likewise.
50856         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
50857         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
50858         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
50859         memrchr for PPC64.
50861         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
50862         implementation.
50863         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50864         (__libc_ifunc_impl_list): Likewise.
50865         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
50866         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
50867         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
50868         memchr for PPC64.
50870         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
50871         implementation.
50872         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50873         (__libc_ifunc_impl_list): Likewise.
50874         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
50875         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
50876         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
50877         mempcpy for PPC64.
50879         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
50880         avoid cretion of __bzero symbol.
50881         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
50882         Likewise.
50883         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
50884         Likewise.
50885         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
50886         Likewise.
50887         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
50888         multiarch implementations.
50889         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50890         (__libc_ifunc_impl_list): Likewise.
50891         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
50892         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
50893         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
50894         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
50895         bzero for PPC32.
50896         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
50897         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
50898         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
50899         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
50900         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
50901         memset for PPC64.
50902         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
50904         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
50905         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
50906         implementations.
50907         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50908         (__libc_ifunc_impl_list): Likewise.
50909         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
50910         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
50911         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
50912         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
50913         memcmp for PPC64.
50915         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
50916         multiarch for POWER/PPC64.
50917         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
50918         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
50919         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
50920         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
50921         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
50922         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
50923         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
50924         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
50925         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
50926         memcpy for PPC64.
50928         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
50929         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
50930         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
50931         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
50932         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
50933         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
50934         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
50935         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
50936         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
50937         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
50938         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
50939         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
50940         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
50941         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
50942         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
50943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
50944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
50945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
50946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
50947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
50948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
50949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
50951 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50953         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
50955 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50957         * benchtests/Makefile (bench): Add exp2 and log2.
50958         (LDLIBS-bench-exp2): Add -lm.
50959         (LDLIBS-bench-log2): Likewise.
50960         * benchtests/exp2-inputs: New inputs file.
50961         * benchtests/log2-inputs: New inputs file.
50962         * benchtests/log-inputs: Add new inputs.
50963         * benchtests/tan-inputs: Likewise.
50965 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50967         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
50968         definition...
50969         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
50970         (csloww2): ... from here.
50972         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
50973         instead of structures.
50974         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
50975         (POLYNOMIAL): Likewise.
50976         (TAYLOR_SLOW): Likewise.
50977         (__sin): Likewise.
50978         (__cos): Likewise.
50979         (slow1): Likewise.
50980         (slow2): Likewise.
50981         (sloww): Likewise.
50982         (sloww1); Likewise.
50983         (sloww2): Likewise.
50984         (bsloww1): Likewise.
50985         (bsloww2): Likewise.
50986         (cslow2): Likewise.
50987         (csloww): Likewise.
50988         (csloww1): Likewise.
50989         (csloww2): Likewise.
50991 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
50993         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
50994         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
50995         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
50996         * malloc/hooks.c (realloc_check): Likewise.
50998         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
50999         * malloc/arena.c: Remove PER_THREAD conditional.
51000         [!PER_THREAD]: Remove code.
51001         (ptmalloc_unlock_all2): Likewise.
51002         (ptmalloc_init): Likewise.
51003         (_int_new_arena): Likewise.
51004         (arena_get2): Likewise.
51005         * malloc/hooks.c (__malloc_get_state): Likewise.
51006         (__malloc_set_state): Likewise.
51007         * malloc/malloc.c: Likewise.
51008         (struct malloc_state): Likewise.
51009         (struct malloc_par): Likewise.
51010         (__libc_realloc): Likewise.
51011         (__libc_mallopt): Likewise.
51013 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51015         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
51017 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
51019         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
51020         macro to a function.  Check for zero perturb_byte.
51021         (_int_malloc, _int_free): Remove zero perturb_byte checks.
51023         * malloc/malloc.c: (force_reg): Remove.
51024         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
51025         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
51026         force_reg by atomic_forced_read.
51027         * malloc/arena.c (ptmalloc_init): Likewise.
51028         * malloc/hooks.c (top_check): Likewise.
51030 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51032         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51034 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
51036         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51038 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
51040         * math/auto-libm-test-in: Add tests of lgamma.
51041         * math/auto-libm-test-out: Regenerated.
51042         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
51043         (M_LOG_2_SQRT_PIl): Likewise.
51044         (lgamma_test_data): Use AUTO_TESTS_f_f1.
51045         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51046         mpfr_f_f1.
51047         (func_calc_desc): Add mpfr_f_f1 union field.
51048         (ARGS1): New macro.
51049         (ARGS2): Likewise.
51050         (ARGS3): Likewise.
51051         (ARGS4): Likewise.
51052         (RET1): Likewise.
51053         (RET2): Likewise.
51054         (CALC): Likewise.
51055         (FUNC): Likewise.
51056         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
51057         (test_functions): Add lgamma.
51058         (calc_generic_results): Handle mpfr_f_f1.
51059         * sysdeps/i386/fpu/libm-test-ulps: Update.
51060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51062 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51064         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
51065         __mpn_add_n for PowerPC64/POWER7.
51066         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
51067         __mpn_sub_n for PowerPC64/POWER7.
51069         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
51070         __mpn_addmul_1 for PowerPC64.
51071         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
51072         __mpn_submul_1 for PowerPC64.
51073         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
51074         for PowerPC64.
51075         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
51076         for PowerPC64.
51078 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
51080         [BZ #15089]
51081         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
51083 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51085         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
51087         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
51088         add multiarch folders.
51089         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
51090         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
51091         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
51092         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
51093         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
51094         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
51095         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
51096         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
51097         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
51098         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
51099         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
51100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
51101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
51102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
51103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
51104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
51105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
51107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
51108         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
51109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
51110         New file.
51111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
51112         New file.
51113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
51114         multiarch __ieee754_hypot for PowerPC32.
51115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
51116         New file.
51117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
51118         New file.
51119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
51120         multiarch __ieee754_hypotf for PowerPC32.
51122         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
51123         long_double_symbol only if __logbl is defined.
51124         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
51125         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
51126         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
51127         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
51128         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
51129         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
51130         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
51131         path for implementation.
51132         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
51133         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
51134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
51135         logb, and logbl multiarch implementations for PowerPC32.
51136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
51137         file.
51138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
51139         file.
51140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
51141         multiarch logb for PowerPC32.
51142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
51143         file.
51144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
51145         file.
51146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
51147         multiarch logbf for PowerPC32.
51148         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
51149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
51150         file.
51151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
51152         multiarch logbl implementation for PowerPC32.
51154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
51155         and modff multiarch implementations.
51156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
51157         New file.
51158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
51159         New file.
51160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
51161         multiarch modf for PowerPC32.
51162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
51163         New file.
51164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
51165         New file.
51166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
51167         multiarch modff for PowerPC32.
51169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
51170         and lrintf multiarch implementations.
51171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
51172         New file.
51173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
51174         New file.
51175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
51176         multiarch lrint for PowerPC32.
51177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
51178         file: multiarch lrintf for PowerPC32.
51180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
51181         and lroundf multiarch implementations.
51182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
51183         New file.
51184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
51185         New file.
51186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
51187         New file.
51188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
51189         multiarch lround for PowerPC32.
51190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
51191         file: multiarch lroundf for PowerPC32.
51193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
51194         copysign and copysignf multiarch implementations.
51195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
51196         New file.
51197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
51198         New file.
51199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
51200         file: multiarch copysign for PowerPC32.
51201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
51202         file: multiarch copysignf for PowerPC32.
51204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
51205         and truncf multiarch implementations.
51206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
51207         New file.
51208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
51209         file.
51210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
51211         multiarch trunc for PowerPC32.
51212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
51213         New file.
51214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
51215         New file.
51216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
51217         multiarch truncf for PowerPC32.
51219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
51220         and roundf multiarch implementations.
51221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
51222         New file.
51223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
51224         file.
51225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
51226         multiarch round for PowerPC32.
51227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
51228         New file.
51229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
51230         New file.
51231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
51232         multiarch roundf for PowerPC32.
51234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
51235         and floorf multiarch implementations.
51236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
51237         New file.
51238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
51239         file.
51240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
51241         multiarch floor for PowerPC32.
51242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
51243         New file.
51244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
51245         New file.
51246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
51247         multiarch floorf for PowerPC32.
51249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
51250         and ceilf multiarch implementations.
51251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
51252         New file.
51253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
51254         file.
51255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
51256         multiarch ceil for PowerPC32.
51257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
51258         New file.
51259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
51260         file.
51261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
51262         multiarch ceilf for PowerPC32.
51264         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
51265         is defined.
51266         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
51267         FINITEF is defined.
51268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
51269         and finitef multiarch implementations.
51270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
51271         New file.
51272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
51273         file.
51274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
51275         multiarch finite for PowerPC32.
51276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
51277         New file.
51278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
51279         file: multiarch finitef for PowerPC32.
51281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
51282         and isinff multiarch implementations.
51283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
51284         file.
51285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
51286         file.
51287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
51288         multiarch isinf for PowerPC32.
51289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
51290         New file.
51291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
51292         multiarch isinff for PowerPC32.
51294         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
51295         alias when __isnan is defined.
51296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
51297         and isnanf multiarch implementations.
51298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
51299         file.
51300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
51301         file.
51302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
51303         file.
51304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
51305         file.
51306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
51307         multiarch isnan for PowerPC32.
51308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
51309         New file.
51310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
51311         New file.
51312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
51313         multiarch isnanf for PowerPC32.
51315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
51316         and sqrtf multiarch implementations.
51317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
51318         file.
51319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
51320         file.
51321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
51322         multiarch sqrt for PowerPC32.
51323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
51324         file.
51325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
51326         file.
51327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
51328         multiarch sqrtf for PowerPC32.
51330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
51331         and llroundf multiarch implementations.
51332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
51333         New file.
51334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
51335         New file.
51336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
51337         New file.
51338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
51339         file: multiarch llround for PowerPC32.
51340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
51341         file: multiarch llroundf for PowerPC32.
51343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
51344         multiarch PowerPC32 fpu implementations.
51345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
51346         New file.
51347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
51348         New file.
51349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
51350         multiarch llrint for PowerPC32.
51351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
51352         New file.
51353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
51354         New file.
51355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
51356         file.
51358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
51360         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
51361         file.
51362         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
51363         file.
51364         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
51365         file.
51366         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
51367         multiarch wordcopy for PPC32.
51368         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
51369         wordcopy objects.
51370         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51371         (__libc_ifunc_impl_list): Likewise.
51372         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
51373         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
51374         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
51375         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
51376         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
51377         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
51379         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
51380         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
51381         file.
51382         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
51383         file.
51384         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
51385         file.
51386         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
51387         multiarch wcscpy for PPC32.
51388         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
51389         multiarch objects.
51390         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51391         (__libc_ifunc_impl_list): Likewise.
51392         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
51393         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
51394         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
51395         sysdeps/powerpc/power6/wcscpy.c.
51397         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
51398         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
51399         file.
51400         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
51401         file.
51402         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
51403         file.
51404         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
51405         multiarch wcsrchr for PPC32.
51406         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
51407         multiarch objects.
51408         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51409         (__libc_ifunc_impl_list): Likewise.
51410         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
51411         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
51412         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
51413         sysdeps/powerpc/power6/wcsrchr.c.
51415         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
51416         file.
51417         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
51418         file.
51419         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
51420         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
51421         multiarch wcschr for PPc32.
51422         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
51423         multiarch objects.
51424         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51425         (__libc_ifunc_impl_list): Likewise.
51426         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
51427         * sysdeps/powerpc/power6/wcschr.c: ... to here.
51428         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
51429         sysdeps/powerpc/power6/wcschr.c.
51431         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
51432         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
51433         file.
51434         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
51435         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
51436         file: multiarch strchr for PPC32.
51437         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
51438         multiarch objects.
51439         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51440         (__libc_ifunc_impl_list): Likewise.
51442         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
51443         name.
51444         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
51445         file.
51446         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
51447         file.
51448         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
51449         multiarch strchrnul for PPC32.
51450         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
51451         multiarch objects.
51452         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51453         (__libc_ifunc_impl_list): Likewise.
51455         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
51456         file.
51457         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
51458         multiarch strncasecmp for PPC32.
51459         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
51460         file.
51461         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
51462         multiarch strncasecmp_l for PPC32.
51463         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
51464         strncasecmp multiarch objects.
51465         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51466         (__libc_ifunc_impl_list): Likewise.
51468         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
51469         file.
51470         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
51471         multiarch strncasecmp for PPC32.
51472         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
51473         New file.
51474         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
51475         multiarch strcasecmp_l for PPC32.
51476         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
51477         multiarch objects.
51478         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51479         (__libc_ifunc_impl_list): Likewise.
51481         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
51482         file.
51483         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
51484         file.
51485         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
51486         multiarch strncmp for PPC32.
51487         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
51488         multiarch objects.
51489         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51490         (__libc_ifunc_impl_list): Likewise.
51492         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
51493         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
51494         file.
51495         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
51496         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
51497         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
51498         multiarch objects.
51499         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51500         (__libc_ifunc_impl_list): Likewise.
51502         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
51503         file.
51504         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
51505         file.
51506         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
51507         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
51508         multiarch objects.
51509         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51510         (__libc_ifunc_impl_list): Likewise.
51512         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
51513         file.
51514         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
51515         file.
51516         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
51517         multiarch rawmemchr for PPC32.
51518         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
51519         multiarch objects.
51520         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51521         (__libc_ifunc_impl_list): Likewise.
51523         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
51524         file.
51525         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
51526         file.
51527         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
51528         file: memrchr multiarch for PPC32.
51529         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
51530         multiarch objects.
51531         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51532         (__libc_ifunc_impl_list): Likewise.
51534         * string/memchr.c (__memchr): Using macro to redefine symbol name.
51535         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
51536         file.
51537         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
51538         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
51539         multiarch memchr for PPC32.
51540         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
51541         multiarch objects.
51542         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51543         (__libc_ifunc_impl_list): Likewise.
51545         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
51546         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
51547         file.
51548         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
51549         file.
51550         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
51551         file: multiarch mempcpy for PPC32.
51552         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
51553         multiarch objects.
51554         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51555         (__libc_ifunc_impl_list): Likewise.
51557         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
51558         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
51559         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
51560         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
51561         multiarch bzero for PPC32.
51562         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
51563         file.
51564         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
51565         file.
51566         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
51567         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
51568         file: multiarch memset for PPC32.
51569         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
51570         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
51571         memset multiarch objects.
51572         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51573         (__libc_ifunc_impl_list): Likewise.
51575         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
51576         file.
51577         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
51578         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
51579         memcmp for PPC32.
51580         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
51581         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
51582         multiarch objects.
51583         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51584         (__libc_ifunc_impl_list): Likewise.
51586         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
51587         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
51588         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
51589         file.
51590         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
51591         file.
51592         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
51593         file.
51594         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
51595         multiarch memcpy for PPC32.
51596         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
51597         multiarch objects.
51598         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51599         (__libc_ifunc_impl_list): Likewise.
51601         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
51602         support multiarch for POWER/PPC32.
51603         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
51604         Likewise.
51605         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
51606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
51607         Implies file to make multiarch folder appers before the fpu and
51608         default folder for power4 configuration.
51610 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
51612         * scripts/bench.pl: Append volatile keyword to type.
51614 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51616         * sysdeps/sh/sotruss-lib.c: New file.
51617         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
51619 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51621         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51623 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
51625         [BZ #6810]
51626         * math/w_tgamma.c: Include <errno.h>.
51627         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
51628         * math/w_tgammaf.c: Include <errno.h>.
51629         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
51630         * math/w_tgammal.c: Include <errno.h>.
51631         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
51632         * math/auto-libm-test-in: Do not allow missing errno on tgamma
51633         underflow.  Add more tgamma tests.
51634         * math/auto-libm-test-out: Regenerated.
51635         * sysdeps/i386/fpu/libm-test-ulps: Update.
51636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51638         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
51639         sin, sinh, tan, tanh, tgamma, y0 and y1.
51640         * math/auto-libm-test-out: Regenerated.
51641         * math/libm-test.inc (TEST_COND_x86_64): New macro.
51642         (TEST_COND_x86): Likewise.
51643         (M_E2l): Remove macro.
51644         (M_E3l): Likewise.
51645         (M_2_SQRT_PIl): Likewise.
51646         (M_SQRT_PIl): Likewise.
51647         (M_1_DIV_El): Likewise.
51648         (log_test_data): Use AUTO_TESTS_f_f.
51649         (log10_test_data): Likewise.
51650         (log1p_test_data): Likewise.
51651         (log2_test_data): Likewise.
51652         (sin_test_data): Likewise.
51653         (sin_tonearest_test_data): Likewise.
51654         (sin_towardzero_test_data): Likewise.
51655         (sin_downward_test_data): Likewise.
51656         (sin_upward_test_data): Likewise.
51657         (sinh_test_data): Likewise.
51658         (sinh_tonearest_test_data): Likewise.
51659         (sinh_towardzero_test_data): Likewise.
51660         (sinh_downward_test_data): Likewise.
51661         (sinh_upward_test_data): Likewise.
51662         (tan_test_data): Likewise.
51663         (tan_tonearest_test_data): Likewise.
51664         (tan_towardzero_test_data): Likewise.
51665         (tan_downward_test_data): Likewise.
51666         (tan_upward_test_data): Likewise.
51667         (tanh_test_data): Likewise.
51668         (tgamma_test_data): Likewise.
51669         (y0_test_data): Likewise.
51670         (y1_test_data): Likewise.
51671         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
51672         (special_real_inputs): Add pi/4.
51673         * sysdeps/i386/fpu/libm-test-ulps: Update.
51674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51676 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51678         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
51679         "longjmp_target" static probes.
51680         (__longjmp): Rename to __longjmp_symbol.
51681         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51682         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
51683         on which longjmp to generate.
51684         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
51685         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
51686         probe.
51687         (__sigsetjmp): Rename to __sigsetjmp_symbol.
51688         (__sigjmp_save): Rename to __sigjmp_save_symbol.
51689         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
51690         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
51691         and __sigjmp_save_symbol based on which sigsetjmp to generated.
51692         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
51694         __longjmp_symbol based on which __longjmp to generate.
51695         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
51696         probe.
51697         (setjmp): Rename to setjmp_symbol.
51698         (__sigsetjmp): Rename to __sigsetjmp_symbol.
51699         (_setjmp): Rename to _setjmp_symbol.
51700         (__sigsetjmp): Rename to __sigsetjmp_symbol.
51701         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
51702         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
51703         which setjmp to generate.
51704         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
51705         "longjmp_target" static probes.
51707 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51709         * benchtests/README: Add note about output arguments.
51710         * benchtests/bench-sincos.c: Remove file.
51711         * benchtests/sincos-inputs: New file.
51712         * scripts/bench.pl: Identify output arguments and define
51713         static variables for them.
51715         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
51717         [BZ #15941]
51718         * Makefile (INSTALL): Add install-plain.texi as the primary
51719         dependency.
51720         * manual/install-plain.texi: New file.
51721         * manual/install.texi: Include node directive only for
51722         non-plaintext output.
51724 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
51726         * stdlib/longlong.h: Update from GCC.
51728         [BZ #6807]
51729         [BZ #15901]
51730         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
51731         * math/w_j0f.c (y0f): Likewise.
51732         * math/w_j0l.c (__y0l): Likewise.
51733         * math/w_j1.c (y1): Likewise.
51734         * math/w_j1f.c (y1f): Likewise.
51735         * math/w_j1l.c (__y1l): Likewise.
51736         * math/w_jn.c (yn): Likewise.
51737         * math/w_jnf.c (ynf): Likewise.
51738         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
51739         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
51740         value for Bessel function domain errors outside _SVID_ mode.
51741         Adjust sign of return value for yn (negative integer, 0).
51742         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
51743         by zero in return for negative x and set sign appropriately for
51744         negative n.
51745         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
51746         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
51747         * math/libm-test.inc (y0_test_data): Add more tests and adjust
51748         expectations in error cases.
51749         (y1_test_data): Likewise.
51750         (yn_test_data): Likewise.
51751         * sysdeps/i386/fpu/libm-test-ulps: Update.
51752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51754 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51756         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
51757         "64" to "64-v1".  Add "64-v2".
51758         (abi-64-options): Rename to ...
51759         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
51760         (abi-64-condition): Rename to ...
51761         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
51762         (abi-64-ld-soname): Rename to ...
51763         (abi-64-v1-ld-soname): ... this.
51764         (abi-64-v2-options): Define.
51765         (abi-64-v2-condition): Likewise.
51766         (abi-64-v2-ld-soname): Likewise.
51767         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
51768         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
51769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
51770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
51771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
51773 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51774             Alan Modra  <amodra@gmail.com>
51776         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
51777         New versions for use with the ELFv2 ABI.
51778         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
51779         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
51780         declaration.
51781         (struct La_ppc64v2_retval): Likewise.
51782         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
51783         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
51784         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
51785         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
51786         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
51787         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51788         Do not save or restore CR.
51789         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
51790         (_dl_profile_resolve): Do no save or restore CR.  Support extended
51791         return values for ELFv2 ABI.  Fix location of FPR return registers.
51792         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
51793         updated values for _CALL_ELF == 2.
51794         (La_regs, La_retval, int_retval): Likewise.
51796 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51798         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
51799         (FRAME_MIN_SIZE_PARM): Likewise.
51800         (FRAME_BACKCHAIN): Likewise.
51801         (FRAME_CR_SAVE): Likewise.
51802         (FRAME_LR_SAVE): Likewise.
51803         (FRAME_TOC_SAVE): Likewise.
51804         (FRAME_PARM_SAVE): Likewise.
51805         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
51806         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
51807         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
51808         (call_mcount_parm_offset): New macro.
51809         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
51810         (PROF): Use symbolic stack frame offsets.
51811         (TAIL_CALL_SYSCALL_ERROR): Likewise.
51812         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
51813         Redefine in terms of FRAME_MIN_SIZE.
51814         (_dl_runtime_resolve): Use symbolic stack frame offsets.
51815         (_dl_profile_resolve): Likewise.  Update comment.
51816         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
51817         symbols stack frame offsets.
51818         (__sigsetjmp): Likewise.
51819         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
51820         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
51821         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
51822         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
51824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
51825         (FRAME_BACKCHAIN): Remove.
51826         (FRAME_CR_SAVE): Likewise.
51827         (FRAME_LR_SAVE): Likewise.
51828         (FRAME_COMPILER_DW): Likewise.
51829         (FRAME_LINKER_DW): Likewise.
51830         (FRAME_TOC_SAVE): Likewise.
51831         (FRAME_PARM_SAVE): Likewise.
51832         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
51833         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
51834         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
51835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
51836         (CHECK_SP): Use symbolic stack frame offsets.
51837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
51838         zone" instead of caller's parameter save area for temp storage.
51839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51840         Likewise.  Also, use symbolic stack frame offsets.
51841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
51842         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
51843         our own stack frame instead of the caller's.
51844         (__socket): Use symbolic stack frame offsets.
51846 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51847             Alan Modra  <amodra@gmail.com>
51849         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
51850         Define.
51851         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
51852         (PPC64_LOCAL_ENTRY_OFFSET): Define.
51853         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
51854         New function.
51855         (elf_machine_fixup_plt): Call it.
51856         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
51857         reloc arguments.
51858         (elf_machine_rela): Update call to elf_machine_plt_conflict.
51859         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
51860         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
51861         r2 before calling target.
51863 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51864             Alan Modra  <amodra@gmail.com>
51866         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
51867         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
51868         versions of macros to support ELFv2 ABI.
51869         (LOCALENTRY): New macro.
51870         (ENTRY, EALIGN): Use it.
51871         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
51872         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
51873         fall through into ENTRY entry point.
51874         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
51875         Only define if _CALL_ELF != 2.
51877         (elf_machine_matches_host): Verify ABI version matches.
51878         (RTLD_START): Use LOCALENTRY.
51879         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
51880         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
51881         (PLT_ENTRY_WORDS): New macro.
51882         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
51883         (elf_machine_runtime_setup): Support ELFv2 ABI.
51884         (elf_machine_fixup_plt): Likewise.
51885         (elf_machine_plt_conflict): Likewise.
51886         (resolve_ifunc): Likewise.
51887         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
51888         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
51889         Likewise.
51890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
51891         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
51892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51893         (makecontext): Support ELFv2 ABI.
51894         * elf/elf.h (EF_PPC64_ABI): Define.
51896 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51898         * sysdeps/powerpc/powerpc64/sysdep.h
51899         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
51900         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
51901         (ENTRY) [ASSEMBLER]: ... but instead here ...
51902         (EALIGN) [ASSEMBLER]: ... and here.
51903         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
51904         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
51905         (ENTRY_2) [!ASSEMBLER]: Use it.
51906         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
51907         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
51908         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
51909         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
51910         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
51911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
51912         Use PPC64_LOAD_FUNCPTR.
51914         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
51916 2013-12-04  Alan Modra  <amodra@gmail.com>
51918         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
51919         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
51920         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
51921         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
51923         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
51924         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
51925         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
51926         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
51927         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
51928         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
51930 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51933         (__makecontext): Fix incorrect CFI when backtracing out of
51934         context created via makecontext.
51935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
51936         (__setcontext): Fix incorrect CFI during switch to new context.
51937         (__novec_setcontext): Likewise.
51939 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
51941         [BZ #4772]
51942         * time/strptime_l.c (__strptime_internal): Allow modifiers
51943         in strptime.
51944         * time/tst-strptime.c (day_tests): Add testcase.
51946 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51948         * scripts/bench.pl: Skip over blank lines.
51950 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
51952         [BZ #926]
51953         * manual/time.texi (Calendar Time): Clarify what timezone functions
51954         use.
51956 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51958         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51960 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
51962         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
51963         implementation.
51964         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
51965         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
51966         * debug/memset_chk.c (__memset_chk): Likewise.
51967         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
51968         * debug/strncpy_chk.c: Likewise.
51970 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
51972         [BZ #15268]
51973         [BZ #15425]
51974         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
51975         (__ieee754_exp): For possibly underflowing results, check size of
51976         result and force underflow exception if required.
51977         * math/auto-libm-test-in: Add more tests of exp.
51978         * math/auto-libm-test-out: Regenerated.
51979         * sysdeps/i386/fpu/libm-test-ulps: Update.
51980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51982         [BZ #16283]
51983         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
51984         * math/w_exp2f.c (__exp2f): Likewise.
51985         * math/w_exp2l.c (__exp2l): Likewise.
51986         * math/auto-libm-test-in: Do not allow missing errno on exp2
51987         underflow.
51988         * math/auto-libm-test-out: Regenerated.
51990 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
51992         [BZ #16274]
51993         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
51994         handle filename validation.
51995         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
51996         (do_open): Delete.
51998 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
52000         [BZ #6786]
52001         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
52002         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
52003         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
52004         <float.h>.
52005         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
52006         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
52007         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
52008         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
52009         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
52010         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
52011         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
52012         * math/auto-libm-test-in: Don't allow missing errno from erfc.
52013         Add more erfc tests.
52014         * math/auto-libm-test-out: Regenerated.
52015         * sysdeps/i386/fpu/libm-test-ulps: Update.
52016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52018         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
52019         exp2, expm1, j0 and j1.
52020         * math/auto-libm-test-out: Regenerated.
52021         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
52022         (erfc_test_data): Likewise.
52023         (exp_test_data): Likewise.
52024         (exp_tonearest_test_data): Likewise.
52025         (exp_towardzero_test_data): Likewise.
52026         (exp_downward_test_data): Likewise.
52027         (exp_upward_test_data): Likewise.
52028         (exp10_test_data): Likewise.
52029         (exp2_test_data): Likewise.
52030         (expm1_test_data): Likewise.
52031         (j0_test_data): Likewise.
52032         (j1_test_data): Likewise.
52033         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
52034         (input_flag_type): Add flag_xfail_rounding.
52035         (input_flags): Add xfail-rounding.
52036         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
52037         (output_for_one_input_case): Handle flag_xfail_rounding.
52038         * sysdeps/i386/fpu/libm-test-ulps: Update.
52039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52041 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
52043         [BZ #16289]
52044         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
52045         division by 0.
52047 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52049         [BZ #16195]
52050         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
52051         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
52052         (STAP_PROBE0): New macro.
52053         (STAP_PROBE1): Likewise.
52054         (STAP_PROBE2): Likewise.
52055         (STAP_PROBE3): Likewise.
52056         (STAP_PROBE4): Likewise.
52058 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
52060         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
52062 2013-12-02  Steve Ellcey  <sellcey@mips.com>
52064         * benchtests/Makefile (bench): Add sqrt.
52065         (LDLIBS-bench-sqrt): New.
52066         * benchtests/sqrt-input: New.
52068 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
52070         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
52071         (GAIH_EAI): Likewise.
52072         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
52073         (gaih_inet): Likewise.
52074         (getaddrinfo): Don't use GAIH_EAI.
52076         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
52077         (struct gaih): Remove definition.
52079 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52081         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
52082         Use HERRNOP directly.
52084 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52086         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52088 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
52090         * math/gen-auto-libm-tests.c (test_functions): Add more
52091         single-argument functions.
52092         (special_fill_pi_2): New function.
52093         (special_fill_minus_pi_2): Likewise.
52094         (special_fill_pi_6): Likewise.
52095         (special_fill_minus_pi_6): Likewise.
52096         (special_fill_pi_3): Likewise.
52097         (special_fill_2pi_3): Likewise.
52098         (special_fill_e): Likewise.
52099         (special_fill_1_e): Likewise.
52100         (special_fill_e_minus_1): Likewise.
52101         (special_real_inputs): Add more special inputs.
52102         (output_for_one_input_case): Do not require ERANGE on underflow to
52103         zero if round-to-nearest result does not underflow to zero, unless
52104         exact results required.
52105         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
52106         atan, atanh, cbrt, cos and cosh.
52107         * math/auto-libm-test-out: Regenerated.
52108         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
52109         (acos_tonearest_test_data): Likewise.
52110         (acos_towardzero_test_data): Likewise.
52111         (acos_downward_test_data): Likewise.
52112         (acos_upward_test_data): Likewise.
52113         (acosh_test_data): Likewise.
52114         (asin_test_data): Likewise.
52115         (asin_tonearest_test_data): Likewise.
52116         (asin_towardzero_test_data): Likewise.
52117         (asin_upward_test_data): Likewise.
52118         (asinh_test_data): Likewise.
52119         (atan_test_data): Likewise.
52120         (atanh_test_data): Likewise.
52121         (cbrt_test_data): Likewise.
52122         (cos_test_data): Likewise.
52123         (cos_tonearest_test_data): Likewise.
52124         (cos_towardzero_test_data): Likewise.
52125         (cos_downward_test_data): Likewise.
52126         (cos_upward_test_data): Likewise.
52127         (cosh_test_data): Likewise.
52128         (cosh_tonearest_test_data): Likewise.
52129         (cosh_towardzero_test_data): Likewise.
52130         (cosh_downward_test_data): Likewise.
52131         (cosh_upward_test_data): Likewise.
52132         * sysdeps/i386/fpu/libm-test-ulps: Update.
52133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52135 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
52137         [BZ #6787]
52138         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
52139         * math/w_exp10f.c (__exp10f): Likewise.
52140         * math/w_exp10l.c (__exp10l): Likewise.
52141         * math/libm-test.inc (exp10_test_data): Add more tests and expect
52142         errno settings in existing tests.
52144         [BZ #14032]
52145         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
52146         precision control set to double precision.
52147         * sysdeps/i386/fpu/w_sqrt.c: New file.
52148         * math/auto-libm-test-in: Add more tests.
52149         * math/auto-libm-test-out: Update.
52151         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
52152         (sqrt_test_tonearest): New function.
52153         (sqrt_towardzero_test_data): New variable.
52154         (sqrt_test_towardzero): New function.
52155         (sqrt_downward_test_data): New variable.
52156         (sqrt_test_downward): New function.
52157         (sqrt_upward_test_data): New variable.
52158         (sqrt_test_upward): New function.
52159         (main): Call the new functions.
52161         * math/gen-auto-libm-tests.c: New file.
52162         * math/auto-libm-test-in: Likewise.
52163         * math/auto-libm-test-out: New generated file.
52164         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
52165         variables.
52166         (%beautify): Add generated representations of zero.
52167         (top level): Set $auto_input and call parse_auto_input.
52168         (beautify): Remove trailing "f" from hex float constants.
52169         (parse_args): Handle XFAIL_TEST.
52170         (convert_condition): New function.
52171         (or_value): Likewise.
52172         (or_cond_value): Likewise.
52173         (generate_testfile): Handle AUTO_TESTS_* lines.
52174         (parse_auto_input): New function.
52175         * math/libm-test.inc (XFAIL_TEST): New macro.
52176         (ERRNO_UNCHANGED): Update value.
52177         (ERRNO_EDOM): Likewise.
52178         (ERRNO_ERANGE): Likewise.
52179         (IGNORE_RESULT): Likewise.
52180         (TEST_COND_flt_32): New macro.
52181         (TEST_COND_dbl_64): Likewise.
52182         (TEST_COND_ldbl_96_intel): Likewise.
52183         (TEST_COND_ldbl_96_m68k): Likewise.
52184         (TEST_COND_ldbl_128): Likewise.
52185         (TEST_COND_ldbl_128ibm): Likewise.
52186         (TEST_COND_long32): Likewise.
52187         (TEST_COND_long64): Likewise.
52188         (TEST_COND_before_rounding): Likewise.
52189         (TEST_COND_after_rounding): Likewise.
52190         (enable_test): Handle XFAIL_TEST flag.
52191         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
52192         with finite results.
52193         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
52194         auto-libm-test-out.
52196 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52197             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52199         [BZ #16214]
52200         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
52201         __tls_get_addr_internal instead of __tls_get_offset in order to
52202         avoid GOT pointer dependency.  Make rtld export
52203         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
52204         __tls_get_addr since we are a __tls_get_offset platform.
52205         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
52206         GOT pointer being set up before.
52207         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
52209 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
52211         * manual/math.texi (Errors in Math Functions): Document accuracy
52212         goals.
52214         [BZ #15004]
52215         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
52216         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
52217         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52218         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52219         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52220         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52221         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52222         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52223         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52224         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52225         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52226         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52227         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52228         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52229         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52230         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52232         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
52233         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
52234         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
52235         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
52236         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
52237         Likewise.
52238         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
52239         Likewise.
52240         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
52241         Likewise.
52242         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
52243         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
52244         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
52245         atomic-feupdateenv and flt-rounds.
52246         * sysdeps/powerpc/nofpu/Versions (libc): Add
52247         __atomic_feholdexcept, __atomic_feclearexcept,
52248         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
52249         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
52250         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
52251         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
52252         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
52253         here.
52254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
52255         Update.
52257         * manual/arith.texi (FP Exceptions): Document that exceptions may
52258         not be raised when matherr is used.
52259         (Math Error Reporting): Document overflow in directed rounding
52260         modes.  Document that errno may not be set when finite values are
52261         returned on overflow.  Document intent to set errno on underflow
52262         only for underflow to zero.
52264         [BZ #16271]
52265         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
52266         round-to-nearest then adjust result for other rounding modes.
52267         * include/fenv.h (fegetround): Use libm_hidden_proto.
52268         * math/fegetround.c (fegetround): Use libm_hidden_def.
52269         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
52270         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
52271         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
52272         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
52273         Likewise.
52274         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
52275         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
52276         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
52277         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
52279 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52281         [BZ #16077]
52282         * nss/Versions (libnss_files): Add
52283         _nss_files_gethostbyname3_r.
52284         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
52285         New function.
52286         (HOST_DB_LOOKUP): Remove macro.
52287         (_nss_files_gethostbyname_r): Implement function without the
52288         HOST_DB_LOOKUP macro.
52289         (_nss_files_gethostbyname2_r): Likewise.
52291 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
52293         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
52295 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
52297         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
52298         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
52299         warning.
52301 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52303         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
52304         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
52305         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
52306         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
52307         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
52308         __fe_nomask_env_priv and attribute_hidden.
52309         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
52310         (libc_feupdateenv_test_ppc): Likewise.
52311         (libc_feresetround_ppc): Likewise.
52312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52313         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
52314         compat_symbol macro.
52315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52316         (__fe_nomask_env): Likewise.
52317         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
52319 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
52321         * string/Makefile: Remove ifunc tests.
52322         * string/test-string.h: Define TEST_IFUNC.
52323         * string/test-bcopy-ifunc.c: Remove.
52324         * string/test-bzero-ifunc.c: Likewise.
52325         * string/test-memccpy-ifunc.c: Likewise.
52326         * string/test-memchr-ifunc.c: Likewise.
52327         * string/test-memcmp-ifunc.c: Likewise.
52328         * string/test-memcpy-ifunc.c: Likewise.
52329         * string/test-memmem-ifunc.c: Likewise.
52330         * string/test-memmove-ifunc.c: Likewise.
52331         * string/test-mempcpy-ifunc.c: Likewise.
52332         * string/test-memrchr-ifunc.c: Likewise.
52333         * string/test-memset-ifunc.c: Likewise.
52334         * string/test-rawmemchr-ifunc.c: Likewise.
52335         * string/test-stpcpy-ifunc.c: Likewise.
52336         * string/test-stpncpy-ifunc.c: Likewise.
52337         * string/test-strcasecmp-ifunc.c: Likewise.
52338         * string/test-strcasestr-ifunc.c: Likewise.
52339         * string/test-strcat-ifunc.c: Likewise.
52340         * string/test-strchr-ifunc.c: Likewise.
52341         * string/test-strchrnul-ifunc.c: Likewise.
52342         * string/test-strcmp-ifunc.c: Likewise.
52343         * string/test-strcpy-ifunc.c: Likewise.
52344         * string/test-strcspn-ifunc.c: Likewise.
52345         * string/test-strlen-ifunc.c: Likewise.
52346         * string/test-strncasecmp-ifunc.c: Likewise.
52347         * string/test-strncat-ifunc.c: Likewise.
52348         * string/test-strncmp-ifunc.c: Likewise.
52349         * string/test-strncpy-ifunc.c: Likewise.
52350         * string/test-strnlen-ifunc.c: Likewise.
52351         * string/test-strpbrk-ifunc.c: Likewise.
52352         * string/test-strrchr-ifunc.c: Likewise.
52353         * string/test-strspn-ifunc.c: Likewise.
52354         * string/test-strstr-ifunc.c: Likewise.
52356 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
52358         * benchtests/Makefile: Remove ifunc tests.
52359         * benchtests/bench-string.h: Define TEST_IFUNC.
52360         * benchtests/bench-bcopy-ifunc.c: Remove.
52361         * benchtests/bench-bzero-ifunc.c: Likewise.
52362         * benchtests/bench-memccpy-ifunc.c: Likewise.
52363         * benchtests/bench-memchr-ifunc.c: Likewise.
52364         * benchtests/bench-memcmp-ifunc.c: Likewise.
52365         * benchtests/bench-memcpy-ifunc.c: Likewise.
52366         * benchtests/bench-memmem-ifunc.c: Likewise.
52367         * benchtests/bench-memmove-ifunc.c: Likewise.
52368         * benchtests/bench-mempcpy-ifunc.c: Likewise.
52369         * benchtests/bench-memrchr-ifunc.c: Likewise.
52370         * benchtests/bench-memset-ifunc.c: Likewise.
52371         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
52372         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
52373         * benchtests/bench-stpcpy-ifunc.c: Likewise.
52374         * benchtests/bench-stpncpy-ifunc.c: Likewise.
52375         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
52376         * benchtests/bench-strcasestr-ifunc.c: Likewise.
52377         * benchtests/bench-strcat-ifunc.c: Likewise.
52378         * benchtests/bench-strchr-ifunc.c: Likewise.
52379         * benchtests/bench-strchrnul-ifunc.c: Likewise.
52380         * benchtests/bench-strcmp-ifunc.c: Likewise.
52381         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
52382         * benchtests/bench-strcpy-ifunc.c: Likewise.
52383         * benchtests/bench-strcspn-ifunc.c: Likewise.
52384         * benchtests/bench-strlen-ifunc.c: Likewise.
52385         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
52386         * benchtests/bench-strncat-ifunc.c: Likewise.
52387         * benchtests/bench-strncmp-ifunc.c: Likewise.
52388         * benchtests/bench-strncpy-ifunc.c: Likewise.
52389         * benchtests/bench-strnlen-ifunc.c: Likewise.
52390         * benchtests/bench-strpbrk-ifunc.c: Likewise.
52391         * benchtests/bench-strrchr-ifunc.c: Likewise.
52392         * benchtests/bench-strsep-ifunc.c: Likewise.
52393         * benchtests/bench-strspn-ifunc.c: Likewise.
52394         * benchtests/bench-strstr-ifunc.c: Likewise.
52396 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
52398         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
52400 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
52402         * resolv/netdb.h: Use __glibc_reserved instead __unused.
52403         * rt/aio.h: Likewise.
52404         * sysdeps/gnu/bits/utmp.h: Likewise.
52405         * sysdeps/gnu/bits/utmpx.h: Likewise.
52406         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
52407         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
52408         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
52409         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
52410         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
52411         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
52412         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
52413         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
52414         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
52415         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
52416         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
52417         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
52418         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
52419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
52420         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
52421         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
52422         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
52423         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
52424         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
52425         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
52426         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
52427         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
52428         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
52429         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
52430         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
52431         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52432         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
52433         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
52434         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
52435         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
52436         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
52437         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
52438         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
52439         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
52440         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
52441         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
52442         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
52443         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
52444         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
52445         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
52446         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
52447         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
52449 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
52451         [BZ #16245]
52452         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
52453         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
52455 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
52457         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
52458         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
52459         Likewise.
52461 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52463         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
52464         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
52465         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
52466         (__fesetround): Remove define.
52467         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
52468         rounding and exceptions handling.
52469         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
52470         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
52471         (__fe_nomask_env): Likewise.
52472         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
52473         __fegetround instead of fegetround.
52474         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
52475         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
52477 2013-11-21  Roland McGrath  <roland@hack.frob.com>
52479         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
52480         it's there.
52482         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
52484 2013-11-21  Meador Inge  <meadori@codesourcery.com>
52486         [BZ #11157]
52487         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
52488         (encrypt_r): Likewise.
52489         * malloc/obstack.h (obstack_free): Likewise.
52490         * posix/unistd.h (encrypt): Likewise.
52492 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
52494         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
52495         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
52496         DL_CALL_DT_FINI() that call the functions directly.
52497         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
52498         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
52499         * elf/dl-fini.c: Likewise.
52501 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
52503         * malloc/hooks.c (memalign_check): Add alignment rounding.
52504         * malloc/malloc.c (_mid_memalign): New function.
52505         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
52506         Implement by calling _mid_memalign.
52507         * manual/probes.texi (Memory Allocation Probes): Remove
52508         memory_valloc_retry and memory_pvalloc_retry.
52510 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52512         * locale/programs/locarchive.c (open_archive): Add const
52513         qualifier to ARCHIVEFNAME and copy default fname to
52514         DEFAULT_FNAME.
52516         [BZ #15601]
52517         * libio/tst-widetext.input: Rename Oriya to Odia.
52518         * locale/iso-639.def: Likewise.
52520         * manual/probes.texi (Mathematical Function Probes): Add
52521         documentation for sin, cos, asin and acos probes.
52522         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
52523         (__sin32): Add slowasin probe.
52524         (__cos32): Add slowacos probe.
52525         (__mpsin): Add slowsin probe.
52526         (__mpcos): Add slowcos probe.
52528 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
52530         [BZ #15483]
52531         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
52532         thread-local __sim_exceptions_thread and global
52533         __sim_exceptions_global.
52534         (__sim_disabled_exceptions): Change to thread-local
52535         __sim_disabled_exceptions_thread and global
52536         __sim_disabled_exceptions_global.
52537         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
52538         and global __sim_round_mode_global.
52539         (__simulate_exceptions): Use thread-local floating-point state and
52540         set global state from it as needed.
52541         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
52542         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
52543         __sim_round_mode_thread.
52544         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
52545         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
52546         and global __sim_exceptions_global.
52547         (__sim_disabled_exceptions): Change to thread-local
52548         __sim_disabled_exceptions_thread and global
52549         __sim_disabled_exceptions_global.
52550         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
52551         and global __sim_round_mode_global.
52552         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
52553         (SIM_SET_GLOBAL): Likewise.
52554         * sysdeps/powerpc/soft-fp/sfp-machine.h
52555         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
52556         __sim_round_mode_thread.
52557         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
52558         __sim_disabled_exceptions_thread.
52559         (__sim_exceptions): Change to __sim_exceptions_thread.
52560         (__sim_disabled_exceptions): Change to
52561         __sim_disabled_exceptions_thread.
52562         (__sim_round_mode): Change to __sim_round_mode_thread.
52563         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
52564         thread-local floating-point state and set global state from it as
52565         needed.
52566         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
52567         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
52568         (__sim_disabled_exceptions): Remove extern declaration.
52569         (feenableexcept): Use thread-local floating-point state and set
52570         global state from it as needed.
52571         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
52572         extern declaration.
52573         (__sim_disabled_exceptions): Likewise.
52574         (__sim_round_mode): Likewise.
52575         (__fegetenv): Use thread-local floating-point state.
52576         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
52577         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
52578         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
52579         floating-point state and set global state from it as needed.
52580         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
52581         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
52582         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
52583         Likewise.
52584         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
52585         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
52586         Likewise.
52587         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
52588         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
52589         Use __sim_round_mode_thread.
52590         * math/test-fenv-tls.c: New file.
52591         * math/Makefile (tests): Add test-fenv-tls.
52592         ($(objpfx)test-fenv-tls): Depend on
52593         $(common-objpfx)nptl/libpthread.so.
52595 2013-11-19  Andreas Schwab  <schwab@suse.de>
52597         * locale/programs/locale.c (show_info): Decode wordarray elements.
52598         * locale/categories.def (LC_MONETARY): Add element for
52599         _NL_MONETARY_CRNCYSTR.
52600         * locale/C-monetary.c (conversion_rate): New variable.
52601         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
52602         element.
52604 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
52606         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
52607         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
52609 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
52611         * elf/Makefile (tst-auxv): New test.
52612         * elf/tst-auxv.c: New
52613         * elf/rtld.c (dl_main): Adjust AT_EXECFN
52615 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
52617         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
52618         (hidden_proto): Caller changed.
52619         (hidden_tls_proto): New macro.
52620         (libc_hidden_tls_proto): Likewise.
52621         (rtld_hidden_tls_proto): Likewise.
52622         (libm_hidden_tls_proto): Likewise.
52623         (libresolv_hidden_tls_proto): Likewise.
52624         (librt_hidden_tls_proto): Likewise.
52625         (libdl_hidden_tls_proto): Likewise.
52626         (libnss_files_hidden_tls_proto): Likewise.
52627         (libnsl_hidden_tls_proto): Likewise.
52628         (libnss_nisplus_hidden_tls_proto): Likewise.
52629         (libutil_hidden_tls_proto): Likewise.
52631 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
52633         [BZ #10253]
52634         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
52635         (decompose_rpath): Defer expansion to fillin_rpath.
52636         (_dl_init_paths): Pass linkmap to fillin_rpath.
52638 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
52640         * benchtests/Makefile: Add strsep.
52641         * benchtests/bench-strsep.c: New file: strsep benchtest.
52642         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
52644 2013-11-18  Andreas Schwab  <schwab@suse.de>
52646         * locale/programs/locale.c (show_info) [case byte]: Check for
52647         '\377' instead of '\177'.
52648         * locale/C-monetary.c (not_available): Always use "\377".
52649         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
52650         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
52651         detect unavailable sign_posn locale elements.
52652         * locale/localeconv.c (__localeconv): For grouping and
52653         mon_grouping handle "\177" and "\377" like no grouping.
52654         (INT_ELEM): New macro.  Use it to set all numeric members.
52655         * locale/programs/ld-monetary.c (monetary_read)
52656         <tok_mon_grouping>: Normalize single -1 to the empty string.
52657         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
52658         Likewise.
52660 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
52662         [BZ #16055]
52663         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
52664         when we match (nil).
52665         * stdio-common/tst-sscanf.c (struct test): Add testcase.
52667 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
52669         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
52670         (NO_TEST_INLINE): Update value.
52671         (ERRNO_UNCHANGED): Likewise.
52672         (ERRNO_EDOM): Likewise.
52673         (ERRNO_ERANGE): Likewise.
52674         (IGNORE_RESULT): Likewise.
52675         (check_float_internal): Check signs of NaN results if
52676         TEST_NAN_SIGN used.
52677         (check_complex): Pass TEST_NAN_SIGN flag through to second
52678         check_float_internal call.
52679         (copysign_test_data): Add tests with quiet NaNs as second
52680         argument.  Use TEST_NAN_SIGN.
52681         (fabs_test_data): Add test of negative quiet NaN argument.  Use
52682         TEST_NAN_SIGN.
52683         (signbit_test_data): Add tests of quiet NaN argument.
52684         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
52686         * math/gen-libm-test.pl (show_exceptions): Take extra argument
52687         $ignore_result.
52688         (parse_args): Handle function results specified as IGNORE.
52689         * math/libm-test.inc (IGNORE_RESULT): New macro.
52690         (check_float_internal): Do not check numerical result if flag
52691         IGNORE_RESULT set.
52692         (check_complex): Pass through IGNORE_RESULT to second
52693         check_float_internal call.
52694         (check_int): Do not check numerical result if flag IGNORE_RESULT
52695         set.
52696         (check_long): Likewise.
52697         (check_bool): Likewise.
52698         (check_longlong): Likewise.
52699         (lrint_test_data): Add tests of infinite and NaN arguments.
52700         (lrint_tonearest_test_data): Likewise.
52701         (lrint_towardzero_test_data): Likewise.
52702         (lrint_downward_test_data): Likewise.
52703         (lrint_upward_test_data): Likewise.
52704         (llrint_test_data): Likewise.
52705         (llrint_tonearest_test_data): Likewise.
52706         (llrint_towardzero_test_data): Likewise.
52707         (llrint_downward_test_data): Likewise.
52708         (llrint_upward_test_data): Likewise.
52709         (lround_test_data): Likewise.
52710         (llround_test_data): Likewise.
52712         * math/libm-test.inc (NO_TEST_INLINE): New macro.
52713         (ERRNO_UNCHANGED): Update value.
52714         (ERRNO_EDOM): Likewise.
52715         (ERRNO_ERANGE): Likewise.
52716         (NO_TEST_INLINE_FLOAT): New macro.
52717         (NO_TEST_INLINE_DOUBLE): Likewise.
52718         (enable_test): New function.
52719         (RUN_TEST_f_f): Check enable_test before running test.
52720         (RUN_TEST_2_f): Likewise.
52721         (RUN_TEST_fff_f): Likewise.
52722         (RUN_TEST_c_f): Likewise.
52723         (RUN_TEST_f_f1): Likewise.
52724         (RUN_TEST_fF_f1): Likewise.
52725         (RUN_TEST_fI_f1): Likewise.
52726         (RUN_TEST_ffI_f1): Likewise.
52727         (RUN_TEST_c_c): Likewise.
52728         (RUN_TEST_cc_c): Likewise.
52729         (RUN_TEST_f_i): Likewise.
52730         (RUN_TEST_f_i_tg): Likewise.
52731         (RUN_TEST_ff_i_tg): Likewise.
52732         (RUN_TEST_f_b): Likewise.
52733         (RUN_TEST_f_b_tg): Likewise.
52734         (RUN_TEST_f_l): Likewise.
52735         (RUN_TEST_f_L): Likewise.
52736         (RUN_TEST_fFF_11): Likewise.
52737         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
52738         conditionals.
52739         (cosh_test_data): Likewise.
52740         (exp_test_data): Likewise.
52741         (expm1_test_data): Likewise.
52742         (hypot_test_data): Likewise.
52743         (pow_test_data): Likewise.
52744         (sinh_test_data): Likewise.
52745         (tanh_test_data): Likewise.
52746         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
52747         flags argument.
52749         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
52750         tests with quiet NaN input and output.
52751         (acosh_test_data): Likewise.
52752         (asin_test_data): Likewise.
52753         (asinh_test_data): Likewise.
52754         (atan_test_data): Likewise.
52755         (atanh_test_data): Likewise.
52756         (atan2_test_data): Likewise.
52757         (cbrt_test_data): Likewise.
52758         (cos_test_data): Likewise.
52759         (cosh_test_data): Likewise.
52760         (erf_test_data): Likewise.
52761         (erfc_test_data): Likewise.
52762         (exp_test_data): Likewise.
52763         (exp10_test_data): Likewise.
52764         (exp2_test_data): Likewise.
52765         (expm1_test_data): Likewise.
52766         (hypot_test_data): Likewise.
52767         (j0_test_data): Likewise.
52768         (j1_test_data): Likewise.
52769         (jn_test_data): Likewise.
52770         (lgamma_test_data): Likewise.
52771         (log_test_data): Likewise.
52772         (log10_test_data): Likewise.
52773         (log1p_test_data): Likewise.
52774         (log2_test_data): Likewise.
52775         (pow_test_data): Likewise.
52776         (scalb_test_data): Likewise.
52777         (sin_test_data): Likewise.
52778         (sincos_test_data): Likewise.
52779         (sinh_test_data): Likewise.
52780         (tan_test_data): Likewise.
52781         (tanh_test_data): Likewise.
52782         (tgamma_test_data): Likewise.
52783         (y0_test_data): Likewise.
52784         (y1_test_data): Likewise.
52785         (yn_test_data): Likewise.
52787         [BZ #16167]
52788         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
52789         argument being NaN and avoid computations with second argument in
52790         that case.
52791         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52792         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
52793         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52795 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
52797         * locale/iso-639.def: Add Chitwani Tharu (the).
52799 2013-11-14  Andreas Schwab  <schwab@suse.de>
52801         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
52802         word instead of empty string.
52804 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52807         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
52808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52809         (__fe_nomask_env): Likewise.
52811 2013-11-13  Steve Ellcey  <sellcey@mips.com>
52813         * benchtests/bench-timing.h: Include time.h.
52815 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
52817         [BZ #15997]
52818         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
52819         to 3.4.0 for x32.
52820         * sysdeps/unix/sysv/linux/configure: Regenerated.
52822 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
52824         [BZ #16151]
52825         * stdlib/strtod_l.c (round_and_return): Do not consider
52826         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
52827         exponent one less than half the least subnormal exponent.
52828         * stdlib/test-strtod-round-data: Add more tests.
52829         * stdlib/tst-strtod-round.c (tests): Regenerated.
52831 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52833         [BZ #14143]
52834         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
52835         (__fe_mask_env): Likewise.
52836         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
52837         libm_hidden_proto and add function prototype.
52838         (__fe_mask_env): Add function prototype.
52839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52840         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
52841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
52842         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
52843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52844         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
52846 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52848         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
52849         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
52851 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52853         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
52854         of htab_find_slot().
52856 2013-11-11  David S. Miller  <davem@davemloft.net>
52858         [BZ #16150]
52859         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
52860         symbol in the non-vis3 case in static builds.
52861         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
52862         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
52863         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
52864         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
52866 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
52868         [BZ #387]
52869         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
52870         it is empty.
52872 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52874         * benchtests/Makefile: Add bench-strtod.
52875         * benchtests/bench-strtod.c: New file: strtod benchtest
52877 2013-11-11  Andreas Schwab  <schwab@suse.de>
52879         [BZ #16153]
52880         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
52881         terminating NUL in key length.
52883 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52885         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
52886         Add artificial ODP entry for vDSO symbol for PPC64.
52887         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
52888         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
52890 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
52892         [BZ #15374]
52893         * nss/getent.c (services_keys): Recognize services starting with digit.
52895 2013-11-06  David S. Miller  <davem@davemloft.net>
52897         [BZ #15985]
52898         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
52899         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
52901 2013-11-06  Will Newton  <will.newton@linaro.org>
52903         * manual/memory.texi (Malloc Examples): Remove register
52904         keyword from examples.
52906 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
52908         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
52910 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
52912         [BZ #6981]
52913         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
52914         depending on [__GCC_IEC_559 > 0].
52915         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
52916         depending on [__GCC_IEC_559_COMPLEX > 0].
52918 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
52920         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
52921         to iso-639.def.
52923 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
52925         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
52927 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
52929         [BZ #16112]
52930         * malloc/malloc (malloc_info): Do not handle first bin as
52931         special case.
52933 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
52935         * locale/iso-639.def: Add Central Nahuatl (nhn).
52937 2013-11-01  Bruno Haible  <bruno@clisp.org>
52939         [BZ #7003]
52940         * manual/math.texi (BSD Random): Specify range upper bound as
52941         in POSIX.
52943 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
52945         * locale/iso-639.def: Add Meadow Mari (mhr).
52947 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
52949         [BZ #14752], [BZ #15763]
52950         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
52951         Validate name.
52952         * rt/tst_shm.c: Add test for escaping directory.
52954 2013-10-31  Andreas Schwab  <schwab@suse.de>
52956         [BZ #15917]
52957         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
52958         followed by 'x' as part of digit sequence.
52959         * stdio-common/tst-sscanf.c (double_tests2): New tests.
52961 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
52963         [BZ #16037]
52964         * configure.ac: allow GNU Make 4.0 and greater.
52965         * configure: Regenerated.
52967 2013-10-30  Will Newton  <will.newton@linaro.org>
52969         [BZ #16038]
52970         * malloc/hooks.c (memalign_check): Limit alignment to the
52971         maximum representable power of two.
52972         * malloc/malloc.c (__libc_memalign): Likewise.
52973         * malloc/tst-memalign.c (do_test): Add test for very
52974         large alignment values.
52975         * malloc/tst-posix_memalign.c (do_test): Likewise.
52977 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
52979         [BZ #11087]
52980         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
52981         (munmap_chunk): Likewise.
52982         (mremap_chunk): Likewise.
52984 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
52986         [BZ #15799]
52987         * stdlib/div.c (div): Remove obsolete code.
52988         * stdlib/ldiv.c (ldiv): Likewise.
52989         * stdlib/lldiv.c (lldiv): Likewise.
52991 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52993         [BZ #16071]
52994         * nss/nss_files/files-XXX.c (get_contents_ret): New
52995         enumerator.
52996         (get_contents): New function.
52997         (internal_getent): Use it.  Expand size of LINEBUFLEN.
52999 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
53001         * configure.in: Moved to ...
53002         * configure.ac: ... here. Change reference to configure.in
53003         to configure.ac.
53004         * sysdeps/arm/preconfigure.ac: ... here.
53005         configure.in to configure.ac.
53006         * sysdeps/gnu/configure.in: Moved to ...
53007         * sysdeps/gnu/configure.ac: ... here.
53008         * sysdeps/i386/configure.in: Moved to ...
53009         * sysdeps/i386/configure.ac: ... here.
53010         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
53011         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
53012         * sysdeps/mach/configure.in: Moved to ...
53013         * sysdeps/mach/configure.ac: ... here.
53014         * sysdeps/mach/hurd/configure.in: Moved to ...
53015         * sysdeps/mach/hurd/configure.ac: ... here.
53016         * sysdeps/powerpc/configure.in: Moved to ...
53017         * sysdeps/powerpc/configure.ac: ... here.
53018         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
53019         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
53020         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
53021         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
53022         * sysdeps/s390/s390-32/configure.in: Moved to ...
53023         * sysdeps/s390/s390-32/configure.ac: ... here.
53024         * sysdeps/s390/s390-64/configure.in: Moved to ...
53025         * sysdeps/s390/s390-64/configure.ac: ... here.
53026         * sysdeps/sh/configure.in: Moved to ...
53027         * sysdeps/sh/configure.ac: ... here.
53028         * sysdeps/sparc/configure.in: Moved to ...
53029         * sysdeps/sparc/configure.ac: ... here.
53030         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
53031         * sysdeps/unix/sysv/linux/configure.ac: ... here.
53032         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
53033         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
53034         * sysdeps/x86_64/configure.in: Moved to ...
53035         * sysdeps/x86_64/configure.ac: ... here.
53036         * sysdeps/x86_64/preconfigure.in: Moved to ...
53037         * sysdeps/x86_64/preconfigure.ac: ... here.
53038         * aclocal.m4: Change reference to configure.in to configure.ac.
53039         * config.h.in: Likewise.
53040         * manual/install.texi: Likewise.
53041         * manual/maint.texi: Likewise.
53042         * Makefile: Likewise.
53043         * malloc/Makefile: Likewise.
53044         * nscd/Makefile: Likewise.
53045         * Makeconfig: Change reference to configure.in and
53046         preconfigure.in to configure.ac and preconfigure.ac
53047         respectively.
53048         * INSTALL: Regenerated.
53049         * configure: Likewise.
53050         * sysdeps/gnu/configure: Likewise.
53051         * sysdeps/i386/configure: Likewise.
53052         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
53053         * sysdeps/mach/configure: Likewise.
53054         * sysdeps/mach/hurd/configure: Likewise.
53055         * sysdeps/powerpc/configure: Likewise.
53056         * sysdeps/powerpc/powerpc32/configure: Likewise.
53057         * sysdeps/powerpc/powerpc64/configure: Likewise.
53058         * sysdeps/s390/s390-32/configure: Likewise.
53059         * sysdeps/s390/s390-64/configure: Likewise.
53060         * sysdeps/sh/configure: Likewise.
53061         * sysdeps/sparc/configure: Likewise.
53062         * sysdeps/unix/sysv/linux/configure: Likewise.
53063         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
53064         * sysdeps/x86_64/configure: Likewise.
53065         * sysdeps/x86_64/preconfigure: Likewise.
53067 2013-10-29  Andreas Schwab  <schwab@suse.de>
53069         * stdio-common/Makefile (tst-swscanf-ENV): Define.
53071 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53073         * benchtests/pow-inputs: Add new inputs.
53075         * benchtests/exp-inputs: Add new inputs.
53077         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
53078         conditional check for return value.
53079         (__cos32): Likewise.
53081 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53083         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
53084         to provide a boost for large inputs with word alignment.
53085         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
53086         implementation based on optimized PPC64 strcpy.
53087         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
53088         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
53089         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
53090         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
53092 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
53094         [BZ #2801]
53095         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
53097 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
53099         [BZ #14876]
53100         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
53101         * time/tst-strptime.c (day_tests): Add testcase.
53103 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
53105         [BZ #14029]
53106         * manual/pattern.texi: Acknowledge that fnmatch can fail.
53108 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
53110         [BZ #16074]
53111         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
53112         MAP_FAILED on error.
53114 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53116         [BZ #16072]
53117         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
53118         heap for large requests.
53120 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
53122         [BZ #9954]
53123         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
53124         result if the result has no associated interface.
53125         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
53126         interface for all 127.X.Y.Z addresses.
53128 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
53130         * locale/iso-639.def: Add Ligurian (lij)
53132 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
53134         [BZ #15825]
53135         * sunrpc/rpc_main.c: Document rpcgen -5.
53137 2013-10-19  Michael Stahl  <mstahl@redhat.com>
53139         * elf/rtld.c (do_preload): Print the reason why preloading failed.
53141 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
53143         [BZ #10278]
53144         * posix/glob.c: Match only directories when trailing slash is present.
53145         * posix/tst-gnuglob.c (my_opendir): Do not open files.
53146         (main): Add testcase.
53148 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
53150         [BZ #15670]
53151         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
53153 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
53155         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
53156         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
53157         AUTH_DES and cindex for FIPS 140-2.
53158         (DES Encryption): Add cindex FIPS 46-3.
53160         * locale/locarchive.h (struct locarhandle): Add fname.
53161         * locale/programs/localedef.c (main): Pass ARGV[remaining]
53162         if an optional argument was specified to --list-archive,
53163         otherwise NULL.
53164         * locale/programs/locarchive.c (show_archive_content): Take new
53165         argument fname and pass it via ah.fname to open_archive.
53166         * locale/programs/localedef.h: Update decl.
53167         (open_archive): If AH->fname is non-null, open that file
53168         rather than the default file name, and don't ignore ENOENT.
53169         (create_archive): Set AH.fname to NULL.
53170         (delete_locales_from_archive): Likewise.
53171         (add_locales_to_archive): Likewise.
53172         * locale/programs/locfile.c (write_all_categories): Likewise.
53174 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
53175             Aldy Hernandez  <aldyh@redhat.com>
53177         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
53178         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
53179         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
53180         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
53181         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
53182         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
53183         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
53184         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
53185         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
53186         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
53187         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
53188         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
53189         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
53190         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
53191         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
53192         Likewise.
53193         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
53194         Likewise.
53195         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
53196         Likewise.
53197         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
53198         Likewise.
53199         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
53200         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
53201         Likewise.
53202         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
53203         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
53204         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
53205         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
53206         Likewise.
53207         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
53208         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
53209         * sysdeps/powerpc/preconfigure: Likewise.
53210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
53211         Likewise.
53212         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
53213         Replace contents of file by #include of <fenv_libc.h>.
53214         * sysdeps/powerpc/soft-fp/sfp-machine.h
53215         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
53216         and <sys/prctl.h>.
53217         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
53218         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
53219         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
53220         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
53221         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
53222         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
53223         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
53224         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
53225         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
53226         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
53227         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
53228         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
53229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
53230         Allow copysignl PLT reference to be missing.
53232 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
53233             Joseph Myers  <joseph@codesourcery.com
53235         [BZ #15948]
53236         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
53237         single character.
53238         (add_to_tablewc): Assert sequence of wide characters is nonempty.
53240 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53242         * elf/tst-tls-dlinfo.c: Don't include tls.h.
53243         * elf/tst-tls1.c: Likewise.
53244         * elf/tst-tls10.h: Likewise.
53245         * elf/tst-tls14.c: Likewise.
53246         * elf/tst-tls2.c: Likewise.
53247         * elf/tst-tls3.c: Likewise.
53248         * elf/tst-tls4.c: Likewise.
53249         * elf/tst-tls5.c: Likewise.
53250         * elf/tst-tls6.c: Likewise.
53251         * elf/tst-tls7.c: Likewise.
53252         * elf/tst-tls8.c: Likewise.
53253         * elf/tst-tls9.c: Likewise.
53254         * elf/tst-tlsmod1.c: Likewise.
53255         * elf/tst-tlsmod13.c: Likewise.
53256         * elf/tst-tlsmod13a.c: Likewise.
53257         * elf/tst-tlsmod14a.c: Likewise.
53258         * elf/tst-tlsmod16a.c: Likewise.
53259         * elf/tst-tlsmod16b.c: Likewise.
53260         * elf/tst-tlsmod2.c: Likewise.
53261         * elf/tst-tlsmod3.c: Likewise.
53262         * elf/tst-tlsmod4.c: Likewise.
53263         * elf/tst-tlsmod5.c: Likewise.
53264         * elf/tst-tlsmod6.c: Likewise.
53266 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
53268         [BZ #12486]
53269         * malloc/malloc.c: remove checks for statistics.
53271 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
53273         [BZ #15277]
53274         * inet/inet_net.c (inet_network): Detect additional invalid strings.
53275         * inet/tst-network.c: Add testcase.
53277 2013-10-17  Andreas Schwab  <schwab@suse.de>
53279         [BZ #15218]
53280         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
53281         to determine canonical name.
53283 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
53285         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
53286         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
53287         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53288         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53289         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53290         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53291         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53292         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53293         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
53294         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53295         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
53296         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53297         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53298         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53299         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53300         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53301         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53302         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53303         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
53304         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53305         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53306         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53307         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53308         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
53309         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
53310         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53311         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53312         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
53313         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53314         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
53315         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53316         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53317         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
53318         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53319         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53320         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53321         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53322         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53323         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53324         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53325         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53326         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
53327         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
53328         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53329         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
53330         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53331         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53332         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
53333         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
53334         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53335         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
53336         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53337         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
53338         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
53339         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53340         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
53341         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53342         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53344 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
53346         [BZ #16041]
53347         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
53348         make result into a quiet NaN.
53350 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
53352         * soft-fp/adddf3.c: Fix horizontal whitespace.
53353         * soft-fp/addsf3.c: Likewise.
53354         * soft-fp/addtf3.c: Likewise.
53355         * soft-fp/divdf3.c: Likewise.
53356         * soft-fp/divsf3.c: Likewise.
53357         * soft-fp/divtf3.c: Likewise.
53358         * soft-fp/double.h: Likewise.
53359         * soft-fp/eqdf2.c: Likewise.
53360         * soft-fp/eqsf2.c: Likewise.
53361         * soft-fp/eqtf2.c: Likewise.
53362         * soft-fp/extenddftf2.c: Likewise.
53363         * soft-fp/extended.h: Likewise.
53364         * soft-fp/extendsfdf2.c: Likewise.
53365         * soft-fp/extendsftf2.c: Likewise.
53366         * soft-fp/extendxftf2.c: Likewise.
53367         * soft-fp/fixdfdi.c: Likewise.
53368         * soft-fp/fixdfsi.c: Likewise.
53369         * soft-fp/fixdfti.c: Likewise.
53370         * soft-fp/fixsfdi.c: Likewise.
53371         * soft-fp/fixsfsi.c: Likewise.
53372         * soft-fp/fixsfti.c: Likewise.
53373         * soft-fp/fixtfdi.c: Likewise.
53374         * soft-fp/fixtfsi.c: Likewise.
53375         * soft-fp/fixtfti.c: Likewise.
53376         * soft-fp/fixunsdfdi.c: Likewise.
53377         * soft-fp/fixunsdfsi.c: Likewise.
53378         * soft-fp/fixunsdfti.c: Likewise.
53379         * soft-fp/fixunssfdi.c: Likewise.
53380         * soft-fp/fixunssfsi.c: Likewise.
53381         * soft-fp/fixunssfti.c: Likewise.
53382         * soft-fp/fixunstfdi.c: Likewise.
53383         * soft-fp/fixunstfsi.c: Likewise.
53384         * soft-fp/fixunstfti.c: Likewise.
53385         * soft-fp/floatdidf.c: Likewise.
53386         * soft-fp/floatdisf.c: Likewise.
53387         * soft-fp/floatditf.c: Likewise.
53388         * soft-fp/floatsidf.c: Likewise.
53389         * soft-fp/floatsisf.c: Likewise.
53390         * soft-fp/floatsitf.c: Likewise.
53391         * soft-fp/floattidf.c: Likewise.
53392         * soft-fp/floattisf.c: Likewise.
53393         * soft-fp/floattitf.c: Likewise.
53394         * soft-fp/floatundidf.c: Likewise.
53395         * soft-fp/floatundisf.c: Likewise.
53396         * soft-fp/floatunditf.c: Likewise.
53397         * soft-fp/floatunsidf.c: Likewise.
53398         * soft-fp/floatunsisf.c: Likewise.
53399         * soft-fp/floatunsitf.c: Likewise.
53400         * soft-fp/floatuntidf.c: Likewise.
53401         * soft-fp/floatuntisf.c: Likewise.
53402         * soft-fp/floatuntitf.c: Likewise.
53403         * soft-fp/fmadf4.c: Likewise.
53404         * soft-fp/fmasf4.c: Likewise.
53405         * soft-fp/fmatf4.c: Likewise.
53406         * soft-fp/gedf2.c: Likewise.
53407         * soft-fp/gesf2.c: Likewise.
53408         * soft-fp/getf2.c: Likewise.
53409         * soft-fp/ledf2.c: Likewise.
53410         * soft-fp/lesf2.c: Likewise.
53411         * soft-fp/letf2.c: Likewise.
53412         * soft-fp/muldf3.c: Likewise.
53413         * soft-fp/mulsf3.c: Likewise.
53414         * soft-fp/multf3.c: Likewise.
53415         * soft-fp/negdf2.c: Likewise.
53416         * soft-fp/negsf2.c: Likewise.
53417         * soft-fp/negtf2.c: Likewise.
53418         * soft-fp/op-1.h: Likewise.
53419         * soft-fp/op-2.h: Likewise.
53420         * soft-fp/op-4.h: Likewise.
53421         * soft-fp/op-8.h: Likewise.
53422         * soft-fp/op-common.h: Likewise.
53423         * soft-fp/quad.h: Likewise.
53424         * soft-fp/single.h: Likewise.
53425         * soft-fp/soft-fp.h: Likewise.
53426         * soft-fp/sqrtdf2.c: Likewise.
53427         * soft-fp/sqrtsf2.c: Likewise.
53428         * soft-fp/sqrttf2.c: Likewise.
53429         * soft-fp/subdf3.c: Likewise.
53430         * soft-fp/subsf3.c: Likewise.
53431         * soft-fp/subtf3.c: Likewise.
53432         * soft-fp/truncdfsf2.c: Likewise.
53433         * soft-fp/trunctfdf2.c: Likewise.
53434         * soft-fp/trunctfsf2.c: Likewise.
53435         * soft-fp/trunctfxf2.c: Likewise.
53436         * soft-fp/unorddf2.c: Likewise.
53437         * soft-fp/unordsf2.c: Likewise.
53438         * soft-fp/unordtf2.c: Likewise.
53440 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
53442         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
53443         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
53445 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
53447         * elf/dl-libc.c: Clear initfini list after freeing.
53449 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
53451         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
53452         * soft-fp/addsf3.c: Likewise.
53453         * soft-fp/addtf3.c: Likewise.
53454         * soft-fp/divdf3.c: Likewise.
53455         * soft-fp/divsf3.c: Likewise.
53456         * soft-fp/divtf3.c: Likewise.
53457         * soft-fp/double.h: Likewise.
53458         * soft-fp/eqdf2.c: Likewise.
53459         * soft-fp/eqsf2.c: Likewise.
53460         * soft-fp/eqtf2.c: Likewise.
53461         * soft-fp/extenddftf2.c: Likewise.
53462         * soft-fp/extended.h: Likewise.
53463         * soft-fp/extendsfdf2.c: Likewise.
53464         * soft-fp/extendsftf2.c: Likewise.
53465         * soft-fp/extendxftf2.c: Likewise.
53466         * soft-fp/fixdfdi.c: Likewise.
53467         * soft-fp/fixdfsi.c: Likewise.
53468         * soft-fp/fixdfti.c: Likewise.
53469         * soft-fp/fixsfdi.c: Likewise.
53470         * soft-fp/fixsfsi.c: Likewise.
53471         * soft-fp/fixsfti.c: Likewise.
53472         * soft-fp/fixtfdi.c: Likewise.
53473         * soft-fp/fixtfsi.c: Likewise.
53474         * soft-fp/fixtfti.c: Likewise.
53475         * soft-fp/fixunsdfdi.c: Likewise.
53476         * soft-fp/fixunsdfsi.c: Likewise.
53477         * soft-fp/fixunsdfti.c: Likewise.
53478         * soft-fp/fixunssfdi.c: Likewise.
53479         * soft-fp/fixunssfsi.c: Likewise.
53480         * soft-fp/fixunssfti.c: Likewise.
53481         * soft-fp/fixunstfdi.c: Likewise.
53482         * soft-fp/fixunstfsi.c: Likewise.
53483         * soft-fp/fixunstfti.c: Likewise.
53484         * soft-fp/floatdidf.c: Likewise.
53485         * soft-fp/floatdisf.c: Likewise.
53486         * soft-fp/floatditf.c: Likewise.
53487         * soft-fp/floatsidf.c: Likewise.
53488         * soft-fp/floatsisf.c: Likewise.
53489         * soft-fp/floatsitf.c: Likewise.
53490         * soft-fp/floattidf.c: Likewise.
53491         * soft-fp/floattisf.c: Likewise.
53492         * soft-fp/floattitf.c: Likewise.
53493         * soft-fp/floatundidf.c: Likewise.
53494         * soft-fp/floatundisf.c: Likewise.
53495         * soft-fp/floatunsidf.c: Likewise.
53496         * soft-fp/floatunsisf.c: Likewise.
53497         * soft-fp/floatuntidf.c: Likewise.
53498         * soft-fp/floatuntisf.c: Likewise.
53499         * soft-fp/floatuntitf.c: Likewise.
53500         * soft-fp/fmadf4.c: Likewise.
53501         * soft-fp/fmasf4.c: Likewise.
53502         * soft-fp/fmatf4.c: Likewise.
53503         * soft-fp/gedf2.c: Likewise.
53504         * soft-fp/gesf2.c: Likewise.
53505         * soft-fp/getf2.c: Likewise.
53506         * soft-fp/ledf2.c: Likewise.
53507         * soft-fp/lesf2.c: Likewise.
53508         * soft-fp/letf2.c: Likewise.
53509         * soft-fp/muldf3.c: Likewise.
53510         * soft-fp/mulsf3.c: Likewise.
53511         * soft-fp/multf3.c: Likewise.
53512         * soft-fp/negdf2.c: Likewise.
53513         * soft-fp/negsf2.c: Likewise.
53514         * soft-fp/negtf2.c: Likewise.
53515         * soft-fp/op-1.h: Likewise.
53516         * soft-fp/op-2.h: Likewise.
53517         * soft-fp/op-4.h: Likewise.
53518         * soft-fp/op-8.h: Likewise.
53519         * soft-fp/op-common.h: Likewise.
53520         * soft-fp/quad.h: Likewise.
53521         * soft-fp/single.h: Likewise.
53522         * soft-fp/soft-fp.h: Likewise.
53523         * soft-fp/sqrtdf2.c: Likewise.
53524         * soft-fp/sqrtsf2.c: Likewise.
53525         * soft-fp/sqrttf2.c: Likewise.
53526         * soft-fp/subdf3.c: Likewise.
53527         * soft-fp/subsf3.c: Likewise.
53528         * soft-fp/subtf3.c: Likewise.
53529         * soft-fp/truncdfsf2.c: Likewise.
53530         * soft-fp/trunctfdf2.c: Likewise.
53531         * soft-fp/trunctfsf2.c: Likewise.
53532         * soft-fp/trunctfxf2.c: Likewise.
53533         * soft-fp/unorddf2.c: Likewise.
53534         * soft-fp/unordsf2.c: Likewise.
53535         * soft-fp/unordtf2.c: Likewise.
53537 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
53539         [BZ #15672]
53540         * misc/error.c (error_tail): Fix possible buffer overflow.
53542 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
53544         [BZ #13028]
53545         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
53546         address.
53548 2013-10-14  P. J. McDermott  <pj@pehjota.net>
53550         [BZ #832]
53551         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
53552         testing pipefail option.
53554 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
53556         * soft-fp/double.h: Indent preprocessor directives inside #if.
53557         * soft-fp/extended.h: Likewise.
53558         * soft-fp/op-2.h: Likewise.
53559         * soft-fp/op-4.h: Likewise.
53560         * soft-fp/op-common.h: Likewise.
53561         * soft-fp/quad.h: Likewise.
53562         * soft-fp/single.h: Likewise.
53563         * soft-fp/soft-fp.h: Likewise.
53565 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
53567         * iconv/iconv_prog.c: Fix typos.
53568         * stdio-common/psiginfo-data.h: Likewise.
53570 2013-10-12   Reuben Thomas <rrt@sc3d.org>
53572         [BZ #15764]
53573         * locale/setlocale.c: Fix typo.
53575 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
53577         [BZ #16036]
53578         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
53579         signaling NaN arguments.
53580         * soft-fp/unordsf2.c (__unordsf2): Likewise.
53581         * soft-fp/unordtf2.c (__unordtf2): Likewise.
53583         [BZ #14910]
53584         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
53585         unordered operands.
53586         * soft-fp/gesf2.c (__gesf2): Likewise.
53587         * soft-fp/getf2.c (__getf2): Likewise.
53588         * soft-fp/ledf2.c (__ledf2): Likewise.
53589         * soft-fp/lesf2.c (__lesf2): Likewise.
53590         * soft-fp/letf2.c (__letf2): Likewise.
53592         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
53593         * soft-fp/eqsf2.c (__eqsf2): Likewise.
53594         * soft-fp/eqtf2.c (__eqtf2): Likewise.
53595         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
53596         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
53597         * soft-fp/fixdfti.c (__fixdfti): Likewise.
53598         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
53599         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
53600         * soft-fp/fixsfti.c (__fixsfti): Likewise.
53601         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
53602         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
53603         * soft-fp/fixtfti.c (__fixtfti): Likewise.
53604         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
53605         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
53606         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
53607         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
53608         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
53609         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
53610         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
53611         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
53612         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
53613         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
53614         * soft-fp/floatdisf.c (__floatdisf): Likewise.
53615         * soft-fp/floatsisf.c (__floatsisf): Likewise.
53616         * soft-fp/floattidf.c (__floattidf): Likewise.
53617         * soft-fp/floattisf.c (__floattisf): Likewise.
53618         * soft-fp/floattitf.c (__floattitf): Likewise.
53619         * soft-fp/floatundidf.c (__floatundidf): Likewise.
53620         * soft-fp/floatundisf.c (__floatundisf): Likewise.
53621         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
53622         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
53623         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
53624         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
53625         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
53626         * soft-fp/gesf2.c (__gesf2): Likewise.
53627         * soft-fp/getf2.c (__getf2): Likewise.
53628         * soft-fp/ledf2.c (__ledf2): Likewise.
53629         * soft-fp/lesf2.c (__lesf2): Likewise.
53630         * soft-fp/letf2.c (__letf2): Likewise.
53632         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
53633         Undefine and redefine.
53634         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
53635         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
53636         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
53637         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
53638         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53639         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
53640         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53641         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
53642         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53643         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
53644         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53645         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
53646         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53647         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
53648         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53650         [BZ #16032]
53651         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
53652         without decrementing exponent if mantissa >= that for the
53653         denominator, not >.
53654         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
53655         denominator, not >.  Decrement exponent in < case instead of
53656         incrementing in >= case.
53657         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
53658         without decrementing exponent if mantissa >= that for the
53659         denominator, not >.
53661         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
53662         computing saturated result for unsigned overflow.
53664 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53665             Jeff Law  <law@redhat.com>
53667         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
53668         (atan2Mp): Add systemtap probe marker.
53669         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
53670         (__ieee754_log): Add systemtap probe marker.
53671         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
53672         (atanMp): Add systemtap probe marker.
53673         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
53674         (tanMp): Add systemtap probe marker.
53675         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
53676         (__slowexp): Add systemtap probe marker.
53677         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
53678         (__slowpow): Add systemtap probe marker.
53679         * manual/probes.texi: Document probes.
53681 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
53683         [BZ #15362]
53684         * libio/fileops.c (_IO_new_file_write): Return count of bytes
53685         written.
53686         (_IO_new_file_xsputn): Don't return EOF if nothing has been
53687         written.
53688         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
53689         written to buffer but not flushed.
53690         * libio/iofwrite_u.c:  Likewise.
53691         * libio/iopadn.c:  Return bytes returned even if EOF was
53692         encountered.
53693         * libio/iowpadn.c:  Likewise.
53694         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
53695         if _IO_padn does not write the whole buffer.
53696         [!COMPILE_WPRINTF] (PAD): Likewise.
53698 2013-10-10  David S. Miller  <davem@davemloft.net>
53700         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
53701         directory block.
53703 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
53705         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
53706         instead of FSF address.
53707         * soft-fp/fixdfti.c: Likewise.
53708         * soft-fp/fixsfti.c: Likewise.
53709         * soft-fp/fixtfti.c: Likewise.
53710         * soft-fp/fixunsdfti.c: Likewise.
53711         * soft-fp/fixunssfti.c: Likewise.
53712         * soft-fp/fixunstfti.c: Likewise.
53713         * soft-fp/floattidf.c: Likewise.
53714         * soft-fp/floattisf.c: Likewise.
53715         * soft-fp/floattitf.c: Likewise.
53716         * soft-fp/floatuntidf.c: Likewise.
53717         * soft-fp/floatuntisf.c: Likewise.
53718         * soft-fp/floatuntitf.c: Likewise.
53719         * soft-fp/trunctfxf2.c: Likewise.
53721         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
53722         * soft-fp/fixdfti.c: Likewise.
53723         * soft-fp/fixsfti.c: Likewise.
53724         * soft-fp/fixtfti.c: Likewise.
53725         * soft-fp/fixunsdfti.c: Likewise.
53726         * soft-fp/fixunssfti.c: Likewise.
53727         * soft-fp/fixunstfti.c: Likewise.
53728         * soft-fp/floattidf.c: Likewise.
53729         * soft-fp/floattisf.c: Likewise.
53730         * soft-fp/floattitf.c: Likewise.
53731         * soft-fp/floatuntidf.c: Likewise.
53732         * soft-fp/floatuntisf.c: Likewise.
53733         * soft-fp/floatuntitf.c: Likewise.
53734         * soft-fp/trunctfxf2.c: Likewise.
53736 2013-10-10  David S. Miller  <davem@davemloft.net>
53738         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53740 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
53742         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
53743         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
53744         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
53745         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
53746         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
53747         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
53748         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
53750         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
53751         for NaNs before doing comparisons on argument.
53752         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
53753         Likewise.
53755 2013-10-10  Will Newton  <will.newton@linaro.org>
53757         * malloc/hooks.c (memalign_check): Ensure the value of bytes
53758         passed to _int_memalign does not overflow.
53760 2013-10-10  Torvald Riegel  <triegel@redhat.com>
53762         * scripts/bench.pl: Add include-sources directive.
53763         * benchtests/README: Update documentation.
53765 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
53767         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
53768         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
53769         instead of FP_INIT_ROUNDMODE.
53770         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
53771         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
53773         [BZ #16034]
53774         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
53775         copy class of input value.
53776         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
53777         not handle exceptions.
53778         * soft-fp/negsf2.c (__negsf2): Likewise.
53779         * soft-fp/negtf2.c (__negtf2): Likewise.
53780         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
53782 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
53784         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
53785         semicolon.  From Linux kernel.
53787 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
53789         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
53791 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
53793         [BZ #156]
53794         * manual/socket.texi: Added statement about buffer
53795         for gethostbyname2_r.
53797 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
53799         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
53800         Use .p2align directive instead, throughout.
53801         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
53802         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
53803         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
53804         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53805         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53806         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
53807         * sysdeps/x86_64/strchr.S: Likewise.
53808         * sysdeps/x86_64/strrchr.S: Likewise.
53810 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53812         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
53814         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
53816         * sysdeps/generic/math_private.h (__mpsin1): Remove
53817         declaration.
53818         (__mpcos1): Likewise.
53819         (__mpsin): New argument __range_reduce.
53820         (__mpcos): Likewise.
53821         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53822         (slow): Use __mpsin and __mpcos.
53823         (slow1): Likewise.
53824         (slow2): Likewise.
53825         (sloww): Likewise.
53826         (sloww1): Likewise.
53827         (sloww2): Likewise.
53828         (bsloww): Likewise.
53829         (bsloww1): Likewise.
53830         (bsloww2): Likewise.
53831         (cslow2): Likewise.
53832         (csloww): Likewise.
53833         (csloww1): Likewise.
53834         (csloww2): Likewise.
53835         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
53836         range_reduce.  Merge in __mpsin1.
53837         (__mpcos): Likewise.
53838         (__mpsin1): Remove.
53839         (__mpcos1): Likewise.
53841 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
53843         * locale/loadlocale.c (_nl_intern_locale_data): Use
53844         LOCFILE_ALIGNED_P.
53845         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
53846         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
53847         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
53848         obstack data is appropriately aligned.
53849         (obstack_int32_grow_fast): Likewise.
53850         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
53851         * locale/programs/locfile.c (add_locale_uint32): Likewise.
53852         (add_locale_uint32_array): Likewise.
53854 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53856         * benchtests/Makefile: Remove ARGLIST and RET variables.
53857         ($(objpfx)bench-%.c): Pass only function name to the script.
53858         * benchtests/README: Update documentation.
53859         * benchtests/acos-inputs: Add new directives.
53860         * benchtests/acosh-inputs: Likewise.
53861         * benchtests/asin-inputs: Likewise.
53862         * benchtests/asinh-inputs: Likewise.
53863         * benchtests/atan-inputs: Likewise.
53864         * benchtests/atanh-inputs: Likewise.
53865         * benchtests/cos-inputs: Likewise.
53866         * benchtests/cosh-inputs: Likewise.
53867         * benchtests/exp-inputs: Likewise.
53868         * benchtests/log-inputs: Likewise.
53869         * benchtests/pow-inputs: Likewise.
53870         * benchtests/rint-inputs: Likewise.
53871         * benchtests/sin-inputs: Likewise.
53872         * benchtests/sinh-inputs: Likewise.
53873         * benchtests/tan-inputs: Likewise.
53874         * benchtests/tanh-inputs: Likewise.
53875         * scripts/bench.pl: Add support for new directives.
53877 2013-10-07  Alan Modra  <amodra@gmail.com>
53879         * README: Fix careless merge.
53881 2013-10-05  Alan Modra  <amodra@gmail.com>
53883         * NEWS: Mention powerpc64le support and bugs fixed.
53884         * README: Both big-endian and little-endian powerpc64 supported.
53886 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53888         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
53889         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
53890         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
53891         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
53893 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
53895         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
53896         match prototype.
53898 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
53900         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
53901         Move -mhard-float appending from
53902         ports/sysdeps/powerpc/powerpc32/Makefile.
53903         [$(with-fp) = yes] (ASFLAGS): Likewise.
53904         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
53905         * sysdeps/powerpc/nofpu: Move directory from
53906         ports/sysdeps/powerpc/nofpu.
53907         * sysdeps/powerpc/soft-fp: Move directory from
53908         ports/sysdeps/powerpc/soft-fp.
53909         * sysdeps/powerpc/powerpc32/405: Move directory from
53910         ports/sysdeps/powerpc/powerpc32/405.
53911         * sysdeps/powerpc/powerpc32/440: Move directory from
53912         ports/sysdeps/powerpc/powerpc32/440.
53913         * sysdeps/powerpc/powerpc32/464: Move directory from
53914         ports/sysdeps/powerpc/powerpc32/464.
53915         * sysdeps/powerpc/powerpc32/476: Move directory from
53916         ports/sysdeps/powerpc/powerpc32/476.
53917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
53918         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
53919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
53920         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
53921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
53922         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
53923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
53924         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
53925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
53926         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
53927         * README: Update for powerpc-*-linux-gnu software floating point
53928         support in libc.
53930         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
53931         case to powerpc/powerpc32*.
53932         * sysdeps/unix/sysv/linux/configure: Regenerated.
53934         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
53935         (_FPU_MASK_OM): Define as 0x04.
53936         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
53937         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
53938         0x00c10080.
53939         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
53940         0x0000003c.
53941         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
53943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
53944         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
53945         getcontext_e500.
53946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
53947         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
53948         setcontext_e500.
53949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
53950         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
53951         and setcontext_e500.
53953 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
53955         * locale/iso-3166.def: Update iso-1366.def and related occurrences
53957 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53959         * manual/threads.texi (Default Thread Attributes): Fix typo.
53961 2013-10-04  Will Newton  <will.newton@linaro.org>
53963         * malloc/Makefile: Add tst-memalign.
53964         * malloc/tst-memalign.c: New file.
53966         * malloc/tst-posix_memalign.c: Add comments.
53967         (do_test): Add comments and call free on all potentially
53968         allocated pointers. Add space after cast.
53970         * malloc/tst-pvalloc.c: Add comments.
53971         (do_test): Add comments and call free on all potentially
53972         allocated pointers. Remove duplicate check for NULL pointer.
53973         Add space after cast.
53975         * malloc/tst-valloc.c: Add comments.
53976         (do_test): Add comments and call free on all potentially
53977         allocated pointers. Remove duplicate check for NULL pointer.
53978         Add space after cast.
53980 2013-10-04  Alan Modra  <amodra@gmail.com>
53982         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
53983         Use stdint types in rather than __attribute__((mode())).
53984         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
53986 2013-10-04  Alan Modra  <amodra@gmail.com>
53988         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
53989         Correct handling of unaligned relocs for little-endian.
53990         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
53992 2013-10-04  Alan Modra  <amodra@gmail.com>
53994         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
53995         * configure: Regenerate.
53996         * nptl/shlib-versions: Powerpc*le starts at 2.18.
53997         * shlib-versions: Likewise.
53999 2013-10-04  Alan Modra  <amodra@gmail.com>
54001         * string/tester.c (test_memrchr): Increment reported test cycle.
54003 2013-10-04  Alan Modra  <amodra@gmail.com>
54005         * string/test-memcpy.c (do_one_test): When reporting errors, print
54006         string address and don't overrun end of string.
54008 2013-10-04  Alan Modra  <amodra@gmail.com>
54010         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
54011         insrdi.  Make better use of reg selection to speed exit slightly.
54012         Schedule entry path a little better.  Remove useless "are we done"
54013         checks on entry to main loop.  Handle wrapping around zero address.
54014         Correct main loop count.  Handle single left-over word from main
54015         loop inline rather than by using loop_small.  Remove extra word
54016         case in loop_small caused by wrong loop count.  Add little-endian
54017         support.
54018         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
54019         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
54020         cache hint.
54021         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
54022         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
54023         support.  Avoid rlwimi.
54024         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
54026 2013-10-04  Alan Modra  <amodra@gmail.com>
54028         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
54029         insrdi.  Formatting.
54030         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
54031         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
54032         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
54033         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
54034         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
54035         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
54037 2013-10-04  Alan Modra  <amodra@gmail.com>
54039         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
54040         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54041         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
54042         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
54043         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
54044         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54045         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54046         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
54047         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
54048         use of regs.  Use power7 mtocrf.  Tidy function tails.
54050 2013-10-04  Alan Modra  <amodra@gmail.com>
54052         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
54053         Formatting.  Consistently use rXXX register defines or rN defines.
54054         Use early exit labels that avoid restoring unused non-volatile regs.
54055         Make cr field use more consistent with rWORDn compares.  Rename
54056         regs used as shift registers for unaligned loop, using rN defines
54057         for short lifetime/multiple use regs.
54058         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54059         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
54060         addi 1,1,64 to pop stack frame.  Simplify return value code.
54061         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54063 2013-10-04  Alan Modra  <amodra@gmail.com>
54065         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
54066         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
54067         rather than rlwimi.
54068         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
54069         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
54070         little-endian support.  Correct typos.
54071         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
54072         rather than rlwimi.
54073         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
54074         in loop and entry code to keep "and." results.
54075         (strchr): Add little-endian support.  Comment.  Move cntlzd
54076         earlier in tail.
54077         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
54079 2013-10-04  Alan Modra  <amodra@gmail.com>
54081         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
54082         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
54083         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
54084         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
54086 2013-10-04  Alan Modra  <amodra@gmail.com>
54088         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
54089         (rTMP): Define as r11.
54090         (strcmp): Add little-endian support.  Optimise tail.
54091         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
54092         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54093         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
54094         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54095         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
54096         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54097         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54099 2013-10-04  Alan Modra  <amodra@gmail.com>
54101         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
54102         little-endian support.  Remove unnecessary "are we done" tests.
54103         Handle "s" wrapping around zero and extremely large "size".
54104         Correct main loop count.  Handle single left-over word from main
54105         loop inline rather than by using small_loop.  Correct comments.
54106         Delete "zero" tail, use "end_max" instead.
54107         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
54109 2013-10-04  Alan Modra  <amodra@gmail.com>
54111         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
54112         support.  Don't branch over align.
54113         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
54114         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
54115         support.  Rearrange tmp reg use to suit.  Comment.
54116         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
54118 2013-10-04  Alan Modra  <amodra@gmail.com>
54120         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
54122 2013-10-04  Alan Modra  <amodra@gmail.com>
54124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
54125         conditional form of branch and link when obtaining pc.
54126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
54128 2013-10-04  Alan Modra  <amodra@gmail.com>
54130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
54131         HIWORD/LOWORD.
54132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
54133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
54135 2013-10-04  Alan Modra  <amodra@gmail.com>
54137         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
54138         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
54139         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
54140         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
54141         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
54142         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
54143         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
54144         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
54145         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
54146         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
54148 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54149             Alistair Popple <alistair@ozlabs.au.ibm.com>
54150             Alan Modra <amodra@gmail.com>
54152         [BZ #15723]
54153         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
54154         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
54155         _dl_hwcap access for little-endian.
54156         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
54157         destroy vmx regs when saving unaligned.
54158         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
54159         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
54160         destroy vmx regs when saving unaligned.
54162 2013-10-04  Alan Modra  <amodra@gmail.com>
54164         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
54165         Don't use a union to pack hi/low value.
54167 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54169         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
54170         for little-endian.
54171         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
54172         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
54173         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
54174         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
54175         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
54177 2013-10-04  Alan Modra  <amodra@gmail.com>
54179         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
54180         constants to usual value for .cst8 section, and remove redundant
54181         high address load.
54182         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
54183         constant for 0x1p52.  Load little-endian words of double from
54184         correct stack offsets.
54186 2013-10-04  Alan Modra  <amodra@gmail.com>
54188         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
54189         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
54190         words of double from correct stack offsets.
54191         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
54192         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
54193         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
54194         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
54195         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
54196         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
54197         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
54198         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
54199         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
54200         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
54201         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
54202         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
54203         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
54204         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
54205         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
54206         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
54207         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
54209 2013-10-04  Alan Modra  <amodra@gmail.com>
54211         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
54212         64-bit int/double union.
54213         (_FPU_SETCW): Likewise.
54214         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
54215         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
54217 2013-10-04  Alan Modra  <amodra@gmail.com>
54219         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
54220         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
54222 2013-10-04  Alan Modra  <amodra@gmail.com>
54224         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
54225         use vector int constants.
54226         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
54228 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54230         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
54231         array with long long.
54232         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
54233         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
54234         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
54235         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
54236         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
54237         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
54238         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
54239         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
54240         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
54241         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
54242         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
54243         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
54244         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
54246 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54248         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
54249         (__signbit): Likewise.  Correct for little-endian.
54250         (__signbitl): Call __signbit.
54251         (lrint): Correct for little-endian.
54252         (lrintf): Call lrint.
54254 2013-10-04  Alan Modra  <amodra@gmail.com>
54256         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
54257         union 32-bit int array member with 64-bit int array.
54258         (t515, tm256): Double rather than long double.
54259         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
54261 2013-10-04  Alan Modra  <amodra@gmail.com>
54263         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
54264         Delete.
54265         (IEEE854_LONG_DOUBLE_BIAS): Delete.
54266         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
54267         version of math_ldbl.h.
54269 2013-10-04  Alan Modra  <amodra@gmail.com>
54271         [BZ #15734], [BZ #15735]
54272         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
54273         all uses of ieee875 long double macros and unions.  Simplify test
54274         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
54275         ldbl_extract_mantissa value for ix,iy exponents.  Properly
54276         normalize after ldbl_extract_mantissa, and don't add hidden bit
54277         already handled.  Don't treat low word of ieee854 mantissa like
54278         low word of IBM long double and mask off bit when testing for
54279         zero.
54280         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
54281         all uses of ieee875 long double macros and unions.  Simplify tests
54282         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
54283         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
54284         two1022, instead use their values.  Recognise that tests for large
54285         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
54286         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
54287         Rewrite all uses of ieee875 long double macros and unions.  Simplify
54288         test for 0.0L and nan.  Correct negation.
54289         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
54290         ieee875 long double macros and unions.  Correct output for large
54291         magnitude x.  Correct absolute value calculation.
54292         (__erfcl): Likewise.
54293         * math/libm-test.inc: Add tests for errors discovered in IBM long
54294         double versions of fmodl, remainderl, erfl and erfcl.
54296 2013-10-04  Alan Modra  <amodra@gmail.com>
54298         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
54299         all uses of ieee854 long double macros and unions.  Simplify tests
54300         for long doubles that are fully specified by the high double.
54301         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
54302         Likewise.
54303         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
54304         Remove dead code too.
54305         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
54306         (__ieee754_ynl): Likewise.
54307         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
54308         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
54309         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
54310         Remove dead code too.
54311         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
54312         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
54313         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
54314         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
54315         Simplify.
54316         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
54317         Simplify.
54318         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
54319         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
54320         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
54321         Comment on variable precision.
54322         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
54323         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
54324         Likewise.
54325         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
54326         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
54327         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54328         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
54329         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
54331 2013-10-04  Alan Modra  <amodra@gmail.com>
54333         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
54334         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
54335         all uses of ieee854 long double macros and unions.
54336         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
54337         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
54338         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
54339         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
54340         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
54341         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
54342         Likewise.
54343         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
54344         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
54345         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
54346         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
54347         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
54348         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
54349         Simplify sign and nan test too.
54350         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
54351         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
54352         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
54353         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
54354         Likewise.
54355         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
54356         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
54357         Likewise.
54358         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54359         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
54360         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
54361         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
54362         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
54363         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
54365 2013-10-04  Alan Modra  <amodra@gmail.com>
54367         * stdio-common/printf_size.c (__printf_size): Don't use
54368         union ieee854_long_double in fpnum union.
54369         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
54370         signbit macro to retrieve sign from long double.
54371         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
54372         retrieve sign from long double.
54373         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
54374         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
54375         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
54376         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
54377         * math/test-misc.c (main): Don't use union ieee854_long_double.
54379 2013-10-04  Alan Modra  <amodra@gmail.com>
54381         [BZ #15680]
54382         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
54383         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
54384         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
54385         calculation.  Remove unnecessary test for denormal exponent.
54386         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
54387         Correct handling of denormals.  Avoid undefined shift behaviour.
54388         Correct normalisation of low mantissa when low double is denormal.
54389         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
54390         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
54391         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
54392         Correct normalisation of low mantissa.  Test for overflow of high
54393         mantissa and normalise.
54394         (ldbl_nearbyint): Use more readable constant for two52.
54395         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
54396         (__mpn_construct_long_double): Fix test for overflow of high
54397         mantissa and correct normalisation.  Avoid undefined shift.
54399 2013-10-04  Alan Modra  <amodra@gmail.com>
54401         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
54402         (union ibm_extended_long_double): Define as an array of ieee754_double.
54403         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
54404         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
54405         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
54406         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
54407         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54408         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
54409         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54410         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
54411         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54412         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
54413         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
54415 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
54417         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
54418         page size instead of calling getpagesize.
54420         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
54421         (LOCFILE_ALIGN_MASK): Likewise.
54422         (LOCFILE_ALIGN_UP): Likewise.
54423         (LOCFILE_ALIGNED_P): Likewise.
54424         * locale/programs/ld-collate.c (collate_output): Use the new
54425         macros instead of __alignof__ (int32_t).
54426         * locale/weight.h (findidx): Likewise.
54428 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
54430         [BZ #431]
54431         * manual/string.texi: Fix strncat and wcsncat.
54433 2013-10-03  Brooks Moses  <bmoses@google.com>
54435         [BZ #15915]
54436         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
54437         * Makerules: ...here, and adjust associated comments.
54439 2013-10-02  Will Newton  <will.newton@linaro.org>
54441         * malloc/Makefile: Add tst-pvalloc.
54442         * malloc/tst-pvalloc.c: New file.
54444 2013-10-02  Will Newton  <will.newton@linaro.org>
54446         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
54447         improve test coverage.
54449 2013-10-02  Will Newton  <will.newton@linaro.org>
54451         * malloc/Makefile: Add tst-posix_memalign.
54452         * malloc/tst-posix_memalign.c: New file.
54454 2013-10-01  Eric Blake  <eblake@redhat.com>
54456         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
54457         Use __THROWNL rather than __THROW on static functions.
54459 2013-09-30  Petr Machata  <pmachata@redhat.com>
54461         * elf/elf.h (R_AARCH64_ABS16): New macro.
54462         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
54463         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
54464         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
54465         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
54466         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
54467         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
54468         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
54469         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
54470         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
54471         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
54472         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
54473         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
54474         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
54475         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
54476         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
54477         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
54478         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
54479         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
54480         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
54481         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
54482         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
54483         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
54484         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
54485         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
54486         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
54487         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
54488         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
54489         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
54490         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
54491         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
54492         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
54493         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
54494         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
54495         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
54496         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
54497         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
54498         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
54499         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
54500         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
54501         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
54502         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
54503         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
54504         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
54505         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
54506         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
54507         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
54508         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
54509         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
54510         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
54511         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
54512         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
54513         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
54514         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
54515         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
54516         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
54517         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
54518         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
54519         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
54520         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
54521         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
54522         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
54523         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
54524         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
54525         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
54526         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
54527         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
54528         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
54529         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
54530         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
54531         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
54532         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
54533         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
54534         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
54535         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
54536         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
54537         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
54538         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
54539         (R_AARCH64_TLSDESC_LDR): Likewise.
54540         (R_AARCH64_TLSDESC_ADD): Likewise.
54541         (R_AARCH64_TLSDESC_CALL): Likewise.
54543 2013-09-30  Andreas Schwab  <schwab@suse.de>
54545         [BZ #15048]
54546         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
54547         the nss database lookup.
54548         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54549         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54551 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
54553         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
54555 2013-09-28  P. J. McDermott  <pj@pehjota.net>
54557         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
54558         ${Bash-specific parameter/pattern/string} parameter expansion.
54559         * sysdeps/unix/make-syscalls.sh: Likewise.
54561 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54563         * sysdeps/sh/stackguard-macros.h: New file.
54565 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
54567         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
54568         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
54569         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
54570         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
54571         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54572         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
54574 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54576         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
54577         Fix thread ID register.
54579 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
54581         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
54582         [POSIX || UNIX98]: Require rather than permitting all symbols from
54583         <time.h>.
54584         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
54585         element of struct sched_param.
54586         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
54587         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
54588         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
54589         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
54590         constant.
54592 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
54594         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
54595         argument calculation.
54597 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
54599         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
54600         Expect macro.
54601         [POSIX] (pthread_attr_t): Do not require type.
54602         [POSIX] (pthread_cond_t): Likewise.
54603         [POSIX] (pthread_condattr_t): Likewise.
54604         [POSIX] (pthread_key_t): Likewise.
54605         [POSIX] (pthread_mutex_t): Likewise.
54606         [POSIX] (pthread_mutexattr_t): Likewise.
54607         [POSIX] (pthread_once_t): Likewise.
54608         [POSIX] (pthread_t): Likewise.
54609         [POSIX-based standards] (pthread_atfork): Expect function.
54611 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
54612             Richard Sandiford  <richard@codesourcery.com>
54614         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
54615         (swap_endianness_p): New extern variable.
54616         (set_big_endian): New inline function.
54617         (maybe_swap_uint32): Likewise.
54618         (maybe_swap_uint32_array): Likewise.
54619         (maybe_swap_uint32_obstack): Likewise.
54620         * locale/programs/locfile.c: Include <stdbool.h>.
54621         (swap_endianness_p): New variable.
54622         (add_locale_uint32): Call maybe_swap_uint32.
54623         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
54624         (write_locale_data): Call maybe_swap_uint32_array.
54625         * locale/programs/ld-collate.c (obstack_int32_grow): Call
54626         maybe_swap_uint32.
54627         (obstack_int32_grow_fast): Likewise.
54628         (output_weightwc): Call maybe_swap_uint32_obstack.
54629         (collate_output): Likewise.
54630         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
54631         (OPT_LITTLE_ENDIAN): Likewise.
54632         (options): Add --little-endian and --big-endian options.
54633         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
54634         * locale/programs/locarchive.c: Include "locfile.h".
54635         (GET): New macro.
54636         (SET): Likewise.
54637         (INC): Likewise.
54638         (create_archive): Use the new macros to access fields of
54639         structures directly mapped from or written to locale archives.
54640         (oldlocrecentcmp): Likewise.
54641         (enlarge_archive): Likewise.
54642         (insert_name): Likewise.
54643         (add_alias): Likewise.
54644         (add_locale): Likewise.
54645         (delete_locales_from_archive): Likewise.
54646         (show_archive_content): Likewise.
54647         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
54648         locale data.
54650 2013-09-24  Roland McGrath  <roland@hack.frob.com>
54652         * manual/freemanuals.texi: Updated from (newly) canonical copy at
54653         http://www.gnu.org/doc/freemanuals.texi.
54654         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
54656 2013-09-24  Will Newton  <will.newton@linaro.org>
54658         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
54659         macro.
54661 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
54663         * locale/hashval.h (compute_hashval): Interpret bytes of key as
54664         unsigned char.
54666 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
54668         * manual/threads.texi (POSIX Threads): Fix a typo.
54670 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
54672         [BZ #14547]
54673         * string/tst-strcoll-overflow.c: New test case.
54674         * string/Makefile (xtests): Add tst-strcoll-overflow.
54675         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
54676         cache if string sizes may cause integer overflow.
54678         [BZ #14547]
54679         * string/strcoll_l.c (coll_seq): New members rule, idx,
54680         save_idx and back_us.
54681         (get_next_seq_nocache): New function.
54682         (do_compare_nocache): New function.
54683         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
54684         when malloc fails.
54686 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
54688         [BZ #15754]
54689         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
54690         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
54691         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
54693         [BZ #15754]
54694         * elf/Makefile (tests): Add tst-ptrguard1.
54695         (tests-static): Add tst-ptrguard1-static.
54696         (tst-ptrguard1-ARGS): Define.
54697         (tst-ptrguard1-static-ARGS): Define.
54698         * elf/tst-ptrguard1.c: New file.
54699         * elf/tst-ptrguard1-static.c: New file.
54700         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
54701         * sysdeps/i386/stackguard-macros.h: Likewise.
54702         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
54703         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
54704         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
54705         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
54706         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
54707         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
54709 2013-09-23  Hector Marco  <hecmargi@upv.es>
54710             Ismael Ripoll  <iripoll@disca.upv.es>
54711             Carlos O'Donell  <carlos@redhat.com>
54713         [BZ #15754]
54714         * sysdeps/generic/stackguard-macros.h: Define
54715         __pointer_chk_guard_local and POINTER_CHK_GUARD.
54716         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
54717         Define __pointer_chk_guard_local.
54718         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
54719         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
54721 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
54723         [BZ #15859]
54724         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
54726 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
54728         * include/string.h (__ffs): Declare as hidden.
54729         * string/ffs.c (__ffs): Define as hidden.
54730         * sysdeps/i386/ffs.c (__ffs): Likewise.
54731         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
54732         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
54733         * sysdeps/s390/ffs.c (__ffs): Likewise.
54734         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
54736 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
54738         * NEWS: Mention malloc probes.
54740         * malloc/arena.c (new_heap): New memory_heap_new probe.
54741         (grow_heap): New memory_heap_more probe.
54742         (shrink_heap): New memory_heap_less probe.
54743         (heap_trim): New memory_heap_free probe.
54744         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
54745         (systrim): New memory_sbrk_less probe.
54746         * manual/probes.texi: Document them.
54748         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
54749         * manual/probes.texi: Document it.
54751         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
54752         (__libc_realloc): Add memory_realloc_retry probe.
54753         (__libc_memalign): Add memory_memalign_retry probe.
54754         (__libc_valloc): Add memory_valloc_retry probe.
54755         (__libc_pvalloc): Add memory_pvalloc_retry probe.
54756         (__libc_calloc): Add memory_calloc_retry probe.
54757         * manual/probes.texi: Document them.
54759         * malloc/arena.c (get_free_list): Add probe
54760         memory_arena_reuse_free_list.
54761         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
54762         and memory_arena_reuse.
54763         (arena_get2) [!PER_THREAD]: Likewise.
54764         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
54765         memory_arena_reuse_realloc.
54766         * manual/probes.texi: Document them.
54768         * malloc/malloc.c (__libc_free): Add
54769         memory_mallopt_free_dyn_thresholds probe.
54770         (__libc_mallopt): Add multiple memory_mallopt probes.
54771         * manual/probes.texi: Document them.
54773         * malloc/malloc.c: Include stap-probe.h.
54774         (__libc_mallopt): Add memory_mallopt probe.
54775         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
54776         * manual/probes.texi: New.
54777         * manual/Makefile (chapters): Add probes.
54778         * manual/threads.texi: Set next node.
54780 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
54782         [BZ #15963, #13985]
54783         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
54784         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
54785         Add `Chinese' to `nan' entry name.
54787 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54789         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
54790         (POLYNOMIAL): Likewise.
54791         (TAYLOR_SINCOS): Likewise.
54792         (TAYLOR_SLOW): Likewise.
54793         (__sin): Use TAYLOR_SINCOS.
54794         (__cos): Likewise.
54795         (slow): Use TAYLOR_SLOW.
54796         (sloww): Likewise.
54797         (bsloww): Likewise.
54798         (csloww): Likewise.
54800 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54802         * stdlib/strtod_l.c: Fix buffer overrun.
54804 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54806         * benchtests/Makefile (bench): Add sincos.
54807         * benchtests/bench-sincos.c: New file.
54809         * math/libm-test.inc (cos_test_data): New test inputs.
54810         (sin_test_data): Likewise.
54812         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
54813         macro.
54814         (__sin): Use it.
54815         (__cos): Likewise.
54816         (slow1): Likewise.
54817         (slow2): Likewise.
54818         (sloww1): Likewise.
54819         (sloww2): Likewise.
54820         (bsloww1): Likewise.
54821         (bsloww2): Likewise.
54822         (cslow2): Likewise.
54823         (csloww1): Likewise.
54824         (csloww2): Likewise.
54826         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
54827         function.
54828         (__sin): Use it.
54829         (__cos): Likewise.
54831         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
54832         gotos.
54833         (__cos): Likewise.
54835 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
54837         * config.h.in (HAVE_MIPS_NAN2008): New macro.
54838         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
54839         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
54840         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
54841         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
54842         * elf/cache.c (print_entry): Handle the new cache flags.
54844 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
54845             Aldy Hernandez  <aldyh@redhat.com>
54847         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
54848         Change condition to [_SOFT_FLOAT].
54849         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
54850         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
54851         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
54852         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
54853         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
54854         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
54855         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
54856         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
54857         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
54858         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
54859         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
54860         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
54861         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
54862         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
54863         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
54864         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
54865         declaration.
54867 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
54869         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
54870         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
54871         (__longjmp): Use LOAD_GP to load saved GPRs.
54872         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
54873         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
54874         (__sigsetjmp): Use SAVE_GP to save GPRs.
54876         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
54877         Do not append -msoft-float.
54878         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
54880 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54882         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
54884 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
54886         [BZ #15966]
54887         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
54888         (_FPU_GETCW): Use initial "__" on variable and field names but not
54889         on macro parameter name.
54890         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
54891         parentheses around reference to macro parameter.
54893 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
54895         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
54896         prototype.
54897         (ctype_startup): Use uint32_t in cast and sizeof for
54898         ctype->charnames.
54900 2013-09-11  Jia Liu  <proljc@gmail.com>
54902         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
54903         __daddr_t_defined.
54904         [__FreeBSD__]: Likewise.
54906 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
54908         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
54909         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
54910         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
54911         (strchr): Remove __strchr_sse42 ifunc selection.
54912         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
54913         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
54915 2013-09-11  Will Newton  <will.newton@linaro.org>
54917         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
54918         parameter to RES. Remove hardcoded 1000 value.
54919         * benchtests/bench-skeleton.c (main): Pass RES parameter
54920         to TIMING_INIT and multiply result by 1000.
54922 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54924         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54926 2013-09-11  Andreas Schwab  <schwab@suse.de>
54928         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
54929         if not defined.
54930         (O_TMPFILE) [__USE_GNU]: Define.
54931         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
54932         Define.
54934 2013-09-11  Will Newton  <will.newton@linaro.org>
54936         [BZ #15857]
54937         * malloc/malloc.c (__libc_memalign): Check the value of bytes
54938         does not overflow.
54940 2013-09-11  Will Newton  <will.newton@linaro.org>
54942         [BZ #15856]
54943         * malloc/malloc.c (__libc_valloc): Check the value of bytes
54944         does not overflow.
54946 2013-09-11  Will Newton  <will.newton@linaro.org>
54948         [BZ #15855]
54949         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
54950         does not overflow.
54952 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
54954         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
54955         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54956         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54957         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54958         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54960 2013-09-10  Allan McRae  <allan@archlinux.org>
54962         [BZ #15748]
54963         * manual/arith.texi (Parsing of Floats): Clarify
54964         cross-reference.
54966         [BZ #15849]
54967         * manual/install.texi (Running make install): Mention
54968         --enable-pt-chown.
54969         * INSTALL: Regenerated.
54971 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
54973         * csu/init-first.c (_init): Remove the !SHARED condition around
54974         FPU control word initialization.
54975         * elf/dl-support.c (_dl_fpu_control): New variable.
54976         (_dl_aux_init) <AT_FPUCW>: Initialize it.
54977         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
54978         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
54979         * math/test-fpucw-static.c: New file.
54980         * math/test-fpucw-ieee.c: New file.
54981         * math/test-fpucw-ieee-static.c: New file.
54982         * math/Makefile (tests): Add `test-fpucw-ieee' and
54983         `$(tests-static)'.
54984         (tests-static): New variable.
54985         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
54986         dependency to...
54987         [($(build-shared),yes)]
54988         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
54989         ... this.
54990         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
54991         New dependency.
54993 2013-09-09  Allan McRae  <allan@archlinux.org>
54995         [BZ #15939]
54996         * manual/string.texi (Collation Functions): Fix typo in
54997         strcoll example.
54998         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
55000         [BZ #15893]
55001         * stdlib/isomac.c (get_null_defines): Fix memory leak.
55003         [BZ #15892]
55004         * libio/memstream.c (open_memstream): Fix memory leak.
55005         * libio/wmemstream.c (open_wmemstream): Likewise.
55007         [BZ #15895]
55008         * nscd/netgroupcache.c: Fix nesting of ifdefs.
55010 2013-09-09  Will Newton  <will.newton@linaro.org>
55012         * malloc/Makefile: Add tst-realloc to tests.
55013         * malloc/tst-realloc.c: New file.
55015 2013-09-09  Allan McRae  <allan@archlinux.org>
55017         [BZ #15844]
55018         * COPYING: Update from GNU website to fix FSF address.
55019         * COPYING.LIB: Likewise.
55021 2013-09-06  David S. Miller  <davem@davemloft.net>
55023         * po/zh_TW.po: Update Chinese (traditional) translation from
55024         translation project.
55026 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
55027             Joseph Myers  <joseph@codesourcery.com>
55029         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
55030         "localeinfo.h".
55031         (obstack_chunk_alloc): New macro.
55032         (obstack_chunk_free): Likewise.
55033         (record_offset): New function.
55034         (init_locale_data): Likewise.
55035         (align_locale_data): Likewise.
55036         (add_locale_empty): Likewise.
55037         (add_locale_raw_data): Likewise.
55038         (add_locale_raw_obstack): Likewise.
55039         (add_locale_string): Likewise.
55040         (add_locale_wstring): Likewise.
55041         (add_locale_uint32): Likewise.
55042         (add_locale_uint32_array): Likewise.
55043         (add_locale_char): Likewise.
55044         (start_locale_structure): Likewise.
55045         (end_locale_structure): Likewise.
55046         (start_locale_prelude): Likewise.
55047         (end_locale_prelude): Likewise.
55048         (write_locale_data): Take locale_file structure rather than an
55049         iovec.
55050         * locale/programs/locfile.h: Include "obstack.h".
55051         (struct locale_file): Change to store locale file contents instead
55052         of header.
55053         (init_locale_data): New prototype.
55054         (align_locale_data): Likewise.
55055         (add_locale_empty): Likewise.
55056         (add_locale_raw_data): Likewise.
55057         (add_locale_raw_obstack): Likewise.
55058         (add_locale_string): Likewise.
55059         (add_locale_wstring): Likewise.
55060         (add_locale_uint32): Likewise.
55061         (add_locale_uint32_array): Likewise.
55062         (add_locale_char): Likewise.
55063         (start_locale_structure): Likewise.
55064         (end_locale_structure): Likewise.
55065         (start_locale_prelude): Likewise.
55066         (end_locale_prelude): Likewise.
55067         (write_locale_data): Update prototype.
55068         * locale/programs/3level.h (struct TABLE): Remove result field.
55069         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
55070         Use new locale_file interface.
55071         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
55072         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
55073         * locale/programs/ld-address.c (address_output): Use new
55074         locale_file interface.
55075         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
55076         NO_ADD_LOCALE.
55077         (collate_finish): Don't call collseq_table_finalize.
55078         (collate_output): Use new locale_file interface.
55079         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
55080         in file.
55081         (NO_FINALIZE): Change to NO_ADD_LOCALE.
55082         (TABLE): Move defines earlier in file.
55083         (ELEMENT): Likewise.
55084         (DEFAULT): Likewise.
55085         (wctrans_table_add): Move macro and inline function earlier in
55086         file.
55087         (struct wctype_table): Move type earlier in file.
55088         (add_locale_wctype_table): New static prototype.
55089         (struct locale_ctype_t): Use logical types instead of struct iovec
55090         pointers for members.
55091         (ctype_output): Use new locale_file interface.
55092         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
55093         new locale_file interface.
55094         (allocate_arrays): Update for use of new locale_file interface.
55095         * locale/programs/ld-identification.c (identification_output): Use
55096         new locale_file interface.
55097         * locale/programs/ld-measurement.c (measurement_output): Likewise.
55098         * locale/programs/ld-messages.c (messages_output): Likewise.
55099         * locale/programs/ld-monetary.c (monetary_output): Likewise.
55100         * locale/programs/ld-name.c (name_output): Likewise.
55101         * locale/programs/ld-numeric.c (numeric_output): Likewise.
55102         * locale/programs/ld-paper.c (paper_output): Likewise.
55103         * locale/programs/ld-telephone.c (telephone_output): Likewise.
55104         * locale/programs/ld-time.c (time_output): Likewise.
55106 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55108         * benchtests/Makefile: Add memrchr benchmark.
55109         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
55110         benchmark as memrchr.
55111         * benchtests/bench-memrchr-ifunc.c: New file.
55112         * benchtests/bench-memrchr.c: New file.
55114 2013-09-06   Will Newton  <will.newton@linaro.org>
55116         * benchtests/Makefile (string-bench): Add memcpy.
55118 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
55119             Cong Wang  <amwang@redhat.com>
55121         [BZ #15850]
55122         * sysdeps/unix/sysv/linux/bits/in.h
55123         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
55124         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
55125         before __USE_KERNEL_IPV6_DEFS uses.
55126         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
55127         IPPROTO_BEETPH.
55128         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
55129         sockaddr_in6, or ipv6_mreq.
55131 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55133         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
55134         memory access for final bytes in some large inputs.
55135         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
55137 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55139         * string/test-memrchr.c: New file.
55140         * string/test-memrchr-ifunc.c: New file.
55141         * string/Makefile: Add new memrchr testcase.
55143 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
55145         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
55146         fanotify_init returns EPERM.
55148 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
55150         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
55151         errors.
55152         (top level): Treat second token from macro or constant entries for
55153         allowed headers as allowed.
55154         * include/complex.h: Condition internal declarations on
55155         [!_ISOMAC].
55156         * include/fenv.h: Condition include of <stdbool.h> and internal
55157         declarations on [!_ISOMAC].
55159 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
55161         [BZ #15923]
55162         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
55164 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
55166         * configure.in (--enable-versioning): Remove configure option.
55167         (libc_cv_asm_symver_directive): Remove configure test.
55168         (libc_cv_ld_version_script_option): Likewise.
55169         (VERSIONING): Remove variable and AC_SUBST.
55170         (DO_VERSIONING): Remove AC_DEFINE.
55171         * configure: Regenerated.
55172         * config.h.in (DO_VERSIONING): Remove macro.
55173         * Makerules [$(versioning) = yes]: Change conditionals to
55174         [$(build-shared) = yes].
55175         * config.make.in (versioning): Remove variable.
55176         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
55177         [$(build-shared) = yes].
55178         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
55179         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
55180         * elf/Makefile [$(versioning) = yes]: Change conditionals to
55181         [$(build-shared) = yes].
55182         * extra-lib.mk [$(versioning) = yes]: Likewise.
55183         * hurd/Makefile [$(versioning) = yes]: Likewise.
55184         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
55185         [SHARED].
55186         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
55187         [SHARED].
55188         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
55189         [SHARED && !NO_HIDDEN].
55190         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
55191         [SHARED].
55192         [SHARED && DO_VERSIONING]: Likewise..
55193         * libio/Makefile [$(versioning) = yes]: Change conditionals to
55194         [$(build-shared) = yes].
55195         * manual/install.texi (--disable-versioning): Remove
55196         documentation.
55197         * INSTALL: Regenerated.
55198         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
55199         to [SHARED].
55200         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
55201         [$(build-shared) = yes].
55202         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
55203         * sysdeps/i386/i686/multiarch/strstr-c.c
55204         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
55205         [SHARED && !NO_HIDDEN].
55206         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
55207         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
55208         * sysdeps/powerpc/powerpc32/dl-machine.c
55209         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
55210         * sysdeps/powerpc/powerpc32/sysdep.h
55211         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
55212         to [SHARED && PIC && !NO_HIDDEN].
55213         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
55214         conditional to [SHARED].
55216 2013-09-04   Will Newton  <will.newton@linaro.org>
55218         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
55219         * benchtests/bench-string.h: Include bench-timing.h instead
55220         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
55221         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
55222         call to HP_TIMING_DIFF_INIT.
55223         * benchtests/bench-memccpy.c: Use bench-timing.h macros
55224         instead of hp-timing.h macros.
55225         * benchtests/bench-memchr.c: Likewise.
55226         * benchtests/bench-memcmp.c: Likewise.
55227         * benchtests/bench-memcpy.c: Likewise.
55228         * benchtests/bench-memmem.c: Likewise.
55229         * benchtests/bench-memmove.c: Likewise.
55230         * benchtests/bench-memset.c: Likewise.
55231         * benchtests/bench-rawmemchr.c: Likewise.
55232         * benchtests/bench-strcasecmp.c: Likewise.
55233         * benchtests/bench-strcasestr.c: Likewise.
55234         * benchtests/bench-strcat.c: Likewise.
55235         * benchtests/bench-strchr.c: Likewise.
55236         * benchtests/bench-strcmp.c: Likewise.
55237         * benchtests/bench-strcpy.c: Likewise.
55238         * benchtests/bench-strcpy_chk.c: Likewise.
55239         * benchtests/bench-strlen.c: Likewise.
55240         * benchtests/bench-strncasecmp.c: Likewise.
55241         * benchtests/bench-strncat.c: Likewise.
55242         * benchtests/bench-strncmp.c: Likewise.
55243         * benchtests/bench-strncpy.c: Likewise.
55244         * benchtests/bench-strnlen.c: Likewise.
55245         * benchtests/bench-strpbrk.c: Likewise.
55246         * benchtests/bench-strrchr.c: Likewise.
55247         * benchtests/bench-strspn.c: Likewise.
55248         * benchtests/bench-strstr.c: Likewise.
55250 2013-09-04  Will Newton  <will.newton@linaro.org>
55252         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
55254 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
55256         [BZ #15427]
55257         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
55258         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
55259         * math/libm-test.inc (lgamma_test_data): Add more tests.
55260         * sysdeps/i386/fpu/libm-test-ulps: Update.
55261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55263 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
55265         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
55266         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
55267         Add ifunc.
55268         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55269         Add strcmp-sse2-unaligned
55270         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
55272 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
55274         * Versions.def (libc): Add GLIBC_2.19.
55276 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
55278         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
55279         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
55281 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
55283         [BZ #14155]
55284         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
55285         intermediate calculations in recurrence.
55286         (__ieee754_ynf): Likewise.
55287         * math/libm-test.inc (jn_test_data): Do not allow spurious
55288         underflow exception.  Add more tests.
55289         (yn_test_data): Add more tests.
55290         * sysdeps/i386/fpu/libm-test-ulps: Update.
55291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55293 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
55295         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
55297 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
55299         * csu/init-first.c: Fix then/than typos.
55300         * locale/programs/ld-collate.c: Likewise.
55301         * locale/programs/linereader.h: Likewise.
55302         * manual/charset.texi: Likewise.
55303         * manual/filesys.texi: Likewise.
55304         * manual/stdio.texi: Likewise.
55305         * manual/string.texi: Likewise.
55306         * stdlib/fmtmsg.c: Likewise.
55307         * sysdeps/i386/stpncpy.S: Likewise.
55308         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55309         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
55310         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55311         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
55313 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
55315         * elf/dl-open.c: Fix typos.
55316         * iconvdata/gbbig5.c: Likewise.
55317         * iconvdata/iso-2022-jp.c: Likewise.
55318         * iconv/gconv_int.h: Likewise.
55319         * iconv/loop.c: Likewise.
55320         * nis/rpcsvc/nis.h: Likewise.
55321         * resolv/ns_name.c: Likewise.
55322         * stdio-common/vfscanf.c: Likewise.
55323         * streams/stropts.h: Likewise.
55324         * sunrpc/rpc_thread.c: Likewise.
55325         * sysdeps/i386/strpbrk.S: Likewise.
55326         * sysdeps/ieee754/k_standard.c: Likewise.
55327         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55328         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55329         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
55330         * sysdeps/mach/hurd/profil.c: Likewise.
55331         * sysdeps/s390/dl-procinfo.h: Likewise.
55332         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
55333         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
55334         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
55335         * sysdeps/x86_64/dl-trampoline.S: Likewise.
55336         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55338 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
55340         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
55341         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
55343 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
55345         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
55346         aix specific files.
55347         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
55348         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
55349         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
55350         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
55351         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
55352         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
55353         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
55354         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
55356 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
55357             Roland McGrath  <roland@hack.frob.com>
55359         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
55360         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
55362 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55364         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
55365         __executable_start symbol instead of _start.
55367 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
55369         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
55370         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
55371         Move macros to...
55372         * sysdeps/gnu/ldsodefs.h: ... this new file.
55374         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
55375         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
55376         instead of ELFOSABI_LINUX.
55378         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
55379         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
55380         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
55381         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
55382         Likewise.
55383         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
55384         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
55385         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
55386         Likewise.
55387         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
55388         (ibm_extended_long_double): Add ieee_nan member.
55389         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
55390         (do_test): New function.
55392         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
55393         TEST_TRUNC.
55394         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
55395         functions, renamed from truncdfsf_test, trunctfsf_test,
55396         trunctfdf_test.
55397         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
55398         functions.
55399         (do_test): Run all these.
55401 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
55403         * argp/argp-help.c: Fix typos.
55404         * argp/argp-parse.c: Likewise.
55405         * debug/backtracesyms.c: Likewise.
55406         * elf/elf.h: Likewise.
55407         * malloc/malloc.c: Likewise.
55408         * nis/nis_print.c: Likewise.
55409         * resolv/res_comp.c: Likewise.
55410         * stdlib/stdlib.h: Likewise.
55411         * sunrpc/clnt_tcp.c: Likewise.
55412         * sunrpc/clnt_udp.c: Likewise.
55413         * sunrpc/clnt_unix.c: Likewise.
55414         * sysdeps/unix/bsd/ptsname.c: Likewise.
55415         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
55416         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
55417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
55418         Likewise.
55419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
55420         Likewise.
55421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
55422         Likewise.
55423         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
55425 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55427         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
55428         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55430 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
55432         [BZ #15897]
55433         * dlfcn/Makefile (tests): Add bug-dl-leaf.
55434         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
55435         ($(objpfx)bug-dl-leaf): New rule.
55436         ($(objpfx)bug-dl-leaf.so): Likewise.
55437         ($(objpfx)bug-dl-leaf.out): Likewise.
55438         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
55439         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
55440         * dlfcn/bug-dl-leaf.c: New test.
55441         * dlfcn/bug-dl-leaf-lib.c: Likewise.
55442         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
55443         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
55444         (dlclose): Likewise.
55445         (dlmopen): Likewise.
55447 2013-08-27  Roland McGrath  <roland@hack.frob.com>
55449         * include/netdb.h [!_ISOMAC]:
55450         Don't include <tls.h>.
55451         (h_errno, __libc_h_errno): Move declaration and macros out of
55452         [_LIBC_REENTRANT].
55454         * include/resolv.h [_RESOLV_H_]:
55455         Don't include <tls.h>.
55456         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
55457         * resolv/res_libc.c: Don't include <tls.h>.
55458         (_res): Use __attribute__ ((nocommon)) in place of
55459         __attribute__ ((section (".bss"))).
55461         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
55462         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
55464         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
55466         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
55467         only under [SIOCGIFCONF && SIOCGIFNETMASK].
55469         * resolv/res_mkquery.c: Include <sys/time.h>.
55471         * inet/ifreq.c: Moved to ...
55472         * sysdeps/unix/ifreq.c: ... here.
55473         * inet/ifreq.c: New file, true stub version.
55475         * socket/sa_len.c: New file.
55476         * socket/Makefile (aux): Add it.
55477         * sysdeps/unix/sysv/linux/Makefile
55478         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
55479         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
55480         and #include <socket/sa_len.c>.
55481         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
55482         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
55484         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
55485         * bits/socket.h: ... here.
55487         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
55488         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
55489         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
55491 2013-08-27  Andreas Schwab  <schwab@suse.de>
55493         [BZ #15736]
55494         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
55495         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
55496         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
55497         * string/test-strcasecmp.c (test_main): Run tests in several
55498         locales.
55499         * string/test-strncasecmp.c (test_main): Likewise.
55501         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
55502         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
55503         to __strcasecmp_nonascii and __strncasecmp_nonascii.
55504         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
55505         (__strncasecmp_ssse3) [PIC]: Likewise.
55507 2013-08-26  Roland McGrath  <roland@hack.frob.com>
55509         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
55511         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
55512         instead of explicitly declaring xdecrypt.
55513         * nis/nss_nis/nis-publickey.c: Likewise.
55515 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55517         [BZ #15890]
55518         * nscd/aicache.c: Include res_hconf.h.
55519         (addhstaiX): Initialize res_hconf.
55521 2013-08-26  Andreas Schwab  <schwab@suse.de>
55523         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
55524         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
55526 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55528         * nscd/aicache.c (addhstaiX): Fix indentation.
55530 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
55532         * configure.ac: Quote $build_pt_chown test.
55533         * configure: Regenerated.
55535 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
55537         [BZ #15532]
55538         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
55539         * math/s_cexpf.c (__cexpf): Likewise.
55540         * math/s_cexpl.c (__cexpl): Likewise.
55541         * math/libm-test.inc (cexp_test_data): Correct expected return
55542         value for NaN + i0.  Add another test.
55544 2013-08-22  David S. Miller  <davem@davemloft.net>
55546         * po/ca.po: Update Catalan translation from translation project.
55547         * po/uk.po: Add Ukrainian translations from translation project.
55549 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
55551         [BZ #15797]
55552         * math/s_fdim.c (__fdim): Check for infinite arguments if result
55553         is infinite, not alongside NaN test.
55554         * math/s_fdimf.c (__fdimf): Likewise.
55555         * math/s_fdiml.c (__fdiml): Likewise.
55556         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
55557         errno is unchanged.
55559 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
55561         * argp/argp-help.c: Fix typos.
55562         * crypt/speeds.c: Likewise.
55563         * csu/check_fds.c: Likewise.
55564         * elf/dl-load.c: Likewise.
55565         * elf/dl-open.c: Likewise.
55566         * elf/reldep3.c: Likewise.
55567         * elf/reldep.c: Likewise.
55568         * elf/sprof.c: Likewise.
55569         * iconv/iconv_charmap.c: Likewise.
55570         * iconv/skeleton.c: Likewise.
55571         * iconv/strtab.c: Likewise.
55572         * io/lockf64.c: Likewise.
55573         * libio/libioP.h: Likewise.
55574         * resolv/gai_notify.c: Likewise.
55575         * resolv/ns_name.c: Likewise.
55576         * resolv/ns_samedomain.c: Likewise.
55577         * resolv/res_send.c: Likewise.
55578         * stdlib/random.c: Likewise.
55579         * sunrpc/rpc/xdr.h: Likewise.
55580         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
55581         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
55582         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
55583         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
55584         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
55585         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
55586         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
55587         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
55588         * sysdeps/mach/hurd/check_fds.c: Likewise.
55589         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
55590         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
55591         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55592         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
55593         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
55594         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
55595         * sysdeps/pthread/aio_notify.c: Likewise.
55596         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
55597         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
55598         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
55599         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
55600         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
55602 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55604         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
55605         version if bit_Slow_SSE4_2 is set.
55606         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55607         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55609 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55611         [BZ #15867]
55612         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
55613         trampoline stack frame information.
55614         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
55615         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
55616         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
55617         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
55618         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
55619         * sysdeps/unix/sysv/linux/powerpc/init-first.c
55620         (_libc_vdso_platform_setup): Initialize the signal trampolines.
55621         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
55622         sa_flags value.
55623         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
55624         interrupting a syscall and set with option SA_SIGINFO.
55626 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
55628         [BZ #15531]
55629         * math/s_cproj.c (__cproj): Only return an infinity if one part of
55630         argument is infinite.
55631         * math/s_cprojf.c (__cprojf): Likewise.
55632         * math/s_cprojl.c (__cprojl): Likewise.
55633         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
55634         * math/libm-test.inc (cproj_test_data): Add more tests.
55636         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
55638         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
55639         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
55640         size.  Use __ffs to determine corresponding shift.
55642 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
55643             Roland McGrath  <roland@hack.frob.com>
55645         * Makefile (INSTALL): Remove trailing blank lines from output of
55646         makeinfo.
55648 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55650         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
55651         Align 32 bit compat elf_greg to 8 bytes.
55653 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
55655         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
55657 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55659         * string/strcoll_l.c (coll_seq): New structure.
55660         (get_next_seq_cached): New function.
55661         (get_next_seq): New function.
55662         (do_compare): New function.
55663         (STRCOLL): Use GNU style definition.  Simplify implementation
55664         by using get_next_seq, get_next_seq_cached and do_compare.
55666 2013-08-16  Florian Weimer  <fweimer@redhat.com>
55668         [BZ #14699]
55669         CVE-2013-4237
55670         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
55671         member.
55672         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
55673         member.
55674         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
55675         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
55676         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
55677         conditional.
55678         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
55679         GETDENTS_64BIT_ALIGNED.
55680         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
55681         * manual/filesys.texi (Reading/Closing Directory): Document
55682         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
55683         strongly.
55684         * manual/conf.texi (Limits for Files): Add portability note to
55685         NAME_MAX, PATH_MAX.
55686         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
55688 2013-08-13  Andreas Schwab  <schwab@suse.de>
55690         [BZ #15749]
55691         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
55692         of fabs.
55693         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
55694         LDBL_MAX_EXP >= 16384]: Add tests for it.
55696 2013-08-12  David S. Miller  <davem@davemloft.net>
55698         * version.h (RELEASE): Set to "development".
55699         (VERSION): Set to "2.18.90".
55700         * NEWS: Add 2.19 section.
55702 2013-08-03  David S. Miller  <davem@davemloft.net>
55704         * po/ko.po: Update Korean translation from translation project.
55706 2013-08-01  David S. Miller  <davem@davemloft.net>
55708         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
55709         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
55710         Bilka.
55712 2013-07-30  David S. Miller  <davem@davemloft.net>
55714         * po/fr.po: Update French translation from translation project.
55716 2013-07-28  David S. Miller  <davem@davemloft.net>
55718         * po/cs.po: Update Czech translation from translation project.
55720         * po/sv.po: Update Swedish translation from translation project.
55722 2013-07-27  David S. Miller  <davem@davemloft.net>
55724         * po/eo.po: Update Esperanto translation from translation project.
55726         * po/vi.po: Update Vietnamese translation from translation project.
55728         * po/de.po: Update German translation from translation project.
55730 2013-07-26  David S. Miller  <davem@davemloft.net>
55732         * po/bg.po: Update Bulgarian translation from translation project.
55734         * po/nl.po: Update Dutch translation from translation project.
55735         * po/pl.po: Update Polish translation from translation project.
55736         * po/ru.po: Update Russian translation from translation project.
55738 2013-07-24  David S. Miller  <davem@davemloft.net>
55740         * po/libc.pot: Update.
55742 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55744         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
55745         variable page size.
55746         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
55747         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
55748         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
55750 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55752         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
55754 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55755             Andreas Schwab  <schwab@suse.de>
55756             Roland McGrath  <roland@hack.frob.com>
55757             Joseph Myers  <joseph@codesourcery.com>
55758             Carlos O'Donell  <carlos@redhat.com>
55760         [BZ #15755]
55761         * config.h.in: Define HAVE_PT_CHOWN.
55762         * config.make.in (build-pt-chown): New variable.
55763         * configure.in (--enable-pt_chown): New configure option.
55764         * configure: Regenerate.
55765         * login/Makefile: Include Makeconfig.  Build pt_chown only if
55766         build-pt-chown is enabled.
55767         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
55768         pt_chown to fix pty ownership.
55769         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
55770         CLOSE_ALL_FDS.
55771         * manual/install.texi (Configuring and compiling): Mention
55772         --enable-pt_chown. Add @findex for grantpt.
55773         * INSTALL: Regenerate.
55775 2013-07-20  David S. Miller  <davem@davemloft.net>
55777         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
55778         difference between 32-bit and 64-bit.
55780 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
55782         [BZ #15711]
55783         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
55784         Avoid system header dependency with -ffreestanding.
55785         ($(objpfx)bits/syscall%d): Likewise.
55787 2013-07-13  David S. Miller  <davem@davemloft.net>
55789         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
55790         underflows from atanl/atan2l due to bug 15319.
55791         (casinh_test_data): Likewise.
55793 2013-07-07  David S. Miller  <davem@davemloft.net>
55795         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
55797 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
55799         * sysdeps/i386/fpu/libm-test-ulps: Update.
55800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55802 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55804         * configure.in (--enable-lock-elision): Fix message text.
55805         * INSTALL: Regenerate.
55806         * configure: Regenerate.
55808 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55810         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55812 2013-07-03  Andreas Jaeger  <aj@suse.de>
55814         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
55815         define.
55816         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
55817         (ptrace_peeksiginfo_args): Add.
55818         (__ptrace_peeksiginfo_flags): Add.
55819         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55820         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55821         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55823 2013-07-03  Allan McRae  <allan@archlinux.org>
55825         * sysdeps/i386/fpu/libm-test-ulps: Update.
55827 2013-07-02  David S. Miller  <davem@davemloft.net>
55829         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55831 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
55833         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55835 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
55837         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
55838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55840 2013-07-02  Andi Kleen <ak@linux.intel.com>
55842         * config.h.in (ENABLE_LOCK_ELISION): Add.
55843         * configure.in (--enable-lock-elision): Add option.
55844         * manual/install.texi: Document --enable lock elision.
55845         * configure: Regenerate
55846         * INSTALL: Regenerate.
55848 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
55850         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
55851         SSE4.2 strcasecmp for libc.a.
55852         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
55854 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
55856         [BZ #13304]
55857         * soft-fp/op-common.h (_FP_FMA): New macro.
55858         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
55859         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
55860         (_FP_MUL_MEAT_1_imm): ... here.
55861         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
55862         (_FP_MUL_MEAT_1_wide): ... here.
55863         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
55864         (_FP_MUL_MEAT_1_hard): ... here.
55865         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
55866         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
55867         (_FP_MUL_MEAT_2_wide): ... here.
55868         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
55869         (_FP_MUL_MEAT_2_wide_3mul): ... here.
55870         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
55871         (_FP_MUL_MEAT_2_gmp): ... here.
55872         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
55873         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
55874         (_FP_MUL_MEAT_4_wide): ... here.
55875         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
55876         (_FP_MUL_MEAT_4_gmp): ... here.
55877         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
55878         (_FP_WFRACBITS_DW_S): Likewise.
55879         (_FP_WFRACXBITS_DW_S): Likewise.
55880         (_FP_HIGHBIT_DW_S): Likewise.
55881         (FP_FMA_S): Likewise.
55882         (_FP_FRAC_HIGH_DW_S): Likewise.
55883         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
55884         (_FP_WFRACBITS_DW_D): Likewise.
55885         (_FP_WFRACXBITS_DW_D): Likewise.
55886         (_FP_HIGHBIT_DW_D): Likewise.
55887         (FP_FMA_D): Likewise.
55888         (_FP_FRAC_HIGH_DW_D): Likewise.
55889         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
55890         (_FP_WFRACBITS_DW_E): Likewise.
55891         (_FP_WFRACXBITS_DW_E): Likewise.
55892         (_FP_HIGHBIT_DW_E): Likewise.
55893         (FP_FMA_E): Likewise.
55894         (_FP_FRAC_HIGH_DW_E): Likewise.
55895         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
55896         (_FP_WFRACBITS_DW_Q): Likewise.
55897         (_FP_WFRACXBITS_DW_Q): Likewise.
55898         (_FP_HIGHBIT_DW_Q): Likewise.
55899         (FP_FMA_Q): Likewise.
55900         (_FP_FRAC_HIGH_DW_Q): Likewise.
55901         * soft-fp/fmasf4.c: New file.
55902         * soft-fp/fmadf4.c: Likewise.
55903         * soft-fp/fmatf4.c: Likewise.
55905 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55907         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55908         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
55909         Silvermont.
55910         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
55911         macro.
55912         (index_Slow_SSE4_2): Likewise.
55913         (index_Prefer_PMINUB_for_stringop): Likewise.
55914         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
55915         bit_Slow_SSE4_2 is set.
55916         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
55917         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55919 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55921         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
55922         rtld_global._dl_hwcap2.
55923         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
55924         POWER8.
55925         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
55926         POWER8 feature descriptions defined in _dl_hwcap2.
55927         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
55928         string handling for POWER8 feature bits.
55929         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
55930         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
55931         _dl_powerpc_cap_flags.
55932         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
55933         * sysdeps/powerpc/rtld-global-offsets.sym
55934         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
55935         _dl_hwcap2 in the rtld_global_ro structure.
55937 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55939         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
55940         hardware capabilities in support of AT_HWCAP2.
55941         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
55942         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
55943         GLRO(dl_hwcap2).
55944         (_dl_show_auxv): Add support for calling _dl_procinfo to display
55945         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
55946         explicitly the unknown a_type display mechanism is used.
55947         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
55948         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
55949         struct member.
55950         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
55951         to macro prototype for AT_HWCAP2 support.
55952         * sysdeps/i386/dl-procinfo.h: Likewise.
55953         * sysdeps/s390/dl-procinfo.h: Likewise.
55954         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
55955         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
55956         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
55957         return -1 for unknown a_type display fallback.
55958         * sysdeps/sparc/dl-procinfo.h: Likewise.
55959         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
55960         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
55962 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
55964         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
55965         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
55967 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
55969         [BZ #12492]
55970         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
55971         mprotect making __stack_prot writable.
55973 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
55974             Joseph Myers  <joseph@codesourcery.com>
55976         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
55977         as being properly aligned.
55979 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
55981         * dlfcn/modstatic5.c: New file.
55982         * dlfcn/tststatic5.c: New file.
55983         * dlfcn/Makefile (tests): Add tststatic5.
55984         (tests-static): Likewise.
55985         (modules-names): Add modstatic5.
55986         (tststatic5-ENV): New variable.
55987         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
55989         [BZ #15022]
55990         * elf/dl-support.c (_dl_main_map): New variable.
55991         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
55992         (_dl_nns, _dl_load_adds): Set to 1.
55993         (_dl_initial_searchlist): Refer to _dl_main_map.
55994         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
55995         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
55996         call to _dl_get_origin.
55997         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
55998         around call_map.
55999         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
56000         * dlfcn/modstatic3.c: New file.
56001         * dlfcn/tststatic3.c: New file.
56002         * dlfcn/tststatic4.c: New file.
56003         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
56004         (tests-static): Likewise.
56005         (modules-names): Add modstatic3.
56006         (tststatic3-ENV, tststatic4-ENV): New variables.
56007         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
56008         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
56010 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
56012         * configure.in (CC): Require GCC version 4.4 or later.
56013         * configure: Regenerated.
56014         * manual/install.texi (Tools for Compilation): Update GCC version
56015         requirement.
56016         * INSTALL: Regenerated.
56018 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56020         [BZ #15674]
56021         * string/test-memcmp.c (check2): New.
56022         (main): Call check2.
56024         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
56026 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
56028         [BZ #15022]
56029         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
56030         over to...
56031         (dl_open_worker) [!SHARED]: ... here.
56033 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56035         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
56037 2013-06-25  Richard Henderson  <rth@redhat.com>
56039         * locale/programs/locarchive.c: Include <libc-internal.h>
56041 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
56043         * manual/texinfo.tex: Update to version 2013-06-21.17, with
56044         trailing whitespace removed.
56046 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
56048         [BZ #10283]
56049         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
56050         * locale/programs/locarchive.c: Include libc-mmap.h.
56051         (prepare_address_space): Take two new outputs (the mmap base and len).
56052         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
56053         values.
56054         (create_archive): Declare new mmap base and len values for
56055         prepare_address_space, and store the result in ah.
56056         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
56057         (enlarge_archive): If ah->mmap_base is not NULL, use that and
56058         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
56059         Declare new mmap base and len values for
56060         prepare_address_space, and store the result in new_ah.
56061         (open_archive): Declare new mmap base and len values for
56062         prepare_address_space, and store the result in ah.
56063         (close_archive): If ah->mmap_base is not NULL, use that and
56064         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
56065         * sysdeps/generic/libc-mmap.h: New file.
56067 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
56069         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
56070         (ALIGN_UP): Likewise.
56071         (PTR_ALIGN_DOWN): Likewise.
56072         (PTR_ALIGN_UP): Likewise.
56074 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56076         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
56077         entry mapped to PPC_PLATFORM_POWER8.
56078         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
56079         POWER8.
56080         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
56081         (_dl_string_platform): Add case for exporting platform position for
56082         POWER8.
56083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
56084         search path to sysdeps/powerpc/powerpc32/power8 directory.
56085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
56086         search path to sysdeps/powerpc/powerpc64/power8 directory.
56087         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
56088         power7 directories.
56089         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
56090         power7 directories.
56092 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
56094         * INSTALL: Regenerate.
56096         * nscd/connections.c (nscd_init): Fix comment.
56098 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
56100         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
56102         [BZ #15667]
56103         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
56104         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
56106 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
56108         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
56109         DL_DST_REQ_STATIC.
56110         (DL_DST_REQ_STATIC): Remove macro.
56112 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
56114         [BZ #7006]
56115         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
56116         with a shift of 0 bits.
56118 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
56120         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
56121         $(tststatic-ENV).
56123 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56125         [BZ #15655]
56126         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
56128 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56130         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
56131         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
56132         accepts -fno-tree-loop-distribute-patterns.
56133         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
56134         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
56135         recursive call.
56136         * string/memset.c (memset): Likewise.
56137         * string/test-memmove.c (simple_memmove): Disable loop transformation
56138         to library calls.
56139         * string/test-memset.c (simple_memset): Likewise.
56140         * benchtests/bench-memmove.c (simple_memmove): Likewise.
56141         * benchtests/bench-memset.c (simple_memset): Likewise.
56142         * configure: Regenerated.
56144 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
56146         * math/test-misc.c (main): Ignore fesetround failure when failures
56147         of subsequent rounding tests would be ignored.
56149         [BZ #15654]
56150         * math/fedisblxcpt.c (fedisableexcept): Return 0.
56151         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
56152         * math/fegetenv.c (__fegetenv): Return 0.
56153         * math/fegetexcept.c (fegetexcept): Return 0.
56154         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
56155         FE_TONEAREST.
56156         * math/feholdexcpt.c (feholdexcept): Return 0.
56157         * math/fesetenv.c (__fesetenv): Return 0.
56158         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
56159         argument FE_TONEAREST.
56160         * math/feupdateenv.c (__feupdateenv): Return 0.
56161         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
56163 2013-06-18  Roland McGrath  <roland@hack.frob.com>
56165         * elf/rtld-Rules (rtld-compile-command.S): New variable.
56166         (rtld-compile-command.s, rtld-compile-command.c): New variables.
56167         ($(objpfx)rtld-%.os rules): Use them.
56169 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56171         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
56172         fields.
56174 2013-06-17  Roland McGrath  <roland@hack.frob.com>
56176         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
56177         length of target pattern, then descending length of dependency pattern.
56178         * configure.in (AWK): Require gawk 3.1.2 or newer.
56179         * manual/install.texi (Tools for Compilation): Say that we do.
56180         * configure: Regenerated.
56182         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
56183         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
56184         * scripts/sysd-rules.awk: ... this new script.
56185         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
56186         than a glob-style pattern.
56188 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
56190         * math/test-misc.c (main): Do not treat incorrectly rounded
56191         conversions as failure unless ROUNDING_TESTS passes.
56193 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
56195         [BZ #15631]
56196         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
56197         restore exception state around main square root computation, then
56198         check for inexactness explicitly.
56200         * math/libm-test.inc (fma_test_data): Add another test.
56202 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56204         * manual/threads.texi (Non-POSIX Extensions): New document
56205         node.  Document pthread_getattr_default_np and
56206         pthread_setattr_default_np.
56208         * Versions.def (libpthread): Add GLIBC_2.18.
56209         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
56210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
56211         Likewise.
56212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
56213         Likewise.
56214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56215         Likewise.
56216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56217         Likewise.
56218         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
56219         Likewise.
56220         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
56221         Likewise.
56222         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
56223         Likewise.
56224         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
56225         Likewise.
56226         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
56227         Likewise.
56229 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56231         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56232         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
56234 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56235             H.J. Lu  <hjl.tools@gmail.com>
56237         [BZ #15627]
56238         * sysdeps/x86_64/rtld-memset.c: Remove file.
56239         * sysdeps/x86_64/rtld-memset.S: New file.
56241 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
56243         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
56244         (test_in_one_mode): Take arguments for whether the rounding mode
56245         is supported for each floating-point type.
56246         (do_test): Pass new arguments to test_in_one_mode using
56247         ROUNDING_TESTS.
56249 2013-06-13  Roland McGrath  <roland@hack.frob.com>
56251         * posix/tst-waitid.c (do_test): Distinguish different instances of
56252         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
56253         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
56254         before entering the kernel for waitpid.
56256 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56258         * NEWS: Fix note on clock function precision.  Text by Roland
56259         McGrath.
56261 2013-06-13  Roland McGrath  <roland@hack.frob.com>
56263         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
56264         it into place only when and if the sanity check passes.
56266 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
56268         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
56269         output for whether conversion result is exact.  Take argument
56270         indicating whether type is IBM long double.
56271         (round_for_all): Change need_exact field to ibm_ld.
56272         * stdlib/tst-strtod-round.c (struct exactness): New type.
56273         (struct test): Change bool ld_ok field to struct exactness exact.
56274         (TEST): Update all definitions for change to field.
56275         (tests): Regenerate array contents.
56276         (test_in_one_mode): Take pointer to new field instead of old ld_ok
56277         field value.  Check for IBM long double here.
56278         (do_test): Update calls to test_in_one_mode.
56280 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56282         [BZ #12515]
56283         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
56284         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
56286 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56288         [BZ #15605]
56289         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
56290         generated by the compiler on loop optimizations.
56291         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
56292         general definitions.
56294 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
56296         * math/bug-nextafter.c: Include <math-tests.h>.
56297         (main): Only test for exceptions if EXCEPTION_TESTS is true for
56298         the relevant type.
56299         * math/bug-nexttoward.c: Include <math-tests.h>.
56300         (main): Only test for exceptions if EXCEPTION_TESTS is true for
56301         the relevant type.
56302         * math/test-misc.c: Include <math-tests.h>.
56303         (main): Only test for exceptions if EXCEPTION_TESTS is true for
56304         the relevant type.
56306 2013-06-12  Andreas Jaeger  <aj@suse.de>
56308         * po/ia.po: Update Interlingua translation from translation
56309         project.
56311 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
56313         * include/fenv.h: Include stdbool.h.
56314         (struct rm_ctx): New structure.
56315         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
56316         Define macro.
56317         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
56318         (SET_RESTORE_ROUNDF): Likewise.
56319         (SET_RESTORE_ROUNDL): Likewise.
56320         (SET_RESTORE_ROUND_NOEX): Likewise.
56321         (SET_RESTORE_ROUND_NOEXF): Likewise.
56322         (SET_RESTORE_ROUND_NOEXL): Likewise.
56323         (SET_RESTORE_ROUND_53BIT): Likewise.
56324         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
56325         (libc_feresetround_noexf_ctx): Likewise.
56326         (libc_feresetround_noexl_ctx): Likewise.
56327         (libc_feholdsetround_53bit_ctx): Likewise.
56328         (libc_feresetround_53bit_ctx): Likewise.
56329         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
56330         (libc_feholdexcept_setround_sse_ctx): New function.
56331         (libc_fesetenv_sse_ctx): Likewise.
56332         (libc_feupdateenv_sse_ctx): Likewise.
56333         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
56334         (libc_feholdexcept_setround_387_ctx): Likewise.
56335         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
56336         (libc_feholdsetround_387_prec_ctx): Likewise.
56337         (libc_feholdsetround_387_ctx): Likewise.
56338         (libc_feholdsetround_387_53bit_ctx): Likewise.
56339         (libc_feholdsetround_sse_ctx): Likewise.
56340         (libc_feresetround_sse_ctx): Likewise.
56341         (libc_feresetround_387_ctx): Likewise.
56342         (libc_feupdateenv_387_ctx): Likewise.
56343         (libc_feholdexcept_setroundf_ctx): Define macro.
56344         (libc_fesetenvf_ctx): Likewise.
56345         (libc_feupdateenvf_ctx): Likewise.
56346         (libc_feholdsetroundf_ctx): Likewise.
56347         (libc_feresetroundf_ctx): Likewise.
56348         (libc_feholdexcept_setround_ctx): Likewise.
56349         (libc_fesetenv_ctx): Likewise.
56350         (libc_feupdateenv_ctx): Likewise.
56351         (libc_feholdsetround_ctx): Likewise.
56352         (libc_feresetround_ctx): Likewise.
56353         (libc_feholdexcept_setroundl_ctx): Likewise.
56354         (libc_feupdateenvl_ctx): Likewise.
56355         (libc_feholdsetroundl_ctx): Likewise.
56356         (libc_feresetroundl_ctx): Likewise.
56357         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
56358         (libc_feresetround_53bit_ctx): Likewise.
56360 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56362         * locale/iso-639.def: Convert to UTF-8.
56364 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
56366         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
56367         (EXCEPTION_TESTS_double): Likewise.
56368         (EXCEPTION_TESTS_long_double): Likewise.
56369         (EXCEPTION_TESTS): Likewise.
56370         * math/libm-test.inc (test_exceptions): Only test exceptions if
56371         EXCEPTION_TESTS (FLOAT).
56373 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56375         * benchtests/Makefile (string-bench): Add strcpy_chk and
56376         stpcpy_chk.
56377         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
56378         * benchtests/bench-stpcpy_chk.c: New file.
56379         * benchtests/bench-strcpy_chk-ifunc.c: New file.
56380         * benchtests/bench-strcpy_chk.c: New file.
56381         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
56382         code.
56383         (do_test): Likewise.
56385 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56387         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
56388         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
56389         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
56390         with tabs where appropriate.
56391         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
56392         dl-procinfo.h.
56393         [PPC_PLATFORM_PPC440]: Likewise.
56394         [PPC_PLATFORM_PPC464]: Likewise.
56395         [PPC_PLATFORM_PPC476]: Likewise.
56396         (_dl_string_platform): Add support for detecting ppc405, ppc440,
56397         ppc464, and ppc476 platform strings merging from ports/
56398         dl-procinfo.h.
56400 2013-06-11  Andreas Schwab  <schwab@suse.de>
56402         [BZ #14991]
56403         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
56404         (from_ucs4_idx): Regenerate.
56405         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
56406         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
56407         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
56408         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
56409         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
56410         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
56411         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
56412         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
56413         from FROM_LOOP and TO_LOOP specific macros.
56414         (BODY): Handle combining characters.
56415         * iconvdata/BIG5HKSCS.irreversible: Update.
56416         * iconvdata/BIG5HKSCS.precomposed: New file.
56417         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
56418         characters.
56419         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
56421 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56423         * include/sys/time.h: Fix indentation and add copyright header.
56425         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
56426         (do_test): Likewise.
56427         * string/test-memchr.c (do_one_test): Likewise.
56428         (do_test): Likewise.
56429         * string/test-memcmp.c (do_one_test): Likewise.
56430         (do_test): Likewise.
56431         * string/test-memcpy.c (do_one_test): Likewise.
56432         (do_test): Likewise.
56433         * string/test-memmem.c (do_one_test): Likewise.
56434         (do_test): Likewise.
56435         (do_random_tests): Likewise.
56436         * string/test-memmove.c (do_one_test): Likewise.
56437         (do_test): Likewise.
56438         * string/test-memset.c (do_one_test): Likewise.
56439         (do_test): Likewise.
56440         * string/test-rawmemchr.c (do_one_test): Likewise.
56441         (do_test): Likewise.
56442         * string/test-strcasecmp.c (do_one_test): Likewise.
56443         (do_test): Likewise.
56444         * string/test-strcasestr.c (do_one_test): Likewise.
56445         (do_test): Likewise.
56446         * string/test-strcat.c (do_one_test): Likewise.
56447         (do_test): Likewise.
56448         * string/test-strchr.c (do_one_test): Likewise.
56449         (do_test): Likewise.
56450         * string/test-strcmp.c (do_one_test): Likewise.
56451         (do_test): Likewise.
56452         * string/test-strcpy.c (do_one_test): Likewise.
56453         (do_test): Likewise.
56454         * string/test-string.h: Likewise.
56455         (test_init): Likewise.
56456         * string/test-strlen.c (do_one_test): Likewise.
56457         (do_test): Likewise.
56458         * string/test-strncasecmp.c (do_one_test): Likewise.
56459         (do_test): Likewise.
56460         * string/test-strncat.c (do_one_test): Likewise.
56461         (do_test): Likewise.
56462         * string/test-strncmp.c (do_one_test): Likewise.
56463         (do_test_limit): Likewise.
56464         (do_test): Likewise.
56465         * string/test-strncpy.c (do_one_test): Likewise.
56466         (do_test): Likewise.
56467         * string/test-strnlen.c (do_one_test): Likewise.
56468         (do_test): Likewise.
56469         * string/test-strpbrk.c (do_one_test): Likewise.
56470         (do_test): Likewise.
56471         * string/test-strrchr.c (do_one_test): Likewise.
56472         (do_test): Likewise.
56473         * string/test-strspn.c (do_one_test): Likewise.
56474         (do_test): Likewise.
56475         * string/test-strstr.c (do_one_test): Likewise.
56476         (do_test): Likewise.
56478         * benchtests/Makefile (string-bench): Add string benchmarks.
56479         * benchtests/bench-bcopy-ifunc.c: New file.
56480         * benchtests/bench-bcopy.c: New file.
56481         * benchtests/bench-bzero-ifunc.c: New file.
56482         * benchtests/bench-bzero.c: New file.
56483         * benchtests/bench-memccpy-ifunc.c: New file.
56484         * benchtests/bench-memccpy.c: New file.
56485         * benchtests/bench-memchr-ifunc.c: New file.
56486         * benchtests/bench-memchr.c: New file.
56487         * benchtests/bench-memcmp-ifunc.c: New file.
56488         * benchtests/bench-memcmp.c: New file.
56489         * benchtests/bench-memmem-ifunc.c: New file.
56490         * benchtests/bench-memmem.c: New file.
56491         * benchtests/bench-memmove-ifunc.c: New file.
56492         * benchtests/bench-memmove.c: New file.
56493         * benchtests/bench-mempcpy-ifunc.c: New file.
56494         * benchtests/bench-mempcpy.c: New file.
56495         * benchtests/bench-memset-ifunc.c: New file.
56496         * benchtests/bench-memset.c: New file.
56497         * benchtests/bench-rawmemchr-ifunc.c: New file.
56498         * benchtests/bench-rawmemchr.c: New file.
56499         * benchtests/bench-stpcpy-ifunc.c: New file.
56500         * benchtests/bench-stpcpy.c: New file.
56501         * benchtests/bench-stpncpy-ifunc.c: New file.
56502         * benchtests/bench-stpncpy.c: New file.
56503         * benchtests/bench-strcasecmp-ifunc.c: New file.
56504         * benchtests/bench-strcasecmp.c: New file.
56505         * benchtests/bench-strcasestr-ifunc.c: New file.
56506         * benchtests/bench-strcasestr.c: New file.
56507         * benchtests/bench-strcat-ifunc.c: New file.
56508         * benchtests/bench-strcat.c: New file.
56509         * benchtests/bench-strchr-ifunc.c: New file.
56510         * benchtests/bench-strchr.c: New file.
56511         * benchtests/bench-strchrnul-ifunc.c: New file.
56512         * benchtests/bench-strchrnul.c: New file.
56513         * benchtests/bench-strcmp-ifunc.c: New file.
56514         * benchtests/bench-strcmp.c: New file.
56515         * benchtests/bench-strcpy-ifunc.c: New file.
56516         * benchtests/bench-strcpy.c: New file.
56517         * benchtests/bench-strcspn-ifunc.c: New file.
56518         * benchtests/bench-strcspn.c: New file.
56519         * benchtests/bench-strlen-ifunc.c: New file.
56520         * benchtests/bench-strlen.c: New file.
56521         * benchtests/bench-strncasecmp-ifunc.c: New file.
56522         * benchtests/bench-strncasecmp.c: New file.
56523         * benchtests/bench-strncat-ifunc.c: New file.
56524         * benchtests/bench-strncat.c: New file.
56525         * benchtests/bench-strncmp-ifunc.c: New file.
56526         * benchtests/bench-strncmp.c: New file.
56527         * benchtests/bench-strncpy-ifunc.c: New file.
56528         * benchtests/bench-strncpy.c: New file.
56529         * benchtests/bench-strnlen-ifunc.c: New file.
56530         * benchtests/bench-strnlen.c: New file.
56531         * benchtests/bench-strpbrk-ifunc.c: New file.
56532         * benchtests/bench-strpbrk.c: New file.
56533         * benchtests/bench-strrchr-ifunc.c: New file.
56534         * benchtests/bench-strrchr.c: New file.
56535         * benchtests/bench-strspn-ifunc.c: New file.
56536         * benchtests/bench-strspn.c: New file.
56537         * benchtests/bench-strstr-ifunc.c: New file.
56538         * benchtests/bench-strstr.c: New file.
56540         * benchtests/Makefile: Disable parallel execution of targets.
56541         (string-bench): Add memcpy.
56542         (benchset): New variable to store a list of benchmark sets.
56543         (bench-func): Renamed from bench.
56544         (bench-set): New target.
56545         (bench): Depend on bench-func and bench-set.
56546         * benchtests/README: Add section on benchmark sets.
56547         * benchtests/bench-memcpy-ifunc.c: New file.
56548         * benchtests/bench-memcpy.c: New file.
56549         * benchtests/bench-string.h: New file.
56551 2013-06-11  Andreas Schwab  <schwab@suse.de>
56553         [BZ #15577]
56554         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
56555         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
56556         values in the triple.
56557         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
56558         terminator in the group key.
56560 2013-06-11  Andreas Jaeger  <aj@suse.de>
56562         * po/zh_TW.po: Update Chinese (traditional) translation from
56563         translation project.
56565 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56567         * include/time.h (__clock_gettime): Add libc_hidden_proto.
56568         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
56569         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
56570         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
56571         (clock_getcpuclockid): Likewise.
56572         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
56573         Add weak_alias and libc_hidden_def.
56574         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
56575         * rt/clock_gettime.c (clock_gettime): Rename to
56576         __clock_gettime.  Add weak_alias and libc_hidden_def.
56577         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
56578         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
56579         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
56580         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
56581         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
56582         Likewise.
56583         * rt/clock_settime.c (clock_settime): Rename to
56584         __clock_settime.  Add weak_alias and libc_hidden_def.
56585         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
56587 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
56589         * mach/err_boot.sub: Remove trailing whitespace.
56590         * mach/err_ipc.sub: Likewise.
56591         * mach/err_mach.sub: Likewise.
56593         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
56594         (ROUNDING_TESTS_double): Likewise.
56595         (ROUNDING_TESTS_long_double): Likewise.
56596         (ROUNDING_TESTS): Likewise.
56597         * math/libm-test.inc: Include <math-tests.h>.
56598         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
56599         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
56600         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
56601         (IF_ROUND_INIT_FE_UPWARD): Likewise.
56603 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56605         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
56606         of assigning.
56608 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
56610         * sysdeps/gnu/errlist.awk: Do not generate space at end of
56611         otherwise empty TRANS lines.
56612         * sysdeps/gnu/errlist.c: Regenerated.
56614         * catgets/gencat.c (error_print): Use (void) in function
56615         definition.
56616         * crypt/crypt_util.c (__init_des): Likewise.
56617         * crypt/speeds.c (Stop): Likewise.
56618         (main): Likewise.
56619         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
56620         * inet/ruserpass.c (token): Likewise.
56621         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
56622         * intl/localealias.c (extend_alias_table): Likewise.
56623         * intl/plural-exp.c (init_germanic_plural): Likewise.
56624         * libio/fcloseall.c (__fcloseall): Likewise.
56625         * libio/genops.c (_IO_flush_all): Likewise.
56626         (_IO_flush_all_linebuffered): Likewise.
56627         (_IO_cleanup): Likewise.
56628         (_IO_iter_begin): Likewise.
56629         (_IO_iter_end): Likewise.
56630         (_IO_list_lock): Likewise.
56631         (_IO_list_unlock): Likewise.
56632         (_IO_list_resetlock): Likewise.
56633         * libio/getchar.c (getchar): Likewise.
56634         * libio/getchar_u.c (getchar_unlocked): Likewise.
56635         * libio/getwchar.c (getwchar): Likewise.
56636         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
56637         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
56638         * login/getpt.c (__getpt): Likewise.
56639         * login/tst-utmp.c (main): Likewise.
56640         * malloc/hooks.c (__malloc_check_init): Likewise.
56641         * malloc/malloc.c (__malloc_stats): Likewise.
56642         * malloc/mtrace.c (tr_break): Likewise.
56643         (mtrace): Likewise.
56644         (muntrace): Likewise.
56645         * misc/fstab.c (endfsent): Likewise.
56646         * misc/getclktck.c (__getclktck): Likewise.
56647         * misc/getdtsz.c (__getdtablesize): Likewise.
56648         * misc/gethostid.c (gethostid): Likewise.
56649         * misc/getpagesize.c (__getpagesize): Likewise.
56650         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
56651         (__get_nprocs): Likewise.
56652         (__get_phys_pages): Likewise.
56653         (__get_avphys_pages): Likewise.
56654         * misc/getttyent.c (getttyent): Likewise.
56655         (setttyent): Likewise.
56656         (endttyent): Likewise.
56657         * misc/getusershell.c (getusershell): Likewise.
56658         (endusershell): Likewise.
56659         (setusershell): Likewise.
56660         (initshells): Likewise.
56661         * misc/hsearch.c (__hdestroy): Likewise.
56662         * misc/sync.c (sync): Likewise.
56663         * misc/syslog.c (closelog_internal): Likewise.
56664         (closelog): Likewise.
56665         * misc/ttyslot.c (ttyslot): Likewise.
56666         * misc/vhangup.c (vhangup): Likewise.
56667         * posix/fork.c (__fork): Likewise.
56668         * posix/getegid.c (__getegid): Likewise.
56669         * posix/geteuid.c (__geteuid): Likewise.
56670         * posix/getgid.c (__getgid): Likewise.
56671         * posix/getpid.c (__getpid): Likewise.
56672         * posix/getppid.c (__getppid): Likewise.
56673         * posix/getuid.c (__getuid): Likewise.
56674         * posix/pause.c (pause): Likewise.
56675         * posix/setpgrp.c (setpgrp): Likewise.
56676         * posix/setsid.c (__setsid): Likewise.
56677         * posix/test-vfork.c (noop): Likewise.
56678         * resolv/gethnamaddr.c (_endhtent): Likewise.
56679         (_gethtent): Likewise.
56680         (ht_endhostent): Likewise.
56681         (gethostent): Likewise.
56682         (dns_service): Likewise.
56683         * stdlib/drand48.c (drand48): Likewise.
56684         * stdlib/lrand48.c (lrand48): Likewise.
56685         * stdlib/mrand48.c (mrand48): Likewise.
56686         * stdlib/rand.c (rand): Likewise.
56687         * stdlib/random.c (__random): Likewise.
56688         * stdlib/setenv.c (clearenv): Likewise.
56689         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
56690         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
56691         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
56692         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
56693         (__get_nprocs): Likewise.
56694         (__get_phys_pages): Likewise.
56695         (__get_avphys_pages): Likewise.
56696         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
56697         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
56698         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
56699         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
56700         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
56701         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
56702         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
56703         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
56704         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
56705         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
56706         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
56707         * sysdeps/mach/hurd/sync.c (sync): Likewise.
56708         * sysdeps/posix/clock.c (clock): Likewise.
56709         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
56710         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
56711         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
56712         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
56713         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
56714         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
56715         (__get_nprocs_conf): Likewise.
56716         (__get_phys_pages): Likewise.
56717         (__get_avphys_pages): Likewise.
56718         * time/clock.c (clock): Likewise.
56719         * time/tzset.c (__tzname_max): Likewise.
56721 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
56723         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
56724         (__bswap_32): Do not use "register".
56725         * crypt/crypt.c (_ufc_doit_r): Likewise.
56726         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
56727         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
56728         * gmon/gmon.c (__monstartup): Likewise.
56729         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
56730         * hurd/hurdmalloc.c (more_memory): Likewise.
56731         (malloc): Likewise.
56732         (free): Likewise.
56733         (realloc): Likewise.
56734         (malloc_fork_prepare): Likewise.
56735         (malloc_fork_parent): Likewise.
56736         (malloc_fork_child): Likewise.
56737         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
56738         (_svcauth_des): Likewise.
56739         * inet/inet_lnaof.c (inet_lnaof): Likewise.
56740         * inet/inet_net.c (inet_network): Likewise.
56741         * inet/inet_netof.c (inet_netof): Likewise.
56742         * inet/rcmd.c (__validuser2_sa): Likewise.
56743         * io/fts.c (fts_open): Likewise.
56744         (fts_load): Likewise.
56745         (fts_close): Likewise.
56746         (fts_read): Likewise.
56747         (fts_children): Likewise.
56748         (fts_build): Likewise.
56749         (fts_stat): Likewise.
56750         (fts_sort): Likewise.
56751         (fts_alloc): Likewise.
56752         (fts_lfree): Likewise.
56753         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
56754         (_IO_file_xsgetn): Likewise.
56755         (_IO_file_xsgetn_mmap): Likewise.
56756         * libio/iofopncook.c (_IO_cookie_read): Likewise.
56757         (_IO_cookie_write): Likewise.
56758         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
56759         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
56760         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
56761         * malloc/obstack.c (_obstack_begin): Likewise.
56762         (_obstack_begin_1): Likewise.
56763         (_obstack_newchunk): Likewise.
56764         (_obstack_allocated_p): Likewise.
56765         (obstack_free): Likewise.
56766         (_obstack_memory_used): Likewise.
56767         * misc/getttyent.c (getttynam): Likewise.
56768         (getttyent): Likewise.
56769         (skip): Likewise.
56770         (value): Likewise.
56771         * misc/getusershell.c (initshells): Likewise.
56772         * misc/syslog.c (__vsyslog_chk): Likewise.
56773         * misc/ttyslot.c (ttyslot): Likewise.
56774         * nis/nis_hash.c (__nis_hash): Likewise.
56775         * posix/fnmatch_loop.c (FCT): Likewise.
56776         * posix/getconf.c (print_all): Likewise.
56777         (main): Likewise.
56778         * posix/getopt.c (exchange): Likewise.
56779         * posix/glob.c (globfree): Likewise.
56780         (prefix_array): Likewise.
56781         (__glob_pattern_type): Likewise.
56782         * resolv/arpa/nameser.h (NS_GET16): Likewise.
56783         (NS_GET32): Likewise.
56784         (NS_PUT16): Likewise.
56785         (NS_PUT32): Likewise.
56786         * resolv/gethnamaddr.c (getanswer): Likewise.
56787         (gethostbyname2): Likewise.
56788         (gethostbyaddr): Likewise.
56789         (_gethtent): Likewise.
56790         (_gethtbyname2): Likewise.
56791         (_gethtbyaddr): Likewise.
56792         * resolv/ns_print.c (dst_s_get_int16): Likewise.
56793         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
56794         * resolv/res_init.c (__res_vinit): Likewise.
56795         (net_mask): Likewise.
56796         * resolv/res_mkquery.c (outchar): Likewise.
56797         (PRINT): Likewise.
56798         * stdio-common/printf_fp.c (outchar): Likewise.
56799         (PRINT): Likewise.
56800         * stdio-common/printf_fphex.c (outchar): Likewise.
56801         (PRINT): Likewise.
56802         * stdio-common/printf_size.c (outchar): Likewise.
56803         (PRINT): Likewise.
56804         * stdio-common/test_rdwr.c (main): Likewise.
56805         * stdio-common/tfformat.c (matches): Likewise.
56806         * stdio-common/vfprintf.c (outchar): Likewise.
56807         (printf_unknown): Likewise.
56808         (buffered_vfprintf): Likewise.
56809         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
56810         * stdio-common/xbug.c (AppendToBuffer): Likewise.
56811         (ReadFile): Likewise.
56812         * stdlib/qsort.c (SWAP): Likewise.
56813         (_quicksort): Likewise.
56814         * stdlib/setenv.c (__add_to_environ): Likewise.
56815         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
56816         * stdlib/strtol_l.c (__strtol_l): Likewise.
56817         * stdlib/tst-strtod.c (main): Likewise.
56818         * stdlib/tst-strtol.c (main): Likewise.
56819         * stdlib/tst-strtoll.c (main): Likewise.
56820         * string/bits/string2.h (__strcmp_cc): Likewise.
56821         (__strcmp_cg): Likewise.
56822         (__strcspn_c1): Likewise.
56823         (__strcspn_c2): Likewise.
56824         (__strcspn_c3): Likewise.
56825         (__strspn_c1): Likewise.
56826         (__strspn_c2): Likewise.
56827         (__strspn_c3): Likewise.
56828         (__strsep_1c): Likewise.
56829         (__strsep_2c): Likewise.
56830         (__strsep_3c): Likewise.
56831         * string/memccpy.c (__memccpy): Likewise.
56832         * string/stpcpy.c (__stpcpy): Likewise.
56833         * string/strcmp.c (strcmp): Likewise.
56834         * string/strrchr.c (strrchr): Likewise.
56835         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
56836         Likewise.
56837         * sysdeps/mach/hurd/getcwd.c
56838         (_hurd_canonicalize_directory_name_internal): Likewise.
56839         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
56840         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
56841         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
56842         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
56843         Likewise, in both definitions.
56844         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
56845         definitions.
56846         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
56847         64] (__bswap_64): Likewise.
56848         * time/test_time.c (main): Likewise.
56849         * time/tzfile.c (__tzfile_read): Likewise.
56850         (__tzfile_compute): Likewise.
56851         * time/tzset.c (__tzset_parse_tz): Likewise.
56852         (tzset_internal): Likewise.
56853         (compute_change): Likewise.
56854         * wcsmbs/wcscat.c (__wcscat): Likewise.
56855         * wcsmbs/wcschr.c (wcschr): Likewise.
56856         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
56857         * wcsmbs/wcscspn.c (wcscspn): Likewise.
56858         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
56859         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
56860         * wcsmbs/wcsspn.c (wcsspn): Likewise.
56861         * wcsmbs/wcsstr.c (wcsstr): Likewise.
56862         * wcsmbs/wmemchr.c (wmemchr): Likewise.
56863         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56864         * wcsmbs/wmemset.c (wmemset): Likewise.
56866 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
56868         * scripts/config.guess: Update to version 2013-05-16.
56869         * scripts/config.sub: Update to version 2013-04-24.
56870         * scripts/install-sh: Update to version 2011-11-20.07.
56871         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
56872         * scripts/move-if-change: Update to version 2012-01-06 07:23.
56874 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
56876         * debug/fgetws_u_chk.c: Fix leading whitespaces.
56877         * elf/sln.c: Likewise.
56878         * hurd/hurd/ioctl.h: Likewise.
56879         * hurd/hurdmalloc.c: Likewise.
56880         * hurd/xattr.c: Likewise.
56881         * include/shlib-compat.h: Likewise.
56882         * inet/ruserpass.c: Likewise.
56883         * libio/iofgets_u.c: Likewise.
56884         * libio/iofgetws_u.c: Likewise.
56885         * locale/programs/ld-identification.c: Likewise.
56886         * locale/programs/ld-time.c: Likewise.
56887         * mach/msg-destroy.c: Likewise.
56888         * nss/nss_files/files-netgrp.c: Likewise.
56889         * resolv/res_data.c: Likewise.
56890         * soft-fp/op-1.h: Likewise.
56891         * soft-fp/op-2.h: Likewise.
56892         * soft-fp/op-4.h: Likewise.
56893         * soft-fp/op-common.h: Likewise.
56894         * stdio-common/printf_fphex.c: Likewise.
56895         * stdlib/strtod_l.c: Likewise.
56896         * sunrpc/rpc/clnt.h: Likewise.
56897         * sysdeps/generic/framestate.c: Likewise.
56898         * sysdeps/i386/bsd-_setjmp.S: Likewise.
56899         * sysdeps/i386/bsd-setjmp.S: Likewise.
56900         * sysdeps/i386/__longjmp.S: Likewise.
56901         * sysdeps/i386/setjmp.S: Likewise.
56902         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56903         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56904         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56905         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56906         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56907         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
56908         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56909         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56910         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56911         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
56912         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
56913         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
56914         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
56915         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
56916         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
56917         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56918         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
56919         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
56920         * sysdeps/ieee754/support.c: Likewise.
56921         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56922         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
56923         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
56924         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
56925         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
56926         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
56927         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
56928         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
56929         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
56930         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
56931         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
56932         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
56933         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
56934         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
56935         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
56936         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
56937         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
56938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
56940 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
56942         * posix/transbug.c: Remove executable mode.
56944 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
56946         * crypt/speeds.c: Remove trailing whitespace.
56947         * dlfcn/default.c: Likewise.
56948         * elf/ifuncdep2.c: Likewise.
56949         * elf/ifuncmain1.c: Likewise.
56950         * elf/ifuncmain1vis.c: Likewise.
56951         * elf/testobj.h: Likewise.
56952         * elf/tst-stackguard1.c: Likewise.
56953         * gmon/sys/gmon.h: Likewise.
56954         * hurd/hurdmsg.c: Likewise.
56955         * hurd/new-fd.c: Likewise.
56956         * hurd/ports-get.c: Likewise.
56957         * iconvdata/ibm1008_420.c: Likewise.
56958         * inet/tst-getni1.c: Likewise.
56959         * inet/tst-getni2.c: Likewise.
56960         * libio/ioungetc.c: Likewise.
56961         * libio/wfiledoalloc.c: Likewise.
56962         * manual/libm-err-tab.pl: Likewise.
56963         * math/w_dremf.c: Likewise.
56964         * misc/ftruncate.c: Likewise.
56965         * posix/bug-glob2.c: Likewise.
56966         * posix/tst-pcre.c: Likewise.
56967         * posix/wait4.c: Likewise.
56968         * resolv/README: Likewise.
56969         * resolv/res_debug.h: Likewise.
56970         * resolv/tst-inet_ntop.c: Likewise.
56971         * setjmp/bug269-setjmp.c: Likewise.
56972         * soft-fp/extended.h: Likewise.
56973         * soft-fp/op-1.h: Likewise.
56974         * soft-fp/op-2.h: Likewise.
56975         * soft-fp/op-4.h: Likewise.
56976         * soft-fp/op-8.h: Likewise.
56977         * soft-fp/testit.c: Likewise.
56978         * stdio-common/bug16.c: Likewise.
56979         * stdlib/random.c: Likewise.
56980         * sunrpc/rpcsvc/rquota.x: Likewise.
56981         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
56982         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56983         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56984         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56985         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56986         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56987         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56988         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56989         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56990         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56991         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56992         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
56993         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56994         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
56995         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56996         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
56997         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
56998         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56999         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
57000         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57001         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57002         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57003         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
57004         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
57005         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
57006         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
57007         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
57008         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
57009         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57010         * sysdeps/ieee754/s_lib_version.c: Likewise.
57011         * sysdeps/mach/hurd/check_fds.c: Likewise.
57012         * sysdeps/mach/hurd/getsockname.c: Likewise.
57013         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
57014         * sysdeps/mach/hurd/recvfrom.c: Likewise.
57015         * sysdeps/powerpc/bits/link.h: Likewise.
57016         * sysdeps/powerpc/dl-procinfo.c: Likewise.
57017         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
57018         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
57019         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
57020         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
57021         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
57022         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
57023         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
57024         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
57025         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57026         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
57027         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
57028         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
57029         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57030         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57031         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57032         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
57033         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
57034         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57035         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57036         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57037         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
57038         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57039         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
57040         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
57041         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
57042         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
57043         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57044         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57045         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
57046         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
57047         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
57048         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57049         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
57050         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
57051         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
57052         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
57053         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
57054         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
57055         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
57056         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
57057         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
57058         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
57059         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
57060         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
57061         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
57062         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
57063         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
57064         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
57065         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
57066         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57067         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57068         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
57069         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
57070         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
57071         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
57072         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
57073         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57074         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
57075         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
57076         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
57077         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
57078         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
57079         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
57080         * sysdeps/powerpc/sysdep.h: Likewise.
57081         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
57082         * sysdeps/s390/s390-64/sub_n.S: Likewise.
57083         * sysdeps/sh/dl-trampoline.S: Likewise.
57084         * sysdeps/sh/memset.S: Likewise.
57085         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
57086         * sysdeps/sh/strlen.S: Likewise.
57087         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
57088         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
57089         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
57090         * sysdeps/sparc/sparc32/rem.S: Likewise.
57091         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
57092         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
57093         * sysdeps/sparc/sparc32/strchr.S: Likewise.
57094         * sysdeps/sparc/sparc32/udiv.S: Likewise.
57095         * sysdeps/sparc/sparc32/urem.S: Likewise.
57096         * sysdeps/sparc/sparc64/add_n.S: Likewise.
57097         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
57098         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
57099         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
57100         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
57101         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
57102         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
57103         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
57104         * sysdeps/unix/bsd/times.c: Likewise.
57105         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
57106         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
57107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
57108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
57109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
57110         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
57111         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
57112         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
57113         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
57114         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
57115         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
57116         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
57117         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
57118         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
57119         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
57120         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
57121         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
57122         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
57123         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
57124         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
57125         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
57126         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
57127         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
57128         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
57129         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
57130         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
57131         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
57132         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57133         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
57134         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
57135         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
57136         * sysdeps/x86_64/strcspn.S: Likewise.
57138 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57140         * locale/C-translit.h: Revert #include <stdint.h> because this is a
57141         generated file.  Regenerate properly from gen-translit.pl.
57142         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
57143         locale/C-translit.h.
57145 2013-06-05  Andreas Schwab  <schwab@suse.de>
57147         [BZ #15100]
57148         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
57149         week as 6 instead of -1.
57150         * time/tst-strptime.c (day_tests): Add test case.
57152 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57154         * sysdeps/generic/math_private.h
57155         (libc_feholdexcept_setround_53bit): Replace with
57156         libc_feholdsetround_53bit.
57157         (libc_feupdateenv_53bit): Replace with
57158         libc_feresetround_53bit.
57159         (SET_RESTORE_ROUND_53BIT): Adjust.
57161 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
57163         * string/test-strchrnul.c: Add copyright header.
57165         * posix/tst-getaddrinfo4.c: Increase test timeout.
57167 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
57169         [BZ #15536]
57170         * math/libm-test.inc (MAX_EXP): Remove
57171         (MIN_EXP): Define.
57172         (ulp): Use MIN_EXP - MANT_DIG.
57173         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
57175 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
57177         * po/be.po: Revert last change.
57178         * po/zh_CN.po: Likewise.
57179         * po/header.pot: Likewise.
57181 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
57183         * Makefile ($(common-objpfx)linkobj/libc.so): Define
57184         link-libc-deps to empty as target-specific variable.
57185         * Makerules (link-libc-args): New variable.
57186         (libc-for-link): Likewise.
57187         (link-libc-deps): Likewise.
57188         (lib%.so): Depend on $(link-libc-deps).  Link with
57189         $(link-libc-args).
57190         (build-module): Link with $(link-libc-args).
57191         (build-module-asneeded): Likewise.
57192         (build-module-helper-objlist): Filter out $(link-libc-deps) from
57193         list of objects.
57194         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
57195         target-specific variable.
57196         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
57197         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
57198         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
57199         libc.
57200         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
57201         libc and ld.so.
57202         ($(objpfx)libpcprofile.so): Likewise.
57203         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
57204         libc_nonshared.a.
57205         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
57206         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
57207         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
57208         $(link-libc-deps).
57209         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
57210         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
57211         * login/Makefile ($(objpfx)libutil.so): Likewise.
57212         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
57213         * math/Makefile ($(objpfx)libm.so): Likewise.
57214         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
57215         $(objpfx)libnsl.so): Define libc-for-link as target-specific
57216         variable instead of depending directly on libc.
57217         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
57218         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
57219         $(link-libc-deps).
57220         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
57221         libc.
57222         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
57223         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
57224         ($(objpfx)libanl.so): Likewise.
57225         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
57226         ld.so.
57227         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
57228         $(link-libc-deps).
57229         * sysdeps/i386/fpu/Makefile: Remove file.
57230         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
57231         ($(objpfx)libm.so): Remove dependency on ld.so.
57233 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
57235         [BZ # 15553]
57236         * nis/yp_xdr.c (XDRMAXNAME): Define.
57237         (XDRMAXRECORD): Define.
57238         (xdr_domainname): Use XDRMAXNAME.
57239         (xdr_mapname): Likewise.
57240         (xdr_peername): Likewise.
57241         (xdr_keydat): Use XDRMAXRECORD.
57242         (xdr_valdat): Likewise.
57244 2013-05-30  Jeff Law  <law@redhat.com>
57246         [BZ #14256]
57247         * manual/errno.texi (ESTALE): Update to account for more than
57248         just NFS file systems.
57249         * sysdeps/gnu/errlist.c: Regenerated.
57251 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57253         [BZ #15465]
57254         * elf/Makefile (tests): Add tst-null-argv.
57255         (modules-names):  Add tst-null-argv-lib.
57256         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
57257         (tst-null-argv-ENV): Set environment for tst-null-argv.
57258         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
57259         (RTLD_PROGNAME): New macro.
57260         * elf/tst-null-argv.c: New test case.
57261         * elf/tst-null-argv-lib.c: Library for test case.
57262         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
57263         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
57264         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
57265         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
57266         * elf/dl-init.c (call_init): Likewise.
57267         (_dl_init): Likewise.
57268         * elf/dl-load.c (print_search_path): Likewise.
57269         (_dl_map_object): Likewise.
57270         * elf/dl-lookup.c (do_lookup_x): Likewise.
57271         (add_dependency): Likewise.
57272         (_dl_lookup_symbol_x): Likewise.
57273         (_dl_debug_bindings): Likewise.
57274         * elf/dl-open.c (_dl_show_scope): Likewise.
57275         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
57276         * elf/dl-version.c (match_symbol): Likewise.
57277         (_dl_check_map_versions): Likewise.
57278         * elf/rtld.c (dl_main): Likewise.
57279         (print_unresolved): Use RTLD_PROGNAME.
57280         (print_missing_version): Likewise.
57281         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
57282         (elf_machine_rela): Likewise.
57283         * sysdeps/powerpc/powerpc32/dl-machine.c
57284         (__process_machine_rela): Likewise.
57285         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57286         Likewise.
57287         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
57288         Likewise.
57289         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
57290         Likewise.
57291         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57292         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
57293         Likewise.
57294         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
57295         Likewise.
57296         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57298 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
57300         * po/be.po: Add descriptive title.
57301         * po/zh_CN.po: Likewise.
57302         * po/header.pot: Likewise.
57304 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
57306         * locale/programs/locarchive.c (create_archive): Inlucde fname in
57307         error message.
57308         (enlarge_archive): Likewise.
57310 2013-05-28  Ben North  <ben@redfrontdoor.org>
57312         * manual/arith.texi (frexp): It is the magnitude of the return
57313         value which lies in [0.5, 1), not the return value itself.
57315 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57319 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
57321         * stdio-common/bug26.c (main): Correct fscanf template.
57323         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
57324         declare _dl_skip_args.
57326         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
57327         Don't declare.
57329         * manual/platform.texi: Add missing @end deftypefun.
57331 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
57333         [BZ #15529]
57334         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
57335         bit of mantissa of 2^16382.
57336         * math/libm-test.inc (hypot_test_data): Add more tests.
57338         * math/libm-test.inc: Add drem and pow10 to list of tested
57339         functions.
57340         (pow10_test): New function.
57341         (drem_test): Likewise.
57342         (drem_test_tonearest): Likewise.
57343         (drem_test_towardzero): Likewise.
57344         (drem_test_downward): Likewise.
57345         (drem_test_upward): Likewise.
57346         (main): Call the new functions.
57348         * math/libm-test.inc (finite_test_data): Remove.
57349         (finite_test): Run tests from isfinite_test_data.
57350         (gamma_test_data): Remove.
57351         (gamma_test): Run tests from lgamma_test_data.
57352         * sysdeps/i386/fpu/libm-test-ulps: Update.
57353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57355 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57357         * manual/platform.texi: Add PowerPC PPR function set documentation.
57358         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
57359         implementation.
57361 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
57363         * math/libm-test.inc (MAX_EXP): Define.
57364         (ULPDIFF): Define.
57365         (ulp): New function.
57366         (check_float_internal): Use ULPDIFF.
57367         (cpow_test): Disable failing test.
57368         (check_ulp): Test ulp() implementation.
57369         (main): Call check_ulp before starting tests.
57371 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
57373         * math/gen-libm-test.pl (generate_testfile): Do not handle
57374         START_DATA and END_DATA.
57375         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
57376         END_DATA.
57377         (acos_tonearest_test_data): Likewise.
57378         (acos_towardzero_test_data): Likewise.
57379         (acos_downward_test_data): Likewise.
57380         (acos_upward_test_data): Likewise.
57381         (acosh_test_data): Likewise.
57382         (asin_test_data): Likewise.
57383         (asin_tonearest_test_data): Likewise.
57384         (asin_towardzero_test_data): Likewise.
57385         (asin_downward_test_data): Likewise.
57386         (asin_upward_test_data): Likewise.
57387         (asinh_test_data): Likewise.
57388         (atan_test_data): Likewise.
57389         (atanh_test_data): Likewise.
57390         (atan2_test_data): Likewise.
57391         (cabs_test_data): Likewise.
57392         (cacos_test_data): Likewise.
57393         (cacosh_test_data): Likewise.
57394         (carg_test_data): Likewise.
57395         (casin_test_data): Likewise.
57396         (casinh_test_data): Likewise.
57397         (catan_test_data): Likewise.
57398         (catanh_test_data): Likewise.
57399         (cbrt_test_data): Likewise.
57400         (ccos_test_data): Likewise.
57401         (ccosh_test_data): Likewise.
57402         (ceil_test_data): Likewise.
57403         (cexp_test_data): Likewise.
57404         (cimag_test_data): Likewise.
57405         (clog_test_data): Likewise.
57406         (clog10_test_data): Likewise.
57407         (conj_test_data): Likewise.
57408         (copysign_test_data): Likewise.
57409         (cos_test_data): Likewise.
57410         (cos_tonearest_test_data): Likewise.
57411         (cos_towardzero_test_data): Likewise.
57412         (cos_downward_test_data): Likewise.
57413         (cos_upward_test_data): Likewise.
57414         (cosh_test_data): Likewise.
57415         (cosh_tonearest_test_data): Likewise.
57416         (cosh_towardzero_test_data): Likewise.
57417         (cosh_downward_test_data): Likewise.
57418         (cosh_upward_test_data): Likewise.
57419         (cpow_test_data): Likewise.
57420         (cproj_test_data): Likewise.
57421         (creal_test_data): Likewise.
57422         (csin_test_data): Likewise.
57423         (csinh_test_data): Likewise.
57424         (csqrt_test_data): Likewise.
57425         (ctan_test_data): Likewise.
57426         (ctan_tonearest_test_data): Likewise.
57427         (ctan_towardzero_test_data): Likewise.
57428         (ctan_downward_test_data): Likewise.
57429         (ctan_upward_test_data): Likewise.
57430         (ctanh_test_data): Likewise.
57431         (ctanh_tonearest_test_data): Likewise.
57432         (ctanh_towardzero_test_data): Likewise.
57433         (ctanh_downward_test_data): Likewise.
57434         (ctanh_upward_test_data): Likewise.
57435         (erf_test_data): Likewise.
57436         (erfc_test_data): Likewise.
57437         (exp_test_data): Likewise.
57438         (exp_tonearest_test_data): Likewise.
57439         (exp_towardzero_test_data): Likewise.
57440         (exp_downward_test_data): Likewise.
57441         (exp_upward_test_data): Likewise.
57442         (exp10_test_data): Likewise.
57443         (exp2_test_data): Likewise.
57444         (expm1_test_data): Likewise.
57445         (fabs_test_data): Likewise.
57446         (fdim_test_data): Likewise.
57447         (finite_test_data): Likewise.
57448         (floor_test_data): Likewise.
57449         (fma_test_data): Likewise.
57450         (fma_towardzero_test_data): Likewise.
57451         (fma_downward_test_data): Likewise.
57452         (fma_upward_test_data): Likewise.
57453         (fmax_test_data): Likewise.
57454         (fmin_test_data): Likewise.
57455         (fmod_test_data): Likewise.
57456         (fpclassify_test_data): Likewise.
57457         (frexp_test_data): Likewise.
57458         (gamma_test_data): Likewise.
57459         (hypot_test_data): Likewise.
57460         (ilogb_test_data): Likewise.
57461         (isfinite_test_data): Likewise.
57462         (isgreater_test_data): Likewise.
57463         (isgreaterequal_test_data): Likewise.
57464         (isinf_test_data): Likewise.
57465         (isless_test_data): Likewise.
57466         (islessequal_test_data): Likewise.
57467         (islessgreater_test_data): Likewise.
57468         (isnan_test_data): Likewise.
57469         (isnormal_test_data): Likewise.
57470         (issignaling_test_data): Likewise.
57471         (isunordered_test_data): Likewise.
57472         (j0_test_data): Likewise.
57473         (j1_test_data): Likewise.
57474         (jn_test_data): Likewise.
57475         (ldexp_test_data): Likewise.
57476         (lgamma_test_data): Likewise.
57477         (lrint_test_data): Likewise.
57478         (lrint_tonearest_test_data): Likewise.
57479         (lrint_towardzero_test_data): Likewise.
57480         (lrint_downward_test_data): Likewise.
57481         (lrint_upward_test_data): Likewise.
57482         (llrint_test_data): Likewise.
57483         (llrint_tonearest_test_data): Likewise.
57484         (llrint_towardzero_test_data): Likewise.
57485         (llrint_downward_test_data): Likewise.
57486         (llrint_upward_test_data): Likewise.
57487         (log_test_data): Likewise.
57488         (log10_test_data): Likewise.
57489         (log1p_test_data): Likewise.
57490         (log2_test_data): Likewise.
57491         (logb_test_data): Likewise.
57492         (logb_downward_test_data): Likewise.
57493         (lround_test_data): Likewise.
57494         (llround_test_data): Likewise.
57495         (modf_test_data): Likewise.
57496         (nearbyint_test_data): Likewise.
57497         (nextafter_test_data): Likewise.
57498         (nexttoward_test_data): Likewise.
57499         (pow_test_data): Likewise.
57500         (pow_tonearest_test_data): Likewise.
57501         (pow_towardzero_test_data): Likewise.
57502         (pow_downward_test_data): Likewise.
57503         (pow_upward_test_data): Likewise.
57504         (remainder_test_data): Likewise.
57505         (remainder_tonearest_test_data): Likewise.
57506         (remainder_towardzero_test_data): Likewise.
57507         (remainder_downward_test_data): Likewise.
57508         (remainder_upward_test_data): Likewise.
57509         (remquo_test_data): Likewise.
57510         (rint_test_data): Likewise.
57511         (rint_tonearest_test_data): Likewise.
57512         (rint_towardzero_test_data): Likewise.
57513         (rint_downward_test_data): Likewise.
57514         (rint_upward_test_data): Likewise.
57515         (round_test_data): Likewise.
57516         (scalb_test_data): Likewise.
57517         (scalbn_test_data): Likewise.
57518         (scalbln_test_data): Likewise.
57519         (signbit_test_data): Likewise.
57520         (sin_test_data): Likewise.
57521         (sin_tonearest_test_data): Likewise.
57522         (sin_towardzero_test_data): Likewise.
57523         (sin_downward_test_data): Likewise.
57524         (sin_upward_test_data): Likewise.
57525         (sincos_test_data): Likewise.
57526         (sinh_test_data): Likewise.
57527         (sinh_tonearest_test_data): Likewise.
57528         (sinh_towardzero_test_data): Likewise.
57529         (sinh_downward_test_data): Likewise.
57530         (sinh_upward_test_data): Likewise.
57531         (sqrt_test_data): Likewise.
57532         (tan_test_data): Likewise.
57533         (tan_tonearest_test_data): Likewise.
57534         (tan_towardzero_test_data): Likewise.
57535         (tan_downward_test_data): Likewise.
57536         (tan_upward_test_data): Likewise.
57537         (tanh_test_data): Likewise.
57538         (tgamma_test_data): Likewise.
57539         (trunc_test_data): Likewise.
57540         (y0_test_data): Likewise.
57541         (y1_test_data): Likewise.
57542         (yn_test_data): Likewise.
57543         (significand_test_data): Likewise.
57545         * math/gen-libm-test.pl (@functions): Remove variable.
57546         (generate_testfile): Don't handle START and END lines.
57547         * math/libm-test.inc (START): New macro.
57548         (END): Likewise.
57549         (END_COMPLEX): Likewise.
57550         (acos_test): Use END macro without arguments.
57551         (acos_test_tonearest): Likewise.
57552         (acos_test_towardzero): Likewise.
57553         (acos_test_downward): Likewise.
57554         (acos_test_upward): Likewise.
57555         (acosh_test): Likewise.
57556         (asin_test): Likewise.
57557         (asin_test_tonearest): Likewise.
57558         (asin_test_towardzero): Likewise.
57559         (asin_test_downward): Likewise.
57560         (asin_test_upward): Likewise.
57561         (asinh_test): Likewise.
57562         (atan_test): Likewise.
57563         (atanh_test): Likewise.
57564         (atan2_test): Likewise.
57565         (cabs_test): Likewise.
57566         (cacos_test): Use END_COMPLEX macro without arguments.
57567         (cacosh_test): Likewise.
57568         (carg_test): Use END macro without arguments.
57569         (casin_test): Use END_COMPLEX macro without arguments.
57570         (casinh_test): Likewise.
57571         (catan_test): Likewise.
57572         (catanh_test): Likewise.
57573         (cbrt_test): Use END macro without arguments.
57574         (ccos_test): Use END_COMPLEX macro without arguments.
57575         (ccosh_test): Likewise.
57576         (ceil_test): Use END macro without arguments.
57577         (cexp_test): Use END_COMPLEX macro without arguments.
57578         (cimag_test): Use END macro without arguments.
57579         (clog_test): Use END_COMPLEX macro without arguments.
57580         (clog10_test): Likewise.
57581         (conj_test): Likewise.
57582         (copysign_test): Use END macro without arguments.
57583         (cos_test): Likewise.
57584         (cos_test_tonearest): Likewise.
57585         (cos_test_towardzero): Likewise.
57586         (cos_test_downward): Likewise.
57587         (cos_test_upward): Likewise.
57588         (cosh_test): Likewise.
57589         (cosh_test_tonearest): Likewise.
57590         (cosh_test_towardzero): Likewise.
57591         (cosh_test_downward): Likewise.
57592         (cosh_test_upward): Likewise.
57593         (cpow_test): Use END_COMPLEX macro without arguments.
57594         (cproj_test): Likewise.
57595         (creal_test): Use END macro without arguments.
57596         (csin_test): Use END_COMPLEX macro without arguments.
57597         (csinh_test): Likewise.
57598         (csqrt_test): Likewise.
57599         (ctan_test): Likewise.
57600         (ctan_test_tonearest): Likewise.
57601         (ctan_test_towardzero): Likewise.
57602         (ctan_test_downward): Likewise.
57603         (ctan_test_upward): Likewise.
57604         (ctanh_test): Likewise.
57605         (ctanh_test_tonearest): Likewise.
57606         (ctanh_test_towardzero): Likewise.
57607         (ctanh_test_downward): Likewise.
57608         (ctanh_test_upward): Likewise.
57609         (erf_test): Use END macro without arguments.
57610         (erfc_test): Likewise.
57611         (exp_test): Likewise.
57612         (exp_test_tonearest): Likewise.
57613         (exp_test_towardzero): Likewise.
57614         (exp_test_downward): Likewise.
57615         (exp_test_upward): Likewise.
57616         (exp10_test): Likewise.
57617         (exp2_test): Likewise.
57618         (expm1_test): Likewise.
57619         (fabs_test): Likewise.
57620         (fdim_test): Likewise.
57621         (finite_test): Likewise.
57622         (floor_test): Likewise.
57623         (fma_test): Likewise.
57624         (fma_test_towardzero): Likewise.
57625         (fma_test_downward): Likewise.
57626         (fma_test_upward): Likewise.
57627         (fmax_test): Likewise.
57628         (fmin_test): Likewise.
57629         (fmod_test): Likewise.
57630         (fpclassify_test): Likewise.
57631         (frexp_test): Likewise.
57632         (gamma_test): Likewise.
57633         (hypot_test): Likewise.
57634         (ilogb_test): Likewise.
57635         (isfinite_test): Likewise.
57636         (isgreater_test): Likewise.
57637         (isgreaterequal_test): Likewise.
57638         (isinf_test): Likewise.
57639         (isless_test): Likewise.
57640         (islessequal_test): Likewise.
57641         (islessgreater_test): Likewise.
57642         (isnan_test): Likewise.
57643         (isnormal_test): Likewise.
57644         (issignaling_test): Likewise.
57645         (isunordered_test): Likewise.
57646         (j0_test): Likewise.
57647         (j1_test): Likewise.
57648         (jn_test): Likewise.
57649         (ldexp_test): Likewise.
57650         (lgamma_test): Likewise.
57651         (lrint_test): Likewise.
57652         (lrint_test_tonearest): Likewise.
57653         (lrint_test_towardzero): Likewise.
57654         (lrint_test_downward): Likewise.
57655         (lrint_test_upward): Likewise.
57656         (llrint_test): Likewise.
57657         (llrint_test_tonearest): Likewise.
57658         (llrint_test_towardzero): Likewise.
57659         (llrint_test_downward): Likewise.
57660         (llrint_test_upward): Likewise.
57661         (log_test): Likewise.
57662         (log10_test): Likewise.
57663         (log1p_test): Likewise.
57664         (log2_test): Likewise.
57665         (logb_test): Likewise.
57666         (logb_test_downward): Likewise.
57667         (lround_test): Likewise.
57668         (llround_test): Likewise.
57669         (modf_test): Likewise.
57670         (nearbyint_test): Likewise.
57671         (nextafter_test): Likewise.
57672         (nexttoward_test): Likewise.
57673         (pow_test): Likewise.
57674         (pow_test_tonearest): Likewise.
57675         (pow_test_towardzero): Likewise.
57676         (pow_test_downward): Likewise.
57677         (pow_test_upward): Likewise.
57678         (remainder_test): Likewise.
57679         (remainder_test_tonearest): Likewise.
57680         (remainder_test_towardzero): Likewise.
57681         (remainder_test_downward): Likewise.
57682         (remainder_test_upward): Likewise.
57683         (remquo_test): Likewise.
57684         (rint_test): Likewise.
57685         (rint_test_tonearest): Likewise.
57686         (rint_test_towardzero): Likewise.
57687         (rint_test_downward): Likewise.
57688         (rint_test_upward): Likewise.
57689         (round_test): Likewise.
57690         (scalb_test): Likewise.
57691         (scalbn_test): Likewise.
57692         (scalbln_test): Likewise.
57693         (signbit_test): Likewise.
57694         (sin_test): Likewise.
57695         (sin_test_tonearest): Likewise.
57696         (sin_test_towardzero): Likewise.
57697         (sin_test_downward): Likewise.
57698         (sin_test_upward): Likewise.
57699         (sincos_test): Likewise.
57700         (sinh_test): Likewise.
57701         (sinh_test_tonearest): Likewise.
57702         (sinh_test_towardzero): Likewise.
57703         (sinh_test_downward): Likewise.
57704         (sinh_test_upward): Likewise.
57705         (sqrt_test): Likewise.
57706         (tan_test): Likewise.
57707         (tan_test_tonearest): Likewise.
57708         (tan_test_towardzero): Likewise.
57709         (tan_test_downward): Likewise.
57710         (tan_test_upward): Likewise.
57711         (tanh_test): Likewise.
57712         (tgamma_test): Likewise.
57713         (trunc_test): Likewise.
57714         (y0_test): Likewise.
57715         (y1_test): Likewise.
57716         (yn_test): Likewise.
57717         (significand_test): Likewise.
57719 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
57721         [BZ #15381]
57722         * libio/genops.c (_IO_no_init): Initialize wide struct info.
57724 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
57726         [BZ #14894]
57727         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
57728         __ppc_mdoio and __ppc_mdoom.
57729         * manual/platform.texi: Document new functions __ppc_yield,
57730         __ppc_mdoio and __ppc_mdoom.
57732 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
57734         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
57735         (main): Mention "tls" pseudo-hwcap is legacy.
57736         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
57738 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
57740         * math/gen-libm-test.pl (parse_args): Output only string of
57741         arguments as text for test name, not full call or descriptions of
57742         tests for extra outputs.
57743         (generate_testfile): Do not pass function name to parse_args.
57744         Generate this_func variable from START.
57745         * math/libm-test.inc (struct test_f_f_data): Rename test_name
57746         field to arg_str.
57747         (struct test_ff_f_data): Likewise.
57748         (test_ff_f_data_nexttoward): Likewise.
57749         (struct test_fi_f_data): Likewise.
57750         (struct test_fl_f_data): Likewise.
57751         (struct test_if_f_data): Likewise.
57752         (struct test_fff_f_data): Likewise.
57753         (struct test_c_f_data): Likewise.
57754         (struct test_f_f1_data): Likewise.  Remove field extra_name.
57755         (struct test_fF_f1_data): Likewise.
57756         (struct test_ffI_f1_data): Likewise.
57757         (struct test_c_c_data): Rename test_name field to arg_str.
57758         (struct test_cc_c_data): Likewise.
57759         (struct test_f_i_data): Likewise.
57760         (struct test_ff_i_data): Likewise.
57761         (struct test_f_l_data): Likewise.
57762         (struct test_f_L_data): Likewise.
57763         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
57764         and extra2_name.
57765         (COMMON_TEST_SETUP): New macro.
57766         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
57767         (COMMON_TEST_CLEANUP): Likewise.
57768         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
57769         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
57770         macros.
57771         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
57772         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
57773         macros.
57774         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
57775         (RUN_TEST_fff_f): Take argument string.  Call new setup and
57776         cleanup macros.
57777         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
57778         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
57779         macros.
57780         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
57781         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
57782         macros.
57783         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
57784         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
57785         cleanup macros.
57786         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
57787         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
57788         cleanup macros.
57789         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
57790         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
57791         cleanup macros.
57792         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
57793         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
57794         macros.
57795         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
57796         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
57797         macros.
57798         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
57799         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
57800         macros.
57801         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
57802         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
57803         cleanup macros.
57804         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
57805         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
57806         cleanup macros.
57807         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
57808         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
57809         macros.
57810         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
57811         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
57812         cleanup macros.
57813         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
57814         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
57815         macros.
57816         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
57817         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
57818         macros.
57819         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
57820         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
57821         cleanup macros.
57822         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
57824 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
57826         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
57827         to _sifields.sigfault.
57828         (si_addr_lsb): Define new macro.
57829         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
57830         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57831         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
57833 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
57835         [BZ #15441]
57836         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
57837         returns -1.
57838         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
57839         null return -1.
57840         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
57841         loading the domain.
57843 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
57845         * math/gen-libm-test.pl (parse_args): Do not include expected
57846         result in test name.
57847         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
57848         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57849         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
57850         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57851         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
57852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57854 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
57856         * benchtests/Makefile: Sort function entries.
57858         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
57859         tanh, asinh, acosh, atanh.
57860         * benchtests/acos-inputs: New file.
57861         * benchtests/acosh-inputs: New file.
57862         * benchtests/asin-inputs: New file.
57863         * benchtests/asinh-inputs: New file.
57864         * benchtests/atanh-inputs: New file.
57865         * benchtests/cosh-inputs: New file.
57866         * benchtests/log-inputs: New file.
57867         * benchtests/sinh-inputs: New file.
57868         * benchtests/tanh-inputs: New file.
57870 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
57872         [BZ #15339]
57873         * posix/tst-getaddrinfo4.c: New test.
57874         * posix/Makefile (tests): Add it.
57876 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57878         [BZ #15339]
57879         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
57880         when no services were used.
57881         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
57882         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
57884 2013-05-21  Andreas Schwab  <schwab@suse.de>
57886         [BZ #15014]
57887         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
57888         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
57889         successful.
57890         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
57891         redundant variable declarations and reallocation of buffer when
57892         parsing as IPv6 address.  Always set NSS status when called from
57893         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
57894         buffer too small.  Correct computation of needed size.
57895         * nss/Makefile (tests): Add test-digits-dots.
57896         * nss/test-digits-dots.c: New test.
57898 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57900         * benchtests/Makefile: Remove instructions for adding
57901         benchmark tests.
57902         * benchtests/README: New file to explain how to execute and
57903         enhance the benchmark tests.
57905 2013-05-21  Andreas Schwab  <schwab@suse.de>
57907         [BZ #15493]
57908         * setjmp/Makefile (tests): Add tst-sigsetjmp.
57909         * setjmp/tst-sigsetjmp.c: New test.
57911 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
57913         * sysdeps/x86_64/memset.S (memset): New implementation.
57914         (__bzero): Likewise.
57915         (__memset_tail): New function.
57917 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
57919         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
57920         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
57921         __memcpy_sse2_unaligned ifunc selection.
57922         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
57923         Add memcpy-sse2-unaligned.S.
57924         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
57925         Add: __memcpy_sse2_unaligned.
57927 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
57929         [BZ #15490]
57930         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
57931         math_force_eval before restoring floating-point envrionment.
57932         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
57933         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
57934         Likewise.
57935         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
57936         <math_private.h>.
57937         (__nearbyintl): Use math_force_eval before restoring
57938         floating-point environment.
57939         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
57941         * math/gen-libm-test.pl (special_functions): Remove.
57942         (parse_args): Don't handle TEST_extra.  Handle functions with no
57943         return value.
57944         * math/libm-test.inc (struct test_sincos_data): Replace with
57945         struct test_fFF_11_data.
57946         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
57947         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
57948         (sincos_test_data): Change element type to struct
57949         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
57950         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
57951         RUN_TEST_LOOP_sincos.
57952         * math/README.libm-test: Don't mention special handling of
57953         individual functions.
57954         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
57955         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57956         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
57957         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57958         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
57959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57961         * math/gen-libm-test.pl (get_variable): Remove function.
57962         (parse_args): Don't show pointer parameters to call in test
57963         names.  Use "extra output N" in test names for extra outputs
57964         rather than naming variables.
57966 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
57968         [BZ #15488]
57969         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
57970         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
57971         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
57972         double tests.
57973         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
57974         disable.
57975         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
57976         check_long_double.
57978         * math/gen-libm-test.pl (@tests): Remove variable.
57979         ($count): Likewise.
57980         (new_test): Remove function.
57981         (show_exceptions): New function.
57982         (special_functions): Use show_exceptions instead of new_test.
57983         (parse_args): Likewise.
57984         (generate_testfile): Pass only function name in generated call to
57985         print_max_error or print_complex_max_error.
57986         (get_ulps): Do not handle complex tests specially.
57987         (output_test): Rename to ...
57988         (get_all_ulps_for_test): ... this.  Return a string rather than
57989         printing to a file.  Require ulps to be present.
57990         (output_ulps): Generate arrays rather than #defines.
57991         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
57992         (struct ulp_data): New type.
57993         (BUILD_COMPLEX_ULP): Remove macro.
57994         (compare_ulp_data): New function.
57995         (find_ulps): Likewise.
57996         (find_test_ulps): Likewise.
57997         (find_function_ulps): Likewise.
57998         (find_complex_function_ulps): Likewise.
57999         (print_max_error): Determine allowed ulps using
58000         find_function_ulps.
58001         (print_complex_max_error): Determine allowed ulps using
58002         find_complex_function_ulps.
58003         (check_float_internal): Determine max ulps using find_test_ulps.
58004         (check_float): Do not take max_ulp parameter.  Update call to
58005         check_float_internal.
58006         (check_complex): Likewise.
58007         (check_int): Do not take max_ulp parameter.
58008         (check_long): Likewise.
58009         (check_bool): Likewise.
58010         (check_longlong): Likewise.
58011         (struct test_f_f_data): Remove max_ulp field.
58012         (struct test_ff_f_data): Likewise.
58013         (struct test_ff_f_data_nexttoward): Likewise.
58014         (struct test_fi_f_data): Likewise.
58015         (struct test_fl_f_data): Likewise.
58016         (struct test_if_f_data): Likewise.
58017         (struct test_fff_f_data): Likewise.
58018         (struct test_c_f_data): Likewise.
58019         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
58020         (struct test_fF_f1_data): Likewise.
58021         (struct test_ffI_f1_data): Likewise.
58022         (struct test_c_c_data): Remove max_ulp field.
58023         (struct test_cc_c_data): Likewise.
58024         (struct test_f_i_data): Likewise.
58025         (struct test_ff_i_data): Likewise.
58026         (struct test_f_l_data): Likewise.
58027         (struct test_f_L_data): Likewise.
58028         (struct test_sincos_data): Likewise.
58029         (RUN_TEST_f_f): Do not handle ulps.
58030         (RUN_TEST_LOOP_f_f): Likewise.
58031         (RUN_TEST_2_f): Likewise.
58032         (RUN_TEST_LOOP_2_f): Likewise.
58033         (RUN_TEST_fff_f): Likewise.
58034         (RUN_TEST_LOOP_fff_f): Likewise.
58035         (RUN_TEST_c_f): Likewise.
58036         (RUN_TEST_LOOP_c_f): Likewise.
58037         (RUN_TEST_f_f1): Likewise.
58038         (RUN_TEST_LOOP_f_f1): Likewise.
58039         (RUN_TEST_fF_f1): Likewise.
58040         (RUN_TEST_LOOP_fF_f1): Likewise.
58041         (RUN_TEST_fI_f1): Likewise.
58042         (RUN_TEST_LOOP_fI_f1): Likewise.
58043         (RUN_TEST_ffI_f1): Likewise.
58044         (RUN_TEST_LOOP_ffI_f1): Likewise.
58045         (RUN_TEST_c_c): Likewise.
58046         (RUN_TEST_LOOP_c_c): Likewise.
58047         (RUN_TEST_cc_c): Likewise.
58048         (RUN_TEST_LOOP_cc_c): Likewise.
58049         (RUN_TEST_f_i): Likewise.
58050         (RUN_TEST_LOOP_f_i): Likewise.
58051         (RUN_TEST_f_i_tg): Likewise.
58052         (RUN_TEST_LOOP_f_i_tg): Likewise.
58053         (RUN_TEST_ff_i_tg): Likewise.
58054         (RUN_TEST_LOOP_ff_i_tg): Likewise.
58055         (RUN_TEST_f_b): Likewise.
58056         (RUN_TEST_LOOP_f_b): Likewise.
58057         (RUN_TEST_f_b_tg): Likewise.
58058         (RUN_TEST_LOOP_f_b_tg): Likewise.
58059         (RUN_TEST_f_l): Likewise.
58060         (RUN_TEST_LOOP_f_l): Likewise.
58061         (RUN_TEST_f_L): Likewise.
58062         (RUN_TEST_LOOP_f_L): Likewise.
58063         (RUN_TEST_sincos): Likewise.
58064         (RUN_TEST_LOOP_sincos): Likewise.
58066 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
58068         [BZ #15480]
58069         [BZ #15485]
58070         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
58071         main case of finite arguments, set rounding mode to FE_TONEAREST
58072         and discard exceptions.
58073         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
58074         exceptions.
58075         (remainder_tonearest_test_data): New variable.
58076         (remainder_test_tonearest): New function.
58077         (remainder_towardzero_test_data): New variable.
58078         (remainder_test_towardzero): New function.
58079         (remainder_downward_test_data): New variable.
58080         (remainder_test_downward): New function.
58081         (remainder_upward_test_data): New variable.
58082         (remainder_test_upward): New function.
58083         (main): Call the new test functions.
58085         * math/libm-test.inc (struct test_f_f1_data): Remove field
58086         extra_init.
58087         (struct test_fF_f1_data): Likewise.
58088         (struct test_ffI_f1_data): Likewise.
58089         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
58090         based on value of EXTRA_EXPECTED.
58091         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
58092         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
58093         EXTRA_VAR based on value of EXTRA_EXPECTED.
58094         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
58095         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
58096         EXTRA_VAR based on value of EXTRA_EXPECTED.
58097         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
58098         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
58099         EXTRA_VAR based on value of EXTRA_EXPECTED.
58100         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
58101         * math/gen-libm-test.pl (parse_args): Don't output initializers
58102         for extra output values.
58104         * math/libm-test.inc (check_int): Expect result to be exactly
58105         equal to expected value and do not handle ulps.
58106         (check_long): Likewise.
58107         (check_longlong): Likewise.
58109         * math/libm-test.inc (ceil_test_data): Test for "inexact"
58110         exceptions.
58111         (cimag_test_data): Likewise.
58112         (conj_test_data): Likewise.
58113         (copysign_test_data): Likewise.
58114         (cproj_test_data): Likewise.
58115         (creal_test_data): Likewise.
58116         (fabs_test_data): Likewise.
58117         (fdim_test_data): Likewise.
58118         (finite_test_data): Likewise.
58119         (floor_test_data): Likewise.
58120         (fmax_test_data): Likewise.
58121         (fmin_test_data): Likewise.
58122         (fmod_test_data): Likewise.
58123         (fpclassify_test_data): Likewise.
58124         (frexp_test_data): Likewise.
58125         (ilogb_test_data): Likewise.
58126         (isfinite_test_data): Likewise.
58127         (isgreater_test_data): Likewise.
58128         (isgreaterequal_test_data): Likewise.
58129         (isinf_test_data): Likewise.
58130         (isless_test_data): Likewise.
58131         (islessequal_test_data): Likewise.
58132         (islessgreater_test_data): Likewise.
58133         (isnan_test_data): Likewise.
58134         (isnormal_test_data): Likewise.
58135         (issignaling_test_data): Likewise.
58136         (isunordered_test_data): Likewise.
58137         (ldexp_test_data): Likewise.
58138         (lrint_test_data): Likewise.
58139         (lrint_test_data) [TEST_FLOAT]: Disable one test.
58140         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
58141         (lrint_tonearest_test_data): Test for "inexact" exceptions.
58142         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
58143         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
58144         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
58145         test input.
58146         (lrint_towardzero_test_data): Test for "inexact" exceptions.
58147         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
58148         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
58149         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
58150         that test input.
58151         (lrint_downward_test_data): Test for "inexact" exceptions.
58152         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
58153         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
58154         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
58155         test input.
58156         (lrint_upward_test_data): Test for "inexact" exceptions.
58157         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
58158         test input.
58159         (llrint_test_data): Test for "inexact" exceptions.
58160         (llrint_test_data) [TEST_FLOAT]: Disable one test.
58161         (llrint_tonearest_test_data): Test for "inexact" exceptions.
58162         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
58163         (llrint_towardzero_test_data): Test for "inexact" exceptions.
58164         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
58165         (llrint_downward_test_data): Test for "inexact" exceptions.
58166         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
58167         (llrint_upward_test_data): Test for "inexact" exceptions.
58168         (logb_test_data): Likewise.
58169         (logb_downward_test_data): Likewise.
58170         (nextafter_test_data): Likewise.
58171         (nexttoward_test_data): Likewise.
58172         (remainder_test_data): Likewise.
58173         (remquo_test_data): Likewise.
58174         (scalbn_test_data): Likewise.
58175         (scalbln_test_data): Likewise.
58176         (signbit_test_data): Likewise.
58177         (sqrt_test_data): Likewise.
58178         (significand_test_data): Likewise.
58180 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
58182         [BZ #15424]
58183         * benchtests/bench-modf.c (struct args): Mark arg0 as
58184         volatile.
58185         * scripts/bench.pl: Mark members of struct args as volatile.
58187 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58189         [BZ # 15497]
58190         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
58191         negative infinity on POWER6 or lower.
58192         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
58194 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
58196         [BZ #15442]
58197         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
58198         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
58199         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
58200         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
58201         (_FP_SETQNAN): New macro.
58202         (_FP_SETQNAN_SEMIRAW): Likewise.
58203         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
58204         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
58205         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
58206         (FP_EXTEND): Use _FP_FRAC_SNANP.
58207         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
58208         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
58209         into account.
58210         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
58211         New macro.
58212         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
58213         Likewise.
58215 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
58217         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
58218         with DIVIDE_BY_ZERO_EXCEPTION.
58219         (gamma_test_data): Likewise.
58220         (lgamma_test_data): Likewise.
58221         (log_test_data): Likewise.
58222         (log10_test_data): Likewise.
58223         (log2_test_data): Likewise.
58224         (tgamma_test_data): Likewise.
58226         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
58227         (acos_test_tonearest): Likewise.
58228         (acos_test_towardzero): Likewise.
58229         (acos_test_downward): Likewise.
58230         (acos_test_upward): Likewise.
58231         (acosh_test): Likewise.
58232         (asin_test): Likewise.
58233         (asin_test_tonearest): Likewise.
58234         (asin_test_towardzero): Likewise.
58235         (asin_test_downward): Likewise.
58236         (asin_test_upward): Likewise.
58237         (asinh_test): Likewise.
58238         (atan_test): Likewise.
58239         (atanh_test): Likewise.
58240         (atan2_test): Likewise.
58241         (cabs_test): Likewise.
58242         (cacos_test): Likewise.
58243         (cacosh_test): Likewise.
58244         (casin_test): Likewise.
58245         (casinh_test): Likewise.
58246         (catan_test): Likewise.
58247         (catanh_test): Likewise.
58248         (cbrt_test): Likewise.
58249         (ccos_test): Likewise.
58250         (ccosh_test): Likewise.
58251         (cexp_test): Likewise.
58252         (clog_test): Likewise.
58253         (clog10_test): Likewise.
58254         (cos_test): Likewise.
58255         (cos_test_tonearest): Likewise.
58256         (cos_test_towardzero): Likewise.
58257         (cos_test_downward): Likewise.
58258         (cos_test_upward): Likewise.
58259         (cosh_test): Likewise.
58260         (cosh_test_tonearest): Likewise.
58261         (cosh_test_towardzero): Likewise.
58262         (cosh_test_downward): Likewise.
58263         (cosh_test_upward): Likewise.
58264         (cpow_test): Likewise.
58265         (csin_test): Likewise.
58266         (csinh_test): Likewise.
58267         (csqrt_test): Likewise.
58268         (ctan_test): Likewise.
58269         (ctan_test_tonearest): Likewise.
58270         (ctan_test_towardzero): Likewise.
58271         (ctan_test_downward): Likewise.
58272         (ctan_test_upward): Likewise.
58273         (ctanh_test): Likewise.
58274         (ctanh_test_tonearest): Likewise.
58275         (ctanh_test_towardzero): Likewise.
58276         (ctanh_test_downward): Likewise.
58277         (ctanh_test_upward): Likewise.
58278         (erf_test): Likewise.
58279         (erfc_test): Likewise.
58280         (exp_test): Likewise.
58281         (exp_test_tonearest): Likewise.
58282         (exp_test_towardzero): Likewise.
58283         (exp_test_downward): Likewise.
58284         (exp_test_upward): Likewise.
58285         (exp10_test): Likewise.
58286         (exp2_test): Likewise.
58287         (expm1_test): Likewise.
58288         (fmod_test): Likewise.
58289         (gamma_test): Likewise.
58290         (hypot_test): Likewise.
58291         (j0_test): Likewise.
58292         (j1_test): Likewise.
58293         (jn_test): Likewise.
58294         (lgamma_test): Likewise.
58295         (log_test): Likewise.
58296         (log10_test): Likewise.
58297         (log1p_test): Likewise.
58298         (log2_test): Likewise.
58299         (logb_test_downward): Likewise.
58300         (pow_test): Likewise.
58301         (pow_test_tonearest): Likewise.
58302         (pow_test_towardzero): Likewise.
58303         (pow_test_downward): Likewise.
58304         (pow_test_upward): Likewise.
58305         (remainder_test): Likewise.
58306         (remquo_test): Likewise.
58307         (sin_test): Likewise.
58308         (sin_test_tonearest): Likewise.
58309         (sin_test_towardzero): Likewise.
58310         (sin_test_downward): Likewise.
58311         (sin_test_upward): Likewise.
58312         (sincos_test): Likewise.
58313         (sinh_test): Likewise.
58314         (sinh_test_tonearest): Likewise.
58315         (sinh_test_towardzero): Likewise.
58316         (sinh_test_downward): Likewise.
58317         (sinh_test_upward): Likewise.
58318         (sqrt_test): Likewise.
58319         (tan_test): Likewise.
58320         (tan_test_tonearest): Likewise.
58321         (tan_test_towardzero): Likewise.
58322         (tan_test_downward): Likewise.
58323         (tan_test_upward): Likewise.
58324         (tanh_test): Likewise.
58325         (tgamma_test): Likewise.
58326         (y0_test): Likewise.
58327         (y1_test): Likewise.
58328         (yn_test): Likewise.
58330         * math/gen-libm-test.pl (adjust_arg): Remove function.
58331         (special_function): Remove argument $in_func.  Only handle
58332         generating output for tables of tests, not inside functions.
58333         (parse_args): Likewise.
58334         (generate_testfile): Remove variable $in_func.  Update call to
58335         parse_args.
58336         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
58337         (MINUS_ZERO_INIT): Rename macro to minus_zero.
58338         (PLUS_INFTY_INIT): Rename macro to plus_infty.
58339         (MINUS_INFTY_INIT): Rename macro to minus_infty.
58340         (QNAN_VALUE_INIT): Rename macro to qnan_value.
58341         (MAX_VALUE_INIT): Rename macro to max_value.
58342         (MIN_VALUE_INIT): Rename macro to min_value.
58343         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
58344         (plus_zero): Remove variable.
58345         (minus_zero): Likewise.
58346         (plus_infty): Likewise.
58347         (minus_infty): Likewise.
58348         (qnan_value): Likewise.
58349         (max_value): Likewise.
58350         (min_value): Likewise.
58351         (min_subnorm_value): Likewise.
58353 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58355         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
58356         uint64_t or uint32_t usage.
58357         * crypt/sha256-block.c: Likewise.
58358         * crypt/sha256-crypt.c: Likewise.
58359         * crypt/sha256.c: Likewise.
58360         * crypt/sha512-block.c: Likewise.
58361         * crypt/sha512-crypt.c: Likewise.
58362         * crypt/sha512.c: Likewise.
58363         * debug/backtrace-tst.c: Likewise.
58364         * debug/pcprofiledump.c: Likewise.
58365         * elf/cache.c: Likewise.
58366         * elf/dl-cache.c: Likewise.
58367         * elf/dl-misc.c: Likewise.
58368         * elf/dl-profile.c: Likewise.
58369         * elf/dl-support.c: Likewise.
58370         * elf/ldconfig.c: Likewise.
58371         * elf/sprof.c: Likewise.
58372         * iconv/dummy-repertoire.c: Likewise.
58373         * iconv/iconv_charmap.c: Likewise.
58374         * iconv/skeleton.c: Likewise.
58375         * iconvdata/8bit-generic.c: Likewise.
58376         * iconvdata/cp737.h: Likewise.
58377         * iconvdata/cp775.h: Likewise.
58378         * iconvdata/ibm1008.h: Likewise.
58379         * iconvdata/ibm1025.h: Likewise.
58380         * iconvdata/ibm1046.h: Likewise.
58381         * iconvdata/ibm1097.h: Likewise.
58382         * iconvdata/ibm1112.h: Likewise.
58383         * iconvdata/ibm1122.h: Likewise.
58384         * iconvdata/ibm1123.h: Likewise.
58385         * iconvdata/ibm1124.h: Likewise.
58386         * iconvdata/ibm1129.h: Likewise.
58387         * iconvdata/ibm1130.h: Likewise.
58388         * iconvdata/ibm1132.h: Likewise.
58389         * iconvdata/ibm1133.h: Likewise.
58390         * iconvdata/ibm1137.h: Likewise.
58391         * iconvdata/ibm1140.h: Likewise.
58392         * iconvdata/ibm1141.h: Likewise.
58393         * iconvdata/ibm1142.h: Likewise.
58394         * iconvdata/ibm1143.h: Likewise.
58395         * iconvdata/ibm1144.h: Likewise.
58396         * iconvdata/ibm1145.h: Likewise.
58397         * iconvdata/ibm1146.h: Likewise.
58398         * iconvdata/ibm1147.h: Likewise.
58399         * iconvdata/ibm1148.h: Likewise.
58400         * iconvdata/ibm1149.h: Likewise.
58401         * iconvdata/ibm1153.h: Likewise.
58402         * iconvdata/ibm1154.h: Likewise.
58403         * iconvdata/ibm1155.h: Likewise.
58404         * iconvdata/ibm1156.h: Likewise.
58405         * iconvdata/ibm1157.h: Likewise.
58406         * iconvdata/ibm1158.h: Likewise.
58407         * iconvdata/ibm1160.h: Likewise.
58408         * iconvdata/ibm1161.h: Likewise.
58409         * iconvdata/ibm1162.h: Likewise.
58410         * iconvdata/ibm1163.h: Likewise.
58411         * iconvdata/ibm1164.h: Likewise.
58412         * iconvdata/ibm1166.h: Likewise.
58413         * iconvdata/ibm1167.h: Likewise.
58414         * iconvdata/ibm12712.h: Likewise.
58415         * iconvdata/ibm1390.h: Likewise.
58416         * iconvdata/ibm1399.h: Likewise.
58417         * iconvdata/ibm16804.h: Likewise.
58418         * iconvdata/ibm4517.h: Likewise.
58419         * iconvdata/ibm4899.h: Likewise.
58420         * iconvdata/ibm4909.h: Likewise.
58421         * iconvdata/ibm4971.h: Likewise.
58422         * iconvdata/ibm5347.h: Likewise.
58423         * iconvdata/ibm803.h: Likewise.
58424         * iconvdata/ibm856.h: Likewise.
58425         * iconvdata/ibm901.h: Likewise.
58426         * iconvdata/ibm902.h: Likewise.
58427         * iconvdata/ibm9030.h: Likewise.
58428         * iconvdata/ibm9066.h: Likewise.
58429         * iconvdata/ibm921.h: Likewise.
58430         * iconvdata/ibm922.h: Likewise.
58431         * iconvdata/ibm9448.h: Likewise.
58432         * iconvdata/isiri-3342.h: Likewise.
58433         * iconvdata/jis0201.h: Likewise.
58434         * include/link.h: Likewise.
58435         * include/netdb.h: Likewise.
58436         * inet/check_native.c: Likewise.
58437         * inet/check_pf.c: Likewise.
58438         * inet/getipv4sourcefilter.c: Likewise.
58439         * inet/getnameinfo.c: Likewise.
58440         * inet/getsourcefilter.c: Likewise.
58441         * inet/htonl.c: Likewise.
58442         * inet/setipv4sourcefilter.c: Likewise.
58443         * inet/setsourcefilter.c: Likewise.
58444         * inet/test-inet6_opt.c: Likewise.
58445         * inet/tst-network.c: Likewise.
58446         * locale/C-collate.c: Likewise.
58447         * locale/C-ctype.c: Likewise.
58448         * locale/C-time.c: Likewise.
58449         * locale/C-translit.h: Likewise.
58450         * locale/loadarchive.c: Likewise.
58451         * locale/programs/3level.h: Likewise.
58452         * locale/programs/charmap.c: Likewise.
58453         * locale/programs/charmap.h: Likewise.
58454         * locale/programs/ld-address.c: Likewise.
58455         * locale/programs/ld-collate.c: Likewise.
58456         * locale/programs/ld-ctype.c: Likewise.
58457         * locale/programs/ld-identification.c: Likewise.
58458         * locale/programs/ld-measurement.c: Likewise.
58459         * locale/programs/ld-messages.c: Likewise.
58460         * locale/programs/ld-monetary.c: Likewise.
58461         * locale/programs/ld-name.c: Likewise.
58462         * locale/programs/ld-numeric.c: Likewise.
58463         * locale/programs/ld-paper.c: Likewise.
58464         * locale/programs/ld-telephone.c: Likewise.
58465         * locale/programs/ld-time.c: Likewise.
58466         * locale/programs/linereader.c: Likewise.
58467         * locale/programs/locale.c: Likewise.
58468         * locale/programs/locarchive.c: Likewise.
58469         * locale/programs/locfile.h: Likewise.
58470         * locale/programs/repertoire.c: Likewise.
58471         * locale/programs/simple-hash.c: Likewise.
58472         * locale/programs/simple-hash.h: Likewise.
58473         * malloc/memusage.c: Likewise.
58474         * malloc/memusagestat.c: Likewise.
58475         * nis/nis_defaults.c: Likewise.
58476         * nis/nis_hash.c: Likewise.
58477         * nis/nis_print.c: Likewise.
58478         * nis/nis_xdr.c: Likewise.
58479         * nscd/connections.c: Likewise.
58480         * nscd/hstcache.c: Likewise.
58481         * nscd/nscd_gethst_r.c: Likewise.
58482         * nscd/nscd_getserv_r.c: Likewise.
58483         * nscd/nscd_helper.c: Likewise.
58484         * nscd/servicescache.c: Likewise.
58485         * nss/makedb.c: Likewise.
58486         * nss/nss_db/db-XXX.c: Likewise.
58487         * nss/nss_db/db-initgroups.c: Likewise.
58488         * nss/nss_db/db-netgrp.c: Likewise.
58489         * nss/nss_files/files-network.c: Likewise.
58490         * nss/nss_files/files-parse.c: Likewise.
58491         * posix/bug-regex5.c: Likewise.
58492         * posix/fnmatch_loop.c: Likewise.
58493         * posix/regcomp.c: Likewise.
58494         * posix/regexec.c: Likewise.
58495         * posix/tst-rfc3484-2.c: Likewise.
58496         * posix/tst-rfc3484-3.c: Likewise.
58497         * posix/tst-rfc3484.c: Likewise.
58498         * resolv/nss_dns/dns-canon.c: Likewise.
58499         * resolv/nss_dns/dns-network.c: Likewise.
58500         * resolv/res_init.c: Likewise.
58501         * resolv/res_mkquery.c: Likewise.
58502         * resolv/tst-aton.c: Likewise.
58503         * stdlib/cxa_atexit.c: Likewise.
58504         * stdlib/cxa_finalize.c: Likewise.
58505         * stdlib/gen-fpioconst.c: Likewise.
58506         * stdlib/strtol_l.c: Likewise.
58507         * string/tst-endian.c: Likewise.
58508         * sunrpc/auth_des.c: Likewise.
58509         * sunrpc/clnt_udp.c: Likewise.
58510         * sunrpc/rtime.c: Likewise.
58511         * sunrpc/svcauth_des.c: Likewise.
58512         * sunrpc/xdr.c: Likewise.
58513         * sunrpc/xdr_intXX_t.c: Likewise.
58514         * sunrpc/xdr_rec.c: Likewise.
58515         * sysdeps/generic/ldconfig.h: Likewise.
58516         * sysdeps/generic/ldsodefs.h: Likewise.
58517         * sysdeps/generic/memusage.h: Likewise.
58518         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
58519         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
58520         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
58521         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
58522         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58523         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
58524         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
58525         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
58526         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
58527         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
58528         * sysdeps/posix/getaddrinfo.c: Likewise.
58529         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58530         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58531         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
58532         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58533         * sysdeps/powerpc/test-gettimebase.c: Likewise.
58534         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
58535         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
58536         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
58537         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
58538         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
58539         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
58540         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
58541         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
58542         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
58543         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
58544         * sysdeps/x86_64/dl-tls.h: Likewise.
58545         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
58546         * time/alt_digit.c: Likewise.
58547         * time/era.c: Likewise.
58548         * wcsmbs/tst-c16c32-1.c: Likewise.
58550 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
58552         * math/libm-test.inc (struct test_sincos_data): New type.
58553         (RUN_TEST_LOOP_sincos): New macro.
58554         (sincos_test_data): New variable.
58555         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
58557 2013-05-16  Richard Henderson  <rth@redhat.com>
58559         * math/atest-exp2.c (LIMB64): New macro.
58560         (CONSTSZ): New macro.
58561         (mp_exp1, mp_exp_m1, mp_log2): New variables.
58562         (hexdig): Move ...
58563         (print_mpn_fp): ... to function scope.
58564         (read_mpn_hex): Remove.
58565         (get_log2): Remove.
58566         (exp2_mpn): Use mp_log2.
58567         (main): Use mp_exp1.
58569 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
58571         * math/libm-test.inc: Remove comment about not testing "inexact"
58572         exceptions.
58573         (INEXACT_EXCEPTION): New macro.
58574         (NO_INEXACT_EXCEPTION): Likewise.
58575         (INVALID_EXCEPTION_OK): Update value.
58576         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
58577         (OVERFLOW_EXCEPTION_OK): Likewise.
58578         (UNDERFLOW_EXCEPTION_OK): Likewise.
58579         (IGNORE_ZERO_INF_SIGN): Likewise.
58580         (ERRNO_UNCHANGED): Likewise.
58581         (ERRNO_EDOM): Likewise.
58582         (ERRNO_ERANGE): Likewise.
58583         (test_exceptions): Handle testing "inexact" exceptions.
58584         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
58585         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
58586         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
58587         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
58588         INEXACT_EXCEPTION.
58589         (rint_towardzero_test_data): Likewise.
58590         (rint_downward_test_data): Likewise.
58591         (rint_upward_test_data): Likewise.
58593         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
58594         with OVERFLOW_EXCEPTION.
58595         (exp10_test_data): Likewise.
58596         (exp2_test_data): Likewise.
58597         (expm1_test_data): Likewise.
58598         (lgamma_test_data): Likewise.
58599         (pow_test_data): Likewise.
58600         (tgamma_test_data): Likewise.
58601         (yn_test_data): Remove duplicate test of overflow.
58603         * math/libm-test.inc (struct test_cc_c_data): New type.
58604         (RUN_TEST_LOOP_cc_c): New macro.
58605         (cpow_test_data): New variable.
58606         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
58608         * math/libm-test.inc (struct test_f_L_data): New type.
58609         (RUN_TEST_LOOP_f_L): New macro.
58610         (llrint_test_data): New variable.
58611         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
58612         (llrint_tonearest_test_data): New variable.
58613         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
58614         (llrint_towardzero_test_data): New variable.
58615         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
58616         (llrint_downward_test_data): New variable.
58617         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
58618         (llrint_upward_test_data): New variable.
58619         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
58620         (llround_test_data): New variable.
58621         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
58623 2013-05-13  Peter Collingbourne  <pcc@google.com>
58625         * math/atest-exp2.c (get_log2): Remove const attribute.
58627 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
58629         * math/libm-test.inc (struct test_f_l_data): New type.
58630         (RUN_TEST_LOOP_f_l): New macro.
58631         (lrint_test_data): New variable.
58632         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
58633         (lrint_tonearest_test_data): New variable.
58634         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
58635         (lrint_towardzero_test_data): New variable.
58636         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
58637         (lrint_downward_test_data): New variable.
58638         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
58639         (lrint_upward_test_data): New variable.
58640         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
58641         (lround_test_data): New variable.
58642         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
58644 2013-05-15  Peter Collingbourne  <pcc@google.com>
58646         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
58647         (EXTRACT_WORDS64) Use where appropriate.
58648         (INSERT_WORDS64) Likewise.
58650         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
58651         constraints with x constraints.
58652         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
58654         * malloc/obstack.c (_obstack_compat): Add initializer.
58656 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
58658         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
58659         si_trapno and add si_addr_lsb to _sifields.sigfault.
58660         (si_trapno): Remove macro.
58661         (si_addr_lsb): Define new macro.
58662         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
58664 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
58666         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
58667         instead of TEST_f_l.
58668         (llrint_test_tonearest): Likewise.
58669         (llrint_test_towardzero): Likewise.
58670         (llrint_test_downward): Likewise.
58671         (llrint_test_upward): Likewise.
58672         (llround_test): Likewise.
58674         * math/libm-test.inc (struct test_f_i_data): Add comment.
58675         (RUN_TEST_LOOP_f_b): New macro.
58676         (RUN_TEST_LOOP_f_b_tg): Likewise.
58677         (finite_test_data): New variable.
58678         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
58679         (isfinite_test_data): New variable.
58680         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58681         (isinf_test_data): New variable.
58682         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58683         (isnan_test_data): New variable.
58684         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58685         (isnormal_test_data): New variable.
58686         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58687         (issignaling_test_data): New variable.
58688         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58689         (signbit_test_data): New variable.
58690         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58692         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
58693         with INVALID_EXCEPTION.
58694         (acosh_test_data): Likewise.
58695         (asin_test_data): Likewise.
58696         (atanh_test_data): Likewise.
58697         (fmod_test_data): Likewise.
58698         (log_test_data): Likewise.
58699         (log10_test_data): Likewise.
58700         (log2_test_data): Likewise.
58701         (pow_test_data): Likewise.
58702         (sqrt_test_data): Likewise.
58703         (y0_test_data): Likewise.
58704         (y1_test_data): Likewise.
58705         (yn_test_data): Likewise.
58707         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
58708         function contents.
58710         * math/libm-test.inc (struct test_ff_i_data): New type.
58711         (RUN_TEST_LOOP_ff_i_tg): New macro.
58712         (isgreater_test_data): New variable.
58713         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58714         (isgreaterequal_test_data): New variable.
58715         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58716         (isless_test_data): New variable.
58717         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58718         (islessequal_test_data): New variable.
58719         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58720         (islessgreater_test_data): New variable.
58721         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58722         (isunordered_test_data): New variable.
58723         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58725 2013-05-14  David S. Miller  <davem@davemloft.net>
58727         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58729 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
58731         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
58733         * math/libm-test.inc (struct test_fF_f1_data): Change type of
58734         extra_test to int.
58735         (struct test_f_i_data): Change type of max_ulp to int.
58737         * math/libm-test.inc (test_ffI_f1_data): New type.
58738         (RUN_TEST_LOOP_ffI_f1): New macro.
58739         (remquo_test_data): New variable.
58740         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
58742         * setjmp/tst-setjmp-fp.c: New file.
58743         * setjmp/Makefile (tests): Add tst-setjmp-fp.
58744         (link-libm): New variable.
58745         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
58747         * math/libm-test.inc (struct test_f_i_data): New type.
58748         (RUN_TEST_LOOP_f_i): New macro.
58749         (RUN_TEST_LOOP_f_i_tg): Likewise.
58750         (fpclassify_test_data): New variable.
58751         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
58752         (ilogb_test_data): New variable.
58753         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
58755         * math/libm-test.inc (scalbln_test): Correct function name in END
58756         call.
58758         * math/libm-test.inc (struct test_f_f1_data): Add comment.
58759         (RUN_TEST_LOOP_fI_f1): New macro.
58760         (frexp_test_data): New variable.
58761         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
58763         * math/libm-test.inc (struct test_fF_f1_data): New type.
58764         (RUN_TEST_LOOP_fF_f1): New macro.
58765         (modf_test_data): New variable.
58766         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
58768         * math/libm-test.inc (struct test_f_f1_data): New type.
58769         (RUN_TEST_LOOP_f_f1): New macro.
58770         (gamma_test_data): New variable.
58771         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
58772         (lgamma_test_data): New variable.
58773         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
58775 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
58777         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
58778         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
58779         (main): Comment "tls" pseudo-hwcap.
58781 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
58783         * math/libm-test.inc (struct test_fl_f_data): New type.
58784         (RUN_TEST_LOOP_fl_f): New variable.
58785         (scalbln_test_data): New variable.
58786         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
58788         * math/libm-test.inc (struct test_fi_f_data): New type.
58789         (RUN_TEST_LOOP_fi_f): New macro.
58790         (ldexp_test_data): New variable.
58791         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
58792         (scalbn_test_data): New variable.
58793         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
58795         * math/libm-test.inc (struct test_c_f_data): New type.
58796         (RUN_TEST_LOOP_c_f): New macro.
58797         (cabs_test_data): New variable.
58798         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
58799         (carg_test_data): New variable.
58800         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
58801         (cimag_test_data): New variable.
58802         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
58803         (creal_test_data): New variable.
58804         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
58806         * math/libm-test.inc (struct test_if_f_data): New type.
58807         (RUN_TEST_LOOP_if_f): New macro.
58808         (jn_test_data): New variable.
58809         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
58810         (yn_test_data): New variable.
58811         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
58813         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
58815 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58817         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
58818         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
58820 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58822         * benchtests/Makefile (CPPFLAGS-nonlib): Add
58823         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
58824         (bench-deps): Add bench-timing.h.
58825         * benchtests-bench-skeleton.c: Include bench-timing.h.
58826         (main): Use TIMING_* macros instead of clock_gettime.
58827         * benchtests/bench-timing.h: New file.
58829         [BZ #14582]
58830         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
58831         Renamed from _LIB_VERSION.
58832         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
58834 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
58836         * math/libm-test.inc (struct test_fff_f_data): New type.
58837         (RUN_TEST_LOOP_fff_f): New macro.
58838         (fma_test_data): New variable.
58839         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
58840         (fma_towardzero_test_data): New variable.
58841         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
58842         (fma_downward_test_data): New variable.
58843         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
58844         (fma_upward_test_data): New variable.
58845         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
58847         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
58848         (struct test_c_c_data): New type.
58849         (RUN_TEST_LOOP_c_c): New macro.
58850         (cacos_test_data): New variable.
58851         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
58852         (cacosh_test_data): New variable.
58853         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
58854         (casin_test_data): New variable.
58855         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
58856         (casinh_test_data): New variable.
58857         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
58858         (catan_test_data): New variable.
58859         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
58860         (catanh_test_data): New variable.
58861         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
58862         (ccos_test_data): New variable.
58863         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
58864         (ccosh_test_data): New variable.
58865         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
58866         (cexp_test_data): New variable.
58867         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
58868         (clog_test_data): New variable.
58869         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
58870         (clog10_test_data): New variable.
58871         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
58872         (conj_test_data): New variable.
58873         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
58874         (cproj_test_data): New variable.
58875         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
58876         (csin_test_data): New variable.
58877         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
58878         (csinh_test_data): New variable.
58879         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
58880         (csqrt_test_data): New variable.
58881         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
58882         (ctan_test_data): New variable.
58883         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
58884         (ctan_tonearest_test_data): New variable.
58885         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
58886         (ctan_towardzero_test_data): New variable.
58887         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
58888         (ctan_downward_test_data): New variable.
58889         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
58890         (ctan_upward_test_data): New variable.
58891         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
58892         (ctanh_test_data): New variable.
58893         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
58894         (ctanh_tonearest_test_data): New variable.
58895         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
58896         (ctanh_towardzero_test_data): New variable.
58897         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
58898         (ctanh_downward_test_data): New variable.
58899         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
58900         (ctanh_upward_test_data): New variable.
58901         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
58902         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
58903         of BUILD_COMPLEX.
58905         * math/libm-test.inc (struct test_ff_f_data): New type.
58906         (struct test_ff_f_data_nexttoward): Likewise.
58907         (RUN_TEST_LOOP_2_f): New macro.
58908         (RUN_TEST_LOOP_ff_f): Likewise.
58909         (atan2_test_data): New variable.
58910         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
58911         (copysign_test_data): New variable.
58912         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
58913         (fdim_test_data): New variable.
58914         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
58915         (fmax_test_data): New variable.
58916         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
58917         (fmin_test_data): New variable.
58918         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
58919         (fmod_test_data): New variable.
58920         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
58921         (hypot_test_data): New variable.
58922         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
58923         (nextafter_test_data): New variable.
58924         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
58925         (nexttoward_test_data): New variable.
58926         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
58927         (pow_test_data): New variable.
58928         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
58929         (pow_tonearest_test_data): New variable.
58930         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
58931         (pow_towardzero_test_data): New variable.
58932         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
58933         (pow_downward_test_data): New variable.
58934         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
58935         (pow_upward_test_data): New variable.
58936         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
58937         (remainder_test_data): New variable.
58938         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
58939         (scalb_test_data): New variable.
58940         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
58941         * sysdeps/i386/fpu/libm-test-ulps: Update.
58943 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
58945         * math/libm-test.inc (fma_test): Use max_value instead of local
58946         variable fltmax.
58947         (nextafter_test): Likewise.
58949         * math/libm-test.inc (acos_towardzero_test_data): New variable.
58950         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58951         (acos_downward_test_data): New variable.
58952         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58953         (acos_upward_test_data): New variable.
58954         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58955         (acosh_test_data): New variable.
58956         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
58957         (asin_test_data): New variable.
58958         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
58959         (asin_tonearest_test_data): New variable.
58960         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58961         (asin_towardzero_test_data): New variable.
58962         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58963         (asin_downward_test_data): New variable.
58964         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58965         (asin_upward_test_data): New variable.
58966         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58967         (asinh_test_data): New variable.
58968         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
58969         (atan_test_data): New variable.
58970         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
58971         (atanh_test_data): New variable.
58972         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
58973         (cbrt_test_data): New variable.
58974         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
58975         (ceil_test_data): New variable.
58976         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
58977         (cos_test_data): New variable.
58978         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
58979         (cos_tonearest_test_data): New variable.
58980         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58981         (cos_towardzero_test_data): New variable.
58982         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58983         (cos_downward_test_data): New variable.
58984         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58985         (cos_upward_test_data): New variable.
58986         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58987         (cosh_test_data): New variable.
58988         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
58989         (cosh_tonearest_test_data): New variable.
58990         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58991         (cosh_towardzero_test_data): New variable.
58992         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58993         (cosh_downward_test_data): New variable.
58994         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58995         (cosh_upward_test_data): New variable.
58996         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58997         (erf_test_data): New variable.
58998         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
58999         (erfc_test_data): New variable.
59000         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
59001         (exp_test_data): New variable.
59002         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
59003         (exp_tonearest_test_data): New variable.
59004         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59005         (exp_towardzero_test_data): New variable.
59006         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59007         (exp_downward_test_data): New variable.
59008         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59009         (exp_upward_test_data): New variable.
59010         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59011         (exp10_test_data): New variable.
59012         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
59013         (exp2_test_data): New variable.
59014         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
59015         (expm1_test_data): New variable.
59016         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
59017         (fabs_test_data): New variable.
59018         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
59019         (floor_test_data): New variable.
59020         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
59021         (j0_test_data): New variable.
59022         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
59023         (j1_test_data): New variable.
59024         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
59025         (log_test_data): New variable.
59026         (log_test): Run tests with RUN_TEST_LOOP_f_f.
59027         (log10_test_data): New variable.
59028         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
59029         (log1p_test_data): New variable.
59030         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
59031         (log2_test_data): New variable.
59032         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
59033         (logb_test_data): New variable.
59034         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
59035         (logb_downward_test_data): New variable.
59036         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59037         (nearbyint_test_data): New variable.
59038         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
59039         (rint_test_data): New variable.
59040         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
59041         (rint_tonearest_test_data): New variable.
59042         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59043         (rint_towardzero_test_data): New variable.
59044         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59045         (rint_downward_test_data): New variable.
59046         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59047         (rint_upward_test_data): New variable.
59048         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59049         (round_test_data): New variable.
59050         (round_test): Run tests with RUN_TEST_LOOP_f_f.
59051         (sin_test_data): New variable.
59052         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
59053         (sin_tonearest_test_data): New variable.
59054         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59055         (sin_towardzero_test_data): New variable.
59056         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59057         (sin_downward_test_data): New variable.
59058         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59059         (sin_upward_test_data): New variable.
59060         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59061         (sinh_test_data): New variable.
59062         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
59063         (sinh_tonearest_test_data): New variable.
59064         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59065         (sinh_towardzero_test_data): New variable.
59066         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59067         (sinh_downward_test_data): New variable.
59068         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59069         (sinh_upward_test_data): New variable.
59070         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59071         (sqrt_test_data): New variable.
59072         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
59073         (tan_test_data): New variable.
59074         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
59075         (tan_tonearest_test_data): New variable.
59076         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59077         (tan_towardzero_test_data): New variable.
59078         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59079         (tan_downward_test_data): New variable.
59080         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59081         (tan_upward_test_data): New variable.
59082         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59083         (tanh_test_data): New variable.
59084         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
59085         (tgamma_test_data): New variable.
59086         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
59087         (trunc_test_data): New variable.
59088         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
59089         (y0_test_data): New variable.
59090         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
59091         (y1_test_data): New variable.
59092         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
59093         (significand_test_data): New variable.
59094         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
59096 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
59098         [BZ #12387]
59099         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
59101 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59103         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
59105 2013-05-10  Andreas Jaeger  <aj@suse.de>
59107         [BZ #15448]
59108         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
59109         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
59111 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
59113         * math/gen-libm-test.pl (adjust_arg): New function.
59114         (special_functions): Handle generating output in both functions
59115         and arrays.
59116         (parse_args): Likewise.
59117         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
59118         $in_func argument to parse_args.
59119         * math/libm-test.inc (struct test_f_f_data): New type.
59120         (IF_ROUND_INIT_): New macro.
59121         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
59122         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
59123         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
59124         (IF_ROUND_INIT_FE_UPWARD): Likewise.
59125         (ROUND_RESTORE_): Likewise.
59126         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
59127         (ROUND_RESTORE_FE_TONEAREST): Likewise.
59128         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
59129         (ROUND_RESTORE_FE_UPWARD): Likewise.
59130         (RUN_TEST_LOOP_f_f): New macro.
59131         (acos_test_data): New variable.
59132         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
59133         (acos_tonearest_test_data): New variable.
59134         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59136 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59138         * benchtests/bench-skeleton.c (startup): Fix coding style.
59140 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
59142         [BZ #6809]
59143         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
59144         negative infinity argument.
59145         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
59146         negative infinity argument.
59147         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
59148         negative infinity argument.
59149         * math/libm-test.inc (tgamma_test): Expect errno to be set for
59150         domain errors.
59152 2013-05-10  Florian Weimer  <fweimer@redhat.com>
59154         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
59155         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
59156         * iconv/iconv_prog.c (main): Likewise.
59157         * locale/programs/charmap-dir.c (charmap_readdir)
59158         (fopen_uncompressed): Likewise.
59159         * locale/programs/locfile.c (siblings_uncached)
59160         (write_locale_data): Use lstat64 instead of lstat.
59161         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
59162         stat.
59164 2013-05-10  Andreas Jaeger  <aj@suse.de>
59166         [BZ #15395]
59167         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
59168         localization.
59169         Include <locale.h>.
59171 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
59173         * elf/dl-close.c (_dl_close_worker): Add comments.
59175 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
59177         [BZ #15359]
59178         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
59179         high part of pi/2.
59180         (__ieee754_rem_pio2l): Update comments.
59182         [BZ #15429]
59183         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
59184         high part of pi/2.
59185         (__ieee754_rem_pio2l): Update comments.
59187         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
59188         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
59190         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
59191         M_PI_4l.
59193         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
59194         (M_PI_34_LOG10El): Likewise.
59195         (M_PI2_LOG10El): Likewise.
59196         (M_PI4_LOG10El): Likewise.
59197         (M_PI_LOG10El): Likewise.
59199 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59201         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59203 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
59205         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
59206         (MINUS_ZERO_INIT): Likewise.
59207         (PLUS_INFTY_INIT): Likewise.
59208         (MINUS_INFTY_INIT): Likewise.
59209         (QNAN_VALUE_INIT): Likewise.
59210         (MAX_VALUE_INIT): Likewise.
59211         (MIN_VALUE_INIT): Likewise.
59212         (MIN_SUBNORM_VALUE_INIT): Likewise.
59213         (plus_zero): Initialize with PLUS_ZERO_INIT.
59214         (minus_zero): Initialize with MINUS_ZERO_INIT.
59215         (plus_infty): Initialize with PLUS_INFTY_INIT.
59216         (minus_infty): Initialize with MINUS_INFTY_INIT.
59217         (qnan_value): Initialize with QNAN_VALUE_INIT.
59218         (max_value): Initialize with MAX_VALUE_INIT.
59219         (min_value): Initialize with MIN_VALUE_INIT.
59220         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
59222         * math/libm-test.inc (RUN_TEST_if_f): New macro.
59223         (jn_test): Use TEST_if_f instead of TEST_ff_f.
59224         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
59225         (yn_test): Use TEST_if_f instead of TEST_ff_f.
59227         * math/libm-test.inc (RUN_TEST_f_f): New macro.
59228         (RUN_TEST_2_f): Likewise.
59229         (RUN_TEST_ff_f): Likewise.
59230         (RUN_TEST_fi_f): Likewise.
59231         (RUN_TEST_fl_f): Likewise.
59232         (RUN_TEST_fff_f): Likewise.
59233         (RUN_TEST_c_f): Likewise.
59234         (RUN_TEST_f_f1): Likewise.
59235         (RUN_TEST_fF_f1): Likewise.
59236         (RUN_TEST_fI_f1): Likewise.
59237         (RUN_TEST_ffI_f1): Likewise.
59238         (RUN_TEST_c_c): Likewise.
59239         (RUN_TEST_cc_c): Likewise.
59240         (RUN_TEST_f_i): Likewise.
59241         (RUN_TEST_f_i_tg): Likewise.
59242         (RUN_TEST_ff_i_tg): Likewise.
59243         (RUN_TEST_f_b): Likewise.
59244         (RUN_TEST_f_b_tg): Likewise.
59245         (RUN_TEST_f_l): Likewise.
59246         (RUN_TEST_f_L): Likewise.
59247         (RUN_TEST_sincos): Likewise.
59248         * math/gen-libm-test.pl (new_test): Take new argument to indicate
59249         whether to show exceptions.  Do not include ");\n" in return
59250         value.
59251         (special_functions): Output call to RUN_TEST_sincos instead of
59252         check_float calls.  Update calls to new_test.
59253         (parse_args): Output call to single RUN_TEST_* macro instead of
59254         check_* calls and other assignments.  Update calls to new_test.
59256         [BZ #2546]
59257         [BZ #2560]
59258         [BZ #5159]
59259         [BZ #15426]
59260         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
59261         input to result for tgamma overflow.
59262         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
59263         (gamma_coeff): New variable.
59264         (NCOEFF): New macro.
59265         (gamma_positive): New function.
59266         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
59267         underflow here.  Use gamma_positive instead of exp (lgamma) for
59268         other arguments.
59269         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
59270         (gamma_coeff): New variable.
59271         (NCOEFF): New macro.
59272         (gammaf_positive): New function.
59273         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
59274         underflow here.  Use gamma_positive instead of exp (lgamma) for
59275         other arguments.
59276         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
59277         (gamma_coeff): New variable.
59278         (NCOEFF): New macro.
59279         (gammal_positive): New function.
59280         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
59281         underflow here.  Use gamma_positive instead of exp (lgamma) for
59282         other arguments.
59283         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
59284         (gamma_coeff): New variable.
59285         (NCOEFF): New macro.
59286         (gammal_positive): New function.
59287         (__ieee754_gammal_r): Handle positive infinity, overflow and
59288         underflow here.  Handle NaN the same as positive infinity.  Remove
59289         check x < 0xffffffff for negative integers.  Use gamma_positive
59290         instead of exp (lgamma) for other arguments.
59291         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
59292         (gamma_coeff): New variable.
59293         (NCOEFF): New macro.
59294         (gammal_positive): New function.
59295         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
59296         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
59297         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
59298         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
59299         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
59300         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
59301         * sysdeps/generic/math_private.h (__gamma_productf): New
59302         prototype.
59303         (__gamma_product): Likewise.
59304         (__gamma_productl): Likewise.
59305         * math/Makefile (libm-calls): Add gamma_product.
59306         * math/libm-test.inc (tgamma_test): Add more tests.
59307         * sysdeps/i386/fpu/libm-test-ulps: Update.
59308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59310 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
59312         * benchtests/bench-skeleton.c (main): Preheat CPU.
59314 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
59316         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
59318 2013-05-07  Roland McGrath  <roland@hack.frob.com>
59320         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
59321         and _dl_skip_args_internal.
59323 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
59325         * manual/message.texi (Message Translation): Talk about users.
59326         Message to key mapping impacts design.
59328 2013-05-06  Roland McGrath  <roland@hack.frob.com>
59330         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
59332         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
59334         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
59335         * sysdeps/wordsize-64/glob64.c: ... here.
59337         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
59338         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
59339         New macros.
59341         * debug/getlogin_r_chk.c: Moved to ...
59342         * login/getlogin_r_chk.c: ... here.
59343         * debug/Makefile (routines): Move getlogin_r_chk to ...
59344         * login/Makefile (routines): ... here.
59345         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
59346         * login/Versions (libc: GLIBC_2.4): ... here.
59348         * io/poll.c (__poll): Renamed from poll.
59349         Add libc_hidden_def.
59350         (poll): Define as weak alias.
59352         * debug/ptsname_r_chk.c: Moved to ...
59353         * login/ptsname_r_chk.c: ... here.
59354         * debug/Makefile (routines): Move ptsname_r_chk to ...
59355         * login/Makefile (routines): ... here.
59356         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
59357         * login/Versions (libc: GLIBC_2.4): ... here.
59359         * posix/getlogin.c: Moved to ...
59360         * login/getlogin.c: ... here.
59361         * posix/getlogin_r.c: Moved to ...
59362         * login/getlogin_r.c: ... here.
59363         * posix/getlogin_r.c: Moved to ...
59364         * login/getlogin_r.c: ... here.
59365         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
59366         * login/Makefile (routines): ... here.
59367         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
59368         * login/Versions (libc: GLIBC_2.0): ... here.
59370         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
59371         (setrlimit): Define as weak alias.
59373         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
59374         Call __ names for open, ftruncate, and close.
59375         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
59376         (truncate): Define as weak alias.
59378 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
59380         * math/gen-libm-test.pl (parse_args): Initialize x before each
59381         test of frexp, modf and remquo.
59383         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
59384         test signgam value.
59386 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59388         [BZ #15418]
59389         [BZ #15419]
59390         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
59391         internal tests.
59392         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59394 2013-05-06  Roland McGrath  <roland@hack.frob.com>
59396         * elf/dl-writev.h: New file.
59397         * elf/dl-misc.c: Include it.
59398         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
59399         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
59401 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
59403         * math/libm-test.inc (noXFails): Remove variable.
59404         (noXPasses): Likewise.
59405         (BUILD_COMPLEX_INT): Remove macro.
59406         (print_screen): Remove xfail argument.
59407         (print_screen_max_error): Likewise.
59408         (update_stats): Likewise.
59409         (print_max_error): Likewise.  Update calls to other affected
59410         functions.
59411         (print_complex_max_error): Likewise.
59412         (test_single_exception): Update calls to print_screen.
59413         (test_single_errno): Likewise.
59414         (check_float_internal): Remove xfail argument.  Update calls to
59415         other affected functions.
59416         (check_float): Likewise.
59417         (check_complex): Likewise.
59418         (check_int): Likewise.
59419         (check_long): Likewise.
59420         (check_bool): Likewise.
59421         (check_longlong): Likewise.
59422         (main): Don't print noXFails and noXPasses.
59423         * math/gen-libm-test.pl (top level): Don't mention expected
59424         failure handling in comment.
59425         (new_test): Don't handle expected failures.
59426         (parse_args): Don't mention expected failure handling in comment.
59427         (generate_testfile): Don't handle expected failures.
59428         (parse_ulps): Likewise.
59429         (print_ulps_file): Likewise.
59430         (get_failure): Remove function.
59431         (output_test): Don't handle expected failures.
59432         * make/README.libm-test: Don't mention expected failure handling.
59434         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
59435         (minus_zero): Likewise.
59436         (plus_infty): Likewise.
59437         (minus_infty): Likewise.
59438         (qnan_value): Likewise.
59439         (max_value): Likewise.
59440         (min_value): Likewise.
59441         (min_subnorm_value): Likewise.
59442         (initialize): Do not initialize those variables dynamically.
59444 2013-05-03  Roland McGrath  <roland@hack.frob.com>
59446         * io/open.c (__open_2): Moved to ...
59447         * io/open_2.c: ... this new file.
59448         * io/open64.c (__open64_2): Moved to ...
59449         * io/open64_2.c: ... this new file.
59450         * io/openat.c (__openat_2): Moved to ...
59451         * io/openat_2.c: ... this new file.
59452         * io/openat64.c (__openat64_2): Moved to ...
59453         * io/openat64_2.c: ... this new file.
59454         * io/Makefile (routines): Add them.
59455         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
59456         * sysdeps/unix/sysv/linux/open_2.c: File removed.
59457         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
59458         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
59459         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
59460         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
59461         (__openat64): Add hidden_ver.
59462         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
59463         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
59465         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
59466         Separately conditionalize setting of GLRO(dl_sysinfo) so
59467         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
59468         as well, but the actual setting is only under [NEED_DL_SYSINFO].
59470 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59472         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
59473         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
59474         definition.
59475         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
59476         * sysdeps/unix/sysv/linux/powerpc/init-first.c
59477         (_libc_vdso_platform_setup): Add __vdso_time initialization.
59478         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
59479         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
59481 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
59483         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
59484         test signgam value.
59486         * math/libm-test.inc (hypot_test): Do not use
59487         IGNORE_ZERO_INF_SIGN.
59489 2013-05-03  Andreas Jaeger  <aj@suse.de>
59491         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
59492         Linux 3.9.
59493         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
59494         (PF_MAX): Adjust for VSOCK change.
59496 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59498         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59500 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
59502         [BZ #15264]
59503         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
59504         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
59505         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
59507 2013-05-02  David S. Miller  <davem@davemloft.net>
59509         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59511 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
59513         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
59515 2013-05-01  Roland McGrath  <roland@hack.frob.com>
59517         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
59519 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
59521         [BZ #14952]
59522         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
59523         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
59524         Use __attribute__ ((__gnu_inline__)).
59525         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
59526         Don't use __attribute__ ((__gnu_inline__)).
59528 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
59530         [BZ #15423]
59531         * math/s_catan.c (__catan): Handle small real or imaginary part of
59532         input specially to avoid spurious underflow.
59533         * math/s_catanf.c (__catanf): Likewise.
59534         * math/s_catanh.c (__catanh): Likewise.
59535         * math/s_catanhf.c (__catanhf): Likewise.
59536         * math/s_catanhl.c (__catanhl): Likewise.
59537         * math/s_catanl.c (__catanl): Likewise.
59538         * math/libm-test.inc (catan_test): Add more tests.
59539         (catanh_test): Likewise.
59540         * sysdeps/i386/fpu/libm-test-ulps: Update.
59541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59543 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59545         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59547 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
59549         [BZ #15416]
59550         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
59551         accurately for denominator in atan2.
59552         * math/s_catanf.c (__catanf): Likewise.
59553         * math/s_catanh.c (__catanh): Likewise.
59554         * math/s_catanhf.c (__catanhf): Likewise.
59555         * math/s_catanhl.c (__catanhl): Likewise.
59556         * math/s_catanl.c (__catanl): Likewise.
59557         * math/libm-test.inc (catan_test): Add more tests.
59558         (catanh_test): Likewise.
59559         * sysdeps/i386/fpu/libm-test-ulps: Update.
59560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59562 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
59564         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
59566         * benchtests/Makefile (bench): Remove slow benchmarks.
59567         * benchtests/atan-inputs: Add slow benchmark inputs.
59568         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
59569         (BENCH_FUNC): Accept variant offset.
59570         (VARIANT): Define.
59571         * benchtests/bench-skeleton.c (main): Run benchmark for each
59572         variant.
59573         * benchtests/cos-inputs: Add slow benchmark inputs.
59574         * benchtests/exp-inputs: Likewise.
59575         * benchtests/pow-inputs: Likewise.
59576         * benchtests/sin-inputs: Likewise.
59577         * benchtests/slowatan-inputs: Remove.
59578         * benchtests/slowatan.c: Remove.
59579         * benchtests/slowcos-inputs: Remove.
59580         * benchtests/slowcos.c: Remove.
59581         * benchtests/slowexp-inputs: Remove.
59582         * benchtests/slowexp.c: Remove.
59583         * benchtests/slowpow-inputs: Remove.
59584         * benchtests/slowpow.c: Remove.
59585         * benchtests/slowsin-inputs: Remove.
59586         * benchtests/slowsin.c: Remove.
59587         * benchtests/slowtan-inputs: Remove.
59588         * benchtests/slowtan.c: Remove.
59589         * benchtests/tan-inputs: Add slow benchmark inputs.
59590         * scripts/bench.pl: Parse comments and directives.
59592         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
59593         in CPPFLAGS.
59594         ($(objpfx)bench-%.c): Remove *-ITER.
59595         * benchtests/bench-modf.c: Remove definition of ITER.
59596         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
59597         (main): Loop for DURATION seconds instead of fixed number of
59598         iterations.
59599         * scripts/bench.pl: Don't expect iterations in parameters.
59601 2013-04-29  Roland McGrath  <roland@hack.frob.com>
59603         * io/fchdir.c (__fchdir): Renamed from fchdir.
59604         (fchdir): Define as weak alias.
59606 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
59608         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
59609         (ERRNO_EDOM): Likewise.
59610         (ERRNO_ERANGE): Likewise.
59611         (noErrnoTests): New variable.
59612         (init_max_error): Set errno to 0.
59613         (test_single_errno): New function.
59614         (test_errno): Likewise.
59615         (check_float_internal): Call test_errno.  Set errno to 0.
59616         (check_complex): Refer to errno tests in comment.
59617         (check_int): Call test_errno.  Set errno to 0.
59618         (check_long): Likewise.
59619         (check_bool): Likewise.
59620         (check_longlong): Likewise.
59621         (cos_test): Use ERRNO_* flags for errno tests instead of
59622         check_int.
59623         (expm1_test): Likewise.
59624         (fmod_test): Likewise.
59625         (ilogb_test): Likewise.
59626         (lgamma_test): Likewise.
59627         (pow_test): Likewise.
59628         (remainder_test): Likewise.
59629         (sin_test): Likewise.
59630         (tan_test): Likewise.
59631         (yn_test): Likewise.
59632         (initialize): Set errno to 0.
59633         (main): Print number of errno tests.
59634         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
59636 2013-04-29  Andreas Jaeger  <aj@suse.de>
59638         [BZ #15084]
59639         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
59640         and RES_USEVC.
59642         [BZ #15085]
59643         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
59644         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
59645         unimplemented.
59647         [BZ #15380]
59648         * stdlib/random.c (__initstate): Return NULL if
59649         __initstate fails.
59651         [BZ #15086]
59652         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
59653         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
59654         RES_SNGLKUPREOP.
59656 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59660 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
59662         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
59663         of individual tests.
59664         (casin_test): Likewise.
59665         (casinh_test): Likewise.
59667 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
59669         [BZ #15409]
59670         * math/s_catan.c (__catan): Handle arguments with large real or
59671         imaginary part separately without squaring.
59672         * math/s_catanf.c (__catanf): Likewise.
59673         * math/s_catanh.c (__catanh): Likewise.
59674         * math/s_catanhf.c (__catanhf): Likewise.
59675         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
59676         and redefine.
59677         (__catanhl): Handle arguments with large real or imaginary part
59678         separately without squaring.
59679         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
59680         and redefine.
59681         (__catanl): Handle arguments with large real or imaginary part
59682         separately without squaring.
59683         * math/libm-test.inc (catan_test): Add more tests.
59684         (catanh_test): Likewise.
59685         * sysdeps/i386/fpu/libm-test-ulps: Update.
59686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59688 2013-04-27  Andreas Jaeger  <aj@suse.de>
59690         [BZ #15007]
59691         * stdlib/stdlib.h: Update guards for qecvt.
59692         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
59693         <stdlib.h>.
59695 2013-04-27  Allan McRae  <allan@archlinux.org>
59697         * sysdeps/i386/fpu/libm-test-ulps: Update.
59699 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
59701         [BZ #15406]
59702         * math/s_catan.c: Include <float.h>.
59703         (__catan): Ensure underflow exception occurs for underflowed
59704         result.
59705         * math/s_catanf.c: Include <float.h>.
59706         (__catanf): Ensure underflow exception occurs for underflowed
59707         result.
59708         * math/s_catanh.c: Include <float.h>.
59709         (__catanh): Ensure underflow exception occurs for underflowed
59710         result.
59711         * math/s_catanhf.c: Include <float.h>.
59712         (__catanhf): Ensure underflow exception occurs for underflowed
59713         result.
59714         * math/s_catanhl.c: Include <float.h>.
59715         (__catanhl): Ensure underflow exception occurs for underflowed
59716         result.
59717         * math/s_catanl.c: Include <float.h>.
59718         (__catanl): Ensure underflow exception occurs for underflowed
59719         result.
59720         * math/libm-test.inc (catan_test): Add more tests.
59721         (catanh_test): Likewise.
59723         [BZ #15405]
59724         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
59725         underflowed result.
59726         * math/s_ccoshf.c (__ccoshf): Likewise.
59727         * math/s_ccoshl.c (__ccoshl): Likewise.
59728         * math/s_csin.c (__csin): Likewise.
59729         * math/s_csinf.c (__csinf): Likewise.
59730         * math/s_csinh.c (__csinh): Likewise.
59731         * math/s_csinhf.c (__csinhf): Likewise.
59732         * math/s_csinhl.c (__csinhl): Likewise.
59733         * math/s_csinl.c (__csinl): Likewise.
59734         * math/libm-test.inc (ccos_test): Add more tests.
59735         (ccosh_test): Likewise.
59736         (csin_test): Likewise.
59737         (csinh_test): Likewise.
59739 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59741         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
59742         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
59743         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
59744         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
59745         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
59746         powerpc/power5+/fpu folders.
59747         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
59750 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
59752         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59754 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
59756         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
59757         additions to variable.
59758         [$(config-machine) = x86_64] (modules-names): Likewise.
59759         ($(objpfx)tst-audit3): Remove dependency.
59760         ($(objpfx)tst-audit3.out): Likewise.
59761         ($(objpfx)tst-audit4): Likewise.
59762         ($(objpfx)tst-audit4.out): Likewise.
59763         ($(objpfx)tst-audit5): Likewise.
59764         ($(objpfx)tst-audit5.out): Likewise.
59765         ($(objpfx)tst-audit6): Likewise.
59766         ($(objpfx)tst-audit6.out): Likewise.
59767         ($(objpfx)tst-audit7): Likewise.
59768         ($(objpfx)tst-audit7.out): Likewise.
59769         (tst-audit3-ENV): Remove variable.
59770         (tst-audit4-ENV): Likewise.
59771         (tst-audit5-ENV): Likewise.
59772         (tst-audit6-ENV): Likewise.
59773         (tst-audit7-ENV): Likewise.
59774         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
59775         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
59776         addition to variable.
59777         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
59778         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
59779         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
59780         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
59781         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
59782         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
59783         tst-audit3, tst-audit4 and tst-audit5.
59784         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
59785         tst-audit6 and tst-audit7.
59786         [$(subdir) = elf] (modules-names): Add audit modules for those
59787         tests.
59788         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
59789         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
59790         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
59791         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
59792         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
59793         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
59794         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
59795         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
59796         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
59797         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
59798         [$(subdir) = elf] (tst-audit3-ENV): New variable.
59799         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
59800         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
59801         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
59802         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
59803         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
59804         Likewise.
59805         [$(subdir) = elf && $(config-cflags-avx) = yes]
59806         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
59807         [$(subdir) = elf && $(config-cflags-avx) = yes]
59808         (CFLAGS-tst-auditmod4a.c): Likewise.
59809         [$(subdir) = elf && $(config-cflags-avx) = yes]
59810         (CFLAGS-tst-auditmod4b.c): Likewise.
59811         [$(subdir) = elf && $(config-cflags-avx) = yes]
59812         (CFLAGS-tst-auditmod6b.c): Likewise.
59813         [$(subdir) = elf && $(config-cflags-avx) = yes]
59814         (CFLAGS-tst-auditmod6c.c): Likewise.
59815         [$(subdir) = elf && $(config-cflags-avx) = yes]
59816         (CFLAGS-tst-auditmod7b.c): Likewise.
59817         * elf/tst-audit3.c: Move to ...
59818         * sysdeps/x86_64/tst-audit3.c: ... here.
59819         * elf/tst-audit4.c: Move to ...
59820         * sysdeps/x86_64/tst-audit4.c: ... here.
59821         * elf/tst-audit5.c: Move to ...
59822         * sysdeps/x86_64/tst-audit5.c: ... here.
59823         * elf/tst-audit6.c: Move to ...
59824         * sysdeps/x86_64/tst-audit6.c: ... here.
59825         * elf/tst-audit7.c: Move to ...
59826         * sysdeps/x86_64/tst-audit7.c: ... here.
59827         * elf/tst-auditmod3a.c: Move to ...
59828         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
59829         * elf/tst-auditmod3b.c: Move to ...
59830         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
59831         * elf/tst-auditmod4a.c: Move to ...
59832         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
59833         * elf/tst-auditmod4b.c: Move to ...
59834         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
59835         * elf/tst-auditmod5a.c: Move to ...
59836         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
59837         * elf/tst-auditmod5b.c: Move to ...
59838         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
59839         * elf/tst-auditmod6a.c: Move to ...
59840         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
59841         * elf/tst-auditmod6b.c: Move to ...
59842         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
59843         * elf/tst-auditmod6c.c: Move to ...
59844         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
59845         * elf/tst-auditmod7a.c: Move to ...
59846         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
59847         * elf/tst-auditmod7b.c: Move to ...
59848         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
59850 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
59852         [BZ #15366]
59853         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
59854         define unconditionally.
59855         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
59856         define unconditionally.
59857         (INT8_C, INT16_C, etc.): Likewise.
59859 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
59861         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
59862         __ehdr_start with hidden visibility.
59864         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
59866 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
59868         * math/libm-test.inc (cos_test): Use accurate hex constants.
59869         (sincost_test): Likewise.
59871 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
59873         * math/libm-test.inc (catan_test): Add more tests.
59874         (catanh_test): Likewise.
59876         * math/s_catanf.c (__catanf): Use suffixed floating-point
59877         constants.
59878         * math/s_catanhf.c (__catanhf): Likewise.
59879         * math/s_catanhl.c (__catanhl): Likewise.
59880         * math/s_catanl.c (__catanl): Likewise.
59882         [BZ #15394]
59883         * math/s_catan.c (__catan): Calculate imaginary part of result
59884         with log1p not log unless computing log of number close to 0.
59885         * math/s_catanf.c (__catanf): Likewise.
59886         * math/s_catanl.c (__catanl): Likewise.
59887         * math/s_catanh.c (__catanh): Calculate real part of result with
59888         log1p not log unless computing log of number close to 0.
59889         * math/s_catanhf.c (__catanhf): Likewise.
59890         * math/s_catanhl.c (__catanhl): Likewise.
59891         * math/libm-test.inc (catan_test): Add more tests.
59892         (catanh_test): Likewise.
59893         * sysdeps/i386/fpu/libm-test-ulps: Update.
59894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59896 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
59898         * benchtests/Makefile: Mention files in which fast and slow
59899         paths of math functions are implemented.
59901 2013-04-23  Roland McGrath  <roland@hack.frob.com>
59903         * sysdeps/posix/timespec_get.c: New file.
59905 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59907         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
59908         POWER.
59909         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
59910         for POWER.
59911         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
59912         powerpc/power5/fpu folders.
59913         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
59914         * benchtests/Makefile: Add modf testcase.
59915         * benchtests/bench-modf.c: New file: Benchmark test for mo
59917 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
59919         [BZ #14888]
59920         * time/Makefile (tests): Add tst-strptime-whitespace.
59921         * time/strptime_l.c (get_number): Use ISSPACE.
59922         (__strptime_internal): Likewise.
59923         * time/tst-strptime-whitespace.c: New test case.
59925 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
59927         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
59928         member.
59929         (_nss_files_init): Set it here.
59931 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
59933         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
59934         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
59935         unsigned.
59937 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
59939         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
59941 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
59943         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
59944         size just once.
59946 2013-04-21  David S. Miller  <davem@davemloft.net>
59948         * po/ru.po: Update Russion translation from translation project.
59950 2013-04-17  Adam Conrad  <adconrad@0c3.net>
59952         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
59953         and setfsgid.
59955 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
59957         * configure.in: Remove i386 configure warning. Remove i386 case.
59958         * configure: Regenerate.
59959         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
59960         Add example to error message.
59961         * sysdeps/i386/configure: Regenerate.
59963 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
59965         * benchtests/Makefile (bench): Add cos, tan, slowcos and
59966         slowtan.
59967         * benchtests/cos-inputs: New file.
59968         * benchtests/slowcos-inputs: New file.
59969         * benchtests/slowcos.c: New file.
59970         * benchtests/slowtan-inputs: New file.
59971         * benchtests/slowtan.c: New file.
59972         * benchtests/tan-inputs: New file.
59974 2013-04-16  Roland McGrath  <roland@hack.frob.com>
59976         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
59977         considered kosher.
59979 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59981         * benchtests/Makefile: Include cppflags-iterator.mk to add
59982         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
59984         * Makefile.in (bench-clean): New target.
59985         * benchtests/Makefile (bench-clean): Likewise.
59987 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
59989         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
59991 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
59993         * stdio-common/tstdiomisc.c: Fix coding-style violation.
59995 2013-04-15  Andreas Schwab  <schwab@suse.de>
59997         * nscd/grpcache.c (cache_addgr): Properly check for short write.
59998         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59999         * nscd/pwdcache.c (cache_addpw): Likewise.
60000         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
60001         more than recsize.
60003 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60005         * benchtests/Makefile (bench): Write all output to
60006         bench-out.tmp together.
60008 2013-04-15  Andreas Schwab  <schwab@suse.de>
60010         * nscd/nscd.c (main): Don't fork again after closing files.
60012 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60014         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
60016         * benchtests/Rules (bench-deps): Collect dependencies into a
60017         single variable.  Add Makefile to dependencies.
60018         ($(objpfx)bench-%.c): Depend on bench-deps.
60020 2013-04-12  Roland McGrath  <roland@hack.frob.com>
60021             Xavier Roche  <roche+kml2@exalead.com>
60023         [BZ #15361]
60024         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
60025         just that it's a file descriptor.
60026         * manual/llio.texi (Synchronizing AIO Operations): Update description
60027         for EBADF error from aio_fsync.
60029 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
60031         * Rules (bench): Move target definition...
60032         * benchtests/Makefile: ... here.
60034 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
60036         * math/libm-test.inc (cos_test): Fix PI/2 test.
60037         (sincos_test): Likewise.
60038         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
60039         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
60041 2013-04-11  Andreas Schwab  <schwab@suse.de>
60043         [BZ #13988]
60044         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
60045         accept exponent character only when digits were seen.
60046         * stdio-common/Makefile (tests): Add bug26.
60047         * stdio-common/bug26.c: New file.
60049         [BZ #14293]
60050         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
60051         non-freeable.
60053 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60055         * Makeconfig (rtld-prefix): Define built linker prefix.
60056         * Rules (run-bench): Use it.
60057         * math/Makefile (run-regen-ulps): Likewise.
60059         * Rules (bench): Remove eval.
60061 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60062             Roland McGrath  <roland@hack.frob.com>
60063             Ondrej Bilka  <neleai@seznam.cz>
60065         [BZ #15346]
60066         * time/getdate.c: Include ctype.h and alloca.h.
60067         (__getdate_r): Trim leading and trailing spaces of input.
60068         * time/tst-getdate.c (tests): Add tests with leading and
60069         trailing spaces.
60071 2013-04-08  Roland McGrath  <roland@hack.frob.com>
60073         [BZ #14280]
60074         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
60075         when computing value.
60077 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60079         * math/README.libm-test (How can I generate "libm-test-ulps"?):
60080         Use testrun.sh to run libm tests.
60082         [BZ #15309]
60083         * elf/dl-open.c (dl_open_worker): memset all of seen array.
60085 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
60087         [BZ #15264]
60088         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
60090 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60092         * Makefile.in (regen-ulps): New target.
60093         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
60094         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
60095         [ifneq (no,$(PERL)] (regen-ulps): New target.
60096         [ifeq (no,$(PERL)] (regen-ulps): New target.
60097         * math/libm-test.inc (ulps_file_name): Define.
60098         (output_dir): New variable.
60099         (options): Add "output-dir" option.
60100         (parse_opt): Handle 'o' case.
60101         (main): If output_dir is non-NULL use it as a prefix
60102         otherwise use "".
60103         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
60105 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60107         [BZ #10060, #10062]
60108         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
60109         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
60110         fail configure if __sync_val_compare_and_swap is not inlined.
60111         * sysdeps/i386/configure: Regenerate.
60112         * configure.in: Build for i686 when configured for i386.
60113         * configure: Regenerate.
60114         * README: Remove i386 reference.
60116 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60118         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
60119         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60121 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
60123         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
60124         (lmsnanval): New variables.
60125         (F): Add conversion tests.
60126         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
60127         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
60129         * stdio-common/tstdiomisc.c (F): Properly collect individual
60130         tests' results.
60132         [BZ #14686, #15336]
60133         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
60134         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
60135         Instead, use input NaN values or generate a qNaN by arithmetic
60136         operation.  Also fix bugs to comply with the standard.
60137         * math/libm-test.inc (remainder_test): Add more tests.
60139         [BZ #15335, #15342]
60140         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
60141         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
60142         input NaN values or generate a qNaN by arithmetic operation.
60144         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
60145         unreachable code.
60147         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
60148         definitions.
60150 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
60152         [BZ #14478]
60153         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
60154         underflowed result.
60155         * math/s_cexpf.c (__cexpf): Likewise.
60156         * math/s_cexpl.c (__cexpl): Likewise.
60157         * math/libm-test.inc (cexp_test): Add more tests.
60159 2013-04-03  Andreas Schwab  <schwab@suse.de>
60161         [BZ #15330]
60162         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
60163         order arrays from heap if bigger than alloca cutoff.
60165 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
60167         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
60168         (SNAN_TESTS_double): Refer to GCC PR56831.
60169         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
60170         GCC PR56828.
60172 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
60174         * Rules (bench): Move bench.out after the run is complete.
60176         * Rules (bench): Echo currently running benchmark.
60178         * benchtests/Makefile (bench): Add atan and slowatan.
60179         * benchtests/atan-inputs: New file.
60180         * benchtests/slowatan-inputs: New file.
60181         * benchtests/slowatan.c: New file.
60183         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
60184         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
60185         its value.
60187         [BZ #15305]
60188         * sysdeps/unix/sysv/linux/kernel-features.h
60189         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
60190         __ASSUME_XFS_RESTRICTED_CHOWN.
60191         * sysdeps/unix/sysv/linux/pathconf.c
60192         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
60193         Save and restore errno.
60195 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
60197         [BZ #15327]
60198         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
60199         arguments using __kernel_casinh.
60200         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
60201         arguments using __kernel_casinhf.
60202         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
60203         arguments using __kernel_casinhl.
60204         * math/libm-test.inc (cacosh_test): Add more tests.
60205         * sysdeps/i386/fpu/libm-test-ulps: Update.
60206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60208 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
60210         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
60211         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
60213         * bench/Makefile (bench): Add sin and slowsin.
60214         * benchtests/sin-inputs: New file.
60215         * benchtests/slowsin-inputs: New file.
60216         * benchtests/slowsin.c: New file.
60218         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
60219         (bench): Add slowexp and slowpow.
60220         (exp-ITER): Increase iterations.
60221         (pow-ITER): Likewise.
60222         * benchtests/exp-inputs: Change input.
60223         * benchtests/pow-inputs: Likewise.
60224         * benchtests/slowexp-inputs: New file.
60225         * benchtests/slowexp.c: New file.
60226         * benchtests/slowpow-inputs: New file.
60227         * benchtests/slowpow.c: New file.
60229 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60231         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
60232         instructions.
60233         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
60234         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
60235         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
60236         * benchtests/Makefile: Add rint benchtest.
60237         * benchtests/rint-inputs: Input for rint benchtest.
60239 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
60241         * Versions.def (libm): Add GLIBC_2.18.
60242         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
60243         hidden libm prototypes.
60244         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
60245         * math/Makefile (libm-calls): Add s_issignaling.
60246         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
60247         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
60248         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
60249         declaration.
60250         * math/math.h [__USE_GNU] (issignaling): New macro.
60251         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
60252         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
60253         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
60254         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
60255         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
60256         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
60257         * manual/arith.texi (issignaling): New section.
60258         * manual/libm-err-tab.pl (@all_functions): Update comment.
60259         * math/gen-libm-test.pl (parse_args): Apply special handling for
60260         issignaling.
60261         * math/libm-test.inc (print_float, issignaling_test): New
60262         functions.
60263         (check_float_internal): Add issignaling checks.
60264         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
60265         default definition.
60266         * sysdeps/powerpc/math-tests.h: New file.
60267         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
60268         tests.
60269         * math/test-snan.c (TEST_FUNC): Likewise.
60271 2013-03-30  David S. Miller  <davem@davemloft.net>
60273         * po/de.po: Update from translation team.
60275 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
60277         [BZ #10357]
60278         * math/k_casinh.c (__kernel_casinh): Handle arguments with
60279         imaginary part less than 1.0 and real part less than 0.5
60280         specially.
60281         * math/k_casinhf.c (__kernel_casinhf): Likewise.
60282         * math/k_casinhl.c (__kernel_casinhl): Likewise.
60283         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
60284         (cacos_test): Add more tests.
60285         (casin_test): Likewise.
60286         (casinh_test): Likewise.
60287         * sysdeps/i386/fpu/libm-test-ulps: Update.
60288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60290 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60292         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
60293         ONE with its value.
60295         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
60296         (__pow_mp): Replace ONE and MONE with their values.
60297         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
60298         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
60299         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
60300         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
60301         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
60302         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
60304         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
60306         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
60307         (__pow_mp): Replace ZERO and MZERO with their values.
60308         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
60309         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
60310         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
60311         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
60312         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
60313         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
60314         (__sqr): Likewise.
60316         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
60318         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
60320 2013-03-28  Roland McGrath  <roland@hack.frob.com>
60322         * include/stdlib.h [!SHARED] (__call_tls_dtors):
60323         Declare with __attribute__ ((weak)).
60324         * stdlib/exit.c (__libc_atexit) [!SHARED]:
60325         Call __call_tls_dtors only if it's not NULL.
60327 2013-03-28  Roland McGrath  <roland@hack.frob.com>
60329         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
60330         didn't do it already, then set _dl_phdr and _dl_phnum based on the
60331         magic __ehdr_start linker symbol if it's defined.
60332         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
60333         them up here if it was already done.
60335         * elf/dl-support.c (_dl_phdr): Make pointer to const.
60336         (_dl_aux_init): Use const in cast when setting it.
60337         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
60338         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
60339         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
60341         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
60342         Declare them here.
60343         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
60344         * csu/libc-tls.c: Nor here.
60345         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
60347         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
60348         (__libc_message): Never call vsyslog.
60350 2013-03-28  Alan Modra  <amodra@gmail.com>
60352         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
60353         Define as empty.
60354         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
60355         Likewise.
60357 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60359         [BZ #15214]
60360         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
60361         underflow.
60362         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60364 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60366         [BZ #15304]
60367         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
60368         Don't add gid passed as argument.
60370         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
60372 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
60374         [BZ #15307]
60375         * math/k_casinh.c (__kernel_casinh): Handle arguments with
60376         imaginary part between 1.0 and 1.5 and real part less than 0.5
60377         specially.
60378         * math/k_casinhf.c (__kernel_casinhf): Likewise.
60379         * math/k_casinhl.c (__kernel_casinhl): Likewise.
60380         * math/libm-test.inc (cacos_test): Add more tests.
60381         (casin_test): Likewise.
60382         (casinh_test): Likewise.
60383         * sysdeps/i386/fpu/libm-test-ulps: Update.
60384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60386 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60388         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
60389         constants.
60390         (norm): Likewise.
60391         (denorm): Likewise.
60392         (__dbl_mp): Likewise.
60393         (add_magnitudes): Likewise.
60394         (sub_magnitudes): Likewise.
60395         (__add): Likewise.
60396         (__sub): Likewise.
60397         (__mul): Likewise.
60398         (__sqr): Likewise.
60399         (__inv): Likewise.
60400         (__dvd): Likewise.
60402         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
60403         commented code.
60404         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
60405         (__dubcos): Likewise.
60406         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
60407         (__ieee754_acos): Likewise.
60408         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
60409         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
60410         (__exp1): Likewise.
60411         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
60412         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
60413         (log1): Likewise.
60414         (my_log2): Likewise.
60415         (checkint): Likewise.
60416         * sysdeps/ieee754/dbl-64/e_remainder.c
60417         (__ieee754_remainder): Likewise.
60418         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
60419         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
60420         (bsloww): Likewise.
60421         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
60423         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
60424         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
60425         MANTISSA_STORE_T to store computations on mantissa.  Use
60426         macros for rounding and division.
60427         (denorm): Likewise.
60428         (__dbl_mp): Likewise.
60429         (add_magnitudes): Likewise.
60430         (sub_magnitudes): Likewise.
60431         (__mul): Likewise.
60432         (__sqr): Likewise.
60433         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
60434         powers of two in terms of TWOPOW macro.
60435         (mp_no): Make type of mantissa as MANTISSA_T.
60436         [!RADIXI]: Define RADIXI.
60437         [!TWO52]: Define TWO52.
60438         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
60440 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60442         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
60443         llroundl symbol when building for PPC32.
60445 2013-03-24  Mark H Weaver  <mhw@netris.org>
60447         * manual/arith.texi (Normalization Functions): Fix prototypes for
60448         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
60450 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60452         [BZ #13889]
60453         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
60454         high value to check if expl overflow.
60455         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
60456         to check for underflow and overflow.
60457         * math/libm-test.inc: Add exp test.
60459 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
60461         [BZ #11120]
60462         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
60463         with NOT_IN_libc.
60465 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60467         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
60468         symbol.
60470 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
60472         * math/gen-libm-test.pl (parse_args, special_functions): Properly
60473         wrap blocks consisting of several statements.
60475         * sysdeps/generic/math-tests.h: New file.
60476         * sysdeps/i386/fpu/math-tests.h: Likewise.
60477         * math/test-snan.c: Include it.
60478         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
60480 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
60482         [BZ #15285]
60483         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
60484         (__ieee754_j0l): Do not improve calculations using cos of twice
60485         input for inputs above LDBL_MAX / 2.0L.
60486         (__ieee754_y0l): Likewise.
60487         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
60488         (__ieee754_j1l): Do not improve calculations using cos of twice
60489         input for inputs above LDBL_MAX / 2.0L.
60490         (__ieee754_y1l): Likewise.
60491         * math/libm-test.inc (j0_test): Add another test.
60492         (j1_test): Likewise.
60493         (y0_test): Likewise.
60494         (y1_test): Likewise.
60495         * sysdeps/i386/fpu/libm-test-ulps: Update.
60497 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60499         * Rules ($(objpfx)bench-%.c): Include code from a C source
60500         file.
60502 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
60504         [BZ #15287]
60505         * math/k_casinh.c (__kernel_casinh): Handle arguments with
60506         imaginary part 1.0 and real part less than 0.5 specially.
60507         * math/k_casinhf.c (__kernel_casinhf): Likewise.
60508         * math/k_casinhl.c (__kernel_casinhl): Likewise.
60509         * math/libm-test.inc (cacos_test): Add more tests.
60510         (casin_test): Likewise.
60511         (casinh_test): Likewise.
60512         * sysdeps/i386/fpu/libm-test-ulps: Update.
60513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60515 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60517         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
60518         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
60520 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
60522         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
60523         * config.make.in (config-cflags-sse4): Remove variable.
60524         (config-cflags-avx): Likewise.
60525         (config-cflags-sse2avx): Likewise.
60526         (config-cflags-novzeroupper): Likewise.
60527         (config-asflags-i686): Likewise.
60528         (have-mfma4): Likewise.
60529         (have-as-vis3): Likewise.
60530         (MIG): Likewise.
60531         * configure.in (MIG): Do not AC_SUBST.
60532         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
60533         (libc_cv_cc_sse4): Do not AC_SUBST.
60534         (libc_cv_cc_avx): Likewise.
60535         (libc_cv_cc_sse2avx): Likewise.
60536         (libc_cv_cc_novzeroupper): Likewise.
60537         (libc_cv_cc_fma4): Likewise.
60538         (libc_cv_as_i686): Likewise.
60539         (libc_cv_sparc_as_vis3): Likewise.
60540         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
60541         LIBC_CONFIG_VAR.
60542         (config-asflags-i686): Likewise.
60543         (config-cflags-avx): Likewise.
60544         (config-cflags-sse2avx): Likewise.
60545         (have-mfma4): Likewise.
60546         (config-cflags-novzeroupper): Likewise.
60547         * sysdeps/mach/configure.in (MIG): Likewise.
60548         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
60549         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
60550         LIBC_CONFIG_VAR.
60551         (config-cflags-avx): Likewise.
60552         (config-cflags-sse2avx): Likewise.
60553         (have-mfma4): Likewise.
60554         (config-cflags-novzeroupper): Likewise.
60555         * configure: Regenerated.
60556         * sysdeps/i386/configure: Likewise.
60557         * sysdeps/mach/configure: Likewise.
60558         * sysdeps/sparc/configure: Likewise.
60559         * sysdeps/x86_64/configure: Likewise.
60561 2013-03-20  Roland McGrath  <roland@hack.frob.com>
60563         [BZ #14812]
60564         * locale/programs/localedef.c (options): Put N_ translation marker
60565         on argument names, not just descriptions.
60567 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60569         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
60571 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
60573         [BZ #14176]
60574         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
60576 2013-03-19  Roland McGrath  <roland@hack.frob.com>
60578         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
60579         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
60580         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
60581         [!BEFORE_ABORT] (before_abort): New function.
60582         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
60583         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
60584         (writev_for_fatal): New function.
60585         (WRITEV_FOR_FATAL): New macro; call that.
60586         (backtrace_and_maps): New function.
60587         (BEFORE_ABORT): New macro; call that.
60588         (struct str_list): Type removed.
60589         (__libc_message, __libc_fatal): Functions removed.
60590         Include <sysdeps/posix/libc_fatal.c> instead.
60592 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
60594         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
60595         constants.
60596         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
60597         double constants.
60599 2013-03-19  Andreas Schwab  <schwab@suse.de>
60601         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
60602         * sysdeps/gnu/configure: Regenerate.
60604         * configure.in: Substitute libc_cv_rtlddir.
60605         * configure: Regenerate.
60606         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
60607         * Makeconfig (rtlddir, inst_rtlddir): New variables.
60608         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
60609         * elf/Makefile (install-others, CFLAGS-interp.c)
60610         (ldso_install, common-ldd-rewrite): Likewise.
60611         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
60612         $(inst_slibdir)/$(rtld-installed-name).
60613         * scripts/rellns-sh: Add -p option.
60614         * Makerules (make-shlib-link): Use rellns-sh to get relative name
60615         for source.
60617 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60619         * manual/nptl.texi: Renamed to ...
60620         * manual/threads.texi: ... this.
60621         * manual/Makefile (chapters): Update.
60623 2013-03-18  Roland McGrath  <roland@hack.frob.com>
60625         [BZ #14812]
60626         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
60627         on argument names, not just descriptions.
60628         * malloc/memusagestat.c (options): Likewise.
60629         * nss/getent.c (options): Likewise.
60631 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
60633         [BZ #14812]
60634         * iconv/iconv_prog.c (options): Put N_ translation marker
60635         on argument names, not just descriptions.
60636         * iconv/iconvconfig.c (options): Likewise.
60638 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
60640         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
60641         implementation which is faster on all x86_64 architectures.
60642         Tested on AMD, Intel Nehalem, SNB, IVB.
60643         * sysdeps/x86_64/strnlen.S: Likewise.
60645         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60646         Remove all multiarch strlen and strnlen versions.
60647         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
60648         Remove strlen and strnlen related parts.
60650         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
60651         Inline strlen part.
60652         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
60654         * sysdeps/x86_64/multiarch/strlen.S: Remove.
60655         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
60656         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
60657         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
60658         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
60659         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
60661 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
60663         * manual/memory.texi (Malloc Tunable Parameters):
60664         Sort parameters alphabetically. Add comments for missing entries.
60666 2013-03-17  David S. Miller  <davem@davemloft.net>
60668         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60670 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
60672         [BZ #15283]
60673         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
60674         for arguments at most half maximum finite value.
60675         * math/libm-test.inc (j0_test): Add more tests.
60676         (j1_test): Likewise.
60677         (y0_test): Likewise.
60678         (y1_test): Likewise.
60679         * sysdeps/i386/fpu/libm-test-ulps: Update.
60680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60682         [BZ #14155]
60683         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
60684         1 / x and functions P and Q for arguments above 0x1p256L.
60685         (__ieee754_y0l): Likewise.
60686         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
60687         (__ieee754_y1l): Likewise.
60688         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
60689         (j1_test): Likewise.
60690         (y0_test): Likewise.
60691         (y1_test): Likewise.
60693 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
60695         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
60696         variable.
60698 2013-03-15  Roland McGrath  <roland@hack.frob.com>
60700         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
60701         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
60702         zero since it's initialized to EXEC_PAGESIZE.
60704         * sysdeps/unix/sysv/linux/ldsodefs.h
60705         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
60706         * sysdeps/generic/ldsodefs.h: ... here.
60708 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
60710         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
60712         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
60713         math/test-snan.c.
60714         * math/test-snan.c: Renamed from
60715         sysdeps/powerpc/fpu/test-powerpc-snan.c.
60716         * math/Makefile (tests): Add test-snan.
60717         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
60718         test-powerpc-snan.
60720         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
60721         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
60722         functions.
60723         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
60724         __builtin_nan family of functions.
60725         * math/libm-test.inc (initialize): Initialize qnan_value with
60726         __builtin_nan family of functions.
60727         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
60728         Remove variables.
60729         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
60730         Remove functions.
60731         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
60732         storage class.  Initialize qNaN_var and sNaN_var with
60733         __builtin_nan and __builtin_nans families of functions,
60734         respectively.
60736         * math/libm-test.inc (acosh_test): Also test with qNaN input.
60737         (sqrt_test): Remove duplicate test with qNaN input.
60738         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
60739         (round_test, signbit_test, significand_test): Note missing +/-Inf
60740         as well as qNaN tests.
60742         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
60743         qNaN_var.  Fix a few strings, too.
60744         * math/libm-test.inc (nan_value): Rename to qnan_value.
60745         * math/gen-libm-test.pl (%beautify): Adjust to that.
60746         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
60747         * math/test-misc.c (main): Likewise.
60748         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
60749         to __qnan_bytes, and __qnan_union, respectively.
60750         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
60751         Likewise.
60752         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
60753         and lqnanval, respectively.
60754         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
60755         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
60756         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
60757         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
60759         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
60760         * math/test-misc.c (main) [__x86_64__]: Enable test for long
60761         doubles.
60763         * math/test-misc.c (main): Fix copy'n'pastos.
60764         * misc/tst-efgcvt.c (special): Likewise.
60766         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
60767         Remove declarations.
60769 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60771         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
60772         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
60773         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
60774         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
60776 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60778         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
60779         macro to return vdso values correctly in IFUNC implementations.
60780         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
60781         Optimization by using IFUNC.
60783 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60784             Richard Henderson  <rth@redhat.com>
60785             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60787         * Makefile.in (bench): New target.
60788         * NEWS: Mention the benchmark framework.
60789         * Rules (bench): Likewise.
60790         (binaries-bench): Generate binaries for functions to
60791         benchmark.
60792         * benchtests/Makefile: New makefile for benchmark tests.
60793         * benchtests/bench-skeleton.c: New skeleton file for benchmark
60794         programs.
60795         * benchtests/exp-inputs: New input file for EXP function.
60796         * benchtests/pow-inputs: New input file for POW function.
60797         * scripts/bench.pl: New script to generate source files for
60798         benchmark programs.
60800 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60802         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
60803         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
60804         computations on mantissa.  Use macros for rounding and
60805         division.
60806         (denorm): Likewise.
60807         (__dbl_mp): Likewise.
60808         (add_magnitudes): Likewise.
60809         (sub_magnitudes): Likewise.
60810         (__mul): Likewise.
60811         (__sqr): Likewise.
60812         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
60813         powers of two in terms of TWOPOW macro.
60814         (mp_no): Make type of mantissa as MANTISSA_T.
60815         [!RADIXI]: Define RADIXI.
60816         [!TWO52]: Define TWO52.
60817         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
60819         * manual/nptl.texi (cindex): Modify threads to pthreads.
60821 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
60823         * sysdeps/x86_64/preconfigure: Regenerated.
60825 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
60827         [BZ #14155]
60828         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
60829         0x1p28 and above.
60830         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
60831         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
60832         0x1p28 and above.
60833         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
60834         * math/libm-test.inc (j0_test): Do not allow one spurious
60835         underflow exception.
60836         (y1_test): Likewise.
60838 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
60840         * manual/Makefile (chapters): Add nptl.
60841         * manual/debug.texi (Debugging Support): Add link to Threads
60842         chapter.
60843         * manual/nptl.texi: New file.
60845         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
60847 2013-03-14  Petr Baudis  <pasky@ucw.cz>
60849         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
60850         for non-NULL pointer before the memory validity test. Pointed
60851         out by Holger Brunck <holger.brunck@keymile.com>.
60853 2013-03-13  Andreas Schwab  <schwab@suse.de>
60855         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
60856         instead of .os.
60858 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
60860         * timezone/zic.c: Update from tzcode 2013b.
60862 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
60864         * manual/install.texi (Configuring and compiling):
60865         Mention i686 and i586.
60866         * INSTALL: Regenerate.
60868 2013-03-12  Roland McGrath  <roland@hack.frob.com>
60870         * sysdeps/init_array/elf-init.c: New file.
60871         * csu/elf-init.c
60872         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
60873         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
60875         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
60876         __gmon_start__ as global, but as static with a .preinit_array pointer.
60877         * sysdeps/init_array/gmon-start.c: New file.  Use that.
60878         * sysdeps/init_array/crti.S: New file, empty except for comments.
60879         * sysdeps/init_array/crtn.S: Likewise.
60881 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
60883         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
60884         definining bcopy.
60885         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60886         Remove Prefer_SSE_for_memop.
60887         * sysdeps/x86_64/multiarch/init-arch.h: Remove
60888         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
60889         HAS_PREFER_SSE_FOR_MEMOP.
60890         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
60891         memset-x86-64.
60892         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60893         Remove bzero, memset ifunc support.
60894         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
60895         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
60896         * sysdeps/x86_64/multiarch/memset.S: Likewise.
60897         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
60899 2013-03-11  Andreas Schwab  <schwab@suse.de>
60901         [BZ #15234]
60902         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
60903         by SHLIB_COMPAT.
60904         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
60905         (GLIBC_2.16): Remove pthread_atfork.
60907 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
60909         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
60910         (ptestcases.h): Likewise.
60912 2013-03-08  Roland McGrath  <roland@hack.frob.com>
60914         * Makeconfig ($(common-objpfx)config.status): Depend on
60915         sysdeps/*/preconfigure{,.in} too.
60917 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
60919         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
60920         (__free_hook): Use void * instead of __malloc_ptr_t.
60921         (__malloc_hook): Likewise.
60922         (__realloc_hook): Likewise.
60923         (__memalign_hook): Likewise.
60924         (__after_morecore_hook): Likewise.
60925         * malloc/arena.c (save_malloc_hook): Likewise.
60926         (save_free_hook): Likewise.
60927         * malloc/hooks.c (malloc_hook_ini): Likewise.
60928         (realloc_hook_ini): Likewise.
60929         (memalign_hook_ini): Likewise.
60930         * malloc/malloc.c (malloc_hook_ini): Likewise.
60931         (realloc_hook_ini): Likewise.
60932         (memalign_hook_ini): Likewise.
60933         (__free_hook): Likewise.
60934         (__malloc_hook): Likewise.
60935         (__realloc_hook): Likewise.
60936         (__memalign_hook): Likewise.
60937         (__libc_malloc): Likewise.
60938         (__libc_free): Likewise.
60939         (__libc_realloc): Likewise.
60940         (__libc_memalign): Likewise.
60941         (__libc_valloc): Likewise.
60942         (__libc_pvalloc): Likewise.
60943         (__libc_calloc): Likewise.
60944         (__posix_memalign): Likewise.
60945         * malloc/morecore.c (__sbrk): Likewise.
60946         (__default_morecore): Likewise.
60948         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
60950         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
60951         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
60952         __malloc_ptrdiff_t.
60954         * malloc/malloc.h (__malloc_size_t): Remove macro.
60955         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
60956         __malloc_size_t.
60957         (old_memalign_hook): Likewise.
60958         (old_realloc_hook): Likewise.
60959         (struct hdr): Likewise.
60960         (flood): Likewise.
60961         (mallochook): Likewise.
60962         (memalignhook): Likewise.
60963         (reallochook): Likewise.
60964         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
60965         (tr_old_realloc_hook): Likewise.
60966         (tr_old_memalign_hook): Likewise.
60967         (tr_mallochook): Likewise.
60968         (tr_reallochook): Likewise.
60969         (tr_memalignhook): Likewise.
60971 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60973         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
60974         default_ldbl_pack and using as default implementation.
60975         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
60976         implementation.
60977         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
60978         redundant definition.
60979         (ldbl_insert_mantissa): Likewise.
60980         (ldbl_canonicalize): Likewise.
60981         (ldbl_nearbyint): Likewise.
60982         (ldbl_pack): Rename to ldbl_pack_ppc.
60983         (ldbl_unpack): Rename to ldbl_unpack_ppc.
60984         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
60985         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
60987 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
60989         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
60990         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
60991         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
60992         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
60993         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
60994         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
60995         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
60996         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
60998 2013-03-07  Andreas Jaeger  <aj@suse.de>
61000         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61001         bits/mman-linux.h.
61003 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
61005         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
61006         Include mpa.h and declare __MPEXP.
61007         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
61008         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
61009         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
61010         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
61011         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
61012         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
61013         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
61015         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
61016         (__slowpow): Use long double EXPL and LOGL functions to
61017         compute POW.
61018         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
61019         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
61020         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
61021         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
61022         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
61023         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
61025         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
61026         intermediate variable to calculate exponent.
61027         (__sqr): Likewise.
61028         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
61029         Likewise.
61030         (__sqr): Likewise.
61032         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
61033         [!NO__SQR]: Define __sqr.
61034         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
61035         and NO__SQR.  Remove all code except __mul and __sqr.  Include
61036         sysdeps/ieee754/dbl-64/mpa.c.
61037         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61039         [BZ #12723]
61040         * posix/Makefile (tests): Add tst-pathconf.
61041         * posix/tst-pathconf.c: New test case.
61042         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
61043         _PC_PIPE_BUF.
61044         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
61046 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
61048         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
61050 2013-03-06  Andreas Jaeger  <aj@suse.de>
61052         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
61053         definition via __MAP_ANONYMOUS.
61055         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
61056         it's not part of Linux headers.
61058         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
61059         (MAP_HUGE_MASK): Define.
61061         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
61062         Define.
61063         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
61064         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
61065         Define.
61066         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
61067         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
61068         Define.
61069         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
61070         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
61071         Define.
61072         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
61074         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
61075         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
61076         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
61077         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
61078         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
61079         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
61081         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61082         Handle f2fs.
61084         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61085         Handle f2fs and efivarfs.
61087         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
61088         f2fs.
61090         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
61091         (EFIVARFS_MAGIC): Add.
61092         (F2FS_LINK_MAX): Add.
61094 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61096         * stdio-common/vfprintf.c: Replace __builtin_expect with
61097         __glibc_unlikely.
61099 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
61101         [BZ #13550]
61102         * sysdeps/generic/bp-sym.h: Remove file.
61103         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
61104         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
61105         <bp-sym.h> and <bp-asm.h>.
61106         (__longjmp): Don't use BP_SYM.
61107         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
61108         and <bp-asm.h>.
61109         (memcpy): Don't use BP_SYM.
61110         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
61111         <bp-sym.h> and <bp-asm.h>.
61112         (memcpy): Don't use BP_SYM.
61113         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
61114         <bp-asm.h>.
61115         (memcpy): Don't use BP_SYM.
61116         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
61117         <bp-asm.h>.
61118         (memset): Don't use BP_SYM.
61119         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61120         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61121         (__bzero): Don't use BP_SYM.
61122         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61123         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61124         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
61125         <bp-sym.h> and <bp-asm.h>.
61126         (memcmp): Don't use BP_SYM.  Remove comment about bounded
61127         pointers.
61128         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
61129         <bp-sym.h> and <bp-asm.h>.
61130         (memcpy): Don't use BP_SYM.
61131         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
61132         <bp-sym.h> and <bp-asm.h>.
61133         (memset): Don't use BP_SYM.
61134         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61135         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61136         (__bzero): Don't use BP_SYM.
61137         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61138         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61139         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
61140         <bp-sym.h> and <bp-asm.h>.
61141         (strncmp): Don't use BP_SYM.  Remove comment about bounded
61142         pointers.
61143         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
61144         <bp-sym.h> and <bp-asm.h>.
61145         (memcpy): Don't use BP_SYM.
61146         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
61147         <bp-sym.h> and <bp-asm.h>.
61148         (memset): Don't use BP_SYM.
61149         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61150         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61151         (__bzero): Don't use BP_SYM.
61152         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61153         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61154         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
61155         <bp-sym.h> and <bp-asm.h>.
61156         (__memchr): Don't use BP_SYM.
61157         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
61158         <bp-sym.h> and <bp-asm.h>.
61159         (memcmp): Don't use BP_SYM.  Remove comment about bounded
61160         pointers.
61161         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
61162         <bp-sym.h> and <bp-asm.h>.
61163         (memcpy): Don't use BP_SYM.
61164         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
61165         <bp-sym.h> and <bp-asm.h>.
61166         (__mempcpy): Don't use BP_SYM.
61167         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
61168         <bp-sym.h> and <bp-asm.h>.
61169         (__memrchr): Don't use BP_SYM.
61170         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
61171         <bp-sym.h> and <bp-asm.h>.
61172         (memset): Don't use BP_SYM.
61173         (__bzero): Likewise.
61174         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
61175         <bp-sym.h> and <bp-asm.h>.
61176         (__rawmemchr): Don't use BP_SYM.
61177         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
61178         <bp-sym.h> and <bp-asm.h>.
61179         (__STRCMP): Don't use BP_SYM.
61180         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
61181         <bp-sym.h> and <bp-asm.h>.
61182         (strchr): Don't use BP_SYM.
61183         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
61184         <bp-sym.h> and <bp-asm.h>.
61185         (__strchrnul): Don't use BP_SYM.
61186         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
61187         <bp-sym.h> and <bp-asm.h>.
61188         (strlen): Don't use BP_SYM.
61189         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
61190         <bp-sym.h> and <bp-asm.h>.
61191         (strncmp): Don't use BP_SYM.  Remove comment about bounded
61192         pointers.
61193         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
61194         <bp-sym.h> and <bp-asm.h>.
61195         (__strnlen): Don't use BP_SYM.
61196         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
61197         <bp-sym.h> and <bp-asm.h>.
61198         (__GI__setjmp): Don't use BP_SYM.
61199         (_setjmp): Likewise.
61200         (__sigsetjmp): Likewise.
61201         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
61202         (L(start_addresses)): Don't use BP_SYM.
61203         (_start): Likewise.
61204         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
61205         <bp-asm.h>.
61206         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
61207         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
61208         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61209         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61210         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
61211         <bp-asm.h>.
61212         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
61213         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
61214         about bounded pointers.
61215         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
61216         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
61217         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
61218         <bp-asm.h>.
61219         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
61220         about bounded pointers.  Remove GKM FIXME comments.
61221         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
61222         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
61223         <bp-asm.h>.
61224         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
61225         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
61226         Remove GKM FIXME comments.
61227         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61228         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61229         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
61230         <bp-asm.h>.
61231         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
61232         about bounded pointers.  Remove GKM FIXME comment.
61233         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
61234         and <bp-asm.h>.
61235         (strncmp): Don't use BP_SYM.  Remove comment about bounded
61236         pointers.
61237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
61238         <bp-sym.h> and <bp-asm.h>.
61239         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
61240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
61241         <bp-sym.h> and <bp-asm.h>.
61242         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
61243         comment.
61245 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61247         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
61248         call free(NULL).
61250 2013-03-05  David S. Miller  <davem@davemloft.net>
61252         * po/es.po: Update from translation team.
61254 2013-03-05  Andreas Jaeger  <aj@suse.de>
61256         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
61257         <bits/mman-linux.h>.
61258         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
61259         is fine.
61260         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
61261         <bits/mman-linux.h> to end of file.
61262         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
61263         is fine.
61264         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
61265         <bits/mman-linux.h> to end of file.
61266         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
61267         is fine.
61268         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
61269         <bits/mman-linux.h> to end of file.
61271         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
61272         (MCL_CURRENT, MCL_FUTURE): Define here.
61274 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61276         [BZ #15232]
61277         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
61278         attribute_hidden.
61279         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
61281 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61283         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
61284         fourth parameter needed for rt_sigprocmask syscall.
61285         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
61286         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
61287         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
61288         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
61289         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
61290         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
61292 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
61294         [BZ #13550]
61295         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
61296         comment about bounded pointers.
61297         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
61298         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
61300 2013-03-04  Andreas Jaeger  <aj@suse.de>
61302         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
61303         common definitions.
61305         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
61306         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
61307         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
61308         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61309         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
61310         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61312 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61314         [BZ #15055]
61315         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
61316         __ieee754_sqrl instead of __sqrl.
61318 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
61320         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
61321         * sysdeps/powerpc/fpu_control.h: ... here.
61322         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
61323         * sysdeps/powerpc/bits/fenvinline.h: ... here.
61324         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
61325         * sysdeps/powerpc/bits/mathinline.h: ... here.
61327 2013-03-01  Roland McGrath  <roland@hack.frob.com>
61329         * elf/dl-hwcaps.c (_dl_important_hwcaps):
61330         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
61331         to just [NEED_DL_SYSINFO_DSO].
61332         * elf/dl-support.c: Likewise.
61333         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
61334         * elf/rtld.c (dl_main): Likewise.
61335         * elf/setup-vdso.h (setup_vdso): Likewise.
61336         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
61337         * sysdeps/unix/sysv/linux/dl-sysdep.c
61338         (_dl_discover_osversion): Likewise.
61340 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
61342         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
61343         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
61345 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
61347         * NEWS: Mention libm performance improvements and non-x86 PI
61348         futex support.
61350         * csu/libc-start.c (__pthread_initialize_minimal): Change
61351         function arguments.
61352         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
61354 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
61356         [BZ #13550]
61357         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
61358         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
61359         <bp-sym.h> and <bp-asm.h>.
61360         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
61361         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
61362         and <bp-asm.h>.
61363         (memcpy): Don't use BP_SYM.
61364         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
61365         <bp-asm.h>.
61366         (__mpn_add_n): Don't use BP_SYM.
61367         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
61368         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
61369         and <bp-asm.h>.
61370         (__mpn_addmul_1): Don't use BP_SYM.
61371         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61372         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
61373         <bp-sym.h>.
61374         (_setjmp): Don't use BP_SYM.
61375         (__novmx_setjmp): Likewise.
61376         (__GI__setjmp): Likewise.
61377         (__vmx_setjmp): Likewise.
61378         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
61379         <bp-sym.h>.
61380         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
61381         (__bzero): Don't use BP_SYM.
61382         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61383         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61384         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
61385         <bp-sym.h> and <bp-asm.h>.
61386         (memcpy): Don't use BP_SYM.
61387         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
61388         <bp-sym.h> and <bp-asm.h>.
61389         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
61390         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
61391         <bp-sym.h> and <bp-asm.h>.
61392         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
61393         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
61394         <bp-asm.h>.
61395         (__mpn_lshift): Don't use BP_SYM.
61396         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61397         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
61398         <bp-asm.h>.
61399         (memset): Don't use BP_SYM.
61400         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61401         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61402         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
61403         <bp-asm.h>.
61404         (__mpn_mul_1): Don't use BP_SYM.
61405         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61406         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
61407         <bp-sym.h> and <bp-asm.h>.
61408         (memcmp): Don't use BP_SYM.
61409         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
61410         <bp-sym.h> and <bp-asm.h>.
61411         (memcpy): Don't use BP_SYM.
61412         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
61413         <bp-sym.h> and <bp-asm.h>.
61414         (memset): Don't use BP_SYM.
61415         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
61416         <bp-sym.h> and <bp-asm.h>.
61417         (strncmp): Don't use BP_SYM.
61418         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
61419         <bp-sym.h> and <bp-asm.h>.
61420         (memcpy): Don't use BP_SYM.
61421         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
61422         <bp-sym.h> and <bp-asm.h>.
61423         (memset): Don't use BP_SYM.
61424         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
61425         <bp-sym.h> and <bp-asm.h>.
61426         (__memchr): Don't use BP_SYM.
61427         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
61428         <bp-sym.h> and <bp-asm.h>.
61429         (memcmp): Don't use BP_SYM.
61430         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
61431         <bp-sym.h> and <bp-asm.h>.
61432         (memcpy): Don't use BP_SYM.
61433         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
61434         <bp-sym.h> and <bp-asm.h>.
61435         (__mempcpy): Don't use BP_SYM.
61436         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
61437         <bp-sym.h> and <bp-asm.h>.
61438         (__memrchr): Don't use BP_SYM.
61439         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
61440         <bp-sym.h> and <bp-asm.h>.
61441         (memset): Don't use BP_SYM.
61442         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
61443         <bp-sym.h> and <bp-asm.h>.
61444         (__rawmemchr): Don't use BP_SYM.
61445         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
61446         <bp-sym.h> and <bp-asm.h>.
61447         (__STRCMP): Don't use BP_SYM.
61448         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
61449         <bp-sym.h> and <bp-asm.h>.
61450         (strchr): Don't use BP_SYM.
61451         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
61452         <bp-sym.h> and <bp-asm.h>.
61453         (__strchrnul): Don't use BP_SYM.
61454         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
61455         <bp-sym.h> and <bp-asm.h>.
61456         (strlen): Don't use BP_SYM.
61457         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
61458         <bp-sym.h> and <bp-asm.h>.
61459         (strncmp): Don't use BP_SYM.
61460         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
61461         <bp-sym.h> and <bp-asm.h>.
61462         (__strnlen): Don't use BP_SYM.
61463         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
61464         <bp-asm.h>.
61465         (__mpn_rshift): Don't use BP_SYM.
61466         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61467         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
61468         <bp-sym.h> and <bp-asm.h>.
61469         (__sigsetjmp): Don't use BP_SYM.
61470         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
61471         (L(start_addresses)): Don't use BP_SYM.
61472         (_start): Likewise.
61473         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
61474         <bp-asm.h>.
61475         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
61476         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61477         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61478         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
61479         <bp-asm.h>.
61480         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
61481         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
61482         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
61483         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
61484         <bp-asm.h>.
61485         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
61486         comments.
61487         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
61488         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
61489         <bp-asm.h>.
61490         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
61491         FIXME comments.
61492         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61493         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61494         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
61495         <bp-asm.h>.
61496         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
61497         comment.
61498         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
61499         and <bp-asm.h>.
61500         (strncmp): Don't use BP_SYM,
61501         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
61502         <bp-asm.h>.
61503         (__mpn_sub_n): Don't use BP_SYM.
61504         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61505         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
61506         and <bp-asm.h>.
61507         (__mpn_submul_1): Don't use BP_SYM.
61508         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
61510         <bp-sym.h> and <bp-asm.h>.
61511         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
61512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
61513         <bp-sym.h> and <bp-asm.h>.
61514         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
61515         comment.
61517 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61519         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
61520         Use ZK to minimize writes to Z.
61521         (sub_magnitudes): Simplify code a bit.
61522         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
61523         Use ZK to minimize writes to Z.
61524         (sub_magnitudes): Simplify code a bit.
61526 2013-02-27  Roland McGrath  <roland@hack.frob.com>
61528         * csu/gmon-start.c: Add special exception to license text.
61530 2013-02-27  Richard Henderson  <rth@redhat.com>
61532         * scripts/config.guess: Update from config.git.
61533         * scripts/config.sub: Likewise.
61535 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
61537         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
61539         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
61541         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
61543         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
61545         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
61547 2013-02-26  Roland McGrath  <roland@hack.frob.com>
61549         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
61550         [$(build-shared = yes].
61552 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61554         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
61555         (__mul): Reduce iterations for calculating mantissa.
61557         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
61558         MPTWO.
61559         (__mpranred): Likewise.
61561         [BZ #15160]
61562         * malloc/memusagestat.c (main): Draw graphs for heap and stack
61563         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
61565 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
61567         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
61568         Define __attribute__.
61570 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61572         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
61573         unused.
61574         * posix/regex_internal.h (__attribute): Remove.
61575         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
61576         (re_string_context_at): Likewise.
61577         (bitset_not): Use __attribute__ and mark function as possibly
61578         unused.
61579         (bitset_merge): Likewise.
61580         (bitset_mask): Likewise.
61581         (re_string_char_size_at): Likewise.
61582         (re_string_wchar_at): Likewise.
61583         (re_string_elem_size_at): Likewise.
61585 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61587         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
61588         code.
61589         (cc32): Likewise.
61591         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
61592         (__acr): Likewise.
61593         (__cpy): Likewise.
61594         (norm): Likewise.
61595         (denorm): Likewise.
61596         (__dbl_mp): Likewise.
61597         (add_magnitudes): Likewise.
61598         (sub_magnitudes): Likewise.
61599         (__mul): Likewise.
61600         (__inv): Likewise.
61602         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
61603         style.
61605         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
61606         style.
61608         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
61609         code.
61611         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
61612         up changes with default code.
61613         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
61614         Likewise.
61616 2013-02-24  Allan McRae  <allan@archlinux.org>
61618         * manual/socket.texi (The Internet Namespace): Order menu items
61619         to match that in the file.
61621         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
61622         node listing of the info page menu.
61624 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
61626         [BZ #13550]
61627         * sysdeps/i386/bp-asm.h: Remove file.
61628         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
61629         (PARMS): Do not use macros from bp-asm.h.
61630         (S1): Likewise.
61631         (S2): Likewise.
61632         (SIZE): Likewise.
61633         (__mpn_add_n): Do not use BP_SYM
61634         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
61635         "bp-asm.h".
61636         (PARMS): Do not use macros from bp-asm.h.
61637         (S1): Likewise.
61638         (SIZE): Likewise.
61639         (__mpn_addmul_1): Do not use BP_SYM
61640         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
61641         "bp-asm.h".
61642         (PARMS): Do not use macros from bp-asm.h.
61643         (SIGMSK): Likewise.
61644         (_setjmp): Likewise.  Do not use BP_SYM.
61645         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
61646         "bp-asm.h".
61647         (PARMS): Do not use macros from bp-asm.h.
61648         (SIGMSK): Likewise.
61649         (setjmp): Likewise.  Do not use BP_SYM.
61650         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
61651         "bp-asm.h".
61652         (PARMS): Do not use macros from bp-asm.h.
61653         (__frexp): Do not use BP_SYM.
61654         (frexp): Likewise.
61655         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
61656         "bp-asm.h".
61657         (PARMS): Do not use macros from bp-asm.h.
61658         (__frexpf): Do not use BP_SYM.
61659         (frexpf): Likewise.
61660         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
61661         "bp-asm.h".
61662         (PARMS): Do not use macros from bp-asm.h.
61663         (__frexpl): Do not use BP_SYM.
61664         (frexpl): Likewise.
61665         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
61666         "bp-asm.h".
61667         (PARMS): Do not use macros from bp-asm.h.
61668         (__remquo): Do not use BP_SYM.
61669         (remquo): Likewise.
61670         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
61671         "bp-asm.h".
61672         (PARMS): Do not use macros from bp-asm.h.
61673         (__remquof): Do not use BP_SYM.
61674         (remquof): Likewise.
61675         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
61676         "bp-asm.h".
61677         (PARMS): Do not use macros from bp-asm.h.
61678         (__remquol): Do not use BP_SYM.
61679         (remquol): Likewise.
61680         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
61681         "bp-asm.h".
61682         (PARMS): Do not use macros from bp-asm.h.
61683         (DEST): Likewise.
61684         (SRC): Likewise.
61685         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
61686         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
61687         "bp-asm.h".
61688         (PARMS): Do not use macros from bp-asm.h.
61689         (strlen): Do not use BP_SYM.
61690         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
61691         "bp-asm.h".
61692         (PARMS): Do not use macros from bp-asm.h.
61693         (S1): Likewise.
61694         (S2): Likewise.
61695         (SIZE): Likewise.
61696         (__mpn_add_n): Do not use BP_SYM.
61697         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
61698         "bp-asm.h".
61699         (PARMS): Do not use macros from bp-asm.h.
61700         (S1): Likewise.
61701         (SIZE): Likewise.
61702         (__mpn_addmul_1): Do not use BP_SYM.
61703         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
61704         weak_alias.
61705         (bzero): Likewise.
61706         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
61707         "bp-asm.h".
61708         (PARMS): Do not use macros from bp-asm.h.
61709         (S): Likewise.
61710         (SIZE): Likewise.
61711         (__mpn_lshift): Do not use BP_SYM.
61712         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
61713         "bp-asm.h".
61714         (PARMS): Do not use macros from bp-asm.h.
61715         (DEST): Likewise.
61716         (SRC): Likewise.
61717         (LEN): Likewise.
61718         (memcpy): Likewise.  Do not use BP_SYM.
61719         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
61720         libc_hidden_def and weak_alias.
61721         (mempcpy): Do not use BP_SYM in weak_alias.
61722         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
61723         "bp-asm.h".
61724         (PARMS): Do not use macros from bp-asm.h.
61725         (DEST): Likewise.
61726         (LEN): Likewise.
61727         [!BZERO_P] (CHR): Likewise.
61728         (memset): Likewise.  Do not use BP_SYM.
61729         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
61730         "bp-asm.h".
61731         (PARMS): Do not use macros from bp-asm.h.
61732         (S1): Likewise.
61733         (SIZE): Likewise.
61734         (__mpn_mul_1): Do not use BP_SYM.
61735         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
61736         "bp-asm.h".
61737         (PARMS): Do not use macros from bp-asm.h.
61738         (S): Likewise.
61739         (SIZE): Likewise.
61740         (__mpn_rshift): Do not use BP_SYM.
61741         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
61742         "bp-asm.h".
61743         (PARMS): Do not use macros from bp-asm.h.
61744         (STR): Likewise.
61745         (CHR): Likewise.
61746         (strchr): Likewise.  Do not use BP_SYM.
61747         (index): Do not use BP_SYM in weak_alias.
61748         * sysdeps/i386/i586/strcpy.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         (SRC): Likewise.
61753         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
61754         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
61755         "bp-asm.h".
61756         (PARMS): Do not use macros from bp-asm.h.
61757         (strlen): Do not use BP_SYM.
61758         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
61759         "bp-asm.h".
61760         (PARMS): Do not use macros from bp-asm.h.
61761         (S1): Likewise.
61762         (S2): Likewise.
61763         (SIZE): Likewise.
61764         (__mpn_sub_n): Do not use BP_SYM.
61765         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
61766         "bp-asm.h".
61767         (PARMS): Do not use macros from bp-asm.h.
61768         (S1): Likewise.
61769         (SIZE): Likewise.
61770         (__mpn_submul_1): Do not use BP_SYM.
61771         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
61772         "bp-asm.h".
61773         (PARMS): Do not use macros from bp-asm.h.
61774         (S1): Likewise.
61775         (S2): Likewise.
61776         (SIZE): Likewise.
61777         (__mpn_add_n): Do not use BP_SYM.
61778         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
61779         weak_alias.
61780         (bzero): Likewise.
61781         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
61782         "bp-asm.h".
61783         (PARMS): Do not use macros from bp-asm.h.
61784         (BLK2): Likewise.
61785         (LEN): Likewise.
61786         (memcmp): Do not use BP_SYM.
61787         (bcmp): Do not use BP_SYM in weak_alias.
61788         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
61789         "bp-asm.h".
61790         (PARMS): Do not use macros from bp-asm.h.
61791         (DEST): Likewise.
61792         (SRC): Likewise.
61793         (LEN): Likewise.
61794         (memcpy): Likewise.  Do not use BP_SYM.
61795         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
61796         "bp-asm.h".
61797         (PARMS): Do not use macros from bp-asm.h.
61798         (DEST): Likewise.
61799         (SRC): Likewise.
61800         (LEN): Likewise.
61801         (memmove): Likewise.  Do not use BP_SYM.
61802         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
61803         "bp-asm.h".
61804         (PARMS): Do not use macros from bp-asm.h.
61805         (DEST): Likewise.
61806         (SRC): Likewise.
61807         (LEN): Likewise.
61808         (__mempcpy): Likewise.  Do not use BP_SYM.
61809         (mempcpy): Do not use BP_SYM in weak_alias.
61810         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
61811         "bp-asm.h".
61812         (PARMS): Do not use macros from bp-asm.h.
61813         (DEST): Likewise.
61814         (LEN): Likewise.
61815         [!BZERO_P] (CHR): Likewise.
61816         (memset): Likewise.  Do not use BP_SYM.
61817         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
61818         "bp-asm.h".
61819         (PARMS): Do not use macros from bp-asm.h.
61820         (STR2): Likewise.
61821         (strcmp): Do not use BP_SYM.
61822         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
61823         "bp-asm.h".
61824         (PARMS): Do not use macros from bp-asm.h.
61825         (STR): Likewise.
61826         (DELIM): Likewise.
61827         [USE_AS_STRTOK_R] (SAVE): Likewise.
61828         (FUNCTION): Likewise.  Do not use BP_SYM.
61829         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
61830         aliases.
61831         (strtok_r): Likewise.
61832         (__GI___strtok_r): Likewise.
61833         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
61834         (PARMS): Do not use macros from bp-asm.h.
61835         (S): Likewise.
61836         (SIZE): Likewise.
61837         (__mpn_lshift): Do not use BP_SYM.
61838         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
61839         (PARMS): Do not use macros from bp-asm.h.
61840         (STR): Likewise.
61841         (CHR): Likewise.
61842         (__memchr): Do not use BP_SYM.
61843         (memchr): Do not use BP_SYM in weak_alias.
61844         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
61845         (PARMS): Do not use macros from bp-asm.h.
61846         (BLK2): Likewise.
61847         (LEN): Likewise.
61848         (memcmp): Do not use BP_SYM.
61849         (bcmp): Do not use BP_SYM in weak_alias.
61850         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
61851         (PARMS): Do not use macros from bp-asm.h.
61852         (S1): Likewise.
61853         (SIZE): Likewise.
61854         (__mpn_mul_1): Do not use BP_SYM.
61855         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
61856         "bp-asm.h".
61857         (PARMS): Do not use macros from bp-asm.h.
61858         (STR): Likewise.
61859         (CHR): Likewise.
61860         (__rawmemchr): Do not use BP_SYM.
61861         (rawmemchr): Do not use BP_SYM in weak_alias.
61862         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
61863         (PARMS): Do not use macros from bp-asm.h.
61864         (S): Likewise.
61865         (SIZE): Likewise.
61866         (__mpn_rshift): Do not use BP_SYM.
61867         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
61868         (PARMS): Do not use macros from bp-asm.h.
61869         (SIGMSK): Likewise.
61870         (__sigsetjmp): Likewise.  Do not use BP_SYM.
61871         * sysdeps/i386/start.S: Do not include "bp-sym.h".
61872         (_start): Do not use BP_SYM.
61873         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
61874         (PARMS): Do not use macros from bp-asm.h.
61875         (DEST): Likewise.
61876         (SRC): Likewise.
61877         (__stpcpy): Likewise.  Do not use BP_SYM.
61878         (stpcpy): Do not use BP_SYM in weak_alias.
61879         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
61880         "bp-asm.h".
61881         (PARMS): Do not use macros from bp-asm.h.
61882         (DEST): Likewise.
61883         (SRC): Likewise.
61884         (LEN): Likewise.
61885         (__stpncpy): Likewise.  Do not use BP_SYM.
61886         (stpncpy): Do not use BP_SYM in weak_alias.
61887         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
61888         (PARMS): Do not use macros from bp-asm.h.
61889         (STR): Likewise.
61890         (CHR): Likewise.
61891         (strchr): Likewise.  Do not use BP_SYM.
61892         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
61893         "bp-asm.h".
61894         (PARMS): Do not use macros from bp-asm.h.
61895         (STR): Likewise.
61896         (CHR): Likewise.
61897         (__strchrnul): Likewise.  Do not use BP_SYM.
61898         (strchrnul): Do not use BP_SYM in weak_alias.
61899         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
61900         "bp-asm.h".
61901         (PARMS): Do not use macros from bp-asm.h.
61902         (STOP): Likewise.
61903         (strcspn): Do not use BP_SYM.
61904         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
61905         "bp-asm.h".
61906         (PARMS): Do not use macros from bp-asm.h.
61907         (STR): Likewise.
61908         (STOP): Likewise.
61909         (strpbrk): Likewise.  Do not use BP_SYM.
61910         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
61911         "bp-asm.h".
61912         (PARMS): Do not use macros from bp-asm.h.
61913         (STR): Likewise.
61914         (CHR): Likewise.
61915         (strrchr): Likewise.  Do not use BP_SYM.
61916         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
61917         (PARMS): Do not use macros from bp-asm.h.
61918         (SKIP): Likewise.
61919         (strspn): Do not use BP_SYM.
61920         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
61921         (PARMS): Do not use macros from bp-asm.h.
61922         (STR): Likewise.
61923         (DELIM): Likewise.
61924         (SAVE): Likewise.
61925         (FUNCTION): Likewise.  Do not use BP_SYM.
61926         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
61927         aliases.
61928         (strtok_r): Likewise.
61929         (__GI___strtok_r): Likewise.
61930         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
61931         (PARMS): Do not use macros from bp-asm.h.
61932         (S1): Likewise.
61933         (S2): Likewise.
61934         (SIZE): Likewise.
61935         (__mpn_sub_n): Do not use BP_SYM.
61936         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
61937         "bp-asm.h".
61938         (PARMS): Do not use macros from bp-asm.h.
61939         (S1): Likewise.
61940         (SIZE): Likewise.
61941         (__mpn_submul_1): Do not use BP_SYM.
61942         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
61943         <bp-sym.h>.
61944         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
61945         and <bp-asm.h>.
61946         (PARMS): Do not use macros from bp-asm.h.
61947         (FLAGS): Likewise.
61948         (PTID): Likewise.
61949         (TLS): Likewise.
61950         (CTID): Likewise.
61951         (__clone): Do not use BP_SYM.
61952         (clone): Do not use BP_SYM in weak_alias.
61953         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
61954         and <bp-asm.h>.
61955         (PARMS): Do not use macros from bp-asm.h.
61956         (LEN): Likewise.
61957         (__mmap64): Do not use BP_SYM.
61958         (mmap64): Do not use BP_SYM in weak_alias.
61959         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
61960         <bp-sym.h> and <bp-asm.h>.
61961         (PARMS): Do not use macros from bp-asm.h.
61962         (__posix_fadvise64_l64): Do not use BP_SYM.
61963         * sysdeps/unix/sysv/linux/i386/semtimedop.S
61964         (PARMS): Do not use macros from bp-asm.h.
61965         (NSOPS): Likewise.
61966         (semtimedop): Do not use BP_SYM.
61967         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
61968         and <bp-asm.h>.
61970 2013-02-21  Allan McRae  <allan@archlinux.org>
61972         * manual/message.texi (Charset conversion in gettext):
61973         Move @end statement to beginning of line.
61975 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61977         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
61978         static.
61979         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
61980         Likewise.
61982         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
61983         (denorm): Likewise.
61984         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
61985         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
61987 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61989         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
61990         tail-call to the resolved function if pltexit isn't needed.
61992 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61994         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
61995         or Y being zero as being unlikely.
61996         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
61997         Likewise.
61999 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
62001         * manual/nss.texi (System Databases and Name Service Switch):
62002         Remove frobnicate @pxref.
62004 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
62006         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
62007         __attribute__ ((unused)) to __attribute__ ((__unused__)).
62009 2013-02-20  Petr Machata  <pmachata@redhat.com>
62011         * elf/elf.h (R_ARM_TARGET1): New macro.
62012         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
62013         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
62014         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
62015         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
62016         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
62017         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
62018         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
62019         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
62020         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
62021         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
62022         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
62023         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
62024         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
62025         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
62026         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
62027         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
62028         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
62029         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
62030         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
62031         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
62032         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
62033         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
62034         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
62035         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
62036         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
62037         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
62038         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
62039         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
62040         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
62041         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
62042         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
62043         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
62044         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
62045         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
62046         (R_ARM_THM_GOT_BREL12): Likewise.
62047         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
62048         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
62049         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
62050         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
62051         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
62052         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
62053         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
62054         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
62055         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
62057 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
62059         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
62060         __attribute_used__ to __attribute__ ((unused)).
62062 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
62064         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
62065         powerpc mpa.c.
62066         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
62067         comment formatting.
62068         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
62070 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
62072         [BZ #13550]
62073         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
62074         Remove macro.
62075         (ENTER): Remove both macro definitions.
62076         (LEAVE): Likewise.
62077         (CHECK_BOUNDS_LOW): Likewise.
62078         (CHECK_BOUNDS_HIGH): Likewise.
62079         (CHECK_BOUNDS_BOTH): Likewise.
62080         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
62081         (RETURN_BOUNDED_POINTER): Likewise.
62082         (RETURN_NULL_BOUNDED_POINTER): Likewise.
62083         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
62084         (POP_ERRNO_LOCATION_RETURN): Likewise.
62085         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
62086         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62087         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
62088         macros.
62089         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62090         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
62091         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
62092         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
62093         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
62094         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
62095         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
62096         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
62097         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
62098         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
62099         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
62100         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
62101         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62102         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
62103         removed macros.
62104         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62105         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
62106         macros.
62107         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62108         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
62109         * sysdeps/i386/i586/memset.S (memset): Likewise.
62110         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
62111         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62112         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
62113         macros.
62114         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62115         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
62116         Change uses of L(2) to L(out).
62117         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
62118         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
62119         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
62120         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62121         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
62122         removed macros.
62123         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62124         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
62125         macros.
62126         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62127         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
62128         (RETURN): Do not use macro LEAVE.
62129         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
62130         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
62131         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
62132         * sysdeps/i386/i686/memset.S (memset): Likewise.
62133         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
62134         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
62135         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
62136         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
62137         Likewise.
62138         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62139         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
62140         L(1_2) and L(1_3) into L(1).
62141         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
62142         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
62143         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62144         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
62145         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
62146         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
62147         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
62148         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62149         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
62150         macros.
62151         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
62152         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62153         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
62154         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
62155         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
62156         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62157         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
62158         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
62159         * sysdeps/i386/strcspn.S (strcspn): Likewise.
62160         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
62161         * sysdeps/i386/strrchr.S (strrchr): Likewise.
62162         * sysdeps/i386/strspn.S (strspn): Likewise.
62163         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
62164         conditional code.
62165         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62166         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
62167         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
62168         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
62169         L(1_3) into L(1_1).
62170         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
62171         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62172         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
62173         macros.
62174         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62176 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
62178         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
62179         macro.
62181 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
62183         * math/atest-exp.c (exp_mpn): Remove ROUND.
62184         * math/atest-exp2.c (exp_mpn): Likewise.
62185         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
62187         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
62188         * stdlib/tst-tls-atexit-lib.c: Likewise.
62189         * stdlib/tst-tls-atexit.c: Likewise.
62191 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
62193         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
62194         and __attribute_alloc_size__.
62196 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
62198         * include/programs/xmalloc.h: Change __attribute_alloc_size to
62199         __attribute_alloc_size__.
62200         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
62201         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
62203 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
62205         * include/programs/xmalloc.h: New file.
62206         * catgets/gencat.c: Include it.
62207         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
62208         * elf/pldd.c: Likewise.
62209         * iconv/iconv_charmap.c: Likewise.
62210         * iconv/iconvconfig.c: Likewise.
62211         * iconv/strtab.c: Likewise.
62212         * locale/programs/locale.c: Likewise.
62213         * locale/programs/localedef.h: Likewise.
62214         * locale/programs/simple-hash.c: Likewise.
62215         * nscd/nscd.h: Likewise.
62216         * nss/makedb.c: Likewise.
62217         * sysdeps/generic/ldconfig.h: Likewise.
62219 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
62221         * Versions.def: Add GLIBC_2.18.
62222         * include/link.h (struct link_map): New member l_tls_dtor_count.
62223         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
62224         (__call_tls_dtors): Likewise.
62225         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
62226         __cxa_thread_atexit_impl.
62227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62228         Likewise.
62229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62230         Likewise.
62231         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
62232         Likewise.
62233         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
62234         Likewise.
62235         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62236         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
62237         Likewise.
62238         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
62239         Likewise.
62240         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62241         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
62242         Likewise.
62243         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
62244         (tests): Add test case tst-tls-atexit.
62245         (modules-names): Add shared library for tst-tls-atexit.
62246         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
62247         (GLIBC_PRIVATE): Add __call_tls_dtors.
62248         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
62249         for libstdc++.
62250         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
62251         * stdlib/tst-tls-atexit.c: New test case.
62252         * stdlib/tst-tls-atexit-lib.c: New test case.
62254         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
62256         * elf/Versions (ld): Add _dl_find_dso_for_object.
62257         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
62258         * elf/dl-open.c (_dl_find_dso_for_object): New function.
62259         (dl_open_worker): Use _dl_find_dso_for_object.
62260         * elf/dl-sym.c (do_sym): Likewise.
62261         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
62263 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62265         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
62266         Syntactic changes only.
62267         (_dl_runtime_profile): Do a tail-call to the resolved function.
62269 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
62271         [BZ #13550]
62272         * sysdeps/x86_64/bp-asm.h: Remove file.
62273         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
62274         <bp-sym.h> and <bp-asm.h>.
62275         (__clone): Do not use BP_SYM.
62276         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
62277         <bp-sym.h> and <bp-asm.h>.
62278         * sysdeps/unix/x86_64/sysdep.S: Likewise.
62279         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
62280         "bp-asm.h".
62281         (_setjmp): Do not use BP_SYM.
62282         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
62283         "bp-asm.h".
62284         (setjmp): Do not use BP_SYM.
62285         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
62286         libc_hidden_def.
62287         (mempcpy): Do not use BP_SYM in weak_alias.
62288         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
62289         "bp-asm.h".
62290         (strchr): Do not use BP_SYM.
62291         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
62292         "bp-asm.h".
62293         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
62294         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
62295         (_start): Do not use BP_SYM.
62296         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
62297         "bp-asm.h".
62298         (strcat): Do not use BP_SYM.
62299         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
62300         "bp-asm.h".
62301         (STRCMP): Do not use BP_SYM.
62302         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
62303         "bp-asm.h".
62304         (STRCPY): Do not use BP_SYM.
62305         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
62306         "bp-asm.h".
62307         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
62308         "bp-asm.h".
62309         (FUNCTION): Do not use BP_SYM.
62310         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
62311         weak_alias.
62312         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
62314 2013-02-17  Andreas Jaeger  <aj@suse.de>
62316         * time/Versions: Sort entries.
62317         * string/Versions: Likewise.
62318         * resolv/Versions: Likewise.
62319         * posix/Versions: Likewise.
62320         * iconv/Versions: Likewise.
62321         * elf/Versions: Likewise.
62322         * wcsmbs/Versions: Likewise.
62324 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62326         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
62327         loop termination condition.
62329         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
62330         variable to calculate EZ.
62331         (__sqr): Likewise.
62333         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
62334         the lower precision input.
62336 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
62338         [BZ #13550]
62339         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
62340         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
62341         (run-via-rtld-prefix): Do not handle %-bp tests.
62342         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
62343         (all-object-suffixes): Remove .ob.
62344         (bppfx): Remove variable.
62345         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
62346         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
62347         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
62348         [$(build-bounded) = yes] (libtype.ob): Likewise.
62349         * Makerules (elide-routines.ob): Remove variable.
62350         (do-tests-clean): Do not handle *-bp.out.
62351         (common-mostlyclean): Do not handle *-bp and *-bp.out.
62352         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
62353         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
62354         (tests): Do not include $(tests-bp.out).
62355         (xtests): Do not include $(xtests-bp.out).
62356         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
62357         [$(build-bounded) = yes] ($(addprefix
62358         $(objpfx),$(binaries-bounded))): Remove rule.
62359         ($(objpfx)%-bp.out): Remove rule.
62360         * config.make.in (build-bounded): Remove variable.
62361         * crypt/Makefile [$(build-bounded) = yes]
62362         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
62363         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
62364         append to variable.
62365         [$(build-bounded) = yes] (install-lib): Likewise.
62366         [$(build-bounded) = yes] (generated): Likewise.
62367         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
62368         Remove rule.
62369         * intl/Makefile [$(build-bounded) = yes]
62370         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
62371         * math/Makefile [$(build-bounded) = yes]
62372         ($(tests:%=$(objpfx)%-bp): Likewise.
62373         * misc/Makefile [$(build-bounded) = yes]
62374         ($(objpfx)tst-tsearch-bp): Likewise.
62375         * nptl/Makeconfig (bounded-thread-library): Remove variable.
62376         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
62377         Remove dependency.
62378         * string/Makefile (o-objects.ob): Remove variable.
62379         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
62380         (CFLAGS-.ob): Remove variable.
62381         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
62382         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
62383         both definitions of variable.
62384         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
62385         (ASFLAGS-.ob): Remove variable.
62387 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
62389         [BZ #13550]
62390         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
62391         Remove __BOUNDED_POINTERS__ from condition.
62392         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
62393         * string/bits/string2.h [!__NO_STRING_INLINES &&
62394         !__BOUNDED_POINTERS__]: Likewise.
62395         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
62396         Likewise.
62397         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
62398         Remove conditional code.
62399         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
62400         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
62401         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
62402         condition.
62404         [BZ #13550]
62405         * csu/libc-start.c: Do not include <bp-sym.h>.
62406         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
62407         * elf/dl-open.c: Do not include <bp-sym.h>.
62408         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
62409         * math/fegetenv.c: Do not include <bp-sym.h>.
62410         (fegetenv): Do not use BP_SYM in versioned symbols.
62411         * nptl/sysdeps/pthread/bits/libc-lockP.h
62412         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
62413         <bp-sym.h>.
62414         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62415         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
62416         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62417         (__pthread_mutex_destroy): Likewise.
62418         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62419         (__pthread_mutex_lock): Likewise.
62420         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62421         (__pthread_mutex_trylock): Likewise.
62422         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62423         (__pthread_mutex_unlock): Likewise.
62424         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62425         (__pthread_mutexattr_init): Likewise.
62426         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62427         (__pthread_mutexattr_destroy): Likewise.
62428         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62429         (__pthread_mutexattr_settype): Likewise.
62430         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62431         (__pthread_rwlock_init): Likewise.
62432         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62433         (__pthread_rwlock_destroy): Likewise.
62434         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62435         (__pthread_rwlock_rdlock): Likewise.
62436         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62437         (__pthread_rwlock_tryrdlock): Likewise.
62438         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62439         (__pthread_rwlock_wrlock): Likewise.
62440         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62441         (__pthread_rwlock_trywrlock): Likewise.
62442         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62443         (__pthread_rwlock_unlock): Likewise.
62444         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62445         (__pthread_key_create): Likewise.
62446         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62447         (__pthread_setspecific): Likewise.
62448         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62449         (__pthread_getspecific): Likewise.
62450         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
62451         Likewise.
62452         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62453         (_pthread_cleanup_push_defer): Likewise.
62454         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62455         (_pthread_cleanup_pop_restore): Likewise.
62456         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62457         (pthread_setcancelstate): Likewise.
62458         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
62459         <bp-sym.h>.
62460         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
62461         (memchr): Do not use BP_SYM in weak_alias.
62462         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
62463         (fegetenv): Do not use BP_SYM in versioned symbols.
62464         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
62465         (fesetenv): Do not use BP_SYM in versioned symbols.
62466         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
62467         (feupdateenv): Do not use BP_SYM in versioned symbols.
62468         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
62469         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
62470         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
62471         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
62472         (open64): Do not use BP_SYM in weak_alias.
62473         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
62474         (fegetenv): Do not use BP_SYM in versioned symbols.
62475         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
62476         (fesetenv): Do not use BP_SYM in versioned symbols.
62477         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
62478         (feupdateenv): Do not use BP_SYM in versioned symbols.
62479         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
62480         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
62481         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
62482         (feraiseexcept): Do not use BP_SYM in versioned symbols.
62483         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
62484         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
62485         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
62486         <bp-sym.h>.
62487         (__libc_start_main): Do not use BP_SYM.
62489 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
62491         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
62492         redundant return line.
62493         (norm): Likewise.
62494         (denorm): Likewise.
62495         (dbl_mp): Likewise.
62496         (sub_magnitudes): Likewise.
62497         (__add): Likewise.
62498         (__sub): Likewise.
62499         (__mul): Likewise.
62500         (__inv): Likewise.
62501         (__dvd): Likewise.
62502         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
62503         (norm): Likewise.
62504         (denorm): Likewise.
62505         (dbl_mp): Likewise.
62506         (sub_magnitudes): Likewise.
62507         (__add): Likewise.
62508         (__sub): Likewise.
62509         (__mul): Likewise.
62510         (__inv): Likewise.
62511         (__dvd): Likewise.
62513         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
62514         instead of __mul.
62515         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
62516         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
62517         (cc32): Likewise.
62519         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
62520         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
62521         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
62522         of __mul for squares.
62523         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
62524         function
62525         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
62526         Likewise.
62527         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
62528         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
62530 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
62532         [BZ #13550]
62533         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
62534         code.
62535         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
62536         prototype or function definition.  Rename ubp_* variables and
62537         parameters.  Remove argv definitions conditional on
62538         [__BOUNDED_POINTERS__].
62539         * debug/backtrace.c (__backtrace): Do not use __unbounded.
62540         * elf/dl-runtime.c (_dl_fixup): Likewise.
62541         * include/set-hooks.h (RUN_HOOK): Likewise.
62542         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
62543         definition.
62544         * string/strcpy.c (strcpy): Do not use __unbounded.
62545         * sysdeps/generic/frame.h (struct layout): Likewise.
62546         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
62547         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
62548         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
62549         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
62550         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
62551         (__backtrace): Likewise.
62552         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
62553         use __ptrvalue.
62554         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
62555         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
62556         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
62557         Likewise.
62558         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
62559         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
62560         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
62561         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
62562         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
62563         Do not use __unbounded.
62564         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
62565         Rename __unboundedrlimits parameter to rlimits in prototype.
62566         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
62567         Do not use __unbounded.
62568         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
62569         not use __ptrvalue.
62570         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
62571         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
62572         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
62573         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
62574         __ptrvalue or __unbounded.
62575         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
62576         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
62577         use __unbounded.
62578         (__new_msgctl): Do not use __ptrvalue.
62579         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
62580         __unbounded.
62581         (__libc_msgrcv): Do not use __ptrvalue.
62582         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
62583         startup_info): Do not use __unbounded.
62584         (__libc_start_main): Likewise.  Rename ubp_* variables and
62585         parameters.  Remove argv definitions conditional on
62586         [__BOUNDED_POINTERS__].
62587         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
62588         __ptrvalue.
62589         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
62590         use __unbounded.
62591         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
62592         or __ptrvalue.
62593         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
62594         use __unbounded.
62595         (__new_shmctl): Do not use __ptrvalue.
62596         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
62597         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
62598         Likewise.
62599         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
62600         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
62601         (__libc_sigaction): Likewise.
62602         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
62603         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
62604         Likewise.
62605         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
62607 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
62609         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
62611         * string/mempcpy.c: Implement by calling memcpy.
62613 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
62615         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
62617         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
62618         evaluation.
62620         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
62621         values in the mantissa.
62623         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
62624         minimize writes to Z.
62625         (sub_magnitudes): Simplify code a bit.
62627 2013-02-12  Roland McGrath  <roland@hack.frob.com>
62629         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
62630         from the message.  The linker prefixes all warnings with that already.
62632 2013-02-12  Andreas Schwab  <schwab@suse.de>
62634         [BZ #15078]
62635         * posix/regexec.c (extend_buffers): Add parameter min_len.
62636         (check_matching): Pass minimum needed length.
62637         (clean_state_log_if_needed): Likewise.
62638         (get_subexp): Likewise.
62639         * posix/Makefile (tests): Add bug-regex34.
62640         (bug-regex34-ENV): Define.
62641         * posix/bug-regex34.c: New file.
62643         [BZ #11561]
62644         * posix/regcomp.c (parse_bracket_exp): When looking up collating
62645         elements compare against the byte sequence of it, not its name.
62646         * posix/Makefile (tests): Add bug-regex35.
62647         (bug-regex35-ENV): Define.
62648         * posix/bug-regex35.c: New file.
62650 2013-02-11  Tom de Vries  <tom@codesourcery.com>
62652         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
62653         comment.
62654         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
62655         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
62656         (CHECK_EOL): Add undef.
62658 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
62660         * bits/stdlib-bsearch.h: New file.
62661         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
62662         * stdlib/stdlib.h: Likewise.
62664 2013-02-11  Roland McGrath  <roland@hack.frob.com>
62666         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
62667         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
62668         declaration.
62669         * manual/search.texi (Array Search Function): Add missing const in
62670         lfind prototype.
62671         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
62672         declaration to use rlim_t.
62673         (Basic Scheduling Functions): Remove erroneous const from
62674         sched_getparam prototype.  Remove erroneous * from
62675         sched_get_priority_max and sched_get_priority_min prototypes.
62676         (Resource Usage): Fix summary @comment on vtimes to refer to
62677         sys/vtimes.h rather than vtimes.h.
62678         Add missing *s in vtimes prototype.
62679         (Limits on Resources): Fix ulimit prototype to return long int.
62680         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
62681         prototypes to use long int rather than double.
62682         (BSD Random): Fix initstate and setstate to use char *, not void *.
62683         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
62684         prototype to make second argument 'struct aiocb64 *const[]'.
62685         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
62686         (Status of AIO Operations): Remove erroneous const in aio_return and
62687         aio_return64 prototypes.
62688         (Synchronizing I/O): Fix sync prototype to return void.
62689         * manual/startup.texi (Suboptions): Remove an erroneous const in
62690         getsubopt prototype.
62691         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
62692         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
62693         use size_t rather than int.
62694         (Scanning All Users): Likewise for getpwent_r.
62695         (Setting Groups): Add missing const to setgroups prototype.
62696         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
62697         * manual/socket.texi (Host Names): Fix gethostbyaddr and
62698         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
62699         'const void *' rather than 'const char *'.
62700         (Host Address Functions): Likewise for inet_ntop.
62701         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
62702         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
62703         ssize_t for return value.
62704         (Sending Data): Likewise for send, sendto, sendmsg.
62705         (Socket Option Functions): Add a missing const in setsockopt prototype.
62706         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
62707         use wchar_t for the argument.
62708         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
62709         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
62710         take no arguments.
62711         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
62712         double/float/long double for second argument.
62713         Fix return types of significand, significandf, significandl.
62714         * manual/filesys.texi (Setting Permissions): Use mode_t for second
62715         argument in fchmod prototype.
62716         (File Owner): Use uid_t and gid_t in fchown prototype.
62717         (File Times): Add const to utimes, futimes, and lutimes prototypes.
62718         (Making Special Files): Use mode_t and dev_t in mknod prototype.
62719         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
62720         use 'const struct dirent **' as argument types to CMP function pointer
62721         argument.
62722         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
62723         (File Times): Fix summary magic @comment for struct utimbuf and utime
62724         to refer to utime.h, not time.h.
62725         * manual/string.texi (Argz Functions): Add missing const in
62726         argz_extract and argz_next prototypes.
62727         (Finding Tokens in a String): Likewise for basename.
62728         (String/Array Comparison): Fix typo in wcscasecmp prototype.
62729         (Copying and Concatenation): Fix typo in wmemmove prototype.
62730         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
62731         (Signal Stack): Remove erroneous const in sigstack prototype.
62732         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
62733         prototype.
62734         (Simple Calendar Time): Likewise for stime.
62735         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
62736         prototype.
62737         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
62738         say sys/sysctl.h instead.
62739         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
62740         and vsyslog prototypes.
62742 2013-02-11  Tom de Vries  <tom@codesourcery.com>
62744         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
62745         Remove.
62747 2013-02-11  Roland McGrath  <roland@hack.frob.com>
62749         * misc/sys/mman.h: Fix typo in mremap comment.
62751 2013-02-08  Roland McGrath  <roland@hack.frob.com>
62753         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
62754         the '\0' terminator.
62756 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
62758         [BZ #13550]
62759         * debug/segfault.c: Don't include <bp-checks.h>.
62760         * sysdeps/generic/bp-checks.h: Remove file.
62761         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
62762         (__GETDENTS): Don't use CHECK_N.
62763         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
62764         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
62765         (__getgroups): Don't use CHECK_N.
62766         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
62767         (setgroups): Don't use CHECK_N.
62768         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
62769         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
62770         (__libc_msgrcv): Don't use CHECK_N.
62771         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
62772         (__libc_msgsnd): Don't use CHECK_N.
62773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
62774         <bp-checks.h>.
62775         (__libc_pread): Don't use CHECK_N.
62776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
62777         include <bp-checks.h>.
62778         (__libc_pread64): Don't use CHECK_N.
62779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
62780         include <bp-checks.h>.
62781         (__libc_pwrite): Don't use CHECK_N.
62782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
62783         include <bp-checks.h>.
62784         (__libc_pwrite64): Don't use CHECK_N.
62785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
62786         <bp-checks.h>.
62787         (__libc_pread): Don't use CHECK_N.
62788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
62789         include <bp-checks.h>.
62790         (__libc_pread64): Don't use CHECK_N.
62791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
62792         include <bp-checks.h>.
62793         (__libc_pwrite): Don't use CHECK_N.
62794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
62795         include <bp-checks.h>.
62796         (__libc_pwrite64): Don't use CHECK_N.
62797         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
62798         (do_pread): Don't use CHECK_N.
62799         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
62800         (do_pread64): Don't use CHECK_N.
62801         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
62802         (do_pwrite): Don't use CHECK_N.
62803         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
62804         (do_pwrite64): Don't use CHECK_N.
62805         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
62806         (__libc_readv): Don't use CHECK_N.
62807         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
62808         (semop): Don't use CHECK_N.
62809         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
62810         <bp-checks.h>.
62811         (semtimedop): Don't use CHECK_N.
62812         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
62813         (__libc_pread): Don't use CHECK_N.
62814         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
62815         <bp-checks.h>.
62816         (__libc_pread64): Don't use CHECK_N.
62817         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
62818         <bp-checks.h>.
62819         (__libc_pwrite): Don't use CHECK_N.
62820         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
62821         <bp-checks.h>.
62822         (__libc_pwrite64): Don't use CHECK_N.
62823         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
62824         <bp-checks.h>.
62825         (__libc_msgrcv): Don't use CHECK_N.
62826         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
62827         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
62828         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
62829         (__libc_writev): Don't use CHECK_N.
62831 2013-02-08  Roland McGrath  <roland@hack.frob.com>
62833         * string/strcpy.c: Removed unused variable.
62835         * Makeconfig (+sysdep-includes): Define with := rather than =.
62836         Use an existing include/ subdir of each sysdeps dir before it.
62838 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
62840         * nscd/connection.c (register_traced_file): Comment function.
62841         [HAVE_INOTIFY] (union __inev): Define.
62842         [HAVE_INOTIFY] (inotify_check_files): New function.
62843         [HAVE_INOTIFY] (clear_db_cache): Likewise.
62844         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
62845         clear_db_cache.
62846         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
62848 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
62850         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
62851         loaded if not already and that a failure is permanent.
62853 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
62855         [BZ #15006]
62856         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
62857         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
62859 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
62861         [BZ #13550]
62862         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
62863         (CHECK_1_NULL_OK): Likewise.
62864         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
62865         (__fxstat): Do not use CHECK_1.
62866         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
62867         <bp-checks.h>.
62868         (___fxstat64): Do not use CHECK_1.
62869         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
62870         <bp-checks.h>.
62871         (__fxstatat): Do not use CHECK_1.
62872         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
62873         <bp-checks.h>.
62874         (__fxstatat64): Do not use CHECK_1.
62875         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
62876         <bp-checks.h>.
62877         (__fxstat): Do not use CHECK_1.
62878         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
62879         <bp-checks.h>.
62880         (__fxstatat): Do not use CHECK_1.
62881         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
62882         <bp-checks.h>.
62883         (__getresgid): Do not use CHECK_1.
62884         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
62885         <bp-checks.h>.
62886         (__getresuid): Do not use CHECK_1.
62887         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
62888         <bp-checks.h>.
62889         (__lxstat): Do not use CHECK_1.
62890         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
62891         <bp-checks.h>.
62892         (__old_msgctl): Do not use CHECK_1.
62893         (__new_msgctl): Likewise.
62894         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
62895         <bp-checks.h>.
62896         (__new_setrlimit): Do not use CHECK_1.
62897         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
62898         <bp-checks.h>.
62899         (__old_shmctl): Do not use CHECK_1.
62900         (__new_shmctl): Likewise.
62901         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
62902         <bp-checks.h>.
62903         (__xstat): Do not use CHECK_1.
62904         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
62905         (__lxstat): Do not use CHECK_1.
62906         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
62907         <bp-checks.h>.
62908         (___lxstat64): Do not use CHECK_1.
62909         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
62910         (__old_msgctl): Do not use CHECK_1.
62911         (__new_msgctl): Likewise.
62912         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
62913         <bp-checks.h>.
62914         (__gettimeofday): Do not use CHECK_1.
62915         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
62916         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
62917         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
62918         <bp-checks.h>.
62919         (__gettimeofday): Do not use CHECK_1.
62920         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
62921         (__old_shmctl): Do not use CHECK_1_NULL_OK.
62922         (__new_shmctl): Do not use CHECK_1.
62923         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
62924         <bp-checks.h>.
62925         (do_sigtimedwait): Do not use CHECK_1.
62926         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
62927         <bp-checks.h>.
62928         (do_sigwaitinfo): Do not use CHECK_1.
62929         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
62930         <bp-checks.h>.
62931         (msgctl): Do not use CHECK_1.
62932         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
62933         <bp-checks.h>.
62934         (shmctl): Do not use CHECK_1.
62935         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
62936         (ustat): Do not use CHECK_1.
62937         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
62938         <bp-checks.h>.
62939         (__fxstat): Do not use CHECK_1.
62940         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
62941         <bp-checks.h>.
62942         (__fxstatat): Do not use CHECK_1.
62943         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
62944         <bp-checks.h>.
62945         (__lxstat): Do not use CHECK_1.
62946         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
62947         <bp-checks.h>.
62948         (__xstat): Do not use CHECK_1.
62949         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
62950         (__xstat): Do not use CHECK_1.
62951         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
62952         (___xstat64): Do not use CHECK_1.
62954         [BZ #13550]
62955         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
62956         definitions.
62957         (CHECK_BOUNDS_HIGH): Likewise.
62958         * string/strcpy.c: Do not include <bp-checks.h>.
62959         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
62961 2013-02-07  Roland McGrath  <roland@hack.frob.com>
62963         * nscd/nscd-client.h (__nscd_drop_map_ref):
62964         Add __attribute__ ((unused)).
62965         * nis/nss-nisplus.h (niserr2nss): Likewise.
62967         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
62968         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
62970         * csu/libc-tls.c (init_static_tls, init_slotinfo):
62971         Remove inline keyword.
62972         * include/rounding-mode.h (round_away): Likewise.
62973         * libio/wfileops.c (adjust_wide_data): Likewise.
62974         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
62975         (__m128i_strloadu_tolower): Likewise.
62976         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
62977         (__m128i_strloadu_tolower): Likewise.
62978         * time/mktime.c (ydhms_diff): Likewise.
62979         * locale/elem-hash.h (elem_hash): Likewise.
62980         * locale/setlocale.c (setdata): Likewise.
62981         * posix/regex_internal.h (re_string_char_size_at): Likewise.
62982         (re_string_wchar_at): Likewise.
62983         (bitset_not, bitset_merge, bitset_mask): Likewise.
62984         [!(__GNUC__ > 3)] (inline): Remove macro.
62985         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
62986         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
62987         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
62988         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
62989         * string/memcmp.c (memcmp_bytes): Likewise.
62990         * locale/programs/locarchive.c (compute_hashval): Likewise.
62991         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
62992         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
62993         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
62994         * nss/getent.c (print_rpc, print_protocols): Likewise.
62995         (print_passwd, print_group, print_aliases): Likewise.
62996         * nis/nss-nisplus.h (niserr2nss): Likewise.
62997         * nscd/connections.c (restart_p): Likewise.
62998         Change return type to bool.
63000 2013-02-05  Roland McGrath  <roland@hack.frob.com>
63002         * Makeconfig (all-Depend-files): Add existing
63003         $(sorted-subdirs:=/Depend) files.
63004         (all-subdirs): Remove nss.
63005         * sysdeps/unix/inet/Subdirs: Add it here instead.
63006         * hesiod/Depend: New file.
63008         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
63009         instead of calling alloca.
63011         * io/lseek.c (__lseek): Rename to __libc_lseek.
63012         Define __lseek as an alias.
63014         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
63016 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
63018         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
63019         else clause and remove check for non-standard endianness.
63021 2013-02-04  David S. Miller  <davem@davemloft.net>
63023         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63025 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
63027         [BZ #13550]
63028         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
63029         (__ubp_memchr): Remove prototype.
63030         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
63031         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
63032         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
63033         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
63034         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
63035         Remove alias.
63036         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
63037         (__ubp_memchr): Likewise.
63038         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
63039         (__ubp_memchr): Likewise.
63040         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
63041         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
63042         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
63043         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
63044         CHECK_STRING.
63045         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
63046         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
63047         (__getcwd): Do not use CHECK_STRING.
63048         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
63049         <bp-checks.h>.
63050         (__real_chown): Do not use CHECK_STRING.
63051         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
63052         <bp-checks.h>.
63053         (fchownat): Do not use CHECK_STRING.
63054         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
63055         CHECK_STRING.
63056         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
63057         <bp-checks.h>.
63058         (__lchown): Do not use CHECK_STRING.
63059         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
63060         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
63061         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
63062         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
63063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
63064         include <bp-checks.h>.
63065         (truncate64): Do not use CHECK_STRING.
63066         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
63067         <bp-checks.h>.
63068         (__real_chown): Do not use CHECK_STRING.
63069         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
63070         <bp-checks.h>.
63071         (__lchown): Do not use CHECK_STRING.
63072         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
63073         <bp-checks.h>.
63074         (__chown): Do not use CHECK_STRING.
63075         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
63076         <bp-checks.h>.
63077         (truncate64): Do not use CHECK_STRING.
63078         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
63079         Likewise.
63080         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
63081         (__xmknod): Do not use CHECK_STRING.
63082         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
63083         <bp-checks.h>.
63084         (__xmknodat): Do not use CHECK_STRING.
63085         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
63086         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
63088 2013-02-04  Andreas Schwab  <schwab@suse.de>
63090         [BZ #14142]
63091         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
63092         * include/netdb.h: Likewise for h_errno.
63093         * elf/tst-stackguard1.c: Include <tls.h>.
63095 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
63097         * elf/link.h (struct link_map): Extend the l_addr comment.
63098         * include/link.h (struct link_map): Likewise.
63100 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
63102         [BZ #13550]
63103         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
63104         (BOUNDED_1): Remove macro.
63105         * debug/backtrace.c: Don't include <bp-checks.h>.
63106         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
63107         (__backtrace): Likewise.
63108         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
63109         <bp-checks.h>.
63110         (__backtrace): Don't use BOUNDED_1.
63111         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
63112         <bp-checks.h>.
63113         (__backtrace): Don't use BOUNDED_1.
63114         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
63115         (__backtrace): Don't use BOUNDED_1.
63116         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
63117         (shmat): Don't use BOUNDED_N.
63119 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
63121         [BZ #13550]
63122         * sysdeps/generic/bp-start.h: Remove file.
63123         * csu/libc-start.c: Don't include <bp-start.h>.
63124         (LIBC_START_MAIN): Set up __environ directly instead of using
63125         INIT_ARGV_and_ENVIRON.
63126         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
63127         <bp-start.h>.
63129         [BZ #13550]
63130         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
63131         definitions.
63132         (CHECK_FCNTL): Likewise.
63133         (CHECK_N_PAGES): Likewise.
63135         [BZ #13550]
63136         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
63137         definitions.
63138         (CHECK_SIGSET_NULL_OK): Likewise.
63139         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
63140         <bp-checks.h>.
63141         (sigpending): Don't use CHECK_SIGSET.
63142         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
63143         <bp-checks.h>.
63144         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
63145         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
63146         <bp-checks.h>.
63147         (do_sigsuspend): Don't use CHECK_SIGSET.
63148         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
63149         use CHECK_SIGSET.
63150         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
63151         (do_sigwait): Don't use CHECK_SIGSET.
63152         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
63153         use CHECK_SIGSET.
63154         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
63155         include <bp-checks.h>.
63156         (sigpending): Don't use CHECK_SIGSET.
63157         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
63158         include <bp-checks.h>.
63159         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
63160         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
63161         <bp-checks.h>.
63162         (sigpending): Don't use CHECK_SIGSET.
63163         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
63164         <bp-checks.h>.
63165         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
63167         [BZ #13550]
63168         * sysdeps/generic/bp-semctl.h: Remove file.
63169         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
63170         <bp-checks.h> and <bp-semctl.h>.
63171         (__old_semctl): Don't use CHECK_SEMCTL.
63172         (__new_semctl): Likewise.
63173         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
63174         and <bp-semctl.h>.
63175         (__old_semctl): Don't use CHECK_SEMCTL.
63176         (__new_semctl): Likewise.
63177         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
63178         <bp-checks.h> and <bp-semctl.h>.
63179         (__old_semctl): Don't use CHECK_SEMCTL.
63180         (__new_semctl): Likewise.
63181         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
63182         <bp-checks.h> and <bp-semctl.h>.
63183         (semctl): Don't use CHECK_SEMCTL.
63185         [BZ #13550]
63186         * Makerules (elide-bp-thunks): Remove variable.
63187         (elide-routines.oS): Don't use $(elide-bp-thunks).
63188         (elide-routines.os): Likewise.
63189         (elide-routines.o): Likewise.
63190         (elide-routines.op): Likewise.
63191         (elide-routines.og): Likewise.
63192         (objects): Don't use $(bp-thunks).
63193         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
63194         include.
63195         (common-generated): Do not add s-proto-bp.d.
63196         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
63197         (int): Likewise.
63198         (typ): Likewise.
63199         Do not generate makefile rules for bounded-pointer thunks.
63200         * sysdeps/generic/bp-thunks.h: Remove file.
63201         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
63202         * sysdeps/unix/s-proto-bp.S: Likewise.
63204         [BZ #15062]
63205         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
63206         parts of result separately when argument is not close to line from
63207         -i to i and one part of argument is small.
63208         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63209         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63210         * math/libm-test.inc (cacos_test): Add more tests.
63211         (casin_test): Likewise.
63212         (casinh_test): Likewise.
63213         * sysdeps/i386/fpu/libm-test-ulps: Update.
63214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63216 2013-01-31  David S. Miller  <davem@davemloft.net>
63218         * po/de.po: Update from translation team.
63220 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
63222         * time/tzfile.c: Include stdint.h for SIZE_MAX.
63224 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
63226         * configure.in (_AC_PROG_CC_C89): New definition.
63227         * configure: Regenerate.
63229         * configure.in (AC_PROG_CPP): New definition.
63230         * configure: Regenerate.
63232 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
63234         * debug/tst-backtrace.h: New file.
63235         * debug/tst-backtrace2.c: Include tst-backtrace.h.
63236         (ret): Remove variable.
63237         (x): Likewise.
63238         (FAIL): Remove macro.
63239         (NO_INLINE): Likewise.
63240         (fn1): Use match function instead of strstr.
63241         * debug/tst-backtrace3.c: Include tst-backtrace.h.
63242         (ret): Remove variable.
63243         (x): Likewise.
63244         (FAIL): Remove macro.
63245         (NO_INLINE): Likewise.
63246         (fn): Use match function instead of strstr.
63247         * debug/tst-backtrace4.c: Include tst-backtrace.h.
63248         (ret): Remove variable.
63249         (x): Likewise.
63250         (FAIL): Remove macro.
63251         (NO_INLINE): Likewise.
63252         (handle_signal): Use match function instead of strstr.
63253         * debug/tst-backtrace5.c: Include tst-backtrace.h.
63254         (ret): Remove variable.
63255         (x): Likewise.
63256         (FAIL): Remove macro.
63257         (NO_INLINE): Likewise.
63258         (handle_signal): Use match function instead of strstr.
63260 2013-01-23  Roland McGrath  <roland@hack.frob.com>
63262         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
63264 2013-01-23  David S. Miller  <davem@davemloft.net>
63266         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
63267         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
63268         argument of CAS if possible.
63269         * sysdeps/sparc/sparc64/bits/atomic.h
63270         (__arch_compare_and_exchange_val_32_acq): Likewise.
63271         (__arch_compare_and_exchange_val_64_acq): Likewise.
63273 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
63275         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
63276         * sysdeps/posix/ulimit.c: ... this.
63277         Include <limits.h>.
63278         * sysdeps/unix/bsd/ulimit.c: Remove file.
63280 2013-01-23  Adam Conrad  <adconrad@0c3.net>
63282         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
63283         (LDFLAGS-tst-array5): Likewise.
63285 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
63287         [BZ #15036]
63288         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
63289         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
63290         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
63291         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
63293 2013-01-21  David S. Miller  <davem@davemloft.net>
63295         * sysdeps/sparc/backtrace.c: New file.
63296         * sysdeps/sparc/sparc32/backtrace.h: New file.
63297         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
63298         * sysdeps/sparc/sparc64/backtrace.h: New file.
63299         * sysdeps/sparc/sparc64/backtrace.c: Delete.
63300         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
63301         -funwind-tables.
63303 2013-01-21  Andreas Schwab  <schwab@suse.de>
63305         [BZ #15020]
63306         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
63307         closed its stdout.
63309 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
63311         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
63312         "mpa2.h".
63313         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63315 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
63316             Mark Mitchell  <mark@codesourcery.com>
63317             Tom de Vries  <tom@codesourcery.com>
63318             Paul Pluzhnikov  <ppluzhnikov@google.com>
63320         * debug/tst-backtrace2.c: New file.
63321         * debug/tst-backtrace3.c: Likewise.
63322         * debug/tst-backtrace4.c: Likewise.
63323         * debug/tst-backtrace5.c: Likewise.
63324         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
63325         (CFLAGS-tst-backtrace3.c): Likewise.
63326         (CFLAGS-tst-backtrace4.c): Likewise.
63327         (CFLAGS-tst-backtrace5.c): Likewise.
63328         (LDFLAGS-tst-backtrace2): Likewise.
63329         (LDFLAGS-tst-backtrace3): Likewise.
63330         (LDFLAGS-tst-backtrace4): Likewise.
63331         (LDFLAGS-tst-backtrace5): Likewise.
63332         (tests): Add new tests tst-backtrace2, tst-backtrace3,
63333         tst-backtrace4 and tst-backtrace5.
63335 2013-01-18  Anton Blanchard  <anton@samba.org>
63336             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63338         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
63339         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
63340         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
63341         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
63342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
63343         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
63344         "+r" and remove output regs list as redundant.  Add explicit inline
63345         asm to specify register of return val to work around compiler codegen
63346         bug.  Remove (int) cast on return value.  Add return type parameter to
63347         use in macro so that this macro does not truncate return value for
63348         64-bit values.
63349         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
63350         pass to INTERNAL_VSYSCALL_NCS.
63351         (INLINE_VSYSCALL): Add 'long int' as return type to
63352         INTERNAL_VSYSCALL_NCS macro invocation.
63353         (INTERNAL_VSYSCALL): Add 'long int' as return type to
63354         INTERNAL_VSYSCALL_NCS macro invocation.
63355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
63357 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63359         [BZ #14496]
63360         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
63361         Fix application of SIMD FP exception mask.
63363         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
63364         mp_no from a power of two.
63365         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
63366         __mpexp_twomm1.  Use __pow_mp.
63368         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
63369         multiplication.
63371 2013-01-17  David S. Miller  <davem@davemloft.net>
63373         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63375 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
63377         [BZ #15023]
63378         * include/complex.h: Condition contents on [!_COMPLEX_H].
63379         (__kernel_casinhf): New prototype.
63380         (__kernel_casinh): Likewise.
63381         (__kernel_casinhl): Likewise.
63382         * math/Makefile (libm_calls): Add k_casinh.
63383         * math/k_casinh.c: New file.
63384         * math/k_casinhf.c: Likewise.
63385         * math/k_casinhl.c: Likewise.
63386         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
63387         finite nonzero arguments.
63388         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
63389         finite nonzero arguments.
63390         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
63391         finite nonzero arguments.
63392         * math/s_casinh.c: Do not include <float.h>.
63393         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
63394         * math/s_casinhf.c: Do not include <float.h>.
63395         (__casinhf): Move code for finite nonzero arguments to
63396         k_casinhf.c.
63397         * math/s_casinhl.c: Do not include <float.h>.
63398         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
63399         redefine.
63400         (__casinhl): Move code for finite nonzero arguments to
63401         k_casinhl.c.
63402         * math/libm-test.inc (cacos_test): Add more tests.
63403         * sysdeps/i386/fpu/libm-test-ulps: Update.
63404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63406 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
63408         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
63409         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
63410         [!HAVE_MREMAP]: Remove [defined linux] case.
63411         * malloc/arena.c: Do not include <malloc-sysdep.h>.
63413 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
63415         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
63417 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
63419         * elf/elf.h (R_386_SIZE32): New relocation.
63420         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
63421         R_386_SIZE32.
63422         (elf_machine_rela): Likewise.
63423         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
63424         R_X86_64_SIZE64 and R_X86_64_SIZE32.
63426 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
63428         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
63429         (FP_FAST_FMA): Do not define.
63430         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
63431         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
63432         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
63433         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
63434         !_SOFT_FLOAT]: Likewise.
63435         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
63436         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
63437         value.
63438         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
63439         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
63440         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
63441         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
63442         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
63443         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
63444         file.
63446 2013-01-16  Andreas Schwab  <schwab@suse.de>
63448         [BZ #14327]
63449         * include/stdlib.h (__mktemp): Add declaration.
63450         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
63451         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
63453 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
63455         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
63456         definitions.
63457         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
63458         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
63459         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
63460         definitions here.
63461         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
63462         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
63463         definitions.
63464         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
63465         and ONE.
63466         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
63467         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
63468         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
63469         definitions.
63470         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
63471         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
63472         definitions.
63473         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
63475         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
63477 2013-01-15  David S. Miller  <davem@davemloft.net>
63479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
63480         trunc{,f} to libm-sysdep_routes.
63481         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
63482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
63483         file.
63484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
63485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
63486         file.
63487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
63488         file.
63489         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
63490         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
63491         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
63492         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
63493         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
63494         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
63495         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
63496         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
63498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
63499         nearbyint{,f} to libm-sysdep_routes.
63500         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
63501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
63502         New file.
63503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
63504         file.
63505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
63506         New file.
63507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
63508         file.
63509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
63510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
63511         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
63512         file.
63513         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
63514         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
63515         file.
63516         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
63517         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
63518         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
63520         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
63521         libc_feholdexcept and libc_fesetenv.
63523 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
63525         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
63527 2013-01-14  David S. Miller  <davem@davemloft.net>
63529         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
63530         (SPARC_ASM_VIS2_IFUNC): Likewise.
63531         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
63532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
63533         use of 'siam' instruction.
63534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
63535         Likewise.
63536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
63537         Likewise.
63538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
63539         Likewise.
63540         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
63541         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
63542         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
63543         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
63544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
63545         file.
63546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
63547         file.
63548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
63549         file.
63550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
63551         file.
63552         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
63553         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
63554         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
63555         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
63556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
63557         new VIS2 routines.
63558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
63559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
63561         Likewise.
63562         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
63563         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
63564         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
63565         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
63566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
63567         routines to libm-sysdep_routines.
63568         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
63570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
63571         fdim/fdimf to libm-sysdep_routines.
63572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
63573         file.
63574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
63575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
63576         file.
63577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
63578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
63579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
63580         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
63581         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
63582         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
63583         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
63585 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63587         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
63588         to optimize copies.
63590         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
63591         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
63592         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63594         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
63595         local variable MPTWO.
63596         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
63597         Likewise.
63599 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
63601         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
63602         GLOB_NOESCAPE.
63604 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
63606         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
63608 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
63610         * manual/pattern.texi (glob_t): Document gl_flags.
63611         (glob64_t): Likewise.
63613 2013-01-11  David S. Miller  <davem@davemloft.net>
63615         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
63616         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
63617         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
63618         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
63619         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
63620         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
63621         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
63622         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
63623         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
63624         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
63625         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
63626         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
63627         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
63629         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
63630         sparc V9 rather than using V8 code.
63631         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
63632         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
63634         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
63635         Move to...
63636         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
63637         Here.
63639 2013-01-11  Roland McGrath  <roland@hack.frob.com>
63641         [BZ #14941]
63642         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
63643         not in the main loop.
63644         * configure: Regenerated.
63646 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
63648         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
63649         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
63650         to just #else.
63651         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
63652         [!__GLIBC_HAVE_LONG_LONG] case.
63653         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
63654         condition to just #else.
63655         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
63656         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
63657         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
63658         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
63659         unconditional.
63660         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
63661         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
63662         #elif condition to just #else.
63663         * sysdeps/unix/sysv/linux/sys/sysmacros.h
63664         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
63665         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
63666         #elif condition to just #else.
63668 2013-01-11  Steve Ellcey  <sellcey@mips.com>
63670         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
63671         (EF_MIPS_ARCH_64): Fix value.
63672         (EF_MIPS_ARCH_32R2): New.
63673         (EF_MIPS_ARCH_64R2): New.
63675 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
63677         * Makeconfig (+link-pie-before-libc): New.
63678         (+link-pie-after-libc): Likewise.
63679         (+link-pie-tests): Likewise.
63680         (+link-pie): Rewritten.
63681         (link-before-libc): Remove $(config-LDFLAGS).
63682         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
63683         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
63684         (config-LDFLAGS): Renamed to ...
63685         (rtld-LDFLAGS): This.
63686         (rtld-tests-LDFLAGS): New macro.
63687         (link-libc-rpath-link): Likewise.
63688         (link-libc-tests-rpath-link): Likewise.
63689         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
63690         (link-libc): Prepand $(link-libc-rpath-link).
63691         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
63692         (test-program-prefix): New macro.
63693         (test-via-rtld-prefix): Likewise.
63694         (test-program-cmd): Likewise.
63695         (host-test-program-cmd): Likewise.
63696         * Makefile ($(common-objpfx)testrun.sh): Replace
63697         $(run-program-prefix) with $(test-program-prefix).
63698         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
63699         $(rtld-LDFLAGS).
63700         ($(common-objpfx)shlib.lds): Likewise.
63701         (build-module-helper): Likewise.
63702         ($(common-objpfx)format.lds): Likewise.
63703         * Rules (binaries-pie-tests): New.
63704         (binaries-pie-notests): Likewise.
63705         (binaries-pie): Rewritten.
63706         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
63707         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
63708         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
63709         (make-test-out): Replace $(host-built-program-cmd) with
63710         $(host-test-program-cmd).
63711         * config.make.in (build-hardcoded-path-in-tests): New variable.
63712         * configure.in (--enable-hardcoded-path-in-tests): New configure
63713         option.
63714         (hardcoded_path_in_tests): New AC_SUBST.
63715         * configure: Regenerated.
63716         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
63717         $(built-program-cmd) with $(test-program-cmd).
63718         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
63719         (test_program_cmd): This.
63720         * elf/Makefile ($(objpfx)order.out): Run test with
63721         $(test-program-prefix).
63722         ($(objpfx)order2.out): Likewise.
63723         ($(objpfx)tst-initorder.out): Likewise.
63724         ($(objpfx)tst-initorder2.out): Likewise.
63725         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
63726         $(test-program-cmd).
63727         ($(objpfx)tst-array1-static.out): Likewise.
63728         ($(objpfx)tst-array2.out): Likewise.
63729         ($(objpfx)tst-array3.out): Likewise.
63730         ($(objpfx)tst-array4.out): Likewise.
63731         ($(objpfx)tst-array5.out): Likewise.
63732         ($(objpfx)tst-array5-static.out): Likewise.
63733         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
63734         $(test-program-cmd).
63735         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
63736         $(run-program-prefix) with $(test-program-prefix).
63737         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
63738         (test_program_prefix): This.
63739         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
63740         $(run-program-prefix) with $(test-program-prefix).
63741         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
63742         (test_program_prefix): This.
63743         * iconvdata/tst-tables.sh: Likewise.
63744         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
63745         $(run-program-prefix) with $(test-program-prefix).
63746         ($(objpfx)tst-translit.out): Likewise.
63747         ($(objpfx)tst-gettext2.out): Likewise.
63748         ($(objpfx)tst-gettext4.out): Likewise.
63749         ($(objpfx)tst-gettext6.out): Likewise.
63750         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
63751         (test_program_prefix): This.
63752         * intl/tst-gettext2.sh: Likewise.
63753         * intl/tst-gettext4.sh  Likewise.
63754         * intl/tst-gettext6.sh: Likewise.
63755         * intl/tst-translit.sh: Likewise.
63756         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
63757         with $(test-program-cmd).
63758         * libio/Makefile ($(objpfx)test-freopen.out): Replace
63759         $(run-program-prefix) with $(test-program-prefix).
63760         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
63761         (test_program_prefix): This.
63762         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
63763         $(run-program-prefix) with $(test-program-prefix).
63764         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
63765         (test_program_prefix): This.
63766         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
63767         * posix/Makefile ($(objpfx)globtest.out): Replace
63768         $(run-via-rtld-prefix) and $(test-wrapper) with
63769         $(test-program-prefix) and $(test-via-rtld-prefix).
63770         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
63771         $(test-program-prefix).
63772         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
63773         $(host-test-program-cmd).
63774         (tst-spawn-ARGS): Likewise.
63775         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
63776         $(test-program-prefix).
63777         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
63778         (test_via_rtld_prefix): This.
63779         (test_wrapper): Renamed to ...
63780         (test_program_prefix): This.
63781         (run_program_prefix): Replaced by test_program_prefix.
63782         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
63783         (test_program_prefix): This.
63784         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
63785         with $(host-test-program-cmd).
63786         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
63787         $(run-program-prefix) with $(test-program-prefix).
63788         ($(objpfx)tst-printf.out): Likewise.
63789         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
63790         $(test-program-cmd).
63791         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
63792         (test_program_prefix): This.
63793         * stdio-common/tst-unbputc.sh: Likewise.
63794         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
63795         $(run-program-prefix) with $(test-program-prefix).
63796         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
63797         (test_program_prefix): This.
63798         * string/Makefile ($(objpfx)tst-svc.out):  Replace
63799         $(built-program-cmd) with $(test-program-cmd).
63801 2013-01-11  Andreas Jaeger  <aj@suse.de>
63803         [BZ #15003]
63804         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
63805         value. Sync with Linux 3.7.
63807 2013-01-10  David S. Miller  <davem@davemloft.net>
63809         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
63810         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
63811         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
63813 2013-01-10  Roland McGrath  <roland@hack.frob.com>
63815         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
63816         never set.
63817         * configure: Regenerated.
63819 2013-01-10  David S. Miller  <davem@davemloft.net>
63821         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
63822         sparc V9 rather than using V8 code.
63823         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
63824         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
63826 2013-01-10  Roland McGrath  <roland@hack.frob.com>
63828         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
63829         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
63830         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
63831         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
63832         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
63833         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
63834         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
63835         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
63836         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
63837         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
63838         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
63839         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
63840         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
63841         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
63842         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
63843         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
63844         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
63845         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
63846         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
63847         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
63848         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
63849         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
63850         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
63851         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
63852         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
63853         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
63854         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
63856 2013-01-10  David S. Miller  <davem@davemloft.net>
63858         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63860 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
63862         * posix/Makefile (tests-static): New variable.
63863         (tests): Add $(tests-static).
63864         (tst-exec-static-ARGS): New variable.
63865         (tst-spawn-static-ARGS): Likewise.
63866         * posix/tst-exec-static.c: New file.
63867         * posix/tst-spawn-static.c: Likewise.
63868         * posix/tst-exec.c: Support run directly.
63869         * posix/tst-spawn.c: Likewise.
63871 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
63873         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
63874         long.
63875         * math/bits/mathcalls.h (llrint): Likewise.
63876         (llround): Likewise.
63877         * stdlib/stdlib.h (struct drand48_data): Likewise.
63878         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
63879         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
63880         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
63881         Likewise.
63882         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
63883         Likewise.
63884         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
63885         (elf_greg_t): Likewise.
63886         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
63887         (__jmp_buf): Likewise.
63888         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
63889         definitions.
63890         (llrint): Likewise, for all definitions.
63891         (llrintl): Likewise.
63893         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
63894         Remove [__GNUC__] condition.
63895         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
63896         condition to just [__USE_ISOC99].
63897         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
63899 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
63901         [BZ #14200]
63902         * sysdeps/unix/sysv/linux/x86/bits/environments.h
63903         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
63904         defined.
63905         (_POSIX_V6_ILP32_OFF32): Likewise.
63906         (_XBS5_ILP32_OFF32): Likewise.
63907         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
63908         (__ILP32_OFFBIG_LDFLAGS): Likewise.
63910 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63912         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
63914         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
63915         doubles __mpexp_twomm1.  Adjust usage.
63916         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
63917         Remove.
63919 2013-01-10  Andreas Schwab  <schwab@suse.de>
63921         [BZ #14964]
63922         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
63923         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
63925 2013-01-09  David S. Miller  <davem@davemloft.net>
63927         [BZ #15003]
63928         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
63929         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
63930         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
63931         (TCP_FASTOPEN): Define.
63932         (tcp_repair_opt): New structure.
63933         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
63934         enum values.
63935         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
63936         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
63937         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
63938         (tcp_cookie_transactions): New structure.
63940 2013-01-09  Anton Blanchard  <anton@samba.org>
63942         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
63943         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
63944         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
63945         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
63947 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
63949         * include/features.h (__USE_ANSI): Remove.
63951 2013-01-09  Roland McGrath  <roland@hack.frob.com>
63953         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
63955         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
63957 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
63959         * sysdeps/s390/fpu/libm-test-ulps: Update.
63961         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63963         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
63964         (__acr): Likewise.
63965         (__cpy): Likewise.
63966         (norm): Likewise.
63967         (denorm): Likewise.
63968         (__mp_dbl): Likewise.
63969         (__dbl_mp): Likewise.
63970         (add_magnitudes): Likewise.
63971         (sub_magnitudes): Likewise.
63972         (__add): Likewise.
63973         (__sub): Likewise.
63974         (__mul): Likewise.
63975         (__inv): Likewise.
63976         (__dvd): Likewise.
63977         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
63978         (__acr): Likewise.
63979         (__cpy): Likewise.
63980         (norm): Likewise.
63981         (denorm): Likewise.
63982         (__mp_dbl): Likewise.
63983         (__dbl_mp): Likewise.
63984         (add_magnitudes): Likewise.
63985         (sub_magnitudes): Likewise.
63986         (__add): Likewise.
63987         (__sub): Likewise.
63988         (__mul): Likewise.
63989         (__inv): Likewise.
63990         (__dvd): Likewise.
63991         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
63992         (__acr): Likewise.
63993         (__cpy): Likewise.
63994         (norm): Likewise.
63995         (denorm): Likewise.
63996         (__mp_dbl): Likewise.
63997         (__dbl_mp): Likewise.
63998         (add_magnitudes): Likewise.
63999         (sub_magnitudes): Likewise.
64000         (__add): Likewise.
64001         (__sub): Likewise.
64002         (__mul): Likewise.
64003         (__inv): Likewise.
64004         (__dvd): Likewise.
64006 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
64008         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
64009         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
64010         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
64011         2 && __USE_EXTERN_INLINES]: Likewise.
64013 2013-01-08  Andreas Jaeger  <aj@suse.de>
64015         [BZ# 14985]
64016         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
64017         Remove.
64018         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
64019         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
64021 2013-01-07  Anton Blanchard  <anton@samba.org>
64023         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
64024         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
64025         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
64026         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
64027         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
64028         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
64029         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
64030         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
64031         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
64032         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
64033         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
64034         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
64035         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
64036         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64037         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
64038         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
64039         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
64040         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
64041         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
64042         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
64043         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
64044         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
64045         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
64046         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
64047         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
64048         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
64049         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
64050         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
64051         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
64052         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
64053         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
64054         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64055         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
64056         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
64057         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
64058         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
64059         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
64060         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
64061         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
64062         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
64063         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
64064         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
64065         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
64067 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
64069         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
64070         (__MALLOC_PMT): Likewise.
64071         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
64072         [__GNUC__], only on [_LIBC].
64073         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
64074         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
64075         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
64076         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
64077         forward declaration.
64078         (realloc_hook_ini): Likewise.
64079         (memalign_hook_ini): Likewise.
64080         (__libc_memalign): Do not use __MALLOC_PMT in variable
64081         declaration.
64082         (__libc_valloc): Likewise.
64083         (__libc_pvalloc): Likewise.
64084         (__libc_calloc): Likewise.
64085         (__posix_memalign): Likewise.
64087         [BZ #14996]
64088         * math/s_casinh.c: Include <float.h>.
64089         (__casinh): Do not do computation with squaring and square root
64090         for large arguments.
64091         * math/s_casinhf.c: Include <float.h>.
64092         (__casinhf): Do not do computation with squaring and square root
64093         for large arguments.
64094         * math/s_casinhl.c: Include <float.h>.
64095         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
64096         (__casinhl): Do not do computation with squaring and square root
64097         for large arguments.
64098         * math/libm-test.inc (casin_test): Add more tests.
64099         (casinh_test): Likewise.
64100         * sysdeps/i386/fpu/libm-test-ulps: Update.
64101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64103 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
64105         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
64106         (__x86_64_raw_data_cache_size): Likewise.
64107         (__x86_64_data_cache_size_half): Likewise.
64108         (__x86_64_raw_data_cache_size_half): Likewise.
64109         (__x86_64_shared_cache_size): Likewise.
64110         (__x86_64_raw_shared_cache_size): Likewise.
64111         (__x86_64_shared_cache_size_half): Likewise.
64112         (__x86_64_raw_shared_cache_size_half): Likewise.
64113         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
64114         to ...
64115         (__x86_data_cache_size): This.
64116         (__x86_64_raw_data_cache_size): Renamed to ...
64117         (__x86_raw_data_cache_size): This.
64118         (__x86_64_data_cache_size_half): Renamed to ...
64119         (__x86_data_cache_size_half): This.
64120         (__x86_64_raw_data_cache_size_half): Renamed to ...
64121         (__x86_raw_data_cache_size_half): This.
64122         (__x86_64_shared_cache_size): Renamed to ...
64123         (__x86_shared_cache_size): This.
64124         (__x86_64_raw_shared_cache_size): Renamed to ...
64125         (__x86_raw_shared_cache_size): This.
64126         (__x86_64_shared_cache_size_half): Renamed to ...
64127         (__x86_shared_cache_size_half): This.
64128         (__x86_64_raw_shared_cache_size_half): Renamed to ...
64129         (__x86_raw_shared_cache_size_half): This.
64130         * sysdeps/x86_64/memcpy.S: Updated.
64131         * sysdeps/x86_64/memset.S: Likewise.
64132         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
64133         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
64134         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
64136 2013-01-04  David S. Miller  <davem@davemloft.net>
64138         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64140 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
64142         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
64143         1 to avoid redefinition warning.
64144         (__USE_GNU): Don't define.
64145         (init_signaling_nan): Protoize.
64147         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64149 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64151         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
64152         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
64153         (__cpymn): Likewise.
64154         (norm): Remove commented code.
64155         (denorm): Likewise.
64156         (__mp_dbl): Likewise.
64157         (__inv): Likewise.
64158         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
64159         (__cpymn): Likewise.
64160         (norm): Remove commented code.
64161         (denorm): Likewise.
64162         (__mp_dbl): Likewise.
64163         (__inv): Likewise.
64165         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
64166         mp_no value for 1.0 and 2.0.
64167         (norm): Use RADIXI instead of radixi.d.
64168         (denorm): Likewise.
64169         (__mul): Use 0.0 instead of zero.d.
64170         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
64171         mp_no value for 1.0 and 2.0.
64172         (norm): Use RADIXI instead of radixi.d.
64173         (denorm): Likewise.
64174         (__mul): Use 0.0 instead of zero.d.
64176 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
64178         [BZ #14994]
64179         * math/s_casinh.c (__casinh): Reduce finite argument to first
64180         quadrant then set signs of results at the end.
64181         * math/s_casinhf.c (__casinhf): Likewise.
64182         * math/s_casinhl.c (__casinhl): Likewise.
64183         * math/libm-test.inc (casin_test): Add more tests.
64184         (casinh_test): Likewise.
64185         * sysdeps/i386/fpu/libm-test-ulps: Update.
64186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64188 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64190         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
64192         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
64194         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
64195         declarations.
64196         (denorm): Likewise.
64197         (__mp_dbl): Likewise.
64198         (__inv): Likewise.
64200         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
64201         and adjust the header comment.
64203         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
64204         variable name from declaration.
64206 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
64208         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64209         Initialize COMMON_CPUID_INDEX_7 element.
64210         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
64211         (CPUID_RTM): Likewise.
64212         (HAS_RTM): Likewise.
64213         (COMMON_CPUID_INDEX_7): New enum.
64215 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
64217         [BZ #14981]
64218         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
64219         size is zero, record memory as freed.
64221 2013-01-03  Andreas Jaeger  <aj@suse.de>
64223         * po/ia.po: Add new Interlingua translation.
64225 2012-01-03  Allan McRae  <allan@archlinux.org>
64227         * locale/programs/localedef.c: Fix description of '--posix' flag.
64229 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
64231         * NEWS: Update dates in second copyright notice.
64232         * README: Update copyright dates in example.
64233         * manual/libc.texinfo: Update copyright dates.
64234         * scripts/test-installation.pl: Update copyright date in --version
64235         output.
64237         * hurd/ctty-input.c: Fix copyright notice formatting.
64238         * hurd/ctty-output.c: Likewise.
64239         * hurd/dtable.c: Likewise.
64240         * hurd/hurd-raise.c: Likewise.
64241         * hurd/hurdprio.c: Likewise.
64242         * hurd/msgportdemux.c: Likewise.
64243         * misc/sys/file.h: Likewise.
64244         * misc/sys/ioctl.h: Likewise.
64245         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
64246         * sysdeps/mach/hurd/chdir.c: Likewise.
64247         * sysdeps/mach/hurd/fchdir.c: Likewise.
64248         * sysdeps/mach/hurd/rename.c: Likewise.
64249         * sysdeps/mach/hurd/rmdir.c: Likewise.
64250         * sysdeps/mach/hurd/seekdir.c: Likewise.
64251         * sysdeps/mach/hurd/setsid.c: Likewise.
64252         * sysdeps/posix/wait3.c: Likewise.
64254         * All files with FSF copyright notices: Update copyright dates
64255         using scripts/update-copyrights.
64256         * intl/plural.c: Regenerated.
64257         * locale/programs/charmap-kw.h: Likewise.
64258         * locale/programs/locfile-kw.h: Likewise.
64260 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
64262         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
64263         four values.
64265         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
64266         calculation loop and add branch prediction.
64268         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
64269         check access beyond bounds of m1np.
64271         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
64272         MPTWO.
64273         (__inv): Remove local variable MPTWO to use the global
64274         constant.
64275         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
64276         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
64277         variable MPTWO.
64278         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
64279         MP3HALFS static const.
64281 2013-01-01  David S. Miller  <davem@davemloft.net>
64283         * po/ca.po: Update from translation team.
64285 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
64287         * scripts/update-copyrights: New file.
64288         * Makeconfig: Reformat copyright notice.
64289         * ctype/ctype.h: Likewise.
64290         * debug/swprintf_chk.c: Likewise.
64291         * elf/dl-cache.c: Likewise.
64292         * elf/dl-debug.c: Likewise.
64293         * elf/dl-object.c: Likewise.
64294         * grp/initgroups.c: Likewise.
64295         * hurd/Makefile: Likewise.
64296         * hurd/hurd/signal.h: Likewise.
64297         * hurd/hurdfault.c: Likewise.
64298         * hurd/hurdioctl.c: Likewise.
64299         * hurd/hurdlookup.c: Likewise.
64300         * hurd/intr-msg.c: Likewise.
64301         * iconv/gconv_open.c: Likewise.
64302         * libio/swprintf.c: Likewise.
64303         * locale/lc-ctype.c: Likewise.
64304         * locale/nl_langinfo.c: Likewise.
64305         * mach/Machrules: Likewise.
64306         * mach/Makefile: Likewise.
64307         * malloc/obstack.h: Likewise.
64308         * manual/Makefile: Likewise.
64309         * manual/tsort.awk: Likewise.
64310         * misc/bits/stab.def: Likewise.
64311         * nis/nis_print_group_entry.c: Likewise.
64312         * nis/nis_table.c: Likewise.
64313         * nis/nss_compat/compat-pwd.c: Likewise.
64314         * nis/nss_compat/compat-spwd.c: Likewise.
64315         * po/Makefile: Likewise.
64316         * posix/fnmatch.c: Likewise.
64317         * posix/regex.h: Likewise.
64318         * resolv/Makefile: Likewise.
64319         * resolv/nss_dns/dns-network.c: Likewise.
64320         * resolv/res_hconf.c: Likewise.
64321         * scripts/gen-sorted.awk: Likewise.
64322         * soft-fp/soft-fp.h: Likewise.
64323         * stdio-common/printf.h: Likewise.
64324         * stdlib/monetary.h: Likewise.
64325         * stdlib/random.c: Likewise.
64326         * stdlib/random_r.c: Likewise.
64327         * sysdeps/generic/Makefile: Likewise.
64328         * sysdeps/gnu/Makefile: Likewise.
64329         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
64330         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64331         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64332         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64333         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64334         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64335         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64336         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
64337         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64338         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64339         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
64340         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
64341         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
64342         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
64343         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
64344         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
64345         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
64346         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64347         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
64348         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64349         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
64350         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
64351         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
64352         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
64353         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
64354         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
64355         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
64356         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
64357         * sysdeps/mach/hurd/errnos.awk: Likewise.
64358         * sysdeps/mach/hurd/fork.c: Likewise.
64359         * sysdeps/mach/hurd/getcwd.c: Likewise.
64360         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
64361         * sysdeps/mach/hurd/mmap.c: Likewise.
64362         * sysdeps/mach/hurd/utimes.c: Likewise.
64363         * sysdeps/mach/hurd/xmknod.c: Likewise.
64364         * sysdeps/posix/profil.c: Likewise.
64365         * sysdeps/posix/readdir_r.c: Likewise.
64366         * sysdeps/powerpc/bits/mathdef.h: Likewise.
64367         * sysdeps/powerpc/bits/setjmp.h: Likewise.
64368         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
64369         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
64370         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
64371         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
64372         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
64373         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64374         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64375         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
64376         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
64377         * sysdeps/pthread/lio_listio.c: Likewise.
64378         * sysdeps/sparc/dl-procinfo.h: Likewise.
64379         * sysdeps/unix/i386/sysdep.S: Likewise.
64380         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
64381         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
64382         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
64383         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
64384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64385         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
64386         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
64387         * sysdeps/unix/sysv/linux/speed.c: Likewise.
64388         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
64389         * sysdeps/wordsize-32/divdi3.c: Likewise.
64390         * time/sys/time.h: Likewise.
64391         * wcsmbs/Makefile: Likewise.
64393 2013-01-01  David S. Miller  <davem@davemloft.net>
64395         * po/fr.po: Update from translation team.
64397         * catgets/gencat.c: Update copyright year.
64398         * csu/version.c: Likewise.
64399         * debug/catchsegv.sh: Likewise.
64400         * debug/pcprofiledump.c: Likewise.
64401         * debug/xtrace.sh: Likewise.
64402         * elf/ldconfig.c: Likewise.
64403         * elf/ldd.bash.in: Likewise.
64404         * elf/pldd.c: Likewise.
64405         * elf/sotruss.ksh: Likewise.
64406         * elf/sprof.c: Likewise.
64407         * iconv/iconv_prog.c: Likewise.
64408         * iconv/iconvconfig.c: Likewise.
64409         * locale/programs/locale.c: Likewise.
64410         * locale/programs/localedef.c: Likewise.
64411         * login/programs/pt_chown.c: Likewise.
64412         * malloc/memusage.sh: Likewise.
64413         * malloc/memusagestat.c: Likewise.
64414         * malloc/mtrace.pl: Likewise.
64415         * nscd/nscd.c: Likewise.
64416         * nss/getent.c: Likewise.
64417         * nss/makedb.c: Likewise.
64418         * posix/getconf.c: Likewise.
64420 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
64422         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
64423         numbers.
64425 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
64427         * math/bits/mathcalls.h (modf): Use __nonnull.
64429 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64431         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
64432         (split): Use macro CN instead of the bare value.
64433         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
64434         could be used.
64435         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
64436         instead of the bare value.
64437         (power1): Likewise.
64439 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64441         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
64442         __ATAN_TWOM.
64443         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
64445         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
64446         their values.
64447         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
64448         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
64449         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
64450         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
64452 2012-12-28  Andreas Jaeger  <aj@suse.de>
64454         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
64455         values are from Linux 3.7.
64457         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
64458         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
64460 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64462         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
64463         TRUE case.
64465         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
64466         (norm): Likewise.
64467         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
64468         variables with preprocessor constants.
64469         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
64470         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
64471         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
64473 2012-12-27  Bruno Haible  <bruno@clisp.org>
64475         [BZ #14317]
64476         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
64477         only if needed.
64479 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
64481         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
64482         and use variable directly.
64483         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
64485         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
64486         MPONE.
64487         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
64488         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
64489         variable MPONE.
64490         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
64491         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
64492         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
64493         include directive.  Remove local variable MPONE.
64494         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
64495         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
64496         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
64498 2012-12-25  David S. Miller  <davem@davemloft.net>
64500         * version.h (RELEASE): Set to "development".
64501         (VERSION): Set to "2.17.90".
64502         * NEWS: Add 2.18 section.
64504 2012-12-21  David S. Miller  <davem@davemloft.net>
64506         * po/hr.po: Update from translation team.
64508 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64510         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
64512 2012-12-19  Steve Ellcey  <sellcey@mips.com>
64514         * NEWS:  Mention new memcpy for MIPS.
64516 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
64518         * manual/contrib.texi (Contributors): Spelling correction.
64520 2012-12-15  David S. Miller  <davem@davemloft.net>
64522         * po/ru.po: Update from translation team.
64524 2012-12-13  David S. Miller  <davem@davemloft.net>
64526         * NEWS: Mention IFUNC testsuite enhancements.
64528         * po/pl.po: Update from translation team.
64529         * po/bg.po: Likewise.
64531         * manual/contrib.texi (Contributors): Update entries for Hongjiu
64532         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
64534 2012-12-11  David S. Miller  <davem@davemloft.net>
64536         * po/sv.po: Update from translation team.
64538         * po/vi.po: Update from translation team.
64540         * po/cs.po: Update from translation team.
64542         * po/de.po: Update from translation team.
64543         * po/eo.po: Likewise.
64544         * po/nl.po: Likewise.
64546 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
64548         [BZ #14246]
64549         * manual/argp.texi (Argp Helper Functions): Move node to follow
64550         Argp Parsing State.
64552         [BZ #14872]
64553         * manual/conf.texi (Limits on File System Capacity): Mention if
64554         terminating null is included in the max size.
64556 2012-12-10  Andreas Jaeger  <aj@suse.de>
64558         * po/cs.po: Update from translation team.
64560 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
64562         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
64563         void pointer and cast to uintptr_t.
64564         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
64565         path.
64566         * sysdeps/s390/s390-64/memcpy.S: Likewise.
64567         * sysdeps/s390/s390-64/memset.S: Likewise.
64569 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
64571         [BZ #14833]
64572         * menual/message.texi (Message Translation): Fix typos.
64573         (Helper programs for gettext): Likewise.
64575 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
64577         [BZ #14898]
64578         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
64579         Change to -1.
64581 2012-12-07  David S. Miller  <davem@davemloft.net>
64583         * po/libc.pot: Update.
64585 2012-12-07  Richard Henderson  <rth@redhat.com>
64587         [BZ #10114]
64588         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
64589         normal/normal case to before the switch.
64590         (_FP_DIV): Likewise.
64592 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
64593             Mike Frysinger  <vapier@gentoo.org>
64595         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
64596         check for __NR_fadvise64_64.
64598 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
64600         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
64601         0, not just to plain "0" as a statement.
64602         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
64603         with cw.
64605 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
64607         * NEWS: Use sourceware.org in Bugzilla URL.
64609 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
64611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
64612         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
64614         * stdio-common/tst-put-error.c (do_test): Add newline to the
64615         padded test to ensure flush.
64617 2012-12-05  Jeff Law  <law@redhat.com>
64619         * sunrpc/etc.rpc (fedfs_admin): Add entry.
64621 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
64623         * README: Don't refer to ports add-on as distributed separately.
64624         Mention AArch64 in list of systems supported in the ports add-on.
64626         * LICENSES: Add more non-FSF copyright and license notices.
64628         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
64629         ((unused)).
64631         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
64633         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
64634         10000 as width of padded output.
64636 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
64638         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
64640         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
64641         variable LX with __attribute__ ((unused)).
64642         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
64643         Likewise.
64644         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
64645         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64646         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
64647         with __attribute__ ((unused)).
64649 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
64651         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
64653 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
64655         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
64656         (CFLAGS-nldbl-acos.c): New variable.
64657         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
64658         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
64659         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
64660         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
64661         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
64662         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
64663         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
64664         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
64665         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
64666         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
64667         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
64668         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
64669         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
64670         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
64671         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
64672         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
64673         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
64674         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
64675         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
64676         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
64677         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
64678         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
64679         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
64680         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
64681         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
64682         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
64683         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
64684         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
64685         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
64686         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
64687         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
64688         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
64689         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
64690         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
64691         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
64692         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
64693         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
64694         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
64695         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
64696         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
64697         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
64698         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
64699         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
64700         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
64701         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
64702         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
64703         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
64704         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
64705         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
64706         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
64707         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
64708         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
64709         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
64710         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
64711         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
64712         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
64713         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
64714         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
64715         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
64716         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
64717         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
64718         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
64719         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
64720         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
64721         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
64722         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
64723         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
64724         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
64725         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
64726         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
64727         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
64728         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
64729         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
64730         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
64731         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
64732         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
64733         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
64734         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
64735         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
64736         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
64737         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
64738         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
64739         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
64740         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
64741         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
64742         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
64743         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
64744         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
64745         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
64746         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
64747         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
64748         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
64749         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
64750         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
64751         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
64752         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
64753         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
64755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
64756         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
64758         [BZ #14914]
64759         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
64760         whole low double instead of just low 47 bits when splitting values
64761         into two parts.
64763 2012-12-03  Allan McRae  <allan@archlinux.org>
64765         * manual/stdio.texi (Predefined Printf Handlers): Remove
64766         @hsep and @vsep usage.
64768 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
64770         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
64771         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
64773 2012-12-03  Jeff Law  <law@redhat.com>
64775         * time/sys/time.h (settimeofday): Do not mark TV argument
64776         as __nonnull.
64778 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
64780         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
64781         when currently writing and seek to current position when not.
64782         * libio/Makefile (tests): Remove bug-fclose1.
64783         * libio/bug-fclose1.c: Delete.
64785 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
64787         * manual/arith.texi (feenableexcept): Fix typo.
64788         (fedisableexcept): Likewise.
64790 2012-11-30  Roland McGrath  <roland@hack.frob.com>
64792         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
64793         second, differently-typed declaration, rather than a cast.
64795 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
64797         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
64798         * include/rpc/svc.h: ... here.
64800 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
64802         [BZ #13013]
64803         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
64804         depending n and resplen2 to catch cases where answer
64805         equals answerp2.
64807 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
64809         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
64810         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
64812 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
64814         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
64816 2012-11-29  Roland McGrath  <roland@hack.frob.com>
64818         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
64820 2012-11-28  Jeff Law  <law@redhat.com>
64822         [BZ #13761]
64823         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
64824         dataset_temporary.  Track alloca usage into alloca_used.
64825         If dataset is large allocate and release it via malloc/free.
64827 2012-06-04  Florian Weimer  <fweimer@redhat.com>
64829         [BZ #14197]
64830         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
64832 2012-11-28  David S. Miller  <davem@davemloft.net>
64834         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64836 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
64838         [BZ #14803]
64839         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
64840         of pi/2 rounded to nearest to 64 bits.
64841         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
64842         nearest to 64 bits.
64843         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
64844         bits.
64846 2012-11-28  Jeff Law <law@redhat.com>
64847             Martin Osvald <mosvald@redhat.com>
64849         [BZ #14889]
64850         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
64851         * sunrpc/svc.c: Include time.h.
64852         (__svc_accept_failed): New function.
64853         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
64854         any reason other than EINTR, call __svc_accept_failed.
64855         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
64856         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
64858 2012-11-28  Andreas Schwab  <schwab@suse.de>
64860         * scripts/abilist.awk: Also handle indirect functions in .opd
64861         section.
64863 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
64865         [BZ #13881]
64866         * sysdeps/x86/fpu/powl_helper.c: New file.
64867         * sysdeps/x86/fpu/Makefile: Likewise.
64868         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
64869         (p3): New object.
64870         (__ieee754_powl): Use __powl_helper for finite arguments except
64871         integer exponents below 8.
64872         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
64873         (p3): New object.
64874         (__ieee754_powl): Use __powl_helper for finite arguments except
64875         integer exponents below 8.
64876         * math/libm-test.inc (pow_test): Add more tests and enable some
64877         previously disabled tests.
64878         * sysdeps/i386/fpu/libm-test-ulps: Update.
64879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64881 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64882             Carlos O'Donell  <carlos_odonell@mentor.com>
64884         * nss/makedb.c (is_prime): Assert that input is odd and greater
64885         than 4.  Note that fact in a comment too.
64886         (next_prime): Add 4 to input.
64888 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
64890         [BZ #11741]
64891         * libio/Makefile (tests): Add test case tst-fwrite-error.
64892         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
64893         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
64894         * libio/tst-fwrite-error.c: New test case.
64896 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
64898         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
64899         before casting to void *.
64900         * include/libc-internal.h (__pointer_type): New macro.
64901         (__integer_if_pointer_type_sub): Likewise.
64902         (__integer_if_pointer_type): Likewise.
64903         (cast_to_integer): Likewise.
64904         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
64905         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
64906         before casting to atomic64_t.
64907         (atomic_exchange_acq): Likewise.
64908         (__arch_exchange_and_add_body): Likewise.
64909         (__arch_add_body): Likewise.
64910         (atomic_add_negative): Likewise.
64911         (atomic_add_zero): Likewise.
64913 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
64915         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
64916         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
64917         (add_fdes): Likewise.
64918         (linear_search_fdes): Likewise.
64919         (binary_search_unencoded_fdes): Likewise.
64921 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
64923         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
64925 2012-11-24  Adam Conrad  <adconrad@0c3.net>
64927         * configure.in: Autodetect C++ header directories.
64928         * configure: Regenerated.
64930 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
64932         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
64934 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
64936         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64938 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
64940         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
64941         LDBL_MANT_DIG == 106]: Disable some tests.
64942         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
64943         Likewise.
64944         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
64945         Likewise.
64947         [BZ #14871]
64948         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
64949         input for small inputs.  Return +/- pi/2 for large inputs.
64950         * math/libm-test.inc (atan_test): Add more tests.
64952         * sysdeps/generic/unwind-dw2-fde-glibc.c
64953         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
64954         __attribute__ ((unused)).
64956         [BZ #14645]
64957         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
64958         x * y if x and y are nonzero and z is zero.
64960         [BZ #14811]
64961         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
64962         nonzero exponents with absolute value below 0x1p-117 to +/-
64963         0x1p-117.
64965         [BZ #14869]
64966         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
64967         up arguments below 2**-450, not just those below 2**-500.
64968         * math/libm-test.inc (hypot_test): Add another test.
64970         [BZ #14868]
64971         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
64972         Return a+b for ratio over 2**120, not 2**60.
64973         * math/libm-test.inc (hypot_test): Add another test.
64975         * math/libm-test.inc (clog_test): Use
64976         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
64977         (clog10_test): Likewise.
64979         [BZ #6778]
64980         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
64982 2012-11-22  Andreas Schwab  <schwab@suse.de>
64984         * sysdeps/i386/fpu/libm-test-ulps: Update.
64986 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
64988         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
64989         printf output with newline.
64991 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
64993         [BZ #14865]
64994         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
64995         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
64996         -z nodlopen, -z initfirst and -z execstack support.
64997         * configure: Regenerated.
64999         * elf/elf.h (DF_1_NODIRECT): New macro.
65000         (DF_1_IGNMULDEF): Likewise.
65001         (DF_1_NOKSYMS): Likewise.
65002         (DF_1_NOHDR): Likewise.
65003         (DF_1_EDITED): Likewise.
65004         (DF_1_NORELOC): Likewise.
65005         (DF_1_SYMINTPOSE): Likewise.
65006         (DF_1_GLOBAUDIT): Likewise.
65007         (DF_1_SINGLETON): Likewise.
65008         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
65009         DT_1_SUPPORTED_MASK bits.
65010         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
65012 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
65014         * sysdeps/unix/make-syscalls.sh: Document prefixes.
65016 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
65018         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
65019         macro.
65021         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
65022         (sendmmsg): Move declarations...
65023         * socket/sys/socket.h: ... here.
65024         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
65025         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
65026         include it from...
65027         * socket/recvmmsg.c: ... this new file.
65028         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
65029         (sendmmsg): Rename to __sendmmsg, create weak alias and make
65030         definition of __sendmmsg hidden.
65031         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
65032         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
65033         Move ENOSYS stub into and include it from...
65034         * socket/sendmmsg.c: ... this new file.
65035         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
65036         (sysdep_routines): Move recvmmsg and sendmmsg...
65037         * socket/Makefile (routines): ... here.
65038         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
65039         (GLIBC_PRIVATE): Add __sendmmsg.
65040         * include/sys/socket.h (__sendmmsg): Add declarations.
65041         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
65042         sendmmsg.
65044 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
65046         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
65047         variable I1 with __attribute__ ((unused)).
65048         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
65050 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
65052         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
65053         DUMMY variables with __attribute__ ((unused)).
65055         * bits/byteswap.h: Include <bits/types.h>.
65056         (__bswap_64): Use __uint64_t instead of unsigned long long int.
65058 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
65060         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
65061         string_t.  Do not manually set errno.
65062         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
65063         length with __strnlen.  Make sure to both set errno and return it on
65064         failure.
65066 2012-11-19  David S. Miller  <davem@davemloft.net>
65068         With help from Joseph Myers.
65069         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
65070         very large arguments properly.
65071         * math/libm-test.inc (atan_test): New tests.
65072         (atan2_test): New tests.
65073         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65074         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65076 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
65078         [BZ #14856]
65079         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
65080         Define to 3.
65082         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
65083         [POSIX] (EADDRNOTAVAIL): Likewise.
65084         [POSIX] (EAFNOSUPPORT): Likewise.
65085         [POSIX] (EALREADY): Likewise.
65086         [POSIX] (ECONNABORTED): Likewise.
65087         [POSIX] (ECONNREFUSED): Likewise.
65088         [POSIX] (ECONNRESET): Likewise.
65089         [POSIX] (EDESTADDRREQ): Likewise.
65090         [POSIX] (EDQUOT): Likewise.
65091         [POSIX] (EHOSTUNREACH): Likewise.
65092         [POSIX] (EIDRM): Likewise.
65093         [POSIX] (EISCONN): Likewise.
65094         [POSIX] (ELOOP): Likewise.
65095         [POSIX] (EMULTIHOP): Likewise.
65096         [POSIX] (ENETDOWN): Likewise.
65097         [POSIX] (ENETUNREACH): Likewise.
65098         [POSIX] (ENOBUFS): Likewise.
65099         [POSIX] (ENODATA): Likewise.
65100         [POSIX] (ENOLINK): Likewise.
65101         [POSIX] (ENOMSG): Likewise.
65102         [POSIX] (ENOPROTOOPT): Likewise.
65103         [POSIX] (ENOSR): Likewise.
65104         [POSIX] (ENOSTR): Likewise.
65105         [POSIX] (ENOTCONN): Likewise.
65106         [POSIX] (ENOTSOCK): Likewise.
65107         [POSIX] (EOPNOTSUPP): Likewise.
65108         [POSIX] (EOVERFLOW): Likewise.
65109         [POSIX] (EPROTO): Likewise.
65110         [POSIX] (EPROTONOSUPPORT): Likewise.
65111         [POSIX] (EPROTOTYPE): Likewise.
65112         [POSIX] (ESTALE): Likewise.
65113         [POSIX] (ETIME): Likewise.
65114         [POSIX] (ETXTBSY): Likewise.
65115         [POSIX] (EWOULDBLOCK): Likewise.
65116         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
65117         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
65118         [POSIX] (SEEK_CUR): Likewise.
65119         [POSIX] (SEEK_END): Likewise.
65120         [POSIX || UNIX98] (mode_t): Do not require.
65121         [POSIX] (off_t): Likewise.
65122         [POSIX] (pid_t): Likewise.
65123         [POSIX] (sys/stat.h): Do not allow header.
65124         [POSIX] (unistd.h): Likewise.
65125         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
65126         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
65127         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
65128         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
65129         require.
65130         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
65131         sigevent): Specify elements.
65132         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
65133         entry.
65134         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
65135         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
65137         * conform/data/cpio.h-data [POSIX]: Disable whole file.
65138         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
65139         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
65140         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
65141         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
65142         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
65143         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
65144         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
65145         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
65146         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
65147         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
65148         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
65149         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
65150         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
65151         Likewise.
65152         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
65153         Likewise.
65154         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
65155         Likewise.
65156         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
65157         Likewise.
65158         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
65159         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
65160         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
65161         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
65162         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
65163         Specify lower bound on value.
65164         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
65165         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
65166         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
65167         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
65168         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
65169         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
65170         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
65171         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
65172         value.
65173         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
65174         as optional.
65175         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
65176         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
65177         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
65178         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
65179         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
65180         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
65181         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
65182         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
65183         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
65184         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
65185         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
65186         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
65187         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
65188         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
65189         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
65190         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
65191         entry.
65192         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
65193         optional.
65194         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
65195         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
65196         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
65197         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
65198         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
65199         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
65200         Likewise.
65201         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
65202         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
65203         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
65204         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
65205         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
65206         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
65207         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
65208         as optional.
65209         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
65210         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
65211         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
65212         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
65213         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
65214         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
65215         specify as optional.
65216         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
65217         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
65218         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
65219         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
65220         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
65221         [XPG3] (NL_LANGMAX): Likewise.
65222         [POSIX || XPG3] (NL_MSGMAX): Likewise.
65223         [POSIX || XPG3] (NL_NMAX): Likewise.
65224         [POSIX || XPG3] (NL_SETMAX): Likewise.
65225         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
65226         [XPG3] (NZERO): Likewise.
65227         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
65228         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
65229         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
65230         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
65231         (REG_ERANGE): Expect.
65232         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
65233         optional-constant.
65234         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
65235         Use (void) in prototype.
65236         [POSIX] (*_t): Allow.
65237         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
65238         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
65239         (WRDE_BADVAL): Expect.
65241         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
65242         expect.
65243         [XPG3 || XPG4] (O_RSYNC): Likewise.
65244         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
65245         Likewise.
65246         [XPG3 || XPG4] (pthread_sigmask): Likewise.
65247         [XPG3 || XPG4] (sigqueue): Likewise.
65248         [XPG3 || XPG4] (sigtimedwait): Likewise.
65249         [XPG3 || XPG4] (sigwaitinfo): Likewise.
65250         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
65251         [XPG3 || XPG4] (vsnprintf): Likewise.
65252         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
65253         Likewise.
65254         [XPG3 || XPG4] (blksize_t): Likewise.
65255         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
65256         Likewise.
65257         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
65258         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
65259         [XPG3 || XPG4] (struct itimerspec): Likewise.
65260         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
65261         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
65262         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
65263         [XPG3 || XPG4] (clockid_t): Likewise.
65264         [XPG3 || XPG4] (timer_t): Likewise.
65265         [XPG3 || XPG4] (clock_getres): Likewise.
65266         [XPG3 || XPG4] (clock_gettime): Likewise.
65267         [XPG3 || XPG4] (clock_settime): Likewise.
65268         [XPG3 || XPG4] (nanosleep): Likewise.
65269         [XPG3 || XPG4] (timer_create): Likewise.
65270         [XPG3 || XPG4] (timer_delete): Likewise.
65271         [XPG3 || XPG4] (timer_gettime): Likewise.
65272         [XPG3 || XPG4] (timer_getoverrun): Likewise.
65273         [XPG3 || XPG4] (timer_settime): Likewise.
65274         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
65275         [XPG3 || XPG4] (getlogin_r): Likewise.
65276         [XPG3 || XPG4] (pread): Likewise.
65277         [XPG3 || XPG4] (pthread_atfork): Likewise.
65278         [XPG3 || XPG4] (pwrite): Likewise.
65280         [BZ #14835]
65281         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
65282         <bits/siginfo.h>.
65284 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
65286         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
65287         finalizing MALLSTREAM.
65289         * sysdeps/mach/hurd/syncfs.c: New file.
65291 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
65293         [BZ #14719]
65294         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
65295         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
65296         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
65297         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
65298         (_nss_dns_gethostbyname4_r): Likewise.
65299         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
65300         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
65302 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
65304         [BZ #13763]
65305         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
65307 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
65309         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
65310         * elf/cache.c (print_entry): Print ",AArch64" for
65311         FLAG_AARCH64_LIB64
65313         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
65314         * elf/cache.c (print_entry): Print ",hard-float" for
65315         FLAG_ARM_LIBHF.
65317 2012-11-18  David S. Miller  <davem@davemloft.net>
65319         With help from Joseph Myers.
65320         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
65321         cutoff to 2**-13.
65322         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
65323         cutoff to 2**-25.
65324         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
65325         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
65326         small.
65327         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
65328         * math/libm-test.inc (y0_test): New tests.
65329         (y1_test): New tests.
65330         * sysdeps/i386/fpu/libm-test-ulps: Update.
65331         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65332         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65334 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
65336         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
65337         64-bit targets.
65338         * configure: Regenerated.
65340 2012-11-17  David S. Miller  <davem@davemloft.net>
65342         [BZ #14811]
65343         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
65344         nonzero exponents with absolute value below 0x1p-128 to +/-
65345         0x1p-128.
65347 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
65349         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
65351         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
65353         * posix/getconf-speclist.c: New file.
65354         * posix/posix-envs.def: Likewise.
65355         * posix/confstr.c (START_ENV_GROUP): New macro.
65356         (END_ENV_GROUP): Likewise.
65357         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
65358         (KNOWN_PRESENT_ENV_STRING): Likewise.
65359         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
65360         (UNKNOWN_ENVIRONMENT): Likewise.
65361         (confstr): Include posix-envs.def instead of handling
65362         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
65363         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
65364         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
65365         (END_ENV_GROUP): Likewise.
65366         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
65367         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
65368         (UNKNOWN_ENVIRONMENT): Likewise.
65369         (__sysconf): Include posix-envs.def instead of handling associated
65370         cases directly here.
65371         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
65372         preprocessing getconf-speclist.c rather than running getconf or
65373         generating empty file.
65375 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
65377         * scripts/check-local-headers.sh: Ignore 'mach' headers.
65379 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
65381         [BZ #14672]
65382         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
65384 2012-11-16  David S. Miller  <davem@davemloft.net>
65386         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
65387         smaller than LDBL_EPSILON/2.0L, just return xm1.
65389 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
65391         * elf/tst-array1.c (init): Set constructor priority to 1000.
65392         (fini): Set destructor priority to 1000.
65393         * elf/tst-array2dep.c: Likewise.
65395 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65397         [BZ #11741]
65398         * libio/fileops.c (_IO_new_file_write): Correctly return error.
65399         (_IO_new_file_xsputn): Also return EOF if none of the input
65400         data was written when overflow failed.
65401         * libio/iopadn.c (_IO_padn): Likewise.
65402         * libio/iowpadn.c (_IO_wpadn): Likewise.
65403         * stdio-common/tst-put-error.c: Add copyright notice.
65404         (do_test): Add case for printing padded string.
65405         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
65406         _IO_padn returned error.
65407         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
65408         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
65409         return EOF.
65411 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65413         * libio/libioP.h: Add comment note that the references to C++
65414         bits are now obsolete.
65416 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65418         * math/libm-test.inc (check_complex): Use asprintf.
65420 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
65422         * debug/pcprofiledump.c (print_version): Update copyright year.
65423         * malloc/memusagestat.c (print_version): Likewise.
65425 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
65427         [BZ #14831]
65428         * elf/Makefile (tests): Add tst-audit8.
65429         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
65430         ($(objpfx)tst-audit8.out): New target.
65431         (tst-audit8-ENV): New variable.
65432         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
65433         audit if l_reloc_result is NULL.
65434         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
65435         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
65436         * elf/tst-audit8.c: New file.
65438 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65440         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
65441         * misc/Makefile (CFLAGS-select.c): Define.
65442         * posix/Makefile (CFLAGS-pause.c): Define.
65444 2012-11-13  David S. Miller  <davem@davemloft.net>
65446         * crypt/Makefile: Move test targets after toplevel Rules
65447         inclusion.  Grab any necessary sysdep routines when linking.
65448         * crypt/md5.c (md5_process_block): Remove define, we will always
65449         name it __md5_process_block.
65450         (md5_finish_ctx): Update md5_process_block call.
65451         (md5_stream): Likewise.
65452         (md5_process_bytes): Likewise.
65453         (md5_process_block): Rename to __md5_process_block and move to ...
65454         * crypt/md5-block.c: ... here.
65455         * crypt/sha256.c (sha256_process_block): Move to ...
65456         * crypt/sha256-block.c: ... here.
65457         * crypt/sha512.c (sha512_process_block): Move to ...
65458         * crypt/sha512-block.c: ... here.
65459         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
65460         path.
65461         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
65462         * sysdeps/sparc/sparc64/multiarch/Makefile
65463         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
65464         crypt subdir.
65465         (localedef-aux): Add md5 crypto assembler when in locale subdir.
65466         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
65467         multiarch changes.
65468         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
65469         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
65470         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
65471         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
65472         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
65473         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
65474         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
65475         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
65476         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
65477         file.
65478         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
65479         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
65480         file.
65481         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
65483 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
65485         * timezone/tzselect.ksh: Update from tzcode git revision
65486         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
65487         * timezone/zdump.c: Likewise.
65488         * timezone/zic.c: Likewise.
65489         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
65490         in TZVERSION setting, not $(PKGVERSION).
65491         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
65492         REPORT_BUGS_TO settings.
65494         [BZ #14838]
65495         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
65496         macro.
65498 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65500         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
65501         detection to immediately after _FP_ROUND().
65502         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
65503         bits are 0.
65505 2012-11-11  David S. Miller  <davem@davemloft.net>
65507         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
65508         inttypes.h
65509         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
65510         __close rather than their public counterparts.
65512 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
65514         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
65515         file.
65516         [UNIX98] (sem_timedwait): Do not expect.
65517         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
65518         [XPG4 || UNIX98] (sockatmark): Do not expect.
65519         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
65520         (clock_getcpuclockid): Do not expect.
65521         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
65522         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
65523         Do not expect.
65524         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
65525         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
65526         [UNIX98] (vwscanf): Likewise.
65527         [UNIX98] (vswscanf): Likewise.
65529 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
65531         * timezone/version.h: Remove file.
65532         * timezone/README: Do not refer to version.h.
65533         * timezone/Makefile ($(objpfx)zic.o): New dependency on
65534         $(objpfx)version.h.
65535         ($(objpfx)zdump.o): Likewise.
65536         ($(objpfx)version.h): New target.
65538         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
65539         2012i.
65540         * timezone/README: Don't mention modification to tzselect.ksh.
65541         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
65542         work on unmodified tzselect.ksh.  Substitute version numbers in
65543         tzselect.ksh.
65545         * Makefile (format-me): Remove.
65546         (INSTALL): Adjust indentation.  Use commands directly instead of
65547         using $(format-me).
65549         * aclocal.m4 (ACX_PKGVERSION): New macro.
65550         (ACX_BUGURL): Likewise.
65551         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
65552         (PKGVERSION): New AC_DEFINE_UNQUOTED.
65553         (REPORT_BUGS_TO): Likewise.
65554         * configure: Regenerated.
65555         * config.h.in (PKGVERSION): New macro.
65556         (REPORT_BUGS_TO): Likewise.
65557         * config.make.in (PKGVERSION): New variable.
65558         (PKGVERSION_TEXI): Likewise.
65559         (REPORT_BUGS_TO): Likewise.
65560         (REPORT_BUGS_TEXI): Likewise.
65561         * Makefile (format-me): Use -I$(common-objpfx)manual.
65562         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
65563         ($(common-objpfx)manual/%): New target.
65564         (manual/%): Remove target.
65565         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
65566         (print_version): Use PKGVERSION.
65567         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
65568         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
65569         and REPORT_BUGS_TO.
65570         ($(objpfx)xtrace): Likewise.
65571         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
65572         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
65573         (print_version): Use PKGVERSION.
65574         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
65575         (do_version): Use PKGVERSION.
65576         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
65577         REPORT_BUGS_TO.
65578         (common-ldd-rewrite): Likewise.
65579         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
65580         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
65581         (print_version): Use PKGVERSION.
65582         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
65583         * elf/pldd.c (argp_program_bug_address): Remove variable.
65584         (more_help): New function.
65585         (argp): Use more_help.
65586         (print_version): Use PKGVERSION.
65587         * elf/sln.c (main): Use PKGVERSION.
65588         (usage): Use REPORT_BUGS_TO.
65589         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
65590         (top level): Use PKGVERSION.
65591         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
65592         (print_version): Use PKGVERSION.
65593         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
65594         (print_version): Use PKGVERSION.
65595         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
65596         (print_version): Use PKGVERSION.
65597         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
65598         (print_version): Use PKGVERSION.
65599         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
65600         (print_version): Use PKGVERSION.
65601         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
65602         (print_version): Use PKGVERSION.
65603         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
65604         and BUGURL.
65605         ($(objpfx)memusage): Likewise.
65606         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
65607         (do_version): Use PKGVERSION.
65608         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
65609         (print_version): Use PKGVERSION.
65610         * malloc/mtrace.pl ($PACKAGE): Remove variable.
65611         ($PKGVERSION): New variable.
65612         ($REPORT_BUGS_TO): Likewise.
65613         (usage): Use $REPORT_BUGS_TO.
65614         (top level): Use $PKGVERSION.
65615         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
65616         ($(objpfx)pkgvers.texi): New rule.
65617         ($(objpfx)stamp-pkgvers): Likewise.
65618         * manual/install.texi: Include pkgvers.texi.
65619         (--with-pkgversion): Document new configure option.
65620         (--with-bugurl): Likewise.
65621         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
65622         than necessarily for this particular distribution.  Use
65623         REPORT_BUGS_TO for where to report bugs.
65624         * INSTALL: Regenerated.
65625         * manual/libc.texinfo: Include pkgvers.texi.
65626         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
65627         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
65628         (print_version): Use PKGVERSION.
65629         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
65630         (print_version): Use PKGVERSION.
65631         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
65632         (print_version): Use PKGVERSION.
65633         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
65634         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
65635         macro.
65636         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
65637         (print_version): Use PKGVERSION.
65638         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
65639         (print_version): Use PKGVERSION.
65640         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
65641         and PKGVERSION.
65643         * timezone/checktab.awk: Update from tzcode 2012i.
65644         * timezone/ialloc.c: Likewise.
65645         * timezone/private.h: Likewise.
65646         * timezone/scheck.c: Likewise.
65647         * timezone/tzfile.h: Likewise.
65648         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
65649         (TZVERSION): Hardcode tzcode version number.
65650         * timezone/zdump.c: Update from tzcode 2012i.
65651         * timezone/zic.c: Likewise.
65652         * timezone/version.h: New file.
65653         * timezone/README: Describe version.h.  Update upstream location.
65655         [BZ #14824]
65656         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
65657         (mktemp): Enable declaration.
65658         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
65659         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
65660         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
65661         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
65662         Likewise.
65663         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
65664         Likewise.
65665         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
65666         Likewise.
65667         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
65668         Likewise.
65669         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
65670         Likewise.
65671         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
65672         Likewise.
65674         [BZ #14821]
65675         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
65676         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
65677         for copies of such integer values.
65678         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
65679         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
65681 2012-11-09  Andreas Jaeger  <aj@suse.de>
65683         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
65684         definitions and declarations that are provided by
65685         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
65687 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65689         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
65690         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
65691         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
65692         definition.
65694 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65696         * elf/elf.h: Update comment before AArch64 relocations.
65698 2012-11-07  David S. Miller  <davem@davemloft.net>
65700         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
65701         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
65702         (__start_context): Declare.
65703         (__makecontext_ret): Delete.
65704         (__makecontext): Hook up __start_context instead of
65705         __makecontext_ret.
65706         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
65707         (sysdep_routines): Add __start_context when in stdlib.
65709 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
65711         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
65712         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
65713         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
65714         hardcoded "nm".
65715         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
65716         (READELF): New variable.  Use it instead of hardcoded "readelf".
65718 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
65720         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
65721         * sysdeps/x86/Makefile: Here.
65722         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
65723         * sysdeps/x86/tst-xmmymm.sh: This.
65725 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
65727         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
65728         expectations.
65729         [UNIX98] (pthread_barrier_t): Do not expect.
65730         [UNIX98] (pthread_barrierattr_t): Likewise.
65731         [UNIX98] (pthread_spinlock_t): Likewise.
65732         [UNIX98] (pthread_barrier_destroy): Likewise.
65733         [UNIX98] (pthread_barrier_init): Likewise.
65734         [UNIX98] (pthread_barrier_wait): Likewise.
65735         [UNIX98] (pthread_barrierattr_destroy): Likewise.
65736         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
65737         [UNIX98] (pthread_barrierattr_init): Likewise.
65738         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
65739         [UNIX98] (pthread_getcpuclockid): Likewise.
65740         [UNIX98] (pthread_mutex_timedlock): Likewise.
65741         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
65742         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
65743         [UNIX98] (pthread_sigmask): Likewise.
65744         [UNIX98] (pthread_spin_destroy): Likewise.
65745         [UNIX98] (pthread_spin_init): Likewise.
65746         [UNIX98] (pthread_spin_lock): Likewise.
65747         [UNIX98] (pthread_spin_trylock): Likewise.
65748         [UNIX98] (pthread_spin_unlock): Likewise.
65749         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
65750         Do not expect.
65751         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
65752         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
65753         [XPG3 || XPG4] (pthread_cond_t): Likewise.
65754         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
65755         [XPG3 || XPG4] (pthread_key_t): Likewise.
65756         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
65757         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
65758         [XPG3 || XPG4] (pthread_once_t): Likewise.
65759         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
65760         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
65761         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
65762         [XPG3 || XPG4] (pthread_t): Likewise.
65764         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
65765         not expect.
65766         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
65768         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
65769         Change function return type to int.
65771         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
65772         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
65773         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
65774         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
65775         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
65776         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
65777         [!POSIX] (posix_madvise): Likewise.
65778         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
65779         && !UNIX98].
65780         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
65781         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
65782         (mode_t): Likewise.
65783         (posix_mem_offset): Likewise.
65784         (posix_typed_mem_get_info): Likewise.
65785         (posix_typed_mem_open): Likewise.
65787         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
65788         Change condition to [XOPEN2K8].
65790         * conform/conformtest.pl: Preprocess allow-header data with -x c
65791         instead of from stdin.
65792         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
65793         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
65794         [C99-based standards] (cerfc): Likewise.
65795         [C99-based standards] (cexp2): Likewise.
65796         [C99-based standards] (cexpm1): Likewise.
65797         [C99-based standards] (clog10): Likewise.
65798         [C99-based standards] (clog1p): Likewise.
65799         [C99-based standards] (clog2): Likewise.
65800         [C99-based standards] (clgamma): Likewise.
65801         [C99-based standards] (ctgamma): Likewise.
65802         [C99-based standards] (cerff): Likewise.
65803         [C99-based standards] (cerfcf): Likewise.
65804         [C99-based standards] (cexp2f): Likewise.
65805         [C99-based standards] (cexpm1f): Likewise.
65806         [C99-based standards] (clog10f): Likewise.
65807         [C99-based standards] (clog1pf): Likewise.
65808         [C99-based standards] (clog2f): Likewise.
65809         [C99-based standards] (clgammaf): Likewise.
65810         [C99-based standards] (ctgammaf): Likewise.
65811         [C99-based standards] (cerfl): Likewise.
65812         [C99-based standards] (cerfcl): Likewise.
65813         [C99-based standards] (cexp2l): Likewise.
65814         [C99-based standards] (cexpm1l): Likewise.
65815         [C99-based standards] (clog10l): Likewise.
65816         [C99-based standards] (clog1pl): Likewise.
65817         [C99-based standards] (clog2l): Likewise.
65818         [C99-based standards] (clgammal): Likewise.
65819         [C99-based standards] (ctgammal): Likewise.
65820         * conform/data/inttypes.h-data [C99-based standards]: Include
65821         stdint.h-data.  Remove all expectations for stdint.h contents.
65822         [C99-based standards] (PRI*): Do not allow.
65823         [C99-based standards] (SCN*): Likewise.
65824         [C99-based standards] (*_t): Likewise.
65825         [C99-based-standards] (PRId8): Expect macro.
65826         [C99-based-standards] (PRIi8): Likewise.
65827         [C99-based-standards] (PRIo8): Likewise.
65828         [C99-based-standards] (PRIu8): Likewise.
65829         [C99-based-standards] (PRIx8): Likewise.
65830         [C99-based-standards] (PRIX8): Likewise.
65831         [C99-based-standards] (SCNd8): Likewise.
65832         [C99-based-standards] (SCNi8): Likewise.
65833         [C99-based-standards] (SCNo8): Likewise.
65834         [C99-based-standards] (SCNu8): Likewise.
65835         [C99-based-standards] (SCNx8): Likewise.
65836         [C99-based-standards] (PRIdLEAST8): Likewise.
65837         [C99-based-standards] (PRIiLEAST8): Likewise.
65838         [C99-based-standards] (PRIoLEAST8): Likewise.
65839         [C99-based-standards] (PRIuLEAST8): Likewise.
65840         [C99-based-standards] (PRIxLEAST8): Likewise.
65841         [C99-based-standards] (PRIXLEAST8): Likewise.
65842         [C99-based-standards] (SCNdLEAST8): Likewise.
65843         [C99-based-standards] (SCNiLEAST8): Likewise.
65844         [C99-based-standards] (SCNoLEAST8): Likewise.
65845         [C99-based-standards] (SCNuLEAST8): Likewise.
65846         [C99-based-standards] (SCNxLEAST8): Likewise.
65847         [C99-based-standards] (PRIdFAST8): Likewise.
65848         [C99-based-standards] (PRIiFAST8): Likewise.
65849         [C99-based-standards] (PRIoFAST8): Likewise.
65850         [C99-based-standards] (PRIuFAST8): Likewise.
65851         [C99-based-standards] (PRIxFAST8): Likewise.
65852         [C99-based-standards] (PRIXFAST8): Likewise.
65853         [C99-based-standards] (SCNdFAST8): Likewise.
65854         [C99-based-standards] (SCNiFAST8): Likewise.
65855         [C99-based-standards] (SCNoFAST8): Likewise.
65856         [C99-based-standards] (SCNuFAST8): Likewise.
65857         [C99-based-standards] (SCNxFAST8): Likewise.
65858         [C99-based-standards] (PRId16): Likewise.
65859         [C99-based-standards] (PRIi16): Likewise.
65860         [C99-based-standards] (PRIo16): Likewise.
65861         [C99-based-standards] (PRIu16): Likewise.
65862         [C99-based-standards] (PRIx16): Likewise.
65863         [C99-based-standards] (PRIX16): Likewise.
65864         [C99-based-standards] (SCNd16): Likewise.
65865         [C99-based-standards] (SCNi16): Likewise.
65866         [C99-based-standards] (SCNo16): Likewise.
65867         [C99-based-standards] (SCNu16): Likewise.
65868         [C99-based-standards] (SCNx16): Likewise.
65869         [C99-based-standards] (PRIdLEAST16): Likewise.
65870         [C99-based-standards] (PRIiLEAST16): Likewise.
65871         [C99-based-standards] (PRIoLEAST16): Likewise.
65872         [C99-based-standards] (PRIuLEAST16): Likewise.
65873         [C99-based-standards] (PRIxLEAST16): Likewise.
65874         [C99-based-standards] (PRIXLEAST16): Likewise.
65875         [C99-based-standards] (SCNdLEAST16): Likewise.
65876         [C99-based-standards] (SCNiLEAST16): Likewise.
65877         [C99-based-standards] (SCNoLEAST16): Likewise.
65878         [C99-based-standards] (SCNuLEAST16): Likewise.
65879         [C99-based-standards] (SCNxLEAST16): Likewise.
65880         [C99-based-standards] (PRIdFAST16): Likewise.
65881         [C99-based-standards] (PRIiFAST16): Likewise.
65882         [C99-based-standards] (PRIoFAST16): Likewise.
65883         [C99-based-standards] (PRIuFAST16): Likewise.
65884         [C99-based-standards] (PRIxFAST16): Likewise.
65885         [C99-based-standards] (PRIXFAST16): Likewise.
65886         [C99-based-standards] (SCNdFAST16): Likewise.
65887         [C99-based-standards] (SCNiFAST16): Likewise.
65888         [C99-based-standards] (SCNoFAST16): Likewise.
65889         [C99-based-standards] (SCNuFAST16): Likewise.
65890         [C99-based-standards] (SCNxFAST16): Likewise.
65891         [C99-based-standards] (PRId32): Likewise.
65892         [C99-based-standards] (PRIi32): Likewise.
65893         [C99-based-standards] (PRIo32): Likewise.
65894         [C99-based-standards] (PRIu32): Likewise.
65895         [C99-based-standards] (PRIx32): Likewise.
65896         [C99-based-standards] (PRIX32): Likewise.
65897         [C99-based-standards] (SCNd32): Likewise.
65898         [C99-based-standards] (SCNi32): Likewise.
65899         [C99-based-standards] (SCNo32): Likewise.
65900         [C99-based-standards] (SCNu32): Likewise.
65901         [C99-based-standards] (SCNx32): Likewise.
65902         [C99-based-standards] (PRIdLEAST32): Likewise.
65903         [C99-based-standards] (PRIiLEAST32): Likewise.
65904         [C99-based-standards] (PRIoLEAST32): Likewise.
65905         [C99-based-standards] (PRIuLEAST32): Likewise.
65906         [C99-based-standards] (PRIxLEAST32): Likewise.
65907         [C99-based-standards] (PRIXLEAST32): Likewise.
65908         [C99-based-standards] (SCNdLEAST32): Likewise.
65909         [C99-based-standards] (SCNiLEAST32): Likewise.
65910         [C99-based-standards] (SCNoLEAST32): Likewise.
65911         [C99-based-standards] (SCNuLEAST32): Likewise.
65912         [C99-based-standards] (SCNxLEAST32): Likewise.
65913         [C99-based-standards] (PRIdFAST32): Likewise.
65914         [C99-based-standards] (PRIiFAST32): Likewise.
65915         [C99-based-standards] (PRIoFAST32): Likewise.
65916         [C99-based-standards] (PRIuFAST32): Likewise.
65917         [C99-based-standards] (PRIxFAST32): Likewise.
65918         [C99-based-standards] (PRIXFAST32): Likewise.
65919         [C99-based-standards] (SCNdFAST32): Likewise.
65920         [C99-based-standards] (SCNiFAST32): Likewise.
65921         [C99-based-standards] (SCNoFAST32): Likewise.
65922         [C99-based-standards] (SCNuFAST32): Likewise.
65923         [C99-based-standards] (SCNxFAST32): Likewise.
65924         [C99-based-standards] (PRId64): Likewise.
65925         [C99-based-standards] (PRIi64): Likewise.
65926         [C99-based-standards] (PRIo64): Likewise.
65927         [C99-based-standards] (PRIu64): Likewise.
65928         [C99-based-standards] (PRIx64): Likewise.
65929         [C99-based-standards] (PRIX64): Likewise.
65930         [C99-based-standards] (SCNd64): Likewise.
65931         [C99-based-standards] (SCNi64): Likewise.
65932         [C99-based-standards] (SCNo64): Likewise.
65933         [C99-based-standards] (SCNu64): Likewise.
65934         [C99-based-standards] (SCNx64): Likewise.
65935         [C99-based-standards] (PRIdLEAST64): Likewise.
65936         [C99-based-standards] (PRIiLEAST64): Likewise.
65937         [C99-based-standards] (PRIoLEAST64): Likewise.
65938         [C99-based-standards] (PRIuLEAST64): Likewise.
65939         [C99-based-standards] (PRIxLEAST64): Likewise.
65940         [C99-based-standards] (PRIXLEAST64): Likewise.
65941         [C99-based-standards] (SCNdLEAST64): Likewise.
65942         [C99-based-standards] (SCNiLEAST64): Likewise.
65943         [C99-based-standards] (SCNoLEAST64): Likewise.
65944         [C99-based-standards] (SCNuLEAST64): Likewise.
65945         [C99-based-standards] (SCNxLEAST64): Likewise.
65946         [C99-based-standards] (PRIdFAST64): Likewise.
65947         [C99-based-standards] (PRIiFAST64): Likewise.
65948         [C99-based-standards] (PRIoFAST64): Likewise.
65949         [C99-based-standards] (PRIuFAST64): Likewise.
65950         [C99-based-standards] (PRIxFAST64): Likewise.
65951         [C99-based-standards] (PRIXFAST64): Likewise.
65952         [C99-based-standards] (SCNdFAST64): Likewise.
65953         [C99-based-standards] (SCNiFAST64): Likewise.
65954         [C99-based-standards] (SCNoFAST64): Likewise.
65955         [C99-based-standards] (SCNuFAST64): Likewise.
65956         [C99-based-standards] (SCNxFAST64): Likewise.
65957         [C99-based-standards] (PRIdMAX): Likewise.
65958         [C99-based-standards] (PRIiMAX): Likewise.
65959         [C99-based-standards] (PRIoMAX): Likewise.
65960         [C99-based-standards] (PRIuMAX): Likewise.
65961         [C99-based-standards] (PRIxMAX): Likewise.
65962         [C99-based-standards] (PRIXMAX): Likewise.
65963         [C99-based-standards] (SCNdMAX): Likewise.
65964         [C99-based-standards] (SCNiMAX): Likewise.
65965         [C99-based-standards] (SCNoMAX): Likewise.
65966         [C99-based-standards] (SCNuMAX): Likewise.
65967         [C99-based-standards] (SCNxMAX): Likewise.
65968         [C99-based-standards] (PRIdPTR): Likewise.
65969         [C99-based-standards] (PRIiPTR): Likewise.
65970         [C99-based-standards] (PRIoPTR): Likewise.
65971         [C99-based-standards] (PRIuPTR): Likewise.
65972         [C99-based-standards] (PRIxPTR): Likewise.
65973         [C99-based-standards] (PRIXPTR): Likewise.
65974         [C99-based-standards] (SCNdPTR): Likewise.
65975         [C99-based-standards] (SCNiPTR): Likewise.
65976         [C99-based-standards] (SCNoPTR): Likewise.
65977         [C99-based-standards] (SCNuPTR): Likewise.
65978         [C99-based-standards] (SCNxPTR): Likewise.
65979         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
65980         allow.
65981         * conform/data/stdint.h-data: Update comments to clarify
65982         requirements.
65983         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
65984         type.
65985         [C99-based standards] (INT8_MAX): Likewise.
65986         [C99-based standards] (INT16_MIN): Likewise.
65987         [C99-based standards] (INT16_MAX): Likewise.
65988         [C99-based standards] (INT32_MIN): Likewise.
65989         [C99-based standards] (INT32_MAX): Likewise.
65990         [C99-based standards] (INT64_MIN): Likewise.
65991         [C99-based standards] (INT64_MAX): Likewise.
65992         [C99-based standards] (UINT8_MAX): Likewise.
65993         [C99-based standards] (UINT16_MAX): Likewise.
65994         [C99-based standards] (UINT32_MAX): Likewise.
65995         [C99-based standards] (UINT64_MAX): Likewise.
65996         [C99-based standards] (INT_LEAST8_MIN): Likewise.
65997         [C99-based standards] (INT_LEAST8_MAX): Likewise.
65998         [C99-based standards] (INT_LEAST16_MIN): Likewise.
65999         [C99-based standards] (INT_LEAST16_MAX): Likewise.
66000         [C99-based standards] (INT_LEAST32_MIN): Likewise.
66001         [C99-based standards] (INT_LEAST32_MAX): Likewise.
66002         [C99-based standards] (INT_LEAST64_MIN): Likewise.
66003         [C99-based standards] (INT_LEAST64_MAX): Likewise.
66004         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
66005         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
66006         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
66007         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
66008         [C99-based standards] (INT_FAST8_MIN): Likewise.
66009         [C99-based standards] (INT_FAST8_MAX): Likewise.
66010         [C99-based standards] (INT_FAST16_MIN): Likewise.
66011         [C99-based standards] (INT_FAST16_MAX): Likewise.
66012         [C99-based standards] (INT_FAST32_MIN): Likewise.
66013         [C99-based standards] (INT_FAST32_MAX): Likewise.
66014         [C99-based standards] (INT_FAST64_MIN): Likewise.
66015         [C99-based standards] (INT_FAST64_MAX): Likewise.
66016         [C99-based standards] (UINT_FAST8_MAX): Likewise.
66017         [C99-based standards] (UINT_FAST16_MAX): Likewise.
66018         [C99-based standards] (UINT_FAST32_MAX): Likewise.
66019         [C99-based standards] (UINT_FAST64_MAX): Likewise.
66020         [C99-based standards] (INTPTR_MIN): Likewise.
66021         [C99-based standards] (INTPTR_MAX): Likewise.
66022         [C99-based standards] (UINTPTR_MAX): Likewise.
66023         [C99-based standards] (INTMAX_MIN): Likewise.
66024         [C99-based standards] (INTMAX_MAX): Likewise.
66025         [C99-based standards] (UINTMAX_MAX): Likewise.
66026         [C99-based standards] (PTRDIFF_MIN): Likewise.
66027         [C99-based standards] (PTRDIFF_MAX): Likewise.
66028         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
66029         [C99-based standards] (SIZE_MAX): Likewise.
66030         [C99-based standards] (WCHAR_MAX): Likewise.
66031         [C99-based standards] (WINT_MAX): Likewise.
66032         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
66033         constraint on value.
66034         [C99-based standards] (WCHAR_MIN): Likewise.
66035         [C99-based standards] (WINT_MIN): Likewise.
66036         [C99-based standards] (*_t): Allow.
66037         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
66038         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
66039         Include math.h-data and complex.h-data.  Remove all expectations
66040         of math.h and complex.h contents.
66041         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
66042         at end of line.
66043         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
66044         (struct tm): Expect tag.
66045         [C99-based-standards] (wcstof): Expect function.
66046         [C99-based-standards] (wcstold): Likewise.
66047         [C99-based-standards] (wcstoll): Likewise.
66048         [C99-based-standards] (wcstoull): Likewise.
66049         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
66050         macro-int-constant.  Specify type.
66051         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
66052         constraint on value.
66053         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
66054         Specify type.
66055         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
66056         Specify value.
66057         [ISO C standards]: Do not allow headers.
66058         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
66059         wcs[abcdefghijklmnopqrstuvwxyz]*.
66060         [ISO C standards] (*_t): Do not allow.
66061         * conform/data/wctype.h-data [C99-based standards] (iswblank):
66062         Expect function.
66063         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
66064         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
66065         Specify type.
66066         [ISO C standards]: Do not allow headers.
66067         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
66068         is[abcdefghijklmnopqrstuvwxyz]*.
66069         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
66070         to[abcdefghijklmnopqrstuvwxyz]*.
66071         [ISO C standards] (*_t): Do not allow.
66072         * conform/data/stdalign.h-data: New file.
66073         * conform/data/stdbool.h-data: Likewise.
66074         * conform/data/stdnoreturn.h-data: Likewise.
66076 2012-11-07  Roland McGrath  <roland@hack.frob.com>
66078         [BZ #14815]
66079         * manual/filesys.texi (Directory Entries): Typo fix.
66080         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
66082 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66084         * elf/elf.h (EM_AARCH64): New macro.
66085         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
66086         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
66087         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
66088         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
66089         (R_AARCH64_TLSDESC): Likewise.
66090         (NT_ARM_TLS): Likewise.
66091         (NT_ARM_HW_BREAK): Likewise.
66092         (NT_ARM_HW_WATCH): Likewise.
66094 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66096         [BZ #14811]
66097         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
66098         (__ieee754_powl): Saturate nonzero exponents with absolute value
66099         below 0x1p-79 to +/- 0x1p-79.
66100         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
66101         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
66102         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
66103         nonzero exponents with absolute value below 0x1p-32 to +/-
66104         0x1p-32.
66105         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
66106         (__ieee754_powl): Saturate nonzero exponents with absolute value
66107         below 0x1p-79 to +/- 0x1p-79.
66108         * math/libm-test.inc (pow_test): Add more tests.
66110 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66112         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
66113         _dl_s390_cap_flags with kernel. Increase string length.
66114         (_dl_s390_platforms): Add z196 and zEC12.
66116 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66118         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
66119         Change XOPEN21K to XOPEN2K.
66121 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
66123         * string/memmove.c: Use memcpy when possible.
66125 2012-11-06  Andreas Jaeger  <aj@suse.de>
66127         * po/eo.po: Update from translation team.
66129 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
66131         [BZ #14793]
66132         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
66133         exponent and small x and y exponents, scale x or y up.  Increase
66134         by 2 the exponent used in scaling up.
66135         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66136         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66137         * math/libm-test.inc (fma_test): Add more tests.
66138         (fma_test_towardzero): Likewise.
66139         (fma_test_downward): Likewise.
66140         (fma_test_upward): Likewise.
66142 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
66144         [BZ #14805]
66145         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
66146         fenv_t *.
66148         [BZ #14801]
66149         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
66150         namespace for names of struct fields.
66151         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
66152         fenv_t fields.
66153         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
66154         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
66156 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66158         [BZ #3665]
66159         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
66161 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
66163         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
66164         PTR_DEMANGLE.
66166         [BZ #5246]
66167         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
66168         PTR_DEMANGLE.
66170 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
66172         [BZ #14797]
66173         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
66174         definitely overflow as x * y not x * y + z.
66175         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66176         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66177         * math/libm-test.inc (fma_test): Add more tests.
66178         (fma_test_towardzero): Likewise.
66179         (fma_test_downward): Likewise.
66180         (fma_test_upward): Likewise.
66182 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
66184         [BZ #157]
66186         * include/stub-tag.h: Remove file.
66187         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
66188         '#include' of it.
66189         * manual/maint.texi (Porting): Don't reference it.
66190         * Makerules ($(objpfx)stubs): Likewise.
66191         * dirent/closedir.c: Don't include <stub-tag.h>.
66192         * dirent/dirfd.c: Likewise.
66193         * dirent/fdopendir.c: Likewise.
66194         * dirent/getdents.c: Likewise.
66195         * dirent/getdents64.c: Likewise.
66196         * dirent/opendir.c: Likewise.
66197         * dirent/readdir.c: Likewise.
66198         * dirent/readdir64.c: Likewise.
66199         * dirent/readdir64_r.c: Likewise.
66200         * dirent/readdir_r.c: Likewise.
66201         * dirent/rewinddir.c: Likewise.
66202         * dirent/seekdir.c: Likewise.
66203         * dirent/telldir.c: Likewise.
66204         * gmon/profil.c: Likewise.
66205         * grp/setgroups.c: Likewise.
66206         * inet/if_index.c: Likewise.
66207         * io/access.c: Likewise.
66208         * io/chdir.c: Likewise.
66209         * io/chmod.c: Likewise.
66210         * io/chown.c: Likewise.
66211         * io/close.c: Likewise.
66212         * io/dup.c: Likewise.
66213         * io/dup2.c: Likewise.
66214         * io/dup3.c: Likewise.
66215         * io/euidaccess.c: Likewise.
66216         * io/faccessat.c: Likewise.
66217         * io/fchdir.c: Likewise.
66218         * io/fchmod.c: Likewise.
66219         * io/fchmodat.c: Likewise.
66220         * io/fchown.c: Likewise.
66221         * io/fchownat.c: Likewise.
66222         * io/fcntl.c: Likewise.
66223         * io/flock.c: Likewise.
66224         * io/fstatfs.c: Likewise.
66225         * io/fstatfs64.c: Likewise.
66226         * io/fstatvfs.c: Likewise.
66227         * io/fstatvfs64.c: Likewise.
66228         * io/futimens.c: Likewise.
66229         * io/fxstat.c: Likewise.
66230         * io/fxstat64.c: Likewise.
66231         * io/fxstatat.c: Likewise.
66232         * io/fxstatat64.c: Likewise.
66233         * io/getcwd.c: Likewise.
66234         * io/isatty.c: Likewise.
66235         * io/lchmod.c: Likewise.
66236         * io/lchown.c: Likewise.
66237         * io/link.c: Likewise.
66238         * io/linkat.c: Likewise.
66239         * io/lseek.c: Likewise.
66240         * io/lseek64.c: Likewise.
66241         * io/lxstat64.c: Likewise.
66242         * io/mkdir.c: Likewise.
66243         * io/mkdirat.c: Likewise.
66244         * io/mkfifo.c: Likewise.
66245         * io/mkfifoat.c: Likewise.
66246         * io/open.c: Likewise.
66247         * io/open64.c: Likewise.
66248         * io/openat.c: Likewise.
66249         * io/openat64.c: Likewise.
66250         * io/pipe.c: Likewise.
66251         * io/pipe2.c: Likewise.
66252         * io/poll.c: Likewise.
66253         * io/posix_fadvise.c: Likewise.
66254         * io/posix_fadvise64.c: Likewise.
66255         * io/posix_fallocate.c: Likewise.
66256         * io/posix_fallocate64.c: Likewise.
66257         * io/read.c: Likewise.
66258         * io/readlink.c: Likewise.
66259         * io/readlinkat.c: Likewise.
66260         * io/rmdir.c: Likewise.
66261         * io/sendfile.c: Likewise.
66262         * io/sendfile64.c: Likewise.
66263         * io/statfs.c: Likewise.
66264         * io/statfs64.c: Likewise.
66265         * io/statvfs.c: Likewise.
66266         * io/statvfs64.c: Likewise.
66267         * io/symlink.c: Likewise.
66268         * io/symlinkat.c: Likewise.
66269         * io/ttyname.c: Likewise.
66270         * io/ttyname_r.c: Likewise.
66271         * io/umask.c: Likewise.
66272         * io/unlink.c: Likewise.
66273         * io/unlinkat.c: Likewise.
66274         * io/utime.c: Likewise.
66275         * io/utimensat.c: Likewise.
66276         * io/write.c: Likewise.
66277         * io/xmknod.c: Likewise.
66278         * io/xmknodat.c: Likewise.
66279         * io/xstat.c: Likewise.
66280         * io/xstat64.c: Likewise.
66281         * login/getpt.c: Likewise.
66282         * login/grantpt.c: Likewise.
66283         * login/unlockpt.c: Likewise.
66284         * math/e_acoshl.c: Likewise.
66285         * math/e_acosl.c: Likewise.
66286         * math/e_asinl.c: Likewise.
66287         * math/e_atan2l.c: Likewise.
66288         * math/e_atanhl.c: Likewise.
66289         * math/e_coshl.c: Likewise.
66290         * math/e_expl.c: Likewise.
66291         * math/e_fmodl.c: Likewise.
66292         * math/e_gammal_r.c: Likewise.
66293         * math/e_hypotl.c: Likewise.
66294         * math/e_j0l.c: Likewise.
66295         * math/e_j1l.c: Likewise.
66296         * math/e_jnl.c: Likewise.
66297         * math/e_lgammal_r.c: Likewise.
66298         * math/e_log10l.c: Likewise.
66299         * math/e_log2l.c: Likewise.
66300         * math/e_logl.c: Likewise.
66301         * math/e_powl.c: Likewise.
66302         * math/e_rem_pio2l.c: Likewise.
66303         * math/e_sinhl.c: Likewise.
66304         * math/e_sqrtl.c: Likewise.
66305         * math/fclrexcpt.c: Likewise.
66306         * math/fedisblxcpt.c: Likewise.
66307         * math/feenablxcpt.c: Likewise.
66308         * math/fegetenv.c: Likewise.
66309         * math/fegetexcept.c: Likewise.
66310         * math/fegetround.c: Likewise.
66311         * math/feholdexcpt.c: Likewise.
66312         * math/fesetenv.c: Likewise.
66313         * math/fesetround.c: Likewise.
66314         * math/feupdateenv.c: Likewise.
66315         * math/fgetexcptflg.c: Likewise.
66316         * math/fraiseexcpt.c: Likewise.
66317         * math/fsetexcptflg.c: Likewise.
66318         * math/ftestexcept.c: Likewise.
66319         * math/k_cosl.c: Likewise.
66320         * math/k_rem_pio2l.c: Likewise.
66321         * math/k_sinl.c: Likewise.
66322         * math/k_tanl.c: Likewise.
66323         * math/s_asinhl.c: Likewise.
66324         * math/s_atanl.c: Likewise.
66325         * math/s_cbrtl.c: Likewise.
66326         * math/s_erfl.c: Likewise.
66327         * math/s_expm1l.c: Likewise.
66328         * math/s_log1pl.c: Likewise.
66329         * math/s_tanhl.c: Likewise.
66330         * misc/acct.c: Likewise.
66331         * misc/brk.c: Likewise.
66332         * misc/chflags.c: Likewise.
66333         * misc/chroot.c: Likewise.
66334         * misc/fchflags.c: Likewise.
66335         * misc/fgetxattr.c: Likewise.
66336         * misc/flistxattr.c: Likewise.
66337         * misc/fremovexattr.c: Likewise.
66338         * misc/fsetxattr.c: Likewise.
66339         * misc/fsync.c: Likewise.
66340         * misc/ftruncate.c: Likewise.
66341         * misc/futimes.c: Likewise.
66342         * misc/futimesat.c: Likewise.
66343         * misc/getdomain.c: Likewise.
66344         * misc/getdtsz.c: Likewise.
66345         * misc/gethostid.c: Likewise.
66346         * misc/gethostname.c: Likewise.
66347         * misc/getloadavg.c: Likewise.
66348         * misc/getpagesize.c: Likewise.
66349         * misc/getsysstats.c: Likewise.
66350         * misc/getxattr.c: Likewise.
66351         * misc/gtty.c: Likewise.
66352         * misc/ioctl.c: Likewise.
66353         * misc/lgetxattr.c: Likewise.
66354         * misc/listxattr.c: Likewise.
66355         * misc/llistxattr.c: Likewise.
66356         * misc/lremovexattr.c: Likewise.
66357         * misc/lsetxattr.c: Likewise.
66358         * misc/lutimes.c: Likewise.
66359         * misc/madvise.c: Likewise.
66360         * misc/mincore.c: Likewise.
66361         * misc/mlock.c: Likewise.
66362         * misc/mlockall.c: Likewise.
66363         * misc/mmap.c: Likewise.
66364         * misc/mprotect.c: Likewise.
66365         * misc/msync.c: Likewise.
66366         * misc/munlock.c: Likewise.
66367         * misc/munlockall.c: Likewise.
66368         * misc/munmap.c: Likewise.
66369         * misc/preadv.c: Likewise.
66370         * misc/preadv64.c: Likewise.
66371         * misc/ptrace.c: Likewise.
66372         * misc/pwritev.c: Likewise.
66373         * misc/pwritev64.c: Likewise.
66374         * misc/readv.c: Likewise.
66375         * misc/reboot.c: Likewise.
66376         * misc/remap_file_pages.c: Likewise.
66377         * misc/removexattr.c: Likewise.
66378         * misc/revoke.c: Likewise.
66379         * misc/select.c: Likewise.
66380         * misc/setdomain.c: Likewise.
66381         * misc/setegid.c: Likewise.
66382         * misc/seteuid.c: Likewise.
66383         * misc/sethostid.c: Likewise.
66384         * misc/sethostname.c: Likewise.
66385         * misc/setregid.c: Likewise.
66386         * misc/setreuid.c: Likewise.
66387         * misc/setxattr.c: Likewise.
66388         * misc/sstk.c: Likewise.
66389         * misc/stty.c: Likewise.
66390         * misc/swapoff.c: Likewise.
66391         * misc/swapon.c: Likewise.
66392         * misc/sync.c: Likewise.
66393         * misc/syncfs.c: Likewise.
66394         * misc/syscall.c: Likewise.
66395         * misc/truncate.c: Likewise.
66396         * misc/ualarm.c: Likewise.
66397         * misc/usleep.c: Likewise.
66398         * misc/ustat.c: Likewise.
66399         * misc/utimes.c: Likewise.
66400         * misc/vhangup.c: Likewise.
66401         * misc/writev.c: Likewise.
66402         * posix/_exit.c: Likewise.
66403         * posix/alarm.c: Likewise.
66404         * posix/execve.c: Likewise.
66405         * posix/fexecve.c: Likewise.
66406         * posix/fork.c: Likewise.
66407         * posix/fpathconf.c: Likewise.
66408         * posix/getaddrinfo.c: Likewise.
66409         * posix/getegid.c: Likewise.
66410         * posix/geteuid.c: Likewise.
66411         * posix/getgid.c: Likewise.
66412         * posix/getgroups.c: Likewise.
66413         * posix/getlogin.c: Likewise.
66414         * posix/getlogin_r.c: Likewise.
66415         * posix/getpgid.c: Likewise.
66416         * posix/getpid.c: Likewise.
66417         * posix/getppid.c: Likewise.
66418         * posix/getresgid.c: Likewise.
66419         * posix/getresuid.c: Likewise.
66420         * posix/getsid.c: Likewise.
66421         * posix/getuid.c: Likewise.
66422         * posix/glob64.c: Likewise.
66423         * posix/nanosleep.c: Likewise.
66424         * posix/pathconf.c: Likewise.
66425         * posix/pause.c: Likewise.
66426         * posix/posix_madvise.c: Likewise.
66427         * posix/pread.c: Likewise.
66428         * posix/pread64.c: Likewise.
66429         * posix/pwrite.c: Likewise.
66430         * posix/pwrite64.c: Likewise.
66431         * posix/sched_getaffinity.c: Likewise.
66432         * posix/sched_getp.c: Likewise.
66433         * posix/sched_gets.c: Likewise.
66434         * posix/sched_primax.c: Likewise.
66435         * posix/sched_primin.c: Likewise.
66436         * posix/sched_rr_gi.c: Likewise.
66437         * posix/sched_setaffinity.c: Likewise.
66438         * posix/sched_setp.c: Likewise.
66439         * posix/sched_sets.c: Likewise.
66440         * posix/sched_yield.c: Likewise.
66441         * posix/setgid.c: Likewise.
66442         * posix/setlogin.c: Likewise.
66443         * posix/setpgid.c: Likewise.
66444         * posix/setresgid.c: Likewise.
66445         * posix/setresuid.c: Likewise.
66446         * posix/setsid.c: Likewise.
66447         * posix/setuid.c: Likewise.
66448         * posix/sleep.c: Likewise.
66449         * posix/spawni.c: Likewise.
66450         * posix/sysconf.c: Likewise.
66451         * posix/times.c: Likewise.
66452         * posix/wait.c: Likewise.
66453         * posix/wait3.c: Likewise.
66454         * posix/wait4.c: Likewise.
66455         * posix/waitpid.c: Likewise.
66456         * resolv/gai_sigqueue.c: Likewise.
66457         * resource/getpriority.c: Likewise.
66458         * resource/getrlimit.c: Likewise.
66459         * resource/getrusage.c: Likewise.
66460         * resource/nice.c: Likewise.
66461         * resource/setpriority.c: Likewise.
66462         * resource/setrlimit.c: Likewise.
66463         * resource/ulimit.c: Likewise.
66464         * rt/aio_cancel.c: Likewise.
66465         * rt/aio_fsync.c: Likewise.
66466         * rt/aio_read.c: Likewise.
66467         * rt/aio_sigqueue.c: Likewise.
66468         * rt/aio_suspend.c: Likewise.
66469         * rt/aio_write.c: Likewise.
66470         * rt/clock_getres.c: Likewise.
66471         * rt/clock_gettime.c: Likewise.
66472         * rt/clock_nanosleep.c: Likewise.
66473         * rt/clock_settime.c: Likewise.
66474         * rt/lio_listio.c: Likewise.
66475         * rt/mq_close.c: Likewise.
66476         * rt/mq_getattr.c: Likewise.
66477         * rt/mq_notify.c: Likewise.
66478         * rt/mq_open.c: Likewise.
66479         * rt/mq_receive.c: Likewise.
66480         * rt/mq_send.c: Likewise.
66481         * rt/mq_setattr.c: Likewise.
66482         * rt/mq_timedreceive.c: Likewise.
66483         * rt/mq_timedsend.c: Likewise.
66484         * rt/mq_unlink.c: Likewise.
66485         * rt/shm_open.c: Likewise.
66486         * rt/shm_unlink.c: Likewise.
66487         * rt/timer_create.c: Likewise.
66488         * rt/timer_delete.c: Likewise.
66489         * rt/timer_getoverr.c: Likewise.
66490         * rt/timer_gettime.c: Likewise.
66491         * rt/timer_settime.c: Likewise.
66492         * setjmp/__longjmp.c: Likewise.
66493         * setjmp/setjmp.c: Likewise.
66494         * signal/kill.c: Likewise.
66495         * signal/killpg.c: Likewise.
66496         * signal/raise.c: Likewise.
66497         * signal/sigaction.c: Likewise.
66498         * signal/sigaltstack.c: Likewise.
66499         * signal/sigblock.c: Likewise.
66500         * signal/sigignore.c: Likewise.
66501         * signal/sigintr.c: Likewise.
66502         * signal/signal.c: Likewise.
66503         * signal/sigpause.c: Likewise.
66504         * signal/sigpending.c: Likewise.
66505         * signal/sigqueue.c: Likewise.
66506         * signal/sigreturn.c: Likewise.
66507         * signal/sigset.c: Likewise.
66508         * signal/sigsetmask.c: Likewise.
66509         * signal/sigstack.c: Likewise.
66510         * signal/sigsuspend.c: Likewise.
66511         * signal/sigtimedwait.c: Likewise.
66512         * signal/sigvec.c: Likewise.
66513         * signal/sigwait.c: Likewise.
66514         * signal/sigwaitinfo.c: Likewise.
66515         * signal/sysv_signal.c: Likewise.
66516         * socket/accept.c: Likewise.
66517         * socket/accept4.c: Likewise.
66518         * socket/bind.c: Likewise.
66519         * socket/connect.c: Likewise.
66520         * socket/getpeername.c: Likewise.
66521         * socket/getsockname.c: Likewise.
66522         * socket/getsockopt.c: Likewise.
66523         * socket/isfdtype.c: Likewise.
66524         * socket/listen.c: Likewise.
66525         * socket/recv.c: Likewise.
66526         * socket/recvfrom.c: Likewise.
66527         * socket/recvmsg.c: Likewise.
66528         * socket/send.c: Likewise.
66529         * socket/sendmsg.c: Likewise.
66530         * socket/sendto.c: Likewise.
66531         * socket/setsockopt.c: Likewise.
66532         * socket/shutdown.c: Likewise.
66533         * socket/sockatmark.c: Likewise.
66534         * socket/socket.c: Likewise.
66535         * socket/socketpair.c: Likewise.
66536         * stdio-common/ctermid.c: Likewise.
66537         * stdio-common/cuserid.c: Likewise.
66538         * stdio-common/remove.c: Likewise.
66539         * stdio-common/rename.c: Likewise.
66540         * stdio-common/renameat.c: Likewise.
66541         * stdio-common/tempname.c: Likewise.
66542         * stdlib/getcontext.c: Likewise.
66543         * stdlib/makecontext.c: Likewise.
66544         * stdlib/setcontext.c: Likewise.
66545         * stdlib/swapcontext.c: Likewise.
66546         * stdlib/system.c: Likewise.
66547         * streams/fattach.c: Likewise.
66548         * streams/fdetach.c: Likewise.
66549         * streams/getmsg.c: Likewise.
66550         * streams/getpmsg.c: Likewise.
66551         * streams/putmsg.c: Likewise.
66552         * streams/putpmsg.c: Likewise.
66553         * sysdeps/unix/bsd/getpt.c: Likewise.
66554         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
66555         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
66556         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
66557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
66558         Likewise.
66559         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
66560         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
66561         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
66562         * sysvipc/msgctl.c: Likewise.
66563         * sysvipc/msgget.c: Likewise.
66564         * sysvipc/msgrcv.c: Likewise.
66565         * sysvipc/msgsnd.c: Likewise.
66566         * sysvipc/semctl.c: Likewise.
66567         * sysvipc/semget.c: Likewise.
66568         * sysvipc/semop.c: Likewise.
66569         * sysvipc/semtimedop.c: Likewise.
66570         * sysvipc/shmat.c: Likewise.
66571         * sysvipc/shmctl.c: Likewise.
66572         * sysvipc/shmdt.c: Likewise.
66573         * sysvipc/shmget.c: Likewise.
66574         * termios/tcdrain.c: Likewise.
66575         * termios/tcflow.c: Likewise.
66576         * termios/tcflush.c: Likewise.
66577         * termios/tcgetattr.c: Likewise.
66578         * termios/tcgetpgrp.c: Likewise.
66579         * termios/tcsendbrk.c: Likewise.
66580         * termios/tcsetattr.c: Likewise.
66581         * termios/tcsetpgrp.c: Likewise.
66582         * time/adjtime.c: Likewise.
66583         * time/clock.c: Likewise.
66584         * time/getitimer.c: Likewise.
66585         * time/gettimeofday.c: Likewise.
66586         * time/setitimer.c: Likewise.
66587         * time/settimeofday.c: Likewise.
66588         * time/stime.c: Likewise.
66589         * time/time.c: Likewise.
66591 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
66593         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
66594         /usr/old/bin.
66596         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
66597         instead of spaces.
66598         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
66600 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
66602         [BZ #14796]
66603         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
66604         FE_TONEAREST before applying Dekker multiplication and Knuth
66605         addition.  Clear inexact exceptions and check for exact zero
66606         results afterwards.
66607         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66608         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
66609         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66610         * math/libm-test.inc (fma_test): Add more tests.
66611         (fma_test_towardzero): Likewise.
66612         (fma_test_downward): Likewise.
66613         (fma_test_upward): Likewise.
66614         * sysdeps/generic/math_private.h (default_libc_fesetround): New
66615         function.
66616         (libc_fesetround): New macro.
66617         (libc_fesetroundf): Likewise.
66618         (libc_fesetroundl): Likewise.
66619         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
66620         function.
66621         (libc_fesetround_387): Likewise.
66622         (libc_fesetroundf): New macro.
66623         (libc_fesetround): Likewise.
66624         (libc_fesetroundl): Likewise.
66625         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
66626         function.
66627         (libc_fesetroundf): New macro.
66628         (libc_fesetround): Likewise.
66629         (libc_fesetroundl): Likewise.
66630         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
66631         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
66632         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
66633         libm_hidden_ver.
66634         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
66635         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
66636         libm_hidden_def.
66637         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
66638         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
66639         libm_hidden_ver.
66640         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
66641         libm_hidden_def.
66643         [BZ #3439]
66644         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
66645         integer constant usable in #if and use that to give value to enum
66646         constant.
66647         (FE_DIVBYZERO): Likewise.
66648         (FE_UNDERFLOW): Likewise.
66649         (FE_OVERFLOW): Likewise.
66650         (FE_INVALID): Likewise.
66651         (FE_INVALID_SNAN): Likewise.
66652         (FE_INVALID_ISI): Likewise.
66653         (FE_INVALID_IDI): Likewise.
66654         (FE_INVALID_ZDZ): Likewise.
66655         (FE_INVALID_IMZ): Likewise.
66656         (FE_INVALID_COMPARE): Likewise.
66657         (FE_INVALID_SOFTWARE): Likewise.
66658         (FE_INVALID_SQRT): Likewise.
66659         (FE_INVALID_INTEGER_CONVERSION): Likewise.
66660         (FE_TONEAREST): Likewise.
66661         (FE_TOWARDZERO): Likewise.
66662         (FE_UPWARD): Likewise.
66663         (FE_DOWNWARD): Likewise.
66664         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
66665         (FE_DIVBYZERO): Likewise.
66666         (FE_OVERFLOW): Likewise.
66667         (FE_UNDERFLOW): Likewise.
66668         (FE_INEXACT): Likewise.
66669         (FE_TONEAREST): Likewise.
66670         (FE_DOWNWARD): Likewise.
66671         (FE_UPWARD): Likewise.
66672         (FE_TOWARDZERO): Likewise.
66673         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
66674         (FE_UNDERFLOW): Likewise.
66675         (FE_OVERFLOW): Likewise.
66676         (FE_DIVBYZERO): Likewise.
66677         (FE_INVALID): Likewise.
66678         (FE_TONEAREST): Likewise.
66679         (FE_TOWARDZERO): Likewise.
66680         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
66681         (FE_OVERFLOW): Likewise.
66682         (FE_UNDERFLOW): Likewise.
66683         (FE_DIVBYZERO): Likewise.
66684         (FE_INEXACT): Likewise.
66685         (FE_TONEAREST): Likewise.
66686         (FE_TOWARDZERO): Likewise.
66687         (FE_UPWARD): Likewise.
66688         (FE_DOWNWARD): Likewise.
66689         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
66690         (FE_DIVBYZERO): Likewise.
66691         (FE_OVERFLOW): Likewise.
66692         (FE_UNDERFLOW): Likewise.
66693         (FE_INEXACT): Likewise.
66694         (FE_TONEAREST): Likewise.
66695         (FE_DOWNWARD): Likewise.
66696         (FE_UPWARD): Likewise.
66697         (FE_TOWARDZERO): Likewise.
66699 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
66701         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
66703 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
66705         * scripts/cross-test-ssh.sh (command): Use newlines to separate
66706         commands.  Quote $PWD.
66707         (blacklist_exports): Don't use remove_newlines.  Replace "declare
66708         -x" by "export".
66709         (remove_newlines): Remove.
66711 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
66713         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
66714         * stdlib/stdlib.h (atof): Moved to ...
66715         * include/bits/stdlib-float.h: Here.  New file.
66716         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
66717         * stdlib/bits/stdlib-float.h: New file.
66718         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
66719         -mno-sse -mno-mmx.
66720         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
66721         <xmmintrin.h>.
66723 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
66725         * conform/conformtest.pl (@headers): Add fenv.h.
66726         * conform/data/fenv.h-data: New file.
66727         * include/fenv.h [_ISOMAC]: Disable all contents of file except
66728         include of <math/fenv.h>.
66730         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
66731         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
66732         && !UNIX98].  Enables tests for XOPEN2K8.
66733         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
66734         POSIX2008]: Likewise.
66736         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
66737         (struct rusage): Do not expect type or its members.
66739         [BZ #3439]
66740         * math/math.h (FP_NAN): Define macro to integer constant usable in
66741         #if and use that to give value to enum constant.
66742         (FP_INFINITE): Likewise.
66743         (FP_ZERO): Likewise.
66744         (FP_SUBNORMAL): Likewise.
66745         (FP_NORMAL): Likewise.
66747 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
66749         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
66750         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
66751         arguments.
66753 2012-11-02  Roland McGrath  <roland@hack.frob.com>
66755         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
66756         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
66757         autoconf-time if not.
66758         * configure.in: Remove AC_PREREQ.
66760 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66762         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
66763         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
66764         of the internal implementation.
66766 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
66768         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
66769         except include of <misc/sys/syslog.h>.
66771 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
66773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
66774         function returns with a NULL context exit with zero.
66776 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66778         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
66780 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
66782         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
66783         (run_program_cmd): This.
66784         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
66785         (tst_langinfo): New variable.  Use it.
66787 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
66789         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
66790         floating point opcodes.
66792 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
66794         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
66795         variable.
66797         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
66799         * sysdeps/mach/hurd/powerpc: Remove directory.
66800         * sysdeps/mach/powerpc: Likewise.
66802 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
66804         * scripts/check-local-headers.sh: Ignore c++ headers.
66806 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
66808         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
66809         __libc_cleanup_region_start argument.
66811 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
66813         [BZ #14784]
66814         [BZ #14785]
66815         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
66816         x * y using scaling, not as x * y + z.
66817         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66818         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66819         * math/libm-test.inc (fma_test): Add more tests.
66820         (fma_test_towardzero): Likewise.
66821         (fma_test_downward): Likewise.
66822         (fma_test_upward): Likewise.
66824 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
66826         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
66828 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
66830         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
66831         New variable.
66833 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
66835         * rt/tst-shm.c (worker): Correct checking for mmap failure.
66837 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
66839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66840         Fix sort order.
66841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66842         Likewise.
66844 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66847         Fix the order of the list for glibc 2.17.
66848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66849         Likewise.
66851 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
66853         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66855 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
66857         [BZ #14610]
66858         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
66859         for low part of x being zero before using __atanl (y).
66860         * math/libm-test.inc (atan2_test): Add another test.
66862         * manual/install.texi (Configuring and compiling): Document
66863         general use of test-wrapper and test-wrapper-env.
66864         * INSTALL: Regenerated.
66866         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
66867         (__fma): Do not extract and scale down low bits on after-rounding
66868         systems when result rounded to normal precision would have normal
66869         exponent.
66870         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
66871         (__fmal): Do not extract and scale down low bits on after-rounding
66872         systems when result rounded to normal precision would have normal
66873         exponent.
66874         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
66875         (__fmal): Do not extract and scale down low bits on after-rounding
66876         systems when result rounded to normal precision would have normal
66877         exponent.
66878         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
66879         macro.
66880         (fma_test): Add more tests.
66881         (fma_test_towardzero): Likewise.
66882         (fma_test_downward): Likewise.
66883         (fma_test_upward): Likewise.
66885 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
66887         * sysdeps/i386/tininess.h: Renamed to ...
66888         * sysdeps/x86/tininess.h: This.
66889         * sysdeps/x86_64/tininess.h: Removed.
66891 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
66893         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
66894         input.  Use $(build-program-cmd).
66895         ($(objpfx)tst-array1-static.out): Likewise.
66896         ($(objpfx)tst-array2.out): Likewise.
66897         ($(objpfx)tst-array3.out): Likewise.
66898         ($(objpfx)tst-array4.out): Likewise.
66899         ($(objpfx)tst-array5.out): Likewise.
66900         ($(objpfx)tst-array5-static.out): Likewise.
66902 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
66904         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
66905         if defined.
66907         * nss/nsswitch.h (nss_interface_function): Provide new
66908         macro for use with NSS functions.
66909         * grp/initgroups.c: Use new macro.
66910         * nss/getXXbyYY.c: Likewise.
66911         * nss/getXXbyYY_r.c: Likewise.
66912         * nss/getXXent.c: Likewise.
66913         * nss/getXXent_r.c: Likewise.
66914         * sysdeps/posix/getaddrinfo.c: Likewise.
66916 2012-10-30  Andreas Jaeger  <aj@suse.de>
66918         * po/ru.po: Update Russion translation from translation project.
66920 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
66922         [BZ #14152]
66923         [BZ #14783]
66924         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
66925         result and shift together with sticky bit instead of replicating
66926         round-to-nearest rounding.
66927         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66928         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66929         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
66930         missing underflow exceptions.
66931         (fma_test_towardzero): Add more tests.
66932         (fma_test_downward): Likewise.
66933         (fma_test_upward): Likewise.
66935         [BZ #14047]
66936         * sysdeps/generic/tininess.h: New file.
66937         * sysdeps/i386/tininess.h: Likewise.
66938         * sysdeps/sh/tininess.h: Likewise.
66939         * sysdeps/x86_64/tininess.h: Likewise.
66940         * stdlib/tst-strtod-underflow.c: Likewise.
66941         * stdlib/tst-tininess.c: Likewise.
66942         * stdlib/strtod_l.c: Include <tininess.h>.
66943         (round_and_return): Do not set errno for exact underflow cases.
66944         Force an underflow exception when setting errno for underflow.
66945         Determine underflow based on rounding to normal precision if
66946         TININESS_AFTER_ROUNDING.
66947         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
66948         ERANGE for exact underflow cases.
66949         * stdlib/Makefile (tests): Add tst-tininess and
66950         tst-strtod-underflow.
66951         ($(objpfx)tst-tininess): Use $(link-libm).
66952         ($(objpfx)tst-strtod-underflow): Likewise.
66954 2012-10-30  Andreas Jaeger  <aj@suse.de>
66956         [BZ#14767]
66957         * elf/Makefile (tests): Remove conditional for have-initfini-array
66958         since this is now always required and the variable does not exist
66959         anymore.
66960         (tests-static): Likewise.
66961         (modules-names): Likewise.
66963         * po/eo.po: Add Esperanto translation from translation project.
66965         * elf/tst-array1.c (fini_array): Make writeable so that it can be
66966         merged with constructor/destructor.
66967         (init_array): Likewise.
66968         * elf/tst-array2dep.c (fini_array): Likewise.
66969         (init_array): Likewise.
66971 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
66973         * manual/message.texi: Delete @cartouche tags.
66975 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
66977         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
66978         EOPNOTSUPP.
66979         * sysdeps/mach/hurd/fsync.c: Likewise.
66981         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
66982         [_POSIX_REALTIME_SIGNALS]: Change condition to
66983         [_POSIX_REALTIME_SIGNALS > 0].
66985 2012-10-27  Andreas Jaeger  <aj@suse.de>
66987         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
66988         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
66989         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
66990         [__WORDSIZE != 64]: Likewise.
66992 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
66994         *  iconvdata/tst-table.sh: Remove ${SHELL}.
66995         *  iconvdata/tst-tables.sh: Likewise.
66997 2012-10-25  David S. Miller  <davem@davemloft.net>
66999         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67000         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
67001         of strtoull.
67003         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
67004         ifunc-impl-list.c
67005         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67006         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
67007         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
67008         file.
67010 2012-10-25  Roland McGrath  <roland@hack.frob.com>
67012         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67013         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
67014         __getdirentries.
67016 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
67017             Jim Blandy  <jimb@codesourcery.com>
67019         * scripts/cross-test-ssh.sh: New file.
67020         * manual/install.texi (Configuring and compiling): Document use of
67021         cross-test-ssh.sh.
67022         * INSTALL: Regenerated.
67024 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
67026         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
67027         EOPNOTSUPP.
67029 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
67031         * Makeconfig (run-program-prefix): Fix comment.
67033 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
67034             Jim Blandy  <jimb@codesourcery.com>
67036         * Makeconfig (test-wrapper): New variable,
67037         (test-wrapper-env): Likewise.
67038         [$(cross-compiling) = yes && $(test-wrapper) != ""]
67039         (run-built-tests): Define to yes.
67040         (run-program-prefix): Use $(test-wrapper).
67041         (built-program-cmd): Likewise.
67042         * Rules (make-test-out): Use $(test-wrapper-env) and
67043         $(host-built-program-cmd).
67044         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
67045         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
67046         tst-pathopt.sh.
67047         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
67048         $(test-wrapper-env) to tst-rtld-load-self.sh.
67049         ($(objpfx)order2.out): Use $(test-wrapper).
67050         ($(objpfx)tst-initorder.out): Likewise.
67051         ($(objpfx)tst-initorder2.out): Likewise.
67052         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
67053         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
67054         (test_wrapper_env): New variable.  Use it to run ld.so.
67055         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
67056         Use it to run ld.so.
67057         (test_wrapper_env): Likewise.
67058         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
67059         $(test-wrapper) to run-iconv-test.sh.
67060         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
67061         (ICONV): Use $test_wrapper.
67062         * posix/Makefile ($(objpfx)globtest.out): Pass
67063         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
67064         globtest.sh, not $(run-program-prefix).
67065         * posix/globtest.sh (run_via_rtld_prefix): New variable.
67066         (test_wrapper): Likewise.
67067         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
67068         set together with run_via_rtld_prefix.
67069         (run_program_prefix): Define in terms of test_wrapper and
67070         run_via_rtld_prefix.
67072 2012-10-24  Roland McGrath  <roland@hack.frob.com>
67074         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
67075         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
67076         Targets removed.
67078         [BZ #14743]
67079         * include/time.h: Remove librt_hidden_proto (clock_gettime).
67080         Declare __clock_getres, __clock_gettime, __clock_settime,
67081         __clock_nanosleep, and __clock_getcpuclockid.
67082         * rt/clock_gettime.c: Define __clock_gettime as an alias.
67083         Remove librt_hidden_def (clock_gettime).
67084         * sysdeps/unix/clock_gettime.c: Likewise.
67085         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
67086         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
67087         * rt/clock_getres.c: Define __clock_getres as an alias.
67088         * sysdeps/posix/clock_getres.c: Likewise.
67089         * rt/clock_settime.c: Define __clock_settime as an alias.
67090         * sysdeps/unix/clock_settime.c: Likewise.
67091         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
67092         * sysdeps/unix/clock_nanosleep.c: Likewise.
67093         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
67094         * rt/clock-compat.c: New file.
67095         * rt/Makefile (librt-routines): Add clock-compat and move
67096         $(clock-routines) to ...
67097         (routines): ... here, new variable.
67098         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
67099         Don't add get_clockfreq here.
67100         * rt/Versions (libc: GLIBC_2.17): New version set.
67101         Add clock_* symbols here.
67102         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
67103         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
67104         (GLIBC_2.17): Add clock_* symbols.
67105         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
67106         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
67107         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
67108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67109         Likewise.
67110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67111         Likewise.
67112         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
67113         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
67114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
67115         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
67116         * NEWS: Mention the move.
67118         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
67119         Use __open, __read, __close rather than their public counterparts.
67120         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67121         (__get_clockfreq_via_cpuinfo): Likewise.
67122         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
67123         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
67125         * config.h.in (HAVE_IFUNC): New #undef.
67126         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
67127         was successful.
67128         * configure: Regenerated.
67130 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
67132         * configure.in: Move READELF check to start of file.
67133         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
67134         libc_cv_asm_gnu_indirect_function in the process.
67135         * configure: Regenerated.
67137 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
67139         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
67140         send the output to /dev/null.
67141         (libc_cv_cc_with_libunwind): Likewise.
67142         (libc_cv_as_noexecstack): Likewise.
67143         * configure: Regenerate.
67145 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
67147         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
67149         * posix/globtest.sh (TMPDIR): Do not set.
67150         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
67151         (testout): Likewise.
67153 2012-10-24  Andreas Jaeger  <aj@suse.de>
67155         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
67156         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
67157         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
67158         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
67159         posix_fadvise64, posix_fallocate64.
67161         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
67162         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
67163         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
67164         Likewise.
67165         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
67166         Likewise.
67167         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
67169         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
67170         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
67171         <bits/fcntl-linux.h>.
67172         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
67174         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
67175         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
67176         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
67177         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
67178         [__WORDSIZE != 64]: Likewise.
67180 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
67182         * Makeconfig (run-built-tests): New variable.
67183         * Rules [$(cross-compiling) = yes]: Change condition to
67184         [$(run-built-tests) = no].
67185         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
67186         to [$(run-built-tests) = yes].
67187         * elf/Makefile [$(cross-compiling) = no]: Likewise.
67188         * grp/Makefile [$(cross-compiling) = no]: Likewise.
67189         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
67190         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
67191         * intl/Makefile [$(cross-compiling) = no]: Likewise.
67192         * io/Makefile [$(cross-compiling) = no]: Likewise.
67193         * libio/Makefile [$(cross-compiling) = no]: Likewise.
67194         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
67195         * misc/Makefile [$(cross-compiling) = no]: Likewise.
67196         * posix/Makefile [$(cross-compiling) = no]: Likewise.
67197         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
67198         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
67199         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
67200         * string/Makefile [$(cross-compiling) = no]: Likewise.
67202         * posix/Makefile ($(objpfx)globtest.out): Pass
67203         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
67204         $(rtld-installed-name).
67205         * posix/globtest.sh (elf_objpfx): Remove variable.
67206         (rtld_installed_name): Likewise.
67207         (library_path): Likewise.
67208         (run_program_prefix): New variable.  Use for running globtest
67209         binary.
67211 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
67212             Joseph Myers  <joseph@codesourcery.com>
67214         * Makeconfig (host-built-program-cmd): New variable.
67215         * elf/Makefile (tst-stackguard1-ARGS): Use
67216         $(host-built-program-cmd).
67217         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
67218         (tst-spawn-ARGS): Likewise.
67219         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
67221 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
67222             Jim Blandy  <jimb@codesourcery.com>
67224         * Makeconfig (run-via-rtld-prefix): New variable.
67225         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
67226         (built-program-cmd): Likewise.
67228 2012-10-22  Andreas Jaeger  <aj@suse.de>
67230         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
67231         __O_RSYNC if it exists, otherwise to O_SYNC.
67233 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
67234             Joseph Myers  <joseph@codesourcery.com>
67236         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
67237         /dev/null.
67238         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
67239         from /dev/null
67240         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
67241         /dev/null.
67243 2012-10-22  Andreas Jaeger  <aj@suse.de>
67245         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
67246         Define always.
67247         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
67249         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67250         bits/fcntl-linux.h.
67252         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
67253         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
67255         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
67256         to __O_LARGEFILE.
67257         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
67258         to __O_LARGEFILE.
67260 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
67261             Joseph Myers  <joseph@codesourcery.com>
67263         * config.make.in (NM): New variable.
67265 2012-10-21  Andreas Jaeger  <aj@suse.de>
67267         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
67268         definitions and declarations that are provided by
67269         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
67271 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
67273         [BZ #14683]
67274         * elf/Makefile (tests-static): Add tst-leaks1-static.
67275         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
67276         ($(objpfx)tst-leaks1-static): New rule.
67277         ($(objpfx)tst-leaks1-static-mem): Likewise.
67278         (tst-leaks1-static-ENV): New macro.
67279         * elf/dl-open.c (dl_open_worker): Check the main application
67280         only if SHARED is defined.
67281         * elf/tst-leaks1-static.c: New file.
67283 2012-10-20  Andreas Jaeger  <aj@suse.de>
67285         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
67286         generic values for Linux.
67287         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
67288         and declarations that are provided by <bits/fcntl-linux.h> and
67289         include <bits/fcntl-linux.h>.
67290         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
67291         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
67293 2012-10-20  Roland McGrath  <roland@hack.frob.com>
67295         * io/fcntl.h: Move include of <bits/types.h> to the top and
67296         include it unconditionally.
67298 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
67300         * wcsmbs/Makefile (tests-ifunc): New variable.
67301         (tests): Add $(tests-ifunc).
67302         * wcsmbs/test-wcschr-ifunc.c: New file.
67303         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
67304         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
67305         * wcsmbs/test-wcslen-ifunc.c: Likewise.
67306         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
67307         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
67309         * string/Makefile (tests-ifunc): New variable.
67310         (tests): Add $(tests-ifunc).
67311         * string/test-memccpy.c (TEST_NAME): New macro.
67312         * string/test-memchr.c (TEST_NAME): Likewise.
67313         * string/test-memcmp.c (TEST_NAME): Likewise.
67314         * string/test-memcpy.c (TEST_NAME): Likewise.
67315         * string/test-memmem.c (TEST_NAME): Likewise.
67316         * string/test-memmove.c (TEST_NAME): Likewise.
67317         * string/test-memset.c (TEST_NAME): Likewise.
67318         * string/test-rawmemchr.c (TEST_NAME): Likewise.
67319         * string/test-stpcpy.c (TEST_NAME): Likewise.
67320         * string/test-stpncpy.c (TEST_NAME): Likewise.
67321         * string/test-strcasecmp.c (TEST_NAME): Likewise.
67322         * string/test-strcasestr.c (TEST_NAME): Likewise.
67323         * string/test-strcat.c (TEST_NAME): Likewise.
67324         * string/test-strchr.c (TEST_NAME): Likewise.
67325         * string/test-strcmp.c(TEST_NAME): Likewise.
67326         * string/test-strcpy.c (TEST_NAME): Likewise.
67327         * string/test-strcspn.c (TEST_NAME): Likewise.
67328         * string/test-strlen.c (TEST_NAME): Likewise.
67329         * string/test-strncasecmp.c (TEST_NAME): Likewise.
67330         * string/test-strncmp.c (TEST_NAME): Likewise.
67331         * string/test-strncpy.c (TEST_NAME): Likewise.
67332         * string/test-strnlen.c (TEST_NAME): Likewise.
67333         * string/test-strpbrk.c (TEST_NAME): Likewise.
67334         * string/test-strrchr.c (TEST_NAME): Likewise.
67335         * string/test-strspn.c (TEST_NAME): Likewise.
67336         * string/test-strstr.c (TEST_NAME): Likewise.
67337         * string/test-bcopy-ifunc.c: New file.
67338         * string/test-bzero-ifunc.c: Likewise.
67339         * string/test-memccpy-ifunc.c: Likewise.
67340         * string/test-memchr-ifunc.c: Likewise.
67341         * string/test-memcmp-ifunc.c: Likewise.
67342         * string/test-memcpy-ifunc.c: Likewise.
67343         * string/test-memmem-ifunc.c: Likewise.
67344         * string/test-memmove-ifunc.c: Likewise.
67345         * string/test-mempcpy-ifunc.c: Likewise.
67346         * string/test-memset-ifunc.c: Likewise.
67347         * string/test-rawmemchr-ifunc.c: Likewise.
67348         * string/test-stpcpy-ifunc.c: Likewise.
67349         * string/test-stpncpy-ifunc.c: Likewise.
67350         * string/test-strcasecmp-ifunc.c: Likewise.
67351         * string/test-strcasestr-ifunc.c: Likewise.
67352         * string/test-strcat-ifunc.c: Likewise.
67353         * string/test-strchr-ifunc.c: Likewise.
67354         * string/test-strchrnul-ifunc.c: Likewise.
67355         * string/test-strcmp-ifunc.c: Likewise.
67356         * string/test-strcpy-ifunc.c: Likewise.
67357         * string/test-strcspn-ifunc.c: Likewise.
67358         * string/test-strlen-ifunc.c: Likewise.
67359         * string/test-strncasecmp-ifunc.c: Likewise.
67360         * string/test-strncat-ifunc.c: Likewise.
67361         * string/test-strncmp-ifunc.c: Likewise.
67362         * string/test-strncpy-ifunc.c: Likewise.
67363         * string/test-strnlen-ifunc.c: Likewise.
67364         * string/test-strpbrk-ifunc.c: Likewise.
67365         * string/test-strrchr-ifunc.c: Likewise.
67366         * string/test-strspn-ifunc.c: Likewise.
67367         * string/test-strstr-ifunc.c: Likewise.
67369         * debug/Makefile (tests-ifunc): New variable.
67370         (tests): Add $(tests-ifunc).
67371         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
67372         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
67373         * debug/test-stpcpy_chk-ifunc.c: New file.
67374         * debug/test-strcpy_chk-ifunc.c: Likewise.
67376 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
67378         [BZ #13601]
67379         * elf/dl-load.c (open_verify): Retry read if the entire ELF
67380         header is not read in.
67382 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
67384         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
67385         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
67386         directly.  Pass built executable to script as
67387         $(built-program-cmd).
67388         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
67389         $testprogram without using LD_LIBRARY_PATH and $ldso.
67391         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
67392         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
67393         $(rtld-installed-name).
67394         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
67395         (rtld_installed_name): Likewise.
67396         (library_path): Likewise.
67397         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
67398         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
67399         $(run-program-prefix) to tst-tables.sh.
67400         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
67401         it to run tst-table-from and tst-table-to.
67402         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
67403         Pass it to tst-table.sh.
67404         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
67405         $(run-program-prefix) to tst-gettext.sh.
67406         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
67407         tst-translit.sh.
67408         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
67409         tst-gettext2.sh.
67410         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
67411         to run tst-gettext.
67412         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
67413         to run tst-gettext2.
67414         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
67415         to run tst-translit.
67416         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
67417         $(run-program-prefix) to tst-mtrace.sh.
67418         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
67419         to run tst-mtrace.
67420         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
67421         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
67422         $(rtld-installed-name).
67423         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
67424         (rtld_installed_name): Likewise.
67425         (run_program_prefix): New variable.  Use it to run wordexp-test.
67427         * Makeconfig (ARCH): Remove all definitions.
67428         (machine): Likewise.
67429         [ARCH]: Remove conditional code.
67430         [!objdir]: Give error.
67431         [!objdir] (objpfx): Remove.
67432         [!objdir] (common-objpfx): Likewise.
67433         [!objdir] (common-objdir): Likewise.
67434         * configure.in (config_makefile): Remove.  Hardcode Makefile in
67435         AC_CONFIG_FILES call.
67436         * configure: Regenerated.
67438         [BZ #13888]
67439         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
67440         or TMPDIR.
67441         (testout): Likewise.
67443         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
67444         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
67445         $(rtld-installed-name).
67446         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
67447         (rtld_installed_name): Likewise.
67448         (runit): Remove function.
67449         (run_getconf): New variable,  Use it for running getconf binary.
67451 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
67453         [BZ #14716]
67454         * string/test-memmem.c (check_result): New function.
67455         (do_one_test): Use it.
67456         (check1): New function.
67457         (test_main): Use it.
67459 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
67461         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
67463 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
67465         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
67466         (_G_LSEEK64): Likewise.
67467         (_G_MMAP64): Likewise.
67468         (_G_FSTAT64): Likewise.
67469         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
67470         (_G_LSEEK64): Likewise.
67471         (_G_MMAP64): Likewise.
67472         (_G_FSTAT64): Likewise.
67473         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
67474         unconditional.  Call __mmap64 directly.
67475         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
67476         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
67477         __lseek64 directly.
67478         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
67479         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
67480         __mmap64 directly.
67481         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
67482         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
67483         __lseek64 directly.
67484         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
67485         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
67486         __lseek64 directly.
67487         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
67488         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
67489         __lseek64 directly.
67490         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
67491         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
67492         __fxstat64 directly.
67493         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
67494         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
67495         unconditional.
67496         (freopen64) [!_G_OPEN64]: Remove conditional code.
67497         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
67498         unconditional.
67499         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
67500         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
67501         unconditional.
67502         (ftello64) [!_G_LSEEK64]: Remove conditional code.
67503         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
67504         unconditional.
67505         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
67506         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
67507         unconditional.
67508         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
67509         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
67510         unconditional.
67511         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
67512         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
67513         unconditional.
67514         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
67515         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
67516         unconditional.
67517         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
67519 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
67521         [BZ #12140]
67522         * manual/memory.texi (Malloc Tunable Parameters): Add note
67523         about free list pointers overwriting some perturb bytes.
67524         Wording suggested by Roland McGrath.
67526 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
67528         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
67529         (lgamma_test): Likewise.
67530         (tgamma_test): Likewise.
67532 2012-10-16  Florian Weimer  <fweimer@redhat.com>
67534         [BZ #14700]
67535         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
67536         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
67538 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
67540         * NEWS: Mention BZ #14716.
67541         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
67542         when removing AVAILABLE1_USES_J macro.
67544 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
67546         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
67547         (__bswap_64): __uint64_t for unsigned 64-bit int.
67549 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
67551         * include/string.h (memmem): Declare libc hidden alias.
67552         * string/memmem.c (memmem): Define libc hidden alias.
67553         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
67554         __read, __close instead of open, read, close.
67556 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
67558         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
67559         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
67560         global and hidden.
67561         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
67562         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
67563         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
67564         Likewise.
67565         (__rawmemchr_sse2): Likewise.
67566         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
67567         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
67568         (__strchr_sse2): Likewise.
67569         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
67570         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
67571         (__strcasecmp_sse2): Likewise.
67572         (__strncasecmp_sse2): Likewise.
67573         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
67574         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
67575         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
67576         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
67577         (__strrchr_sse2): Likewise.
67578         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
67579         ifunc-impl-list.c.
67580         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
67581         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
67582         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
67583         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
67584         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
67585         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
67586         * sysdeps/x86_64/multiarch/memset.S: Likewise.
67587         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
67588         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
67589         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
67590         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
67591         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
67592         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
67593         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
67594         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
67595         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
67596         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
67597         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
67598         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
67599         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
67600         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
67601         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
67602         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
67603         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
67604         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
67605         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
67606         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
67607         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
67608         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
67609         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
67611         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
67612         global and hidden.
67613         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
67614         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
67615         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
67616         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
67617         Likewise.
67618         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
67619         Likewise.
67620         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
67621         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
67622         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
67623         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
67624         ifunc-impl-list.c.
67625         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
67626         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
67627         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
67628         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
67629         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
67630         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
67631         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
67632         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
67633         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
67634         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
67635         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
67636         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
67637         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
67638         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
67639         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
67640         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
67641         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
67642         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
67643         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
67644         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
67645         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67646         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
67647         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
67648         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
67649         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67650         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
67651         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
67652         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
67653         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
67654         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
67655         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
67656         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
67657         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
67658         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
67659         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
67660         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
67661         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
67662         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
67663         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
67664         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
67665         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
67667         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
67668         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
67669         * include/ifunc-impl-list.h: New file.
67670         * misc/ifunc-impl-list.c: Likewise.
67671         * misc/Makefile (routines): Add ifunc-impl-list.
67672         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
67673         * string/test-string.h: Include <ifunc-impl-list.h>.
67674         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
67675         TEST_NAME]: New variables.
67676         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
67677         are defined.
67678         (test_init): Call __libc_ifunc_impl_list to initialize
67679         func_list if TEST_IFUNC and TEST_NAME are defined.
67681         * string/Makefile (strop-tests): Add bcopy and bzero.
67682         * string/test-bcopy.c: New file.
67683         * string/test-bzero.c: Likewise.
67684         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
67685         defined.
67686         * string/test-memset.c: Support bzero test if TEST_BZERO is
67687         defined.
67688         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
67689         __libc_memmove.
67690         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
67691         __libc_memset.
67692         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
67693         of memset.
67695 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
67697         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
67698         * configure: Regenerated.
67700         * Makeconfig (+link-static-before-libc): Don't include
67701         $(link-static-libc).
67703         * libio/libio.h (_IO_pos_t): Remove.
67705 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
67707         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
67708         McGrath.
67710 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
67712         * crypt/crypt-entry.c: Include fips-private.h.
67713         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
67714         * crypt/md5c-test.c (main): Tolerate disabled MD5.
67715         * sysdeps/unix/sysv/linux/fips-private.h: New file.
67716         * sysdeps/generic/fips-private.h: New file, dummy fallback.
67718 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
67720         * crypt/crypt-private.h: Include stdbool.h.
67721         (_ufc_setup_salt_r): Return bool.
67722         * crypt/crypt-entry.c: Include errno.h.
67723         (__crypt_r): Return NULL with EINVAL for bad salt.
67724         * crypt/crypt_util.c (bad_for_salt): New.
67725         (_ufc_setup_salt_r): Check that salt is long enough and within
67726         the specified alphabet.
67727         * crypt/badsalttest.c: New file.
67728         * crypt/Makefile (tests): Add it.
67729         ($(objpfx)badsalttest): New.
67731 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
67733         * NEWS: Add entry for BZ #14602.
67735 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
67737         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
67738         type-generic.
67739         * math/libm-test.inc: Update comment listing what functions and
67740         macros are tested.
67741         (isgreater_test): New function.
67742         (isgreaterequal_test): Likewise.
67743         (isless_test): Likewise.
67744         (islessequal_test): Likewise.
67745         (islessgreater_test): Likewise.
67746         (isunordered_test): Likewise.
67747         (main): Call the new functions.
67749 2012-10-09  Roland McGrath  <roland@hack.frob.com>
67751         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
67752         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
67753         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
67754         * sysdeps/i386/configure: Regenerated.
67755         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
67756         * sysdeps/mach/configure: Regenerated.
67757         * sysdeps/mach/hurd/configure: Regenerated.
67758         * sysdeps/powerpc/configure: Regenerated.
67759         * sysdeps/powerpc/powerpc32/configure: Regenerated.
67760         * sysdeps/powerpc/powerpc64/configure: Regenerated.
67761         * sysdeps/s390/s390-32/configure: Regenerated.
67762         * sysdeps/s390/s390-64/configure: Regenerated.
67763         * sysdeps/sh/configure: Regenerated.
67764         * sysdeps/sparc/configure: Regenerated.
67765         * sysdeps/unix/sysv/linux/configure: Regenerated.
67766         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
67767         * sysdeps/x86_64/configure: Regenerated.
67769         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
67770         defined.  Don't check if MAP is NULL.
67772 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
67774         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
67775         (_G_stat64): Likewise.
67776         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
67777         (_G_stat64): Likewise.
67778         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
67779         instead of struct _G_stat64.
67780         * libio/fileops.c (mmap_remap_check): Likewise.
67781         (decide_maybe_mmap): Likewise.
67782         (_IO_new_file_seekoff): Likewise.
67783         (_IO_file_stat): Likewise.
67784         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
67785         _G_off64_t.
67786         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
67787         instead of struct _G_stat64.
67788         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
67790 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
67792         [BZ #14602]
67793         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67794         Replace with ...
67795         (CHECK_EOL): New macro.
67796         (two_way_short_needle): Check beginning of haystack for EOL.  Use
67797         CHECK_EOL.
67798         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67799         Replace with CHECK_EOL.
67800         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67801         Replace with CHECK_EOL.
67803 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
67805         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
67806         type-generic.
67807         * math/libm-test.inc: Update comment listing what functions and
67808         macros are tested.
67809         (finite_test): New function.
67810         (isinf_test): Likewise.
67811         (isnan_test): Likewise.
67812         (fpclassify_test): Test subnormal input.
67813         (isfinite_test): Likewise.
67814         (isnormal_test): Likewise.
67815         (main): Call the new functions.
67817 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
67819         [BZ #14660]
67820         * Makerules (%.dynsym): Force C locale when running
67821         $(OBJDUMP) --dynamic-syms.
67823 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
67825         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
67826         <stdint.h>.
67828 2012-10-06  David S. Miller  <davem@davemloft.net>
67830         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
67831         upper 32-bits of the length value in %o2 since we use branch-on-register
67832         tests which consider the entire 64-bit register.
67834 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
67836         * string/test-strstr.c (check2): Add a test for page boundary.
67838 2012-10-05  David S. Miller  <davem@davemloft.net>
67840         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
67841         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
67842         file.
67843         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
67844         sysdep_routines.
67845         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
67846         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
67847         and bzero when HWCAP_SPARC_CRYPTO is present.
67849 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
67851         [BZ #14602]
67852         * string/test-strstr.c (check2): New function.
67853         (test_main): Call check2.
67855         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
67856         and bug-strchr1.
67857         * string/bug-strcasestr1.c (do_test): Moved to ...
67858         * string/test-strcasestr.c (check1): Here.  New function.
67859         (do_one_test): Break out result checking code into ...
67860         (check_result): This.  New function.
67861         (do_one_test): Call check_result.
67862         (test_main): Call check1.
67863         * string/bug-strchr1.c (do_test): Moved to ...
67864         * string/test-strchr.c (check1): Here.  New function.
67865         (do_one_test): Break out result checking code into ...
67866         (check_result): This.  New function.
67867         (do_one_test): Call check_result.
67868         (test_main): Call check1.
67869         * string/bug-strstr1.c (main): Moved to ...
67870         * string/test-strstr.c (check1): Here.  New function.
67871         (do_one_test): Break out result checking code into ...
67872         (check_result): This.  New function.
67873         (do_one_test): Call check_result.
67874         (test_main): Call check1.
67875         * string/bug-strcasestr1.c: Removed.
67876         * string/bug-strchr1.c: Likewise.
67877         * string/bug-strstr1.c: Likewise.
67879         * elf/Makefile (dl-routines): Add hwcaps.
67880         * elf/dl-support.c (_dl_important_hwcaps): Removed.
67881         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
67882         (_dl_important_hwcaps): Moved to ...
67883         * elf/dl-hwcaps.c: Here.  New file.
67884         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
67886         [BZ #14557]
67887         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
67888         if IS_IN_rtld isn't defined.
67890         * elf/dl-support.c (_dl_sysinfo_map): New.
67891         Include "get-dynamic-info.h" and "setup-vdso.h".
67892         (_dl_non_dynamic_init): Call setup_vdso.
67893         * elf/dynamic-link.h: Don't include <assert.h>.
67894         (elf_get_dynamic_info): Moved to ...
67895         * elf/get-dynamic-info.h: Here.  New file.
67896         * elf/dynamic-link.h: Include "get-dynamic-info.h".
67897         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
67898         * elf/setup-vdso.h: Here.  New file.
67899         * elf/rtld.c: Include "setup-vdso.h".
67900         (dl_main): Call setup_vdso.
67902 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
67904         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
67905         creal in comment listing functions tested.  List finite, isinf,
67906         isnan, isless, islessequal, isgreater, isgreaterequal,
67907         islessgreater, isunordered, lgamma_r and pow10 as functions and
67908         macros not tested.  Mention which functions not tested are aliases
67909         for other functions.  Fix typo.  Note that signs of NaNs are not
67910         tested.
67912         * scripts/config.guess: Update from config.git.
67913         * scripts/config.sub: Likewise.
67915 2012-10-04  Roland McGrath  <roland@hack.frob.com>
67917         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
67918         * misc/madvise.c (madvise): Renamed to __madvise.
67919         Make madvise a weak alias.
67920         * include/sys/mman.h: Declare __madvise.
67921         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
67922         * sysdeps/unix/syscalls.list
67923         (madvise): Make __madvise the strong name, and madvise a weak alias.
67924         * sysdeps/unix/sysv/linux/syscalls.list
67925         (madvise, mmap): Remove redundant entries.
67926         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
67927         * malloc/malloc.c (mtrim): Likewise.
67928         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
67930 2012-10-03  Roland McGrath  <roland@hack.frob.com>
67932         * sysdeps/mach/hurd/dl-cache.c: File removed.
67933         * config.h.in (USE_LDCONFIG): New #undef.
67934         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
67935         * configure: Regenerated.
67936         * elf/Makefile (dl-routines): Add dl-cache only under
67937         [$(use-ldconfig) = yes].
67938         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
67939         cache on [USE_LDCONFIG].
67940         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
67941         [USE_LDCONFIG].
67942         * elf/rtld.c (dl_main): Likewise.
67944 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
67946         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
67947         _SC_LEVEL4_CACHE_LINESIZE.
67949 2012-10-03  Roland McGrath  <roland@hack.frob.com>
67951         * sysdeps/unix/bsd/confstr.h: File removed.
67953 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
67955         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
67956         sys/sdt-config.h.
67958 2012-10-02  Roland McGrath  <roland@hack.frob.com>
67960         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
67961         Make 'mapoff' field ElfW(Off) rather than off_t.
67963 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
67965         * nscd/Makefile: Remove nscd-cflags and all its users.
67966         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
67967         (CFLAGS-nonlib): Add compiler flags for nscd modules.
67969         [BZ #10631]
67970         * malloc.c (malloc_printerr): Clarify error message.
67972 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
67974         [BZ #14648]
67975         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67976         Set bit_FMA_Usable if FMA is supported.
67977         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
67978         macro.
67979         (bit_FMA4_Usable): Updated.
67980         (index_FMA_Usable): New macro.
67981         (CPUID_FMA): Likewise.
67982         (HAS_FMA): Defined with bit_FMA_Usable.
67984 2012-10-01  Roland McGrath  <roland@hack.frob.com>
67986         * bits/types.h (__swblk_t): Type removed.
67987         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
67988         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
67989         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67990         (__SWBLK_T_TYPE): Likewise.
67991         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67992         (__SWBLK_T_TYPE): Likewise.
67993         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67994         (__SWBLK_T_TYPE): Likewise.
67995         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67996         (__SWBLK_T_TYPE): Likewise.
67998 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
67999             Honza Horak <hhorak@redhat.com>
68001         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
68002         (xdr_mapname): Use YPMAXMAP as maxsize.
68003         (xdr_peername): Use YPMAXPEER as maxsize.
68004         (xdr_keydat): Use YPAXRECORD as maxsize.
68005         (xdr_valdat): Use YPMAXRECORD as maxsize.
68007 2012-10-01  Roland McGrath  <roland@hack.frob.com>
68009         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
68011         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
68012         * csu/init-first.c: ... here.
68013         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
68014         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
68015         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
68016         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
68017         * sysdeps/i386/init-first.c: File removed.
68018         * sysdeps/sh/init-first.c: File removed.
68020 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
68022         [BZ #14645]
68023         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
68024         if x * y might underflow to zero and z is zero.
68025         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68026         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68027         * math/libm-test.inc (min_subnorm_value): New variable.
68028         (fma_test): Add more tests.
68029         (fma_test_towardzero): Likewise.
68030         (fma_test_downward): Likewise.
68031         (fma_test_upward): Likewise.
68032         (initialize): Set min_subnorm_value.
68034 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
68036         [BZ #14638]
68037         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
68038         0 + 0.
68039         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
68040         mode for addition resulting in exact zero.
68041         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
68042         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
68043         exact 0 + 0.
68044         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
68045         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68046         * math/libm-test.inc (fma_test): Add more tests.
68047         (fma_test_towardzero): New function.
68048         (fma_test_downward): Likewise.
68049         (fma_test_upward): Likewise.
68050         (main): Call the new functions.
68052 2012-09-28  David S. Miller  <davem@davemloft.net>
68054         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
68056 2012-09-28  Roland McGrath  <roland@hack.frob.com>
68058         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
68059         instead of SIGALRM.
68061         * sysdeps/gnu/_G_config.h: Moved to ...
68062         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
68063         * sysdeps/mach/hurd/_G_config.h: Moved to ...
68064         * sysdeps/generic/_G_config.h: ... here.
68066         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
68068         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
68070         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
68071         Conditionalize target on [libnss_test1.so-version].
68073         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
68075         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
68076         (elfobjdir): Move out of conditionals.
68078         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
68079         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
68080         (__nss_lookup_function): Conditionalize label remove_from_tree on
68081         [!DO_STATIC_NSS || SHARED], matching its only use.
68083 2012-09-28  David S. Miller  <davem@davemloft.net>
68085         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
68086         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
68087         file.
68088         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
68089         sysdep_routines.
68090         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
68091         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
68092         when HWCAP_SPARC_CRYPTO is present.
68094 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
68096         * io/tst-mknodat.c: Create a FIFO instead of a socket.
68098 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
68100         [BZ #6530]
68101         * stdio-common/vfprintf.c (process_string_arg): Revert
68102         2000-07-22 change.
68104 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
68106         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
68107         for testcase.
68108         * stdio-common/tst-sprintf.c: Include <locale.h>
68109         (main): Test sprintf's handling of incomplete multibyte
68110         characters.
68112 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
68114         * elf/dl-runtime.c (VERSYMIDX): Removed.
68115         * elf/dl-version.c (VERSYMIDX): Likewise.
68116         * elf/do-rel.h (VERSYMIDX): Likewise.
68117         (VALIDX): Likewise.
68118         * elf/dynamic-link.h (VERSYMIDX): Likewise.
68119         * elf/rtld.c (VALIDX): Likewise.
68120         (ADDRIDX): Likewise.
68121         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
68122         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
68123         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
68124         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
68125         (VALIDX): Likewise.
68126         (ADDRIDX): Likewise.
68128 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
68130         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
68132 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
68134         [BZ #11438]
68135         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
68136         to global scope.
68137         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
68138         addresses are in the same scope as 192.0.2/24.
68139         * posix/gai.conf: Document new scope table defaults.
68141 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68143         [BZ #5298]
68144         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
68145         for ftell.  Compute offsets from write pointers instead.
68146         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
68148 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68150         [BZ #14543]
68151         * libio/Makefile (tests): New test case tst-fseek.
68152         * libio/tst-fseek.c: New test case to verify that fseek/ftell
68153         combination works in wide mode.
68154         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
68155         state when the external buffer state changes.
68157 2012-09-27  David S. Miller  <davem@davemloft.net>
68159         [BZ #14376]
68160         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
68161         pass reloc->r_addend in as the 'high' argument to
68162         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
68164         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68166 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
68168         * rt/tst-aio2.c: Include <pthread.h>.
68169         * rt/tst-aio3.c: Likewise.
68171 2012-09-27  Steve Ellcey  <sellcey@mips.com>
68173         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
68175 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
68177         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
68178         contents on [SHARED].
68180 2012-09-26  Marek Polacek  <polacek@redhat.com>
68182         [BZ #14530]
68183         [BZ #13741]
68184         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
68185         for C++ and GCC <4.3 as well as for non GCC compilers.
68187 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
68189         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68191 2012-09-25  Roland McGrath  <roland@hack.frob.com>
68193         * Makefile.in (all, install): Declare with .PHONY.
68194         Reported by Michael Hope <michael.hope@linaro.org>.
68196 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68198         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
68199         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
68200         system header.
68201         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
68202         Likewise.
68203         (sydep_routines): Add the new and the internal functions.
68204         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
68205         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
68206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
68207         (GLIBC_2.17): Add the new function.
68208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
68209         (GLIBC_2.17): Likewise.
68210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
68211         (GLIBC_2.17): Likewise.
68212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
68213         (GLIBC_2.17): Likewise.
68214         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
68216 2012-09-25  Alan Modra  <amodra@gmail.com>
68218         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
68219         Add release barrier before setting once_control to say
68220         initialisation is done.  Add hints on lwarx.  Use macro in
68221         place of isync.
68222         (clear_once_control): Add release barrier.
68224 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
68226         [BZ #13629]
68227         * math/s_clog.c (__clog): Handle more values close to |z| = 1
68228         specially.
68229         * math/s_clog10.c (__clog10): Likewise.
68230         * math/s_clog10f.c (__clog10f): Likewise.
68231         * math/s_clog10l.c (__clog10l): Likewise.
68232         * math/s_clogf.c (__clogf): Likewise.
68233         * math/s_clogl.c (__clogl): Likewise.
68234         * math/Makefile (libm-calls): Add x2y2m1.
68235         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
68236         (__x2y2m1): Likewise.
68237         (__x2y2m1l): Likewise.
68238         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
68239         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
68240         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
68241         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
68242         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
68243         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
68244         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
68245         * sysdeps/i386/fpu/libm-test-ulps: Update.
68246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68248         [BZ #14621]
68249         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
68250         int as type of variable DEPTH.
68251         (glob): Use size_t instead of int as type of variables NEWCOUNT
68252         and OLD_PATHC.
68254 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68256         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
68257         Add s_sincosf-sse2.
68258         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
68259         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
68260         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
68261         macros for using routine as __sincosf_ia32.
68262         Use macro for function declaration and weak_alias.
68263         * sysdeps/i386/fpu/libm-test-ulps: Update.
68265         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
68266         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68268         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
68269         subnormal argument.
68270         * math/s_cexpf.c (__cexpf): Likewise.
68271         * math/s_csinf.c (__csinf): Likewise.
68272         * math/s_csinhf.c (__csinhf): Likewise.
68273         * math/s_ctanf.c (__ctanf): Likewise.
68274         * math/s_ctanhf.c (__ctanhf): Likewise.
68275         * math/s_ccosh.c (__ccoshf): Likewise.
68276         * math/s_cexp.c (__cexpl): Likewise.
68277         * math/s_csin.c (__csin): Likewise.
68278         * math/s_csinh.c (__csinh): Likewise.
68279         * math/s_ctan.c (__ctan): Likewise.
68280         * math/s_ctanh.c (ctanh): Likewise.
68281         * math/s_ccoshl.c (__ccoshl): Likewise.
68282         * math/s_cexpl.c (__cexpl): Likewise.
68283         * math/s_csinl.c (__csinl): Likewise.
68284         * math/s_csinhl.c (__csinhl): Likewise.
68285         * math/s_ctanl.c (__ctanl): Likewise.
68286         * math/s_ctanhl.c (__ctanhl): Likewise.
68288 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
68290         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
68291         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
68292         (_IO_off_t): Define to __off_t, not _G_off_t.
68293         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
68294         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
68295         (_IO_wint_t): Define to wint_t, not _G_wint_t.
68296         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
68297         type of __dummy and __dummy2 fields.
68298         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
68299         (_G_ssize_t): Likewise.
68300         (_G_off_t): Likewise.
68301         (_G_pid_t): Likewise.
68302         (_G_uid_t): Likewise.
68303         (_G_wchar_t): Likewise.
68304         (_G_wint_t): Likewise.
68305         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
68306         (_G_ssize_t): Likewise.
68307         (_G_off_t): Likewise.
68308         (_G_pid_t): Likewise.
68309         (_G_uid_t): Likewise.
68310         (_G_wchar_t): Likewise.
68311         (_G_wint_t): Likewise.
68312         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
68313         (_G_ssize_t): Likewise.
68314         (_G_off_t): Likewise.
68315         (_G_pid_t): Likewise.
68316         (_G_uid_t): Likewise.
68317         (_G_wchar_t): Likewise.
68318         (_G_wint_t): Likewise.
68320 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68322         * malloc/arena.c: Include malloc-sysdep.h.
68323         (shrink_heap): Use check_may_shrink_heap to decide if madvise
68324         is sufficient to shrink the heap or an unmap is needed.
68325         * sysdeps/generic/malloc-sysdep.h: New file.  Define
68326         new function check_may_shrink_heap.
68327         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
68328         new function check_may_shrink_heap.
68330 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68332         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
68333         comments.
68335 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
68337         * catgets/test-gencat.sh: Add "set -e".
68338         * elf/tst-pathopt.sh: Likewise.
68339         * grp/tst_fgetgrent.sh: Likewise.
68340         * iconvdata/run-iconv-test.sh: Likewise.
68341         * intl/tst-gettext.sh: Likewise.
68342         * intl/tst-gettext2.sh: Likewise.
68343         * intl/tst-gettext4.sh: Likewise.
68344         * intl/tst-gettext6.sh: Likewise.
68345         * intl/tst-translit.sh: Likewise.
68346         * io/ftwtest-sh: Likewise.
68347         * libio/test-freopen.sh: Likewise.
68348         * malloc/tst-mtrace.sh: Likewise.
68349         * posix/globtest.sh: Likewise.
68350         * posix/tst-getconf.sh: Likewise.
68351         * posix/wordexp-tst.sh: Likewise.
68352         * stdio-common/tst-printf.sh: Likewise.
68353         * stdio-common/tst-unbputc.sh: Likewise.
68354         * stdlib/tst-fmtmsg.sh: Likewise.
68355         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
68356         * catgets/Makefile: Do not specify -e option when running
68357         testsuite shell scripts.
68358         * elf/Makefile: Likewise.
68359         * grp/Makefile: Likewise.
68360         * iconvdata/Makefile: Likewise.
68361         * intl/Makefile: Likewise.
68362         * io/Makefile: Likewise.
68363         * libio/Makefile: Likewise.
68364         * malloc/Makefile: Likewise.
68365         * posix/Makefile: Likewise.
68366         * stdio-common/Makefile: Likewise.
68367         * stdlib/Makefile: Likewise.
68368         * sysdeps/x86_64/Makefile: Likewise.
68370         * io/ftwtest-sh: Add copyright header.
68371         * posix/globtest.sh: Likewise.
68372         * posix/tst-getconf.sh: Likewise.
68373         * posix/wordexp-tst.sh: Likewise.
68374         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
68376 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
68378         [BZ #13679]
68379         * Makeconfig (+link): Defined as $(+link-static) if
68380         $(build-shared) isn't yes.
68381         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
68382         isn't yes.
68383         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
68385         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
68387         [BZ #14562]
68388         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
68389         new chunk size with MALLOC_ALIGN_MASK.
68391 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
68393         [BZ #5044]
68394         * stdio-common/printf_fphex.c: Include <stdbool.h> and
68395         <rounding-mode.h>.
68396         (__printf_fphex): Determine rounding using get_rounding_mode and
68397         round_away.
68398         * stdio-common/tst-printf-round.c (struct hex_test): New
68399         structure.
68400         (hex_tests): New variable.
68401         (test_hex_in_one_mode): New function.
68402         (do_test): Also run tests for hex float output.
68404 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
68406         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
68407         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
68408         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
68409         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
68410         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
68411         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
68412         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
68413         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
68415 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
68417         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
68418         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
68419         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
68420         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
68422 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
68424         [BZ #14579]
68425         * elf/rtld.c (dl_main): Limit the check for self loading to normal
68426         mode only.
68427         * elf/tst-rtld-load-self.sh: New test.
68428         * elf/Makefile: Run it.
68430 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
68432         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
68433         (tst-writev-ENV): Remove.
68434         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
68436 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
68438         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
68440 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
68442         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
68443         unconditional.
68444         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
68445         Likewise.
68446         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
68447         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
68448         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
68449         Likewise.
68451 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
68453         [BZ #14587]
68454         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
68455         * config.make.in (have-cpp-asm-debuginfo): Removed.
68456         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
68457         * configure: Regenerated.
68459 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
68461         [BZ #5044]
68462         * stdio-common/printf_fp.c: Include <stdbool.h> and
68463         <rounding-mode.h>.
68464         (___printf_fp): Determine rounding using get_rounding_mode and
68465         round_away.
68466         * stdio-common/tst-printf-round.c: New file.
68467         * stdio-common/Makefile (tests): Add tst-printf-round.
68468         (link-libm): New variable.
68469         ($(objpfx)tst-printf-round): Depend in $(link-libm).
68471 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
68473         [BZ #14576]
68474         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
68475         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
68476         Likewise.
68477         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
68478         Likewise.
68480 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
68482         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
68483         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
68484         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
68485         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
68487 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
68489         [BZ #14518]
68490         * include/rounding-mode.h: New file.
68491         * sysdeps/generic/get-rounding-mode.h: Likewise.
68492         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
68493         * stdlib/strtod_l.c: Include <rounding-mode.h>.
68494         (MAX_VALUE): New macro.
68495         (MIN_VALUE): Likewise.
68496         (overflow_value): New function.
68497         (underflow_value): Likewise.
68498         (round_and_return): Use overflow_value and underflow_value to
68499         determine return values in overflow and underflow cases.  Use
68500         round_away to determine rounding depending on rounding mode.
68501         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
68502         determine return values in overflow and underflow cases.
68503         * stdlib/tst-strtod-round.c: Include <fenv.h>.
68504         (struct test_results): New structure.
68505         (struct test): Use struct test_results to store expected results
68506         for all rounding modes.
68507         (TEST): Include expected results for all rounding modes.
68508         (test_in_one_mode): New function.
68509         (do_test): Use test_in_one_mode to compute and check results.
68510         Check results for all rounding modes.
68511         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
68512         $(link-libm).
68514 2012-12-09  Allan McRae  <allan@archlinux.org>
68516         * sysdeps/i386/fpu/libm-test-ulps: Update
68518 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
68520         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
68521         (_G_int32_t): Likewise.
68522         (_G_uint16_t): Likewise.
68523         (_G_uint32_t): Likewise.
68524         (_G_HAVE_BOOL): Likewise.
68525         (_G_HAVE_ATEXIT): Likewise.
68526         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
68527         (_G_HAVE_IO_FILE_OPEN): Likewise.
68528         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
68529         (_G_int32_t): Likewise.
68530         (_G_uint16_t): Likewise.
68531         (_G_uint32_t): Likewise.
68532         (_G_HAVE_BOOL): Likewise.
68533         (_G_HAVE_ATEXIT): Likewise.
68534         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
68535         (_G_HAVE_IO_FILE_OPEN): Likewise.
68536         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
68537         (_G_int32_t): Likewise.
68538         (_G_uint16_t): Likewise.
68539         (_G_uint32_t): Likewise.
68540         (_G_HAVE_BOOL): Likewise.
68541         (_G_HAVE_ATEXIT): Likewise.
68542         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
68543         (_G_HAVE_IO_FILE_OPEN): Likewise.
68545 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
68547         * csu/libc-tls.c: Update copyright years.
68549 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
68551         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
68552         [!_G_USING_THUNKS]: Remove conditional code.
68553         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
68554         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
68556         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
68557         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
68558         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
68559         (_G_VTABLE_LABEL_PREFIX): Likewise.
68560         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
68561         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
68562         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
68563         (_G_VTABLE_LABEL_PREFIX): Likewise.
68564         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
68565         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
68566         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
68567         (_G_VTABLE_LABEL_PREFIX): Likewise.
68568         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
68570 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
68572         * libio/Makefile: Include ../Makeconfig before tests.
68573         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
68574         only if $(build-shared) is yes.
68576         * iconv/gconv_db.c: Update copyright years.
68578 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68580         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
68581         unwind info if defined PIC. Fix special cases description.
68582         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
68584         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
68585         DP_HI_MASK entry.
68586         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
68588 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
68590         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
68592         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
68593         is NULL.
68595         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
68596         (LDLIBS-tst-chk4): This.
68597         (LDFLAGS-tst-chk5): Renamed to ...
68598         (LDLIBS-tst-chk5): This.
68599         (LDFLAGS-tst-chk6): Renamed to ...
68600         (LDLIBS-tst-chk6): This.
68601         (LDFLAGS-tst-lfschk4): Renamed to ...
68602         (LDLIBS-tst-lfschk4): This.
68603         (LDFLAGS-tst-lfschk5): Renamed to ...
68604         (LDLIBS-tst-lfschk5): This.
68605         (LDFLAGS-tst-lfschk6): Renamed to ...
68606         (LDLIBS-tst-lfschk6): This.
68608         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
68609         on $(common-objpfx)soversions.mk.
68611 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
68613         [BZ #10014]
68614         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
68615         example host name.
68617 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
68619         * malloc/arena.c (arena_get_retry): New function that gets
68620         another arena for the caller to try its request on.
68621         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
68622         current arena cannot fulfill the request.
68623         (__libc_memalign): Likewise.
68624         (__libc_memalign): Likewise.
68625         (__libc_pvalloc): Likewise.
68626         (__libc_calloc): Likewise.
68628 2012-09-05  John Tobey  <john.tobey@gmail.com>
68630         [BZ #13542]
68631         * manual/arith.texi (Operations on Complex): Fix description
68632         of carg branch cut.
68634 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
68636         [BZ #10014]
68637         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
68638         host name.
68640         [BZ #10038]
68641         * manual/memory.texi (Memory): Make order of menu items match
68642         order of sections.
68644 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68646         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
68647         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
68648         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
68650 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68652         * csu/libc-tls.c (static_dtv): Renamed to ...
68653         (_dl_static_dtv): This.  Make it global.
68654         (_dl_initial_dtv): Removed.
68655         (__libc_setup_tls): Updated.
68656         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
68657         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
68658         DL_INITIAL_DTV.
68660 2012-09-06  Petr Machata  <pmachata@redhat.com>
68662         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
68663         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
68664         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
68665         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
68667 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68669         [BZ #14545]
68670         * csu/libc-tls.c (_dl_initial_dtv): New variable.
68671         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
68672         freeing dtv[-1].
68674 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68676         [BZ #14544]
68677         * Makeconfig (link-static-before-libc): Replace $(+prector)
68678         with $(+prectorT).
68679         (link-static-after-libc): Replace $(+postctor) with
68680         $(+postctorT).
68681         (link-bounded): Replace $(+prector)/$(+postctor) with
68682         $(+prectorT)/$(+postctorT).
68683         (+prectorT): New macro.
68684         (+postctorT): Likewise.
68686 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
68688         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
68689         (round_str): Handle values above the maximum for IBM long double
68690         as inexact.
68691         * stdlib/tst-strtod-round.c (tests): Regenerated.
68693 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68695         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
68696         assembler flag.
68697         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
68698         zarch_nohighgprs around the zarch optimized routines.
68699         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
68700         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
68701         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
68702         for zarch.
68704 2012-09-05  David S. Miller  <davem@davemloft.net>
68706         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68708         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
68709         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
68710         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
68711         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
68712         entries.
68714 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68716         * malloc/arena.c: Fold copyright years.
68717         * malloc/mcheck.c, malloc/memusage.c: Likewise.
68719 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68721         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
68723 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68725         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
68727 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68729         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
68730         change internal state upon failure.
68732 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68734         * malloc/mcheck.c (mcheck_check_all): Fix typo.
68735         * malloc/memusage.c (mmap): Likewise.
68736         (mmap64, mremap): Likewise.  Adjust name in comment.
68738 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
68740         * libio/fileops.c: Fix typos in comments.
68741         * libio/oldfileops.c: Likewise.
68742         * libio/wfileops.c: Likewise.
68744 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
68746         [BZ #1349]
68747         * malloc/Makefile (tests): Add tst-malloc-usable test case.
68748         (tst-malloc-usable-ENV): Set environment for test case.
68749         * malloc/hooks.c (malloc_check_get_size): New function to get
68750         requested size.
68751         * malloc/malloc.c (musable): Use malloc_check_get_size.
68752         * malloc/tst-malloc-usable.c: New test case.
68754 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
68756         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
68758 2012-09-05  Allan McRae  <allan@archlinux.org>
68760         [BZ #13966]
68761         * configure.in (CXX_SYSINCLUDES): Use compiler output to
68762         determine header location.
68763         * configure: Regenerated.
68765 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
68767         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
68768         float format.
68769         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
68770         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
68771         format.
68772         (test): Regenerate.
68774 2012-09-04  David S. Miller  <davem@davemloft.net>
68776         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
68777         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
68778         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
68780 2012-09-04  Florian Weimer  <fweimer@redhat.com>
68782         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
68783         failures.
68785         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
68787 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
68789         [BZ #9914]
68790         * libio/iogetdelim.c: Include <limits.h>.
68791         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
68792         + len + 1 would overflow.
68794 2012-09-03  Andreas Jaeger  <aj@suse.de>
68796         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68797         * sysdeps/i386/fpu/libm-test-ulps: Update.
68799 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68801         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
68802         Add s_sinf-sse2, s_conf-sse2.
68804         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
68805         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
68806         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
68807         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
68809         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
68810         for using routine as __sinf_ia32.
68811         Use macro for function declaration and weak_alias.
68812         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
68813         for using routine as __cosf_ia32.
68814         Use macro for function declaration and weak_alias.
68816         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
68817         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
68819         * sysdeps/x86_64/fpu/s_sinf.S: New file.
68820         * sysdeps/x86_64/fpu/s_cosf.S: New file.
68821         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68823         * math/libm-test.inc (cos_test): Add more test cases.
68824         (sin_test): Likewise.
68825         (sincos_test): Likewise.
68827 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68829         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
68830         (IFUNC_RESOLVE): Make pointers to the specialized implementations
68831         hidden.
68832         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
68834 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
68836         [BZ #14538]
68837         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
68838         first element of the GOT.
68839         (elf_machine_load_address): Return the difference between
68840         the runtime address of _DYNAMIC and elf_machine_dynamic ().
68842 2012-09-01  Allan McRae  <allan@archlinux.org>
68844         [BZ #13412]
68845         * configure.in (AWK): Require gawk version 3.0 or later.
68846         * configure: Regenerated.
68848 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
68850         * sysdeps/unix/sysv/linux/kernel-features.h
68851         (__ASSUME_POSIX_CPU_TIMERS): Remove.
68852         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
68853         [__NR_clock_getres]: Make code unconditional.
68854         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
68855         (clock_getcpuclockid): Remove code left unreachable by removal of
68856         conditionals.
68857         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
68858         code unconditional.
68859         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
68860         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68861         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
68862         Make code unconditional.
68863         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
68864         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68865         * sysdeps/unix/sysv/linux/clock_settime.c
68866         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
68867         conditional code.
68868         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
68869         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68871 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
68873         [BZ #14476]
68874         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
68875         scripts/test-installation.pl.
68877         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
68878         and $ld_so_version if it is set.
68880 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
68882         [BZ #14516]
68883         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
68884         failure if reading from procfs failed.
68885         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
68887 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
68889         * sysdeps/unix/sysv/linux/kernel-features.h
68890         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
68891         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
68892         Remove conditional code.
68893         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68894         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
68895         Remove conditional code.
68896         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68897         * sysdeps/unix/sysv/linux/i386/fxstat.c
68898         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68899         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68900         * sysdeps/unix/sysv/linux/i386/fxstatat.c
68901         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68902         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68903         * sysdeps/unix/sysv/linux/i386/lxstat.c
68904         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68905         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68906         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
68907         Remove conditional code.
68908         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68909         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
68910         Remove conditional code.
68911         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68912         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
68913         <kernel-features.h>.
68914         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
68915         Remove.
68916         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
68917         Remove conditional code.
68918         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68919         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
68920         Remove conditional.
68922 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
68924         [BZ #5400]
68925         * NEWS: Add fixed bug number.
68927 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
68929         [BZ #14519]
68930         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
68931         underflowing exponent in case of negative sign.
68932         * stdlib/tst-strtod-round-data: Add more tests.
68933         * stdlib/tst-strtod-round.c (tests): Regenerated.
68935         [BZ #3479]
68936         * stdlib/strtod_l.c (NDIG): Remove.
68937         (HEXNDIG): Likewise.
68938         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
68939         smallest representable value.
68940         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
68941         lie within an exact representation of 1/2 ulp of the result.
68942         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
68943         unconditionally.
68944         (TENS_P9_IDX): Define unconditionally.
68945         (TENS_P9_SIZE): Likewise.
68946         (TENS_P10_IDX): Likewise.
68947         (TENS_P10_SIZE): Likewise.
68948         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
68949         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
68950         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
68951         entries for 10^2^13 and 10^2^14.
68952         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
68953         (TENS_P13_IDX): Define.
68954         (TENS_P13_SIZE): Likewise.
68955         (TENS_P14_IDX): Likewise.
68956         (TENS_P14_SIZE): Likewise.
68957         (_fpioconst_pow10): Change array size to
68958         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
68959         unconditional.
68960         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
68961         1024]: Add entries for 10^2^13 and 10^2^14.
68962         [LAST_POW10 > _LAST_POW10]: Remove #error.
68963         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
68964         (_fpioconst_pow10): Change array size to
68965         FPIOCONST_POW10_ARRAY_SIZE.
68966         * stdlib/gen-fpioconst.c: New file.
68967         * stdlib/gen-tst-strtod-round.c: Likewise.
68968         * stdlib/tst-strtod-round-data: Likewise.
68969         * stdlib/tst-strtod-round.c: Likewise.
68970         * stdlib/Makefile (tests): Add tst-strtod-round.
68972         [BZ #14459]
68973         * stdlib/strtod_l.c: Include <stdint.h>.
68974         (NDEBUG): Do not define.
68975         (round_and_return): Change EXPONENT parameter to type intmax_t.
68976         Rearrange calculations to avoid internal overflow possibilities.
68977         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
68978         Rearrange calculations to avoid internal overflow possibilities.
68979         Assert that number fits inside MPNSIZE limbs.
68980         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
68981         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
68982         calculations and add assertions to avoid internal overflow
68983         possibilities.  Add casts to avoid signed/unsigned operations.
68984         * stdlib/tst-strtod-overflow.c: New file.
68985         * stdlib/Makefile (tests): Add tst-strtod-overflow.
68987 2012-08-25  Marek Polacek  <polacek@redhat.com>
68989         * time/time.h: Fix some typos in comments.
68991 2012-08-23  Roland McGrath  <roland@hack.frob.com>
68993         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
68994         * posix/tst-rfc3484-2.c: Likewise.
68995         * posix/tst-rfc3484-3.c: Likewise.
68997 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
68999         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
69000         (EF_ARM_ABI_FLOAT_HARD): Likewise.
69002 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
69004         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
69005         #include of fxstatat64.c.
69007 2012-08-22  Roland McGrath  <roland@hack.frob.com>
69009         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
69010         * shadow/getspent_r.c: Likewise.
69011         * shadow/getspnam.c: Likewise.
69012         * shadow/getspnam_r.c: Likewise.
69013         * gshadow/getsgent.c: Likewise.
69014         * gshadow/getsgent_r.c: Likewise.
69015         * gshadow/getsgnam.c: Likewise.
69016         * gshadow/getsgnam_r.c: Likewise.
69017         * inet/getnetbyad.c: Likewise.
69018         * inet/getnetbyad_r.c: Likewise.
69019         * inet/getnetbynm.c: Likewise.
69020         * inet/getnetbynm_r.c: Likewise.
69021         * inet/getnetent.c: Likewise.
69022         * inet/getnetent_r.c: Likewise.
69023         * inet/getproto.c: Likewise.
69024         * inet/getproto_r.c: Likewise.
69025         * inet/getprtent.c: Likewise.
69026         * inet/getprtent_r.c: Likewise.
69027         * inet/getprtname.c: Likewise.
69028         * inet/getprtname_r.c: Likewise.
69029         * inet/getrpcbyname.c: Likewise.
69030         * inet/getrpcbyname_r.c: Likewise.
69031         * inet/getrpcbynumber.c: Likewise.
69032         * inet/getrpcbynumber_r.c: Likewise.
69033         * inet/getrpcent.c: Likewise.
69034         * inet/getrpcent_r.c: Likewise.
69035         * inet/getaliasent.c: Likewise.
69036         * inet/getaliasent_r.c: Likewise.
69037         * inet/getaliasname.c: Likewise.
69038         * inet/getaliasname_r.c: Likewise.
69039         * nscd/getgrgid_r.c: Likewise.
69040         * nscd/getgrnam_r.c: Likewise.
69041         * nscd/gethstbyad_r.c: Likewise.
69042         * nscd/gethstbynm3_r.c: Likewise.
69043         * nscd/getpwnam_r.c: Likewise.
69044         * nscd/getpwuid_r.c: Likewise.
69045         * nscd/getsrvbynm_r.c: Likewise.
69046         * nscd/getsrvbypt_r.c: Likewise.
69047         * nscd/gai.c: Likewise.
69049         * configure.in (build_nscd): New substituted variable, set
69050         by --disable-build-nscd and defaults to $use_nscd.
69051         * configure: Regenerated.
69052         * config.make.in (build-nscd): New substituted variable.
69053         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
69054         Change conditional to require [$(build-nscd) = yes] as well.
69055         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
69057         [BZ# 13696]
69058         * configure.in (use_nscd): New substituted variable, set by
69059         --disable-nscd.  If enabled, define USE_NSCD.
69060         * configure: Regenerated.
69061         * config.h.in: Add USE_NSCD.
69062         * config.make.in (use-nscd): New substituted variable.
69063         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
69064         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
69065         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
69066         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
69067         (CFLAGS-getgrnam_r.c): Likewise.
69068         (CFLAGS-initgroups.c): Likewise.
69069         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
69070         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
69071         Variables removed.
69072         * inet/getnetgrent_r.c
69073         (nscd_setnetgrent): New function, broken out of ...
69074         (setnetgrent): ... here.  Call it.
69075         (innetgr): Conditionalize nscd bits on [USE_NSCD].
69076         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
69077         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
69078         * nscd/Makefile (routines, aux): Move definitions after include of
69079         Makeconfig.  Conditionalize on [$(use-nscd) != no].
69080         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
69081         Conditionalize on [USE_NSCD].
69082         (is_nscd, nscd_init_cb): Likewise.
69083         (nss_load_library): Conditionalize init callback on [USE_NSCD].
69084         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
69085         * nss/nss_db/db-init.c: Likewise.
69086         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
69087         [USE_NSCD].
69088         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
69089         (make_request): Use it.
69090         (cache_valid_p): New function.
69091         (__check_pf): Use it.
69092         * NEWS: Add item for --disable-nscd.
69094 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
69096         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
69097         to support sed >= 4.2.1-20-ga9bf076.
69098         * configure: Regenerated.
69100 2012-08-22  Roland McGrath  <roland@hack.frob.com>
69102         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
69103         Conditionalize whole body on [IREL].
69105 2012-08-22  Jeff Law <law@redhat.com>
69107         [BZ #14505]
69108         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
69109         if the family is PF_UNSPEC.
69111 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
69113         * Makerules (lib-version): Rename from V.
69114         (install-lib-nosubdir): Change V to lib-version.
69116 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
69118         [BZ #14252]
69119         * powerpc32/power6/wcschr.c: New file.
69120         * powerpc32/power6/wcscpy.c: New file.
69121         * powerpc32/power6/wcsrchr.c: New file.
69122         * powerpc64/power6/wcschr.c: New file.
69123         * powerpc64/power6/wcscpy.c: New file.
69124         * powerpc64/power6/wcsrchr.c: New file.
69126 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
69128         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
69129         (two_way_short_needle): Use it.
69130         * string/strstr.c (AVAILABLE1_USES_J): Define.
69131         * string/strcasestr.c: Likewise.
69133         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
69134         array references.
69135         * string/strcasestr.c (TOLOWER): Make side-effect safe.
69137         [BZ #11607]
69138         * NEWS: Add an entry.
69139         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
69140         define their defaults.
69141         (two_way_short_needle): Detect end-of-string on-the-fly.
69142         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
69143         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
69144         * string/bug-strcasestr1.c: New test.
69145         * string/Makefile: Run it.
69147 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
69149         [BZ #11607]
69150         * string/str-two-way.h (two_way_short_needle): Optimize matching of
69151         the first character.
69153 2012-08-21  Roland McGrath  <roland@hack.frob.com>
69155         * csu/elf-init.c (__libc_csu_irel): Function removed.
69156         * csu/libc-start.c (apply_irel): New function.
69157         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
69159 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
69161         * sysdeps/unix/sysv/linux/kernel-features.h
69162         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
69163         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
69164         <kernel-features.h>.
69165         [__NR_fadvise64_64]: Make code unconditional.
69166         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
69167         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
69168         !__NR_fadvise64_64)]: Likewise.
69169         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
69170         !__NR_fadvise64_64))]: Likewise.
69171         [__NR_fadvise64]: Make code unconditional.
69172         [!__NR_fadvise64]: Remove conditional code.
69173         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
69174         <kernel-features.h>.
69175         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
69176         unconditional.
69177         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
69178         conditional code.
69179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
69180         not include <kernel-features.h>.
69181         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
69182         unconditional.
69183         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
69184         conditional code.
69185         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
69186         include <kernel-features.h>.
69187         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
69188         unconditional.
69189         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
69190         conditional code.
69192 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
69194         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
69195         slight instruction rearrangements per scrollpipe analysis.
69196         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
69198 2012-08-20  Roland McGrath  <roland@hack.frob.com>
69200         * manual/syslog.texi (syslog; vsyslog, closelog):
69201         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
69202         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
69204         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
69205         DSOCAPS to match condition on defining it.
69207 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
69209         * sysdeps/unix/sysv/linux/kernel-features.h
69210         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
69211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
69212         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
69213         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
69214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
69215         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
69216         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
69217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
69218         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
69219         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
69221         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
69222         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
69224         * sysdeps/unix/sysv/linux/kernel-features.h
69225         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
69226         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
69227         unconditional.
69228         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69229         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
69230         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
69231         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69232         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
69233         Make code unconditional.
69234         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69235         (__mmap64) [!__NR_mmap2]: Likewise.
69236         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
69237         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
69238         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69239         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
69240         [__NR_mmap2]: Make code unconditional.
69241         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69242         (__mmap64) [!__NR_mmap2]: Likewise.
69244 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69246         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
69248 2012-08-18  Andreas Jaeger  <aj@suse.de>
69250         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
69252 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
69254         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
69255         * include/unistd.h (__have_sock_cloexec): Likewise.
69256         (__have_pipe2): Likewise.
69257         (__have_dup3): Likewise.
69259 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
69261         [BZ #9685]
69262         * include/unistd.h (__have_pipe2): Change define into an extern int.
69263         (__have_dup3): Likewise.
69264         * socket/have_sock_cloexec.c: Include fcntl.h.
69265         (__have_pipe2): New variable.
69266         (__have_dup3): Likewise.
69268 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
69270         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
69272 2012-08-17  Marek Polacek  <polacek@redhat.com>
69274         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
69275         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
69277 2012-08-17  Roland McGrath  <roland@hack.frob.com>
69279         * configure.in: Add AC_SUBST for sysheaders.
69280         * configure: Regenerated.
69281         * config.make.in (sysheaders): New substituted variable.
69283         * sysdeps/unix/mkfifo.c: Moved ...
69284         * sysdeps/posix/mkfifo.c: ... here.
69285         * sysdeps/unix/mkfifoat.c: Moved ...
69286         * sysdeps/posix/mkfifoat.c: ... here.
69288         * sysdeps/unix/utime.c: Moved ...
69289         * sysdeps/posix/utime.c: ... here.
69291         * sysdeps/unix/time.c: Moved ...
69292         * sysdeps/posix/time.c: ... here.
69293         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
69294         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
69296         * sysdeps/unix/nice.c: Moved ...
69297         * sysdeps/posix/nice.c: ... here.
69299         * sysdeps/unix/alarm.c: Moved ...
69300         * sysdeps/posix/alarm.c: ... here.
69302         * intl/Makefile ($(codeset_mo)): Depend on the input file.
69304 2012-08-17  Jeff Law <law@redhat.com>
69306         * intl/Makefile (codeset_mo): New variable.
69307         ($(codeset_mo)): New target.
69308         (tst-codeset.out): Depend on that.  Remove explicit rule.
69309         (tst-gettext3.out, tst-gettext5.out): Likewise.
69310         (LOCPATH-ENV, tst-codeset-ENV): New variables.
69311         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
69312         * intl/tst-codeset.sh: Remove.
69313         * intl/tst-gettext3.sh: Likewise.
69314         * intl/tst-gettext5.sh: Likewise.
69316 2012-08-17  Roland McGrath  <roland@hack.frob.com>
69318         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
69319         * sysdeps/unix/syscalls.list: ... here.
69321         * sysdeps/posix/getaddrinfo.c
69322         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
69323         (gaiconf_init, gaiconf_reload): Use them.
69324         [!_STATBUF_ST_NSEC]
69325         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
69326         Define using time_t rather than struct timespec.
69328         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
69329         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
69330         Macros removed.
69331         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
69332         [!NO_THREADS].
69333         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
69334         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
69335         Likewise.
69337         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
69338         __libc_cleanup_push argument.
69340         * bits/param.h: New file.
69341         * misc/sys/param.h: New file.
69342         * include/sys/param.h: New file.
69343         * misc/Makefile (headers): Add bits/param.h.
69344         * sysdeps/generic/sys/param.h: File removed.
69345         * sysdeps/unix/sysv/linux/bits/param.h: New file.
69346         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
69347         * sysdeps/mach/hurd/bits/param.h: New file.
69348         * sysdeps/mach/hurd/sys/param.h: File removed.
69350         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
69351         last change.
69353         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
69354         [_IO_MTSAFE_IO].
69355         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
69356         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
69357         New macros.
69359         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
69360         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
69361         rather than -D_IO_MTSAFE_IO conditionally.
69362         * stdio-common/Makefile (CPPFLAGS): Likewise.
69363         * wcsmbs/Makefile (CPPFLAGS): Likewise.
69364         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
69365         Use $(libio-mtsafe).
69366         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
69367         of -D_IO_MTSAFE_IO.
69368         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
69369         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
69370         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
69371         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
69372         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
69373         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
69374         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
69375         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
69376         (CFLAGS-fread_u_chk.c): Likewise.
69377         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
69378         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
69379         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
69380         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
69381         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
69382         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
69383         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
69384         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
69385         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
69387         * libio/Makefile: Test [$(libc-reentrant) = yes]
69388         instead of [$(filter %REENTRANT, $(defines)) nonempty].
69390         * Makeconfig
69391         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
69392         * sysdeps/pthread/configure: File removed.
69393         * sysdeps/pthread/Makeconfig: New file.
69394         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
69395         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
69397 2012-08-16  Gary Benson  <gbenson@redhat.com>
69399         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
69400         unmapping the first object in a namespace.
69402 2012-08-16  Roland McGrath  <roland@hack.frob.com>
69404         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
69405         (__internal_setnetgrent): ... this.  Add internal_function to
69406         definition.  Add libc_hidden_def.
69407         (setnetgrent): Update caller.
69408         (internal_endnetgrent): Renamed to ...
69409         (__internal_endnetgrent): ... this.  Add internal_function to
69410         definition.  Add libc_hidden_def.
69411         (endnetgrent): Update caller.
69412         (internal_getnetgrent_r): Renamed to ...
69413         (__internal_getnetgrent_r): ... this.  Add internal_function to
69414         definition.  Add libc_hidden_def.
69415         (__getnetgrent_r): Update caller.
69416         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
69418 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
69420         * stdlib/longlong.h: Update from GCC.
69422 2012-08-16  Roland McGrath  <roland@hack.frob.com>
69424         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
69425         on _QL, which is set by umul_ppmm but never used.
69426         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
69427         variables, which are set by GMP macros but never used.
69428         * stdio-common/_itowa.c (_itowa): Likewise.
69429         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
69430         * stdlib/mod_1.c (mpn_mod_1): Likewise.
69432 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
69434         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
69435         struct La_sh_regs is not constant.
69436         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
69437         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
69438         and struct La_sparc64_regs are not constant.
69440 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
69442         * sysdeps/unix/sysv/linux/kernel-features.h
69443         (__ASSUME_POSIX_TIMERS): Remove.
69444         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
69445         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69446         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
69447         Make code unconditional.
69448         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69449         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
69450         Make code unconditional.
69451         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69452         * sysdeps/unix/sysv/linux/clock_nanosleep.c
69453         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
69454         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69455         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
69456         Make code unconditional.
69457         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69458         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
69459         (__libc_missing_posix_timers): Remove.
69461 2012-08-15  Roland McGrath  <roland@hack.frob.com>
69463         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
69464         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
69466         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
69468         * elf/dl-sym.c: Include <stdlib.h>.
69470         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
69471         constants, which avoids warnings in 32-bit builds.
69473         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
69474         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
69476         * misc/lseek.c: File moved to ...
69477         * io/lseek.c: ... here.
69479         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
69481         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
69482         shifting LEN more than 31 bits at once.
69484 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69486         [BZ #14195]
69487         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
69488         segmentation fault for a case of two empty input strings.
69489         * string/test-strncasecmp.c (check1): Renamed to...
69490         (bz12205): ...this.
69491         (bz14195): Add new testcase for two empty input strings and N > 0.
69492         (test_main): Call new testcase, adapt for renamed function.
69494 2012-08-15  Andreas Jaeger  <aj@suse.de>
69496         [BZ #14090]
69497         * crypt/md5test2.c: New test, based on test supplied by Serge
69498         Belyshev <belyshev@depni.sinp.msu.ru>.
69499         * crypt/Makefile (xtests): Add md5test-giant..
69500         * crypt/Makefile ($(objpfx)md5test-giant): Add.
69502 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
69504         [BZ #14090]
69505         * crypt/md5.c (md5_process_block): Don't assume the buffer
69506         length is less than 2**32.
69507         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
69508         length is less than 2**64.
69510 2012-08-15  Roland McGrath  <roland@hack.frob.com>
69512         * string/str-two-way.h: Include <sys/param.h>.
69513         (MAX): Macro removed.
69515         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
69516         Move #define and #undef of memmove to just before and after
69517         including <string.h>.
69519         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
69520         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
69521         and after including <string.h>.  Move declarations of
69522         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
69523         to before #include "string/memmove.c".
69525         * include/dirent.h: Declare __getdirentries.
69527         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
69528         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
69530 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
69532         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
69533         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
69534         * sysdeps/i386/configure: Regenerated.
69535         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
69536         STABS_CURRENT_FILE, and STABS_FUN.
69537         (END): Remove call to STABS_FUN_END.
69538         (STABS_CURRENT_FILE1): Delete.
69539         (STABS_CURRENT_FILE): Likewise.
69540         (STABS_FUN): Likewise.
69541         (STABS_FUN_END): Likewise.
69542         (STABS_FUN2): Likewise.
69543         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
69544         * sysdeps/x86_64/configure: Regenerated.
69546 2012-08-14  Roland McGrath  <roland@hack.frob.com>
69548         * elf/dl-open.c: Include <atomic.h>.
69549         * elf/dl-lookup.c: Likewise.
69551 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
69553         * sysdeps/unix/sysv/linux/kernel-features.h
69554         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
69555         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
69556         unconditionally.
69557         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
69558         unconditionally.
69559         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
69560         condition on __ASSUME_CLONE_THREAD_FLAGS.
69562 2012-08-14  Andreas Jaeger  <aj@suse.de>
69564         * sysdeps/i386/fpu/libm-test-ulps: Update.
69566 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
69568         * include/atomic.h (atomic_exchange_and_add): Split into ...
69569         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
69570         New atomic macros.
69572 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
69574         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69576 2012-08-13  Jeff Law <law@redhat.com>
69578         * manual/stdio.texi (snprintf): Clarify handling of the trailing
69579         null byte in the output string.
69581 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
69583         * sysdeps/unix/sysv/linux/kernel-features.h
69584         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
69585         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
69586         (__ASSUME_ARG_MAX_STACK_BASED): Define.
69587         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
69588         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
69589         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
69590         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
69592 2012-08-09  Jeff Law <law@redhat.com>
69594         [BZ #13939]
69595         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
69596         When avoid_arena is set, don't retry in the that arena.  Pick the
69597         next one, whatever it might be.
69598         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
69599         (arena_lock): Pass in new parameter to arena_get2.
69600         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
69601         arena_get2.
69602         (__libc_malloc): Unify retrying after main arena failure with
69603         __libc_memalign version.
69604         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
69606 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
69608         [BZ #14166]
69609         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
69610         to __redirect_strstr.
69611         (__strstr_sse42): Use typeof __redirect_strstr.
69612         (__strstr_ia32): Likewise.
69613         (__libc_strstr): New prototype.
69614         (strstr): Renamed to ...
69615         (__libc_strstr): This.
69616         (strstr): New strong alias of __libc_strstr.
69617         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
69618         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
69619         __redirect_time.
69620         Include <time.h>.
69621         (__libc_time): New prototype.
69622         (time_ifunc): Replace time with __libc_time.
69623         (time): New strong alias and hidden definition of __libc_time.
69624         (__GI_time): Remove strong alias.
69625         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
69626         Include <stddef.h>.
69627         (memmove): Redefined to __redirect_memmove.
69628         (__memmove_sse2): Use typeof __redirect_memmove.
69629         (__memmove_ssse3): Likewise.
69630         (__memmove_ssse3_back): Likewise.
69631         (__libc_memmove): New prototype.
69632         (memmove): Renamed to ...
69633         (__libc_memmove): This.
69634         (memmove): New strong alias of __libc_memmove.
69636 2012-08-08  Mark Salter  <msalter@redhat.com>
69638         * elf/elf.h
69639         (R_MN10300_TLS_GD): Define.
69640         (R_MN10300_TLS_LD): Likewise.
69641         (R_MN10300_TLS_LDO): Likewise.
69642         (R_MN10300_TLS_GOTIE): Likewise.
69643         (R_MN10300_TLS_IE): Likewise.
69644         (R_MN10300_TLS_LE): Likewise.
69645         (R_MN10300_TLS_DTPMOD): Likewise.
69646         (R_MN10300_TLS_DTPOFF): Likewise.
69647         (R_MN10300_TLS_TPOFF): Likewise.
69648         (R_MN10300_SYM_DIFF): Likewise.
69649         (R_MN10300_ALIGN): Likewise.
69650         (R_MN10300_NUM): Update.
69652 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
69654         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
69655         Remove.
69657 2012-08-08  Roland McGrath  <roland@hack.frob.com>
69659         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
69661         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
69662         sysdeps/unix -> sysdeps/posix move.
69663         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
69665 2012-08-07      Allan McRae     <allan@archlinux.org>
69667         [BZ #14303]
69668         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
69669         (SUNOS_CPP): Likewise.
69670         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
69671         not found.
69672         (open_input): Call CPP using execvp.
69674 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
69676         * sysdeps/unix/sysv/linux/kernel-features.h
69677         (__ASSUME_PROT_GROWSUPDOWN): Remove.
69678         (__ASSUME_NO_CLONE_DETACHED): Likewise.
69679         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
69680         (__ASSUME_WAITID_SYSCALL): Likewise.
69681         * sysdeps/unix/sysv/linux/dl-execstack.c
69682         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
69683         code unconditional.
69684         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
69685         conditional code.
69686         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
69687         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
69688         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
69689         code.
69690         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
69691         unconditional.
69692         [__ASSUME_WAITID_SYSCALL]: Likewise.
69693         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
69695 2012-08-07  Roland McGrath  <roland@hack.frob.com>
69697         * sysdeps/unix/closedir.c: Renamed to ...
69698         * sysdeps/posix/closedir.c: ... here.
69699         * sysdeps/unix/dirfd.c: Renamed to ...
69700         * sysdeps/posix/dirfd.c: ... here.
69701         * sysdeps/unix/dirstream.h: Renamed to ...
69702         * sysdeps/posix/dirstream.h: ... here.
69703         * sysdeps/unix/fdopendir.c: Renamed to ...
69704         * sysdeps/posix/fdopendir.c: ... here.
69705         * sysdeps/unix/opendir.c: Renamed to ...
69706         * sysdeps/posix/opendir.c: ... here.
69707         * sysdeps/unix/readdir.c: Renamed to ...
69708         * sysdeps/posix/readdir.c: ... here.
69709         * sysdeps/unix/readdir_r.c: Renamed to ...
69710         * sysdeps/posix/readdir_r.c: ... here.
69711         * sysdeps/unix/rewinddir.c: Renamed to ...
69712         * sysdeps/posix/rewinddir.c: ... here.
69713         * sysdeps/unix/seekdir.c: Renamed to ...
69714         * sysdeps/posix/seekdir.c: ... here.
69715         * sysdeps/unix/telldir.c: Renamed to ...
69716         * sysdeps/posix/telldir.c: ... here.
69717         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
69718         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
69719         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
69720         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
69722         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
69723         * bits/fcntl.h: ... here.
69725         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
69726         not 0.
69727         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
69728         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
69729         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
69730         (struct flock): Move l_start, l_len to the beginning.
69731         Use __pid_t for l_pid.
69732         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
69733         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
69734         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
69735         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
69736         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
69737         [__USE_LARGEFILE64] (struct flock64): New type.
69738         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
69740         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
69741         * bits/dirent.h: ... here.
69743         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
69744         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
69746 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
69748         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69749         Change from 2.6.0 to 2.6.16.
69750         * sysdeps/unix/sysv/linux/configure: Regenerated.
69751         * sysdeps/unix/sysv/linux/kernel-features.h
69752         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
69753         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
69754         version.
69755         (__ASSUME_UTIMES): Likewise.
69756         (__ASSUME_CLONE_STOPPED): Remove.
69757         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
69758         architectures, not kernel version.
69759         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
69760         (__ASSUME_NO_CLONE_DETACHED): Likewise.
69761         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
69762         (__ASSUME_WAITID_SYSCALL): Likewise.
69763         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
69764         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
69765         * README: State 2.6.16 as minimum Linux kernel version.  Do not
69766         refer to older versions.
69768 2012-08-06  Roland McGrath  <roland@hack.frob.com>
69770         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
69771         Define alphasort64 as an alias.
69772         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
69773         Define versionsort64 as an alias.
69774         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
69775         Define scandir64 as an alias.
69776         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
69777         Define scandirat64 as an alias.
69778         * dirent/alphasort64.c (alphasort64):
69779         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
69780         * dirent/versionsort64.c: Likewise.
69781         * dirent/scandir64.c: Likewise.
69782         * dirent/scandirat64.c: Likewise.
69783         * sysdeps/wordsize-64/alphasort.c: File removed.
69784         * sysdeps/wordsize-64/alphasort64.c: File removed.
69785         * sysdeps/wordsize-64/scandir.c: File removed.
69786         * sysdeps/wordsize-64/scandir64.c: File removed.
69787         * sysdeps/wordsize-64/scandirat.c: File removed.
69788         * sysdeps/wordsize-64/scandirat64.c: File removed.
69789         * sysdeps/wordsize-64/versionsort.c: File removed.
69790         * sysdeps/wordsize-64/versionsort64.c: File removed.
69791         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
69792         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
69793         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
69794         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
69795         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
69796         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
69797         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
69798         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
69800         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
69801         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
69802         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
69803         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69804         [defined __arch64__ || defined __sparcv9]
69805         (__INO_T_MATCHES_INO64_T): New macro.
69806         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69807         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
69808         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
69809         * sysdeps/unix/sysv/linux/bits/dirent.h
69810         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
69811         (_DIRENT_MATCHES_DIRENT64): New macro.
69813         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
69814         Define lockf64 as an alias.
69815         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
69816         Define fseeko64 as an alias.
69817         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
69818         Define ftello64 as an alias.
69819         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
69820         Define _IO_fgetpos64 and fgetpos64 as aliases.
69821         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
69822         Define _IO_fsetpos64 and fsetpos64 as aliases.
69823         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
69824         Conditionalize body on this.
69825         * libio/fseeko64.c: Likewise.
69826         * libio/ftello64.c: Likewise.
69827         * libio/iofgetpos64.c: Likewise.
69828         * libio/iofsetpos64.c: Likewise.
69829         * sysdeps/wordsize-64/lockf.c: File removed.
69830         * sysdeps/wordsize-64/lockf64.c: File removed.
69831         * sysdeps/wordsize-64/fseeko.c: File removed.
69832         * sysdeps/wordsize-64/fseeko64.c: File removed.
69833         * sysdeps/wordsize-64/ftello.c: File removed.
69834         * sysdeps/wordsize-64/ftello64.c: File removed.
69835         * sysdeps/wordsize-64/iofgetpos.c: File removed.
69836         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
69837         * sysdeps/wordsize-64/iofsetpos.c: File removed.
69838         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
69839         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
69840         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
69841         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
69842         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
69843         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
69844         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
69845         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
69846         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
69847         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
69848         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
69850         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
69851         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
69852         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
69853         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69854         [defined __arch64__ || defined __sparcv9]
69855         (__OFF_T_MATCHES_OFF64_T): New macro.
69856         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69857         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
69858         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69859         (__OFF_T_MATCHES_OFF64_T): New macro.
69861 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
69863         * stdlib/secure-getenv.c (__secure_getenv): Replace
69864         GLIBC_2_16 with GLIBC_2_17.
69866 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
69868         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
69869         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
69871 2012-08-03  David S. Miller  <davem@davemloft.net>
69873         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69875 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
69877         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
69878         Remove.
69879         (__ASSUME_CORRECT_SI_PID): Likewise.
69880         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
69881         (__ASSUME_TMPFS_NAME): Likewise.
69882         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
69883         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
69884         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
69885         (HAVE_AUX_SECURE): Make definition unconditional.
69886         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
69887         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
69889 2012-08-03  Roland McGrath  <roland@hack.frob.com>
69891         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
69892         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
69893         * sysdeps/mach/hurd/eloop-threshold.h: New file.
69894         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
69895         __eloop_threshold instead of SYMLOOP_MAX.
69897         * sysdeps/generic/eloop-threshold.h: New file.
69898         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
69899         of MAXSYMLINKS.
69900         * elf/chroot_canon.c (chroot_canon): Likewise.
69902 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
69904         [BZ #13717]
69905         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69906         Change to 2.6.0 everywhere.
69907         * sysdeps/unix/sysv/linux/configure: Regenerated.
69908         * sysdeps/unix/sysv/linux/kernel-features.h
69909         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
69910         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
69911         kernel versions.
69912         (__ASSUME_POSIX_TIMERS): Define unconditionally.
69913         (__ASSUME_FUTEX_REQUEUE): Remove.
69914         (__ASSUME_STATFS64): Define unconditionally.
69915         (__ASSUME_AT_SECURE): Likewise.
69916         (__ASSUME_CORRECT_SI_PID): Likewise.
69917         (__ASSUME_TGKILL): Define without depending on kernel version for
69918         i386.
69919         (__ASSUME_UTIMES): Likewise.
69920         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
69921         kernel version.
69922         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
69923         (__ASSUME_TMPFS_NAME): Likewise.
69924         * README: Update reference to Linux kernel versions.
69926 2012-08-02  Marek Polacek  <polacek@redhat.com>
69928         [BZ# 14150]
69929         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
69930         libc_cv_asm_type_prefix with %.
69931         * configure: Regenerated.
69932         * include/libc-symbols.h: Remove comment about
69933         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
69934         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
69935         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
69936         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
69937         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
69938         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
69939         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
69940         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
69941         * elf/tst-unique2mod1.c: Likewise.
69942         * elf/tst-unique1mod2.c: Likewise.
69943         * elf/tst-unique1mod1.c: Likewise.
69944         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
69945         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
69946         Replace ASM_TYPE_DIRECTIVE with .type.
69947         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69948         * sysdeps/i386/sysdep.h: Likewise.
69949         * sysdeps/x86_64/sysdep.h: Likewise.
69950         * sysdeps/sh/sysdep.h: Likewise.
69951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
69952         Do not define ASM_TYPE_DIRECTIVE.
69953         * sysdeps/powerpc/sysdep.h: Likewise.
69954         * sysdeps/powerpc/powerpc32/sysdep.h:
69955         Replace ASM_TYPE_DIRECTIVE with .type.
69956         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
69957         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
69958         * sysdeps/i386/fpu/e_powf.S: Likewise.
69959         * sysdeps/i386/fpu/e_expl.S: Likewise.
69960         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69961         * sysdeps/i386/fpu/e_acosh.S: Likewise.
69962         * sysdeps/i386/fpu/e_pow.S: Likewise.
69963         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
69964         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69965         * sysdeps/i386/fpu/s_expm1.S: Likewise.
69966         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
69967         * sysdeps/i386/fpu/e_log2.S: Likewise.
69968         * sysdeps/i386/fpu/e_log2l.S: Likewise.
69969         * sysdeps/i386/fpu/e_scalb.S: Likewise.
69970         * sysdeps/i386/fpu/e_powl.S: Likewise.
69971         * sysdeps/i386/fpu/e_log10f.S: Likewise.
69972         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
69973         * sysdeps/i386/fpu/e_logl.S: Likewise.
69974         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
69975         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
69976         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
69977         * sysdeps/i386/fpu/e_log2f.S: Likewise.
69978         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69979         * sysdeps/i386/fpu/e_log.S: Likewise.
69980         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69981         * sysdeps/i386/fpu/e_logf.S: Likewise.
69982         * sysdeps/i386/fpu/e_log10l.S: Likewise.
69983         * sysdeps/i386/fpu/e_atanh.S: Likewise.
69984         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
69985         * sysdeps/i386/fpu/e_log10.S: Likewise.
69986         * sysdeps/i386/fpu/s_frexp.S: Likewise.
69987         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69988         * sysdeps/i386/fpu/s_asinh.S: Likewise.
69989         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
69990         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69991         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
69992         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
69993         * sysdeps/i386/i686/strtok.S: Likewise.
69994         * sysdeps/i386/i386-mcount.S: Likewise.
69995         * sysdeps/i386/strtok.S: Likewise.
69996         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
69997         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
69998         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69999         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70000         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
70001         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70002         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
70003         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
70004         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70005         * sysdeps/x86_64/_mcount.S: Likewise.
70006         * sysdeps/x86_64/strtok.S: Likewise.
70007         * sysdeps/sh/_mcount.S: Likewise.
70009 2012-08-01  Roland McGrath  <roland@hack.frob.com>
70011         * libio/iofopen.c: Include <fcntl.h>.
70012         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
70013         (_IO_fopen64, fopen64): Define as aliases.
70014         * libio/iofopen64.c: Include <fcntl.h>.
70015         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
70016         Conditionalize body on this.
70017         * sysdeps/wordsize-64/iofopen.c: File removed.
70018         * sysdeps/wordsize-64/iofopen64.c: File removed.
70020 2012-08-01  Marek Polacek  <polacek@redhat.com>
70022         * libc/Makeconfig: Use elf in place of binfmt-subdir.
70023         Use dlfcn directly instead of a variable.
70024         (binfmt-subdir): Do not define.
70025         (dlfcn): Likewise.
70027 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
70029         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
70030         Remove all definitions.
70031         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
70032         <kernel-features.h>.
70033         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
70034         (miss_F_GETOWN_EX): Remove all definitions.
70035         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
70036         macro definition.
70037         [!__ASSUME_FCNTL64]: Remove conditional code.
70038         [__ASSUME_FCNTL64]: Make code unconditional.
70039         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
70040         <kernel-features.h>.
70041         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
70042         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
70043         (lockf64) [__NR_fcntl64]: Make code unconditional.
70044         (lockf64) [__ASSUME_FCNTL64]: Likewise.
70046         * sysdeps/unix/sysv/linux/kernel-features.h
70047         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
70048         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
70049         Make code unconditional.
70050         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
70051         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
70052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
70053         [__NR_vfork]: Make code unconditional.
70054         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
70055         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
70056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
70057         [__NR_vfork]: Make code unconditional.
70058         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
70059         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
70061 2012-08-01  Roland McGrath  <roland@hack.frob.com>
70063         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
70064         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
70066         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
70067         Define mkstemp64 as an alias.
70068         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
70069         Define mkstemps64 as an alias.
70070         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
70071         Define mkostemp64 as an alias.
70072         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
70073         Define mkostemps64 as an alias.
70074         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
70075         Conditionalize body on this.
70076         * misc/mkostemp64.c: Likewise.
70077         * misc/mkostemps64.c: Likewise.
70078         * misc/mkstemps64.c: Likewise.
70079         * sysdeps/wordsize-64/mkstemp64.c: File removed.
70080         * sysdeps/wordsize-64/mkostemp64.c: File removed.
70081         * sysdeps/wordsize-64/mkostemp.c: File removed.
70082         * sysdeps/wordsize-64/mkstemp.c: File removed.
70083         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
70084         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
70085         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
70086         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
70088         [BZ #14138]
70089         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
70090         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
70091         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
70092         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
70094         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
70095         compat_symbol macros from <shlib-compat.h> rather than the underlying
70096         default_symbol_version and symbol_version macros, so that DEFAULT
70097         lines in shlib-versions are respected.
70098         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
70100 2012-08-01  Florian Weimer  <fweimer@redhat.com>
70102         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
70103         Declare with warn_unused_result.
70104         (setgid, setregid, setegid, setresgid): Likewise.
70105         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
70106         Likewise.
70107         * WUR-REPORT: Remove set*id functions.
70109 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
70111         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
70113 2012-07-31  Roland McGrath  <roland@hack.frob.com>
70115         [BZ #10191]
70116         * include/sys/socket.h (__libc_accept, __libc_accept4):
70117         Add attribute_hidden.
70118         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
70120         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
70121         use of PTR_MANGLE.
70122         * inet/getnetgrent_r.c (setup): Likewise.
70124         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
70126 2012-07-31  David S. Miller  <davem@davemloft.net>
70128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70130 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
70132         [BZ #13629]
70133         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
70134         value between 1.0 and 2.0 and smaller part has absolute value less
70135         than 1.0.
70136         * math/s_clog10.c (__clog10): Likewise.
70137         * math/s_clog10f.c (__clog10f): Likewise.
70138         * math/s_clog10l.c (__clog10l): Likewise.
70139         * math/s_clogf.c (__clogf): Likewise.
70140         * math/s_clogl.c (__clogl): Likewise.
70141         * math/libm-test.inc (clog_test): Add more tests.
70142         (clog10_test): Likewise.
70143         * sysdeps/i386/fpu/libm-test-ulps: Update.
70144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70146 2012-07-31  Florian Weimer  <fweimer@redhat.com>
70148         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
70149         Exit with zero in case no suitable GID is found, and write a
70150         message to standard error.
70152 2012-07-30  Roland McGrath  <roland@hack.frob.com>
70154         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
70155         rather than to 1.
70156         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
70157         (MAXPATHLEN): Removed.
70158         (NOGROUP, NODEV): New macros.
70159         (setbit, clrbit, isset, isclr): New macros.
70160         (howmany, roundup, powerof2): New macros.
70161         (DEV_BSIZE): New macro.
70163         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
70164         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
70166         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
70167         definition on [!__NO_LONG_DOUBLE_MATH].
70169         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
70170         PTR_MANGLE and PTR_DEMANGLE.
70172         * socket/accept4.c (accept4): Rename to __libc_accept4.
70173         Define accept4 as a weak alias.
70175         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
70176         on [_DIRENT_HAVE_D_TYPE].
70177         * io/ftw.c (ftw_dir): Likewise.
70179         * io/xmknod.c (__xmknod): Don't check PATH for being null.
70181         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
70183         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
70184         Use the BSD numbers rather than the arbitrary ones we had.
70185         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
70186         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
70187         (SIGXCPU, SIGXFSZ): New macros.
70188         (_NSIG): Now 32.
70190         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
70191         initializer on [_LIBC_REENTRANT].
70193         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
70194         definitions inside [_POSIX_MAPPED_FILES].
70196         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
70198         * dirent/opendir.c: Include <fcntl.h>.
70200         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
70201         (__libc_getspecific): Likewise.
70202         (__libc_key_create): Likewise.
70204         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
70205         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
70206         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
70207         (tmpfile64): Define as alias.
70208         * sysdeps/wordsize-64/tmpfile.c: File removed.
70209         * sysdeps/wordsize-64/tmpfile64.c: File removed.
70210         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
70211         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
70213         * stdio-common/vfscanf.c: Include <stdbool.h>.
70214         * nss/makedb.c: Likewise.
70215         * stdio-common/_i18n_number.h: Likewise.
70216         * argp/argp-help.c: Likewise.
70217         * posix/wordexp.c: Likewise.
70218         * sysdeps/posix/spawni.c: Likewise.
70219         * nss/nss_files/files-initgroups.c: Likewise.
70220         * stdio-common/reg-modifier.c: Include <stdlib.h>.
70221         * nss/nss_files/files-initgroups.c: Likewise.
70222         * nss/nss_db/db-netgrp.c: Likewise.
70223         * nss/nss_db/db-initgroups.c: Likewise.
70224         * io/fchmodat.c: Include <sys/stat.h>.
70226         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
70227         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
70229         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
70230         [HAVE_MMAP].
70232         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
70233         Add multiple inclusion protection.
70235 2012-07-27  David S. Miller  <davem@davemloft.net>
70237         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70239 2012-07-27  Gary Benson  <gbenson@redhat.com>
70241         [BZ #14298]
70242         * elf/rtld.c: Include <stap-probe.h>.
70243         (dl_main): Added static probes "init_start" and "init_complete".
70244         * elf/dl-load.c: Include <stap-probe.h>.
70245         (lose): Take new parameter "nsid".
70246         Added static probe "map_failed".
70247         (_dl_map_object_from_fd): Pass namespace id to lose.
70248         Added static probe "map_start".
70249         (open_verify): Pass namespace id to lose.
70250         * elf/dl-open.c: Include <stap-probe.h>.
70251         (dl_open_worker) Added static probes "map_complete", "reloc_start"
70252         and "reloc_complete".
70253         * elf/dl-close.c: Include <stap-probe.h>.
70254         (_dl_close_worker): Added static probes "unmap_start" and
70255         "unmap_complete".
70256         * elf/rtld-debugger-interface.txt: New file documenting the above.
70258 2012-07-26  Roland McGrath  <roland@hack.frob.com>
70260         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
70261         rather than a string variable.
70262         * sunrpc/rpc_main.c (h_output): Likewise.
70263         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
70265 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
70267         * inet/check_native.c: New file.
70269 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
70271         [BZ #13629]
70272         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
70273         if larger part has absolute value 1.0.
70274         * math/s_clog10.c (__clog10): Likewise.
70275         * math/s_clog10f.c (__clog10f): Likewise.
70276         * math/s_clog10l.c (__clog10l): Likewise.
70277         * math/s_clogf.c (__clogf): Likewise.
70278         * math/s_clogl.c (__clogl): Likewise.
70279         * math/libm-test.inc (clog_test): Add more tests.
70280         (clog10_test): Likewise.
70281         * sysdeps/i386/fpu/libm-test-ulps: Update.
70282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70284         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
70285         (pltexit): Likewise.
70286         (La_regs): Likewise.
70287         (La_retval): Likewise.
70288         (int_retval): Likewise.
70289         Update #error for removed macros to refer only to definitions in
70290         tst-audit.h.
70291         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
70292         macro.
70293         (pltexit): Likewise.
70294         (La_regs): Likewise.
70295         (La_retval): Likewise.
70296         (int_retval): Likewise.
70297         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
70298         macro.
70299         (pltexit): Likewise.
70300         (La_regs): Likewise.
70301         (La_retval): Likewise.
70302         (int_retval): Likewise.
70303         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
70304         macro.
70305         (pltexit): Likewise.
70306         (La_regs): Likewise.
70307         (La_retval): Likewise.
70308         (int_retval): Likewise.
70309         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
70310         macro.
70311         (pltexit): Likewise.
70312         (La_regs): Likewise.
70313         (La_retval): Likewise.
70314         (int_retval): Likewise.
70315         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
70316         macro.
70317         (pltexit): Likewise.
70318         (La_regs): Likewise.
70319         (La_retval): Likewise.
70320         (int_retval): Likewise.
70321         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
70322         macro.
70323         (pltexit): Likewise.
70324         (La_regs): Likewise.
70325         (La_retval): Likewise.
70326         (int_retval): Likewise.
70327         * sysdeps/generic/tst-audit.h: Update comment to refer only to
70328         macro definitions in tst-audit.h.
70329         * sysdeps/i386/tst-audit.h: New file.
70330         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
70331         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
70332         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
70333         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
70334         * sysdeps/sh/tst-audit.h: Likewise.
70335         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
70336         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
70337         * sysdeps/x86_64/tst-audit.h: Likewise.
70339 2012-07-26  Andreas Jaeger  <aj@suse.de>
70341         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
70342         ptrace.
70344         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
70345         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
70346         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
70347         PTRACE_O_MASK.
70348         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
70349         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
70350         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
70352         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
70353         value.
70355         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
70356         _sigsys.
70357         (si_call_addr, si_syscall, si_arch): Define new macro.
70358         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
70359         _sigsys.
70360         (si_call_addr, si_syscall, si_arch): Define new marcro.
70361         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
70362         _sigsys.
70363         (si_call_addr, si_syscall, si_arch): Define new macro.
70364         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
70365         _sigsys.
70366         (si_call_addr, si_syscall, si_arch): Define new macro.
70368 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
70370         [BZ #13717]
70371         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
70372         Change to 2.4.21 where previously 2.4.1.
70373         * sysdeps/unix/sysv/linux/configure: Regenerated.
70374         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
70375         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
70376         Linux kernel version.
70377         (__ASSUME_STD_AUXV): Remove.
70378         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
70379         kernel version.
70380         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
70381         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
70382         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
70383         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
70384         (__ASSUME_NETLINK_SUPPORT): Likewise.
70385         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
70386         (__no_netlink_support): Remove conditional definition.
70387         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
70388         Remove.
70389         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
70390         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
70391         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
70392         (if_nameindex_ioctl): Remove.
70393         (if_nameindex_netlink): Do not handle __no_netlink_support.
70394         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
70395         code.
70396         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
70397         Remove conditional code.
70398         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
70399         code.
70400         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
70401         unconditional.
70402         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
70403         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
70404         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
70405         Remove.
70406         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
70407         [!__ASSUME_STD_AUXV]: Remove conditional code.
70408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
70409         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
70410         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
70411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
70412         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
70413         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
70414         code.
70415         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
70416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
70417         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
70418         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
70419         conditional code.
70420         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
70421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
70422         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
70423         code.
70424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
70425         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
70426         conditional code.
70427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
70428         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
70429         code unconditional.
70430         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70431         conditional code.
70432         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
70433         unconditional.
70434         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70435         conditional code.
70436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
70437         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
70438         unconditional.
70439         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70440         conditional code.
70441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
70442         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
70443         code unconditional.
70444         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70445         conditional code.
70446         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
70447         unconditional.
70448         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70449         conditional code.
70450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
70451         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
70452         code unconditional.
70453         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70454         conditional code.
70455         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
70456         unconditional.
70457         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70458         conditional code.
70460 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
70462         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
70463         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
70464         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
70465         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
70466         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
70467         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
70468         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
70469         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
70470         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
70471         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
70472         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
70473         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
70474         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
70475         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
70476         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
70477         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
70478         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
70479         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
70480         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
70481         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
70482         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
70483         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
70484         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
70486 2012-07-25  Florian Weimer  <fweimer@redhat.com>
70488         * Versions.def: Add GLIBC_2.17.
70489         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
70490         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
70491         Introduce __libc_secure_getenv.
70492         * stdlib/Versions (2.17): Add secure_getenv
70493         (GLIBC_PRIVATE): Add __libc_secure_getenv.
70494         * stdlib/secure-getenv.c: Rename __secure_getenv to
70495         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
70496         symbol __secure_getenv for GLIBC_2.0.
70497         * stdlib/tst-secure-getenv.c: New.
70498         * stdlib/Makefile (tests): Add testcase.
70499         * manual/startup.texi (Environment Access): Document
70500         secure_getenv.
70501         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
70502         __libc_secure_getenv.
70503         * inet/ruserpass.c (ruserpass): Likewise.
70504         * malloc/mtrace.c (mtrace): Likewise.
70505         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
70506         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
70507         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
70508         * sysdeps/posix/tempname.c: Likewise.  Evaluate
70509         HAVE_SECURE_GETENV.
70510         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
70511         __secure_getenv to __libc_secure_getenv.
70512         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
70513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70514         Likewise.
70515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70516         Likewise.
70517         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
70518         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
70519         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70520         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
70521         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
70522         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70523         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
70525 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
70527         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
70528         (struct La_i86_retval): Likewise.
70529         (struct La_x86_64_regs): Likewise.
70530         (struct La_x86_64_retval): Likewise.
70531         (struct La_x32_regs): Likewise.
70532         (struct La_x32_retval): Likewise.
70533         (struct La_ppc32_regs): Likewise.
70534         (struct La_ppc32_retval): Likewise.
70535         (struct La_ppc64_regs): Likewise.
70536         (struct La_ppc64_retval): Likewise.
70537         (struct La_sh_regs): Likewise.
70538         (struct La_sh_retval): Likewise.
70539         (struct La_s390_32_regs): Likewise.
70540         (struct La_s390_32_retval): Likewise.
70541         (struct La_s390_64_regs): Likewise.
70542         (struct La_s390_64_retval): Likewise.
70543         (struct La_sparc32_regs): Likewise.
70544         (struct La_sparc32_retval): Likewise.
70545         (struct La_sparc64_regs): Likewise.
70546         (struct La_sparc64_retval): Likewise.
70547         (struct audit_ifaces): Remove architecture-specific pltenter and
70548         pltexit members.
70549         * sysdeps/i386/ldsodefs.h: New file.
70550         * sysdeps/powerpc/ldsodefs.h: Likewise.
70551         * sysdeps/s390/ldsodefs.h: Likewise.
70552         * sysdeps/sh/ldsodefs.h: Likewise.
70553         * sysdeps/sparc/ldsodefs.h: Likewise.
70554         * sysdeps/x86_64/ldsodefs.h: Likewise.
70556 2012-07-25  Marek Polacek  <polacek@redhat.com>
70558         [BZ #6808]
70559         * math/libm-test.inc (yn_test): Add another test.
70560         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
70561         to ERANGE when the result is +-Inf.
70562         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
70563         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
70564         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
70565         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
70567 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
70569         * conform/data/time.h-data (NULL): Use macro-constant.  Require
70570         equal to 0.
70571         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
70572         clock_t.
70573         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
70575 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
70577         * configure.in <sysdeps resolving>: Correct printing
70578         Implies_before.
70579         * configure: Regenerate.
70581 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
70583         * math/w_ilogb.c: Include <limits.h>.
70584         * math/w_ilogbl.c: Likewise.
70586 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
70588         * manual/lang.texi (__va_copy): Document primarily as ISO C99
70589         va_copy.  Document allowing for unavailable va_copy only as
70590         pre-C99 compatibility.
70591         * manual/string.texi (Copying and Concatenation): Use va_copy
70592         instead of __va_copy in concat example.
70594 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
70596         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
70597         (__sendto): Use create_address_port.  Initialize APORT and deallocate
70598         it if not null.
70600         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
70601         with O_NOLINK passed to __file_name_lookup.
70603         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
70604         with O_NOLINK passed to __file_name_lookup.
70606         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
70607         negative N or less than NGIDS.
70609         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
70610         type to string_t.  Set ERANGE as errno and return it if NAME is not big
70611         enough.  Use memcpy instead of strncpy.
70613 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
70615         * elf/Makefile (check-data): Remove.
70616         (localplt.data): New vpath directive.
70617         ($(objpfx)check-localplt.out): Use localplt.data from vpath
70618         instead of $(check-data).
70619         * scripts/data/localplt-generic.data: Move to ...
70620         * sysdeps/generic/localplt.data: ... here.
70621         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
70622         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
70623         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
70624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
70625         ... here.
70626         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
70627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
70628         ... here.
70629         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
70630         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
70631         ... here.
70632         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
70633         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
70634         ... here.
70635         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
70636         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
70637         ... here.
70638         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
70639         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
70640         ... here.
70642 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70644         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
70645         PPC32 and PPC64 files.
70646         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
70647         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
70649 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70651         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
70652         __makecontext_ret to ...
70653         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
70654         ... here and call exit if uc_link is NULL.  New file.
70655         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
70656         __makecontext_ret.S.
70657         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
70658         __makecontext_ret to ...
70659         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
70660         ... here and call exit if uc_link is NULL.  New file.
70661         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
70662         __makecontext_ret.S.
70664 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70666         * elf/elf.h (R_390_IRELATIVE): New definition.
70667         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
70668         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
70669         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
70670         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
70671         (elf_machine_lazy_rel): Likewise.
70672         * sysdeps/s390/dl-irel.h: New file.
70673         * sysdeps/s390/s390-64/memcpy.S: New asm code.
70674         * sysdeps/s390/s390-64/memset.S: New asm code.
70675         * sysdeps/s390/s390-64/memcmp.S: New asm code.
70676         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
70677         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
70678         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
70679         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
70680         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
70681         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
70682         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
70683         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
70684         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
70685         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
70686         * sysdeps/s390/s390-32/memcpy.S: New asm code.
70687         * sysdeps/s390/s390-32/memset.S: New asm code.
70688         * sysdeps/s390/s390-32/memcmp.S: New asm code.
70690 2012-07-17  Marek Polacek  <polacek@redhat.com>
70692         [BZ #14349]
70693         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
70694         * sysdeps/s390/s390-64/configure.in: Likewise.
70695         * sysdeps/sparc/configure.in: Likewise.
70696         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
70697         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
70698         * sysdeps/i386/configure.in: Likewise.
70699         * sysdeps/x86_64/configure.in: Likewise.
70700         * sysdeps/sh/configure.in: Likewise.
70701         * sysdeps/s390/s390-32/configure: Regenerated.
70702         * sysdeps/s390/s390-64/configure: Likewise.
70703         * sysdeps/x86_64/configure: Likewise.
70704         * sysdeps/sh/configure: Likewise.
70705         * sysdeps/powerpc/powerpc64/configure: Likewise.
70706         * sysdeps/powerpc/powerpc32/configure: Likewise.
70707         * sysdeps/sparc/configure: Likewise.
70708         * sysdeps/i386/configure: Likewise.
70710         * elf/dl-open.c: Comment fixes.
70712 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
70714         * Makefile [CXX] (check-data): Remove.
70715         [CXX] (c++-types.data): New vpath directive.
70716         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
70717         vpath.  Do not allow for C++ type data being missing.
70718         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
70719         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
70720         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
70721         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
70722         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
70723         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
70724         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
70725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
70726         ... here.
70727         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
70728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
70729         ... here.
70730         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
70731         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
70732         ... here.
70733         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
70734         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
70735         ... here.
70736         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
70737         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
70738         ... here.
70739         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
70740         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
70741         ... here.
70742         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
70743         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
70744         ... here.
70745         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
70746         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
70748         * elf/tls-macros.h (TLS_LE): Move architecture-specific
70749         definitions to architecture-specific files.
70750         (TLS_IE): Likewise.
70751         (TLS_LD): Likewise.
70752         (TLS_GD): Likewise.
70753         * sysdeps/i386/tls-macros.h: New file.
70754         * sysdeps/powerpc/tls-macros.h: Likewise.
70755         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
70756         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
70757         * sysdeps/sh/tls-macros.h: Likewise.
70758         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
70759         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
70760         * sysdeps/x86_64/tls-macros.h: Likewise.
70762 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
70764         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
70765         zero value for regular exit case.
70767         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
70768         (__start_context): Preserve zero value for regular exit case.
70770 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
70771             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70773         * manual/setjmp.texi (setcontext): Clarify normal process
70774         termination when uc_link is the null pointer.
70775         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
70776         exit call.
70778 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
70780         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
70781         preprocessor.  Test for each exception mask separately.
70783 2012-07-16  Andreas Jaeger  <aj@suse.de>
70785         * po/ru.po: Update from translation team.
70787 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
70789         * conform/data/string.h-data (NULL): Use macro-constant.  Require
70790         equal to 0.
70791         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
70792         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
70793         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
70794         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
70795         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70797 2012-07-13  Andreas Jaeger  <aj@suse.de>
70799         * po/fr.po: Update from translation team.
70801 2012-07-12  Marek Polacek  <polacek@redhat.com>
70803         [BZ #14173]
70804         * math/libm-test.inc (yn_test): Add test for BZ #14173.
70805         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
70806         loop condition.
70808 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
70810         [BZ #13717]
70811         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
70812         Change to 2.4.1 where previously 2.4.0.
70813         * sysdeps/unix/sysv/linux/configure: Regenerated.
70814         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
70815         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
70816         version.
70817         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
70818         (__ASSUME_AT_CLKTCK): Remove.
70819         (__ASSUME_AT_PAGESIZE): Likewise.
70820         (__ASSUME_AT_XID): Likewise.
70821         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
70822         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
70823         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
70824         unconditionally.
70825         (HAVE_AUX_PAGESIZE): Likewise.
70826         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
70827         [__ASSUME_AT_CLKTCK]: Make code unconditional.
70828         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
70830 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
70832         [BZ #14307]
70833         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
70834         the temporary buffer used to invoke __gethostbyname2_r,
70835         __gethostbyaddr_r and gethostbyname4_r to make room for struct
70836         host_data / struct gaih_addrtuple.
70837         * resolv/nss_dns/dns-host.c (global scope): Move definition of
70838         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
70839         header file nss/nsswitch.h.
70840         * nss/nsswitch.h (global scope): Add definition of implementation
70841         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
70842         resolv/nss_dns/dns-host.c).
70844 2012-07-11  Andreas Jaeger  <aj@suse.de>
70846         * po/fr.po: Update from translation team.
70848         * po/sv.po: Update from translation team
70849         * po/fr.po: Another update from translation team.
70851 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70853         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
70854         for subnormals or multiply small sinh result by itself.
70855         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
70856         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70858 2012-07-11  David S. Miller  <davem@davemloft.net>
70860         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70862 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
70864         [BZ #14347]
70865         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
70866         (INTERNAL_MARK): Shift it here.
70868 2012-07-10  Marek Polacek  <polacek@redhat.com>
70870         [BZ #14151]
70871         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
70872         libc_cv_asm_global_directive with .globl.
70873         * configure: Regenerated.
70874         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
70875         with .globl.
70876         * sysdeps/i386/configure: Regenerated.
70877         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
70878         with .globl.
70879         * sysdeps/x86_64/configure: Regenerated.
70880         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
70881         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
70882         * elf/tst-unique2mod2.c: Likewise.
70883         * elf/tst-unique2mod1.c: Likewise.
70884         * elf/tst-unique1mod2.c: Likewise.
70885         * elf/tst-unique1mod1.c: Likewise.
70886         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70887         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
70888         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70889         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
70890         * sysdeps/mach/sysdep.h: Likewise.
70891         * sysdeps/i386/sysdep.h: Likewise.
70892         * sysdeps/i386/i386-mcount.S: Likewise.
70893         * sysdeps/x86_64/_mcount.S: Likewise.
70894         * sysdeps/x86_64/sysdep.h: Likewise.
70895         * sysdeps/sh/_mcount.S: Likewise.
70896         * sysdeps/sh/sysdep.h: Likewise.
70897         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
70898         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
70899         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
70900         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70901         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
70902         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
70903         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
70904         * locale/localeinfo.h: Likewise.
70905         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
70906         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
70908 2012-07-09  Roland McGrath  <roland@hack.frob.com>
70910         [BZ #14336]
70911         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
70912         system".
70913         * manual/message.texi (The Uniforum approach): Likewise.
70914         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
70915         (glibc iconv Implementation): Likewise.
70917 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
70919         [BZ #14337]
70920         * math/s_clog.c (__clog): Avoid scaling a value down where that
70921         could result in underflow.
70922         * math/s_clog10.c (__clog10): Likewise.
70923         * math/s_clog10f.c (__clog10f): Likewise.
70924         * math/s_clog10l.c (__clog10l): Likewise.
70925         * math/s_clogf.c (__clogf): Likewise.
70926         * math/s_clogl.c (__clogl): Likewise.
70927         * math/libm-test.inc (clog_test): Add more tests.
70928         (clog10_test): Likewise.
70929         * sysdeps/i386/fpu/libm-test-ulps: Update.
70930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70932 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
70934         [BZ #14283]
70935         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
70936         by 7 not 8 to examine high bit of fractional part.
70938         [BZ #14042]
70939         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
70940         for call to __mcount_internal.
70941         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
70942         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
70943         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
70945 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
70947         [BZ #14154]
70948         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
70949         approximation for values within 0x1p-13f of an odd multiple of
70950         pi/4.
70951         * math/libm-test.inc (tan_test): Do not allow spurious underflow
70952         exception.  Add more tests.
70953         * sysdeps/i386/fpu/libm-test-ulps: Update.
70955         [BZ #6778]
70956         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
70957         inputs and return -1 for them.  Do not check for +Inf in case not
70958         reachable for +Inf.
70959         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
70960         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
70961         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
70962         and return -1 for them.  Do not check for +Inf in case not
70963         reachable for +Inf.
70964         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
70965         define.
70966         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
70967         and return -1 for them.  Do not check for +Inf in case not
70968         reachable for +Inf.
70969         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
70970         spurious underflow.
70971         * sysdeps/i386/fpu/libm-test-ulps: Update.
70972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70974 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
70976         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
70978 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
70980         [BZ #14157]
70981         [BZ #14331]
70982         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
70983         could result in spurious underflow.  Scale down values above
70984         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
70985         * math/s_csqrtf.c (__csqrtf): Likewise.
70986         * math/s_csqrtl.c (__csqrtl): Likewise.
70987         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
70988         spurious underflow.
70989         * sysdeps/i386/fpu/libm-test-ulps: Update.
70990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70992 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
70994         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
70995         xopen-msg.sed.
70996         * catgets/xopen-msg.awk: New file.
70997         * catgets/xopen-msg.sed: Removed.
70999         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
71000         po2text.sed.
71001         * intl/po2test.awk: New file.
71002         * intl/po2test.sed: Removed.
71004 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
71006         [BZ #14328]
71007         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
71008         or multiply small sinh result by itself.
71009         * math/s_ctanf.c (__ctanf): Likewise.
71010         * math/s_ctanh.c (__ctanh): Likewise.
71011         * math/s_ctanhf.c (__ctanhf): Likewise.
71012         * math/s_ctanhl.c (__ctanhl): Likewise.
71013         * math/s_ctanl.c (__ctanl): Likewise.
71014         * math/libm-test.inc (ctan_test_tonearest): New function.
71015         (ctan_test_towardzero): Likewise.
71016         (ctan_test_downward): Likewise.
71017         (ctan_test_upward): Likewise.
71018         (ctanh_test_tonearest): Likewise.
71019         (ctanh_test_towardzero): Likewise.
71020         (ctanh_test_downward): Likewise.
71021         (ctanh_test_upward): Likewise.
71022         (main): Call these new functions.
71023         * sysdeps/i386/fpu/libm-test-ulps: Update.
71024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71026 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
71028         * .gitignore: Delete /ports entry.
71030 2012-07-03  Andreas Jaeger  <aj@suse.de>
71032         * po/bg.po: Update from translation team.
71033         * po/cs.po: Likewise.
71034         * po/de.po: Likewise.
71035         * po/hr.po: Likewise.
71036         * po/nl.pl: Likewise.
71037         * po/pl.po: Likewise.
71038         * po/vi.po: Likewise.
71040 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
71042         * Makeconfig [!+link] (+link-before-libc): New variable.
71043         [!+link] (+link-after-libc): Likewise.
71044         [!+link] (+link-tests): Likewise.
71045         [!+link] (+link): Define in terms of $(+link-before-libc) and
71046         $(+link-after-libc).
71047         [!+link-static] (+link-static-before-libc): New variable.
71048         [!+link-static] (+link-static-after-libc): Likewise.
71049         [!+link-static] (+link-static-tests): Likewise.
71050         [!+link-static] (+link-static): Define in terms of
71051         $(+link-static-before-libc) and $(+link-static-after-libc).
71052         [build-shared] (link-libc-before-gnulib): New variable.
71053         [build-shared] (link-libc-tests): Likewise.
71054         [build-shared] (link-libc): Define in terms of
71055         $(link-libc-before-gnulib).
71056         [!build-shared] (link-libc-tests): New variable.
71057         (link-libc-static-tests): New variable.
71058         [!gnulib] (gnulib-arch): New variable.
71059         [!gnulib] (gnulib-tests): Likewise.
71060         [!gnulib] (static-gnulib-arch): Likewise.
71061         [!gnulib] (static-gnulib-tests): Likewise.
71062         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
71063         Define with "=" instead of ":=".
71064         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
71065         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
71066         * Rules (binaries-all-notests): New variable.
71067         (binaries-all-tests): Likewise.
71068         (binaries-static-notests): Likewise.
71069         (binaries-static-tests): Likewise.
71070         (binaries-all): Define using $(binaries-all-notests) and
71071         $(binaries-all-tests).
71072         (binaries-static): Define using $(binaries-static-notests) and
71073         $(binaries-static-tests).
71074         (binaries-shared-tests): New variable.
71075         (binaries-shared-notests): Likewise.
71076         (binaries-shared): Remove variable.
71077         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
71078         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
71079         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
71080         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
71081         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
71082         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
71083         * elf/Makefile (sln-modules): New variable.
71084         (extra-objs): Add $(sln-modules:=.o).
71085         (ldconfig-modules): Add static-stubs.
71086         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
71087         * elf/static-stubs.c: New file.
71089         [BZ #14283]
71090         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
71091         by 7 not 8 to examine high bit of fractional part.  Use volatile
71092         variables when splitting into final array of floats if
71093         __FLT_EVAL_METHOD__ != 0.
71094         * math/libm-test.inc (cos_test): Add another test.
71095         (sin_test): Likewise.
71096         * sysdeps/i386/fpu/libm-test-ulps: Update.
71098         [BZ #14273]
71099         * math/libm-test.inc (cosh_test): Add more tests.
71101         * version.h (RELEASE): Set to "development".
71102         (VERSION): Set to "2.16.90".
71104 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
71106         * NEWS: Update copyright. Remove last-updated date.
71107         Mention math library bug fixes and timezone data changes.
71108         * README: Mention GNU/Hurd, x32, and HPPA support status.
71110 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
71112         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
71114 2012-06-27  Andreas Jaeger  <aj@suse.de>
71116         * manual/contrib.texi (Contributors): Add Samuel Thibault.
71118 2012-06-25  Andreas Jaeger  <aj@suse.de>
71120         * sysdeps/s390/fpu/libm-test-ulps: Update.
71122 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
71123             Thomas Schwinge  <thomas@codesourcery.com>
71125         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
71126         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
71127         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
71128         fanotify_mark.
71130 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
71132         * sysdeps/mach/start.c: Remove file.
71133         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
71134         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
71135         * sysdeps/sh/init-first.c: Likewise.
71137         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
71138         registers for frame unwinding purposes, add CFI directives.
71139         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
71140         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
71141         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
71142         Likewise.
71144         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
71145         __fortify_fail returning.
71146         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
71148         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
71149         sysdeps/sh/____longjmp_chk.S.
71150         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
71151         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
71152         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
71153         (gen-as-const-headers): Append sigaltstack-offsets.sym.
71155         * sysdeps/sh/abort-instr.h: New file.
71156         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
71157         process in case exit returns.
71159         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
71160         initialize the GOT register before use.
71162         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
71163         calculation of ARGC > 4.
71165         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
71166         meaningful names to some local labels.
71168 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71169             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71171         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
71172         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
71173         (__arch_compare_and_exchange_val_16_acq): Likewise.
71174         (__arch_compare_and_exchange_val_32_acq): Likewise.
71175         (atomic_exchange_and_add): Fix gUSA sequence.
71176         (atomic_add): Likewise.
71177         (atomic_add_negative): Likewise.
71178         (atomic_add_zero): Likewise.
71179         (atomic_bit_test_set): Likewise.
71181 2012-06-22  Andreas Schwab  <schwab@redhat.com>
71183         [BZ #13579]
71184         * include/link.h (struct link_map): Add l_free_initfini.
71185         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
71186         l_initfini.
71187         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
71188         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
71189         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
71190         set.
71192 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
71194         * configure.in: Use AC_LANG_SOURCE.
71195         * configure: Regenerate.
71197 2012-06-22  Roland McGrath  <roland@hack.frob.com>
71199         * configure.in (libc_cv_localstatedir): New substituted variable.
71200         * configure: Regenerated.
71201         * config.make.in (localstatedir): New variable, substituted from
71202         libc_cv_localstatedir.
71203         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
71204         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
71205         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
71206         * sysdeps/gnu/configure: Regenerated.
71208 2012-06-21  Jeff Law  <law@redhat.com>
71210         [BZ #14277]
71211         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
71212         free.  Simplify list management for _LIBC case.
71214 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
71216         [BZ #14273]
71217         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
71218         Clear sign bit of 64-bit integer value before comparing against
71219         overflow value.
71221         * sysdeps/mach/configure: Regenerated.
71223 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
71225         [BZ #14278]
71226         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
71228 2012-06-21  Jeff Law  <law@redhat.com>
71230         [BZ #13882]
71231         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
71232         uint16_t for elements in the "seen" array to avoid char overflows.
71233         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71234         * elf/dl-open.c (dl_open_worker): Likewise.
71236 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
71238         * scripts/list-sources.sh: Scan PORTS for translations.
71239         * po/libc.pot: Regenerated.
71241 2012-06-21  Andreas Jaeger  <aj@suse.de>
71243         [BZ #12194]
71244         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
71245         warning.
71246         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
71247         * bits/byteswap-16.h (__bswap_16): Likewise.
71248         * bits/byteswap.h (__bswap_constant_16): Likewise.
71250 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
71252         [BZ #14117]
71253         * sysdeps/i386/fpu_control.h: Removed.
71254         * sysdeps/x86_64/fpu_control.h: Moved to ...
71255         * sysdeps/x86/fpu_control.h: Here.
71257         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
71258         (_FPU_SETCW): Likewise.
71260 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
71262         [BZ #14117]
71263         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
71264         * sysdeps/x86/fpu/bits/mathinline.h: This.
71265         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
71267         [BZ #14050]
71268         [BZ #14117]
71269         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
71270         functions if __x86_64__ is defined.
71272 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
71274         * string/endian.h: Add !__ASSEMBLER__ condition for including
71275         conversion interfaces.
71277 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
71279         [BZ #14241]
71280         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
71281         of ABS(x) in calculating zero to negative powers other than odd
71282         integers.
71283         * math/libm-test.inc (pow_test): Add more tests.
71285 2012-06-15  Andreas Jaeger  <aj@suse.de>
71287         * manual/contrib.texi (Contributors): Update entry of Liubov
71288         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
71289         Machado Filho.
71291 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
71293         * string/string.h: Add __wur to GNU version of strerror_r.
71295 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
71297         [BZ #14229]
71298         * string/Makefile (tests): Add tst-strtok_r.
71299         * string/tst-strtok_r.c: New file.
71300         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
71301         RAX_LP/RDX_LP on SAVE_PTR.
71303 2012-06-14  Roland McGrath  <roland@hack.frob.com>
71305         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
71307 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
71309         * libm_test.inc (csqrt_test): Allow more spurious underflow
71310         exceptions.
71311         (j0_test): Likewise.
71312         (j1_test): Likewise.
71313         (y0_test): Likewise.
71314         (y1_test): Likewise.
71316 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
71318         * po/Makefile (libc.pot): Use UTF-8 charset.
71320 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
71322         [BZ #14210]
71323         Suppress sign-conversion warning from FD_SET.
71324         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
71325         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
71326         not unsigned long int.
71327         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
71329 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
71331         [BZ #14050]
71332         [BZ #14117]
71333         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
71334         __extern_always_inline instead of __extern_inline.
71335         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
71336         (__signbit): Likewise.
71337         (__signbitl): Support C++ namespace.
71338         (lrintf): New inline function.
71339         (lrint): Likewise.
71340         (llrintf): Likewise.
71341         (llrint): Likewise.
71342         (fmaxf): Likewise.
71343         (fmax): Likewise.
71344         (fminf): Likewise.
71345         (fmin): Likewise.
71346         (rint): Likewise.
71347         (rintf): Likewise.
71348         (ceil): Likewise.
71349         (ceilf): Likewise.
71350         (floor): Likewise.
71351         (floorf): Likewise.
71352         (nearbyint): Likewise.
71353         (nearbyintf): Likewise.
71355 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
71357         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
71358         non-default versions.
71360 2012-06-11  Roland McGrath  <roland@hack.frob.com>
71362         [BZ #14218]
71363         * manual/argp.texi (Argp): Reword argp_parse description slightly.
71365 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
71367         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
71368         (FE_UPWARD, FE_DOWNWARD): Don't define.
71369         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
71370         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
71372         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
71373         reading it.
71374         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
71375         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
71377 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71379         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
71380         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
71381         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
71382         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
71384 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
71386         [BZ #14117]
71387         * sysdeps/i386/fpu/bits/fenv.h: Removed.
71388         * sysdeps/i386/fpu/Implies: New file.
71389         * sysdeps/x86_64/fpu/Implies: Likewise.
71390         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
71391         * sysdeps/x86/fpu/bits/fenv.h: This.
71393         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
71394         __SSE_MATH__.
71396 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
71398         [BZ #14134]
71399         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
71400         character 0xffff that matches the last element of the
71401         conversion table.
71403 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71405         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
71406         fmodl commit.
71408 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71410         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
71411         values higher than 25.6283.
71413 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71415         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
71416         subnormal exponent extraction and add some __builtin_expect.
71417         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
71418         Fix for subnormal mantissa calculation.
71420 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
71422         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
71423         cpu2 is -1 and errno is not ENOSYS.
71425 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
71427         [BZ #14117]
71428         * sysdeps/i386/i486/bits/string.h: Renamed to ...
71429         * sysdeps/x86/bits/string.h: This.
71430         * sysdeps/x86_64/bits/string.h: Removed.
71432         * sysdeps/i386/i486/bits/string.h: Define inline functions only
71433         if not compiling for x86-64, but compiling for >= i486.
71435         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
71436         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
71438         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
71439         New macro from Linux kernel 3.4.0.
71440         (FP_XSTATE_MAGIC2): Likewise.
71441         (FP_XSTATE_MAGIC2_SIZE): Likewise.
71442         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
71443         (struct _fpx_sw_bytes): New struct.
71444         (struct _xsave_hdr): Likewise.
71445         (struct _ymmh_state): Likewise.
71446         (struct _xstate): Likewise.
71448         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
71449         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
71450         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
71451         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
71452         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
71453         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
71455         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
71456         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
71457         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
71458         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
71459         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
71460         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
71462 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71464         [BZ #13743]
71465         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
71466         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
71467         (sysdep_headers): Include sys/platform/ppc.h.
71468         * sysdeps/powerpc/test-gettimebase.c: Test for
71469         __ppc_get_timebase() to catch future ISA opcode/insn changes.
71470         * manual/Makefile (appendices): Include platform.texi.
71471         * manual/contrib.texi (Contributors): Update @node pointers.
71472         * manual/maint.texi (Maintenance): Likewise.
71473         (Platform): New node.
71474         * manual/platform.texi: New file.  Document the new features.
71476 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
71477             Jakub Jelinek  <jakub@redhat.com>
71479         [BZ #14188]
71480         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
71481         where __builtin_expect is unavailable.
71483 2012-06-03  David S. Miller  <davem@davemloft.net>
71485         * stdlib/longlong.h: Updated from GCC.
71487 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
71489         [BZ #14042]
71490         * sysdeps/powerpc/powerpc32/mcount.c: New file.
71491         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
71492         __mcount_internal.
71493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
71494         (GLIBC_2.16): Likewise.
71496 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
71498         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
71500 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
71502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
71503         (default-abi): New variable.
71504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
71505         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
71506         variable.
71507         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
71508         Likewise.
71509         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
71510         Likewise.
71511         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
71512         Likewise.
71514         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
71515         definition.  Document in comment.
71517 2012-06-01  David S. Miller  <davem@davemloft.net>
71519         * stdlib/longlong.h: Updated from GCC.
71521 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
71523         [BZ #14117]
71524         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
71525         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
71526         sys/debugreg.h sys/io.h here.
71527         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
71528         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
71529         sys/io.h.
71530         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
71531         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
71532         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
71533         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
71534         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
71535         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
71537         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
71538         Define only if __x86_64__ is defined.
71540 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
71542         [BZ #14048]
71543         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
71544         Use int64_t for variable i.
71545         * math/libm-test.inc (fmod_test): Add more tests.
71547         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
71548         z computation is not scheduled after fetestexcept.
71549         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
71550         Use math_force_eval instead of asm to ensure calculation scheduled
71551         before exception test.
71552         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
71553         Ensure a1 + u.d computation is not scheduled after fetestexcept.
71555 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
71557         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
71558         computation is not scheduled after fetestexcept.
71560 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
71562         [BZ #14117]
71563         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
71564         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
71566 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71568         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
71569         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
71571 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
71573         [BZ #14117]
71574         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
71575         <bits/wordsize.h>.
71576         (__WCHAR_MIN): Support __WORDSIZE == 64.
71577         (__WCHAR_MAX): Likewise.
71579         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
71580         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
71582         [BZ #14183]
71583         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
71584         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
71586         [BZ #14117]
71587         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
71588         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
71590         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
71591         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
71593         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
71594         Defined to 1 if __x86_64__ isn't defined.
71595         (_STAT_VER_LINUX_OLD): New.
71596         (st_atime): Remove duplicate.
71597         (st_mtime): Likewise.
71598         (st_ctime): Likewise.
71600 2012-05-31  David S. Miller  <davem@davemloft.net>
71602         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
71603         entries.
71605 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
71607         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
71608         gen-libm-test.pl.
71610         [BZ #14132]
71611         * elf/dl-reloc.c: Include <_itoa.h>.
71612         (_dl_reloc_bad_type): Remove use of INTUSE.
71613         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
71614         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
71615         * stdio-common/psiginfo.c (psiginfo): Likewise.
71616         * stdio-common/psignal.c (psignal): Likewise.
71617         * string/strsignal.c (strsignal): Likewise.
71618         * include/signal.h (_sys_siglist): Declare hidden proto.
71619         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
71620         INTVARDEF with libc_hidden_data_def.
71621         * stdio-common/itoa-udigits.c: Likewise.
71622         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
71623         (_itoa_lower_digits_internal): Remove declaration.
71624         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
71625         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
71626         (_sys_sigabbrev_internal): Remove aliases.
71627         (_sys_siglist): Define hidden alias.
71629 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
71631         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71632         bits/sysctl.h.
71634 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
71636         [BZ #14117]
71637         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
71638         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
71640         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
71641         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
71642         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
71643         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
71644         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
71645         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
71647         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
71648         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
71649         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
71651         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
71652         with __addr.
71653         (insw): Likewise.
71654         (insl): Likewise.
71655         (outsb): Likewise.
71656         (outsw): Likewise.
71657         (outsl): Likewise.
71659         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
71660         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
71661         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
71663         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
71664         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
71665         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
71666         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
71667         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
71668         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
71670         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
71671         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
71673         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
71674         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
71676         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
71677         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
71678         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
71680         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
71681         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
71682         to ...
71683         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
71685         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
71686         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
71687         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
71689         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
71690         for x86-64.
71691         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
71693 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
71695         * math/math.h (M_El): Use two more decimal places.
71696         (M_LOG2El): Likewise.
71697         (M_LOG10El): Likewise.
71698         (M_LN2l): Likewise.
71699         (M_LN10l): Likewise.
71700         (M_PIl): Likewise.
71701         (M_PI_2l): Likewise.
71702         (M_PI_4l): Likewise.
71703         (M_1_PIl): Likewise.
71704         (M_2_PIl): Likewise.
71705         (M_2_SQRTPIl): Likewise.
71706         (M_SQRT2l): Likewise.
71707         (M_SQRT1_2l): Likewise.
71709 2012-05-31  David S. Miller  <davem@davemloft.net>
71711         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
71712         values between float registers.
71713         * sysdeps/sparc/sparc64/memset.S: Likewise.
71714         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
71716 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
71718         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
71719         -D_FORTIFY_SOURCE=1.
71720         (CPPFLAGS-tst-longjmp_chk.c): Define.
71721         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
71722         (CPPFLAGS-tst-longjmp_chk2.c): Define.
71723         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
71724         CFLAGS-tst-wchar-h.c.
71726 2012-05-31  Marek Polacek  <polacek@redhat.com>
71728         [BZ #14132]
71729         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
71730         __endmntent_internal): Remove declaration.
71731         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
71732         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
71733         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
71735 2012-05-30  David S. Miller  <davem@davemloft.net>
71737         * sysdeps/sparc/sparc32/soft-fp/q_util.c
71738         (___Q_simulate_exceptions): Use real FP ops rather than writing
71739         into the %fsr.
71740         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
71741         Likewise.
71743 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71745         [BZ #14117]
71746         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
71747         * sysdeps/x86/bits/xtitypes.h: This.
71749         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
71750         * sysdeps/x86/bits/wordsize.h: This.
71752         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
71753         * sysdeps/x86/bits/huge_vall.h: This.
71755         * sysdeps/i386/bits/select.h: Removed.
71756         * sysdeps/x86_64/bits/select.h: Renamed to ...
71757         * sysdeps/x86/bits/select.h: This.
71759         * sysdeps/i386/bits/setjmp.h: Removed.
71760         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
71761         * sysdeps/x86/bits/setjmp.h: This.
71763         * sysdeps/i386/bits/mathdef.h: Removed.
71764         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
71765         * sysdeps/x86/bits/mathdef.h: This.
71767 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
71769         [BZ #14132]
71770         * include/sys/socket.h (__connect_internal)
71771         (__libc_sa_len_internal): Remove declaration.
71772         (__connect, __libc_sa_len): Declare hidden_proto.
71773         (SA_LEN): Remove use of INTUSE.
71774         * socket/connect.c: Add libc_hidden_def.
71775         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
71776         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
71777         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
71778         alias.
71779         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
71780         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
71781         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
71782         of adding _internal alias.
71784 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71786         [BZ #14117]
71787         * sysdeps/i386/bits/link.h: Removed.
71788         * sysdeps/i386/bits/linkmap.h: Likewise.
71789         * sysdeps/x86_64/bits/link.h: Renamed to ...
71790         * sysdeps/x86/bits/link.h: This.
71791         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
71792         * sysdeps/x86/bits/linkmap.h: This.
71794         * sysdeps/i386/bits/endian.h: Removed.
71795         * sysdeps/x86_64/bits/endian.h: Renamed to ...
71796         * sysdeps/x86/bits/endian.h: This.
71798         * sysdeps/i386/bits/byteswap.h: Removed.
71799         * sysdeps/i386/bits/byteswap-16.h: Likewise.
71800         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
71801         * sysdeps/x86/bits/byteswap.h: This.
71802         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
71803         * sysdeps/x86/bits/byteswap-16.h: This.
71804         * sysdeps/i386/Implies: Add x86.
71805         * sysdeps/x86_64/Implies: Likewise.
71807 2012-05-30  David S. Miller  <davem@davemloft.net>
71809         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
71810         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
71811         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
71812         (FP_TRAPPING_EXCEPTIONS): Define.
71813         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
71814         (FP_TRAPPING_EXCEPTIONS): Define.
71815         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
71816         subnormals only when inexact has been signalled or underflow
71817         exceptions are enabled.
71818         (_FP_PACK_CANONICAL): Likewise.
71820 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71822         [BZ #14183]
71823         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
71824         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
71826 2012-05-30  Richard Henderson  <rth@twiddle.net>
71828         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
71829         with #ifndef NOT_IN_libc.
71831         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
71832         marked to avoid plt entry.
71834 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71836         [BZ #14112]
71837         * Makeconfig (default-abi): New macro.
71838         (abi-includes): Likewise.
71839         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
71840         $(abi-$(default-abi)-lib-soname) for soname if defined.
71841         ($(common-objpfx)gnu/lib-names.stmp): Generate from
71842         abi-variants.
71843         * Makefile (installed-stubs): Likewise.
71844         * include/stubs-biarch.h: Removed.
71845         * scripts/lib-names.awk: Only handle one library at a time.
71846         * scripts/soversions.awk: Remove WORDSIZE support.
71847         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
71848         entries.
71849         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
71850         Removed.
71851         (syscall-list-default-condition): Likewise.
71852         (syscall-list-default-condition): Likewise.
71853         (syscall-list-includes): Likewise.
71854         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
71855         syscall-list-* with abi-*.  Handle undefined abi-variants.
71856         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
71857         * sysdeps/unix/sysv/linux/i386/Implies: New file.
71858         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
71859         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
71860         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
71861         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
71862         Removed.
71863         (syscall-list-32-options): Likewise.
71864         (syscall-list-32-condition): Likewise.
71865         (syscall-list-64-options): Likewise.
71866         (syscall-list-64-condition): Likewise.
71867         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
71868         macro.
71869         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
71870         Renamed to ...
71871         (abi-*): This.
71872         (abi-64-ld-soname): New macro.
71873         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
71874         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
71875         Renamed to ...
71876         (abi-*): This.
71877         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
71878         * sysdeps/x86_64/x32/shlib-versions: Likewise.
71880 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
71882         * sysdeps/unix/sysv/linux/kernel-features.h
71883         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
71884         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
71885         include <kernel-features.h>.
71886         [!__NR_ftruncate64]: Remove conditional code.
71887         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71888         [__NR_ftruncate64]: Make code unconditional.
71889         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71890         * sysdeps/unix/sysv/linux/truncate64.c: Do not
71891         include <kernel-features.h>.
71892         [!__NR_ftruncate64]: Remove conditional code.
71893         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71894         [__NR_ftruncate64]: Make code unconditional.
71895         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
71897         include <kernel-features.h>.
71898         [!__NR_ftruncate64]: Remove conditional code.
71899         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71900         [__NR_ftruncate64]: Make code unconditional.
71901         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71903         include <kernel-features.h>.
71904         [!__NR_ftruncate64]: Remove conditional code.
71905         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71906         [__NR_ftruncate64]: Make code unconditional.
71907         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71909         * configure.in (libc_cv_fpie): Weaken to a compile test using
71910         LIBC_TRY_CC_OPTION.
71911         * configure: Regenerated.
71913 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71915         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
71916         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
71917         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
71918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
71919         Refreshed.
71920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
71921         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
71922         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
71923         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
71924         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
71925         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
71926         Refreshed.
71928 2012-05-27  David S. Miller  <davem@davemloft.net>
71930         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
71931         (___Q_zero): New.
71932         (__Q_simulate_exceptions): Return void.  Change to simulate
71933         exceptions by writing into the %fsr.
71934         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
71935         (__Qp_handle_exceptions): Likewise.
71936         (numbers): Delete.
71937         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
71938         __Qp_handle_exceptions.
71939         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
71940         __Qp_handle_exceptions.
71941         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
71942         as unused and give dummy FP_RND_NEAREST initializer.
71943         (FP_INHIBIT_RESULTS): Define.
71944         (___Q_simulate_exceptions): Update declaration.
71945         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
71946         formatting.
71947         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
71948         as unused and give dummy FP_RND_NEAREST initializer.
71949         (__Qp_handle_exceptions): Update declaration.
71950         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
71951         formatting.
71953 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
71955         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
71956         the temporary FPU control word.
71957         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
71958         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
71959         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
71960         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
71961         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
71962         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
71963         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
71964         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
71965         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
71966         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
71967         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
71969 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71971         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
71972         fields.
71974 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
71976         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
71977         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
71978         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
71979         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
71980         Likewise.
71981         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
71982         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
71983         Likewise.
71985 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
71987         * po/h.po: Update from translation team.
71989 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
71991         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
71993         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
71994         handling of denormals.
71995         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
71996         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
71997         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
71998         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
71999         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
72000         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
72001         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
72002         Likewise.
72004 2012-05-26  Marek Polacek  <polacek@redhat.com>
72006         [BZ #14152]
72007         * math/libm-test.inc (fma_test): Don't always expect underflow
72008         exception.
72010 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
72012         [BZ #12416]
72013         * elf/tst-execstack.c: Include stackinfo.h.
72014         (do_test): Adjust test case to ensure that pthread_getattr_np
72015         behaviour remains the same after marking stack executable.
72017 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
72019         * sysdeps/unix/sysv/linux/kernel-features.h
72020         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
72021         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
72022         kernel-features.h.
72023         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
72024         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
72025         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
72026         kernel-features.h.
72027         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
72028         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
72030 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
72032         * configure.in: Define the default includes to being none.
72033         * configure: Regenerated.
72035 2012-05-25  Roland McGrath  <roland@hack.frob.com>
72037         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
72038         * sysdeps/x86_64/setjmp.S: Likewise.
72039         * sysdeps/i386/bsd-setjmp.S: Likewise.
72040         * sysdeps/i386/bsd-_setjmp.S: Likewise.
72041         * sysdeps/i386/setjmp.S: Likewise.
72042         * sysdeps/i386/__longjmp.S: Likewise.
72043         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
72044         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
72046         * include/stap-probe.h: New file.
72047         * configure.in: Handle --enable-systemtap.
72048         * configure: Regenerated.
72049         * config.h.in (USE_STAP_PROBE): New #undef.
72050         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
72051         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
72052         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
72054 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
72056         [BZ #13717]
72057         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
72058         to 2.4.0 where earlier.
72059         * sysdeps/unix/sysv/linux/configure: Regenerated.
72060         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
72061         <kernel-features.h>.
72062         [__ASSUME_32BITUIDS]: Make code unconditional.
72063         [!__ASSUME_32BITUIDS]: Remove conditional code.
72064         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
72065         <kernel-features.h>.
72066         [__ASSUME_32BITUIDS]: Make code unconditional.
72067         [!__ASSUME_32BITUIDS]: Remove conditional code.
72068         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
72069         [__ASSUME_32BITUIDS]: Make code unconditional.
72070         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
72071         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
72072         <kernel-features.h>.
72073         [__ASSUME_32BITUIDS]: Make code unconditional.
72074         [!__ASSUME_32BITUIDS]: Remove conditional code.
72075         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
72076         <kernel-features.h>.
72077         [__ASSUME_32BITUIDS]: Make code unconditional.
72078         [!__ASSUME_32BITUIDS]: Remove conditional code.
72079         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
72080         <kernel-features.h>.
72081         [__ASSUME_32BITUIDS]: Make code unconditional.
72082         [!__ASSUME_32BITUIDS]: Remove conditional code.
72083         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
72084         <kernel-features.h>.
72085         [__ASSUME_32BITUIDS]: Make code unconditional.
72086         [!__ASSUME_32BITUIDS]: Remove conditional code.
72087         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
72088         <kernel-features.h>.
72089         [__ASSUME_32BITUIDS]: Make code unconditional.
72090         [!__ASSUME_32BITUIDS]: Remove conditional code.
72091         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
72092         <kernel-features.h>.
72093         [__ASSUME_32BITUIDS]: Make code unconditional.
72094         [!__ASSUME_32BITUIDS]: Remove conditional code.
72095         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
72096         <kernel-features.h>.
72097         [__ASSUME_32BITUIDS]: Make code unconditional.
72098         [!__ASSUME_32BITUIDS]: Remove conditional code.
72099         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
72100         <kernel-features.h>.
72101         [__ASSUME_32BITUIDS]: Make code unconditional.
72102         [!__ASSUME_32BITUIDS]: Remove conditional code.
72103         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
72104         <kernel-features.h>.
72105         [__ASSUME_32BITUIDS]: Make code unconditional.
72106         [!__ASSUME_32BITUIDS]: Remove conditional code.
72107         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
72108         <kernel-features.h>.
72109         [__ASSUME_32BITUIDS]: Make code unconditional.
72110         [!__ASSUME_32BITUIDS]: Remove conditional code.
72111         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
72112         <kernel-features.h>.
72113         [__NR_setresgid] (__setresgid): Do not declare.
72114         [__ASSUME_32BITUIDS]: Make code unconditional.
72115         [!__ASSUME_32BITUIDS]: Remove conditional code.
72116         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
72117         <kernel-features.h>.
72118         [__NR_setresuid] (__setresuid): Do not declare.
72119         [__ASSUME_32BITUIDS]: Make code unconditional.
72120         [!__ASSUME_32BITUIDS]: Remove conditional code.
72121         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.c: Do not include
72138         <kernel-features.h>.
72139         [__ASSUME_32BITUIDS]: Make code unconditional.
72140         [!__ASSUME_32BITUIDS]: Remove conditional code.
72141         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
72142         <kernel-features.h>.
72143         [__ASSUME_32BITUIDS]: Make code unconditional.
72144         [!__ASSUME_32BITUIDS]: Remove conditional code.
72145         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
72146         <kernel-features.h>.
72147         [__ASSUME_32BITUIDS]: Make code unconditional.
72148         [!__ASSUME_32BITUIDS]: Remove conditional code.
72149         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
72150         <kernel-features.h>.
72151         [__ASSUME_32BITUIDS]: Make code unconditional.
72152         [!__ASSUME_32BITUIDS]: Remove conditional code.
72153         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
72154         <kernel-features.h>.
72155         [__ASSUME_32BITUIDS]: Make code unconditional.
72156         [!__ASSUME_32BITUIDS]: Remove conditional code.
72157         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
72158         <kernel-features.h>.
72159         [__ASSUME_32BITUIDS]: Make code unconditional.
72160         [!__ASSUME_32BITUIDS]: Remove conditional code.
72161         * sysdeps/unix/sysv/linux/kernel-features.h
72162         (__ASSUME_SETRESUID_SYSCALL): Remove.
72163         (__ASSUME_SETRESGID_SYSCALL): Likewise.
72164         (__ASSUME_32BITUIDS): Likewise.
72165         (__ASSUME_LDT_WORKS): Likewise.
72166         (__ASSUME_O_DIRECTORY): Likewise.
72167         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
72168         architecture but not kernel version.
72169         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
72170         (__ASSUME_MMAP2_SYSCALL): Likewise.
72171         (__ASSUME_STAT64_SYSCALL): Likewise.
72172         (__ASSUME_IPC64): Likewise.
72173         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
72174         <kernel-features.h>.
72175         [__ASSUME_32BITUIDS]: Make code unconditional.
72176         [!__ASSUME_32BITUIDS]: Remove conditional code.
72177         * sysdeps/unix/sysv/linux/opendir.c: Do not include
72178         <kernel-features.h>.
72179         [__ASSUME_O_DIRECTORY]: Make code unconditional.
72180         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
72181         132096]: Remove conditional code.
72182         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
72183         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.c: Do not include
72188         <kernel-features.h>.
72189         [__ASSUME_32BITUIDS]: Make code unconditional.
72190         [!__ASSUME_32BITUIDS]: Remove conditional code.
72191         * sysdeps/unix/sysv/linux/setegid.c: Do not include
72192         <kernel-features.h>.
72193         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
72194         unconditional.
72195         (__setresgid): Do not declare.
72196         [__ASSUME_32BITUIDS]: Make code unconditional.
72197         [!__ASSUME_32BITUIDS]: Remove conditional code.
72198         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
72199         <kernel-features.h>.
72200         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
72201         unconditional.
72202         (__setresuid): Do not declare.
72203         [__ASSUME_32BITUIDS]: Make code unconditional.
72204         [!__ASSUME_32BITUIDS]: Remove conditional code.
72205         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
72206         <kernel-features.h>.
72207         [__ASSUME_32BITUIDS]: Make code unconditional.
72208         [!__ASSUME_32BITUIDS]: Remove conditional code.
72209         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
72210         <kernel-features.h>.
72211         [__ASSUME_32BITUIDS]: Make code unconditional.
72212         [!__ASSUME_32BITUIDS]: Remove conditional code.
72214 2012-05-25  Richard Henderson  <rth@twiddle.net>
72216         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
72217         dl_hwcap to ifunc resolver.
72218         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
72219         elf_ifunc_invoke.
72220         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
72221         dl_hwcap to ifunc resolver.
72222         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
72224 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
72226         [BZ #14153]
72227         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
72228         for |x| <= 2**-26, not 2**-57.
72229         * math/libm-test.inc (acos_test): Do not allow spurious underflow
72230         exception.
72232 2012-05-24  Jeff Law  <law@redhat.com>
72234         * stdio-common/Makefile (tests): Add bug25.
72235         * stdio-common/bug25.c: New test.
72237 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
72239         [BZ #13576]
72240         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
72241         multiple of MALLOC_ALIGNMENT in size.
72242         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
72244 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
72246         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
72247         Require >= 256.
72248         (FILENAME_MAX): Use macro-int-constant.
72249         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
72250         (_IOFBF): Use macro-int-constant.
72251         (_IOLBF): Likewise.
72252         (_IONBF): Likewise.
72253         (SEEK_CUR): Likewise.
72254         (SEEK_END): Likewise.
72255         (SEEK_SET): Likewise.
72256         (TMP_MAX): Likewise.
72257         (EOF): Use macro-int-constant.  Require < 0.
72258         (NULL): Use macro-constant.  Require == 0.
72259         (stdin): Require type to be FILE *.
72260         (stdout): Likewise.
72261         (stderr): Likewise.
72262         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
72263         macro-int-constant.
72264         (EXIT_SUCCESS): Likewise.
72265         (NULL): Use macro-constant.  Require == 0.
72266         (RAND_MAX): Use macro-int-constant.
72267         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
72268         [C99-based standards] (strtof): Require function.
72269         [C99-based standards] (strtold): Likewise.
72270         [C99-based standards] (strtoll): Likewise.
72271         [C99-based standards] (strtoull): Likewise.
72272         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
72273         [ISO || ISO99 || ISO11] (limits.h): Likewise.
72274         [ISO || ISO99 || ISO11] (math.h): Likewise.
72275         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
72276         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
72277         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72279 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
72281         [BZ #14132]
72282         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
72283         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
72284         * intl/dgettext.c (DCGETTEXT): Likewise.
72285         * intl/gettext.c (DCGETTEXT): Likewise.
72286         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
72287         * posix/regex_internal.h (gettext): Likewise.
72288         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
72289         Remove declaration.
72290         * include/argz.h (__argz_count_internal)
72291         (__argz_stringify_internal): Remove declaration.
72292         (__argz_count, __argz_stringify): Declare hidden proto.
72293         * intl/dcgettext.c: Remove use of INTDEF.
72294         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
72295         * string/argz-stringify.c: Likewise.
72296         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
72297         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
72298         Declare hidden proto.
72299         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
72300         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
72301         Declare hidden proto.
72302         * include/stdio.h (__asprintf_internal): Don't declare.
72303         (__asprintf): Don't define as macro.  Declare hidden proto.
72304         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
72305         (__fsetlocking): Declare hidden proto.
72306         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
72307         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
72308         hidden proto.
72309         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
72310         (_IO_setlinebuf): Remove use of INTUSE.
72311         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
72312         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
72313         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
72314         Remove declaration.
72315         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
72316         (_IO_do_flush): Remove use of INTUSE.
72317         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
72318         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
72319         (_IO_adjust_column, _IO_least_wmarker)
72320         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
72321         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
72322         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
72323         (_IO_default_doallocate, _IO_wdefault_doallocate)
72324         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
72325         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
72326         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
72327         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
72328         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
72329         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
72330         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
72331         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
72332         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
72333         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
72334         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
72335         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
72336         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
72337         proto.
72338         (_IO_flush_all_internal, _IO_adjust_column_internal)
72339         (_IO_default_uflow_internal, _IO_default_finish_internal)
72340         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
72341         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
72342         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
72343         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
72344         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
72345         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
72346         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
72347         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
72348         (_IO_file_close_internal, _IO_file_close_it_internal)
72349         (_IO_file_underflow_internal, _IO_file_overflow_internal)
72350         (_IO_file_init_internal, _IO_file_attach_internal)
72351         (_IO_file_fopen_internal, _IO_file_read_internal)
72352         (_IO_file_sync_internal, _IO_file_seek_internal)
72353         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
72354         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
72355         (_IO_str_underflow_internal, _IO_str_overflow_internal)
72356         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
72357         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
72358         (_IO_list_all_internal, _IO_link_in_internal)
72359         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
72360         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
72361         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
72362         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
72363         (_IO_do_write_internal, _IO_padn_internal)
72364         (_IO_getline_info_internal, _IO_getline_internal)
72365         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
72366         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
72367         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
72368         (_IO_vfscanf_internal, _IO_vfprintf_internal)
72369         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
72370         (_IO_init_internal, _IO_un_link_internal): Don't declare.
72371         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
72372         with libc_hidden_ver, remove use of INTUSE.
72373         * libio/genops.c: Likewise.
72374         * libio/freopen.c: Likewise.
72375         * libio/freopen64.c: Likewise.
72376         * libio/iofclose.c: Likewise.
72377         * libio/iofdopen.c: Likewise.
72378         * libio/iofflush.c: Likewise.
72379         * libio/iofflush_u.c: Likewise.
72380         * libio/iofgets.c: Likewise.
72381         * libio/iofgets_u.c: Likewise.
72382         * libio/iofopen.c: Likewise.
72383         * libio/iofopncook.c: Likewise.
72384         * libio/iofread.c: Likewise.
72385         * libio/iofread_u.c: Likewise.
72386         * libio/ioftell.c: Likewise.
72387         * libio/iofwrite.c: Likewise.
72388         * libio/iogetline.c: Likewise.
72389         * libio/iogets.c: Likewise.
72390         * libio/iogetwline.c: Likewise.
72391         * libio/iopadn.c: Likewise.
72392         * libio/iopopen.c: Likewise.
72393         * libio/ioseekoff.c: Likewise.
72394         * libio/ioseekpos.c: Likewise.
72395         * libio/iosetbuffer.c: Likewise.
72396         * libio/iosetvbuf.c: Likewise.
72397         * libio/ioungetc.c: Likewise.
72398         * libio/ioungetwc.c: Likewise.
72399         * libio/iovdprintf.c: Likewise.
72400         * libio/iovsprintf.c: Likewise.
72401         * libio/iovsscanf.c: Likewise.
72402         * libio/memstream.c: Likewise.
72403         * libio/obprintf.c: Likewise.
72404         * libio/oldfileops.c: Likewise.
72405         * libio/oldiofclose.c: Likewise.
72406         * libio/oldiofdopen.c: Likewise.
72407         * libio/oldiofopen.c: Likewise.
72408         * libio/oldiopopen.c: Likewise.
72409         * libio/oldstdfiles.c: Likewise.
72410         * libio/putc.c: Likewise.
72411         * libio/setbuf.c: Likewise.
72412         * libio/setlinebuf.c: Likewise.
72413         * libio/stdfiles.c: Likewise.
72414         * libio/strops.c: Likewise.
72415         * libio/vasprintf.c: Likewise.
72416         * libio/vscanf.c: Likewise.
72417         * libio/vsnprintf.c: Likewise.
72418         * libio/vswprintf.c: Likewise.
72419         * libio/wfiledoalloc.c: Likewise.
72420         * libio/wfileops.c: Likewise.
72421         * libio/wgenops.c: Likewise.
72422         * libio/wmemstream.c: Likewise.
72423         * libio/wstrops.c: Likewise.
72424         * libio/__fpurge.c: Likewise.
72425         * libio/__fsetlocking.c: Likewise.
72426         * assert/assert.c: Likewise.
72427         * debug/fgets_chk.c: Likewise.
72428         * debug/fgets_u_chk.c: Likewise.
72429         * debug/fread_chk.c: Likewise.
72430         * debug/fread_u_chk.c: Likewise.
72431         * debug/gets_chk.c: Likewise.
72432         * debug/obprintf_chk.c: Likewise.
72433         * debug/vasprintf_chk.c: Likewise.
72434         * debug/vdprintf_chk.c: Likewise.
72435         * debug/vsnprintf_chk.c: Likewise.
72436         * debug/vsprintf_chk.c: Likewise.
72437         * malloc/mtrace.c: Likewise.
72438         * misc/error.c: Likewise.
72439         * misc/syslog.c: Likewise.
72440         * stdio-common/asprintf.c: Likewise.
72441         * stdio-common/fxprintf.c: Likewise.
72442         * stdio-common/getw.c: Likewise.
72443         * stdio-common/isoc99_fscanf.c: Likewise.
72444         * stdio-common/isoc99_scanf.c: Likewise.
72445         * stdio-common/isoc99_vfscanf.c: Likewise.
72446         * stdio-common/isoc99_vscanf.c: Likewise.
72447         * stdio-common/isoc99_vsscanf.c: Likewise.
72448         * stdio-common/printf-prs.c: Likewise.
72449         * stdio-common/printf_fp.c: Likewise.
72450         * stdio-common/printf_fphex.c: Likewise.
72451         * stdio-common/printf_size.c: Likewise.
72452         * stdio-common/putw.c: Likewise.
72453         * stdio-common/scanf.c: Likewise.
72454         * stdio-common/sprintf.c: Likewise.
72455         * stdio-common/tmpfile.c: Likewise.
72456         * stdio-common/vfprintf.c: Likewise.
72457         * stdio-common/vfscanf.c: Likewise.
72458         * stdlib/strfmon_l.c: Likewise.
72459         * sunrpc/openchild.c: Likewise.
72460         * sunrpc/xdr_stdio.c: Likewise.
72461         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
72462         * sysdeps/mach/hurd/tmpfile.c: Likewise.
72464 2012-05-24  Roland McGrath  <roland@hack.frob.com>
72466         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
72468         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
72469         in the third column, to generate for the shared library an IFUNC
72470         that uses _dl_vdso_vsym.
72471         * Makerules (COMPILE.c, compile-stdin.c): New variables.
72472         * Makeconfig (object-suffixes-noshared): New variable.
72474         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
72475         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
72476         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
72477         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
72479         [BZ #14132]
72480         * include/sys/time.h (__gettimeofday): Remove macro.
72481         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
72482         * time/gettimeofday.c (__gettimeofday): Remove #undef.
72483         Remove INTDEF.
72484         (__gettimeofday): Add libc_hidden_def.
72485         (gettimeofday): Add libc_hidden_weak.
72486         * sysdeps/mach/gettimeofday.c: Likewise.
72487         * sysdeps/posix/gettimeofday.c: Likewise.
72488         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
72489         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
72490         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
72491         (__gettimeofday_internal): Remove strong_alias.
72492         (__gettimeofday): Add libc_hidden_def.
72493         (gettimeofday): Add libc_hidden_weak.
72494         * sysdeps/unix/syscalls.list (gettimeofday):
72495         Remove __gettimeofday_internal alias.
72497 2012-05-24  Daniel Jacobowitz  <drow@false.org>
72498             H.J. Lu  <hongjiu.lu@intel.com>
72500         [BZ #12495]
72501         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
72502         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
72503         (largebin_index_32_big): New.
72504         (largebin_index): Use it for 16-byte alignment.
72505         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
72506         correction with front_misalign.
72508 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
72510         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
72511         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
72512         Likewise.
72513         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
72514         Likewise.
72515         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
72516         Likewise.
72517         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
72518         Likewise.
72519         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
72520         Likewise.
72521         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
72522         Likewise.
72523         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
72524         Likewise.
72525         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
72526         Likewise.
72527         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
72528         Likewise.
72529         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
72530         Likewise.
72531         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
72532         Likewise.
72533         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
72534         Likewise.
72536         * scripts/data/c++-types-x32-linux-gnu.data: New file.
72537         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
72539 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
72541         [BZ #10846]
72542         [BZ #14036]
72543         * math/libm-test.inc (exp_test): Add test from bug 14036.
72544         (pow_test): Add test from bug 10846.
72546         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
72547         and other flags.
72548         (special_function): Do not include flags in test name.
72549         (parse_args): Likewise.
72550         * sysdeps/i386/fpu/libm-test-ulps: Update.
72551         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72552         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
72553         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
72554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72556         * math/gen-libm-test.pl (%beautify): Add entries for underflow
72557         exceptions.
72558         * math/libm-test.inc ("Philosophy"): Update comment about
72559         exception testing.
72560         (UNDERFLOW_EXCEPTION): New macro.
72561         (UNDERFLOW_EXCEPTION_OK): Likewise.
72562         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
72563         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
72564         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
72565         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
72566         (INVALID_EXCEPTION_OK): Update value.
72567         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
72568         (OVERFLOW_EXCEPTION_OK): Likewise.
72569         (IGNORE_ZERO_INF_SIGN): Likewise.
72570         (test_exceptions): Handle underflow exceptions.
72571         (acos_test): Update for underflow exception expectations.
72572         (cexp_test): Likewise.
72573         (clog_test): Likewise.
72574         (clog10_test): Likewise.
72575         (csqrt_test): Likewise.
72576         (ctan_test): Likewise.
72577         (ctanh_test): Likewise.
72578         (exp_test): Likewise.
72579         (exp10_test): Likewise.
72580         (exp2_test): Likewise.
72581         (expm1_test): Likewise.
72582         (fma_test): Likewise.
72583         (j0_test): Likewise.
72584         (jn_test): Likewise.
72585         (nexttoward_test): Likewise.
72586         (pow_test): Likewise.
72587         (scalbn_test): Likewise.
72588         (scalbln_test): Likewise.
72589         (tan_test): Likewise.
72590         (y1_test): Likewise.
72591         * sysdeps/i386/fpu/libm-test-ulps: Update.
72592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72594 2012-05-23  David S. Miller  <davem@davemloft.net>
72596         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
72597         (__libc_sigaction): Remove unused local variables.
72599 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
72601         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
72603 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
72605         mktime: avoid signed integer overflow
72606         * time/mktime.c (__mktime_internal): Do not mishandle the case
72607         where diff == INT_MIN.
72609         mktime: simplify computation of average
72610         * time/mktime.c (ranged_convert): Use new time_t_avg function
72611         instead of rolling our own (probably-slower) code.
72613         mktime: do not assume signed right shift propagates sign bit
72614         * time/mktime.c (isdst_differ): New static function.
72615         (__mktime_internal): No need to normalize tm_isdst now.
72616         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
72617         tm_isdst values.
72619         mktime: merge another wrapv change from gnulib
72620         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
72621         from some compilers.
72623         mktime: remove incorrect attempt at unusual arithmetics
72624         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
72625         The code didn't really work on such machines anyway.
72626         (TYPE_MINIMUM): Assume two's complement.
72627         (twos_complement_arithmetic): Verify that long_int and time_t
72628         are two's complement (or unsigned, in the latter case).
72630         mktime: check signed shifts on long_int and time_t, too
72631         * time/mktime.c (SHR): Check that shifts work as desired
72632         on the types long_int and time_t too, as SHR is used on
72633         such types.
72635         mktime: do not assume 'long' is wide enough
72636         * time/mktime.c (verify): Move decl up.
72637         (long_int): New type.
72638         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
72639         to remove assumption in the code that 'long' is wide enough to
72640         store year values.  This assumption is not true on x32 and on
72641         some non-glibc platforms.
72643         mktime: merge wrapv change from gnulib
72644         * time/mktime.c (WRAPV): New macro.
72645         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
72646         (guess_time_tm, __mktime_internal): Do not assume that signed
72647         integer overflow wraps around; modern compilers generate code
72648         where this assumption is no longer valid.
72650 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
72652         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
72653         Replace "jmp L(pseudo_end)" with "ret".
72654         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
72655         Likewise.
72657 2012-05-23  Andreas Jaeger  <aj@suse.de>
72659         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
72660         * sysdeps/unix/sysv/linux/poll.c: Remove file.
72662 2012-05-23  Andreas Jaeger  <aj@suse.de>
72663             Maximilian Attems  <max@stro.at>
72665         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
72666         New macros.
72668 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
72670         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
72671         code so that pseudo_end is just ret and the stack pointer is
72672         correct also for static library in error case.
72674 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
72676         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
72677         move to syscalls.list.
72678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
72679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
72680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
72681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
72683         * manual/install.texi (Running make install): Do not mention Linux
72684         kernel version for which pt_chown is not needed.
72685         (Linux): Do not mention problems with nscd with 2.0 kernels.
72686         * INSTALL: Regenerated.
72688 2012-05-23  Andreas Jaeger  <aj@suse.de>
72690         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
72691         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
72692         macro.
72693         * sysdeps/unix/sysv/linux/s390/bits/mman.h
72694         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72695         * sysdeps/unix/sysv/linux/sh/bits/mman.h
72696         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72697         * sysdeps/unix/sysv/linux/i386/bits/mman.h
72698         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72699         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
72700         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72701         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
72702         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72703         * sysdeps/unix/sysv/linux/bits/in.h
72704         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
72706 2012-05-22  Roland McGrath  <roland@hack.frob.com>
72708         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
72709         (PREPARE_VERSION): Just use assert instead, it will be elided
72710         under [NDEBUG] anyway.
72712 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72714         * sysdeps/unix/sysv/linux/Makefile: Include
72715         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
72716         (sysdep_routines): Remove sysctl.
72717         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
72718         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
72719         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
72720         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
72721         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
72723 2012-05-22  Andreas Jaeger  <aj@suse.de>
72725         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
72726         that pseudo_end is just ret and the stack pointer is correct also
72727         for static library in error case.
72729 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
72731         [BZ #14122]
72732         * nss/nsswitch.c (defconfig_entries): New variable.
72733         (__nss_database_lookup): Don't leak defconfig entries.
72734         (nss_parse_service_list): Don't leak on error paths.
72735         (free_database_entries): New function.
72736         (free_defconfig): New function.
72737         (free_mem): Move common code to free_database_entries.
72739 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72741         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
72742         Add arch_prctl.
72743         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
72745         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
72746         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
72747         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
72748         New macro.
72749         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
72750         (INTERNAL_SYSCALL_TYPES): Likewise.
72751         (LOAD_ARGS_TYPES_[1-6]): Likewise.
72752         (LOAD_REGS_TYPES_[1-6]): Likewise.
72753         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
72754         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
72756 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72758         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
72759         copysignl for GLIBC_2_0.
72760         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
72761         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
72762         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
72763         logbl for GLIBC_2_0.
72764         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
72765         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
72767 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72769         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
72770         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
72772         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
72773         Use "neg %eax".
72775         * time/mktime.c: Update copyright years.
72777 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
72779         mktime: merge comment-quoting-style change from gnulib
72780         * time/mktime.c: Quote 'like this' in comments.
72781         The GNU coding standards suggest that we no longer quote `like this',
72782         as "`" and "'" are typically rendered asymmetrically nowadays.
72783         The typical gnulib style is to quote 'like this' when quoting
72784         code, and "like this" when quoting English.
72786         * time/mktime.c (compile-command): Add "-I.".
72788         mktime: merge mktime-internal.h change from gnulib
72789         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
72791         mktime: merge time_r change from gnulib
72792         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
72794         mktime: merge DEBUG change from gnulib
72795         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
72796         case system <time.h> has a #define.
72798         mktime: merge <sys/types.h> change from gnulib
72799         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
72800         since <time.t> is now guaranteed to define time_t.
72802         mktime: merge HAVE_CONFIG_H change from gnulib
72803         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
72805 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72807         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
72808         Use "neg %eax".
72810         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
72811         __rlim_t cast.
72812         (struct rusage): Use anonymous union to pad each field to
72813         __syscall_slong_t.
72815 2012-05-21  David S. Miller  <davem@davemloft.net>
72817         * Makefules (o-iterator): Remove .s cases.
72818         (compile-command.s): Delete.
72819         (COMPILE.s): Delete.
72820         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
72822 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
72824         * configure.in (libc_cv_predef_stack_protector): Only consider
72825         "foobar" and "__stack_chk_fail" lines in libc_undefs.
72826         * configure: Regenerated.
72828 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
72830         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
72831         New macro.  Use R*LP on int and pointer.
72832         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
72833         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
72834         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
72835         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
72837         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
72838         [__WORDSIZE_TIME64_COMPAT32] instead of
72839         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
72840         (struct utmp): Likewise.
72841         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
72842         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
72843         Renamed to ...
72844         (__WORDSIZE_TIME64_COMPAT32): This.
72845         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
72846         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
72847         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
72848         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
72849         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
72850         (__WORDSIZE_TIME64_COMPAT32): New macro.
72852 2012-05-21  Andreas Jaeger  <aj@suse.de>
72854         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
72855         only if [SHARED]. Add prototype for __wcschr_ia32.
72857 2012-05-21  Roland McGrath  <roland@hack.frob.com>
72859         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
72860         of %rbp unmolested in the jmp_buf while mangling the low bits.
72861         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
72862         unmolested high bits of %rbp while demangling the low bits.
72863         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
72865 2012-05-21  Andreas Jaeger  <aj@suse.de>
72867         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
72868         * sunrpc/svc_simple.c: Use it for registerrpc.
72869         * sunrpc/xcrypt.c: Use it for passwd2des.
72871         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
72873 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
72875         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
72876         Don't define if [__SYSCALL_WORDSIZE != 32].
72877         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
72878         New macro.
72880 2012-05-21  Bruno Haible  <bruno@clisp.org>
72881             Andreas Jaeger  <aj@suse.de>
72883         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
72884         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
72885         inptr and inend for must_buffer_ch.
72886         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
72887         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
72888         * stdio-common/Makefile (tests): Remove bug15.
72889         (bug15-ENV): Remove macro.
72890         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
72891         anymore.
72893 2012-05-19  Andreas Jaeger  <aj@suse.de>
72894             Roland McGrath  <roland@hack.frob.com>
72896         * manual/contrib.texi: Completely rewritten. It contains now an
72897         alphabetical list of contributors and their contributions.
72899 2012-05-21  Richard Henderson  <rth@twiddle.net>
72901         * misc/getauxval.c (__getauxval): Use unsigned long int.
72902         * misc/sys/auxv.h: Include <sys/cdefs.h>.
72903         (getauxval): Use unsigned long int.
72905 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
72907         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
72909 2012-05-21  Roland McGrath  <roland@hack.frob.com>
72911         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
72912         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
72913         __alignof__ (long double).
72915 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72917         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72919 2012-05-20  Richard Henderson  <rth@twiddle.net>
72921         * misc/getauxval.c: New file.
72922         * misc/sys/auxv.h: New file.
72923         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
72924         (routines): Add getauxval.
72925         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
72926         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
72927         * elf/dl-sysdep.c (_dl_auxv): Remove.
72928         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
72929         * elf/dl-support.c (_dl_auxv): New variable.
72930         (_dl_aux_init): Initialize it.
72931         * manual/startup.texi (Auxiliary Vector): New node.
72932         * sysdeps/generic/bits/hwcap.h: New file.
72933         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
72934         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
72935         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
72936         * sysdeps/sparc/sysdep.h: ... here.  Include it.
72937         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
72938         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
72939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72940         Update.
72941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
72942         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
72943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
72944         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
72945         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
72946         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
72947         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
72948         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
72950 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72952         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72954 2012-05-19  David S. Miller  <davem@davemloft.net>
72956         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72958 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
72960         [BZ #14123]
72961         * math/s_ccosh.c: Include <float.h>
72962         (__ccosh): Avoid internal overflow calculating sinh and cosh
72963         values before multiplying by sin and cos values.
72964         * math/s_ccoshf.c: Likewise.
72965         * math/s_ccoshl.c: Likewise.
72966         * math/s_csin.c: Likewise.
72967         * math/s_csinf.c: Likewise.
72968         * math/s_csinl.c: Likewise.
72969         * math/s_csinh.c: Likewise.
72970         * math/s_csinhf.c: Likewise.
72971         * math/s_csinhl.c: Likewise.
72972         * math/libm-test.inc (ccos_test): Add more tests.
72973         (ccosh_test): Likewise.
72974         (csin_test): Likewise.
72975         (csinh_test): Likewise.
72976         * sysdeps/i386/fpu/libm-test-ulps: Update.
72977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72979 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
72981         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
72982         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
72984         * sysdeps/x86_64/x32/_itoa.h: Add comment.
72986 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
72988         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
72989         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
72990         * sysdeps/powerpc/soft-fp/Versions: Likewise.
72991         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
72992         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
72993         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
72994         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
72995         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
72996         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
72997         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
72998         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
72999         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
73000         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
73001         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
73002         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
73003         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
73004         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
73005         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
73006         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
73007         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
73008         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
73009         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
73010         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
73011         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
73012         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
73013         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
73014         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
73015         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
73016         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
73017         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
73018         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
73020 2012-05-18  Andreas Jaeger  <aj@suse.de>
73022         * csu/.gitignore: Delete.
73024 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
73026         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
73027         (timex): Use __syscall_slong_t.
73029 2012-05-18  Andreas Jaeger  <aj@suse.de>
73030             Carlos O'Donell  <carlos_odonell@mentor.com>
73032         * manual/install.texi (Configuring and compiling): Update
73033         description about files modified in the source directory.
73034         * INSTALL: Regenerated.
73036 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
73038         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
73039         value.  Use "or" to set return value to -1.
73040         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
73041         negate return value.
73043 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73045         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
73046         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
73047         failure if the compiler has Graphite support disabled.
73048         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
73049         Likewise.
73050         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
73051         (CFLAGS-memmove.c): Likewise.
73052         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
73053         Likewise.
73055 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
73057         * sysdeps/x86_64/x32/_itoa.h: New file.
73059         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
73060         getdents system call only if kernel and user dirents have the
73061         same d_ino and d_off.
73063         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
73064         LLONG_MAX != LONG_MAX.
73065         (_itoa_word): Use _ITOA_WORD_TYPE on value.
73066         (_fitoa_word): Likewise.
73068         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
73069         years.
73070         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
73071         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
73072         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
73074         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
73075         include <bits/wordsize.h>.  Check __x86_64__ instead of
73076         __WORDSIZE.
73077         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
73078         if __x86_64__ is defined.  Use anonymous union on fpstate.
73080         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
73081         anonymous union.
73083 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
73085         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
73086         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
73087         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
73088         Refer to _rtld_local_ro instead of _rtld_global_ro.
73089         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
73090         Likewise.
73091         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
73092         Likewise.
73093         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
73094         Likewise.
73095         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
73096         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
73097         of _rtld_global, and rtld_progname instead of _dl_argv[0].
73099         [BZ #10882]
73100         * sysdeps/powerpc/powerpc32/dl-machine.c
73101         (__elf_machine_runtime_setup) [PROF]: Don't reference
73102         _dl_prof_resolve.
73104 2012-05-18  Andreas Jaeger  <aj@suse.de>
73106         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
73107         function only available for GCCs before 3.4 since GCC 3.4
73108         introduced a builtin.
73109         (lrint): Likewise.
73110         (llrintf): Likewise.
73111         (llrint): Likewise.
73112         (fmaxf): Likewise.
73113         (fmax): Likewise.
73114         (fminf): Likewise.
73115         (fmin): Likewise.
73116         (rint): Likewise.
73117         (rintf): Likewise.
73118         (nearbyint): Likewise.
73119         (nearbyintf): Likewise.
73120         (ceil): Likewise.
73121         (ceilf): Likewise.
73122         (floor): Likewise.
73123         (floorf): Likewise.
73125 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73127         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
73128         on both fields and cast pointer to __syscall_ulong_t.
73130         * bits/types.h (__fsword_t): New type.
73131         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
73132         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
73133         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73134         (__FSWORD_T_TYPE): Likewise.
73135         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73136         (__FSWORD_T_TYPE): Likewise.
73137         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73138         (__FSWORD_T_TYPE): Likewise.
73139         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
73140         (__FSWORD_T_TYPE): Likewise.
73141         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
73142         __SWORD_TYPE with __fsword_t.
73143         (statfs64): Likewise.
73145 2012-05-17  David S. Miller  <davem@davemloft.net>
73147         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
73149 2012-05-17  Andreas Jaeger  <aj@suse.de>
73151         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
73152         warning.
73154 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73156         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
73158 2012-05-17  Andreas Jaeger  <aj@suse.de>
73160         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
73161         when it is used.
73163 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
73165         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
73167 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73169         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
73170         * sysdeps/x86_64/tst-mallocalign1.c: New file.
73172 2012-05-17  Andreas Jaeger  <aj@suse.de>
73173             Carlos O'Donell  <carlos_odonell@mentor.com>
73175         [BZ #14059]
73176         * sysdeps/x86_64/multiarch/init-arch.h
73177         (bit_YMM_Usable): Rename to...
73178         (bit_AVX_Usable): ... this.
73179         (bit_FMA4_Usable): New macro.
73180         (bit_XMM_state): New macro.
73181         (bit_YMM_state): New macro.
73182         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
73183         [__ASSEMBLER__] (index_AVX_Usable): ... this.
73184         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
73185         (CPUID_OSXSAVE): New macro.
73186         (CPUID_AVX): New macro.
73187         (CPUID_FMA4): New macro.
73188         (index_YMM_Usable): Rename to...
73189         (index_AVX_Usable): ... this.
73190         (HAS_AVX): Use HAS_ARCH_FEATURE.
73191         (HAS_FMA4): Likewise.
73192         (HAS_YMM_USABLE): Remove.
73193         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73194         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
73195         are present.
73196         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
73197         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
73198         * sysdeps/x86_64/multiarch/Makefile: Likewise.
73199         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
73200         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
73202 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
73204         * math/libm-test.c: Support platforms without multiple rounding modes.
73205         * math/bug-nextafter.c: Support platforms without FP exceptions.
73206         * math/bug-nexttoward.c: Likewise.
73207         * math/test-fenv.c: Likewise.
73208         * math/test-misc.c: Likewise.
73209         * stdlib/bug-getcontext.c: Likewise.
73211 2012-05-17  Andreas Jaeger  <aj@suse.de>
73213         * manual/examples/search.c (critter_cmp): Change signature to
73214         avoid warnings.
73215         * manual/string.texi (Collation Functions): Likewise.
73217 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73219         * bits/types.h: Fold copyright years.
73220         * bits/typesizes.h: Likewise.
73221         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
73222         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
73223         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
73224         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
73225         * time/time.h: Likewise.
73227 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
73229         [BZ #208]
73230         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
73231         in instead of returning them.  Return void.
73232         (__libc_mallinfo): Accumulate over all arenas.
73233         (__malloc_stats): Adjust for change in int_mallinfo interface.
73235 2012-05-16  Roland McGrath  <roland@hack.frob.com>
73237         [BZ #10375]
73238         * configure.in (NM): Add AC_CHECK_TOOL for it.
73239         (libc_extra_cflags): New substituted variable.
73240         Check for -fstack-protector being used implicitly.
73241         * configure: Regenerated.
73242         * config.make.in (config-extra-cflags): New variable,
73243         gets @libc_extra_cflags@.
73244         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
73246         [BZ #10375]
73247         * configure.in: Check for _FORTIFY_SOURCE being predefined.
73248         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
73249         * configure: Regenerated.
73250         * config.make.in (CPPUNDEFS): New substituted variable.
73251         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
73252         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
73253         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
73255 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73257         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
73258         (mq_attr): Use __syscall_slong_t.
73260 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73262         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
73263         Check __x86_64__ instead of __WORDSIZE.
73264         (_STAT_VER_LINUX): Likewise.
73265         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
73266         __syscall_ulong_t and __syscall_slong_t.
73267         (stat64): Likewise.
73269 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73271         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
73273 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73275         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
73277 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73279         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
73280         __syscall_ulong_t.
73282         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
73283         include <bits/wordsize.h>.  Check __x86_64__ instead of
73284         __WORDSIZE.
73285         (greg_t): Use "__extension__ long long int" if __x86_64__ is
73286         defined.
73287         (mcontext_t): Replace "unsigned long" with "unsigned long long".
73289         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
73290         include <bits/wordsize.h>.  Check __x86_64__ instead of
73291         __WORDSIZE.
73292         (user_regs_struct): Use "__extension__ unsigned long long"
73293         instead of "unsigned long" if __x86_64__ is defined.
73294         (user): Likewise.  Pad after pointer field if __ILP32__ is
73295         defined.
73297 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
73299         * configure.in (makeinfo): Require version 4.5 or later.  Allow
73300         versions 5 to 9.
73301         * configure: Regenerated.
73302         * manual/install.texi (texinfo): Increase version requirement to
73303         4.5 or later.
73304         * INSTALL: Regenerated.
73306         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
73308 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73310         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
73312         * sysdeps/x86_64/x32/ffs.c: New file.
73314         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
73315         __syscall_ulong_t.
73316         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
73317         defined.  Use __syscall_ulong_t.
73318         (shminfo): Use __syscall_ulong_t.
73319         (shm_info): Likewise.
73321         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
73322         __syscall_ulong_t.
73324         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
73325         <bits/wordsize.h>.
73326         (msgqnum_t): Use __syscall_ulong_t.
73327         (msglen_t): Likewise.
73328         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
73329         __syscall_ulong_t.
73331         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
73332         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
73334         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
73336         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
73337         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
73339         * sysvipc/sys/msg.h (msgbuf): Replace long int with
73340         __syscall_slong_t.
73342         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
73343         include <bits/wordsize.h>.  Check __x86_64__ instead of
73344         __WORDSIZE.
73346         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
73347         "unsigned long long int" if __x86_64__ is defined.
73348         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
73350         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
73351         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
73352         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
73354         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
73355         <stdint.h>.
73356         (GET_PC): Cast to uintptr_t first.
73357         (GET_FRAME): Likewise.
73358         (GET_STACK): Likewise.
73360         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
73361         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
73362         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
73363         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
73364         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
73365         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
73366         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
73367         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
73368         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
73369         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
73370         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
73371         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
73372         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
73373         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
73374         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
73375         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
73376         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
73377         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
73378         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
73379         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
73380         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
73381         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
73382         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
73383         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
73384         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
73385         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
73386         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
73387         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
73388         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
73390 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
73392         * Makerules (+depfiles): Also collect depfiles from .oS in
73393         $(extra-objs).
73394         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
73395         .oS, $(libnldbl-routines)).
73397         * Makerules (native-compile-mkdep-flags): Define.
73398         * sunrpc/Makefile (extra-objs): Add $(addprefix
73399         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
73400         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
73401         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
73402         calling $(make-target-directory).
73404 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73406         * bits/types.h (__snseconds_t): Removed.
73407         * time/time.h (struct timespec): Replace __snseconds_t with
73408         __syscall_slong_t.
73409         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
73410         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
73411         Likewise.
73412         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73413         (__SNSECONDS_T_TYPE): Likewise.
73414         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73415         (__SNSECONDS_T_TYPE): Likewise.
73416         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73417         (__SNSECONDS_T_TYPE): Likewise.
73419 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73421         * sysdeps/mach/hurd/bits/typesizes.h
73422         (__SYSCALL_SLONG_TYPE): New macro.
73423         (__SYSCALL_ULONG_TYPE): Likewise.
73425 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73427         * bits/types.h (__syscall_slong_t): New type.
73428         (__syscall_ulong_t): Likewise.
73430         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
73431         (__SYSCALL_ULONG_TYPE): Likewise.
73432         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73433         (__SYSCALL_SLONG_TYPE): Likewise.
73434         (__SYSCALL_ULONG_TYPE): Likewise.
73435         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73436         (__SYSCALL_SLONG_TYPE): Likewise.
73437         (__SYSCALL_ULONG_TYPE): Likewise.
73438         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73439         (__SYSCALL_SLONG_TYPE): Likewise.
73440         (__SYSCALL_ULONG_TYPE): Likewise.
73442 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73444         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
73445         Add sigaltstack-offsets.sym.
73446         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
73447         <sigaltstack-offsets.h>.
73448         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
73449         longjmp_msg pointer.
73450         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
73451         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
73452         signal stack.
73453         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
73455 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
73457         * elf/stackguard-macros.h: Remove file.
73458         * sysdeps/generic/stackguard-macros.h: New file.
73459         * sysdeps/i386/stackguard-macros.h: Likewise.
73460         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
73461         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
73462         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
73463         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
73464         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
73465         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
73466         * sysdeps/x86_64/stackguard-macros.h: Likewise.
73467         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
73468         <elf/stackguard-macros.h>.
73470         [BZ #14109]
73471         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
73472         __aligned__ in attribute.
73473         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
73474         (gregset_t): Likewise.
73476 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73478         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
73479         * sysdeps/x86_64/64/Implies-after: Here.  New file.
73480         * sysdeps/x86_64/x32/Implies-after: New file.
73482 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73484         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
73485         and access return value for _dl_profile_fixup.  Use R10_LP to
73486         load frame size.
73488 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73490         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
73492 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73494         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
73495         * sysdeps/x86_64/x32/sysdep.h: New file.
73497 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73499         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
73500         * sysdeps/x86_64/setjmp.S: Likewise.
73502 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73504         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
73505         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
73506         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
73507         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
73508         remove unused global constant.
73510 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
73512         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
73513         include of <not-cancel.h>.
73515 2012-05-15  Roland McGrath  <roland@hack.frob.com>
73517         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
73519 2012-05-15  Jeff Law  <law@redhat.com>
73520             Andreas Jaeger  <aj@suse.de>
73522         [BZ #13594]
73523         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
73524         out from...
73525         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
73526         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
73527         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
73528         code changing __hst_map_handle.map.
73530 2012-05-15  Roland McGrath  <roland@hack.frob.com>
73532         * configure.in (sysnames): Look for Implies-before and Implies-after
73533         files.
73534         * configure: Regenerated.
73536 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73538         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
73539         8-byte data alignment with LP_SIZE alignment.
73541 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73543         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
73544         into R10_LP.
73546 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73548         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
73550 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73552         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
73553         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
73554         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
73555         Likewise.
73556         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
73558 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73560         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
73561         (stackinfo_sub_sp): Likewise.
73563 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73565         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
73566         RAX_LP.
73568 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73570         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
73571         into R*_LP.
73573 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73575         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
73576         sizes into R*_LP.
73578 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73580         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
73582 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73584         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
73585         into R11_LP and load __x86_64_shared_cache_size_half into
73586         R8_LP.
73588 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73590         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
73591         R8_LP.
73593 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73595         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
73596         logb for POWER7.
73597         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
73598         logbf for POWER7.
73599         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
73600         logbl for POWER7.
73601         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
73602         powerpc32/power7/fpu/s_logb.c via #include.
73603         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
73604         powerpc32/power7/fpu/s_logbf.c via #include.
73605         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
73606         powerpc32/power7/fpu/s_logbl.c via #include.
73608 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
73610         * README.libm: Remove file.
73612 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73614         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
73615         count for x32.  Use R*_LP and omit operand-size suffix.
73617 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73619         * shlib-versions: Move x86_64-.*-linux.* entries to ...
73620         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
73621         * sysdeps/x86_64/x32/shlib-versions: New file.
73623 2012-05-14  Roland McGrath  <roland@hack.frob.com>
73625         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
73626         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
73627         Use _dl_fatal_printf instead.
73629 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
73631         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
73632         set if not set by the user.  Do not allow for being unset.
73633         * sysdeps/unix/sysv/linux/configure: Regenerated.
73635 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73637         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
73638         the `q' suffix from lea and replace .quad with ASM_ADDR.
73640 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73642         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
73643         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
73644         instead of $17.
73645         (PTR_DEMANGLE): Likewise.
73647 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73649         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
73650         (LP_OP): Likewise.
73651         (ASM_ADDR): Likewise.
73652         (RAX_LP): Likewise.
73653         (RBP_LP): Likewise.
73654         (RBX_LP): Likewise.
73655         (RCX_LP): Likewise.
73656         (RDI_LP): Likewise.
73657         (RSI_LP): Likewise.
73658         (RSP_LP): Likewise.
73659         (R8_LP): Likewise.
73660         (R9_LP): Likewise.
73661         (R10_LP): Likewise.
73662         (R10_LP): Likewise.
73663         (R11_LP): Likewise.
73664         (R12_LP): Likewise.
73665         (R13_LP): Likewise.
73666         (R14_LP): Likewise.
73667         (R15_LP): Likewise.
73669 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73671         * sysdeps/x86_64/x32/dl-machine.h: New file.
73673 2012-05-14  Andreas Jaeger  <aj@suse.de>
73675         * manual/Makefile (subdir): Remove export of subdir.
73676         (all): Remove target.
73677         (.PHONY): Remove all from list.
73678         (mkinstalldirs): Remove.
73679         (.PHONY): Remove installdirs from list.
73680         ($(inst_infodir)/libc.info): Use make-target-directory.
73681         (installdirs): Remove.
73682         (subdir_%): Remove.
73683         (glibc-targets): Remove.
73684         (lib): Remove.
73685         (stubs): Remove.
73686         ($(objpfx)stubs ../po/manual.pot): Remove.
73687         ($(objpfx)stamp%): Remove.
73688         (make-target-directory): Remove.
73689         (subdir_install): Remove.
73690         (routines): Remove.
73691         (aux): Remove.
73692         (sources): Remove.
73693         (objects): Remove.
73694         (headers): Remove.
73696         [BZ #13750]
73697         * manual/.gitignore: Remove, it's not needed anymore.
73698         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
73699         all files in it.
73700         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
73701         directory.
73702         (texis): Renamed to $(objpfx)texis.
73703         (texis-path): New, contains path to generated files.
73704         (chapters.%): Use texis-path for complete path, add extra argument
73705         libc-texinfo.sh.
73706         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
73707         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
73708         (summary,texi, stamp-summary): Use complete path of
73709         files. Generate files in build dir.
73710         (dir-add.texi): Build in build dir.
73711         (libm-err.texi,stamp-libm-err): Likewise.
73712         (version.texi, stamp-version): Likewise.
73713         (.%c.texi): Likewise.
73714         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
73715         (mostlyclean): Remove target.
73716         (realclean): Remove target.
73717         (generated): Add new variable with contents from mostlyclean and
73718         realclean, remove entries duplicated in common-mostlyclean, add
73719         stamp-libm-err and stamp-version.
73720         (generated-dirs): Add libc directory.
73721         ($(inst_infodir)/libc.info): Install files from build dir.
73723         * manual/install.texi (Configuring and compiling): Adjust since
73724         the info files are not part of the tar ball anymore.
73726 2012-05-14  Andreas Jaeger  <aj@suse.de>
73728         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
73729         variable.
73731 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
73733         [BZ #13717]
73734         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
73735         to 2.2.0 where earlier.
73736         * sysdeps/unix/sysv/linux/configure: Regenerated.
73737         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
73738         Remove conditional code.
73739         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
73740         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
73741         Remove conditional code.
73742         [!__NR_lchown]: Likewise.
73743         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73744         [__NR_lchown]: Likewise.
73745         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
73746         comment referencing __ASSUME_LCHOWN_SYSCALL.
73747         * sysdeps/unix/sysv/linux/i386/sigaction.c
73748         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73749         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73750         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
73751         Remove conditional code.
73752         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
73753         (__protocol_available): Remove #if 0 code.
73754         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
73755         conditional code.
73756         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
73757         * sysdeps/unix/sysv/linux/kernel-features.h
73758         (__ASSUME_GETCWD_SYSCALL): Don't define.
73759         (__ASSUME_REALTIME_SIGNALS): Likewise.
73760         (__ASSUME_PREAD_SYSCALL): Likewise.
73761         (__ASSUME_PWRITE_SYSCALL): Likewise.
73762         (__ASSUME_POLL_SYSCALL): Likewise.
73763         (__ASSUME_LCHOWN_SYSCALL): Likewise.
73764         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
73765         non-SPARC.
73766         (__ASSUME_SIOCGIFNAME): Don't define.
73767         (__ASSUME_MSG_NOSIGNAL): Likewise.
73768         (__ASSUME_SENDFILE): Define unconditionally.
73769         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
73770         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
73771         conditional code.
73772         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
73773         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
73774         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
73775         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73776         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
73777         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
73778         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
73780         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73781         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
73783         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73784         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
73786         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73787         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
73789         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73790         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
73792         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73793         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
73795         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73796         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
73798         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73799         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
73801         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73802         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73803         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
73804         Remove conditional code.
73805         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73806         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
73807         Remove conditional code.
73808         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73809         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
73810         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
73811         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
73812         Remove conditional code.
73813         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73814         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
73815         Remove conditional code.
73816         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73817         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
73818         Remove conditional code.
73819         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73820         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
73821         Remove conditional code.
73822         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73823         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
73824         Remove conditional code.
73825         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73826         * sysdeps/unix/sysv/linux/sh/pwrite64.c
73827         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73828         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73829         * sysdeps/unix/sysv/linux/sigaction.c
73830         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73831         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73832         * sysdeps/unix/sysv/linux/sigpending.c
73833         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73834         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73835         * sysdeps/unix/sysv/linux/sigprocmask.c
73836         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73837         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73838         * sysdeps/unix/sysv/linux/sigsuspend.c
73839         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73840         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73841         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
73842         (__libc_missing_rt_sigs): Remove.
73843         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
73844         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
73845         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
73846         Remove conditional code.
73847         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
73848         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
73849         return 1.
73850         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
73851         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
73852         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
73853         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
73855 2012-05-14  Andreas Jaeger  <aj@suse.de>
73857         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
73858         it's not used in glibc.
73859         (__coshm1): Likewise.
73860         (__acosh1p): Likewise.
73861         (__sgn): Likewise.
73863         * manual/string.texi (Copying and Concatenation): Add missing
73864         variable in concat example.
73865         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
73867 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73869         [BZ #14103]
73870         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
73871         __builtin_clzl with __builtin_clzll.
73873 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73875         [BZ #14104]
73876         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
73877         libc_freeres_ptr.
73879 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73881         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
73882         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
73883         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
73884         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
73886 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
73888         * NEWS: Update ia64 info.
73890 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
73892         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
73893         used as bcopy.
73895 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
73897         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
73898         * sysdeps/unix/syscalls.list (dup3): Likewise.
73899         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
73900         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
73902 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
73904         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
73905         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
73907 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
73909         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
73910         thread pointer.
73911         (TLS_IE): Use mov/add instead of movq/addq to load thread
73912         pointer.
73913         (TLS_GD_PREFIX): New.
73914         (TLS_GD): Use it.
73916 2012-05-11  David S. Miller  <davem@davemloft.net>
73918         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
73919         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
73920         (_FPU_SETCW): Likewise.
73922 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
73924         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
73925         is 32-byte aligned.
73927 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
73929         [BZ #11837]
73930         * iconvdata/gb18030.c: Update tables.
73931         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
73932         characters specially.
73933         (BODY for TO_LOOP): Add encoding of missing ranges.
73935 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
73937         [BZ #13673]
73938         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
73939         * sysdeps/mach/hurd/dup3.c: Likewise.
73940         * sysdeps/mach/hurd/readlinkat.c: Likewise.
73941         * sysdeps/powerpc/memmove.c:: Likewise.
73943 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
73945         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
73946         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
73948 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
73950         * elf/elf.h (R_X86_64_RELATIVE64): New.
73951         (R_X86_64_NUM): Updated.
73952         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
73953         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
73954         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
73955         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
73956         tst-quad1pie tst-quad2pie
73957         (modules-names): Add tst-quadmod1 tst-quadmod2.
73958         ($(objpfx)tst-quad1): New dependency.
73959         ($(objpfx)tst-quad2): Likewise.
73960         ($(objpfx)tst-quad1pie): Likewise.
73961         ($(objpfx)tst-quad2pie): Likewise.
73962         * sysdeps/x86_64/tst-quad1.c: New file.
73963         * sysdeps/x86_64/tst-quad1pie.c: New file.
73964         * sysdeps/x86_64/tst-quad2.c: Likewise.
73965         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
73966         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
73967         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
73968         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
73969         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
73971 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73973         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
73974         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
73975         * streams/stropts.h (t_scalar_t): Define type.
73977         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
73978         (_PATH_PRESERVE): Set to "/var/lib".
73979         (_PATH_RWHODIR): Set to "/var/spool/rwho".
73981         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
73982         instead of int.
73984         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
73985         if __dir_mkfile succeeded.
73987         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
73988         checking for _hurd_dtablesize.  Unlock it right after having
73989         finished _hurd_dtable allocation.
73991 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73993         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
73994         * sysdeps/mach/hurd/configure: Regenerated.
73995         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
73996         special-casing to...
73997         * sysdeps/gnu/configure.in: ... this new file.
73998         * sysdeps/unix/sysv/linux/configure: Regenerated.
73999         * sysdeps/gnu/configure: New generated file.
74001         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
74002         for Linux: use nsec instead of usec, as well as:
74003         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
74004         members of type struct timespec.
74005         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
74006         New macros.
74007         (struct stat64): Likewise.
74008         (_STATBUF_ST_NSEC): New macro.
74009         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
74011         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
74012         __strtoul_internal rather than strtoul.
74014 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74016         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
74017         and reject them.
74019 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74021         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
74022         which preserves existing values.
74023         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
74025 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74027         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
74028         TIMEOUT values.  Return EINVAL for NFDS values either negative or
74029         greater than FD_SETSIZE.
74031 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74033         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
74034         allocated, call __vm_protect to finish enabling the existing space, and
74035         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
74036         allocate the remainder.
74038 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74040         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
74041         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
74043 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74045         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
74046         sysdeps/mach/hurd/readlink.c.
74048         * posix/tst-sysconf.c (posix_options): Only use
74049         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
74050         _POSIX_SYNCHRONIZED_IO when they are defined
74051         * sysdeps/mach/hurd/bits/posix_opt.h:
74052         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
74053         (_XOPEN_REALTIME): Undefine macro.
74054         (_XOPEN_REALTIME_THREADS): Undefine macro.
74055         (_XOPEN_SHM): Undefine macro.
74056         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
74057         macro to -1.
74058         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
74059         macro to -1.
74060         (_POSIX_ASYNC_IO): Undefine macro.
74061         (_POSIX_PRIORITIZED_IO): Undefine macro.
74062         (_POSIX_SPIN_LOCKS): Define macro to -1.
74064         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
74065         SA_NODEFER, SA_RESETHAND.
74066         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
74067         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
74068         F_DUPFD_CLOEXEC.
74070 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74072         * elf/Makefile (pldd-modules): Define unconditionally.
74074 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74076         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
74078 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74080         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
74081         Return ENOENT when name is empty.
74082         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
74084 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74086         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
74088         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
74090 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74092         Fix mlock in all cases except non-readable pages.
74093         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
74094         instead of VM_PROT_ALL as parameter to __vm_wire function.
74096         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
74097         (__mkdir): When path is `/', just fail with EEXIST.
74098         * sysdeps/mach/hurd/mkdirat.c: Likewise.
74100 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74102         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
74103         <sys/uio.h> (for writev).
74104         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
74105         and <sys/param.h> (for MIN).
74107 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74109         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
74110         REQUESTED_TIME.  Properly set the remaining time and return EINTR
74111         if interrupted.
74113 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74115         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
74116         Depend on against $(link-rpcuserlibs).
74118 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74120         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
74121         (__libc_stack_end): Do not use attribute_relro.
74122         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
74123         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
74124         to libthread-provided value.
74125         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
74126         attribute_relro.
74128 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74130         [BZ #3748]
74131         * bits/libc-lock.h (__libc_once_get): New macro.
74132         * sysdeps/mach/bits/libc-lock.h: Likewise.
74133         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
74134         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
74135         instead of using implementation details.
74137         * libio/fileops.c: Unconditionally include <kernel-features.h>.
74138         * libio/freopen.c: Likewise.
74139         * libio/freopen64.c: Likewise.
74140         * misc/syslog.c: Likewise.
74141         * nscd/connections.c: Likewise.
74142         * nscd/netgroupcache.c: Likewise.
74143         * sysdeps/posix/getcwd.c: Likewise.
74145 2012-05-10  Roland McGrath  <roland@hack.frob.com>
74147         * math/w_ilogbf.c: Add #include <limits.h>.
74149 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74151         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
74152         path instead of returning without unlocking.
74154         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
74155         immediate-write ioctls.
74156         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
74158 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74160         * sysdeps/mach/hurd/i386/init-first.c (init): Use
74161         __builtin_frame_address instead of making assumptions about the
74162         location of the return address relative to DATA.  Force early load of
74163         the return address.
74164         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
74165         __builtin_frame_address.
74167         dup3 for GNU Hurd.
74168         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
74169         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
74170         implement dup3 and do some further code clean-ups.
74171         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
74172         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
74174 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74176         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
74178         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
74179         HURD_CRITICAL_END around holding _hurd_dtable_lock.
74180         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
74181         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
74182         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
74183         d->port.lock.
74185         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
74186         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
74187         when handler == SIG_ERR, not when handler != SIG_ERR.
74189 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74191         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
74192         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
74193         definitions.
74195         accept4 for GNU Hurd.
74196         * include/sys/socket.h (__libc_accept4): New prototype.
74197         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
74198         to implement __libc_accept4.
74199         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
74200         __libc_accept4.
74201         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
74203         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
74204         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
74205         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
74206         signal-defines.sym.
74208 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74210         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
74212 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74214         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
74215         assertion on O_CLOEXEC flag.
74216         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
74217         * hurd/intern-fd.c: Likewise.
74218         * hurd/port2fd.c: Likewise.
74220 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74222         [BZ #3906]
74223         * bits/in.h (IPV6_PKTINFO): Define new macro.
74224         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
74226 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74228         [BZ #13954]
74229         [BZ #13955]
74230         [BZ #13956]
74231         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
74232         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
74233         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
74234         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
74235         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
74236         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
74237         * math/libm-test.inc (logb_test) : Additional logb tests.
74239 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
74240             Andreas Jaeger  <aj@suse.de>
74242         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
74243         * configure: Regenerated.
74244         * config.h.in (LINK_OBSOLETE_RPC): New macro.
74245         * config.make.in (link-obsolete-rpc): New substituted variable.
74246         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
74247         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
74248         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
74249         (shared-only-routines): Don't set it under [link-obsolete-rpc],
74250         so that libc.a contains the symbols.
74251         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
74252         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
74253         * sunrpc/auth_none.c: Likewise.
74254         * sunrpc/auth_unix.c: Likewise.
74255         * sunrpc/authdes_prot.c: Likewise.
74256         * sunrpc/authuxprot.c: Likewise.
74257         * sunrpc/clnt_gen.c: Likewise.
74258         * sunrpc/clnt_perr.c: Likewise.
74259         * sunrpc/clnt_raw.c: Likewise.
74260         * sunrpc/clnt_simp.c: Likewise.
74261         * sunrpc/clnt_tcp.c: Likewise.
74262         * sunrpc/clnt_udp.c: Likewise.
74263         * sunrpc/clnt_unix.c: Likewise.
74264         * sunrpc/des_crypt.c: Likewise.
74265         * sunrpc/des_soft.c: Likewise.
74266         * sunrpc/get_myaddr.c: Likewise.
74267         * sunrpc/key_call.c: Likewise.
74268         * sunrpc/key_prot.c: Likewise.
74269         * sunrpc/netname.c: Likewise.
74270         * sunrpc/pm_getmaps.c: Likewise.
74271         * sunrpc/pm_getport.c: Likewise.
74272         * sunrpc/pmap_clnt.c: Likewise.
74273         * sunrpc/pmap_prot.c: Likewise.
74274         * sunrpc/pmap_prot2.c: Likewise.
74275         * sunrpc/pmap_rmt.c: Likewise.
74276         * sunrpc/publickey.c: Likewise.
74277         * sunrpc/rpc_cmsg.c: Likewise.
74278         * sunrpc/rpc_common.c: Likewise.
74279         * sunrpc/rpc_dtable.c: Likewise.
74280         * sunrpc/rpc_prot.c: Likewise.
74281         * sunrpc/rpc_thread.c: Likewise.
74282         * sunrpc/rtime.c: Likewise.
74283         * sunrpc/svc.c: Likewise.
74284         * sunrpc/svc_auth.c: Likewise.
74285         * sunrpc/svc_raw.c: Likewise.
74286         * sunrpc/svc_run.c: Likewise.
74287         * sunrpc/svc_tcp.c: Likewise.
74288         * sunrpc/svc_udp.c: Likewise.
74289         * sunrpc/svc_unix.c: Likewise.
74290         * sunrpc/svcauth_des.c: Likewise.
74291         * sunrpc/xcrypt.c: Likewise.
74292         * sunrpc/xdr.c: Likewise.
74293         * sunrpc/xdr_array.c: Likewise.
74294         * sunrpc/xdr_float.c: Likewise.
74295         * sunrpc/xdr_intXX_t.c: Likewise.
74296         * sunrpc/xdr_mem.c: Likewise.
74297         * sunrpc/xdr_rec.c: Likewise.
74298         * sunrpc/xdr_ref.c: Likewise.
74299         * sunrpc/xdr_sizeof.c: Likewise.
74300         * sunrpc/xdr_stdio.c: Likewise.
74302 2012-05-10  Roland McGrath  <roland@hack.frob.com>
74304         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
74305         change.  Update copyright years.
74307 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
74309         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
74311 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
74312             Joseph Myers  <joseph@codesourcery.com>
74313             Paul Pluzhnikov  <ppluzhnikov@google.com>
74315         [BZ #14012]
74316         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
74317         requiring rpcgen.
74318         [cross-compiling] (extra-libs): Likewise.
74319         [cross-compiling] (extra-libs-others): Likewise.
74320         [cross-compiling] (librpcsvc-routines): Likewise.
74321         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
74322         [cross-compiling] (omit-deps): Likewise.
74323         (sunrpc-CPPFLAGS): New variable.
74324         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
74325         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
74326         (cross-rpcgen-objs): New variable.
74327         (extra-objs): Append $(cross-rpcgen-objs).
74328         ($(cross-rpcgen-objs)): New rule.
74329         ($(objpfx)cross-rpcgen): Likewise.
74330         (rpcgen-cmd): Define to use $(built-program-file).  Expand
74331         comment.
74332         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
74333         ($(objpfx)x%.stmp): Likewise.
74334         * sunrpc/proto.h [IS_IN_build] (_): Define.
74335         [IS_IN_build] (_libc_intl_domainname): Likewise.
74337 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
74339         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
74340         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
74341         and R_X86_64_TPOFF64.
74343 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
74345         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
74346         sysdeps/unix/sysv/syscalls.list.
74347         (stime): Likewise.
74348         (utime): Likewise.
74349         * sysdeps/unix/sysv/syscalls.list: Remove file.
74351 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
74353         [BZ #3440]
74354         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
74355         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
74356         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
74357         (__LC_IDENTIFICATION): Make these macros useful in #if
74358         expressions, as required by C99.
74360 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
74362         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
74363         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
74364         after this.
74366 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
74368         * stdlib/longlong.h: Updated from GCC.
74370 2012-05-09  Andreas Jaeger  <aj@suse.de>
74372         * nscd/nscd.c (run_modes): Make named enum, reorder so that
74373         default is first entry.
74374         (run_mode): Set type.
74375         (main): Remove informal message about syslog.
74376         (options): Fix typo.
74378         [BZ #14053]
74379         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
74380         to asm.
74381         (lrint): Likewise.
74382         (llrintf): Likewise.
74383         (llrint): Likewise.
74384         (rint): Likewise.
74385         (rintf): Likewise.
74386         (nearbyint): Likewise.
74387         (nearbyintf): Likewise.
74389 2012-05-09  Andreas Jaeger  <aj@suse.de>
74390             Pedro Alves  <palves@redhat.com>
74392         * nscd/nscd.c (run_mode): Use enum.
74393         (main): Cleanup coding style issue.
74395 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
74396             Andreas Jaeger  <aj@suse.de>
74398         * nscd/nscd.c (go_background): Replaced with...
74399         (run_mode): ... this.
74400         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
74401         (options): Add -F --foreground.
74402         (main): Implement it.
74403         (parse_opt): Parse it.
74405 2012-05-09  Andreas Jaeger  <aj@suse.de>
74407         [BZ #14083]
74408         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
74409         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
74410         -Wconversion warning.
74411         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
74412         Likewise.
74414 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
74416         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
74417         == 0.
74418         (LC_ALL): Use macro-int-constant.
74419         (LC_COLLATE): Likewise.
74420         (LC_CTYPE): Likewise.
74421         (LC_MESSAGES): Likewise.
74422         (LC_MONETARY): Likewise.
74423         (LC_NUMERIC): Likewise.
74424         (LC_TIME): Likewise.
74425         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
74426         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
74427         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74428         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
74429         Specify type.
74430         [C99-based standards] (float_t): Expect type.
74431         [C99-based standards] (double_t): Expect type.
74432         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
74433         type.
74434         [C99-based standards] (HUGE_VALL): Likewise.
74435         [C99-based standards] (INFINITY): Likewise.
74436         [C99-based standards] (NAN): Likewise.
74437         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
74438         [C99-based standards] (FP_NAN): Likewise.
74439         [C99-based standards] (FP_NORMAL): Likewise.
74440         [C99-based standards] (FP_SUBNORMAL): Likewise.
74441         [C99-based standards] (FP_ZERO): Likewise.
74442         [C99-based standards] (FP_FAST_FMA): Use
74443         optional-macro-int-constant.  Specify type.  Require == 1.
74444         [C99-based standards] (FP_FAST_FMAF): Likewise.
74445         [C99-based standards] (FP_FAST_FMAL): Likewise.
74446         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
74447         [C99-based standards] (FP_ILOGBNAN): Likewise.
74448         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
74449         Specify type.
74450         [C99-based standards] (MATH_ERREXCEPT): Likewise.
74451         [C99-based standards] (math_errhandling): Specify type.
74452         [ISO99 || ISO11] (signgam): Do not allow.
74453         [non-C99-based standards] (copysignf): Do not allow.
74454         [non-C99-based standards] (exp2f): Likewise.
74455         [non-C99-based standards] (log2f): Likewise.
74456         [non-C99-based standards] (modff): Allow.
74457         [non-C99-based standards] (erff): Do not allow.
74458         [non-C99-based standards] (erfcf): Likewise.
74459         [non-C99-based standards] (gammaf): Likewise.
74460         [non-C99-based standards] (hypotf): Likewise.
74461         [non-C99-based standards] (j0f): Likewise.
74462         [non-C99-based standards] (j1f): Likewise.
74463         [non-C99-based standards] (jnf): Likewise.
74464         [non-C99-based standards] (lgammaf): Likewise.
74465         [non-C99-based standards] (tgammaf): Likewise.
74466         [non-C99-based standards] (y0f): Likewise.
74467         [non-C99-based standards] (y1f): Likewise.
74468         [non-C99-based standards] (ynf): Likewise.
74469         [non-C99-based standards] (isnanf): Likewise.
74470         [non-C99-based standards] (acoshf): Likewise.
74471         [non-C99-based standards] (asinhf): Likewise.
74472         [non-C99-based standards] (atanhf): Likewise.
74473         [non-C99-based standards] (cbrtf): Likewise.
74474         [non-C99-based standards] (expm1f): Likewise.
74475         [non-C99-based standards] (ilogbf): Likewise.
74476         [non-C99-based standards] (log1pf): Likewise.
74477         [non-C99-based standards] (logbf): Likewise.
74478         [non-C99-based standards] (nextafterf): Likewise.
74479         [non-C99-based standards] (remainderf): Likewise.
74480         [non-C99-based standards] (rintf): Likewise.
74481         [non-C99-based standards] (scalbf): Likewise.
74482         [non-C99-based standards] (copysignl): Likewise.
74483         [non-C99-based standards] (exp2l): Likewise.
74484         [non-C99-based standards] (log2l): Likewise.
74485         [non-C99-based standards] (modfl): Allow.
74486         [non-C99-based standards] (erfl): Do not allow.
74487         [non-C99-based standards] (erfcl): Likewise.
74488         [non-C99-based standards] (gammal): Likewise.
74489         [non-C99-based standards] (hypotl): Likewise.
74490         [non-C99-based standards] (j0l): Likewise.
74491         [non-C99-based standards] (j1l): Likewise.
74492         [non-C99-based standards] (jnl): Likewise.
74493         [non-C99-based standards] (lgammal): Likewise.
74494         [non-C99-based standards] (tgammal): Likewise.
74495         [non-C99-based standards] (y0l): Likewise.
74496         [non-C99-based standards] (y1l): Likewise.
74497         [non-C99-based standards] (ynl): Likewise.
74498         [non-C99-based standards] (isnanl): Likewise.
74499         [non-C99-based standards] (acoshl): Likewise.
74500         [non-C99-based standards] (asinhl): Likewise.
74501         [non-C99-based standards] (atanhl): Likewise.
74502         [non-C99-based standards] (cbrtl): Likewise.
74503         [non-C99-based standards] (expm1l): Likewise.
74504         [non-C99-based standards] (ilogbl): Likewise.
74505         [non-C99-based standards] (log1pl): Likewise.
74506         [non-C99-based standards] (logbl): Likewise.
74507         [non-C99-based standards] (nextafterl): Likewise.
74508         [non-C99-based standards] (remainderl): Likewise.
74509         [non-C99-based standards] (rintl): Likewise.
74510         [non-C99-based standards] (scalbl): Likewise.
74511         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74512         [non-C99-based standards] (FP_*): Do not allow.
74513         [C99-based standards] (FP_*): Change to
74514         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
74515         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
74516         allow.
74517         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
74518         (SIG_ERR): Likewise.
74519         [X/Open-based standards] (SIG_HOLD): Likewise.
74520         (SIG_IGN): Likewise.
74521         (SIGABRT): Use macro-int-constant.  Specify type.  Require
74522         positive value.
74523         (SIGFPE): Likewise.
74524         (SIGILL): Likewise.
74525         (SIGINT): Likewise.
74526         (SIGSEGV): Likewise.
74527         (SIGTER): Likewise.
74528         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
74529         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
74530         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
74531         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
74532         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
74533         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
74534         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
74535         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
74536         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
74537         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
74538         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
74539         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
74540         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
74541         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
74542         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
74543         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
74544         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
74545         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
74546         [X/Open-based standards] (SIGTRAP): Likewise.
74547         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
74548         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
74549         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
74550         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
74551         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
74552         allow.
74554 2012-05-08  Ian Wienand  <ianw@vmware.com>
74556         [BZ #14080]
74557         * time/tzset.c (__tzset_parse_tz): Update default rules for
74558         daylight time changes in the Energy Policy Act of 2005.
74560 2012-05-09  Andreas Jaeger  <aj@suse.de>
74562         [BZ #13983]
74563         * elf/ldconfig.c (parse_conf): Change string to make clear that
74564         ldconfig only issued a warning if ld.so.conf does not exist.
74566 2012-05-08  David S. Miller  <davem@davemloft.net>
74568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
74569         movxtod instead of popping the value on the stack.
74571         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74573 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
74575         * config.h.in: Add HAVE_ARM_PCS_VFP.
74577 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
74579         [BZ #13979]
74580         * include/features.h: Warn if user requests __FORTIFY_SOURCE
74581         checking but the checks are disabled for any reason.
74583 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
74585         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
74586         and ELF64_R_TYPE with ELFW(R_TYPE).
74588 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
74590         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
74591         (ulimit): Likewise.
74593         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
74594         (settimeofday): Likewise.
74596 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
74598         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
74599         a struct th_u2 inside the union, and move tu_block/tu_code into
74600         a new th_u3 union of tu_block/tu_code inside of that.  Move
74601         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
74602         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
74603         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
74604         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
74605         (th_stuff): Change to th_u1.tu_stuff.
74606         (th_data): Define.
74607         (th_msg): Change to th_u1.th_u2.tu_data.
74609 2012-05-07  David S. Miller  <davem@davemloft.net>
74611         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74613         [BZ #14074]
74614         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
74615         (SETUP_PIC_REG): Use it.
74616         (SETUP_PIC_REG_LEAF): Use it.
74618 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
74620         [BZ #13885]
74621         [BZ #13923]
74622         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74623         USE_AS_EXPM1L.
74624         (EXPL_FINITE): Likewise.
74625         (FLDLOG): Likewise.
74626         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
74627         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
74628         e_expl.S.
74629         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74630         USE_AS_EXPM1L.
74631         (EXPL_FINITE): Likewise.
74632         (FLDLOG): Likewise.
74633         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
74634         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
74635         e_expl.S.
74636         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
74637         test of -max_value argument for long double.
74638         * sysdeps/i386/fpu/libm-test-ulps: Update.
74639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74641 2012-05-06  David S. Miller  <davem@davemloft.net>
74643         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
74644         quad soft-float symbols whose references which are compiler
74645         generated.
74646         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
74648 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
74650         [BZ #13884]
74651         [BZ #13914]
74652         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74653         USE_AS_EXP10L.
74654         (EXPL_FINITE): Likewise.
74655         (FLDLOG): Likewise.
74656         (c0): Likewise.
74657         (c1): Likewise.
74658         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
74659         Adjust comments for base varying.
74660         (__expl_finite): Change alias to EXPL_FINITE.
74661         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
74662         e_expl.S.
74663         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
74664         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
74665         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
74666         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
74667         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74668         USE_AS_EXP10L.
74669         (EXPL_FINITE): Likewise.
74670         (FLDLOG): Likewise.
74671         (c0): Likewise.
74672         (c1): Likewise.
74673         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
74674         Adjust comments for base varying.
74675         (__expl_finite): Change alias to EXPL_FINITE.
74676         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
74677         tests for bugs.
74678         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74680         [BZ #14064]
74681         * math/libm-test.inc (check_float_internal): Correct ulp
74682         calculation for subnormal expected results.
74684 2012-05-06  Andreas Jaeger  <aj@suse.de>
74686         * Makeconfig (+math-flags): New, set to -frounding-math.
74687         (+cflags): Add +math-flags so that all of glibc gets compiled with
74688         it.
74690         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
74692 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
74694         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
74695         Disable one test.
74697         [BZ #13787]
74698         [BZ #13922]
74699         [BZ #14036]
74700         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
74701         (__ieee754_expl): Allow for and saturate large arguments.
74702         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
74703         (u_threshold): Likewise.
74704         (__exp): Call __ieee754_exp before checking for overflow and
74705         underflow.
74706         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
74707         (u_threshold): Likewise.
74708         (__expf): Call __ieee754_expf before checking for overflow and
74709         underflow.
74710         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
74711         (u_threshold): Likewise.
74712         (__expl): Call __ieee754_expl before checking for overflow and
74713         underflow.
74714         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
74715         (__ieee754_expl): Allow for and saturate large arguments.
74716         * math/libm-test.inc (exp_test): Add another test.  Do not allow
74717         missing overflow exception on overflow.
74718         (expm1_test): Do not allow missing overflow exception on overflow.
74720         * sysdeps/i386/fpu/e_expl.c: Move to ...
74721         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
74722         rather than using inline asm.
74723         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
74724         * sysdeps/x86_64/fpu/e_expl.S: Copy from
74725         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
74727         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
74728         (nice): Likewise.
74729         (poll): Likewise.
74730         (signal): Likewise.
74731         (time): Likewise.
74732         (times): Likewise.
74734 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
74736         * sysdeps/unix/syscalls.list (adjtime): Add entry from
74737         sysdeps/unix/common/syscalls.list.
74738         (fchmod): Likewise.
74739         (fchown): Likewise.
74740         (ftruncate): Likewise.
74741         (getrusage): Likewise.
74742         (gettimeofday): Likewise.
74743         (setpgid): Likewise.
74744         (setregid): Likewise.
74745         (setreuid): Likewise.
74746         (sigaction): Likewise.
74747         (truncate): Likewise.
74748         (vhangup): Likewise.
74749         * sysdeps/unix/common/syscalls.list: Remove file.
74750         * sysdeps/unix/bsd/Implies: Don't include unix/common.
74751         * sysdeps/unix/sysv/linux/Implies: Likewise.
74753 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
74755         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
74756         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
74757         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
74758         Moved to ...
74759         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
74760         Here.
74761         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
74762         to ...
74763         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
74764         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
74765         to ...
74766         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
74767         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
74768         to ...
74769         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
74770         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
74771         to ...
74772         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
74773         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
74774         to ...
74775         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
74776         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
74777         to ...
74778         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
74779         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
74780         to ...
74781         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
74782         Here.
74783         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
74784         to ...
74785         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
74786         Here.
74787         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
74788         to ...
74789         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
74790         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
74791         Moved to ...
74792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
74793         Here.
74794         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
74795         to ...
74796         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
74798 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
74800         * sysdeps/unix/common/bits/dirent.h: Remove file.
74801         * sysdeps/unix/common/bits/fcntl.h: Likewise.
74803         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
74804         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
74805         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
74806         * sysdeps/unix/bsd/isatty.c: Likewise.
74807         * sysdeps/unix/bsd/tcdrain.c: Likewise.
74808         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
74809         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
74811 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74813         [BZ #13563]
74814         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
74815         long double comparison inaccuracies.
74816         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
74817         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74819 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
74821         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
74822         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
74824 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
74826         [BZ #14049]
74827         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
74828         nonzero digits before rounding a hex value.
74829         * stdlib/tst-strtod.c (tests): Add another test.
74831 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74833         * sysdeps/s390/fpu/libm-test-ulps: Update.
74835 2012-05-03  Andreas Jaeger  <aj@suse.de>
74837         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
74838         does not get optimized out.
74839         (malloc_opt_barrier): New.
74841 2012-05-03  Andreas Jaeger  <aj@suse.de>
74842             Roland McGrath  <roland@hack.frob.com>
74844         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
74845         intermediate file deletion.
74846         (generated): Add .symlist files.
74848 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
74850         [BZ #13775]
74851         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
74852         Redirect under this condition.
74853         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
74854         [__USE_GNU] (__dprintf_chk): Not under this condition.
74855         [__USE_GNU] (__vdprintf_chk): Likewise.
74856         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
74857         under this condition.
74858         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
74859         [__USE_XOPEN2K8] (dprintf): Define under this condition.
74860         [__USE_XOPEN2K8] (vdprintf): Likewise.
74861         [__USE_GNU] (__dprintf_chk): Not under this condition.
74862         [__USE_GNU] (__vdprintf_chk): Likewise.
74863         [__USE_GNU] (dprintf): Likewise.
74864         [__USE_GNU] (vdprintf): Likewise.
74866 2012-05-03  Roland McGrath  <roland@hack.frob.com>
74868         * elf/Makefile (common-generated): Set this instead of generated for
74869         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
74870         $(all-built-dso)-derived lists.
74872 2012-05-03  Andreas Jaeger  <aj@suse.de>
74874         * sysdeps/i386/fpu/libm-test-ulps: Update.
74876         * FAQ: Removed.
74877         * FAQ.in: Likewise.
74878         * scripts/gen-FAQ.pl: Likewise.
74879         * manual/install.texi (Installation): Point to online location of
74880         FAQ.
74881         * Makefile (files-for-dist): Remove FAQ.
74882         (FAQ): Remove.
74884 2012-05-02  Allan McRae  <allan@archlinux.org>
74886         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
74887         (LDFLAGS-reldepmod5.so): Likewise.
74888         (LDFLAGS-reldep6mod1.so): Likewise.
74889         (LDFLAGS-reldep6mod4.so): Likewise.
74890         (LDFLAGS-reldep8mod3.so): Likewise.
74891         (LDFLAGS-unload4mod1.so): Likewise.
74892         (LDFLAGS-unload4mod2.so): Likewise.
74893         (LDFLAGS-tst-initorder): Likewise.
74894         (LDFLAGS-tst-initordera2.so): Likewise.
74895         (LDFLAGS-tst-initordera3.so): Likewise.
74896         (LDFLAGS-tst-initordera4.so): Likewise.
74897         (LDFLAGS-tst-initorderb2.so): Likewise.
74898         (LDFLAGS-noload): Likewise.
74899         (LDFLAGS-next): Likewise.
74900         (LDFLAGS-order2mod1.so): Likewise.
74901         (LDFLAGS-order2mod2.so): Likewise.
74902         (LDFLAGS-tst-initorder2): Likewise.
74903         (LDFLAGS-tst-initorder2a.so): Likewise.
74904         (LDFLAGS-tst-initorder2b.so): Likewise.
74905         (LDFLAGS-tst-initorder2c.so): Likewise.
74906         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
74908 2012-05-02  David S. Miller  <davem@davemloft.net>
74910         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74912 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
74914         [BZ #14055]
74915         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
74917 2012-05-02  Andreas Jaeger  <aj@suse.de>
74919         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
74920         since we manipulate rounding mode.
74921         (CPPFLAGS-test-idouble.c): Likewise.
74922         (CPPFLAGS-test-ifloat.c): Likewise.
74923         (CFLAGS-test-ldouble.c): Likewise.
74924         (CFLAGS-test-double.c): Likewise.
74925         (CFLAGS-test-float.c): Likewise.
74926         (CFLAGS-test-misc.c): Likewise.
74927         (CFLAGS-test-test-fenv.c): Likewise.
74929 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74931         [BZ #2550]
74932         [BZ #2570]
74933         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
74934         comparisons to determine direction to adjust input.
74936 2012-05-01  Roland McGrath  <roland@hack.frob.com>
74938         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
74939         output to the target.
74941         * scripts/localplt.awk: New file.
74942         * elf/Makefile ($(objpfx)check-localplt): Target removed.
74943         (check-localplt-CFLAGS): Variable removed.
74944         ($(all-built-dso:=.jmprel)): New static pattern rule.
74945         (generated): Add those targets.
74946         (localplt-built-dso): New variable.
74947         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
74949         * elf/check-localplt.c: File removed.
74951         * scripts/check-execstack.awk: New file.
74952         * elf/Makefile ($(objpfx)check-execstack): Target removed.
74953         (check-execstack-CFLAGS): Variable removed.
74954         ($(objpfx)check-execstack.h): Target removed.
74955         ($(objpfx)execstack-default): New target.
74956         (generated): Add that instead of check-execstack.h.
74957         ($(all-built-dso:=.phdr)): New static pattern rule.
74958         (generated): Add those targets.
74959         * elf/check-execstack.c: File removed.
74961         * scripts/check-textrel.awk: New file.
74962         * elf/Makefile ($(objpfx)check-textrel): Target removed.
74963         (check-textrel-CFLAGS): Variable removed.
74964         (all-built-dso): Use := to define.o
74965         ($(all-built-dso:=.dyn)): New static pattern rule.
74966         (generated): Add those targets.
74967         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
74968         * config.make.in (READELF): New substituted variable.
74969         * elf/check-textrel.c: File removed.
74971 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
74973         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
74974         allow.
74975         * conform/data/ctype.h-data [C99-based standards] (isblank):
74976         Expect function.
74977         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
74978         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
74979         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74980         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
74981         Specify type.  Require positive value.
74982         (EILSEQ): Likewise.
74983         (ERANGE): Likewise.
74984         [ISO || POSIX] (EILSEQ): Do not expect.
74985         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
74986         Specify type.  Require positive value.
74987         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
74988         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
74989         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
74990         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
74991         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
74992         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
74993         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
74994         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
74995         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
74996         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
74997         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
74998         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
74999         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
75000         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
75001         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
75002         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
75003         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
75004         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
75005         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
75006         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
75007         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
75008         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
75009         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
75010         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
75011         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
75012         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
75013         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
75014         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
75015         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
75016         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
75017         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
75018         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
75019         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
75020         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
75021         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
75022         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
75023         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
75024         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
75025         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
75026         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
75027         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
75028         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
75029         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
75030         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
75031         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
75032         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
75033         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
75034         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
75035         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
75036         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
75037         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
75038         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
75039         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
75040         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
75041         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
75042         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
75043         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
75044         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
75045         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
75046         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
75047         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
75048         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
75049         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
75050         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
75051         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
75052         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
75053         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
75054         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
75055         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
75056         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
75057         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
75058         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
75059         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
75060         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
75061         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
75062         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
75063         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
75064         Require >= 2.
75065         (FLT_ROUNDS): Expect as macro, not constant.
75066         (FLT_MANT_DIG): Use macro-int-constant.
75067         (DBL_MANT_DIG): Likewise.
75068         (LDBL_MANT_DIG): Likewise.
75069         (FLT_DIG): Likewise.
75070         (DBL_DIG): Likewise.
75071         (LDBL_DIG): Likewise.
75072         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
75073         (DBL_MIN_EXP): Likewise.
75074         (LDBL_MIN_EXP): Likewise.
75075         (FLT_MAX_EXP): Use macro-int-constant.
75076         (DBL_MAX_EXP): Likewise.
75077         (LDBL_MAX_EXP): Likewise.
75078         (FLT_MAX_10_EXP): Likewise.
75079         (DBL_MAX_10_EXP): Likewise.
75080         (LDBL_MAX_10_EXP): Likewise.
75081         (FLT_MAX): Use macro-constant.
75082         (DBL_MAX): Likewise.
75083         (LDBL_MAX): Likewise.
75084         (FLT_EPSILON): Use macro-constant.  Give upper bound.
75085         (DBL_EPSILON): Likewise.
75086         (LDBL_EPSILON): Likewise.
75087         (FLT_MIN): Likewise.
75088         (DBL_MIN): Likewise.
75089         (LDBL_MIN): Likewise.
75090         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
75091         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
75092         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
75093         [ISO11] (FLT_HAS_SUBNORM): Likewise.
75094         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
75095         [ISO11] (DBL_DECIMAL_DIG): Likewise.
75096         [ISO11] (FLT_DECIMAL_DIG): Likewise.
75097         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
75098         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
75099         [ISO11] (FLT_TRUE_MIN): Likewise.
75100         [ISO11] (LDBL_TRUE_MIN): Likewise.
75101         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75102         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
75103         (SCHAR_MIN): Use macro-int-constant.  Specify type.
75104         (SCHAR_MAX): Likewise.
75105         (UCHAR_MAX): Likewise.
75106         (CHAR_MIN): Likewise.
75107         (CHAR_MAX): Likewise.
75108         (MB_LEN_MAX): Use macro-int-constant.
75109         (SHRT_MIN): Use macro-int-constant.  Specify type.
75110         (SHRT_MAX): Likewise.
75111         (USHRT_MAX): Likewise.
75112         (INT_MAX): Likewise.
75113         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
75114         bound negative.
75115         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
75116         bound with "U".
75117         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
75118         bound with "L".
75119         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
75120         bound negative.  Suffix upper bound with "L".
75121         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
75122         bound with "UL".
75123         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
75124         Specify type.
75125         [C99-based standards] (LLONG_MAX): Likewise.
75126         [C99-based standards] (ULLONG_MAX): Likewise.
75127         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
75128         == 0.
75129         [ISO11] (max_align_t): Require type.
75130         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75132         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
75133         from $CFLAGS, without defining away __attribute__ calls.
75134         (checknamespace): Use $CFLAGS_namespace.
75136         * conform/conformtest.pl (@keywords): Only include C99 keywords
75137         for standards based on C99 or C11.
75139         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
75140         Disable tests.
75141         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
75142         UNIX98]: Likewise.
75144         * conform/conformtest.pl: Handle "macro-int-constant" and test for
75145         usability of symbols in #if.
75147         * conform/conformtest.pl: If macro or constant types start
75148         "promoted:", expect the symbol to be of the following type
75149         promoted by the integer promotions.
75151         * conform/conformtest.pl: Parse all "constant" and "macro" lines
75152         in one place.  Also handle "macro-constant".
75154         * conform/conformtest.pl: Only accept expected macro values with
75155         "==".  Parse all "macro" lines in one place.
75156         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
75158         * conform/conformtest.pl: Handle braced types on "constant" lines
75159         instead of handling "typed-constant".
75160         * conform/data/signal.h-data: Use "constant" instead of
75161         "typed-constant".
75163         * conform/conformtest.pl: Handle "optional-" at start of lines in
75164         one place rather than duplicating several cases.  Handle each
75165         format of "macro" line with initial "optional-".
75167         * conform/conformtest.pl: Only accept expected constant or
75168         optional-constant values with "==".  Parse all "constant" lines in
75169         one place.  Parse all "optional-constant" lines in one place.
75170         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
75171         * conform/data/fmtmsg.h-data: Likewise.
75172         * conform/data/netinet/in.h-data: Likewise.
75173         * conform/data/tar.h-data: Likewise.
75174         * conform/data/limits.h-data: Use "==" form on "constant" and
75175         "optional-constant" lines.
75177         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
75178         Use -std=c99 for XOPEN2K.
75179         (@knownproblems): Remove.
75180         (newtoken): Don't check %isknown.
75182         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
75183         Do not expect macro.
75184         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
75185         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
75186         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
75187         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
75188         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
75189         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
75190         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
75191         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
75192         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
75193         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
75194         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
75195         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
75196         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
75197         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
75198         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
75199         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
75200         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
75201         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
75202         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
75203         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
75204         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
75205         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
75206         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
75207         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
75208         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
75209         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
75210         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
75211         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
75212         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
75213         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
75214         [XPG3] (acosh): Likewise.
75215         [XPG3] (asinh): Likewise.
75216         [XPG3] (atanh): Likewise.
75217         [XPG3] (cbrt): Likewise.
75218         [XPG3] (expm1): Likewise.
75219         [XPG3] (ilogb): Likewise.
75220         [XPG3] (log1p): Likewise.
75221         [XPG3] (logb): Likewise.
75222         [XPG3] (nextafter): Likewise.
75223         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
75224         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
75225         [XPG3] (remainder): Likewise.
75226         [XPG3] (rint): Likewise.
75227         [XPG3 || XPG4 || UNIX98] (round): Likewise.
75228         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
75229         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
75230         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
75231         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
75232         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
75233         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
75234         [UNIX98 || XOPEN2K] (scalb): Expect.
75235         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
75236         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
75237         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
75238         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
75239         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
75240         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
75241         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
75242         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
75243         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
75244         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
75245         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
75246         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
75247         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
75248         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
75249         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
75250         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
75251         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
75252         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
75253         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
75254         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
75255         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
75256         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
75257         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
75258         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
75259         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
75260         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
75261         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
75262         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
75263         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
75264         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
75265         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
75266         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
75267         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
75268         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
75269         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
75270         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
75271         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
75272         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
75273         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
75274         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
75275         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
75276         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
75277         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
75278         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
75279         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
75280         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
75281         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
75282         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
75283         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
75284         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
75285         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
75286         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
75287         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
75288         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
75289         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
75290         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
75291         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
75292         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
75293         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
75294         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
75295         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
75296         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
75297         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
75298         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
75299         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
75300         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
75301         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
75302         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
75303         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
75304         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
75305         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
75306         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
75307         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
75308         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
75309         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
75310         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
75311         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
75312         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
75313         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
75314         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
75315         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
75316         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
75317         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
75318         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
75319         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
75320         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
75321         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
75322         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
75323         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
75324         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
75325         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
75326         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
75327         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
75328         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
75329         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
75330         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
75331         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
75332         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
75333         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
75334         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
75335         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
75336         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
75337         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
75338         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
75339         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
75340         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
75341         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
75342         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
75343         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
75344         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
75345         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
75346         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
75347         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
75348         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
75349         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
75350         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
75351         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
75352         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
75353         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
75354         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
75355         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
75356         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
75357         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
75358         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
75359         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
75360         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
75361         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
75362         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
75363         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
75364         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
75365         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
75366         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
75367         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
75368         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
75369         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
75370         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
75371         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
75373         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
75374         _XOPEN_SOURCE_EXTENDED for XPG4.
75376         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
75378         * Makeconfig (localtime): Remove variable.
75379         (inst_localtime-file): Likewise.
75381 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
75383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
75384         Update.
75385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75386         Update.
75387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
75388         Update.
75389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
75390         Update.
75391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
75392         Update.
75393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
75394         Update.
75395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75396         Update.
75397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
75398         Update.
75399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
75400         Update.
75402 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
75404         [BZ #2550]
75405         [BZ #2570]
75406         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
75407         comparisons to determine direction to adjust input.
75408         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
75409         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
75410         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
75411         Likewise.
75412         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
75413         Likewise.
75414         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
75415         Likewise.
75416         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
75417         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
75418         Likewise.
75419         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
75420         Likewise.
75421         * math/libm-test.inc (nexttoward_test): Add more tests.
75423 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
75425         [BZ #14040]
75426         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
75427         in version GLIBC_2.1, not GLIBC_2.0.
75428         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
75429         Likewise.
75431 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
75433         [BZ #13942]
75434         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
75435         (1 - x) * (1 + x).
75436         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
75437         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
75438         * math/libm-test.inc (acos_test): Add more tests.
75439         (asin_test): Likewise.
75440         * sysdeps/i386/fpu/libm-test-ulps: Update.
75441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75443         [BZ #14034]
75444         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
75445         of square root.
75446         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
75447         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
75448         * math/libm-test.inc (acos_test_tonearest): New function.
75449         (acos_test_towardzero): Likewise.
75450         (acos_test_downward): Likewise.
75451         (acos_test_upward): Likewise.
75452         (asin_test_tonearest): Likewise.
75453         (asin_test_towardzero): Likewise.
75454         (asin_test_downward): Likewise.
75455         (asin_test_upward): Likewise.
75456         (main): Call the new functions.
75457         * sysdeps/i386/fpu/libm-test-ulps: Update.
75458         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75460         [BZ #13884]
75461         [BZ #13924]
75462         * math/e_exp10.c: Include <float.h>.
75463         (__ieee754_exp10): Handle underflow here rather than multiplying
75464         large negative argument by M_LN10.
75465         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
75466         of __ieee754_expf.
75467         * math/e_exp10l.c: Include <float.h>.
75468         (__ieee754_exp10l): Handle underflow here rather than multiplying
75469         large negative argument by M_LN10l.
75470         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
75471         spurious overflow exception on underflow.
75473 2012-04-29  Marek Polacek  <polacek@redhat.com>
75475         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
75476         (__fortify_function): New macro.
75477         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
75478         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
75479         __extern_always_inline.
75480         * libio/bits/stdio2.h: Likewise.
75481         * libio/bits/stdio.h: Likewise.
75482         * string/string.h: Likewise.
75483         * string/bits/string3.h: Likewise.
75484         * include/stdio.h: Likewise.
75485         * stdlib/bits/stdlib.h: Likewise.
75486         * stdlib/stdlib.h: Likewise.
75487         * rt/bits/mqueue2.h: Likewise.
75488         * rt/mqueue.h: Likewise.
75489         * posix/bits/unistd.h: Likewise.
75490         * posix/unistd.h: Likewise.
75491         * io/bits/poll2.h: Likewise.
75492         * io/bits/fcntl2.h: Likewise.
75493         * io/fcntl.h: Likewise.
75494         * io/sys/poll.h: Likewise.
75495         * misc/bits/syslog.h: Likewise.
75496         * misc/bits/syslog-ldbl.h: Likewise.
75497         * misc/sys/syslog.h: Likewise.
75498         * socket/bits/socket2.h: Likewise.
75499         * socket/sys/socket.h: Likewise.
75500         * debug/tst-chk1.c: Likewise.
75501         * wcsmbs/bits/wchar2.h: Likewise.
75502         * wcsmbs/bits/wchar-ldbl.h: Likewise.
75503         * wcsmbs/wchar.h: Likewise.
75505 2012-04-29  Andreas Jaeger  <aj@suse.de>
75507         * Makerules (tests): Remove enable-check-abi protection.
75508         (check-abi-warn): Remove.
75509         (check-abi-%): Remove check-abi-warn usage.
75511         * configure.in: Remove check-abi configure option.
75512         * configure: Regenerated.
75513         * config.make.in (enable-check-abi): Remove.
75515 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
75517         [BZ #14033]
75518         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
75519         double functions to double *_finite functions.
75521         [BZ #13941]
75522         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
75523         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
75524         LDBL_MIN_EXP.
75525         * stdio-common/Makefile (tests): Add tst-sprintf3.
75526         * stdio-common/tst-sprintf3.c: New file.
75528         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
75529         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
75531 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
75533         * conform/conformtest.pl: Remove duplicate typed-constant
75534         handling.
75536 2012-04-28  David S. Miller  <davem@davemloft.net>
75538         * Makerules (%.abilist): Add vpath on sysdep_dirs.
75539         (check-abi-%): Remove AWK script prerequisite and explicit
75540         abilist directory.
75541         (check-abi): Rewrite to just diff the symlist with the abilist.
75542         (config-tls, config-abi-config): Delete, no longer used.
75543         (update-abi-%): Remove AWK script and explicit abilist directory.
75544         (update-abi): Rewrite to simply compare and conditionally copy the
75545         symlist and the sysdep abilist file.  Remove update-abi-config
75546         checks.
75547         * abilist/ld.abilist: Remove.
75548         * abilist/libBrokenLocale.abilist: Remove.
75549         * abilist/libanl.abilist: Remove.
75550         * abilist/libcrypt.abilist: Remove.
75551         * abilist/libdl.abilist: Remove.
75552         * abilist/librt.abilist: Remove.
75553         * abilist/libthread_db.abilist: Remove.
75554         * abilist/libutil.abilist: Remove.
75555         * scripts/extract-abilist.awk: Remove.
75556         * scripts/merge-abilist.awk: Remove.
75557         * sysdeps/generic/libcidn.abilist: New file.
75558         * sysdeps/generic/libnss_compat.abilist: New file.
75559         * sysdeps/generic/libnss_db.abilist: New file.
75560         * sysdeps/generic/libnss_dns.abilist: New file.
75561         * sysdeps/generic/libnss_files.abilist: New file.
75562         * sysdeps/generic/libnss_hesiod.abilist: New file.
75563         * sysdeps/generic/libnss_nis.abilist: New file.
75564         * sysdeps/generic/libnss_nisplus.abilist: New file.
75565         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
75566         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
75567         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
75568         file.
75569         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
75570         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
75571         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
75572         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
75573         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
75574         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
75575         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
75576         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
75577         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
75578         file.
75579         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
75580         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
75581         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
75582         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
75583         file.
75584         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
75585         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
75586         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
75587         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
75588         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
75589         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
75590         file.
75591         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
75592         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
75593         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
75594         file.
75595         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
75596         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
75597         New file.
75598         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
75599         New file.
75600         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
75601         New file.
75602         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
75603         New file.
75604         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
75605         New file.
75606         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
75607         New file.
75608         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
75609         New file.
75610         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
75611         New file.
75612         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
75613         New file.
75614         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
75615         New file.
75616         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
75617         New file.
75618         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
75619         New file.
75620         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
75621         New file.
75622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
75623         file.
75624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
75625         New file.
75626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
75627         New file.
75628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
75629         file.
75630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
75631         New file.
75632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
75633         New file.
75634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
75635         file.
75636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
75637         New file.
75638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
75639         New file.
75640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
75641         New file.
75642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
75643         New file.
75644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
75645         New file.
75646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
75647         New file.
75648         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
75649         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
75650         file.
75651         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
75652         New file.
75653         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
75654         file.
75655         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
75656         file.
75657         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
75658         file.
75659         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
75660         file.
75661         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
75662         file.
75663         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
75664         New file.
75665         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
75666         file.
75667         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
75668         file.
75669         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
75670         New file.
75671         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
75672         file.
75673         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
75674         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
75675         file.
75676         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
75677         New file.
75678         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
75679         file.
75680         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
75681         file.
75682         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
75683         file.
75684         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
75685         file.
75686         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
75687         file.
75688         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
75689         New file.
75690         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
75691         file.
75692         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
75693         file.
75694         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
75695         New file.
75696         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
75697         file.
75698         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
75699         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
75700         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
75701         file.
75702         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
75703         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
75704         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
75705         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
75706         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
75707         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
75708         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
75709         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
75710         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
75711         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
75712         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
75713         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
75714         file.
75715         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
75716         New file.
75717         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
75718         file.
75719         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
75720         file.
75721         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
75722         file.
75723         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
75724         file.
75725         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
75726         file.
75727         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
75728         New file.
75729         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
75730         New file.
75731         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
75732         file.
75733         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
75734         New file.
75735         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
75736         file.
75737         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
75738         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
75739         file.
75740         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
75741         New file.
75742         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
75743         file.
75744         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
75745         file.
75746         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
75747         file.
75748         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
75749         file.
75750         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
75751         file.
75752         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
75753         New file.
75754         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
75755         New file.
75756         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
75757         file.
75758         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
75759         New file.
75760         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
75761         file.
75763 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
75765         * conform/conformtest.pl: Fix typo in handling typed-constant from
75766         allow-header.
75768 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
75770         * README: Cut down references to pre-2.6 Linux kernels and
75771         Linuxthreads.  Update lists of configurations in libc and ports
75772         and sort alphabetically.  Say "or newer" with Linux kernel version
75773         requirements.
75775         * config.h.in [IS_IN_build]: Allow compiling without optimization.
75777 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
75779         [BZ #887]
75780         * math/libm-test.inc (logb_test_downward): New test to expose
75781         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
75782         rounding mode.
75784 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
75786         [BZ #14027]
75787         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
75788         to be done.
75789         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
75790         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
75792 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
75794         * sysdeps/unix/i386/brk.S: Remove file.
75795         * sysdeps/unix/i386/dl-brk.S: Likewise.
75796         * sysdeps/unix/i386/pipe.S: Likewise.
75797         * sysdeps/unix/i386/sigreturn.S: Likewise.
75798         * sysdeps/unix/i386/syscall.S: Likewise.
75799         * sysdeps/unix/i386/vfork.S: Likewise.
75800         * sysdeps/unix/i386/wait.S: Likewise.
75802         * sysdeps/unix/common/tcsendbrk.c: Move to ...
75803         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
75805         * configure.in (arm*-none*): Do not allow without
75806         --enable-hacker-mode.
75807         (netbsd*): Remove case setting base_os.
75808         (386bsd*): Likewise.
75809         (freebsd*): Likewise.
75810         (bsdi*): Likewise.
75811         (osf*): Likewise.
75812         (sunos*): Likewise.
75813         (ultrix*): Likewise.
75814         (newsos*): Likewise.
75815         (dynix*): Likewise.
75816         (*bsd*): Likewise.
75817         (sysv*): Likewise.
75818         (isc*): Likewise.
75819         (esix*): Likewise.
75820         (sco*): Likewise.
75821         (minix*): Likewise.
75822         (irix4*): Likewise.
75823         (irix6*): Likewise.
75824         (solaris[2-9]*): Likewise.
75825         (none): Likewise.
75826         * configure: Regenerated.
75828 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75830         [BZ #11521]
75831         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
75832         overflow or cancellation in calculating denominator.
75833         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
75834         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
75835         down expression to avoid unexpected rounding in newer GCCs.
75836         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
75838 2012-04-26  David S. Miller  <davem@davemloft.net>
75840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
75841         long-double compat symbols.
75842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
75843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
75844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
75845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
75846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75847         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
75848         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
75849         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
75850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
75851         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
75852         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
75853         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
75854         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
75856 2012-04-25  David S. Miller  <davem@davemloft.net>
75858         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
75859         HWCAP_* values only after the memory barriers have been defined.
75860         (atomic_full_barrier): Define.
75861         (atomic_read_barrier): Define.
75862         (atomic_write_barrier): Define.
75864 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
75866         * shlib-versions: Add libgcc_s version information.
75867         * sysdeps/generic/libgcc_s.h: Remove.
75868         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
75869         libgcc_s.h.
75870         * sysdeps/gnu/unwind-resume.c: Likewise.
75871         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
75873 2012-04-25  David S. Miller  <davem@davemloft.net>
75875         * sysdeps/unix/sparc/brk.S: Delete.
75876         * sysdeps/unix/sparc/dl-brk.S: Delete.
75877         * sysdeps/unix/sparc/pipe.S: Delete.
75878         * sysdeps/unix/sparc/sysdep.S: Delete.
75879         * sysdeps/unix/sparc/sysdep.h: Delete.
75880         * sysdeps/unix/sparc/vfork.S: Delete.
75881         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
75882         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
75883         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
75884         (ret_ERRVAL, r0, r1, MOVE): Define.
75885         (JUMPTARGET): Remove.
75886         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
75887         sysdeps/unix/sparc/sysdep.h
75888         (ENTRY, END): Remove.
75889         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75891 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
75893         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
75894         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
75895         -DIS_IN_build.
75897         * timezone/README: Update upstream location and email address for
75898         tzcode and tzdata.
75899         * timezone/zdump.c: Update from tzcode 2012b.
75900         * timezone/zic.c: Likewise.
75902         * configure.in (libc_cv_as_needed): Remove test.
75903         * configure: Regenerated.
75904         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
75905         conditional definition.
75906         [$(have-as-needed) != yes] (no-as-needed): Likewise.
75907         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
75908         * config.make.in (have-as-needed): Remove variable.
75910 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
75911             Paul Pluzhnikov  <ppluzhnikov@google.com>
75913         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
75914         strings correctly.
75916 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
75918         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
75919         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
75920         * sysdeps/sh/strlen.S: Likewise.
75922 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
75924         * sysdeps/unix/fork.S: Remove file.
75925         * sysdeps/unix/i386/fork.S: Likewise.
75926         * sysdeps/unix/sparc/fork.S: Likewise.
75928         * sysdeps/unix/system.c: Remove file.
75929         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
75931         * sysdeps/unix/getegid.S: Remove file.
75932         * sysdeps/unix/geteuid.S: Likewise.
75934 2012-04-24  Roland McGrath  <roland@hack.frob.com>
75936         * scripts/check-localplt.awk: New file.
75937         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
75938         of diff.
75939         * scripts/data/localplt-generic.data: Add a comment.
75941         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
75942         NODE when __dir_mkfile failed.
75943         * sysdeps/mach/hurd/symlinkat.c: Likewise.
75944         Reported by Ludovic Courtès <ludo@gnu.org>.
75946 2012-04-24  Andreas Jaeger  <aj@suse.de>
75948         * Makerules (common-clean): Also remove gen-as-const-headers
75949         files.
75951 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
75953         * Makerules (native-compile): Do not change working directory for
75954         build.  Use $(OUTPUT_OPTION) in command.
75955         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
75957 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75959         [BZ #13886]
75960         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
75961         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
75962         * math/libm-test.inc (floor_test): Add more tests.
75963         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
75965 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
75967         * sysdeps/unix/getdents.c: Remove file.
75968         * sysdeps/unix/sysv/getdents.c: Likewise.
75969         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
75971         * sysdeps/unix/syscalls.list (madvise): Add syscall from
75972         sysdeps/unix/mman/syscalls.list.
75973         (mmap): Likewise.
75974         (mprotect): Likewise.
75975         (msync): Likewise.
75976         (munmap): Likewise.
75977         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
75978         * sysdeps/unix/mman/syscalls.list: Remove.
75979         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
75981         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
75982         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
75983         * configure: Regenerated.
75984         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
75985         $(libgcc_s_suffix).
75986         * config.make.in (libgcc_s_suffix): Remove variable.
75988 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
75990         * sysdeps/unix/sysv/gethostname.c: Move to ...
75991         * sysdeps/posix/gethostname.c: ... here.
75993         * sysdeps/unix/execve.S: Remove file.
75995         * sysdeps/unix/_exit.S: Remove file.
75997 2012-04-23  Andreas Jaeger  <aj@suse.de>
75999         [BZ #13739]
76000         * manual/Makefile: Remove make dist support, there's no
76001         need for a stand-alone documentation tar ball.
76002         (TEXI2DVI): Define always, it's not in Makeconfig.
76003         (dist): Removed.
76004         (tar-it): Removed.
76005         (edition): Removed.
76006         (glibc-doc-$(edition).tar): Removed
76007         (%.Z): Removed.
76008         (%.gz): Removed.
76009         (%.uu): Removed.
76010         (ETAGS): Remove, it's in Makeconfig.
76011         (move-if-change): Remove, it's in Makeconfig.
76013 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
76015         [BZ #13970]
76016         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
76017         (strtod, strtof, strtold, strtol, strtoul, strtoq)
76018         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
76019         (strtod_l, strtof_l, strtold_l): Remove __wur.
76020         It is not necessarily an error to ignore strtol's return value.
76021         One can reliably look at the stored endptr to decide whether
76022         the number had valid syntax.
76024 2012-04-21  Andreas Jaeger  <aj@suse.de>
76026         [BZ #13739]
76027         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
76029 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
76031         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
76032         * sysdeps/unix/sysv/Versions: Remove file.
76034 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
76036         [BZ #13927]
76037         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76039 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
76041         [BZ #7064]
76042         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
76043         version from __vm86.
76045 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
76047         * sysdeps/unix/common/lxstat.c: Remove file.
76048         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
76050         * sysdeps/unix/sysv/Makefile: Remove file.
76052         * sysdeps/unix/sysv/direct.h: Remove file.
76054         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
76055         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
76056         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
76057         * sysdeps/unix/sysv/bits/signum.h: Likewise.
76058         * sysdeps/unix/sysv/bits/stat.h: Likewise.
76059         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
76060         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
76062         * sysdeps/unix/sysv/setrlimit.c: Remove file.
76064         * sysdeps/unix/xmknod.c: Remove file.
76065         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
76067         * sysdeps/unix/sysv/settimeofday.c: Remove file.
76069         * sysdeps/unix/sysv/i386/time.S: Remove file.
76071         * sysdeps/unix/fxstat.c: Remove file.
76072         * sysdeps/unix/xstat.c: Likewise.
76073         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
76075         * sysdeps/unix/sysv/sigaction.c: Remove file.
76077         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
76078         (sysdep_headers): Remove variable.
76079         [termio.h not in sysdep_headers] (generated): Likewise.
76080         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
76081         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
76082         * sysdeps/unix/sysv/tcdrain.c: Likewise.
76083         * sysdeps/unix/sysv/tcflow.c: Likewise.
76084         * sysdeps/unix/sysv/tcflush.c: Likewise.
76085         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
76086         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
76087         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
76088         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
76089         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
76091         * sysdeps/unix/siglist.c: Remove file.
76093         * sysdeps/unix/getppid.S: Remove file.
76095         * sysdeps/unix/mkdir.c: Remove file.
76096         * sysdeps/unix/rmdir.c: Likewise.
76098 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
76100         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
76101         ERR_MAX value.
76102         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
76103         errlist-compat value.
76105 2012-04-18  David S. Miller  <davem@davemloft.net>
76107         * sysdeps/generic/memcopy.h (reg_char): Delete.
76108         * debug/strcat_chk.c: Use char, not reg_char.
76109         * debug/strcpy_chk.c: Likewise.
76110         * debug/strncat_chk.c: Likewise.
76111         * debug/strncpy_chk.c: Likewise.
76112         * string/memchr.c: Likewise.
76113         * string/memrchr.c: Likewise.
76114         * string/rawmemchr.c: Likewise.
76115         * string/strcat.c: Likewise.
76116         * string/strchr.c: Likewise.
76117         * string/strchrnul.c: Likewise.
76118         * string/strcmp.c: Likewise.
76119         * string/strcpy.c: Likewise.
76120         * string/strncat.c: Likewise.
76121         * string/strncmp.c: Likewise.
76122         * string/strncpy.c: Likewise.
76124 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
76126         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
76127         __builtin_memcopy is called when src and dest ranges are known to not
76128         overlap.
76130 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
76132         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
76133         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
76134         fwd_align_merge macro call.
76135         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
76136         bwd_align_merge macro call.
76137         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
76139 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
76141         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
76142         bwd_align_merge macros.
76143         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
76144         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
76145         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
76147 2012-04-18  David S. Miller  <davem@davemloft.net>
76149         * sysdeps/sparc/sparc64/memcopy.h: Delete.
76151 2012-04-18  Andreas Jaeger  <aj@suse.de>
76153         [BZ# 6794]
76154         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
76155         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
76156         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
76158         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
76159         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
76160         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
76162         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
76163         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
76164         Adjust for changed ldbl-128 files.
76166         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
76167         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
76168         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
76170 2012-04-17  David S. Miller  <davem@davemloft.net>
76172         * sysdeps/sparc/sparc32/memcopy.h: Delete.
76174 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
76176         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
76177         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
76178         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
76179         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
76180         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
76181         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
76183 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76185         [BZ #6794]
76186         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
76187         * math/libm-test.inc: Add ilogb errno and exception tests.
76188         * math/w_ilogb.c: New file: ilogb wrapper.
76189         * math/w_ilogbf.c: New file: ilogbf wrapper.
76190         * math/w_ilogbl.c: New file: ilogbl wrapper.
76191         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
76192         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
76193         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
76194         exception being thrown with 0.0 as argument.
76195         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
76196         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
76197         exception being thrown with 0.0 as argument.
76198         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
76199         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
76200         exception being thrown with 0.0 as argument.
76201         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
76202         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
76203         exception being thrown with 0.0 as argument.
76204         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
76205         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
76206         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76207         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
76208         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
76209         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
76210         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
76211         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
76212         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
76214 2012-04-17  Petr Baudis  <pasky@ucw.cz>
76216         * include/sys/uio.h: Change __vector to __iovec to avoid clash
76217         with altivec.
76219 2012-04-16  Marek Polacek  <polacek@redhat.com>
76221         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
76223 2012-04-16  Marek Polacek  <polacek@redhat.com>
76225         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
76226         operands of fdivp instruction.
76228 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
76230         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
76231         * elf/tst-auditmod3b.c: Likewise.
76232         * elf/tst-auditmod4b.c: Likewise.
76233         * elf/tst-auditmod5b.c: Likewise.
76234         * elf/tst-auditmod6b.c: Likewise.
76235         * elf/tst-auditmod6c.c: Likewise.
76236         * elf/tst-auditmod7b.c: Likewise.
76237         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
76238         * sysdeps/x86_64/preconfigure.in: Likewise.
76239         * sysdeps/x86_64/preconfigure: Regenerated.
76241 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
76243         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
76244         __ILP32__.
76246 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
76248         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76249         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
76251 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
76253         [BZ #13973]
76254         * locale/iso-639.def: Fix gl language name. Spotted by
76255         Yaron Shahrabani.
76257 2012-04-12  Roland McGrath  <roland@hack.frob.com>
76259         [BZ #2074]
76260         * libio/libio.h (__io_write_fn): Update comment.
76262 2012-04-12  Petr Baudis  <pasky@ucw.cz>
76264         [BZ #2074]
76265         * stdio.texi (Hook Functions): The user provided writer function
76266         is not allowed to return -1.
76268 2012-04-11  David S. Miller  <davem@davemloft.net>
76270         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76272 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
76274         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
76275         Add a leading slash to rtkaio.
76277 2012-04-11  Jim Meyering  <meyering@redhat.com>
76279         [BZ #11959]
76280         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
76281         It is not necessarily an error to ignore fwrite's return
76282         value.  One can reliably use ferror to test for errors after
76283         the fact.
76285 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
76287         * bits/types.h (__snseconds_t): New type.
76288         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
76290         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
76291         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76292         (__SNSECONDS_T_TYPE): Likewise.
76293         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76294         (__SNSECONDS_T_TYPE): Likewise.
76295         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76296         (__SNSECONDS_T_TYPE): Likewise.
76298 2012-04-10  Andreas Jaeger  <aj@suse.de>
76300         [BZ #2636]
76301         * manual/time.texi (Processor Time): Return type of times is
76302         elapsed real time since an arbitrary point in the past.
76303         (CPU Time): Move CLK_TCK from here...
76304         (Processor Time): ...to here.  Correct description.
76305         * manual/conf.texi (Constants for Sysconf): Correct description of
76306         _SC_CLK_TCK.
76308 2012-04-10  David S. Miller  <davem@davemloft.net>
76310         [BZ #13967]
76311         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
76312         where the is a gap between DT_REL(A) and DT_JMPREL.
76314 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
76316         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
76317         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
76318         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
76320 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
76322         * elf/dl-support.c (_dl_inhibit_cache): New variable.
76323         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
76324         (dl_main): Handle --inhibit-cache.
76325         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
76326         _dl_inhibit_cache.
76327         * elf/dl-load.c (_dl_map_object): Use it.
76328         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
76330 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
76332         [BZ #13872]
76333         * sysdeps/i386/fpu/e_powl.S (p78): New object.
76334         (__ieee754_powl): Saturate large exponents rather than testing for
76335         overflow of y*log2(x).
76336         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76337         * math/libm-test.inc (pow_test): Do not permit spurious overflow
76338         exceptions.
76340         [BZ #11521]
76341         * math/s_ctan.c: Include <float.h>.
76342         (__ctan): Avoid internal overflow or cancellation in calculating
76343         denominator.
76344         * math/s_ctanf.c: Likewise.
76345         * math/s_ctanl.c: Likewise.
76346         * math/s_ctanh.c: Likewise.
76347         * math/s_ctanhf.c: Likewise.
76348         * math/s_ctanhl.c: Likewise.
76349         * math/libm-test.inc (ctan_test): Add more tests.
76350         (ctanh_test): Likewise.
76351         * sysdeps/i386/fpu/libm-test-ulps: Update.
76352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76354 2012-04-09  Andreas Jaeger  <aj@suse.de>
76356         [BZ #6894]
76357         * manual/filesys.texi (Directory Entries): Mention that d_namlen
76358         is an optional BSD extension.
76360         [BZ #10254]
76361         * manual/stdio.texi (Opening Streams): Document additional fopen
76362         parameters.
76364 2012-04-09  Roland McGrath  <roland@hack.frob.com>
76366         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
76367         %eax without telling the compiler.
76369 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
76371         [BZ # 13963]
76372         * manual/install.texi: Use sourceware.org.
76374 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
76376         [BZ #13873]
76377         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
76378         (__ieee754_pow): Generate overflow and underflow using huge*huge
76379         and tiny*tiny rather than just returning constant infinity or zero
76380         for large exponents.
76381         * math/libm-test.inc (pow_test): Require overflow exceptions for
76382         applicable cases of large exponents.
76384         [BZ #706]
76385         * sysdeps/i386/fpu/e_pow.S (p10): New object.
76386         (__ieee754_pow): Use iterative multiplication algorithm only for
76387         integer exponents with absolute value below 1024.  Check for odd
76388         integer exponents when using algorithm for real exponents.
76389         * math/libm-test.inc (pow_test): Add more tests.
76390         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76392 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
76394         [BZ #13705]
76395         * math/libm-test.inc (exp_test): Do not allow overflow exception
76396         on underflow test.
76398 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
76400         [BZ #13705]
76401         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
76402         instead of __kernel_standard_f.
76404 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
76406         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
76407         * sysdeps/x86_64/memset_chk.S: Likewise.
76409 2012-04-08  Andreas Jaeger  <aj@suse.de>
76411         [BZ #10153]
76412         * manual/startup.texi (Environment Access): Describe return value
76413         for putenv and setenv.
76415         [BZ #6895]
76416         * manual/filesys.texi (Directory Entries): Add description for
76417         DT_LNK.
76419         [BZ #6890]
76420         * manual/filesys.texi (Directory Entries): Clarify that it's file
76421         system not operating system in the description of DT_UNKNOWN.
76423         [BZ #6578]
76424         * manual/syslog.texi (closelog): Fix reference, it's openlog.
76426 2012-04-08  Stephen Compall  <s11@member.fsf.org>
76428         [BZ #6649]
76429         * manual/llio.texi (Opening and Closing Files): Add cross
76430         reference to explain mode argument.
76432 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
76434         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
76435         * sysdeps/x86_64/memset_chk.S: Likewise.
76437 2012-04-07  David S. Miller  <davem@davemloft.net>
76439         * elf/elf.h (R_SPARC_WDISP10): Define.
76440         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
76441         R_SPARC_SIZE32.
76442         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
76443         R_SPARC_SIZE64 and R_SPARC_H34.
76445 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
76447         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
76448         conditions and remove no longer applicable assertion.
76450 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
76452         * bits/byteswap.h: Include <features.h>.
76453         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
76454         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
76456 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
76458         * bits/byteswap.h (__bswap_16): Removed.
76459         Include <bits/byteswap-16.h> to get __bswap_16.
76460         * sysdeps/i386/bits/byteswap.h: Likewise.
76461         * sysdeps/s390/bits/byteswap.h: Likewise.
76462         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76463         * bits/byteswap-16.h: New file.
76464         * sysdeps/i386/bits/byteswap-16.h: Likewise.
76465         * sysdeps/s390/bits/byteswap-16.h: Likewise.
76466         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
76467         * string/Makefile (headers): Add bits/byteswap-16.h.
76469 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
76471         [BZ #13895]
76472         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
76473         extra indirection.
76474         * nss/Makefile (tests-static, tests): Add tst-nss-static.
76475         * nss/tst-nss-static.c: New.
76477 2012-04-06  Robert Millan  <rmh@gnu.org>
76479         [BZ #6486]
76480         * manual/llio.texi (File Position Primitive): lseek
76481         refers to WHENCE when it really means OFFSET.
76483 2012-04-06  Andreas Jaeger  <aj@suse.de>
76485         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
76486         strncmp declarations.
76488         * abilist/libc.abilist: Add __poll and __ppoll.
76490 2012-04-05  David S. Miller  <davem@davemloft.net>
76492         * scripts/check-local-headers.sh: Accept a host triplet in the
76493         path matched by the exclude regexp.
76495         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
76496         definition.
76497         * sysdeps/powerpc/powerpc32/dl-machine.h
76498         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
76499         * sysdeps/s390/s390-32/dl-machine.h
76500         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
76501         * sysdeps/sparc/sparc32/dl-machine.h
76502         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
76503         * sysdeps/sparc/sparc64/dl-machine.h
76504         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
76506         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
76507         lazy binding.
76508         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
76509         undefined symbol errors.
76511         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
76512         DT_NEEDED entries.
76514 2012-04-05  Michael Matz  <matz@suse.de>
76516         [BZ #13592]
76517         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
76519 2012-04-05  Andreas Jaeger  <aj@suse.de>
76521         [BZ #13908]
76522         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
76523         comment.
76525 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76527         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
76528         which ROUND is no valid rounding mode.
76530 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76532         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
76533         read again.
76534         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
76536 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76538         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
76539         an exception using FPU order intentionally.
76541 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76543         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
76544         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
76545         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
76546         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
76548 2012-04-05  Simon Josefsson  <simon@josefsson.org>
76550         [BZ #12340]
76551         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
76552         EINVAL when BUFLEN is too smal.
76554 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
76556         [BZ #13553]
76557         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
76558         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
76560 2012-04-03  Andreas Jaeger  <aj@suse.de>
76562         [BZ #13938]
76563         * manual/setjmp.texi (System V contexts): Fix sentence.
76565         [BZ #13926]
76566         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
76567         New macro for this case.
76568         [!__GNUC__] (__bswap_64): New inline function for this case.
76569         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76570         * bits/byteswap.h: Likewise.
76571         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
76572         ull, guard with __GLIBC_HAVE_LONG_LONG.
76574         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
76575         __GLIBC_HAVE_LONG_LONG.
76577         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
76578         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
76580 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
76582         [BZ #13691]
76583         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
76584         inptr and inend, rather than using last_ch.
76586 2012-04-02  David S. Miller  <davem@davemloft.net>
76588         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
76589         * stdio-common/printf-parse.h (read_int): Change return type to
76590         'int', return -1 on INT_MAX overflow.
76591         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
76592         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
76593         overflows INT_MAX.  Check for overflow of in-format-string precision
76594         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
76595         SIZE_MAX not INT_MAX for integer overflow test.
76596         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
76597         skip the construct in the format string but do not record anything.
76598         * stdio-common/bug22.c: Adjust to test both width/prevision
76599         INT_MAX overflow as well as total length INT_MAX overflow.  Check
76600         explicitly for proper errno values.
76602 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
76604         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
76605         CHAR_MAX.
76606         * string/test-strcmp.c [! WIDE]: Likewise.
76607         * time/tst-mktime2.c: Likewise for INT_MAX.
76608         * string/test-string.h: #include <sys/param.h> for MIN.
76610         * csu/init-first.c (__libc_init_first): Call __ctype_init.
76611         * sysdeps/i386/init-first.c (init): Likewise.
76612         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
76613         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
76614         * sysdeps/sh/init-first.c (init): Likewise.
76616 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
76618         * po/ru.po: Update from translation team.
76619         * po/vi.po: Likewise.
76621 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
76623         * resolv/nss_dns/dns-host.c: Merge copyright years.
76625 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76627         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
76628         Optimize memcpy with prefetch if
76629         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
76630         src, dst pointers have unequal 16 byte alignments.
76632 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
76634         [BZ #13928]
76635         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
76636         from a CNAME entry and return the minimum ttl for the query.
76637         (gaih_getanswer_slice): Likewise.
76639 2012-03-30  Jeff Law  <law@redhat.com>
76641         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
76642         due to long keys.
76643         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
76644         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
76646         * resolv/nss_dns/dns-host.c: Update copyright year.
76648 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
76650         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
76651         requests to save a system call.  Fix check that all bytes are sent.
76653         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
76654         comments for sendmmsg.
76656 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76658         [BZ #13691]
76659         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
76660         with only 1 character between 0x0041 and 0x01b0.
76661         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
76662         * wcsmbs/tst-mbsnrtowcs.c: New file.
76664 2012-03-29  David S. Miller  <davem@davemloft.net>
76666         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
76667         small copies by hand.
76669 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
76671         [BZ #13761]
76672         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
76673         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
76674         group memberships.
76676 2012-03-28  David S. Miller  <davem@davemloft.net>
76678         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
76679         that branches into memcpy.
76680         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
76681         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
76682         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
76683         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
76684         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
76685         bits.
76686         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
76687         implementation too.
76688         * sysdeps/sparc/mempcpy.S: New file.
76690         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
76691         the IFUNC routine in the libc case.
76692         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
76694         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
76695         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
76696         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
76697         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
76698         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
76699         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
76700         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
76701         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
76703         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
76704         loop to 256 bytes instead of 64 bytes and fix test signedness.
76706         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
76707         * sysdeps/sparc/sparc32/Makefile: rather than here...
76708         * sysdeps/sparc/sparc64/Makefile: and here.
76710 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
76712         * malloc/mallocbug.c: Avoid warnings about unused variables.
76714 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
76716         [BZ #13760]
76717         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
76718         in the right place. Discard and retry query if response is
76719         larger than input buffer size.
76721 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
76723         [BZ #369]
76724         [BZ #2678]
76725         [BZ #3866]
76726         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
76727         x for large integer exponent.
76728         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
76729         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
76730         sign of result as needed afterwards.
76731         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
76732         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
76733         result for underflowing pow the same as for overflow.
76734         (__kernel_standard_l): Handle powl overflow and underflow here
76735         rather than calling __kernel_standard.
76736         * math/libm-test.inc (pow_test): Add more tests.
76738         [BZ #3868]
76739         [BZ #13879]
76740         [BZ #13910]
76741         [BZ #13911]
76742         [BZ #13912]
76743         [BZ #13913]
76744         [BZ #13915]
76745         [BZ #13916]
76746         [BZ #13917]
76747         [BZ #13918]
76748         [BZ #13919]
76749         [BZ #13920]
76750         [BZ #13921]
76751         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
76752         * sysdeps/ieee754/k_standard.c: Include <float.h>.
76753         (__kernel_standard_l): New function.
76754         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
76755         __kernel_standard.
76756         * math/w_acosl.c (__acosl): Likewise.
76757         * math/w_asinl.c (__asinl): Likewise.
76758         * math/w_atan2l.c (__atan2l): Likewise.
76759         * math/w_atanhl.c (__atanhl): Likewise.
76760         * math/w_coshl.c (__coshl): Likewise.
76761         * math/w_exp10l.c (__exp10l): Likewise.
76762         * math/w_exp2l.c (__exp2l): Likewise.
76763         * math/w_fmodl.c (__fmodl): Likewise.
76764         * math/w_hypotl.c (__hypotl): Likewise.
76765         * math/w_j0l.c (__j0l, __y0l): Likewise.
76766         * math/w_j1l.c (__j1l, __y1l): Likewise.
76767         * math/w_jnl.c (__jnl, __ynl): Likewise.
76768         * math/w_lgammal.c (__lgammal): Likewise.
76769         * math/w_log10l.c (__log10l): Likewise.
76770         * math/w_log2l.c (__log2l): Likewise.
76771         * math/w_logl.c (__logl): Likewise.
76772         * math/w_powl.c (__powl): Likewise.
76773         * math/w_remainderl.c (__remainderl): Likewise.
76774         * math/w_scalbl.c (sysv_scalbl): Likewise.
76775         * math/w_sinhl.c (__sinhl): Likewise.
76776         * math/w_sqrtl.c (__sqrtl): Likewise.
76777         * math/w_tgammal.c (__tgammal): Likewise.
76778         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
76779         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
76780         * math/libm-test.inc (acos_test): Add more tests.
76781         (acosh_test): Likewise.
76782         (asin_test): Likewise.
76783         (atanh_test): Likewise.
76784         (exp_test): Likewise.
76785         (exp10_test): Likewise.
76786         (exp2_test): Likewise.
76787         (expm1_test): Likewise.
76788         (lgamma_test): Likewise.
76789         (log_test): Likewise.
76790         (log10_test): Likewise.
76791         (log1p_test): Likewise.
76792         (log2_test): Likewise.
76793         (pow_test): Do not allow some spurious overflow exceptions.
76794         (sqrt_test): Add more tests.
76795         (tgamma_test): Likewise.
76796         (y0_test): Likewise.
76797         (y1_test): Likewise.
76798         (yn_test): Likewise.
76800 2012-03-27  Anton Blanchard  <anton@samba.org>
76802         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
76803         MAP_HUGETLB.
76804         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
76805         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
76806         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
76808 2012-03-27  David S. Miller  <davem@davemloft.net>
76810         * conform/Makefile: Run run-conformtest.sh using $(BASH).
76812         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
76813         have-as-vis3 check.
76815 2012-03-27  Andreas Jaeger  <aj@suse.de>
76817         * sysdeps/x86_64/elf/configure.in: Moved to ...
76818         * sysdeps/x86_64/configure.in: ... here.
76819         * sysdeps/x86_64/elf/start.S: Moved to ...
76820         * sysdeps/x86_64/start.S: ... here.
76821         * sysdeps/x86_64/elf/configure: Delete.
76823         * sysdeps/x86_64/configure.in: Merge contents from
76824         sysdeps/i386/configure.in (without i686 check).
76826         * sysdeps/i386/elf/Versions: Merge into ...
76827         * sysdeps/i386/Versions: ... this.
76828         * sysdeps/i386/elf/Versions: Delete file.
76829         * sysdeps/i386/elf/start.S: Moved to ...
76830         * sysdeps/i386/start.S: ...here.
76831         * sysdeps/i386/elf/configure.in: Merge into...
76832         * sysdeps/i386/configure.in: ...here.
76833         * sysdeps/i386/elf/configure.in: Delete file.
76834         * sysdeps/i386/elf/configure: Delete file.
76836         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
76837         * debug/backtracesyms.c: ... here.
76838         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
76839         * debug/backtracesymsfd.c: ... here.
76840         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
76841         * sysdeps/generic/ifunc-sel.h: ... here.
76843         * sysdeps/unix/i386/start.c: Delete file.
76844         * sysdeps/unix/sparc/start.c: Delete file.
76845         * sysdeps/unix/start.c: Delete file.
76847         * sysdeps/sh/elf/configure.in: Moved to ...
76848         * sysdeps/sh/configure.in: ... here.
76849         * sysdeps/sh/elf/start.S: Moved to ...
76850         * sysdeps/sh/start.S: ... here.
76851         * sysdeps/sh/elf/configure: Delete file.
76853         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
76854         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
76855         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
76856         * sysdeps/powerpc/powerpc64/entry.h: ... here.
76857         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
76858         * sysdeps/powerpc/powerpc64/start.S: here.
76859         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
76860         * sysdeps/powerpc/powerpc64/Makefile: ... this.
76861         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
76862         * sysdeps/powerpc/powerpc64/configure.in: ... this.
76863         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
76865         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
76866         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
76867         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
76868         * sysdeps/powerpc/powerpc32/start.S: ... here.
76869         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
76870         * sysdeps/powerpc/powerpc32/configure.in: ... this.
76871         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
76873         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
76874         * sysdeps/powerpc/ifunc-sel.h: ... here.
76875         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
76876         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
76878         * sysdeps/sparc/elf/configure.in: Moved to ...
76879         * sysdeps/sparc/configure.in: ... here.
76880         * sysdeps/sparc/elf/configure: Delete file.
76881         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
76882         * sysdeps/sparc/sparc32/start.S: ... here.
76883         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
76884         * sysdeps/sparc/sparc64/start.S: ... here.
76885         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
76886         * sysdeps/sparc/sparc32/Makefile: ... this.
76887         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
76888         * sysdeps/sparc/sparc64/Makefile: ... this.
76890         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
76891         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
76892         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
76893         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
76894         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
76895         * sysdeps/s390/s390-32/setjmp.S: ... here.
76896         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
76897         * sysdeps/s390/s390-32/configure.in: ... here.
76898         * sysdeps/s390/s390-32/elf/configure: Delete file.
76899         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
76900         * sysdeps/s390/s390-32/start.S: ... here.
76902         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
76903         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
76904         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
76905         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
76906         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
76907         * sysdeps/s390/s390-64/setjmp.S: ... here.
76908         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
76909         * sysdeps/s390/s390-64/configure.in: ... here
76910         * sysdeps/s390/s390-64/elf/configure: Delete file.
76911         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
76912         * sysdeps/s390/s390-64/start.S: ... here.
76913         * sysdeps/s390/s390-64/elf/configure: Delete.
76915         * configure.in: Remove support for elf directories in sysdeps.
76917         * configure: Regenerated.
76918         * sysdeps/i386/configure: Regenerated.
76919         * sysdeps/powerpc/powerpc32/configure: Regenerated.
76920         * sysdeps/powerpc/powerpc64/configure: Regenerated.
76921         * sysdeps/s390/s390-32/configure: Regenerated.
76922         * sysdeps/s390/s390-64/configure: Regenerated.
76923         * sysdeps/sh/configure: Regenerated.
76924         * sysdeps/sparc/configure: Regenerated.
76925         * sysdeps/x86_64/configure: Regenerated.
76927 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
76929         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76931         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
76932         denormal result into account.
76934 2012-03-25  Roland McGrath  <roland@hack.frob.com>
76936         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
76937         Reported by Allan McRae <allan@archlinux.org>.
76939 2012-03-23  Jeff Law  <law@redhat.com>
76941         * nss/getnssent.c (__nss_getent): Fix typo.
76943 2012-03-23  David S. Miller  <davem@davemloft.net>
76945         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76947 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
76949         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
76950         to pad to uint64_t for each field.
76951         (dl_tls_index): Replace unsigned long with uint64_t.
76953 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
76954         Paul Pluzhnikov  <ppluzhnikov@google.com>
76956         [BZ #6528]
76957         * grp/Makefile (otherlibs): Don't set it.
76958         * inet/Makefile (otherlibs): Likewise.
76959         * login/Makefile (otherlibs): Likewise.
76960         * nscd/Makefile (otherlibs): Likewise.
76961         * posix/Makefile (otherlibs): Likewise.
76962         * pwd/Makefile (otherlibs): Likewise.
76963         * rt/Makefile (otherlibs): Likewise.
76964         * sunrpc/Makefile (otherlibs): Likewise.
76965         * nss/Makefile (otherlibs): Likewise.
76966         Add libnss_files to routines and static-only-routines.
76967         ($(objpfx)getent): Remove rule.
76968         * resolv/Makefile: Add libnss_dns and libresolv to routines and
76969         static-only-routines.
76971 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
76973         [BZ #13892]
76974         * math/s_cexp.c: Include <float.h>.
76975         (__cexp): Handle exp result overflowing not necessarily
76976         overflowing both real and imaginary parts of result.
76977         * math/s_cexpf.c: Likewise.
76978         * math/s_cexpl.c: Likewise.
76979         * math/libm-test.inc (cexp_test): Add more tests.
76980         * sysdeps/i386/fpu/libm-test-ulps: Update.
76981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76983 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
76985         * include/link.h (ELFW): New macro.
76986         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
76987         Replace ELF64_R_TYPE with ELFW(R_TYPE).
76989 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
76991         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
76992         with uint64_t.
76994 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
76996         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
76997         declaration.
76998         (struct La_x32_retval): Likewise.
77000 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77002         * sysdeps/x86_64/preconfigure.in: New file.
77003         * sysdeps/x86_64/preconfigure: New generated file.
77005 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
77007         [BZ #13824]
77008         * math/e_exp2l.c: Include <float.h>.
77009         (__ieee754_exp2l): Handle overflow and underflow cases
77010         separately.  Only pass fractional part of argument to
77011         __ieee754_expl.
77012         * math/libm-test.inc (exp2_test): Add more tests.
77014         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
77015         negating x to take absolute value.
77016         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
77017         Likewise.
77018         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
77019         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
77020         Likewise.
77021         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
77022         computing low part if x was negated.
77023         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
77025 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
77027         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
77028         la_x32_gnu_pltexit.
77029         (pltexit): Cast int_retval to ptrdiff_t.
77030         * elf/tst-auditmod3b.c: Likewise.
77031         * elf/tst-auditmod4b.c: Likewise.
77032         * elf/tst-auditmod5b.c: Likewise.
77033         * elf/tst-auditmod6b.c: Likewise.
77034         * elf/tst-auditmod6c.c: Likewise.
77035         * elf/tst-auditmod7b.c: Likewise.
77037         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
77038         and x32_gnu_pltexit.
77040         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
77041         __ELF_NATIVE_CLASS.
77042         (La_x32_regs): New macro.
77043         (La_x32_retval): Likewise.
77044         (la_x32_gnu_pltenter): New function prototype.
77045         (la_x32_gnu_pltexit): Likewise.
77047 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
77049         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
77050         exponent.
77052         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77054         * configure.in (libc_cv_cc_nofma): Check for option to disable
77055         generation of FMA instructions.
77056         * configure: Regenerate.
77057         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
77058         * sysdeps/ieee754/dbl-64/Makefile: New file.
77059         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
77060         Remove brandred-fma4.
77061         (CFLAGS-brandred-fma4.c): Remove.
77062         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
77063         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
77064         define.
77065         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
77066         define.
77068 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
77070         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
77071         LLONG_MAX != LONG_MAX.
77072         (_itoa_word): Use _ITOA_WORD_TYPE on value.
77073         (_fitoa_word): Likewise.
77074         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
77075         LLONG_MAX != LONG_MAX.
77076         * stdio-common/_itowa.h: Include <_itoa.h>.
77077         (_itowa_word): Use _ITOA_WORD_TYPE on value.
77078         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
77079         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
77080         only if not defined.
77081         (_ITOA_WORD_TYPE): Likewise.
77082         (_itoa_word): Use _ITOA_WORD_TYPE on value.
77083         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
77085 2012-03-21  David S. Miller  <davem@davemloft.net>
77087         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77089 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
77091         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
77092         of x86_64 when setting libc_cv_slibdir, libdir and
77093         libc_cv_localedir.
77094         * sysdeps/unix/sysv/linux/configure: Regenerated.
77096 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
77098         * manual/lang.texi (Old Varargs): Remove section.
77099         (How Variadic): Update menu.
77100         (va_start): Do not mention varargs.h.
77102 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
77103             Joseph Myers  <joseph@codesourcery.com>
77105         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
77106         link test.
77107         * configure: Regenerated.
77109 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
77111         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
77112         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
77113         conformtest.pl
77115 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
77117         * NOTES: Remove.
77118         * Makefile (files-for-dist): Remove NOTES.
77119         (NOTES): Remove rule.
77120         * README: Don't refer to NOTES.
77121         * manual/creature.texi: Don't include macros.texi.
77122         * manual/intro.texi (creature.texi): Remove comment referring to
77123         NOTES.
77125         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
77126         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
77127         * configure: Regenerated.
77128         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
77129         LIBC_TRY_CC_OPTION.
77130         (libc_cv_as_i686): Likewise.
77131         (libc_cv_cc_avx): Likewise.
77132         (libc_cv_cc_sse2avx): Likewise.
77133         (libc_cv_cc_fma4): Likewise.
77134         (libc_cv_cc_novzeroupper): Likewise.
77135         * sysdeps/i386/configure: Regenerated.
77137         [BZ #13883]
77138         * sysdeps/i386/fpu/s_cexp.S: Remove.
77139         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
77140         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
77141         * math/libm-test.inc (cexp_test): Add more tests.
77142         * sysdeps/i386/fpu/libm-test-ulps: Update.
77143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77145 2012-03-21  Allan McRae  <allan@archlinux.org>
77147         * timezone/Makefile: Do not install iso3166.tab and zone.tab
77149 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
77151         [BZ #13871]
77152         * math/w_exp2.c: Do not include <float.h>.
77153         (o_threshold, u_threshold): Remove.
77154         (__exp2): Calculate result before checking finiteness and calling
77155         __kernel_standard.
77156         * math/w_exp2f.c: Likewise.
77157         * math/w_exp2l.c: Likewise.
77158         * math/libm-test.inc (exp2_test): Require overflow exception for
77159         1e6 input.
77161         [BZ #3866]
77162         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
77163         range of signed 64-bit integers before using fistpll.  Remove
77164         checks for whether integers fit in mantissa bits.
77165         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
77166         the range of signed 32-bit integers before using fistpl.  Remove
77167         checks for whether integers fit in mantissa bits.
77168         * sysdeps/i386/fpu/e_powl.S (p64): New object.
77169         (__ieee754_powl): Test for y outside the range of signed 64-bit
77170         integers before using fistpll.  Reduce 64-bit values to 63-bit
77171         ones as needed.
77172         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
77173         divide-by-zero is raised for zero to large negative powers.
77174         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
77175         (__ieee754_powl): Test for y outside the range of signed 64-bit
77176         integers before using fistpll.  Reduce 64-bit values to 63-bit
77177         ones as needed.
77178         * math/libm-test.inc (pow_test): Add more tests.
77180 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77182         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
77183         <stdio-common/_itoa.h>.
77184         * debug/segfault.c: Likewise.
77185         * elf/dl-cache.c: Likewise.
77186         * elf/dl-minimal.c: Likewise.
77187         * elf/dl-misc.c: Likewise.
77188         * elf/dl-sysdep.c: Likewise.
77189         * elf/dl-version.c: Likewise.
77190         * elf/rtld.c: Likewise.
77191         * hurd/hurdsock.c: Likewise.
77192         * hurd/lookup-retry.c: Likewise.
77193         * malloc/malloc.c: Likewise.
77194         * malloc/mtrace.c: Likewise.
77195         * nscd/nscd_getgr_r.c: Likewise.
77196         * nscd/nscd_getpw_r.c: Likewise.
77197         * nscd/nscd_getserv_r.c: Likewise.
77198         * posix/getopt_init.c: Likewise.
77199         * posix/wordexp.c: Likewise.
77200         * stdio-common/_itoa.c: Likewise.
77201         * stdio-common/printf_fphex.c: Likewise.
77202         * stdio-common/vfprintf.c: Likewise.
77203         * string/_strerror.c: Likewise.
77204         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
77205         * sysdeps/i386/i686/hp-timing.h: Likewise.
77206         * sysdeps/mach/_strerror.c: Likewise.
77207         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
77208         * sysdeps/mach/hurd/sethostid.c: Likewise.
77209         * sysdeps/mach/hurd/xmknodat.c: Likewise.
77210         * sysdeps/mach/xpg-strerror.c: Likewise.
77211         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
77212         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
77213         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
77214         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
77215         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
77216         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
77217         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
77218         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
77219         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
77220         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
77221         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
77222         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
77223         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
77224         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
77225         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
77226         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
77227         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
77228         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
77229         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
77230         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
77231         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
77233         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
77235         * stdio-common/_itoa.h: Moved to ...
77236         * sysdeps/generic/_itoa.h: Here.
77238         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
77240         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
77241         instead of "_itoa.h" and "_itowa.h".
77242         * stdio-common/vfprintf.: Likewise.
77244 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77246         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
77247         <bits/wordsize.h>.
77248         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
77249         (__signbit): Likewise.
77250         (llrintf): Likewise.
77251         (llrint): Likewise.
77253 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77255         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
77256         __WORDSIZE != 64.
77258 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
77260         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
77261         OVERFLOW_EXCEPTION_OK.
77262         * math/libm-test.inc ("Philosophy"): Update comment about
77263         exception testing.
77264         (OVERFLOW_EXCEPTION): Define.
77265         (OVERFLOW_EXCEPTION_OK): Likewise.
77266         (INVALID_EXCEPTION_OK): Renumber.
77267         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
77268         (IGNORE_ZERO_INF_SIGN): Likewise.
77269         (test_exceptions): Handle FE_OVERFLOW.
77270         (exp10_test): Expect overflow exceptions.
77271         (exp2_test): Likewise.
77272         (expm1_test): Likewise.
77273         (nextafter_test): Likewise.
77274         (pow_test): Likewise.
77275         (scalbn_test): Likewise.
77276         (scalbln_test): Likewise.
77278 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77280         * sysdeps/x86_64/bits/atomic.h
77281         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
77282         64bit integer.
77283         (atomic_exchange_acq): Likewise.
77284         (__arch_exchange_and_add_body): Likewise.
77285         (__arch_add_body): Likewise.
77286         (atomic_add_negative): Likewise.
77287         (atomic_add_zero): Likewise.
77289 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77291         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
77292         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
77294 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77296         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
77297         Check __x86_64__ instead of __WORDSIZE.
77299 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77301         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
77303 2012-03-19  David S. Miller  <davem@davemloft.net>
77305         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77307         * sysdeps/sparc/fpu/fenv_private.h: New file.
77308         * sysdeps/sparc/fpu/math_private.h: Use it.
77309         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
77310         Remove.
77311         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
77312         (libc_feholdexcept_setroundl): Remove.
77313         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
77314         Remove.
77315         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
77316         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
77318 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77320         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
77321         int64_t instead of long int.
77322         (INSERT_WORDS64): Likewise.
77324 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77326         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
77327         _Unwind_GetCFA return to _Unwind_Ptr first.
77329 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
77331         [BZ #13629]
77332         * math/s_clog.c: Include <float.h>.
77333         (__clog): Scale large or subnormal inputs.
77334         * math/s_clogf.c: Likewise.
77335         * math/s_clogl.c: Likewise.
77336         * math/s_clog10.c: Include <float.h>.
77337         (M_LOG10_2): Define.
77338         (__clog10): Scale large or subnormal inputs.
77339         * math/s_clog10f.c: Likewise.
77340         * math/s_clog10l.c: Likewise.
77341         * math/libm-test.inc (clog_test): Add more tests.
77342         (clog10_test): Likewise.
77343         * sysdeps/i386/fpu/libm-test-ulps: Update.
77344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77346         [BZ #11451]
77347         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
77348         x and y.
77349         * math/libm-test.inc (atan2_test): Add another test.
77351         * Makerules (common-objdir-compile): Remove.
77352         * sysdeps/unix/Makefile (config-generated): Do not add
77353         $(unix-generated) to variable.
77354         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
77355         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
77356         Remove rule.
77357         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
77358         Likewise.
77359         [generic bits/local_lim.h] (before-compile): Do not append to
77360         variable.
77361         [generic bits/local_lim.h] (common-generated): Likewise.
77362         [generic sys/param.h] (before-compile): Do not append to variable.
77363         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
77364         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
77365         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
77366         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
77367         include.
77368         [generic sys/param.h] (sys/param.h-includes): Remove variable.
77369         [generic sys/param.h] (sys/param.h-includes): Remove rule.
77370         [generic sys/param.h] ($(addprefix
77371         $(common-objpfx),$(sys/param.h-includes))): Likewise.
77372         [generic sys/param.h] (common-generated): Do not append to
77373         variable.
77374         [generic sys/param.h] (sysdep_headers): Likewise.
77375         [generic bits/errno.h] (before-compile): Do not append to
77376         variable.
77377         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
77378         rule.
77379         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
77380         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
77381         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
77382         [generic bits/errno.h] (common-generated): Do not append to
77383         variable.
77384         [generic bits/ioctls.h] (before-compile): Do not append to
77385         variable.
77386         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
77387         rule.
77388         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
77389         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
77390         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
77391         rule.
77392         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
77393         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
77394         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
77395         [generic bits/ioctls.h] (common-generated): Do not append to
77396         variable.
77397         [generic sys/syscall.h] (syscall.h): Remove variable.
77398         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
77399         rule.
77400         [generic sys/syscall.h] (before-compile): Do not append to
77401         variable.
77402         [generic sys/syscall.h] (common-generated): Likewise.
77403         * sysdeps/unix/errnos-tmpl.c: Remove file.
77404         * sysdeps/unix/errnos.awk: Likewise.
77405         * sysdeps/unix/ioctls-tmpl.c: Likewise.
77406         * sysdeps/unix/ioctls.awk: Likewise.
77407         * sysdeps/unix/mk-local_lim.c: Likewise.
77408         * sysdeps/unix/snarf-ioctls: Likewise.
77410 2012-03-19  Richard Henderson  <rth@twiddle.net>
77412         * sysdeps/i386/fpu/fenv_private.h: New file.
77413         * sysdeps/i386/fpu/math_private.h: Use it.
77414         (math_opt_barrier, math_force_eval): Remove.
77415         (libc_feholdexcept_setround_53bit): Remove.
77416         (libc_feupdateenv_53bit): Remove.
77417         * sysdeps/x86_64/fpu/math_private.h: Likewise.
77418         (math_opt_barrier, math_force_eval): Remove.
77419         (libc_feholdexcept): Remove.
77420         (libc_feholdexcept_setround): Remove.
77421         (libc_fetestexcept, libc_fesetenv): Remove.
77422         (libc_feupdateenv_test): Remove.
77423         (libc_feupdateenv, libc_feholdsetround): Remove.
77424         (libc_feresetround): Remove.
77426         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
77427         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
77429         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
77430         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
77431         (libc_feupdateenv_testl): New.
77432         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
77433         (libc_feupdateenv_testf): New.
77434         (libc_feupdateenv): Use libc_feupdateenv_test.
77435         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
77436         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
77438         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
77439         (libc_feholdsetroundf, libc_feholdsetroundl): New.
77440         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
77441         (libc_feresetround_noex): New.
77442         (libc_feresetround_noexf): New.
77443         (libc_feresetround_noexl): New.
77444         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
77445         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
77446         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
77447         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
77448         SET_RESTORE_ROUND.
77449         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
77450         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
77451         (__cos): Likewise.
77452         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
77453         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
77454         SET_RESTORE_ROUND_NOEX.
77455         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
77456         SET_RESTORE_ROUND_NOEXF.
77457         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
77458         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
77459         (libc_feholdsetroundf): New.
77460         (libc_feresetround, libc_feresetroundf): New.
77462         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
77463         (libc_feholdexcept_setround_53bit): Convert from macro to function.
77464         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
77466         * sysdeps/generic/math_private.h: Include <fenv.h>.
77467         (default_libc_feholdexcept): New.
77468         (default_libc_feholdexcept_setround): New.
77469         (default_libc_fesetenv, default_libc_feupdateenv): New.
77470         (libc_feholdexcept): Only define if undefined.
77471         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
77472         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
77473         (libc_feholdexcept_setroundl): Likewise.
77474         (libc_feholdexcept_setround_53bit): Likewise.
77475         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
77476         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
77477         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
77478         (libc_feupdateenv_53bit): Likewise.
77479         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
77480         (libc_feholdexcept): Convert from macro to inline function.
77481         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
77482         (libc_fesetenv, libc_feupdateenv): Likewise.
77484         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
77485         not previously defined.
77486         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
77487         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
77488         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
77489         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
77490         * sysdeps/ieee754/flt-32/math_private.h: New file.
77491         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
77492         math_private.h below SET_FLOAT_WORD.
77493         (__isnan, __isinf_ns, __finite): Remove.
77494         (__isnanf, __isinf_nsf, __finitef): Remove.
77496 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
77498         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77500 2012-03-17  David S. Miller  <davem@davemloft.net>
77502         [BZ #6471]
77503         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
77504         for 2.16.
77506 2012-03-16  David S. Miller  <davem@davemloft.net>
77508         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
77509         warnings.
77511         [BZ #6471]
77512         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
77513         properly.
77514         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
77515         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
77516         sysdep_routines when subdir is sysvipc.
77517         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
77518         __getshmlba helper.
77520         * sysdeps/sparc/fpu/libm-test/ulps: Update.
77522 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77524         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
77525         [__LP64__].
77527 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77529         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
77530         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
77531         (__lround): Renamed to ...
77532         (__llround): This.  Replace long int with long long int.
77533         Define lround functions as aliases of llround functions.
77534         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
77536 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77538         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
77539         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
77540         adresses to uintptr_t.  Replace "long int" and "unsigned long
77541         int" with "greg_t" on va_arg.
77543 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77545         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
77546         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
77548         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
77549         Move e_machine check before EI_CLASS check.  Handle x32
77550         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
77551         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
77552         SKIP_EM_IA_64 and include
77553         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
77555         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
77556         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
77557         (add_system_dir): New macro.
77559         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
77560         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
77562 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
77564         [BZ #2551]
77565         [BZ #2552]
77566         [BZ #2553]
77567         [BZ #2554]
77568         [BZ #2562]
77569         [BZ #2563]
77570         [BZ #2565]
77571         [BZ #2566]
77572         [BZ #2576]
77573         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
77574         (y0): Likewise.
77575         * math/w_j0f.c (j0f): Likewise.
77576         (y0f): Likewise.
77577         * math/w_j0l.c (__j0l): Likewise.
77578         (__y0l): Likewise.
77579         * math/w_j1.c (j1): Likewise.
77580         (y1): Likewise.
77581         * math/w_j1f.c (j1f): Likewise.
77582         (y1f): Likewise.
77583         * math/w_j1l.c (__j1l): Likewise.
77584         (__y1l): Likewise.
77585         * math/w_jn.c (jn): Likewise.
77586         (yn): Likewise.
77587         * math/w_jnf.c (jnf): Likewise.
77588         (ynf): Likewise.
77589         * math/w_jnl.c (__jnl): Likewise.
77590         (__ynl): Likewise.
77591         * math/libm-test.inc (j0_test): Add more tests.
77592         (j1_test): Likewise.
77593         (jn_test): Likewise.  Add trailing semicolon to existing test.
77594         (y0_test): Likewise.
77595         (y1_test): Likewise.
77596         * sysdeps/i386/fpu/libm-test-ulps: Update.
77597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77599         [BZ #13851]
77600         [BZ #13854]
77601         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
77602         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
77603         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
77604         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
77605         (__tanl): Set errno for infinite argument.
77606         * sysdeps/i386/fpu/mptan.c: Remove.
77607         * sysdeps/i386/fpu/s_tan.S: Likewise.
77608         * sysdeps/i386/fpu/s_tanl.S: Likewise.
77609         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
77610         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
77611         * math/libm-test.inc (tan_test): Add more tests and enable more
77612         tests for double and long double.
77613         * sysdeps/i386/fpu/libm-test-ulps: Update.
77614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77616 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
77618         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
77619         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
77621 2012-03-16  Roland McGrath  <roland@hack.frob.com>
77623         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
77624         * configure.in: Use it for both main tree and add-ons.
77625         * configure: Regenerated.
77627 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77629         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
77631 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
77633         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
77634         in comment.
77636         [BZ #13851]
77637         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
77638         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
77639         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
77640         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
77641         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
77642         infinite argument.
77643         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
77644         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
77645         != 0 for prec == 2.
77646         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
77647         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
77648         * sysdeps/i386/fpu/s_cosl.S: Likewise.
77649         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
77650         * sysdeps/i386/fpu/s_sinl.S: Likewise.
77651         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
77652         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
77653         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
77654         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
77655         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
77656         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
77657         * math/libm-test.inc (cos_test): Add more tests and enable more
77658         tests for long double.
77659         (sin_test): Likewise.
77660         (sincos_test): Likewise.
77661         * sysdeps/i386/fpu/libm-test-ulps: Update.
77662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77664 2012-03-16  David S. Miller  <davem@davemloft.net>
77666         * sysdeps/sparc/fpu/math_private.h: New file.
77668 2012-03-15  David S. Miller  <davem@davemloft.net>
77670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
77671         file.
77672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
77673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
77674         file.
77675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
77676         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
77677         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
77678         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
77679         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
77680         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
77681         sysdep routines.
77682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
77684         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
77685         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
77687         * sysdeps/sparc/sparc-ifunc.h: New file.
77688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
77689         sparc-ifunc.h
77690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
77691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
77692         Likewise.
77693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
77694         Likewise.
77695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
77696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
77697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
77698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
77699         Likewise.
77700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
77701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
77702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
77703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
77704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
77705         Likewise.
77706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
77707         Likewise.
77708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
77709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
77710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
77711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
77712         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
77713         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
77714         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
77715         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
77716         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
77717         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
77718         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
77719         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
77720         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
77721         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
77722         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
77723         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
77724         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
77725         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
77726         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
77727         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
77728         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
77729         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
77730         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
77731         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
77733 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
77735         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
77736         scaling.
77737         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77739 2012-03-15  Andreas Jaeger  <aj@suse.de>
77741         [BZ #13852]
77742         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
77743         ieee754/flt-32 implementation for sin, cos and sincos.
77744         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
77745         * sysdeps/i386/fpu/s_cosf.S: Likewise.
77746         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
77747         * sysdeps/i386/fpu/s_sinf.S: Likewise.
77748         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
77749         ieee754/flt-32 implementation for tan.
77751         * math/libm-test.inc (cos_test): Enable some large input tests for
77752         float as well
77753         (sin_test): Likewise.
77754         (sincos_test): Likewise.
77755         (tan_test): Add tests for large input.
77757         * sysdeps/i386/fpu/libm-test-ulps: Update.
77759 2012-03-15  Andreas Jaeger  <aj@suse.de>
77761         [BZ #13658]
77762         * math/libm-test.inc (cos_test): Add more test cases.
77763         (sin_test): Likewise.
77764         (sincos_test): Likewise.
77766 2012-03-15  Andreas Jaeger  <aj@suse.de>
77768         [BZ #13837]
77769         * math/libm-test.inc (cos_test): Add a test case for large input
77770         value.
77771         (sin_test): Likewise.
77772         (sincos_test): Likewise.
77774 2012-03-15  Andreas Jaeger  <aj@suse.de>
77775             Joseph Myers  <joseph@codesourcery.com>
77777         [BZ #13658]
77778         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
77779         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
77780         * sysdeps/i386/fpu/branred.c: Likewise.
77781         * sysdeps/i386/fpu/dosincos.c: Likewise.
77782         * sysdeps/i386/fpu/mpa.c: Likewise.
77783         * sysdeps/i386/fpu/s_cos.S: Likewise.
77784         * sysdeps/i386/fpu/s_sin.S: Likewise.
77785         * sysdeps/i386/fpu/s_sincos.S: Likewise.
77786         * sysdeps/i386/fpu/sincos32.c: Likewise.
77788         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
77789         Define.
77790         (libc_feupdateenv_53bit): Define.
77791         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
77792         Define.
77793         (libc_feupdateenv_53bit): Define.
77795         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
77796         53 bit (without extend i386 double precision).
77798         * math/libm-test.inc (sincos_test): Add tests for large input.
77799         (sin): Likewise.
77800         (cos): Likewise.
77802         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
77804 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
77806         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77808 2012-03-15  David S. Miller  <davem@davemloft.net>
77810         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
77811         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
77812         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
77813         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
77814         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
77815         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
77816         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
77817         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
77818         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
77819         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
77820         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
77821         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
77822         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
77823         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
77824         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
77825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
77826         file.
77827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
77828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
77829         file.
77830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
77831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
77832         file.
77833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
77834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
77835         file.
77836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
77837         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
77838         fmin/fmax sysdep routines.
77839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
77841 2012-03-14  David S. Miller  <davem@davemloft.net>
77843         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
77844         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
77845         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
77846         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
77847         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
77848         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
77849         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
77850         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
77851         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
77852         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
77853         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
77854         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
77855         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
77856         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
77857         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
77858         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
77859         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
77860         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
77861         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
77862         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
77863         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
77864         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
77865         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
77866         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
77867         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
77868         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
77869         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
77870         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
77871         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
77872         routines.
77873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
77874         file.
77875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
77876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
77877         file.
77878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
77879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
77880         file.
77881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
77882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
77883         file.
77884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
77885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
77886         file.
77887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
77888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
77889         file.
77890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
77891         file.
77892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
77893         file.
77894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
77895         file.
77896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
77897         New file.
77898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
77899         file.
77900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
77901         file.
77902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
77903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
77904         file.
77905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
77906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
77907         file.
77908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
77909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
77910         file.
77911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
77912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
77913         VIS3 routines.
77915         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
77916         New file.
77918         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77920         * sysdeps/sparc/configure.in: New file.
77921         * sysdeps/sparc/configure: Generate.
77922         * configure.in (libc_cv_sparc_as_vis3): Substitute.
77923         * configure: Regenerate.
77924         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
77925         * config.make.in (have-as-vis3): New.
77926         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
77927         available use -Av9d instead of -Av9a.
77928         * sysdeps/sparc/sparc64/Makefile: Likewise.
77929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
77930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
77931         New file.
77932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
77933         file.
77934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
77935         New file.
77936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
77937         file.
77938         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
77939         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
77940         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
77941         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
77942         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
77944         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
77945         fzeros/fnegs to load 0x80000000 into a float register instead of
77946         using the stack.
77947         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
77949 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
77951         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77952         bits/syscall.h.
77953         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
77954         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
77955         ($(inst_includedir)/bits/syscall.h): Remove rule.
77956         ($(objpfx)bits/syscall.d): Include instead of
77957         $(objpfx)syscall-list.d.
77958         (generated): Change syscall-list.h and syscall-list.d to
77959         bits/syscall.h and bits/syscall.d.
77961 2012-03-14  Roland McGrath  <roland@hack.frob.com>
77963         [BZ #13846]
77964         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
77966 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
77968         [BZ #13841]
77969         * math/s_csqrt.c: Include <float.h>.
77970         (__csqrt): Scale large or subnormal inputs.
77971         * math/s_csqrtf.c: Likewise.
77972         * math/s_csqrtl.c: Likewise.
77973         * math/libm-test.inc (csqrt_test): Add more tests.
77974         * sysdeps/i386/fpu/libm-test-ulps: Update.
77975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77977         [BZ #13840]
77978         * math/libm-test.inc (hypot_test): Add more tests.
77980 2012-03-13  David S. Miller  <davem@davemloft.net>
77982         [BZ #13840]
77983         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
77984         double-precision for the calculation instead of scaling.
77986 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
77988         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
77989         manipulate bits before adding and subtracting TWO52[sx].
77990         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
77991         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
77992         Likewise.
77993         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
77995 2012-03-13  David S. Miller  <davem@davemloft.net>
77997         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
77998         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
77999         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
78000         rtld-global-offsets.h
78001         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
78003         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
78004         large parameters.
78006         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
78008         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
78009         'err' in the ifdef scope in which it is actually used.
78011         * nss/nss_db/db-init.c: Include string.h
78013 2012-03-12  David S. Miller  <davem@davemloft.net>
78015         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
78016         masking out of the most significant byte of random value used.
78017         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78018         Fix coding style in previous change.
78020         * sysdeps/unix/sysv/linux/kernel-features.h
78021         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
78022         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
78023         expression.
78024         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
78025         later.
78027 2012-03-11  David S. Miller  <davem@davemloft.net>
78029         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
78030         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
78031         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
78032         for 'resultvar' otherwise things get truncated on 64-bit.
78034         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78035         Fix masking out of the most significant byte of random value used.
78037         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78039 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
78041         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78043 2012-03-09  David S. Miller  <davem@davemloft.net>
78045         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
78046         variables with appropriate CPP guards.
78047         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
78048         from the frame pointer, not the stack pointer.  Correct layout
78049         comments.  Fix test on resulting framesize and the management of
78050         the outregs buffer for pltexit.  Preserve floating point return
78051         values across _dl_call_pltexit call.
78052         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
78053         framesize and the management of the outregs buffer for pltexit.
78054         Preserve floating point return values across _dl_call_pltexit
78055         call.
78056         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
78057         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
78058         (la_sparc64_gnu_pltexit): New functions.
78059         (print_exit): Fix format string for return register value.
78061 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
78063         * sunrpc/Makefile (others): Add rpcgen.
78064         ($(objpfx)rpcgen): Remove special build rule and dependency on
78065         libc.
78066         * sunrpc/rpcgen.c: New file.
78068 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
78070         [BZ #13673]
78071         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
78072         * stdio-common/bug-vfprintf-nargs.c: Likewise.
78073         * sysdeps/i386/crti.S: Likewise.
78074         * sysdeps/i386/crtn.S: Likewise.
78075         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
78076         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
78077         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
78078         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
78079         * sysdeps/sh/crti.S: Likewise.
78080         * sysdeps/sh/crtn.S: Likewise.
78081         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
78083         [BZ #13673]
78084         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
78085         with URL.
78086         * locale/programs/locfile-kw.gperf: Likewise.
78087         * locale/programs/charmap-kw.h: Regenerated.
78088         * locale/programs/locfile-kw.h: Likewise.
78090         [BZ #13673]
78091         * intl/plural.y: Replace FSF snail mail address with URL.
78092         * intl/plural.c: Regenerated.
78094 2012-03-09  Richard Henderson  <rth@twiddle.net>
78096         * include/math_private.h: Remove file.
78097         * math/math_private.h: Move file ...
78098         * sysdeps/generic/math_private.h: ... here.
78100         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
78101         * sysdeps/powerpc/fpu/math_private.h: Likewise.
78102         * sysdeps/x86_64/fpu/math_private.h: Likewise.
78104         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
78105         and <math_private.h>.
78106         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
78107         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
78108         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
78109         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
78110         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
78111         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
78112         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
78113         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78114         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
78115         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
78116         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78117         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
78118         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
78119         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
78120         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
78121         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
78122         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
78123         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
78124         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
78125         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
78126         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78127         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
78128         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
78129         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78130         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
78131         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
78132         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
78133         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
78134         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78135         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
78136         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
78137         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
78138         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
78139         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
78140         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
78141         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
78142         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
78143         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
78144         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
78145         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78146         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
78147         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
78148         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
78149         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
78150         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
78151         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
78152         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
78153         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
78154         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
78155         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
78156         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
78157         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
78158         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
78159         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
78160         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
78161         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
78162         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
78163         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
78164         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
78165         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
78166         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
78167         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
78168         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
78169         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
78170         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
78171         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
78172         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
78173         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
78174         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
78175         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
78176         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
78177         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
78178         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
78179         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
78180         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
78181         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
78182         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
78183         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
78184         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
78185         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
78186         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
78187         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
78188         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
78189         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
78190         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
78191         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
78192         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
78193         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
78194         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
78195         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78196         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78197         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
78198         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
78199         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
78200         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
78201         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
78202         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
78203         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
78204         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
78205         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
78206         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
78207         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
78208         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
78209         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
78210         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
78211         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
78212         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
78213         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
78214         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
78215         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
78216         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
78217         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
78218         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
78219         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
78220         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
78221         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
78222         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
78223         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
78224         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
78225         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
78226         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
78227         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
78228         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
78229         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
78230         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
78231         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
78232         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
78233         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
78234         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
78235         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
78236         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
78237         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
78238         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
78239         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
78240         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
78241         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
78242         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
78243         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
78244         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
78245         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
78246         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
78247         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
78248         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
78249         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
78250         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
78251         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
78252         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
78253         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
78254         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
78255         * sysdeps/ieee754/k_standard.c: Likewise.
78256         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
78257         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
78258         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78259         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
78260         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
78261         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
78262         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
78263         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
78264         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
78265         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
78266         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
78267         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
78268         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
78269         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
78270         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
78271         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
78272         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
78273         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
78274         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
78275         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
78276         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
78277         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
78278         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
78279         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
78280         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
78281         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
78282         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
78283         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
78284         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
78285         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
78286         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
78287         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
78288         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
78289         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
78290         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
78291         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
78292         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
78293         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
78294         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
78295         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
78296         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
78297         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
78298         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
78299         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
78300         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
78301         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
78302         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
78303         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
78304         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
78305         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
78306         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
78307         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
78308         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
78309         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
78310         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
78311         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
78312         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
78313         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
78314         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
78315         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
78316         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
78317         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
78318         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
78319         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
78320         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78321         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78322         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
78323         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
78324         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
78325         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
78326         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
78327         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
78328         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
78329         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
78330         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
78331         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
78332         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
78333         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
78334         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
78335         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
78336         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
78337         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
78338         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
78339         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
78340         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
78341         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
78342         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
78343         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
78344         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
78345         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
78346         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
78347         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
78348         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
78349         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
78350         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
78351         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
78352         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
78353         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
78354         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
78355         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
78356         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
78357         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
78358         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
78359         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
78360         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
78361         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
78362         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
78363         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
78364         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
78365         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
78366         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
78367         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
78368         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
78369         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78370         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
78371         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
78372         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
78373         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78374         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
78375         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
78376         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
78377         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
78378         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
78379         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
78380         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78381         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
78382         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
78383         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
78384         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
78385         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
78386         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
78387         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
78388         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
78389         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
78390         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
78391         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
78392         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
78393         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
78394         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
78395         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
78396         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
78397         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
78398         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
78399         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
78400         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
78401         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
78402         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
78403         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
78404         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
78405         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
78406         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
78407         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
78408         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
78409         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
78410         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
78411         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
78412         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
78413         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
78414         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
78415         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
78416         * sysdeps/ieee754/s_lib_version.c: Likewise.
78417         * sysdeps/ieee754/s_matherr.c: Likewise.
78418         * sysdeps/ieee754/s_signgam.c: Likewise.
78419         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
78420         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
78421         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
78422         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
78423         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
78424         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
78425         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
78426         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
78427         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
78428         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
78429         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
78430         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
78431         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
78432         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
78433         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
78434         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
78435         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
78436         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
78437         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
78438         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
78439         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
78441 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
78443         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
78444         * sunrpc/rpc_main.c: Likewise.
78445         * sunrpc/rpc_svcout.c: Likewise.
78447 2012-03-09  David S. Miller  <davem@davemloft.net>
78449         * include/math_private.h: New file.
78451 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
78453         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
78454         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
78455         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
78456         from <bits/socket_type.h>.
78457         (enum __socket_type): Don't define here.
78458         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
78459         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78460         bits/socket_type.h.
78462         [BZ #13566]
78463         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
78464         checking __USE_GNU.
78466         * Makerules ($(inst_includedir)/%.h): New rule.
78467         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
78468         (install-others): Remove variable setting.
78469         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
78471 2012-03-08  Richard Henderson  <rth@twiddle.net>
78473         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
78474         from macro to inline function; merge with the
78475         !__LIBC_INTERNAL_MATH_INLINES version.
78476         (__ieee754_sqrtf): Likewise.
78478         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
78479         to inline function.
78480         (__rintf, __floor, __floorf): Likewise.
78482         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
78483         macro to inline function.
78484         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
78486         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
78487         not <math/math_private.h>.
78489 2012-03-08  David S. Miller  <davem@davemloft.net>
78491         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
78492         copyright year.
78493         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
78495 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
78497         * resolv/gai_misc.c (handle_requests): Fix struct timespec
78498         normalization.
78499         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
78500         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
78502 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
78504         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
78505         be defined individually, they must be defined as a block.  Define
78506         S for printing a string instead of hidint the different by using a
78507         macro for adding the 'l'.
78508         * stdio-common/tst-fphex-wide.c: Adjust.
78510 2012-03-07  Marek Polacek  <polacek@redhat.com>
78512         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
78514 2012-03-08  Marek Polacek  <polacek@redhat.com>
78516         [BZ #13806]
78517         * stdio-common/Makefile (tests): Add tst-fphex-wide.
78518         * stdio-common/tst-fphex.c: Define a few macros to make the
78519         test reusable.  Use them.
78520         * stdio-common/tst-fphex-wide.c: New file.
78522 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
78524         [BZ #6911]
78525         * manual/macros.texi (gnusystems): New macro.
78526         (nongnusystems): Likewise.
78527         (gnulinuxhurdsystems): Likewise.
78528         (gnuhurdsystems): Likewise..
78529         (gnulinuxsystems): Likewise.
78530         * manual/charset.texi: Use new macros or @theglibc{} to refer to
78531         variants of the GNU system, not "GNU system".
78532         * manual/conf.texi: Likewise.
78533         * manual/errno.texi: Likewise.  Update example of errno macro
78534         expansion.
78535         * manual/filesys.texi: Likewise.
78536         (getumask): Document as specific to GNU/Hurd.
78537         * manual/install.texi: Likewise.  Reword some references to
78538         GNU/Linux.
78539         * manual/intro.texi: Likewise.
78540         * manual/io.texi: Likewise.
78541         (File Name Portability): Detail which constraints are inapplicable
78542         to all GNU systems and which are only inapplicable to GNU/Hurd.
78543         * manual/job.texi: Likewise.
78544         * manual/llio.texi: Likewise.
78545         (O_NOCTTY): Document as present on GNU/Linux.
78546         * manual/maint.texi: Likewise.
78547         * manual/memory.texi: Likewise.
78548         * manual/pattern.texi: Likewise.
78549         * manual/pipe.texi: Likewise.
78550         * manual/process.texi: Likewise.
78551         * manual/resource.texi: Likewise.
78552         (RUSAGE_CHILDREN): Remove statement about specifying a particular
78553         child on GNU/Hurd.
78554         * manual/setjmp.texi: Likewise.
78555         * manual/signal.texi: Likewise.
78556         * manual/startup.texi: Likewise.
78557         * manual/stdio.texi: Likewise.
78558         * manual/terminal.texi: Likewise.
78559         (ONLCR): Document as POSIX.
78560         (OXTABS): Document availability on GNU/Linux as XTABS.
78561         (ONOEOT): Document availability separately from other bits.
78562         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
78563         * manual/time.texi: Likewise.
78564         * manual/users.texi: Likewise.
78565         * INSTALL: Regenerated.
78566         * sysdeps/gnu/errlist.c: Regenerated.
78568         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
78569         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
78570         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
78571         puts.
78572         * configure: Regenerated.
78574 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
78576         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
78577         default includes instead of AC_HEADER_CHECK.
78578         * sysdeps/i386/configure: Regenerated.
78580         [BZ #10716]
78581         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
78582         * math/s_cacoshf.c (__cacoshf): Likewise.
78583         * math/s_cacoshl.c (__cacoshl): Likewise.
78584         * math/s_casinh.c (__casinh): Set signs of result from argument.
78585         * math/s_casinhf.c (__casinhf): Likewise.
78586         * math/s_casinhl.c (__casinhl): Likewise.
78587         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
78588         (casinh_test): Add more tests.
78589         * sysdeps/i386/fpu/libm-test-ulps: Update.
78590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78592 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
78594         * po/zh_TW.po: Update from translation team.
78596         * login/Makefile (distribute): Remove variable.
78597         * catgets/Makefile: Likewise.
78598         * mach/Makefile: Likewise.
78599         * malloc/Makefile: Likewise.
78600         * misc/Makefile: Likewise.
78601         * iconv/Makefile: Likewise.
78602         * nscd/Makefile: Likewise.
78603         * hurd/Makefile: Likewise.
78604         * manual/Makefile: Likewise.
78605         * locale/Makefile: Likewise.
78606         * intl/Makefile: Likewise.
78607         * conform/Makefile: Likewise.
78608         * nss/Makefile: Likewise.
78609         * time/Makefile: Likewise.
78610         * soft-fp/Makefile: Likewise.
78611         * dirent/Makefile: Likewise.
78612         * gmon/Makefile: Likewise.
78613         * po/Makefile: Likewise.
78614         * rt/Makefile: Likewise.
78615         * socket/Makefile: Likewise.
78616         * math/Makefile: Likewise.
78617         * signal/Makefile: Likewise.
78618         * debug/Makefile: Likewise.
78619         * elf/Makefile: Likewise.
78620         * timezone/Makefile: Likewise.
78621         * stdlib/Makefile: Likewise.
78622         * iconvdata/Makefile: Likewise.
78623         * sunrpc/Makefile: Likewise.
78624         * io/Makefile: Likewise.
78625         * argp/Makefile: Likewise.
78626         * inet/Makefile: Likewise.
78627         * hesiod/Makefile: Likewise.
78628         * grp/Makefile: Likewise.
78629         * csu/Makefile: Likewise.
78630         * wctype/Makefile: Likewise.
78631         * crypt/Makefile: Likewise.
78632         * libio/Makefile: Likewise.
78633         * string/Makefile: Likewise.
78634         * nis/Makefile: Likewise.
78635         * resolv/Makefile: Likewise.
78636         * stdio-common/Makefile: Likewise.
78637         * wcsmbs/Makefile: Likewise.
78638         * dlfcn/Makefile: Likewise.
78639         * posix/Makefile: Likewise.
78641         [BZ #6959]
78642         * timezone/Makefile: Don't install timezone files, just the programs
78643         and scripts.
78645 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
78647         * nss/databases.def: Add missing gshadow entry.
78649         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
78651 2012-03-06  Marek Polacek  <polacek@redhat.com>
78653         [BZ #13726]
78654         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
78655         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
78656         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
78657         * stdio-common/tst-long-dbl-fphex.c: New file.
78659 2012-03-06  David S. Miller  <davem@davemloft.net>
78661         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
78662         (set_obp_int): New function.
78663         (get_obp_int): New function.
78664         (__get_clockfreq_via_dev_openprom): Likewise.
78665         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
78666         Avoid unused variable warnings on 'val' and use builtin_expect.
78667         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
78668         __builtin_expect.
78669         (INLINE_CLONE_SYSCALL): Likewise.
78671 2012-03-05  David S. Miller  <davem@davemloft.net>
78673         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78675 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
78677         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78679         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
78680         only for |x| >= 40.
78681         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
78683 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
78685         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
78686         Replace gettimeofday with __vdso_gettimeofday.
78688         * sysdeps/unix/sysv/linux/x86_64/init-first.c
78689         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
78690         __vdso_clock_gettime and __vdso_getcpu.
78692         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
78693         time with __vdso_time.
78695 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
78697         * manual/lang.texi (size_t): Note types to which size_t may be
78698         equivalent with the GNU C Library, but do not describe when
78699         differences between them are significant.
78701 2012-03-05  Andreas Jaeger  <aj@suse.de>
78703         * sysdeps/i386/fpu/libm-test-ulps: Update.
78705 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
78707         [BZ #3976]
78708         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
78709         (__ieee754_pow): Save and restore rounding mode and use
78710         round-to-nearest for main computations.
78711         * math/libm-test.inc (pow_test_tonearest): New function.
78712         (pow_test_towardzero): Likewise.
78713         (pow_test_downward): Likewise.
78714         (pow_test_upward): Likewise.
78715         (main): Call the new functions.
78716         * sysdeps/i386/fpu/libm-test-ulps: Update.
78717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78719         [BZ #3976]
78720         * math/libm-test.inc (cosh_test_tonearest): New function.
78721         (cosh_test_towardzero): Likewise.
78722         (cosh_test_downward): Likewise.
78723         (cosh_test_upward): Likewise.
78724         (sinh_test_tonearest): Likewise.
78725         (sinh_test_towardzero): Likewise.
78726         (sinh_test_downward): Likewise.
78727         (sinh_test_upward): Likewise.
78728         (main): Call the new functions.
78729         * sysdeps/i386/fpu/libm-test-ulps: Update.
78730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78732 2012-03-05  Tom de Vries  <tom@codesourcery.com>
78734         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
78735         default stack guard is set in last bytes.
78736         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
78738 2012-03-05  Kees Cook  <keescook@chromium.org>
78740         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
78742         [BZ #13656]
78743         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
78744         possibly allocate from heap instead of stack.
78745         * stdio-common/bug-vfprintf-nargs.c: New file.
78746         * stdio-common/Makefile (tests): Add nargs overflow test.
78748 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
78750         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78752 2012-03-03  Marek Polacek  <polacek@redhat.com>
78754         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
78755         * math/math_private.h: Likewise.
78756         * stdlib/tst-strtod.c: Likewise.
78757         * sysdeps/i386/i486/bits/atomic.h: Likewise.
78758         * sysdeps/x86_64/bits/atomic.h: Likewise.
78760 2012-03-02  David S. Miller  <davem@davemloft.net>
78762         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
78763         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
78764         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
78765         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
78766         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
78767         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
78768         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
78769         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
78771 2012-03-02  Roland McGrath  <roland@hack.frob.com>
78773         [BZ #13792]
78774         * manual/examples/README: New file, says the example source files
78775         can be used under GPL>=2.
78776         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
78777         line containing just "*/".
78778         * manual/examples/add.c: Add copyright header (GPL>=2).
78779         * manual/examples/argp-ex1.c: Likewise.
78780         * manual/examples/argp-ex2.c: Likewise.
78781         * manual/examples/argp-ex3.c: Likewise.
78782         * manual/examples/argp-ex4.c: Likewise.
78783         * manual/examples/atexit.c: Likewise.
78784         * manual/examples/db.c: Likewise.
78785         * manual/examples/dir.c: Likewise.
78786         * manual/examples/dir2.c: Likewise.
78787         * manual/examples/execinfo.c: Likewise.
78788         * manual/examples/filecli.c: Likewise.
78789         * manual/examples/filesrv.c: Likewise.
78790         * manual/examples/fmtmsgexpl.c: Likewise.
78791         * manual/examples/genpass.c: Likewise.
78792         * manual/examples/inetcli.c: Likewise.
78793         * manual/examples/inetsrv.c: Likewise.
78794         * manual/examples/isockad.c: Likewise.
78795         * manual/examples/longopt.c: Likewise.
78796         * manual/examples/memopen.c: Likewise.
78797         * manual/examples/memstrm.c: Likewise.
78798         * manual/examples/mkfsock.c: Likewise.
78799         * manual/examples/mkisock.c: Likewise.
78800         * manual/examples/mygetpass.c: Likewise.
78801         * manual/examples/pipe.c: Likewise.
78802         * manual/examples/popen.c: Likewise.
78803         * manual/examples/rprintf.c: Likewise.
78804         * manual/examples/search.c: Likewise.
78805         * manual/examples/select.c: Likewise.
78806         * manual/examples/setjmp.c: Likewise.
78807         * manual/examples/sigh1.c: Likewise.
78808         * manual/examples/sigusr.c: Likewise.
78809         * manual/examples/stpcpy.c: Likewise.
78810         * manual/examples/strdupa.c: Likewise.
78811         * manual/examples/strftim.c: Likewise.
78812         * manual/examples/strncat.c: Likewise.
78813         * manual/examples/subopt.c: Likewise.
78814         * manual/examples/swapcontext.c: Likewise.
78815         * manual/examples/termios.c: Likewise.
78816         * manual/examples/testopt.c: Likewise.
78817         * manual/examples/testpass.c: Likewise.
78818         * manual/examples/timeval_subtract.c: Likewise.
78820         [BZ #13792]
78821         * manual/time.texi (Elapsed Time): Move timeval_subtract example
78822         function to ...
78823         * manual/timeval_subtract.c.texi: ... here, new file.
78825 2012-03-02  David S. Miller  <davem@davemloft.net>
78827         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
78829 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
78831         [BZ #3976]
78832         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
78833         (__sin): Save and restore rounding mode and use round-to-nearest
78834         for all computations.
78835         (__cos): Save and restore rounding mode and use round-to-nearest
78836         for all computations.
78837         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
78838         <fenv.h>.
78839         (tan): Save and restore rounding mode and use round-to-nearest for
78840         all computations.
78841         * math/libm-test.inc (cos_test_tonearest): New function.
78842         (cos_test_towardzero): Likewise.
78843         (cos_test_downward): Likewise.
78844         (cos_test_upward): Likewise.
78845         (sin_test_tonearest): Likewise.
78846         (sin_test_towardzero): Likewise.
78847         (sin_test_downward): Likewise.
78848         (sin_test_upward): Likewise.
78849         (tan_test_tonearest): Likewise.
78850         (tan_test_towardzero): Likewise.
78851         (tan_test_downward): Likewise.
78852         (tan_test_upward): Likewise.
78853         (main): Call the new functions.
78854         * sysdeps/i386/fpu/libm-test-ulps: Update.
78855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78857         [BZ #10135]
78858         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
78859         small n, then large n, before computing and testing k+n.
78860         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
78861         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
78862         Likewise.
78863         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
78864         Likewise.
78865         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
78866         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
78867         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
78868         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
78869         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
78870         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
78871         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
78872         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
78873         * math/libm-test.inc (scalbn_test): Add more tests.
78874         (scalbln_test): Likewise.
78876         * manual/filesys.texi (mode_t): Describe constraints on size and
78877         signedness, not exact equivalence to a particular type.
78878         (ino_t): Likewise.
78879         (ino64_t): Likewise.
78880         (dev_t): Likewise.
78881         (nlink_t): Likewise.
78882         (blkcnt_t): Likewise.
78883         (blkcnt64_t): Likewise.
78884         * manual/llio.texi (off_t): Likewise.
78886         [BZ #3976]
78887         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
78888         (__ieee754_exp): Save and restore rounding mode and use
78889         round-to-nearest for all computations.
78890         * math/libm-test.inc (exp_test_tonearest): New function.
78891         (exp_test_towardzero): Likewise.
78892         (exp_test_downward): Likewise.
78893         (exp_test_upward): Likewise.
78894         (main): Call the new functions.
78895         * sysdeps/i386/fpu/libm-test-ulps: Update.
78896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78898 2012-03-01  Chris Demetriou  <cgd@google.com>
78900         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
78901         have predictable order.
78903 2012-03-01  David S. Miller  <davem@davemloft.net>
78905         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
78907         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
78908         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
78909         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
78910         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
78912         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
78913         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
78914         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
78915         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
78916         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
78917         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
78918         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
78919         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
78920         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
78922         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78924         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
78925         * sysdeps/sparc/fpu/libm-test-ulps: to here.
78926         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
78928         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
78929         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
78930         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
78931         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
78932         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
78933         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
78934         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
78935         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
78936         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
78937         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
78938         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
78939         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
78940         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
78941         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
78942         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
78943         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78944         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
78945         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
78946         * sysdeps/sparc/elf/configure: Regenerated.
78948 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
78950         * configure.in (AS, LD): Require binutils 2.20 or later.
78951         * configure: Regenerated.
78952         * manual/install.texi (Tools for Compilation): Give binutils 2.20
78953         as required minimum version.
78954         * INSTALL: Regenerated.
78956         [BZ #2541]
78957         [BZ #4108]
78958         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
78959         before squaring exponent.
78960         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
78961         bottom long double and 27 bits of top long double before squaring
78962         exponent.
78963         * math/libm-test.inc (erfc_test): Add more tests.
78964         * sysdeps/i386/fpu/libm-test-ulps: Update.
78965         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
78966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78968 2012-03-01  Kai Tietz  <ktietz@redhat.com>
78970         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
78971         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
78972         containing bit-fields.
78973         * soft-fp/extended.h (_FP_UNION_E): Likewise.
78974         * soft-fp/single.h (_FP_UNION_S): Likewise.
78975         * soft-fp/double.h (_FP_UNION_D): Likewise.
78977 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
78979         [BZ #13786]
78980         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
78981         not include ../strcmp.S.
78982         [USE_AS_STRNCASECMP_L]: Likewise.
78983         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
78984         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
78985         * sysdeps/i386/i686/multiarch/strncase_l-c.c
78986         (__strncasecmp_l_ia32): Define as alias to
78987         __strncasecmp_l_nonascii.
78989         [BZ #5794]
78990         * math/libm-test.inc (expm1_test): Add test for bug 5794.
78991         * sysdeps/i386/fpu/libm-test-ulps: Update.
78992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78994         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
78995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78997 2012-02-29  Jeff Law  <law@redhat.com>
78999         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
79000         out of bounds read.
79002 2012-02-29  Marek Polacek  <polacek@redhat.com>
79004         [BZ #13706]
79005         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
79006         * elf/Makefile: Add rules to run tst-unused-dep.out.
79008 2012-02-28  David S. Miller  <davem@davemloft.net>
79010         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
79011         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
79012         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
79013         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
79014         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
79015         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
79017 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
79019         * math/libm-test.inc (llround_test): Move one test from
79020         lround_test.  Use TEST_f_L in moved test.
79021         (lround_test): Move misplaced test to llround_test.  Add testcase
79022         from bug 2561.
79024 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
79026         * sysdeps/x86_64/fpu/e_expf.S: New file.
79027         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
79029 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
79031         [BZ #13637]
79032         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
79033         of remain_len that may cause incomplete multi-byte character and
79034         false match.
79035         * posix/bug-regex33.c: New file.
79036         * posix/Makefile (tests): Add bug-regex33.
79038 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
79040         * manual/macros.texi: New file.
79041         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
79042         * manual/libc.texinfo: Include macros.texi.
79043         * manual/creatute.texi: Likewise.
79044         * manual/install.texi: Likewise.
79045         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
79046         @glibcadj{} in references to the GNU C Library.
79047         * manual/charset.texi: Likewise.
79048         * manual/conf.texi: Likewise.
79049         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
79050         when not using those macros.
79051         * manual/creature.texi: Likewise.
79052         * manual/crypt.texi: Likewise.
79053         * manual/errno.texi: Likewise.
79054         * manual/filesys.texi: Likewise.
79055         * manual/header.texi: Likewise.
79056         * manual/install.texi: Likewise.
79057         * manual/intro.texi: Likewise.
79058         * manual/io.texi: Likewise.
79059         * manual/job.texi: Likewise.
79060         * manual/lang.texi: Likewise.
79061         * manual/libc.texiinfo: Likewise.
79062         * manual/llio.texi: Likewise.
79063         * manual/locale.texi: Likewise.
79064         * manual/maint.texi: Likewise.
79065         * manual/math.texi: Likewise.
79066         * manual/memory.texi: Likewise.
79067         * manual/message.texi: Likewise.
79068         * manual/nss.texi: Likewise.
79069         * manual/pattern.texi: Likewise.
79070         * manual/process.texi: Likewise.
79071         * manual/resource.texi: Likewise.
79072         * manual/search.texi: Likewise.
79073         * manual/setjmp.texi: Likewise.
79074         * manual/signal.texi: Likewise.
79075         * manual/socket.texi: Likewise.
79076         * manual/startup.texi: Likewise.
79077         * manual/stdio.texi: Likewise.
79078         * manual/string.texi: Likewise.
79079         * manual/sysinfo.texi: Likewise.
79080         * manual/syslog.texi: Likewise.
79081         * manual/terminal.texi: Likewise.
79082         * manual/time.texi: Likewise.
79083         * manual/users.texi: Likewise.
79084         * INSTALL: Regenerated.
79085         * NOTES: Regenerated.
79086         * sysdeps/gnu/errlist.c: Regenerated.
79088 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
79090         * include/dirent.h: Include <dirstream.h> before
79091         <dirent/dirent.h>.
79093 2012-02-28  David S. Miller  <davem@davemloft.net>
79095         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
79096         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
79097         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
79098         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
79100 2012-02-27  David S. Miller  <davem@davemloft.net>
79102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
79103         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
79104         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
79105         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
79107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
79108         frame pointer instead of stack pointer relative arg slot.
79109         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
79110         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
79111         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
79113 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
79115         [BZ #3992]
79116         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
79118 2012-02-27  David S. Miller  <davem@davemloft.net>
79120         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
79121         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
79122         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
79123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
79124         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
79125         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
79126         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
79127         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
79129 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
79131         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
79132         later.  Allow versions 5-9.
79133         * configure: Regenerated.
79134         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
79135         required minimum version and 4.6 as recommended version.  Do not
79136         mention bugs in GCC 2.7 and 2.8.
79137         * INSTALL: Regenerated.
79139 2012-02-27  David S. Miller  <davem@davemloft.net>
79141         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
79142         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
79143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
79144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
79145         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
79146         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
79147         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
79148         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
79150         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
79151         manipulate bits before adding and subtracting TWO112[sx].
79152         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
79154 2012-02-27  Roland McGrath  <roland@hack.frob.com>
79156         [BZ #13775]
79157         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
79158         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
79159         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
79160         being in POSIX, because they are in 1003.1-2008.
79162         * rt/tst-aio.c: Include <fcntl.h>.
79163         * rt/tst-aio7.c: Likewise.
79164         * rt/tst-aio64.c: Likewise.
79166         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
79168 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
79170         * manual/install.texi (--with-headers): Describe headers as
79171         interface headers, not private headers.
79172         (Specific advice for GNU/Linux systems): Describe use of headers
79173         from "make headers_install", not private headers from older
79174         kernels.
79175         * INSTALL: Regenerated.
79176         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
79177         Change to 2.6.19.
79178         * sysdeps/unix/sysv/linux/configure: Regenerated.
79180         * manual/llio.texi (fclean): Remove documentation.
79182         * manual/Makefile (libc-texi-generated): New variable.  Include
79183         version.texi.
79184         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
79185         $(libc-texi-generated), not duplicated list of files.
79186         (version.texi, stamp-version): New rules.
79187         (realclean): Remove $(libc-texi-generated), not individual files
79188         from that list.  Do not remove dir-add.texinfo.
79189         * manual/libc.texinfo: Comment out uses of edition numbers and
79190         references to printed manual.  Remove last-updated dates.
79191         (EDITION): Comment out.
79192         (ISBN): Likewise.
79193         (VERSION, UPDATED): Remove.
79194         (version.texi): Include.
79196 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
79198         * sysdeps/posix/spawni.c: Include <signal.h>.
79199         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
79200         * sysdeps/pthread/aio_fsync.c: Likewise.
79202 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
79204         * conform/Makefile (tests): Run only when not cross-compiling and
79205         when fast-check is not defined.
79207         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
79208         * conform/data/limits.h-data: Fixes for POSIX2008.
79209         * conform/run-conformtest.sh: Run all tests.
79210         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
79211         headers.
79212         * include/bits/dlfcn.h: Likewise.
79213         * include/langinfo.h: Likewise.
79214         * include/monetary.h: Likewise.
79215         * include/sys/poll.h: Likewise.
79217         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
79218         for __USE_GNU.
79219         * posix/spawn.h: Define __need_sigset_t.
79220         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
79221         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
79222         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
79223         to get sigevent_t only.
79224         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
79225         only for __USE_GNU.
79226         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79227         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
79228         process_vm_writev only for __USE_GNU.
79229         * termios/termios.h: Declare tcgetsid also for POSIX2008.
79231         * conform/Makefile: For now ignore errors from run-conformtest.
79232         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
79233         POSIX to avoid namespace pollution.  Don't prepend headers.
79234         * conform/data/aio.h-data: Fixes for POSIX testing.
79235         * conform/data/fcntl.h-data: Likewise.
79236         * conform/data/glob.h-data: Likewise.
79237         * conform/data/grp.h-data: Likewise.
79238         * conform/data/pthread.h-data: Likewise.
79239         * conform/data/pwd.h-data: Likewise.
79240         * conform/data/signal.h-data: Likewise.
79241         * conform/data/spawn.h-data: Likewise.
79242         * conform/data/stdio.h-data: Likewise.
79243         * conform/data/stdlib.h-data: Likewise.
79244         * conform/data/stropts.h-data: Likewise.
79245         * conform/data/sys/mman.h-data: Likewise.
79246         * conform/data/sys/stat.h-data: Likewise.
79247         * conform/data/sys/types.h-data: Likewise.
79248         * conform/data/sys/wait.h-data: Likewise.
79249         * conform/data/time.h-data: Likewise.
79250         * conform/data/unistd.h-data: Likewise.
79251         * conform/data/utime.h-data: Likewise.
79253         * io/sys/stat.h: fchmod was always in POSIX.
79254         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
79255         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
79256         * rt/aio.h: Define __need_timespec before including <time.h>.
79257         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
79258         struct.  Add forward declaration of pthread_attr_t and use it in
79259         sigevent.
79260         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
79261         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
79262         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
79263         always remove CLK_TCK definition.
79265 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
79267         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
79269 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
79271         * conform/run-conformtest.sh: New file.
79272         * conform/Makefile: Run run-conformtest for tests.
79273         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
79274         support.
79276         * conform/data/uchar.h-data: New file.
79277         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
79278         * conform/data/arpa/inet.h-data: Likewise.
79279         * conform/data/assert.h-data: Likewise.
79280         * conform/data/complex.h-data: Likewise.
79281         * conform/data/cpio.h-data: Likewise.
79282         * conform/data/ctype.h-data: Likewise.
79283         * conform/data/dirent.h-data: Likewise.
79284         * conform/data/dlfcn.h-data: Likewise.
79285         * conform/data/errno.h-data: Likewise.
79286         * conform/data/fcntl.h-data: Likewise.
79287         * conform/data/float.h-data: Likewise.
79288         * conform/data/fmtmsg.h-data: Likewise.
79289         * conform/data/fnmatch.h-data: Likewise.
79290         * conform/data/ftw.h-data: Likewise.
79291         * conform/data/glob.h-data: Likewise.
79292         * conform/data/grp.h-data: Likewise.
79293         * conform/data/iconv.h-data: Likewise.
79294         * conform/data/inttypes.h-data: Likewise.
79295         * conform/data/langinfo.h-data: Likewise.
79296         * conform/data/libgen.h-data: Likewise.
79297         * conform/data/limits.h-data: Likewise.
79298         * conform/data/locale.h-data: Likewise.
79299         * conform/data/math.h-data: Likewise.
79300         * conform/data/monetary.h-data: Likewise.
79301         * conform/data/mqueue.h-data: Likewise.
79302         * conform/data/ndbm.h-data: Likewise.
79303         * conform/data/net/if.h-data: Likewise.
79304         * conform/data/netdb.h-data: Likewise.
79305         * conform/data/netinet/in.h-data: Likewise.
79306         * conform/data/nl_types.h-data: Likewise.
79307         * conform/data/poll.h-data: Likewise.
79308         * conform/data/pthread.h-data: Likewise.
79309         * conform/data/pwd.h-data: Likewise.
79310         * conform/data/regex.h-data: Likewise.
79311         * conform/data/sched.h-data: Likewise.
79312         * conform/data/search.h-data: Likewise.
79313         * conform/data/semaphore.h-data: Likewise.
79314         * conform/data/setjmp.h-data: Likewise.
79315         * conform/data/signal.h-data: Likewise.
79316         * conform/data/spawn.h-data: Likewise.
79317         * conform/data/stdarg.h-data: Likewise.
79318         * conform/data/stdio.h-data: Likewise.
79319         * conform/data/stdlib.h-data: Likewise.
79320         * conform/data/string.h-data: Likewise.
79321         * conform/data/strings.h-data: Likewise.
79322         * conform/data/stropts.h-data: Likewise.
79323         * conform/data/sys/ipc.h-data: Likewise.
79324         * conform/data/sys/mman.h-data: Likewise.
79325         * conform/data/sys/msg.h-data: Likewise.
79326         * conform/data/sys/resource.h-data: Likewise.
79327         * conform/data/sys/select.h-data: Likewise.
79328         * conform/data/sys/sem.h-data: Likewise.
79329         * conform/data/sys/shm.h-data: Likewise.
79330         * conform/data/sys/socket.h-data: Likewise.
79331         * conform/data/sys/stat.h-data: Likewise.
79332         * conform/data/sys/statvfs.h-data: Likewise.
79333         * conform/data/sys/time.h-data: Likewise.
79334         * conform/data/sys/timeb.h-data: Likewise.
79335         * conform/data/sys/times.h-data: Likewise.
79336         * conform/data/sys/types.h-data: Likewise.
79337         * conform/data/sys/uio.h-data: Likewise.
79338         * conform/data/sys/un.h-data: Likewise.
79339         * conform/data/sys/utsname.h-data: Likewise.
79340         * conform/data/sys/wait.h-data: Likewise.
79341         * conform/data/syslog.h-data: Likewise.
79342         * conform/data/tar.h-data: Likewise.
79343         * conform/data/termios.h-data: Likewise.
79344         * conform/data/utime.h-data: Likewise.
79345         * conform/data/utmpx.h-data: Likewise.
79346         * conform/data/varargs.h-data: Likewise.
79347         * conform/data/wchar.h-data: Likewise.
79348         * conform/data/wctype.h-data: Likewise.
79349         * conform/data/wordexp.h-data: Likewise.
79351         * include/stropts.h: New file.
79352         * include/uchar.h: New file.
79353         * include/aio.h: Changes to allow conformtest.pl to use the headers.
79354         * include/assert.h: Likewise.
79355         * include/ctype.h: Likewise.
79356         * include/dirent.h: Likewise.
79357         * include/dlfcn.h: Likewise.
79358         * include/fcntl.h: Likewise.
79359         * include/fnmatch.h: Likewise.
79360         * include/glob.h: Likewise.
79361         * include/grp.h: Likewise.
79362         * include/libio.h: Likewise.
79363         * include/locale.h: Likewise.
79364         * include/math.h: Likewise.
79365         * include/net/if.h: Likewise.
79366         * include/netdb.h: Likewise.
79367         * include/netinet/in.h: Likewise.
79368         * include/pthread.h: Likewise.
79369         * include/pwd.h: Likewise.
79370         * include/regex.h: Likewise.
79371         * include/sched.h: Likewise.
79372         * include/search.h: Likewise.
79373         * include/setjmp.h: Likewise.
79374         * include/signal.h: Likewise.
79375         * include/stdio.h: Likewise.
79376         * include/stdlib.h: Likewise.
79377         * include/string.h: Likewise.
79378         * include/sys/cdefs.h: Likewise.
79379         * include/sys/mman.h: Likewise.
79380         * include/sys/msg.h: Likewise.
79381         * include/sys/resource.h: Likewise.
79382         * include/sys/select.h: Likewise.
79383         * include/sys/socket.h: Likewise.
79384         * include/sys/stat.h: Likewise.
79385         * include/sys/statvfs.h: Likewise.
79386         * include/sys/time.h: Likewise.
79387         * include/sys/times.h: Likewise.
79388         * include/sys/uio.h: Likewise.
79389         * include/sys/utsname.h: Likewise.
79390         * include/sys/wait.h: Likewise.
79391         * include/termios.h: Likewise.
79392         * include/time.h: Likewise.
79393         * include/ulimit.h: Likewise.
79394         * include/unistd.h: Likewise.
79395         * include/utime.h: Likewise.
79396         * include/wchar.h: Likewise.
79397         * include/wctype.h: Likewise.
79398         * include/wordexp.h: Likewise.
79400         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
79402         * time/time.h: TIME_UTC must be a macro.
79403         Make timespec_get available for ISO C11 only as well.
79405 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
79407         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
79408         Reported by Peng Haitao <penght@cn.fujitsu.com>.
79410 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
79412         * configure.in: Use -o not -a in test for unsupported multi-arch.
79414 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
79416         * manual/texinfo.tex: Update to version 2012-01-19.16.
79418 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
79420         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
79422 2012-02-24  Roland McGrath  <roland@hack.frob.com>
79424         [BZ #13738]
79425         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
79426         * manual/fdl-1.3.texi: New file.
79427         * manual/fdl-1.1.texi: File removed.
79429         [BZ #13738]
79430         * manual/libc.texinfo (FDL_VERSION): New @set.
79431         Use it for mention of FDL in cover text.
79432         (Documentation License): Use it in @include file name.
79434 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79435             Roland McGrath  <roland@hack.frob.com>
79437         [BZ #5461]
79438         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
79439         (not LONG_LONG_MAX and LONG_LONG_MIN.
79440         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
79441         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
79442         name.
79443         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
79445 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79447         [BZ #2547]
79448         [BZ #11365]
79449         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
79450         manipulate bits before adding and subtracting TWO23[sx].
79451         * math/libm-test.inc (nearbyint_test): Add more tests.
79453 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79455         [BZ #2548]
79456         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
79457         bits before adding and subtracting TWO23[sx].
79458         * math/libm-test.inc (rint_test): Add more tests.
79459         (rint_test_tonearest): Likewise.
79460         (rint_test_towardzero): Likewise.
79461         (rint_test_downward): Likewise.
79462         (rint_test_upward: Likewise.
79464 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79466         [BZ #10110]
79467         * include/stdc-predef.h: New file.  Extracted from features.h.
79468         * include/features.h: Include stdc-predef.h.
79469         * Makefile (headers): Add stdc-predef.h.
79470         * CONFORMANCE (Compiler limitations): Update.
79472 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79474         * manual/libc.texinfo (VERSION, UPDATED): Revert.
79476 2012-02-21  David S. Miller  <davem@davemloft.net>
79478         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
79479         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
79481 2012-02-20  David S. Miller  <davem@davemloft.net>
79483         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
79484         using a normal save/restore sequence, rather than allocating a
79485         dummy stack frame just to store a frame pointer and restore.
79486         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
79488 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
79490         * manual/install.texi: Fix stray word in line-wrapped comment.
79492 2012-02-20  David S. Miller  <davem@davemloft.net>
79494         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
79495         both binutils and gcc support GOTDATA.
79497         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
79498         "rd %pc" in the PIC register setup sequences.
79500         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
79501         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
79502         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
79503         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
79504         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
79505         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
79506         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
79507         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
79508         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
79509         (SYSCALL_ERROR_HANDLER): Likewise.
79510         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
79511         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
79512         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
79513         (SYSCALL_ERROR_HANDLER): Likewise.
79515         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
79516         (HAVE_GCC_GOTDATA): New.
79517         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
79518         relocation support in both binutils and gcc.
79519         * sysdeps/sparc/elf/configure: Regenerate.
79521         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
79522         * sysdeps/sparc/sparc32/elf/configure: Delete.
79523         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
79524         * sysdeps/sparc/sparc64/elf/configure: Delete.
79525         * sysdeps/sparc/elf/configure.in: New file.
79526         * sysdeps/sparc/elf/configure: Generate.
79528         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
79529         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
79530         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
79531         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
79532         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
79534 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
79536         * manual/install.texi: Do not mention specific glibc version
79537         numbers.
79538         * manual/libc.texinfo (VERSION, UPDATED): Update.
79539         (@copying): Use @copyright{} and range of years.
79541 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
79543         [BZ #13695]
79544         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
79545         [crti.S not in sysdirs] (generated): Do not append.
79546         [crti.S not in sysdirs] (omit-deps): Likewise.
79547         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
79548         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
79549         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
79550         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
79551         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
79552         Likewise.
79553         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
79554         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
79555         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
79556         * csu/defs.awk: Remove file.
79557         * sysdeps/generic/initfini.c: Likewise.
79558         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
79559         variable.
79560         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
79561         Likewise.
79563 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
79565         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
79566         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
79567         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
79568         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
79569         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79570         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
79571         <bits/epoll.h>.
79572         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
79573         (__EPOLL_PACKED): Define to empty if not defined by
79574         <bits/epoll.h>.
79575         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
79576         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79577         bits/epoll.h.
79579 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
79581         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
79582         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
79583         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
79584         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
79585         <bits/timerfd.h>.
79586         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
79587         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79588         bits/timerfd.h.
79590 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
79592         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
79593         in C locale.
79594         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
79595         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
79596         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
79597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79599 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
79601         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79602         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
79604 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
79606         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
79607         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
79608         defined.
79609         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
79610         Likewise.
79611         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
79612         entry for 2.16.
79614 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
79616         * math/w_acos.c: Use non-signaling floating-point comparisons.
79617         * math/w_acosf.c: Likewise.
79618         * math/w_acosh.c: Likewise.
79619         * math/w_acoshf.c: Likewise.
79620         * math/w_acoshl.c: Likewise.
79621         * math/w_acosl.c: Likewise.
79622         * math/w_asin.c: Likewise.
79623         * math/w_asinf.c: Likewise.
79624         * math/w_asinl.c: Likewise.
79625         * math/w_atanh.c: Likewise.
79626         * math/w_atanhf.c: Likewise.
79627         * math/w_atanhl.c: Likewise.
79628         * math/w_exp2.c: Likewise.
79629         * math/w_exp2f.c: Likewise.
79630         * math/w_exp2l.c: Likewise.
79631         * math/w_j0.c: Likewise.
79632         * math/w_j0f.c: Likewise.
79633         * math/w_j0l.c: Likewise.
79634         * math/w_j1.c: Likewise.
79635         * math/w_j1f.c: Likewise.
79636         * math/w_j1l.c: Likewise.
79637         * math/w_jn.c: Likewise.
79638         * math/w_jnf.c: Likewise.
79639         * math/w_log.c: Likewise.
79640         * math/w_log10.c: Likewise.
79641         * math/w_log10f.c: Likewise.
79642         * math/w_log10l.c: Likewise.
79643         * math/w_log2.c: Likewise.
79644         * math/w_log2f.c: Likewise.
79645         * math/w_log2l.c: Likewise.
79646         * math/w_logf.c: Likewise.
79647         * math/w_logl.c: Likewise.
79648         * math/w_sqrt.c: Likewise.
79649         * math/w_sqrtf.c: Likewise.
79650         * math/w_sqrtl.c: Likewise.
79651         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
79652         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
79653         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79654         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
79655         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
79657 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
79659         [BZ #9739]
79660         * manual/string.texi (strnlen): Use correct parameter name in
79661         equivalent expression.
79663 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
79665         [BZ #11174]
79666         * manual/users.texi (seteuid): Consistently use neweuid for
79667         argument name.
79669 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
79671         [BZ #13704]
79672         * manual/nss.texi (Services in the NSS configuration): Correct
79673         list of services in example configuration file.
79675 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
79677         [BZ #11322]
79678         * manual/arith.texi: Remove statements about negative zero
79679         behaving identically to zero.
79681 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
79683         [BZ #5993]
79684         * manual/install.texi: Do not document upgrading from libc5.
79686 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
79688         [BZ #4596]
79689         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
79691 2012-02-18  David S. Miller  <davem@davemloft.net>
79693         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
79694         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
79695         %o7 across the call.
79696         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
79697         instead.
79698         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
79699         SETUP_PIC_REG_LEAF.
79700         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79701         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
79702         * sysdeps/sparc/crtn.S: Likewise.
79704 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
79706         * aout/Makefile: Remove.
79708 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
79710         [BZ #13058]
79711         * manual/examples/argp-ex1.c (main): Format definition in GNU
79712         style.
79713         * manual/examples/argp-ex2.c (main): Likewise.
79714         * manual/examples/argp-ex3.c (main): Likewise.
79715         * manual/examples/argp-ex4.c (main): Likewise.
79716         * manual/examples/longopt.c (main): Use new-style prototype
79717         definition.
79718         * manual/examples/strncat.c (main): Specify return type and use
79719         (void) for arguments.
79720         * manual/examples/subopt.c (main): Use char **argv argument.
79722 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79724         [BZ #5077]
79725         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
79726         rounding modes.
79728 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
79730         [BZ #6907]
79731         * manual/string.texi (strchr): Change when strchrnul is
79732         recommended.
79734 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
79736         [BZ #174]
79737         * manual/locale.texi (setlocale): Document LOCPATH.
79739 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79741         [BZ #10210]
79742         * manual/process.texi (execle): Move @dots{} before last argument.
79744 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
79746         [BZ #12047]
79747         * manual/charset.texi (Generic Charset Conversion): Fix typo
79748         (LC_TYPE -> LC_CTYPE).
79750 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
79752         [BZ #5805]
79753         * manual/arith.texi (scalbn): Use @var{} on parameter names.
79754         (scalbnf): Likewise.
79755         (scalbnl): Likewise.
79756         (scalbln): Likewise.
79757         (scalblnf): Likewise.
79758         (scalblnl): Likewise.
79759         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
79760         (vwarnx): Likewise.
79761         (verr): Likewise.
79762         (verrx): Likewise.
79763         * manual/filesys.texi (telldir): Use braces around return type.
79764         * manual/llio.texi (mmap): Add space after comma.
79765         (mmap64): Likewise.
79766         * manual/math.texi (jn): Use @var{} on parameter names.
79767         (jnf): Likewise.
79768         (jnl): Likewise.
79769         (yn): Likewise.
79770         (ynf): Likewise.
79771         (ynl): Likewise.
79772         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
79773         line.
79774         * manual/resource.texi (ulimit): Use @dots{} instead of literal
79775         "...".
79776         (sched_get_priority_min): Remove semicolon on @deftypefun line.
79777         (sched_get_priority_max): Likewise.
79778         * manual/signal.texi (sigvec): Add space after comma.
79779         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
79780         names.
79781         (if_indextoname): Likewise.
79782         (if_freenameindex): Likewise.
79783         (sendto): Use ',' instead of '.' in prototype.
79784         * manual/startup.texi (syscall): Use @dots{} instead of literal
79785         "...".
79786         * manual/stdio.texi (__fpending): Separate initial words of
79787         paragraph from @deftypefun line.
79788         * manual/syslog.texi (syslog): Use @dots{} instead of literal
79789         "...".
79790         (vsyslog): Use @var{} on parameter names.
79791         * manual/terminal.texi (stty): Use @var{} on parameter names.
79792         * manual/users.texi (getutmp): Use @var{} on parameter names.
79793         (getutmpx): Likewise.
79795 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79797         [BZ #6884]
79798         * manual/stdio.texi (fopen): Fix typos in description of
79799         ",ccs=STRING".
79801 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
79803         [BZ #4026]
79804         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
79805         get clock_id definition.
79807 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
79809         [BZ #4822]
79810         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
79811         (madvise): Cast every argument to void on its own.
79813 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79815         [BZ #9902]
79816         * manual/startup.texi (Exit Status): Fix typo.
79818 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79820         [BZ #10140]
79821         * manual/examples/argp-ex1.c: Include <stdlib.h>.
79822         * manual/examples/argp-ex2.c: Likewise.
79823         * manual/examples/argp-ex3.c: Likewise.
79825 2012-02-16  Richard Henderson  <rth@redhat.com>
79827         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
79828         * sysdeps/s390/s390-32/initfini.c: Remove.
79829         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
79830         * sysdeps/s390/s390-64/initfini.c: Remove.
79832 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
79834         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
79835         compiler output for sysdeps/generic/initfini.c.
79836         * sysdeps/sh/elf/initfini.c: Remove file.
79838 2012-02-16  David S. Miller  <davem@davemloft.net>
79840         [BZ #11494]
79841         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
79843         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
79844         * sysdeps/sparc/crti.S: New file.
79845         * sysdeps/sparc/crtn.S: New file.
79846         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
79847         * sysdeps/sparc/sparc64/Makefile: Likewise.
79849 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
79851         [BZ #3335]
79852         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
79854 2012-02-15  Roland McGrath  <roland@hack.frob.com>
79856         [BZ #4822]
79857         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
79859         * mach/devstream.c (cookie_io_functions_t): Macro removed.
79860         (write, read, close): Likewise.
79861         Patch by Aurelien Jarno <aurelien@aurel32.net>.
79863 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
79865         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
79866         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
79867         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
79868         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
79869         <bits/signalfd.h>.
79870         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
79871         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79872         bits/signalfd.h.
79874 2012-02-14  Marek Polacek  <polacek@redhat.com>
79876         * sysdeps/x86_64/crti.S: New file.
79877         * sysdeps/x86_64/crtn.S: New file.
79878         * sysdeps/x86_64/elf/initfini.c: Remove file.
79880 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
79882         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
79883         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
79884         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
79885         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
79886         <bits/inotify.h>.
79887         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
79888         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79889         bits/inotify.h.
79891 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
79893         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
79894         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
79895         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
79896         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
79897         <bits/eventfd.h>.
79898         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
79899         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79900         bits/eventfd.h.
79902 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
79904         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
79905         __feraiseexcept instead of feraiseexcept.
79907         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
79908         nanosleep invocations.
79909         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
79910         strings, and add error checking for a nanosleep invocations.
79912 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
79914         Replace FSF snail mail address with URLs, as per GNU coding standards.
79915         Most of the snail mail addresses were wrong anyway, and omitting
79916         them makes the source code easier to maintain.  Almost all of the
79917         changes are to license notices and to locale LC_IDENTIFICATION
79918         addresses, except for this one:
79919         * manual/libc.texinfo: In "Published by", give the FSF's URL,
79920         not its snail mail address.
79922 2012-02-09  Richard Henderson  <rth@twiddle.net>
79924         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
79925         of kernel-features.h.
79927         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
79929 2012-02-08  Marek Polacek  <polacek@redhat.com>
79931         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
79932         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
79933         * sysdeps/gnu/_G_config.h: Likewise.
79934         * sysdeps/generic/_G_config.h: Likewise.
79936 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
79938         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
79939         tests.
79940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79942         * sysdeps/powerpc/powerpc32/crti.S: New file.
79943         * sysdeps/powerpc/powerpc32/crtn.S: New file.
79944         * sysdeps/powerpc/powerpc64/crti.S: New file.
79945         * sysdeps/powerpc/powerpc64/crtn.S: New file.
79947         * Makeconfig (have-initfini): Don't set.
79948         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
79949         * configure.in (nopic_initfini): Don't substitute.
79950         * config.h.in (HAVE_INITFINI): Don't #undef.
79951         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
79952         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
79954 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
79956         Support crti.S and crtn.S provided directly by architectures.
79957         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
79958         [crti.S in sysdirs] (omit-deps): Likewise.
79959         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
79960         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
79961         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
79962         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
79963         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
79964         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
79965         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
79966         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
79967         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
79968         compiler output for sysdeps/generic/initfini.c.
79969         * sysdeps/i386/elf/Makefile: Remove file.
79970         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
79972 2012-02-07  Marek Polacek  <polacek@redhat.com>
79974         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
79975         * sysdeps/gnu/_G_config.h: Likewise.
79976         * sysdeps/mach/hurd/_G_config.h: Likewise.
79978 2012-02-07  Marek Polacek  <polacek@redhat.com>
79980         * math/Makefile (tests): Add tst-CMPLX2.
79981         * math/tst-CMPLX2.c: New file.
79983 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
79985         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79987         * math/libm-test.inc (jn_test): Add missing L suffix.
79989 2012-02-06  Marek Polacek  <polacek@redhat.com>
79991         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
79992         * sysdeps/i386/fpu/e_powf.S: Likewise.
79993         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
79994         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
79995         * sysdeps/i386/fpu/e_acosh.S: Likewise.
79996         * sysdeps/i386/fpu/e_pow.S: Likewise.
79997         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
79998         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
79999         * sysdeps/i386/fpu/s_expm1.S: Likewise.
80000         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
80001         * sysdeps/i386/fpu/e_log2.S: Likewise.
80002         * sysdeps/i386/fpu/e_log2l.S: Likewise.
80003         * sysdeps/i386/fpu/e_scalb.S: Likewise.
80004         * sysdeps/i386/fpu/e_powl.S: Likewise.
80005         * sysdeps/i386/fpu/s_log1p.S: Likewise.
80006         * sysdeps/i386/fpu/e_log10f.S: Likewise.
80007         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
80008         * sysdeps/i386/fpu/e_logl.S: Likewise.
80009         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
80010         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
80011         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
80012         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
80013         * sysdeps/i386/fpu/e_log2f.S: Likewise.
80014         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
80015         * sysdeps/i386/fpu/e_log.S: Likewise.
80016         * sysdeps/i386/fpu/s_cexp.S: Likewise.
80017         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
80018         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
80019         * sysdeps/i386/fpu/e_logf.S: Likewise.
80020         * sysdeps/i386/fpu/e_log10l.S: Likewise.
80021         * sysdeps/i386/fpu/e_atanh.S: Likewise.
80022         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
80023         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
80024         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
80025         * sysdeps/i386/fpu/e_log10.S: Likewise.
80026         * sysdeps/i386/fpu/s_frexp.S: Likewise.
80027         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
80028         * sysdeps/i386/fpu/s_asinh.S: Likewise.
80029         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
80030         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
80031         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
80032         * sysdeps/i386/asm-syntax.h: Likewise.
80033         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
80034         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80035         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
80036         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
80037         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
80038         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
80039         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
80040         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
80041         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
80042         * sysdeps/powerpc/sysdep.h: Likewise.
80043         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
80044         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
80046 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
80048         [BZ #411]
80049         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
80051 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
80053         * sysdeps/i386/sysdep.h: Include <features.h>.
80054         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
80055         version.
80057 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
80059         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
80060         Define.
80061         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
80062         LOAD_PIC_REG_STR.
80064 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
80066         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
80067         (SETUP_PIC_REG): Use GET_PC_THUNK.
80068         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
80069         macro.
80071 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
80073         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
80074         for non-PIC compilation.
80075         (SETUP_PIC_REG): Add .p2align directive.
80076         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
80077         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
80078         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
80079         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
80080         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
80081         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
80082         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
80083         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
80084         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
80085         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
80086         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
80087         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
80088         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
80089         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
80090         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
80091         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
80092         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
80093         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
80094         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
80095         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
80096         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
80097         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
80098         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
80099         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
80100         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
80101         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
80102         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
80103         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
80104         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
80105         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
80106         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
80107         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
80108         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
80109         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
80110         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
80111         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
80112         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
80113         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
80114         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
80115         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
80116         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
80118 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
80120         * math/tst-CMPLX.c: Include <stdio.h>.
80122 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
80124         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
80125         float.
80126         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
80127         * sysdeps/sparc/bits/mathdef.h: Likewise.
80129 2012-01-31  Marek Polacek  <polacek@redhat.com>
80131         * libio/libio.h: Don't define _PARAMS.
80132         * locale/programs/config.h: Don't define PARAMS.
80133         * stdlib/strtol_l.c: Likewise.
80134         (__strtol_l): Remove PARAMS from the prototype.
80136 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
80138         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
80139         names.  Just use the correct names.  Remove unnecessary wrapper
80140         functions.
80141         * malloc/arena.c: Likewise.
80142         * malloc/hooks.c: Likewise.
80144         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
80145         ARENA_TEST says not to.  Simplify test for creation of a new arena.
80146         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
80148 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
80150         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
80151         into tail calls.
80152         (update_get_addr): New function.
80153         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
80154         GET_ADDR_MODULE parameter.
80156 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
80158         * crypt/cert.c: Remove __STDC__ conditionals.
80159         * crypt/crypt-entry.c: Likewise.
80160         * crypt/crypt_util.c: Likewise.
80161         * libio/filedoalloc.c: Likewise.
80162         * libio/fileops.c: Likewise.
80163         * libio/genops.c: Likewise.
80164         * libio/iofclose.c: Likewise.
80165         * libio/iofdopen.c: Likewise.
80166         * libio/iofopen.c: Likewise.
80167         * libio/iofopen64.c: Likewise.
80168         * libio/iogetdelim.c: Likewise.
80169         * libio/iopopen.c: Likewise.
80170         * libio/obprintf.c: Likewise.
80171         * libio/oldfileops.c: Likewise.
80172         * libio/oldiofclose.c: Likewise.
80173         * libio/oldiofdopen.c: Likewise.
80174         * libio/oldiofopen.c: Likewise.
80175         * libio/oldiopopen.c: Likewise.
80176         * libio/wfiledoalloc.c: Likewise.
80177         * libio/wgenops.c: Likewise.
80178         * locale/programs/xmalloc.c: Likewise.
80179         * misc/syslog.c: Likewise.
80180         * stdio-common/xbug.c: Likewise.
80181         * string/memchr.c: Likewise.
80182         * string/memcmp.c: Likewise.
80183         * string/memrchr.c: Likewise.
80184         * string/rawmemchr.c: Likewise.
80185         * sysdeps/posix/getcwd.c: Likewise.
80186         * time/strftime_l.c: Likewise.
80188 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
80190         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
80191         * config.make.in (config-cflags-sse2avx): Define.
80192         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
80193         Fix typo.
80195 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
80197         * scripts/config.guess: Update from upstream config git repository.
80198         * scripts/config.sub: Likewise.
80200 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
80202         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
80203         (EM_NUM): Update.
80204         (R_TILEPRO_*, R_TILEGX_*): New macros.
80206         * scripts/firstversions.awk: Fix bug in version range handling.
80208         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
80210         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
80212         * include/sys/epoll.h: New file.
80213         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
80214         libc_hidden_def.
80216 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
80218         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
80219         Avoid unnecessary __WORDSIZE == 64 test.
80220         (fmaxf): Use VEX format if possible.
80221         (fmax): Likewise.
80222         (fminf): Likewise.
80223         (fmin): Likewise.
80225         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
80226         * math/math_private.h: Remove libc_fegetround* and
80227         libc_fesetround*.
80228         * sysdeps/i386/configure.in: Check for -msse2avx.
80229         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
80230         also if SSE2AVX is defined.
80231         Remove libc_fegetround* and libc_fesetround*.
80232         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
80233         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
80234         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
80235         of HAS_YMM_USABLE.
80236         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
80237         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
80238         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
80239         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
80240         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
80242         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
80244 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80246         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
80247         size is not set.
80248         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
80250 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
80252         [BZ #13618]
80253         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
80254         relocation.
80255         * Makeconfig (libm): Define.
80256         * elf/Makefile: Add rules to build and run tst-relsort1.
80257         * elf/tst-relsort1.c: New file.
80258         * elf/tst-relsort1mod1.c: New file.
80259         * elf/tst-relsort1mod2.c: New file.
80261 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
80263         * math/s_ldexp.c: Remove __STDC__ conditionals.
80264         * math/s_ldexpf.c: Likewise.
80265         * math/s_ldexpl.c: Likewise.
80266         * math/s_nextafter.c: Likewise.
80267         * math/s_nexttowardf.c: Likewise.
80268         * math/s_significand.c: Likewise.
80269         * math/s_significandf.c: Likewise.
80270         * math/s_significandl.c: Likewise.
80271         * math/w_jnl.c: Likewise.
80272         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
80273         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
80274         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
80275         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
80276         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
80277         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
80278         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
80279         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
80280         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
80281         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
80282         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
80283         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80284         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
80285         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
80286         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
80287         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
80288         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
80289         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
80290         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
80291         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80292         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80293         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
80294         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
80295         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
80296         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
80297         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
80298         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
80299         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
80300         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
80301         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
80302         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
80303         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
80304         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
80305         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
80306         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
80307         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
80308         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
80309         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
80310         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
80311         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
80312         * sysdeps/ieee754/k_standard.c: Likewise.
80313         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80314         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
80315         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
80316         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
80317         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
80318         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
80319         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
80320         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
80321         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
80322         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
80323         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
80324         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
80325         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
80326         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
80327         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
80328         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
80329         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
80330         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
80331         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
80332         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
80333         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
80334         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
80335         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
80336         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
80337         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
80338         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
80339         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80340         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80341         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80342         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
80343         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
80344         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
80345         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
80346         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
80347         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
80348         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
80349         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
80350         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
80351         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
80352         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
80353         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
80354         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
80355         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
80356         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
80357         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
80358         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
80359         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
80360         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
80361         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
80362         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
80363         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
80364         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
80365         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
80366         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
80367         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
80368         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
80369         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
80370         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80371         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80372         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80373         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
80374         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
80375         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
80376         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
80377         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
80378         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
80379         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
80380         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
80381         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
80382         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
80383         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
80384         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
80385         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
80386         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
80387         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
80388         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
80389         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
80390         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
80391         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
80392         * sysdeps/ieee754/s_matherr.c: Likewise.
80393         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
80394         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
80395         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
80396         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
80398 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
80400         * crypt/md5.h: Remove __STDC__ conditionals.
80401         * libio/libioP.h: Likewise.
80402         * locale/programs/config.h: Likewise.
80403         * sysdeps/generic/sysdep.h: Likewise.
80404         * sysdeps/i386/asm-syntax.h: Likewise.
80405         * sysdeps/s390/asm-syntax.h: Likewise.
80406         * sysdeps/unix/sysdep.h: Likewise.
80407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
80408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
80410 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
80412         * libio/libio.h: Remove __STDC__ conditionals.
80413         * malloc/obstack.h: Likewise.
80414         * math/complex.h: Likewise.
80415         * math/math.h: Likewise.
80416         * sysdeps/generic/_G_config.h: Likewise.
80417         * sysdeps/gnu/_G_config.h: Likewise.
80418         * sysdeps/mach/hurd/_G_config.h: Likewise.
80419         * sysdeps/powerpc/bits/mathdef.h: Likewise.
80420         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
80421         * sysdeps/sparc/bits/mathdef.h: Likewise.
80423 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
80425         [BZ #13583]
80426         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
80427         Clean up HAS_* macros.
80428         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
80429         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
80430         possible.
80431         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
80432         HAS_AVX.
80433         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
80434         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
80435         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
80436         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
80437         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
80439 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
80441         * elf/tst-unique3.cc (gets): Remove declaration.
80442         * elf/tst-unique3lib.cc (gets): Likewise.
80443         * elf/tst-unique3lib2.cc (gets): Likewise.
80444         * elf/tst-unique4.cc (gets): Likewise.
80446 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
80448         * include/stdio.h: Add C++ protection.  Add gets declarations and
80449         definitions.
80450         * debug/tst-chk1.c: Don't declare gets here.
80451         * stdio-common/tst-gets.c: Likewise.
80453 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
80455         * posix/glob: Remove directory.
80457 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
80459         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
80461 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
80463         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
80464         of the non-standard EPFNOSUPPORT.
80466 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80468         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
80469         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
80470         ANYWHERE set to 1 only on KERN_NO_SPACE error.
80472 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
80474         * wcsmbs/uchar.h: Test __STDC_VERSION__.
80476 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
80478         * nscd/aicache.c (addhstaiX): Do not cache negative results of
80479         transient errors.
80480         * nscd/grpcache.c (cache_addgr): Likewise.
80481         * nscd/hstcache.c (cache_addhst): Likewise.
80482         * nscd/initgrcache.c (addinitgroupsX): Likewise.
80483         * nscd/pwdcache.c (cache_addpw): Likewise.
80484         * nscd/servicescache.c (cache_addserv): Likewise.
80486 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
80488         * malloc/malloc.c: Various cleanups.
80489         * malloc/hooks.c: Likewise.
80491         * stdlib/Makefile (tests): Add bug-fmtmsg1.
80492         * stdlib/bug-fmtmsg1.c: New file.
80494         * stdlib/fmtmsg.c (init): Add missing unlock.
80495         Patch by Peng Haitao <penght@cn.fujitsu.com>.
80497 2012-01-12  Marek Polacek  <polacek@redhat.com>
80499         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
80500         and _GNU_SOURCE.
80502 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
80504         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
80505         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
80506         macro to ensure uniqueness of label name.
80507         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
80508         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
80510 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
80512         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
80514         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
80515         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
80516         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
80517         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
80519 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
80521         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
80523         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
80524         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
80525         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
80527         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
80529         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
80530         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
80531         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
80532         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
80534         * math/bits/math-finite.h: Add ldexp support.
80536 2012-01-10  Marek Polacek  <polacek@redhat.com>
80538         * locale/programs/localedef.h (show_archive_content): Add noreturn
80539         attribute.
80541 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
80543         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
80545 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
80547         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
80549         * io/Makefile (headers): Add bits/poll2.h.
80551 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
80553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
80554         typo #include statement.
80556 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
80558         * include/sys/cdefs.h: Define __attribute_alloc_size.
80559         * catgets/gencat.c: Add alloc_size attribute and apply consistently
80560         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
80561         * elf/pldd.c: Likewise.
80562         * iconv/iconv_charmap.c: Likewise.
80563         * iconv/iconvconfig.c: Likewise.
80564         * iconv/strtab.c: Likewise.
80565         * locale/programs/locale.c: Likewise.
80566         * locale/programs/localedef.h: Likewise.
80567         * locale/programs/simple-hash.c: Likewise.
80568         * nscd/nscd.h: Likewise.
80569         * nss/makedb.c: Likewise.
80570         * sysdeps/generic/ldconfig.h: Likewise.
80571         * locale/programs/localedef.c: Remove xmalloc prototype.
80572         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
80574 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
80576         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
80577         appropriate.
80579 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
80581         * math/Makefile (tests): Add tst-CMPLX.
80582         * math/tst-CMPLX.c: New file.
80584         * math/complex.h (CMPLXL): Fix typo.
80586         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
80587         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
80588         GLIBC_2.16.
80589         * debug/tst-chk1.c: Add poll and ppoll tests.
80590         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
80591         * include/sys/poll.h: Add hidden proto for ppoll.
80592         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
80593         * sysdeps/mach/hurd/ppoll.c: Likewise.
80594         * io/ppoll.c: Likewise.
80595         * debug/poll_chk.c: New file.
80596         * debug/ppoll_chk.c: New file.
80597         * include/bits/poll2.h: New file.
80598         * io/bits/poll2.h: New file.
80600         [BZ #1350]
80601         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
80603         * configure.in: static is always set to yes.  Remove.
80604         * config.make.in: Don't set build-static.
80605         * Makeconfig: Remove use of build-static.
80606         * dlfcn/Makefile: Likewise.
80607         * elf/Makefile: Likewise.
80608         * math/Makefile: Likewise.
80609         * misc/Makefile: Likewise.
80610         * nptl/Makefile: Likewise.
80611         * sysdeps/mach/hurd/Makefile: Likewise.
80613         * configure.in: PWD_P is not used anymore.
80614         * config.make.in: Remove PWD_P entry.
80616         * configure.in: Remove last remnants of RANLIB.
80617         No need to check for signed size_t anymore.
80618         Don't set libc_commonpagesize and libc_relro_required here for Alpha
80619         and IA-64.
80620         Remove __builtin_expect test because we require at least gcc 3.4.
80621         * aclocal.m4: Likewise.
80623         * wcsmbs/mbrtoc16.c: Implement using towc function.
80624         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
80625         * wcsmbs/wcsmbsload.c: Likewise.
80626         * iconv/gconv_simple.c: Likewise.
80627         * iconv/gconv_int.h: Likewise.
80628         * iconv/gconv_builtin.h: Likewise.
80629         * iconv/iconv_prog.c: Remove CHAR16 handling.
80631         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
80633         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
80635         * configure.in: Remove --with-elf and --enable-bounded options.
80636         Dont set base_machine for ia64.  More non-ELF conditions removed.
80637         Remove testing and setting of leading underscore information.
80638         * config.make.in (build-bounded): Set to no.
80639         * config.h.in: Remove NO_UNDERSCORES entry.
80640         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
80641         them.
80642         * csu/start.c: Remove !NO_UNDERSCORE code.
80643         * locale/localeinfo.h: Likewise.
80644         * sysdeps/generic/machine-gmon.h: Likewise.
80645         * sysdeps/generic/sysdep.h: Likewise.
80646         * sysdeps/i386/sysdep.h: Likewise.
80647         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
80648         * sysdeps/mach/sysdep.h: Likewise.
80649         * sysdeps/s390/s390-32/sysdep.h: Likewise.
80650         * sysdeps/s390/s390-64/sysdep.h: Likewise.
80651         * sysdeps/sh/sysdep.h: Likewise.
80652         * sysdeps/sparc/sparc32/alloca.S: Likewise.
80653         * sysdeps/unix/i386/sysdep.S: Likewise.
80654         * sysdeps/unix/sparc/start.c: Likewise.
80655         * sysdeps/unix/sparc/sysdep.S: Likewise.
80656         * sysdeps/unix/sparc/sysdep.h: Likewise.
80657         * sysdeps/unix/start.c: Likewise.
80658         * sysdeps/unix/x86_64/sysdep.S: Likewise.
80659         * sysdeps/x86_64/sysdep.h: Likewise.
80661 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
80663         [BZ #13553]
80664         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
80665         for non-gcc.
80666         * argp/argp-fmtstream.h: Use const instead __const.
80667         * argp/argp.h: Likewise.
80668         * assert/assert.h: Likewise.
80669         * bits/fenv.h: Likewise.
80670         * bits/sched.h: Likewise.
80671         * bits/sigset.h: Likewise.
80672         * bits/sigthread.h: Likewise.
80673         * catgets/nl_types.h: Likewise.
80674         * conform/data/pthread.h-data: Likewise.
80675         * crypt/crypt-private.h: Likewise.
80676         * crypt/crypt.h: Likewise.
80677         * crypt/crypt_util.c: Likewise.
80678         * ctype/ctype.h: Likewise.
80679         * debug/execinfo.h: Likewise.
80680         * debug/mbsnrtowcs_chk.c: Likewise.
80681         * debug/mbsrtowcs_chk.c: Likewise.
80682         * debug/wcsnrtombs_chk.c: Likewise.
80683         * debug/wcsrtombs_chk.c: Likewise.
80684         * debug/wcstombs_chk.c: Likewise.
80685         * dirent/dirent.h: Likewise.
80686         * dlfcn/dlfcn.h: Likewise.
80687         * elf/neededtest4.c: Likewise.
80688         * grp/grp.h: Likewise.
80689         * gshadow/gshadow.h: Likewise.
80690         * iconv/gconv.h: Likewise.
80691         * iconv/gconv_int.h: Likewise.
80692         * iconv/gconv_simple.c: Likewise.
80693         * iconv/iconv.h: Likewise.
80694         * iconv/loop.c: Likewise.
80695         * iconv/skeleton.c: Likewise.
80696         * include/aio.h: Likewise.
80697         * include/aliases.h: Likewise.
80698         * include/argz.h: Likewise.
80699         * include/arpa/inet.h: Likewise.
80700         * include/assert.h: Likewise.
80701         * include/dirent.h: Likewise.
80702         * include/dlfcn.h: Likewise.
80703         * include/execinfo.h: Likewise.
80704         * include/fcntl.h: Likewise.
80705         * include/fenv.h: Likewise.
80706         * include/glob.h: Likewise.
80707         * include/grp.h: Likewise.
80708         * include/libintl.h: Likewise.
80709         * include/mntent.h: Likewise.
80710         * include/netdb.h: Likewise.
80711         * include/pwd.h: Likewise.
80712         * include/rpc/netdb.h: Likewise.
80713         * include/sched.h: Likewise.
80714         * include/search.h: Likewise.
80715         * include/shadow.h: Likewise.
80716         * include/signal.h: Likewise.
80717         * include/stdio.h: Likewise.
80718         * include/stdlib.h: Likewise.
80719         * include/string.h: Likewise.
80720         * include/sys/socket.h: Likewise.
80721         * include/sys/stat.h: Likewise.
80722         * include/sys/statfs.h: Likewise.
80723         * include/sys/statvfs.h: Likewise.
80724         * include/sys/syslog.h: Likewise.
80725         * include/sys/time.h: Likewise.
80726         * include/sys/uio.h: Likewise.
80727         * include/time.h: Likewise.
80728         * include/unistd.h: Likewise.
80729         * include/utmp.h: Likewise.
80730         * include/wchar.h: Likewise.
80731         * include/wctype.h: Likewise.
80732         * inet/aliases.h: Likewise.
80733         * inet/arpa/inet.h: Likewise.
80734         * inet/netinet/ether.h: Likewise.
80735         * inet/netinet/in.h: Likewise.
80736         * intl/libintl.h: Likewise.
80737         * io/bits/fcntl2.h: Likewise.
80738         * io/fcntl.h: Likewise.
80739         * io/ftw.h: Likewise.
80740         * io/sys/poll.h: Likewise.
80741         * io/sys/stat.h: Likewise.
80742         * io/sys/statfs.h: Likewise.
80743         * io/sys/statvfs.h: Likewise.
80744         * io/utime.h: Likewise.
80745         * libio/bits/stdio.h: Likewise.
80746         * libio/bits/stdio2.h: Likewise.
80747         * libio/libio.h: Likewise.
80748         * libio/libioP.h: Likewise.
80749         * libio/stdio.h: Likewise.
80750         * locale/lc-ctype.c: Likewise.
80751         * locale/locale.h: Likewise.
80752         * login/utmp.h: Likewise.
80753         * malloc/arena.c: Likewise.
80754         * malloc/malloc.c: Likewise.
80755         * malloc/malloc.h: Likewise.
80756         * malloc/mcheck.c: Likewise.
80757         * malloc/mtrace.c: Likewise.
80758         * math/bits/mathcalls.h: Likewise.
80759         * math/fenv.h: Likewise.
80760         * math/math_private.h: Likewise.
80761         * misc/bits/error.h: Likewise.
80762         * misc/bits/syslog.h: Likewise.
80763         * misc/err.h: Likewise.
80764         * misc/error.h: Likewise.
80765         * misc/fstab.h: Likewise.
80766         * misc/mntent.h: Likewise.
80767         * misc/regexp.h: Likewise.
80768         * misc/search.h: Likewise.
80769         * misc/sgtty.h: Likewise.
80770         * misc/sys/mman.h: Likewise.
80771         * misc/sys/syslog.h: Likewise.
80772         * misc/sys/uio.h: Likewise.
80773         * misc/sys/xattr.h: Likewise.
80774         * misc/ttyent.h: Likewise.
80775         * nis/rpcsvc/ypclnt.h: Likewise.
80776         * nss/nss.h: Likewise.
80777         * posix/bits/unistd.h: Likewise.
80778         * posix/fnmatch.h: Likewise.
80779         * posix/glob.h: Likewise.
80780         * posix/sched.h: Likewise.
80781         * posix/spawn.h: Likewise.
80782         * posix/sys/wait.h: Likewise.
80783         * posix/unistd.h: Likewise.
80784         * posix/wordexp.h: Likewise.
80785         * pwd/pwd.h: Likewise.
80786         * resolv/netdb.h: Likewise.
80787         * resource/sys/resource.h: Likewise.
80788         * rt/aio.h: Likewise.
80789         * rt/bits/mqueue2.h: Likewise.
80790         * rt/mqueue.h: Likewise.
80791         * shadow/shadow.h: Likewise.
80792         * signal/signal.h: Likewise.
80793         * socket/send.c: Likewise.
80794         * socket/sendto.c: Likewise.
80795         * socket/sys/socket.h: Likewise.
80796         * stdio-common/printf.h: Likewise.
80797         * stdlib/bits/stdlib.h: Likewise.
80798         * stdlib/fmtmsg.h: Likewise.
80799         * stdlib/monetary.h: Likewise.
80800         * stdlib/stdlib.h: Likewise.
80801         * stdlib/ucontext.h: Likewise.
80802         * streams/stropts.h: Likewise.
80803         * string/argz.h: Likewise.
80804         * string/bits/string2.h: Likewise.
80805         * string/string.h: Likewise.
80806         * string/strings.h: Likewise.
80807         * sunrpc/rpc/auth.h: Likewise.
80808         * sunrpc/rpc/auth_des.h: Likewise.
80809         * sunrpc/rpc/clnt.h: Likewise.
80810         * sunrpc/rpc/netdb.h: Likewise.
80811         * sunrpc/rpc/pmap_clnt.h: Likewise.
80812         * sunrpc/rpc/xdr.h: Likewise.
80813         * sysdeps/generic/inttypes.h: Likewise.
80814         * sysdeps/generic/net/if.h: Likewise.
80815         * sysdeps/generic/sys/swap.h: Likewise.
80816         * sysdeps/gnu/net/if.h: Likewise.
80817         * sysdeps/gnu/utmpx.h: Likewise.
80818         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
80819         * sysdeps/i386/i486/bits/string.h: Likewise.
80820         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
80821         * sysdeps/s390/bits/string.h: Likewise.
80822         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
80823         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
80824         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
80825         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
80826         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
80827         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
80828         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
80829         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
80830         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
80831         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
80832         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
80833         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
80834         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
80835         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
80836         * sysdeps/unix/sysv/linux/readv.c: Likewise.
80837         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
80838         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
80839         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80840         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
80841         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
80842         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
80843         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
80844         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
80845         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
80846         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
80847         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
80848         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
80849         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
80850         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
80851         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
80852         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
80853         * sysvipc/sys/ipc.h: Likewise.
80854         * sysvipc/sys/msg.h: Likewise.
80855         * sysvipc/sys/sem.h: Likewise.
80856         * sysvipc/sys/shm.h: Likewise.
80857         * termios/termios.h: Likewise.
80858         * time/sys/time.h: Likewise.
80859         * time/time.h: Likewise.
80860         * wcsmbs/bits/wchar2.h: Likewise.
80861         * wcsmbs/uchar.h: Likewise.
80862         * wcsmbs/wchar.h: Likewise.
80863         * wctype/wctype.h: Likewise.
80865         [BZ #13551]
80866         * Makeconfig: Remove all but ELF support including AIX support.
80867         * Makerules: Likewise.
80868         * config.h.in: Likewise.
80869         * config.make.in: Likewise.
80870         * configure: Likewise.
80871         * configure.in: Likewise.
80872         * csu/Makefile: Likewise.
80873         * csu/version.c: Likewise.
80874         * debug/Makefile: Likewise.
80875         * dlfcn/Makefile: Likewise.
80876         * elf/Makefile: Likewise.
80877         * extra-lib.mk: Likewise.
80878         * iconv/Makefile: Likewise.
80879         * include/libc-symbols.h: Likewise.
80880         * include/shlib-compat.h: Likewise.
80881         * resolv/Makefile: Likewise.
80882         * resolv/res_libc.c: Likewise.
80883         * rt/Makefile: Likewise.
80884         * sysdeps/i386/asm-syntax.h: Likewise.
80885         * sysdeps/i386/sysdep.h: Likewise.
80886         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
80887         * sysdeps/mach/sysdep.h: Likewise.
80888         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
80889         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
80890         * sysdeps/s390/asm-syntax.h: Likewise.
80891         * sysdeps/s390/s390-32/sysdep.h: Likewise.
80892         * sysdeps/s390/s390-64/sysdep.h: Likewise.
80893         * sysdeps/sh/sysdep.h: Likewise.
80894         * sysdeps/unix/sparc/sysdep.h: Likewise.
80895         * sysdeps/wordsize-32/divdi3.c: Likewise.
80896         * sysdeps/x86_64/sysdep.h: Likewise.
80898         * argp/Versions: Remove _argp_unlock_xxx.
80900         [BZ #13559]
80901         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
80902         * abilist/libBrokenLocale.abilist: Likewise.
80903         * abilist/libanl.abilist: Likewise.
80904         * abilist/libc.abilist: Likewise.
80905         * abilist/libcrypt.abilist: Likewise.
80906         * abilist/libdl.abilist: Likewise.
80907         * abilist/libm.abilist: Likewise.
80908         * abilist/libnsl.abilist: Likewise.
80909         * abilist/libpthread.abilist: Likewise.
80910         * abilist/libresolv.abilist: Likewise.
80911         * abilist/librt.abilist: Likewise.
80912         * abilist/libthread_db.abilist: Likewise.
80913         * abilist/libutil.abilist: Likewise.
80914         * abilist/libnss_db.abilist: New file.
80916         * scripts/abilist.awk: Add support for indirect functions.
80918         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
80920         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
80922         * shlib-versions: Remove entries for ports architectures.
80924         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
80925         files in ports.
80926         * elf/stackguard-macros.h: Remove support for IA-64.
80927         * elf/tst-auditmod1.c: Likewise.
80928         * sysdeps/generic/ldsodefs.h: Likewise.
80930         * sysdeps/unix/sysv/linux/configure.in: Ports should define
80931         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
80932         configure files.
80934         [BZ #13552]
80935         * configure.in: Remove --enable-omitfp support.
80936         * FAQ.in: Adjust.
80937         * config.make.in: Likewise.
80938         * Makeconfig: Likewise.
80939         * manual/install.texi: Likewise.
80941         In case anyone cares, the IA-64 architecture could move to ports.
80942         * sysdeps/ia64/*: Removed.
80943         * sysdeps/unix/sysv/linux/ia64/*: Removed.
80944         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
80946         [BZ #13555]
80947         * configure.in: Remove entries for unsupported architectures.
80949         [BZ #13533]
80950         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
80951         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
80952         routines.
80953         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
80954         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
80955         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
80956         fall back to using wcrtomb.
80957         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
80958         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
80959         renaming.
80960         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
80961         * wcsmbs/tst-c16c32-1.c: New file.
80963         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
80964         local variable.
80966         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
80968         * elf/tst-unique3.cc: Add explicit declaration of gets.
80969         * elf/tst-unique3lib.cc: Likewise.
80970         * elf/tst-unique3lib2.cc: Likewise.
80971         * elf/tst-unique4.cc: Likewise.
80973         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
80975 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
80977         [BZ #13566]
80978         * assert/assert.h (static_assert): Don't define for C++.
80979         * libio/stdio.h (gets): Do declare for C++ <= C++11.
80980         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
80982 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
80984         * iconv/loop.c (single loop): Fix assertion in storing of
80985         remaining bytes.
80987         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
80989 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
80991         * posix/getconf.c: Update copyright year.
80992         * nss/getent.c: Likewise.
80993         * nss/makedb.c: Likewise.
80994         * iconv/iconvconfig.c: Likewise.
80995         * iconv/iconv_prog.c: Likewise.
80996         * elf/ldconfig.c: Likewise.
80997         * elf/pldd.c: Likewise.
80998         * elf/sotruss.ksh: Likewise.
80999         * catgets/gencat.c: Likewise.
81000         * csu/version.c: Likewise.
81001         * elf/ldd.bash.in: Likewise.
81002         * elf/sprof.c (print_version): Likewise.
81003         * locale/programs/locale.c: Likewise.
81004         * locale/programs/localedef.c: Likewise.
81005         * login/programs/pt_chown.c: Likewise.
81006         * nscd/nscd.c (print_version): Likewise.
81007         * debug/xtrace.sh: Likewise.
81008         * malloc/memusage.sh: Likewise.
81009         * malloc/mtrace.pl: Likewise.
81010         * debug/catchsegv.sh: Likewise.
81012 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
81014         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
81015         pure attribute.
81017 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
81019         [BZ #13533]
81020         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
81021         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
81022         transformations.
81023         * iconv/gconv_int.h: Likewise.
81024         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
81025         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
81026         from libc for GLIBC_2.16.
81027         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
81028         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
81029         * wcsmbs/uchar.h: Really define mbstate_t.
81030         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
81031         * wcsmbs/c16rtomb.c: New file.
81032         * wcsmbs/mbrtoc16.c: New file.
81033         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
81034         for C/POSIX locale.
81035         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
81036         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
81038         * wcsmbs/wchar.h: Add missing __restrict.
81040 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
81042         [BZ #13532]
81043         * time/Makefile (routines): Add timespec_get.
81044         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
81045         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
81046         timespec for ISO C11.
81047         * time/timespec_get.c: New file.
81048         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
81049         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
81051         [BZ #13531]
81052         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
81053         * stdlib/stdlib.h: Declare aligned_alloc.
81054         * Versions.def: Add GLIBC_2.16 for libc.
81055         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
81057         [BZ 13527]
81058         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
81059         ISO C11.
81061         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
81062         code.
81064         [BZ #13528]
81065         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
81067         [BZ #13529]
81068         * assert/assert.h (static_assert): Define.
81070         * version.h: Update for 2.16 development version.
81072         [BZ #13526]
81073         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
81074         _ISOC11_SOURCE.
81076         * version.h (RELEASE): Bump for 2.15 release.
81077         * include/features.h (__GLIBC_MINOR__): Bump to 15.
81079         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
81080         Patch by Marek Polacek <mpolacek@redhat.com>.
81082         * bits/byteswap.h: Protect long long constants with __extension__.
81083         * sysdeps/i386/bits/byteswap.h: Likewise.
81084         * sysdeps/ia64/bits/byteswap.h: Likewise.
81085         * sysdeps/s390/bits/byteswap.h: Likewise.
81086         * sysdeps/x86_64/bits/byteswap.h: Likewise.
81088 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81090         [BZ #13540]
81091         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
81092         destination buffer.
81093         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
81095 2011-12-23  Marek Polacek  <polacek@redhat.com>
81097         * elf/dl-addr.c (determine_info): Add inline keyword.
81098         * elf/tst-auditmod4b.c (check_avx): Likewise.
81099         * elf/tst-auditmod6b.c (check_avx): Likewise.
81100         * elf/tst-auditmod6c.c (check_avx): Likewise.
81101         * elf/tst-auditmod7b.c (check_avx): Likewise.
81103 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
81105         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
81106         !__SSE_MATH__.
81108 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81110         [BZ #13540]
81111         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
81112         processing for last bytes.
81114 2011-08-06  Bruno Haible  <bruno@clisp.org>
81116         [BZ #13061]
81117         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
81118         U+0385, not to U+1FEE.
81120         [BZ #13062]
81121         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
81122         entry for U+00A5 U+0301.
81124 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
81126         [BZ #13166]
81127         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
81128         buffer for the output is too small.
81130         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
81131         optimization.
81133         [BZ #13185]
81134         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
81135         SSE flags if possible.
81137 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81139         [BZ #13540]
81140         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
81141         processing for last bytes.
81143 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
81145         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
81146         (syscall-list-default-options, syscall-list-default-condition)
81147         (syscall-list-includes): Define.
81148         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
81149         list of ABIs and options and #if conditions for each ABI.  Do not
81150         handle common syscalls between ABIs specially.
81151         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
81152         Remove.
81153         (syscall-list-variants, syscall-list-32bit-options)
81154         (syscall-list-32bit-condition, syscall-list-64bit-options)
81155         (syscall-list-64bit-condition): Define.
81156         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
81157         (syscall-list-variants, syscall-list-32bit-options)
81158         (syscall-list-32bit-condition, syscall-list-64bit-options)
81159         (syscall-list-64bit-condition): Define.
81160         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
81161         Remove.
81162         (syscall-list-variants, syscall-list-32bit-options)
81163         (syscall-list-32bit-condition, syscall-list-64bit-options)
81164         (syscall-list-64bit-condition): Define.
81165         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
81166         Remove.
81167         (syscall-list-variants, syscall-list-32bit-options)
81168         (syscall-list-32bit-condition, syscall-list-64bit-options)
81169         (syscall-list-64bit-condition): Define.
81171 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
81173         * locale/iso-639.def: Add brx entry.
81175         [BZ #13328]
81176         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
81177         Proposed by Mariusz_Cukr <marcukr@op.pl>.
81179         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
81180         __feraiseexcept_renamed.
81182 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
81184         [BZ #13538]
81185         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
81186         EPOLLET with unsigned values.
81187         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
81188         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
81190         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
81191         to large cancellation.
81192         * math/s_cacoshf.c: Likewise.
81193         * math/s_cacoshl.c: Likewise.
81195 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
81197         [BZ #13305]
81198         [BZ #12786]
81199         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
81200         * math/s_cacoshf.c: Likewise.
81201         * math/s_cacoshl.c: Likewise.
81203 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
81205         [BZ #13439]
81206         * iconv/gconv.h: Define __GCONV_SWAP.
81207         * iconvdata/unicode.c: The swap bit must be stored in __flags.
81208         * iconvdata/utf-16.c: Likewise.
81209         * iconvdata/utf-32.c: Likewise.
81211 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
81213         [BZ #13524]
81214         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
81215         numerator after shifting it by one limb.
81217 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
81219         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
81220         under [__USE_EXTERN_INLINES].
81222 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
81224         [BZ #13446]
81225         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
81227 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81229         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
81230         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
81231         optimized code.
81232         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
81233         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
81234         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
81235         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
81236         for strncasecmp/strncasecmp_l compilation.
81237         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
81238         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
81240 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
81242         [BZ #13484]
81243         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
81244         of __asm__.
81246 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
81248         [BZ #13506]
81249         * time/tzfile.c (__tzfile_read): Check values from file header.
81251 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
81253         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
81254         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
81255         * powerpc/powerpc32/dl-start.S: Likewise.
81256         * powerpc/powerpc32/elf/start.S: Likewise.
81257         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
81258         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
81259         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
81260         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
81261         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
81262         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
81263         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
81264         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
81265         * powerpc/powerpc32/fpu/s_round.S: Likewise.
81266         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
81267         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
81268         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
81269         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
81270         * powerpc/powerpc32/memset.S: Likewise.
81271         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
81272         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
81273         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
81274         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
81275         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
81276         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
81277         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
81278         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
81279         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
81280         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
81281         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
81282         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
81283         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
81285 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81287         * math/libm-test.inc: Added more nearbyint tests.
81288         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
81289         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
81290         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
81291         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
81293 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
81295         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
81296         FD_CLOEXEC.
81298 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81300         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
81301         Add wcscpy-ssse3 wcscpy-c.
81302         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
81303         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
81304         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
81305         * sysdeps/x86_64/wcschr.S: New file.
81306         * sysdeps/x86_64/wcsrchr.S: New file.
81307         * string/test-strcmp.c: Remove checking of wcscmp function for
81308         wrong alignments.
81309         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
81310         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
81311         wcsrchr-sse2 wcsrchr-c.
81312         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
81313         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
81314         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
81315         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
81316         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
81317         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
81318         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
81319         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
81320         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
81321         * wcsmbc/wcschr.c (WCSCHR): New macro.
81323 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81325         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
81326         * wcsmbs/test-wcsrchr.c: New file.
81327         * string/test-strrchr.c: Add wcsrchr support.
81328         (WIDE): New macro.
81329         * wcsmbs/test-wcscpy.c: New file.
81330         * string/test-strcpy.c: Add wcscpy support.
81331         (WIDE): New macro.
81333 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
81335         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
81336         the inner loop.
81338 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
81340         [BZ #13472]
81341         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
81343 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
81345         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
81346         Minor optimizations.
81348         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
81349         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
81350         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
81352 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
81354         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
81355         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
81356         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
81357         for gcc to avoid warnings.
81358         * inet/Makefile (tests): Add tst-checks.
81359         * inet/tst-checks.c: New file.
81361         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
81362         warning.
81364         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
81365         __wmemcmp_sse2.
81367         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
81368         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
81370         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
81372 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
81374         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
81375         problem.
81377         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
81379 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
81381         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
81382         conditional on GCC version.
81383         (__arch_compare_and_exchange_val_8_acq)
81384         (__arch_compare_and_exchange_val_16_acq)
81385         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
81386         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
81387         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
81389 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
81391         * sysdeps/sh/backtrace.c: New file.
81393 2011-12-02  Andreas Schwab  <schwab@redhat.com>
81395         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
81396         parenthesis.
81398 2011-12-01  Andreas Schwab  <schwab@redhat.com>
81400         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
81401         falling back to utime.
81403 2011-11-30  Andreas Schwab  <schwab@redhat.com>
81405         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
81406         expectations for float.
81408 2011-11-29  Andreas Schwab  <schwab@redhat.com>
81410         * locale/weight.h (findidx): Add parameter len.
81411         * locale/weightwc.h (findidx): Likewise.
81412         * posix/fnmatch_loop.c (FCT): Adjust caller.
81413         * posix/regcomp.c (build_equiv_class): Likewise.
81414         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
81415         * posix/regexec.c (check_node_accept_bytes): Likewise.
81416         * string/strcoll_l.c (STRCOLL): Likewise.
81417         * string/strxfrm_l.c (STRXFRM): Likewise.
81419 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
81421         * Makefile.in: Remove CVSOPT handling.
81422         * configure.in: Remove use of AC_REVISION.
81423         * iconvdata/Makefile (distribute): No need to filter out CVS.
81424         * scripts/list-sources.sh: Remove CVS, subversion and monotone
81425         handling.
81427 2011-11-16  Andreas Schwab  <schwab@redhat.com>
81429         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
81430         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
81431         [USE_AS_STRNCASECMP_L]: Likewise.
81432         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
81433         NO_TLS_DIRECT_SEG_REFS.
81434         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
81435         Fix argument offsets for non-PIC.
81436         [USE_AS_STRNCASECMP_L]: Likewise.
81437         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
81438         NO_TLS_DIRECT_SEG_REFS.
81440 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
81442         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
81443         O_CLOEXEC.
81444         * locale/loadlocale.c (_nl_load_locale): Likewise.
81446 2011-11-15  Andreas Schwab  <schwab@redhat.com>
81448         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
81449         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
81450         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
81451         (SYSCALL_GETTIME): Set errno on error.
81453         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
81454         count references to noai6ai_cached.
81456 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
81458         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
81460         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
81461         FD_CLOEXEC for /proc/self/maps.
81463         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
81464         FD_CLOEXEC for /proc/meminfo.
81466         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
81467         gai.conf.
81469         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
81470         FD_CLOEXEC for given file.
81472         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
81474         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
81475         FD_CLOEXEC for /etc/hosts.
81476         (_gethtent): Likewise.
81478         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
81480         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
81481         cancellation and set FD_CLOEXEC for /etc/netgroup.
81483         * nss/nss_files/files-key.c (search): Don't allow cancellation when
81484         reading /etc/publickey.
81486         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
81487         allow cancellation when reading /etc/group.
81489         * nss/nss_files/files-alias.c (internal_setent): Don't allow
81490         cancellation.
81491         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
81493         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
81494         when using data file.
81496         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
81498         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
81499         (write_nis_obj): Use "c" and "e" in fopen.
81501         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
81503         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
81505         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
81507         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
81509         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
81510         locale.alias.
81512         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
81514         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
81516         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
81518         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
81519         file parsing and set FD_CLOEXEC.
81521 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
81523         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
81525 2011-11-14  Andreas Schwab  <schwab@redhat.com>
81527         * malloc/arena.c (arena_get2): Don't call reused_arena when
81528         _int_new_arena failed.
81530 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
81532         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
81533         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
81534         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
81535         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
81536         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
81537         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
81538         to compile strcasecmp and strncasecmp.
81539         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
81540         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
81542         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
81544 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
81546         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
81547         locale-defines.sym to gen-as-const-headers.
81548         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
81549         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
81550         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
81551         to compile strcasecmp and strncasecmp.
81552         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
81553         strcasecmp_l and strncasecmp_l.
81554         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
81555         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
81556         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
81557         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
81558         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
81559         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
81560         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
81561         * sysdeps/i386/i686/multiarch/strncase.S: New file.
81562         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
81563         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
81564         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
81566 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
81568         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
81569         result of SYSDEP_GETTIME_CPU to retval.
81570         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
81571         parameter list to macro.  Remove trailing semicolon.  Adjust users.
81573         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
81574         variable.
81576         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
81577         mantissa words.
81578         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
81580         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
81581         from unused variable.
81583         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
81584         DWARF definitions.
81585         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
81586         for assembling.
81588         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
81589         over namespaces.
81591         * sunrpc/rpc_prot.c (rejected): Fix case value.
81593         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
81594         unsigned long long int to avoid warnings in shift.
81596         * posix/regex_internal.c (re_string_reconstruct): Actually use result
81597         of use of trans.
81598         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
81599         variable tmp.
81601         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
81602         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
81603         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
81605         * nis/nis_table.c (nis_list): Use variable of correct type for
81606         result of __follow_path call.
81608 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81610         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
81611         of math functions ceil, trunc, floor, round, and sqrt, when
81612         avaliable on the platform.
81613         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
81614         name clash.
81615         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
81616         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
81617         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
81619 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
81621         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
81622         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
81624 2011-11-11  Roland McGrath  <roland@hack.frob.com>
81626         * include/unistd.h: Fix __readlink return type.
81627         Reported by Chris Metcalf <cmetcalf@tilera.com>.
81629 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
81631         * stdlib/ucontext.h: Undo last change for makecontext.
81633 2011-11-11  Andreas Schwab  <schwab@redhat.com>
81635         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
81637         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
81638         * setjmp/setjmp.h: Mark functions as non-leaf.
81639         * setjmp/bits/setjmp2.h: Likewise.
81640         * stdlib/ucontext.h: Likewise.
81642 2011-11-10  Andreas Schwab  <schwab@redhat.com>
81644         * malloc/arena.c (_int_new_arena): Don't increment narenas.
81645         (reused_arena): Don't check arena limit.
81646         (arena_get2): Atomically check arena limit.
81648 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
81650         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
81651         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
81653         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
81654         instructions.
81656 2011-11-07  Andreas Schwab  <schwab@redhat.com>
81658         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
81659         handler when locking.
81661         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
81662         Fix size of allocated buffer.
81664 2011-11-04  Andreas Schwab  <schwab@redhat.com>
81666         [BZ #10103]
81667         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
81668         declarations for long double functions.
81669         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
81671         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
81673 2011-11-03  Andreas Schwab  <schwab@redhat.com>
81675         * nscd/nscd.c (main): Don't start AVC thread until credentials are
81676         installed.
81678         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
81679         is disabled.
81681 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81683         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
81685 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
81687         * include/alloca.h (stackinfo_alloca_round): Define.
81688         (extend_alloca): Use it.
81689         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
81690         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
81691         here.
81693         * scripts/check-local-headers.sh: Ignore libaudit.h.
81695         * nscd/Makefile (extra-objs): Make recursively expanded.
81697 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
81699         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
81700         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
81702         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
81703         * posix/tst-rfc3484-2.c: Likewise.
81704         * posix/tst-rfc3484-3.c: Likewise.
81706         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
81707         process_vm_writev.
81708         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
81709         process_vm_writev.
81710         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
81711         process_vm_writev from libc using GLIBC_2.15 version.
81713         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
81715 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
81717         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
81718         stack usage.
81720 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
81722         [BZ #13367]
81723         * nss/getent.c (initgroups_keys): Show error message in case no group
81724         names are given.
81726         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
81727         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
81728         __bump_nl_timestamp.
81729         * nscd/connections (nscd_init): When host database is served open
81730         netlink socket and request notification about configuration changes.
81731         (main_loop_poll): Track netlink file descriptor and bump timestamp
81732         in case data becomes available.
81733         (main_loop_epoll): Likewise.
81734         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
81735         (database_pers_head): Add extra_data fileds.
81736         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
81737         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
81738         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
81739         Adjust caller.
81740         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
81741         in6ai data, call __free_in6ai.
81742         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
81743         Add -DHAVE_NETLINK.
81744         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
81745         interface information.  Reuse previous data if netlink timestamp
81746         is not changed.
81747         (__bump_nl_timestamp): New function.
81748         (__free_in6ai): New function.
81750 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
81752         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
81753         close_not_cancel_no_status here.
81754         (__check_pf): Reorganize code a bit to not call close twice if OOM.
81756 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
81758         [BZ #13276]
81759         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
81760         return value.
81762         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
81763         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
81764         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
81766 2011-07-03  Andreas Jaeger  <aj@suse.de>
81768         [BZ #10709]
81769         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
81770         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
81771         * math/libm-test.inc (sin_test): Add test case.
81773 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
81775         [BZ #13337]
81776         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
81777         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
81779         * elf/chroot_canon.c (chroot_canon): Cleanups.
81781         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
81783         [BZ #13335]
81784         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
81785         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
81787         * string/test-strchr.c: Make usable for strchrnul testing.
81788         * string/test-strchrnul.c: New file.
81789         * string/Makefile (strop-tests): Add strchrnul.
81791         * po/it.po: Update from translation team.
81792         * po/es.po: Likewise.
81794 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
81796         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
81797         the three constants needed as parameters.  Drop the others.
81798         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
81799         __m128i_strloadu_tolower.
81800         Create and initialize variable zero and use it in all the places
81801         where _mm_setzero_si128 was used.
81803         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
81804         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
81805         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
81806         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
81807         anymore.
81808         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
81809         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
81810         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
81811         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
81812         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
81813         __mpranred, __mptan.
81814         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
81815         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
81816         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
81817         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
81818         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
81819         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
81820         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
81821         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
81822         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
81824 2011-10-28  Andreas Schwab  <schwab@redhat.com>
81826         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
81827         redefine if SHARED.
81828         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
81830         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
81831         wide char related routines to wcsmbs subdir.
81833 2011-10-27  Andreas Schwab  <schwab@redhat.com>
81835         [BZ #13344]
81836         * misc/sys/cdefs.h (__THROWNL): Define.
81837         * posix/unistd.h: Use __THREADNL instead of __THREAD
81838         for memory synchronization functions.
81840 2011-10-26  Roland McGrath  <roland@hack.frob.com>
81842         [BZ #13349]
81843         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
81844         doesn't exist.
81845         * manual/stdio.texi (Obstack Streams): Node removed.
81847 2011-10-26  Andreas Schwab  <schwab@redhat.com>
81849         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
81850         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
81851         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
81853         * math/math_private.h (math_force_eval): Allow non-addressable
81854         arguments.
81855         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
81857 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
81859         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
81860         file is not needed.
81862         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
81863         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
81864         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81865         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81866         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81867         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81868         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81869         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
81870         Add AVX variants.
81871         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
81872         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
81873         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
81874         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
81875         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
81876         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
81877         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
81878         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
81879         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
81880         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
81881         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
81882         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
81883         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
81884         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
81885         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
81886         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
81887         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
81888         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
81889         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
81891         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
81892         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
81894         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
81895         place.  Use VEX encoding when compiling for AVX.
81897 2011-10-25  Andreas Schwab  <schwab@redhat.com>
81899         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
81900         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
81902         * string/test-strchr.c (do_test): Don't generate NUL bytes.
81904 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
81906         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
81907         useless if() expression.
81908         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
81909         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
81910         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
81911         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
81912         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
81913         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
81914         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
81915         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
81916         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
81917         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
81918         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
81919         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
81920         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
81921         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
81922         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
81923         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
81924         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
81925         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
81926         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
81928         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
81930 2011-10-25  Andreas Schwab  <schwab@redhat.com>
81932         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
81933         condition.
81934         * elf/dl-fini.c (_dl_sort_fini): Likewise.
81936 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
81938         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
81939         .text section.  Avoid duplicate constants.
81940         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
81941         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81942         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
81943         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81944         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
81945         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81946         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81947         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81948         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
81949         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
81950         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
81951         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
81952         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
81953         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
81954         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
81955         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
81956         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
81957         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
81958         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
81959         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
81960         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
81961         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
81962         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
81963         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
81964         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
81965         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
81966         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
81967         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
81968         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
81969         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
81970         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
81971         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
81972         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
81973         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
81974         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
81975         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
81976         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
81977         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
81978         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
81979         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
81980         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
81981         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
81982         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
81983         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
81984         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
81986 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
81988         * sysdeps/x86_64/dla.h: Move to ...
81989         * sysdeps/x86_64/fpu/dla.h: ...here.
81990         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
81991         situations.  Use __builtin_fma only for gcc 4.6 and up.
81993         * config.make.in: Add have-mfma4 entry.
81994         * configure.in: Substitute libc_cv_cc_fma4.
81995         * math/Makefile (dbl-only-routines): Add sincostab.
81996         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
81997         Use __sincostab not sincos.
81998         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
81999         name is a macro.
82000         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
82001         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82002         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82003         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
82004         using __copysign.
82005         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
82006         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
82007         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
82008         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
82009         and __inv.
82010         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
82011         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
82012         __copysign.
82013         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
82014         define aliases when function name is a macro.
82015         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
82016         sysdeps/ieee754/dbl-64/sincos.tbl.
82017         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
82018         fma4-enabled routines.
82019         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
82020         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
82021         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
82022         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
82023         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
82024         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
82025         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
82026         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
82027         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
82028         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
82029         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
82030         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
82031         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
82032         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
82033         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
82034         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
82035         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
82036         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
82037         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
82038         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
82039         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
82040         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
82041         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
82042         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
82043         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
82044         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
82045         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
82046         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
82047         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
82048         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
82050         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
82051         rename.
82052         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82053         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82054         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82055         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82056         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82057         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82058         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82059         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82061 2011-10-24  Andreas Schwab  <schwab@redhat.com>
82063         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
82065 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
82067         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
82069         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
82070         prediction.
82071         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
82073         * string/strnlen.c: Don't define STRNLEN, reverse logic.
82074         Remove unused variable magic_bits.
82075         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
82077         * string/strnlen.c: Define and use STRNLEN macro.
82078         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
82079         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
82080         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
82081         * wcsmbs/wcslen.c: Define and use WCSLEN.
82082         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
82083         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
82084         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
82085         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
82086         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
82087         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
82088         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
82090 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82092         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82093         strnlen-sse2-no-bsf.
82094         Rename strlen-no-bsf to strlen-sse2-no-bsf.
82095         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
82096         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
82097         Add strnlen support.
82098         (USE_AS_STRNLEN): New macro.
82099         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
82100         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
82101         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
82102         * sysdeps/x86_64/wcslen.S: New file.
82104 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
82106         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
82107         XMM-moves are used for copying on small sizes.
82109 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82111         * wcsmbs/Makefile (strop-tests): Add wcschr.
82112         * wcsmbs/test-wcschr.c: New file.
82113         * string/test-strchr.c: Update.
82114         Add wcschr support.
82115         (WIDE): New macro.
82117 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82119         * wcsmbs/Makefile (strop-tests): Add wcslen.
82120         * wcsmbs/test-wcslen.c: New file.
82121         * string/test-strlen.c: Update.
82122         Add wcslen support.
82123         (WIDE): New macro.
82125 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
82127         * po/it.po: Update from translation team.
82129 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82131         * sysdeps/x86_64/wcscmp.S: Update.
82132         Fix wrong comparison semantics.
82133         wcscmp shall use signed comparison not unsigned.
82134         Don't use substraction to avoid overflow bug.
82135         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
82136         * wcsmbc/wcscmp.c: Likewise.
82137         * string/test-strcmp.c: Likewise.
82138         Add new tests to check cases with negative values.
82140 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
82142         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
82143         * sysdeps/x86_64/dla.h: ...here.  New file.
82144         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
82145         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82146         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82147         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82148         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82149         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
82150         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82151         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82152         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82154 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
82156         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
82157         __ynl_finite aliases.
82159 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
82161         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82163         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
82164         define DLA_FMA.
82165         [DLA_FMA] (EMULV): Use DLA_FMA.
82166         [DLA_FMA] (MUL12): Use EMULV.
82167         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
82168         that are not needed.
82169         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82170         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82171         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82172         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82173         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82174         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82175         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82177 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
82179         * math/s_nan.c: Undef __nan.
82180         * math/s_nanf.c: Undef __nanf.
82181         * math/s_nanl.c: Undef __nanl.
82182         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
82183         "math_private.h".
82185 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
82187         * math/s_catan.c: Add branch predictions.
82188         * math/s_catanf.c: Likewise.
82189         * math/s_catanh.c: Likewise.
82190         * math/s_catanhf.c: Likewise.
82191         * math/s_catanhl.c: Likewise.
82192         * math/s_catanl.c: Likewise.
82193         * math/s_cexp.c: Likewise.
82194         * math/s_cexpf.c: Likewise.
82195         * math/s_cexpl.c: Likewise.
82196         * math/s_clog.c: Likewise.
82197         * math/s_clog10.c: Likewise.
82198         * math/s_clog10f.c: Likewise.
82199         * math/s_clog10l.c: Likewise.
82200         * math/s_clogf.c: Likewise.
82201         * math/s_clogl.c: Likewise.
82202         * math/s_csqrt.c: Likewise.
82203         * math/s_csqrtf.c: Likewise.
82204         * math/s_csqrtl.c: Likewise.
82205         * math/s_ctanf.c: Likewise.
82206         * math/s_ctanh.c: Likewise.
82207         * math/s_ctanhf.c: Likewise.
82208         * math/s_ctanhl.c: Likewise.
82209         * math/s_ctanl.c: Likewise.
82211         * math/math_private.h: Define __nan, __nanf, __nanl.
82212         * math/s_cacosh.c: Include <math_private.h>.
82213         * math/s_cacoshl.c: Likewise.
82214         * math/s_casinh.c: Likewise.
82215         * math/s_casinhf.c: Likewise.
82216         * math/s_casinhl.c: Likewise.
82217         * math/s_ccos.c: Rely entire on ccosh.
82218         * math/s_ccosf.c: Rely entire on ccoshf.
82219         * math/s_ccosl.c: Rely entirely on ccoshl.
82220         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
82221         Remove tests for FE_INVALID.
82222         * math/s_ccoshf.c: Likewise.
82223         * math/s_ccoshl.c: Likewise.
82224         * math/s_csin.c: Likewise.
82225         * math/s_csinf.c: Likewise.
82226         * math/s_csinh.c Likewise.
82227         * math/s_csinhf.c: Likewise.
82228         * math/s_csinhl.c: Likewise.
82229         * math/s_csinl.c: Likewise.
82230         * math/s_ctan.c: Likewise.
82231         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
82232         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
82233         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
82235 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
82237         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
82238         compilation problems.
82240         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
82241         __builtin_expect.
82243 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
82245         * sysdeps/i386/configure.in: Test for -mfma4 option.
82246         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
82247         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
82248         COMMON_CPUID_INDEX_80000001.
82249         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
82250         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
82251         use it if FMA3 is not supported.
82252         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
82254         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
82255         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
82257 2011-10-20  Andreas Schwab  <schwab@redhat.com>
82259         [BZ #12892]
82260         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
82261         it would create a cycle with a link time dependency.
82263 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
82265         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
82266         instruction.
82267         * string/Makefile (strop-tests): Add rawmemchr.
82268         * string/test-rawmemchr.c: New file.
82270         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
82271         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
82272         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
82273         when compiling str{,n}casecmp and when AVX is available.  Hook up
82274         new optimized code in initializers.
82276 2011-10-19  Andreas Schwab  <schwab@redhat.com>
82278         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
82279         __feraiseexcept instead of feraiseexcept.
82281 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
82283         * math/math_private.h: Define defaults for libc_fetestexcept and
82284         libc_feupdateenv.
82285         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
82286         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
82287         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
82288         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
82289         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
82290         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
82291         libc_fetestexcept and libc_feupdateenv.
82293         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
82294         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
82295         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
82296         * sysdeps/x86_64/fpu/math_private.h: Define special version of
82297         libc_feholdexcept_setround.
82299         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
82300         Add s_nearbyint-c and s_nearbyintf-c.
82301         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
82302         nearbyintf inlines.
82303         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
82304         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
82305         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
82306         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
82308         * math/math_private.h: Define defaults for libc_fegetround,
82309         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
82310         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
82311         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
82312         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
82313         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
82314         standard functions.
82315         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
82316         Remove comments and hacks for old compiler versions.
82317         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
82318         libc_fegetround, libc_fesetround, libc_feholdexcept, and
82319         libc_feholdexceptl.
82321 2011-10-18  Andreas Schwab  <schwab@redhat.com>
82323         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
82324         (__feraiseexcept_renamed): Add __NTH.
82325         (feraiseexcept): Add __NTH.  Rename local variables to fix
82326         namespace violations.
82328 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
82330         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
82332         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
82334         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
82335         recently added interfaces.
82336         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
82338         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
82339         about macro parameter expansion.
82341         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
82342         __NO_MATH_INLINES is defined.  Cleanups.
82344         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
82345         and __floorf is target has SSE4.1.
82346         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
82347         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
82348         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
82349         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
82351         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
82352         name.
82353         (floorf): Likewise.
82355         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
82357 2011-10-17  Andreas Schwab  <schwab@redhat.com>
82359         * misc/sys/cdefs.h: Fix last change.
82361         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
82362         database lookup.
82364 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
82366         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
82368         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
82369         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82370         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
82371         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
82372         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
82373         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
82374         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
82375         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
82376         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
82377         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
82378         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
82379         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
82380         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
82381         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
82382         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
82383         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
82384         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
82385         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
82386         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
82387         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
82388         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
82389         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
82391         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
82392         ceil, ceilf, floor, floorf.
82394         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
82395         Perform IRELATIVE relocations last.
82397         * elf/do-rel.h: Add another parameter nrelative, replacing the
82398         local variable with the same name.  Change name of the function
82399         to end in Rel or Rela (uppercase).
82400         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
82401         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
82402         elf_dynamic_do_##reloc function.
82404 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
82406         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
82407         is sufficient, at least on modern CPUs.
82409         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
82411         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
82412         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
82414         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
82415         __expl_finite.
82416         * math/bits/math-finite.h: Add entries for exp.
82417         * math/e_expl.c: Add __*_finite alias.
82418         * sysdeps/i386/fpu/e_exp.S: Likewise.
82419         * sysdeps/i386/fpu/e_expf.S: Likewise.
82420         * sysdeps/i386/fpu/e_expl.c: Likewise.
82421         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
82422         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
82423         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
82424         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
82425         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
82426         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
82427         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
82429         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
82430         is sufficient, at least on modern CPUs.
82432         * ctype/ctype-info.c (__ctype_init): Define.
82433         * include/ctype.h (__ctype_init): Declare.
82434         (__ctype_b_loc): The variable is always initialized.
82435         (__ctype_toupper_loc): Likewise.
82436         (__ctype_tolower_loc): Likewise.
82437         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
82438         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
82440 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
82442         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
82444         * configure.in: Also look in $cxxmachine/include for C++ system
82445         headers.
82447 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82449         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
82450         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
82451         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
82452         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
82453         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
82454         (USE_AS_WMEMCMP): New macro.
82455         Fixing indents.
82456         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
82457         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
82458         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
82459         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
82460         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82461         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
82462         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
82463         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
82464         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
82465         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
82466         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
82467         (USE_AS_WMEMCMP): New macro.
82468         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
82469         * sysdeps/string/test-memcmp.c: Update.
82470         Fix simple_wmemcmp.
82471         Add new tests.
82472         * wcsmbs/wmemcmp.c: Update.
82473         (WMEMCMP): New macro.
82474         Fix overflow bug.
82476 2011-10-12  Andreas Jaeger  <aj@suse.de>
82478         [BZ #13268]
82479         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
82481 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
82483         * libio/iofwide.c (do_length): Avoid warning.
82485         * ctype/ctype.h (__isctype_f): Add missing __THROW.
82487 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
82489         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
82491         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
82492         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
82493         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
82494         * sysdeps/i386/i686/fpu/e_log.S: New file.
82495         * sysdeps/i386/i686/fpu/e_logf.S: New file.
82496         * sysdeps/i386/i686/fpu/e_logl.S: New file.
82498         * ctype/ctype.h: Add support for inlined isXXX functions when
82499         compiling C++ code.
82501 2011-10-14  Andreas Schwab  <schwab@redhat.com>
82503         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82505         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
82507 2011-10-13  Roland McGrath  <roland@hack.frob.com>
82509         [BZ #13291]
82510         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
82512 2011-10-13  Andreas Schwab  <schwab@redhat.com>
82514         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
82515         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
82516         feraiseexcept.
82518         * sysdeps/x86_64/memrchr.S: Check for zero size.
82520         * string/stratcliff.c: Add memrchr tests.
82522 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82524         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82525         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
82526         rawmemchr-sse2 rawmemchr-sse2-bsf.
82527         * sysdeps/i386/i686/multiarch/memchr.S: New file.
82528         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
82529         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
82530         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
82531         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
82532         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
82533         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
82534         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
82535         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
82536         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
82537         * string/memrchr.c (MEMRCHR): New macro.
82539 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
82541         Add integration with gcc's -ffinite-math-only and optimize wrapper
82542         functions in libm.
82543         * Versions.def: Define GLIBC_2.15 version for libm.
82544         * math/Makefile (headers): Add bits/math-finite.h.
82545         * math/bits/math-finite.h: New file.
82546         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
82547         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
82548         * math/e_acoshl.c: Add __*_finite alias.
82549         * math/e_acosl.c: Likewise.
82550         * math/e_asinl.c: Likewise.
82551         * math/e_atan2l.c: Likewise.
82552         * math/e_atanhl.c: Likewise.
82553         * math/e_coshl.c: Likewise.
82554         * math/e_exp10.c: Likewise.
82555         * math/e_exp10f.c: Likewise.
82556         * math/e_exp10l.c: Likewise.
82557         * math/e_exp2l.c: Likewise.
82558         * math/e_fmodl.c: Likewise.
82559         * math/e_gammal_r.c: Likewise.
82560         * math/e_hypotl.c: Likewise.
82561         * math/e_j0l.c: Likewise.
82562         * math/e_j1l.c: Likewise.
82563         * math/e_jnl.c: Likewise.
82564         * math/e_lgammal_r.c: Likewise.
82565         * math/e_log10l.c: Likewise.
82566         * math/e_log2l.c: Likewise.
82567         * math/e_logl.c: Likewise.
82568         * math/e_powl.c: Likewise.
82569         * math/e_sinhl.c: Likewise.
82570         * math/e_sqrtl.c: Likewise.
82571         * math/e_scalb.c: Completely rewritten and optimized.
82572         * math/e_scalbf.c: Likewise.
82573         * math/e_scalbl.c: Likewise.
82574         * math/w_acos.c: Likewise.
82575         * math/w_acosf.c: Likewise.
82576         * math/w_acosl.c: Likewise.
82577         * math/w_acosh.c: Likewise.
82578         * math/w_acoshf.c: Likewise.
82579         * math/w_acoshl.c: Likewise.
82580         * math/w_asin.c: Likewise.
82581         * math/w_asinf.c: Likewise.
82582         * math/w_asinl.c: Likewise.
82583         * math/w_atan2.c: Likewise.
82584         * math/w_atan2f.c: Likewise.
82585         * math/w_atan2l.c: Likewise.
82586         * math/w_atanh.c: Likewise.
82587         * math/w_atanhf.c: Likewise.
82588         * math/w_atanhl.c: Likewise.
82589         * math/w_exp10.c: Likewise.
82590         * math/w_exp10f.c: Likewise.
82591         * math/w_exp10l.c: Likewise.
82592         * math/w_fmod.c: Likewise.
82593         * math/w_fmodf.c: Likewise.
82594         * math/w_fmodl.c: Likewise.
82595         * math/w_j0.c: Likewise.
82596         * math/w_j0f.c: Likewise.
82597         * math/w_j0l.c: Likewise.
82598         * math/w_j1.c: Likewise.
82599         * math/w_j1f.c: Likewise.
82600         * math/w_j1l.c: Likewise.
82601         * math/w_jn.c: Likewise.
82602         * math/w_jnf.c: Likewise.
82603         * math/w_log.c: Likewise.
82604         * math/w_logf.c: Likewise.
82605         * math/w_logl.c: Likewise.
82606         * math/w_log10.c: Likewise.
82607         * math/w_log10f.c: Likewise.
82608         * math/w_log10l.c: Likewise.
82609         * math/w_log2.c: Likewise.
82610         * math/w_log2f.c: Likewise.
82611         * math/w_log2l.c: Likewise.
82612         * math/w_pow.c: Likewise.
82613         * math/w_powf.c: Likewise.
82614         * math/w_powl.c: Likewise.
82615         * math/w_remainder.c: Likewise.
82616         * math/w_remainderf.c: Likewise.
82617         * math/w_remainderl.c: Likewise.
82618         * math/w_scalb.c: Likewise.
82619         * math/w_scalbf.c: Likewise.
82620         * math/w_scalbl.c: Likewise.
82621         * math/w_sqrt.c: Likewise.
82622         * math/w_sqrtf.c: Likewise.
82623         * math/w_sqrtl.c: Likewise.
82624         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
82625         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
82626         used.
82627         * math/math_private.h: Declare __kernel_standard_f.
82628         * math/w_cosh.c: Remove cruft and optimize a bit.
82629         * math/w_coshf.c: Likewise.
82630         * math/w_coshl.c: Likewise.
82631         * math/w_exp2.c: Likewise.
82632         * math/w_exp2f.c: Likewise.
82633         * math/w_exp2l.c: Likewise.
82634         * math/w_hypot.c: Likewise.
82635         * math/w_hypotf.c: Likewise.
82636         * math/w_hypotl.c: Likewise.
82637         * math/w_lgamma.c: Likewise.
82638         * math/w_lgamma_r.c: Likewise.
82639         * math/w_lgammaf.c: Likewise.
82640         * math/w_lgammaf_r.c: Likewise.
82641         * math/w_lgammal.c: Likewise.
82642         * math/w_lgammal_r.c: Likewise.
82643         * math/w_sinh.c: Likewise.
82644         * math/w_sinhf.c: Likewise.
82645         * math/w_sinhl.c: Likewise.
82646         * math/w_tgamma.c: Likewise.
82647         * math/w_tgammaf.c: Likewise.
82648         * math/w_tgammal.c: Likewise.
82649         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
82650         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82651         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
82652         Minor optimizations.  Pretty printing.  Remove cruft.
82653         * sysdeps/i386/fpu/e_acosf.S: Likewise.
82654         * sysdeps/i386/fpu/e_acosh.S: Likewise.
82655         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
82656         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
82657         * sysdeps/i386/fpu/e_acosl.c: Likewise.
82658         * sysdeps/i386/fpu/e_asin.S: Likewise.
82659         * sysdeps/i386/fpu/e_asinf.S: Likewise.
82660         * sysdeps/i386/fpu/e_atan2.S: Likewise.
82661         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
82662         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
82663         * sysdeps/i386/fpu/e_atanh.S: Likewise.
82664         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
82665         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
82666         * sysdeps/i386/fpu/e_exp10.S: Likewise.
82667         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
82668         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
82669         * sysdeps/i386/fpu/e_exp2.S: Likewise.
82670         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
82671         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
82672         * sysdeps/i386/fpu/e_fmod.S: Likewise.
82673         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
82674         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
82675         * sysdeps/i386/fpu/e_hypot.S: Likewise.
82676         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
82677         * sysdeps/i386/fpu/e_log.S: Likewise.
82678         * sysdeps/i386/fpu/e_log10.S: Likewise.
82679         * sysdeps/i386/fpu/e_log10f.S: Likewise.
82680         * sysdeps/i386/fpu/e_log10l.S: Likewise.
82681         * sysdeps/i386/fpu/e_log2.S: Likewise.
82682         * sysdeps/i386/fpu/e_log2f.S: Likewise.
82683         * sysdeps/i386/fpu/e_log2l.S: Likewise.
82684         * sysdeps/i386/fpu/e_logf.S: Likewise.
82685         * sysdeps/i386/fpu/e_logl.S: Likewise.
82686         * sysdeps/i386/fpu/e_pow.S: Likewise.
82687         * sysdeps/i386/fpu/e_powf.S: Likewise.
82688         * sysdeps/i386/fpu/e_powl.S: Likewise.
82689         * sysdeps/i386/fpu/e_remainder.S: Likewise.
82690         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
82691         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
82692         * sysdeps/i386/fpu/e_scalb.S: Likewise.
82693         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
82694         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
82695         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
82696         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
82697         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
82698         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
82699         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
82700         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82701         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
82702         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
82703         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
82704         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
82705         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
82706         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
82707         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
82708         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
82709         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
82710         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82711         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
82712         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
82713         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82714         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
82715         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
82716         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
82717         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82718         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
82719         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
82720         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
82721         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
82722         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
82723         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
82724         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
82725         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
82726         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
82727         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
82728         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
82729         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
82730         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
82731         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
82732         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
82733         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
82734         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
82735         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
82736         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
82737         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
82738         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
82739         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
82740         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
82741         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
82742         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
82743         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
82744         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
82745         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
82746         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
82747         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
82748         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
82749         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
82750         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
82751         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
82752         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
82753         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
82754         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
82755         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
82756         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
82757         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
82758         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
82759         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
82760         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
82761         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
82762         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
82763         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
82764         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
82765         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
82766         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
82767         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
82768         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
82769         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
82770         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
82771         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
82772         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
82773         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
82774         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
82775         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
82776         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
82777         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
82778         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
82779         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
82780         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
82781         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
82782         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
82783         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
82784         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
82785         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
82786         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
82787         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
82788         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
82789         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
82790         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
82791         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
82792         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
82793         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
82794         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
82795         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
82796         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
82797         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
82798         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
82799         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
82800         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
82801         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
82802         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
82803         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
82804         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
82805         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
82806         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
82807         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
82808         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
82809         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
82810         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
82811         (__isnanf): Likewise.
82812         (__isinf_ns): Likewise.
82813         (__isinf_nsf): Likewise.
82814         (__finite): Likewise.
82815         (__finitef): Likewise.
82816         (__ieee754_sqrt): Define as macro.
82817         (__ieee754_sqrtf): Define as macro.
82818         (__ieee754_sqrtl): Define as macro.
82819         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
82820         inlined copy.
82821         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
82822         __FINITE_MATH_ONLY__ consistent.
82823         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
82825 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
82827         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
82828         of rawmemchr.
82830         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
82832 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
82834         * po/ja.po: Update from translation team.
82836 2011-10-08  Roland McGrath  <roland@hack.frob.com>
82838         * locale/programs/locarchive.c (prepare_address_space): New function.
82839         (create_archive, enlarge_archive, open_archive): Use it.
82841         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
82842         inside [SHARED], where it is used.
82844         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
82846         * nss/getent.c (netgroup_keys): Remove unused variable.
82847         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
82849 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
82851         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
82852         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
82853         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
82854         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
82855         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
82856         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
82857         * math/Makefile (libm-calls): Add s_isinf_ns.
82858         * math/divtc3.c: Use __isinf_nsl instead of isinf.
82859         * math/multc3.c: Likewise.
82860         * math/s_casin.c: Likewise.
82861         * math/s_casinf.c: Likewise.
82862         * math/s_casinl.c: Likewise.
82863         * math/s_ccos.c: Likewise.
82864         * math/s_ccosf.c: Likewise.
82865         * math/s_ccosl.c: Likewise.
82866         * math/s_ctan.c: Likewise.
82867         * math/s_ctanf.c: Likewise.
82868         * math/s_ctanh.c: Likewise.
82869         * math/s_ctanhf.c: Likewise.
82870         * math/s_ctanhl.c: Likewise.
82871         * math/s_ctanl.c: Likewise.
82872         * math/w_fmod.c: Likewise.
82873         * math/w_fmodf.c: Likewise.
82874         * math/w_fmodl.c: Likewise.
82875         * math/w_remainder.c: Likewise.
82876         * math/w_remainderf.c: Likewise.
82877         * math/w_remainderl.c: Likewise.
82878         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
82879         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
82880         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
82881         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
82882         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
82883         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
82884         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
82885         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
82887         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
82888         of the number.
82889         * stdio-common/printf_fphex.c: Likewise.
82890         * stdio-common/printf_size.c: Likewise.
82892         * math/e_exp10.c: Include math_private.h using <...> not "...".
82893         * math/e_exp10f.c: Likewise.
82894         * math/e_exp10l.c: Likewise.
82895         * math/e_exp2l.c: Likewise.
82896         * math/e_j0l.c: Likewise.
82897         * math/e_j1l.c: Likewise.
82898         * math/e_jnl.c: Likewise.
82899         * math/e_lgammal_r.c: Likewise.
82900         * math/e_rem_pio2l.c: Likewise.
82901         * math/e_scalb.c: Likewise.
82902         * math/e_scalbf.c: Likewise.
82903         * math/e_scalbl.c: Likewise.
82904         * math/k_cosl.c: Likewise.
82905         * math/k_sinl.c: Likewise.
82906         * math/k_tanl.c: Likewise.
82907         * math/s_cacoshf.c: Likewise.
82908         * math/s_catan.c: Likewise.
82909         * math/s_catanf.c: Likewise.
82910         * math/s_catanh.c: Likewise.
82911         * math/s_catanhf.c: Likewise.
82912         * math/s_catanhl.c: Likewise.
82913         * math/s_catanl.c: Likewise.
82914         * math/s_ccosh.c: Likewise.
82915         * math/s_ccoshf.c: Likewise.
82916         * math/s_ccoshl.c: Likewise.
82917         * math/s_cexp.c: Likewise.
82918         * math/s_cexpf.c: Likewise.
82919         * math/s_cexpl.c: Likewise.
82920         * math/s_clog.c: Likewise.
82921         * math/s_clog10.c: Likewise.
82922         * math/s_clog10f.c: Likewise.
82923         * math/s_clog10l.c: Likewise.
82924         * math/s_clogf.c: Likewise.
82925         * math/s_clogl.c: Likewise.
82926         * math/s_csin.c: Likewise.
82927         * math/s_csinf.c: Likewise.
82928         * math/s_csinh.c: Likewise.
82929         * math/s_csinhf.c: Likewise.
82930         * math/s_csinhl.c: Likewise.
82931         * math/s_csinl.c: Likewise.
82932         * math/s_csqrt.c: Likewise.
82933         * math/s_csqrtf.c: Likewise.
82934         * math/s_csqrtl.c: Likewise.
82935         * math/s_ctan.c: Likewise.
82936         * math/s_ctanf.c: Likewise.
82937         * math/s_ctanh.c: Likewise.
82938         * math/s_ctanhf.c: Likewise.
82939         * math/s_ctanhl.c: Likewise.
82940         * math/s_ctanl.c: Likewise.
82941         * math/s_ldexp.c: Likewise.
82942         * math/s_ldexpf.c: Likewise.
82943         * math/s_ldexpl.c: Likewise.
82944         * math/s_significand.c: Likewise.
82945         * math/s_significandf.c: Likewise.
82946         * math/s_significandl.c: Likewise.
82947         * math/w_acos.c: Likewise.
82948         * math/w_acosf.c: Likewise.
82949         * math/w_acosh.c: Likewise.
82950         * math/w_acoshf.c: Likewise.
82951         * math/w_acoshl.c: Likewise.
82952         * math/w_acosl.c: Likewise.
82953         * math/w_asin.c: Likewise.
82954         * math/w_asinf.c: Likewise.
82955         * math/w_asinl.c: Likewise.
82956         * math/w_atan2.c: Likewise.
82957         * math/w_atan2f.c: Likewise.
82958         * math/w_atan2l.c: Likewise.
82959         * math/w_atanh.c: Likewise.
82960         * math/w_atanhf.c: Likewise.
82961         * math/w_atanhl.c: Likewise.
82962         * math/w_cosh.c: Likewise.
82963         * math/w_coshf.c: Likewise.
82964         * math/w_coshl.c: Likewise.
82965         * math/w_dremf.c: Likewise.
82966         * math/w_exp10.c: Likewise.
82967         * math/w_exp10f.c: Likewise.
82968         * math/w_exp10l.c: Likewise.
82969         * math/w_exp2.c: Likewise.
82970         * math/w_exp2f.c: Likewise.
82971         * math/w_fmod.c: Likewise.
82972         * math/w_fmodf.c: Likewise.
82973         * math/w_fmodl.c: Likewise.
82974         * math/w_hypot.c: Likewise.
82975         * math/w_hypotf.c: Likewise.
82976         * math/w_hypotl.c: Likewise.
82977         * math/w_j0.c: Likewise.
82978         * math/w_j0f.c: Likewise.
82979         * math/w_j0l.c: Likewise.
82980         * math/w_j1.c: Likewise.
82981         * math/w_j1f.c: Likewise.
82982         * math/w_j1l.c: Likewise.
82983         * math/w_jn.c: Likewise.
82984         * math/w_jnf.c: Likewise.
82985         * math/w_jnl.c: Likewise.
82986         * math/w_lgamma.c: Likewise.
82987         * math/w_lgamma_r.c: Likewise.
82988         * math/w_lgammaf.c: Likewise.
82989         * math/w_lgammaf_r.c: Likewise.
82990         * math/w_lgammal.c: Likewise.
82991         * math/w_lgammal_r.c: Likewise.
82992         * math/w_log.c: Likewise.
82993         * math/w_log10.c: Likewise.
82994         * math/w_log10f.c: Likewise.
82995         * math/w_log10l.c: Likewise.
82996         * math/w_log2.c: Likewise.
82997         * math/w_log2f.c: Likewise.
82998         * math/w_log2l.c: Likewise.
82999         * math/w_logf.c: Likewise.
83000         * math/w_logl.c: Likewise.
83001         * math/w_pow.c: Likewise.
83002         * math/w_powf.c: Likewise.
83003         * math/w_powl.c: Likewise.
83004         * math/w_remainder.c: Likewise.
83005         * math/w_remainderf.c: Likewise.
83006         * math/w_remainderl.c: Likewise.
83007         * math/w_scalb.c: Likewise.
83008         * math/w_scalbf.c: Likewise.
83009         * math/w_scalbl.c: Likewise.
83010         * math/w_sinh.c: Likewise.
83011         * math/w_sinhf.c: Likewise.
83012         * math/w_sinhl.c: Likewise.
83013         * math/w_sqrt.c: Likewise.
83014         * math/w_sqrtf.c: Likewise.
83015         * math/w_sqrtl.c: Likewise.
83016         * math/w_tgamma.c: Likewise.
83017         * math/w_tgammaf.c: Likewise.
83018         * math/w_tgammal.c: Likewise.
83020         * po/ja.po: Update from translation team.
83022 2011-09-29  Andreas Jaeger  <aj@suse.de>
83024         [BZ #13179]
83025         * sunrpc/netname.c (netname2host): Fix logic.
83027         [BZ #6779]
83028         [BZ #6783]
83029         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
83030         correctly.
83031         * math/w_remainder.c (__remainder): Likewise.
83032         * math/w_remainderf.c (__remainderf): Likewise.
83033         * math/libm-test.inc (remainder_test): Add test cases.
83035 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83037         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
83038         sdiv_qrnnd.
83040 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
83042         * string/test-memcmp.c: Avoid unncessary #defines.
83043         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
83045 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83047         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
83048         Use new sse2 version for core i3 - i7 as it's faster
83049         than sse42 version.
83050         (bit_Prefer_PMINUB_for_stringop): New.
83051         * sysdeps/x86_64/rawmemchr.S: Update.
83052         Replace with faster SSE2 version.
83053         * sysdeps/x86_64/memrchr.S: New file.
83054         * sysdeps/x86_64/memchr.S: Update.
83055         Replace with faster SSE2 version.
83057 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
83059         * elf/dl-load.c (lose): Add cast to avoid warning.
83061 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
83063         * po/ca.po: Update from translation team.
83065         * inet/getnetgrent_r.c: Hook up nscd.
83066         * nscd/Makefile (routines): Add nscd_netgroup.
83067         (nscd-modules): Add netgroupcache.
83068         (CFLAGS-netgroupcache.c): Define.
83069         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
83070         (cache_search): Add const to second parameter.
83071         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
83072         INNETGR.
83073         (dbs): Add netgrdb entry.
83074         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
83075         (verify_persistent_db): Handle netgrdb.
83076         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
83077         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
83078         GETFDNETGR.
83079         (netgroup_response_header): Define.
83080         (innetgroup_response_header): Define.
83081         (datahead): Add netgroup_response_header and innetgroup_response_header
83082         elements.
83083         * nscd/nscd.conf: Add entries for netgroup cache.
83084         * nscd/nscd.h (dbtype): Add netgrdb.
83085         (_PATH_NSCD_NETGROUP_DB): Define.
83086         (netgroup_iov_disabled): Declare.
83087         (xmalloc, xcalloc, xrealloc): Move declarations here.
83088         (cache_search): Adjust prototype.
83089         Add netgroup-related prototypes.
83090         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
83091         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
83092         (__nscd_innetgr): Declare.
83093         * nscd/selinux.c (perms): Use access_vector_t as element type and
83094         add netgroup-related initializers.
83095         * nscd/netgroupcache.c: New file.
83096         * nscd/nscd_netgroup.c: New file.
83097         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
83098         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
83099         For four parameters use innetgr.
83100         * nss/nss_files/files-init.c: Add definition and callback for netgr.
83101         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
83102         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
83103         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
83105         * nscd/connections.c (register_traced_file): Don't register file
83106         for disabled databases.
83108 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
83110         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
83112         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
83113         from tree and freeing node.
83115 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
83117         * nss/nsswitch.c (__nss_database_lookup): Handle
83118         nss_parse_service_list out of memory case.
83120 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
83122         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
83123         out of memory case.
83125 2011-10-04  Andreas Schwab  <schwab@redhat.com>
83127         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
83128         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
83129         pass it down.
83130         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
83131         elf_machine_rela, elf_machine_lazy_rel.
83132         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
83133         (ELF_DYNAMIC_DO_REL): Likewise.
83134         (ELF_DYNAMIC_DO_RELA): Likewise.
83135         (ELF_DYNAMIC_RELOCATE): Likewise.
83136         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
83137         to ELF_DYNAMIC_DO_REL.
83138         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
83139         (dl_main): In trace mode always set __RTLD_NOIFUNC.
83140         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
83141         elf_machine_rela.
83142         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
83143         skip_ifunc, don't call ifunc function if non-zero.
83144         (elf_machine_rela): Likewise.
83145         (elf_machine_lazy_rel): Likewise.
83146         (elf_machine_lazy_rela): Likewise.
83147         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
83148         (elf_machine_lazy_rel): Likewise.
83149         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
83150         Likewise.
83151         (elf_machine_lazy_rel): Likewise.
83152         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
83153         Likewise.
83154         (elf_machine_lazy_rel): Likewise.
83155         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
83156         (elf_machine_lazy_rel): Likewise.
83157         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
83158         (elf_machine_lazy_rel): Likewise.
83159         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
83160         (elf_machine_lazy_rel): Likewise.
83161         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
83162         (elf_machine_lazy_rel): Likewise.
83163         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
83164         (elf_machine_lazy_rel): Likewise.
83165         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
83166         (elf_machine_lazy_rel): Likewise.
83168 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
83170         * nss/nss_files/files-init.c (_nss_files_init): Use static
83171         initialization for all the *_traced_file variables.
83173 2011-09-28  Andreas Schwab  <schwab@redhat.com>
83175         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83177 2011-09-27  Roland McGrath  <roland@hack.frob.com>
83179         [BZ #13226]
83180         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
83182 2011-09-27  Andreas Schwab  <schwab@redhat.com>
83184         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
83185         Reread the line before reparsing it.
83187 2011-09-26  Andreas Schwab  <schwab@redhat.com>
83189         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
83191 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
83192             Maxim Kuvyrkov  <maxim@codesourcery.com>
83193             Joseph Myers  <joseph@codesourcery.com>
83195         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
83196         if needed for __stack_chk_guard.
83198 2011-09-19  Roland McGrath  <roland@hack.frob.com>
83200         * sysdeps/posix/spawni.c (script_execute): Always define it.
83201         It will be optimized away if unused.
83202         (maybe_script_execute): New function.
83203         (__spawni): Call it.
83205         * Makerules: Don't include tls.make.
83206         (config-tls): Always set to thread.
83207         * tls.make.c: File removed.
83209 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
83211         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
83212         * config.make.in (CPPFLAGS-config): New substituted variable.
83214 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
83216         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
83218         [BZ #13192]
83219         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
83220         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
83222 2011-09-15  Roland McGrath  <roland@hack.frob.com>
83224         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
83225         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
83226         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
83227         (CALL_FAIL): Likewise.
83228         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
83229         (CALL_FAIL): Macro removed.
83230         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
83232 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
83234         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
83235         for __FINITE_MATH_ONLY__ == 1.
83237 2011-09-15  Andreas Schwab  <schwab@redhat.com>
83239         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
83240         __ieee754_sqrt instead of sqrt.
83241         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
83242         __ieee754_sqrtf instead of sqrtf.
83243         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
83244         __floorf instead of floorf.
83245         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
83246         __floorf, __truncf instead of floorf, truncf.
83248 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
83250         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
83252         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
83253         __extern_always_inline.
83254         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
83255         32-bit.
83257 2011-09-14  Andreas Schwab  <schwab@redhat.com>
83259         * elf/rtld.c (dl_main): Also relocate in dependency order when
83260         doing symbol dependency testing.
83262 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
83264         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
83265         Always define `refsym'.
83267 2011-09-13  Andreas Schwab  <schwab@redhat.com>
83269         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
83270         (__FD_ELT): Renamed from __FDELT.
83271         * misc/bits/select2.h (__FD_ELT): Likewise.
83272         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
83273         __FD_MASK instead of __FDELT, __FDMASK.
83274         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
83275         Likewise.
83276         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
83277         Likewise.
83279         * elf/Makefile (gen-ldd): Fix pattern.
83281         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
83282         (init_tls): Likewise.
83284 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
83286         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
83288 2011-09-12  Andreas Schwab  <schwab@redhat.com>
83290         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
83291         `struct cmsghdr *' instead of `void *'.
83292         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
83293         Likewise.
83295 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
83297         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
83298         if non-absolute.
83299         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
83300         ldd_rewrite_script.
83302 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
83304         * configure.in: Remove --with-tls option.
83305         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
83306         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
83307         out in case it is missing.
83308         * sysdeps/ia64/elf/configure.in: Likewise.
83309         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
83310         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
83311         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
83312         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
83313         * sysdeps/sh/elf/configure.in: Likewise.
83314         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
83315         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
83316         * sysdeps/x86_64/elf/configure.in: Likewise.
83317         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
83318         * sysdeps/mach/hurd/tls.h: Likewise.
83320         [BZ #13067]
83321         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
83323         [BZ #13090]
83324         * configure.in: Fix use of AC_INIT.
83326         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
83328 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
83330         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
83331         __set_errno.
83332         * malloc/hooks.c: Likewise.
83334         [BZ #11929]
83335         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
83336         variables statically.
83337         (narenas): Initialize.
83338         (list_lock): Initialize.
83339         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
83340         initializtion of main_arena and list_lock.  Small cleanups.
83341         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
83342         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
83343         Add initializers to main_arena and mp_.
83344         (malloc_state): Remove pagesize member.  Change all users to use
83345         GLRO(dl_pagesize).
83347         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
83348         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
83349         is always initialized.
83351         * malloc/malloc.c: Removed unused configurations and dead code.
83352         * malloc/arena.c: Likewise.
83353         * malloc/hooks.c: Likewise.
83354         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
83356         * include/tls.h: Removed.  USE___THREAD must always be defined.
83357         * bits/libc-tsd.h: Don't handle !USE___THREAD.
83358         * elf/dl-libc.c: Likewise.
83359         * elf/dl-tsd.c: Likewise.
83360         * include/errno.h: Likewise.
83361         * include/netdb.h: Likewise.
83362         * include/resolv.h: Likewise.
83363         * inet/herrno-loc.c: Likewise.
83364         * inet/herrno.c: Likewise.
83365         * malloc/arena.c: Likewise.
83366         * malloc/hooks.c: Likewise.
83367         * malloc/malloc.c: Likewise.
83368         * resolv/res-state.c: Likewise.
83369         * resolv/res_libc.c: Likewise.
83370         * sysdeps/i386/dl-machine.h: Likewise.
83371         * sysdeps/ia64/dl-machine.h: Likewise.
83372         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
83373         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
83374         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
83375         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
83376         * sysdeps/sh/dl-machine.h: Likewise.
83377         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
83378         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
83379         * sysdeps/unix/i386/sysdep.S: Likewise.
83380         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
83381         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
83382         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
83383         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
83384         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
83385         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
83386         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
83387         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
83388         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
83389         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
83390         * sysdeps/unix/x86_64/sysdep.S: Likewise.
83391         * sysdeps/x86_64/dl-machine.h: Likewise.
83392         * tls.make.c: Likewise.
83394         * configure.in: Remove --with-__thread option.  Make tests for
83395         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
83396         tls_model attribute fail if no support is available.  Remove
83397         USE_IN_LIBIO.
83398         * Makeconfig: Adjust for dropped configure option.  All features are
83399         now mandatory.
83400         * Makerules: Likewise.
83401         * Versions.def: Likewise.
83402         * argp/argp-fmtstream.c: Likewise.
83403         * argp/argp-fmtstream.h: Likewise.
83404         * argp/argp-help.c: Likewise.
83405         * assert/assert.c: Likewise.
83406         * config.h.in: Likewise.
83407         * config.make.in: Likewise.
83408         * configure: Likewise.
83409         * configure.in: Likewise.
83410         * csu/Versions: Likewise.
83411         * csu/init.c: Likewise.
83412         * elf/tst-audit2.c: Likewise.
83413         * elf/tst-tls10.c: Likewise.
83414         * elf/tst-tls10.h: Likewise.
83415         * elf/tst-tls11.c: Likewise.
83416         * elf/tst-tls12.c: Likewise.
83417         * elf/tst-tls14.c: Likewise.
83418         * elf/tst-tlsmod11.c: Likewise.
83419         * elf/tst-tlsmod12.c: Likewise.
83420         * elf/tst-tlsmod13.c: Likewise.
83421         * elf/tst-tlsmod13a.c: Likewise.
83422         * elf/tst-tlsmod14a.c: Likewise.
83423         * elf/tst-tlsmod15b.c: Likewise.
83424         * elf/tst-tlsmod16a.c: Likewise.
83425         * elf/tst-tlsmod16b.c: Likewise.
83426         * elf/tst-tlsmod7.c: Likewise.
83427         * elf/tst-tlsmod8.c: Likewise.
83428         * elf/tst-tlsmod9.c: Likewise.
83429         * gmon/gmon.c: Likewise.
83430         * grp/fgetgrent_r.c: Likewise.
83431         * grp/putgrent.c: Likewise.
83432         * hurd/fopenport.c: Likewise.
83433         * include/libc-symbols.h: Likewise.
83434         * include/tls.h: Likewise.
83435         * intl/gettextP.h: Likewise.
83436         * intl/loadinfo.h: Likewise.
83437         * locale/global-locale.c: Likewise.
83438         * locale/localeinfo.h: Likewise.
83439         * mach/devstream.c: Likewise.
83440         * malloc/arena.c: Likewise.
83441         * malloc/set-freeres.c: Likewise.
83442         * misc/err.c: Likewise.
83443         * misc/getttyent.c: Likewise.
83444         * misc/mntent_r.c: Likewise.
83445         * posix/getopt.c: Likewise.
83446         * posix/wordexp.c: Likewise.
83447         * pwd/fgetpwent_r.c: Likewise.
83448         * resolv/Versions: Likewise.
83449         * resolv/res_hconf.c: Likewise.
83450         * shadow/fgetspent_r.c: Likewise.
83451         * shadow/putspent.c: Likewise.
83452         * stdio-common/printf_fphex.c: Likewise.
83453         * stdio-common/tmpfile.c: Likewise.
83454         * stdlib/abort.c: Likewise.
83455         * stdlib/fmtmsg.c: Likewise.
83456         * sunrpc/auth_unix.c: Likewise.
83457         * sunrpc/clnt_perr.c: Likewise.
83458         * sunrpc/clnt_tcp.c: Likewise.
83459         * sunrpc/clnt_udp.c: Likewise.
83460         * sunrpc/clnt_unix.c: Likewise.
83461         * sunrpc/openchild.c: Likewise.
83462         * sunrpc/svc_simple.c: Likewise.
83463         * sunrpc/svc_tcp.c: Likewise.
83464         * sunrpc/svc_udp.c: Likewise.
83465         * sunrpc/svc_unix.c: Likewise.
83466         * sunrpc/xdr.c: Likewise.
83467         * sunrpc/xdr_array.c: Likewise.
83468         * sunrpc/xdr_rec.c: Likewise.
83469         * sunrpc/xdr_ref.c: Likewise.
83470         * sunrpc/xdr_stdio.c: Likewise.
83472 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
83474         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83476 2011-07-03  Andreas Jaeger  <aj@suse.de>
83478         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
83479         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
83480         regenerate with gen-libm-tests.pl.
83482 2010-05-12  Petr Baudis  <pasky@suse.cz>
83484         [BZ #11589]
83485         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
83486         around j0() zero points by switching to j1().
83487         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
83488         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
83489         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
83490         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
83492 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
83494         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
83495         instead of 0.
83496         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
83497         instead of 0.
83498         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83499         Patch in part by Pavel Roskin <proski@gnu.org>.
83501         [BZ #13138]
83502         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
83503         realloc.
83504         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
83505         Free memory block if necessary.
83507         [BZ #12847]
83508         * libio/genops.c (INTDEF): For string streams the _lock pointer can
83509         be NULL.  Don't lock in this case.
83511 2011-09-09  Roland McGrath  <roland@hack.frob.com>
83513         * elf/elf.h (ELFOSABI_GNU): New macro.
83514         (ELFOSABI_LINUX): Define to that.
83516 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
83518         * string/strncat.c (strncat): Undef the symbol in case it has been
83519         defined in bits/string.h.
83521 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
83523         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
83525         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
83526         link map.
83528 2011-08-17  Andreas Jaeger  <aj@suse.de>
83530         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
83532 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
83533             Ian Lance Taylor  <iant@google.com>
83535         * math/libm-test.inc (lround_test): New testcase.
83536         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
83538 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
83540         * Makefile: Remove support for automatic cvs check-ins.
83541         * Makerules: Likewise.
83542         * config.make.in: Likewise.
83543         * configure.in: Likewise.
83544         * intl/Makefile: Likewise.
83545         * locale/Makefile: Likewise.
83546         * po/Makefile: Likewise.
83547         * posix/Makefile: Likewise.
83548         * sysdeps/gnu/Makefile: Likewise.
83549         * sysdeps/mach/hurd/Makefile: Likewise.
83550         * sysdeps/sparc/sparc32/Makefile: Likewise.
83552         [BZ #13118]
83553         * posix/Makefile (bug-regex32-ENV): Define.
83554         Patch by John Stanley <jpsinthemix@verizon.net>.
83556         * misc/Makefile (headers): Add bits/select2.h.
83557         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
83558         * misc/bits/select2.h: New file.
83559         * include/bits/select2.h: New file.
83560         * debug/Makefile (routines): Add fdelt_chk.
83561         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
83562         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
83563         FD_ISSET.
83564         * debug/fdelt_chk.c: New file.
83566         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
83567         * wcsmbs/test-wmemcmp.c: Likewise.
83568         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
83569         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
83571 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83573         * string/Makefile (strop-tests): Add memcmp.
83574         * string/test-wmemcmp.c: New file.
83575         * string/test-memcmp.c: Add wmemcmp support.
83577 2011-09-08  Roland McGrath  <roland@hack.frob.com>
83579         [BZ #13153]
83580         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
83581         2011-07-19 change.
83583         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
83584         garbage value in a __mach_port_mod_refs call in the cases of the
83585         task-self and thread-self ports.
83587 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83589         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
83591 2011-09-08  Andreas Schwab  <schwab@redhat.com>
83593         * elf/dl-load.c (lose): Check for non-null L.
83595 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
83597         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
83599         * elf/dl-libc.c (dlerror_run): Pass back error code from
83600         dl_catch_error.
83602         [BZ #13123]
83603         * elf/dl-load.c (lose): Free l_origin if it is valid.
83605         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
83606         names.
83607         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
83608         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
83609         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
83610         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
83611         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
83612         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
83614 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83616         * sysdeps/powerpc/fpu/e_hypot.c: New file.
83617         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
83618         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
83619         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
83620         * sysdeps/powerpc/fpu/k_cosf.c: New file.
83621         * sysdeps/powerpc/fpu/k_sinf.c: New file.
83622         * sysdeps/powerpc/fpu/s_cosf.c: New file.
83623         * sysdeps/powerpc/fpu/s_sinf.c: New file.
83624         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
83625         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
83627 2011-08-15  Alan Modra  <amodra@gmail.com>
83629         [BZ #13092]
83630         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
83631         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
83632         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
83633         ppc_mcount to static-only-routines.
83634         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
83635         __mcount_internal.
83636         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
83637         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
83639 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
83641         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
83642         for finite and infinity parameters.
83644 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
83646         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
83647         and add nop instructions for throughput optimization.
83648         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
83650 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
83652         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
83653         aligned copy for power7 with vector-scalar instructions.
83654         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
83656 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
83658         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
83659         AVX check.
83661 2011-09-07  Andreas Schwab  <schwab@redhat.com>
83663         [BZ #13144]
83664         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
83665         last change.
83667 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
83669         * sysdeps/unix/sysv/linux/x86_64/init-first.c
83670         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
83671         syscall wrapper around clock_gettime in __vdso_clock_gettime.
83672         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
83673         clock_gettime.
83675 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
83677         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
83678         Forgot to demangle the pointer.
83680         * sysdeps/i386/sysdep.h: Define atom_text_section.
83681         * sysdeps/x86_64/sysdep.h: Likewise.
83682         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
83683         section with atom_text_section.
83684         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
83685         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
83686         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
83687         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
83688         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
83690         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
83691         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
83692         already be defined.  Change to take two parameters and don't assign
83693         result to variable.  Adjust all users.
83694         Define INTERNAL_GETTIME if not already defined.
83695         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
83696         call.
83697         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
83698         HAVE_CLOCK_GETTIME_VSYSCALL.
83699         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
83701         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
83702         gettimeofday vsyscall, just use time.
83704 2011-09-06  Andreas Schwab  <schwab@redhat.com>
83706         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
83707         <errno.h>.
83709 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
83711         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
83712         syscall on x86-64.
83713         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
83714         syscall.
83715         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
83716         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
83717         syscall if possible.
83719 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
83721         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
83722         e_ident.  Don't pass to find_mapsXX.
83723         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
83725 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
83727         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83728         strchr-sse2-no-bsf strrchr-sse2-no-bsf
83729         * sysdeps/x86_64/multiarch/strchr.S: Update.
83730         Check bit_slow_BSF bit.
83731         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
83732         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
83733         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
83735 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
83737         [BZ #13134]
83738         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
83739         before glibc 2.15.
83740         (tryshell): Define.
83741         (__spawni): Change last parameter to be flag.  Test
83742         SPAWN_XFLAGS_USE_PATH flag to use path or not.
83743         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
83744         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
83745         * posix/spawni.c: Likewise.
83746         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
83747         * posix/spawnp.c: Likewise.  Change normal version to use
83748         SPAWN_XFLAGS_USE_PATH.
83749         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
83750         SPAWN_XFLAGS_TRY_SHELL.
83752         [BZ #13150]
83753         * posix/glob.h: Remove gcc 1.x support.
83755         [BZ #13068]
83756         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
83758 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
83760         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83761         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
83762         strrchr-sse2-bsf
83763         * sysdeps/i386/i686/multiarch/strchr.S: New file.
83764         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
83765         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
83766         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
83767         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
83768         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
83770 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83772         * sysdeps/x86_64/wcscmp.S: New file.
83774         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
83775         wcscmp-c wcscmp-sse2
83776         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
83777         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
83778         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
83779         * wcsmbs/wcscmp.c: Allow renaming.
83781 2011-09-05  David S. Miller  <davem@davemloft.net>
83783         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
83784         stack slot, rather than the struct return pointer slot.
83785         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
83786         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
83787         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
83788         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
83790 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
83792         * po/ja.po: Update from translation team.
83794         [BZ #13144]
83795         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
83796         kernel in 64-bit binaries.
83798 2011-09-01  David S. Miller  <davem@davemloft.net>
83800         * elf/elf.h (HWCAP_SPARC_*): Move to..
83801         * sysdeps/sparc/sysdep.h: this new file and add new values.
83802         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
83803         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
83804         _DL_HWCAP_COUNT to 24.
83805         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
83806         entries.
83807         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
83808         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
83809         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
83810         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
83811         instead of magic constants.
83812         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
83814 2011-08-31  David S. Miller  <davem@davemloft.net>
83816         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
83817         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
83818         Reimplement to do errno handling inline.
83819         (SYSCALL_ERROR_HANDLER): New macro.
83820         (__SYSCALL_STRING): Do not do errno handling in asm.
83821         (__CLONE_SYSCALL_STRING): Delete.
83822         (__INTERNAL_SYSCALL_STRING): Delete.
83823         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
83824         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
83825         (PSEUDO): Reimplement to do errno handling inline.
83826         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
83827         (SYSCALL_ERROR_HANDLER): New macro.
83828         (__SYSCALL_STRING): Do not do errno handling in asm.
83829         (__CLONE_SYSCALL_STRING): Delete.
83830         (__INTERNAL_SYSCALL_STRING): Delete.
83831         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
83832         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
83833         i386.
83834         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
83835         (inline_syscall*): Add 'err' argument.
83836         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
83837         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
83838         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
83839         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
83841         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
83842         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
83844 2011-08-30  Andreas Schwab  <schwab@redhat.com>
83846         * elf/rtld.c (dl_main): Relocate objects in dependency order.
83848 2011-08-29  Jiri Olsa <jolsa@redhat.com>
83850         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
83851         directive.
83853 2011-08-24  David S. Miller  <davem@davemloft.net>
83855         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
83857 2011-08-24  Andreas Schwab  <schwab@redhat.com>
83859         * elf/Makefile: Add rules to build and run unload8 test.
83860         * elf/unload8.c: New file.
83861         * elf/unload8mod1.c: New file.
83862         * elf/unload8mod1x.c: New file.
83863         * elf/unload8mod2.c: New file.
83864         * elf/unload8mod3.c: New file.
83866         * elf/dl-close.c (_dl_close_worker): Reset private search list if
83867         it wasn't used.
83869 2011-08-23  David S. Miller  <davem@davemloft.net>
83871         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
83872         subtract stack bias.
83873         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
83874         %sp not %fp in calculations.
83875         (_JMPBUF_UNWINDS_ADJ): Likewise.
83877         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
83878         (aio_suspend): Call it to force an exception region around the
83879         AIO_MISC_WAIT() invocation.
83881 2011-08-23  Andreas Schwab  <schwab@redhat.com>
83883         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
83884         backslash.
83886 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
83888         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
83889         protection macro.
83890         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
83891         and <dl-machine.h>.
83892         (Elf64_FuncDesc): Remove.
83894 2011-08-22  David S. Miller  <davem@davemloft.net>
83896         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
83897         sigaltstack check, add missing cfi directives.
83898         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
83899         missing cfi directives, and sigaltstack handling.
83901 2011-08-16  Andreas Schwab  <schwab@redhat.com>
83903         [BZ #11724]
83904         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
83905         object is seen twice.
83906         * elf/dl-fini.c (_dl_sort_fini): Likewise.
83908         * elf/Makefile (distribute): Add tst-initorder2.c.
83909         (tests): Add tst-initorder2.
83910         (modules-names): Add tst-initorder2a tst-initorder2b
83911         tst-initorder2c tst-initorder2d.  Add rules to build them.
83912         ($(objpfx)tst-initorder2.out): New rule.
83913         * elf/tst-initorder2.c: New file.
83914         * elf/tst-initorder2.exp: New file.
83916 2011-08-22  Andreas Schwab  <schwab@redhat.com>
83918         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
83920         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
83921         dependencies back to end of function.
83923         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
83924         $(elfobjdir)/ld.so.
83926 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
83928         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
83929         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
83930         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
83931         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
83932         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
83933         of __vdso_gettimeofday.
83934         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
83935         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
83936         attribute_hidden.
83937         (_libc_vdso_platform_setup): Remove initialization of
83938         __vdso_gettimeofday and __vdso_time.
83940 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
83942         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
83943         and fgetc_unlocked.
83944         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
83945         getc_unlocked.
83947         * elf/dl-open.c (add_to_global): Report additions to the global scope
83948         for LD_DEBUG=scopes.
83949         (dl_open_worker): Also print scope of newly loaded dependencies.
83950         (_dl_show_scope): Indicate if there is no scope.
83952         [BZ #13114]
83953         * stdio-common/Makefile (tests): Add bug24.
83954         * stdio-common/bug24.c: New file.
83956 2011-08-19  Andreas Jaeger  <aj@suse.de>
83958         [BZ #13114]
83959         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
83960         non-existant file when using close-on-exec mode.
83962 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
83964         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
83965         the very first instruction.
83967         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
83968         the CFI state in the end.
83969         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
83970         inclusion of dl-trampoline.h.
83971         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
83973 2011-08-19  Andreas Schwab  <schwab@redhat.com>
83975         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
83976         expectations for long double.
83978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
83979         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
83981 2011-08-14  David S. Miller  <davem@davemloft.net>
83983         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
83984         artificual limit depends upon the system page size.
83986 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
83988         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
83989         * resolv/Makefile: Define CFLAGS-libresolv.
83991 2011-08-17  Andreas Schwab  <schwab@redhat.com>
83993         * nss/makedb.c (compute_tables): Make variables used in nested
83994         function static.
83996 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
83998         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
83999         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
84000         if buffer was too small.
84002         * elf/pldd.c (main): Attach to all threads in the process.
84003         Rewrite /proc handling to use *at functions.
84005 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
84007         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
84008         specifies first scope to show.
84009         (dl_open_worker): Update callers.  Move printing scope of new
84010         object to before the relocation.
84011         * elf/rtld.c (dl_main): Update _dl_show_scope call.
84012         * sysdeps/generic/ldsodefs.h: Update declaration.
84014         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
84015         string for the scope number.
84017 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
84019         * nscd/servicescache.c (cache_addserv): Make sure written is always
84020         initialized.
84022 2011-08-14  Roland McGrath  <roland@hack.frob.com>
84024         * sysdeps/i386/i486/bits/atomic.h
84025         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
84026         statement expression, so as to suppress "set but not used" warning.
84027         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
84029         * string/strncat.c (STRNCAT): Use prototype definition.
84031         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
84032         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
84033         -Iprograms here.
84034         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
84035         (localedef-modules): Add localedef.
84036         (locale-modules): Add locale.
84038         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
84039         * elf/rtld.c (dl_main): Invert order of assignment in last change,
84040         to avoid a warning.
84042 2011-08-14  David S. Miller  <davem@davemloft.net>
84044         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
84045         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
84047 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
84049         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
84050         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
84051         * elf/rtld.c (dl_main): Set l_name of vDSO.
84052         Call _dl_show_scope when DL_DEBUG_SCOPES.
84053         (process_dl_debug): Recognize scopes flag and also set it for all.
84054         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
84055         Declare _dl_show_scope.
84057         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
84058         (do_dlopen): Pass caller_dlopen to dl_open.
84059         (__libc_dlopen_mode): Initialize caller_dlopen.
84061         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
84062         of libc.  Make tolower call locale-independent.  Optimize a bit by
84063         using isdigit instead of isalnum.
84064         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
84066 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
84068         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
84069         was a dependency or dynamically loaded.
84071 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
84073         * intl/l10nflist.c: Allow architecture-specific pop function.
84074         * sysdeps/x86_64/l10nflist.c: New file.
84076         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
84077         classification.
84079 2011-08-10  Andreas Schwab  <schwab@redhat.com>
84081         * include/dirent.h: Add libc_hidden_proto for scandirat and
84082         scandirat64.  Don't declare __scandirat64.
84083         * dirent/scandirat.c: Add libc_hidden_def.
84084         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
84085         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
84087 2011-08-10  David S. Miller  <davem@davemloft.net>
84089         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
84090         enum.
84091         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
84092         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
84093         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
84095 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
84097         * Versions.def [libc]: Add GLIBC_2.15.
84098         * dirent/Makefile (routines): Add scandirat and scandirat64.
84099         * dirent/Versions [libc]: Export scandirat and scandirat64 for
84100         GLIBC_2.15.
84101         * dirent/dirent.h: Declare scandirat and scandirat64.
84102         * dirent/scandirat.c: New file.
84103         * dirent/scandirat64.c: New file.
84104         * sysdeps/wordsize-64/scandirat.c: New file.
84105         * sysdeps/wordsize-64/scandirat64.c: New file.
84106         * dirent/opendir.c: Define opendirat.
84107         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
84108         using scandirat.
84109         * dirent/scandir64.c: Adjust for scandir.c change.
84110         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
84111         __scandirat64, and __scandir_cancel_handler.
84112         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
84113         additional parameter and use openat instead of open (outside of ld.so).
84114         Add new __opendir as wrapper around __opendirat.
84115         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
84116         here without requiring old scandirat implementation.
84118 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
84120         * dirent/scandir.c (cancel_handler): Renamed to
84121         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
84122         defined.  Adjust users.
84123         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
84124         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
84126 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
84128         * string/test-string.h (IMPL): Use __STRING to expand name and then
84129         stringify it.
84131         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
84132         of cleanups.
84134 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84136         * string/Makefile: Update.
84137         (strop-tests): Append strncat.
84138         * string/test-wcscmp.c: New file.
84139         New comprehensive test for wcscmp.
84140         * string/test-strcmp.c: Update.
84141         (WIDE): New define.
84143 2011-07-22  Andreas Schwab  <schwab@redhat.com>
84145         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
84146         line.
84148 2011-07-26  Andreas Schwab  <schwab@redhat.com>
84150         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
84151         encoding to ACE if AI_IDN.
84153 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
84155         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
84156         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
84158 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84160         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
84161         Fix overflow bug in strncat.
84162         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
84164         * string/test-strncat.c: Update.
84165         Add new tests for checking overflow bugs.
84167 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84169         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84170         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
84171         * sysdeps/i386/i686/multiarch/strcat.S: New file.
84172         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
84173         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
84174         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
84175         * sysdeps/i386/i686/multiarch/strncat.S: New file.
84176         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
84177         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
84179         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
84180         (USE_AS_STRCAT): Define.
84181         Add strcat and strncat support.
84182         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
84184 2011-07-25  Andreas Schwab  <schwab@redhat.com>
84186         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
84187         __n bigger than INT_MAX+1.
84188         (__strncmp_g): Likewise.
84190 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
84192         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
84193         * libio/stido.h: Likewise.
84195         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
84196         (AF_NFC): Define.
84197         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
84198         (AF_NFC): Define.
84200         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
84201         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
84202         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
84203         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
84204         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
84206         [BZ #13021]
84207         * scripts/test-installation.pl: Don't expect libnss_test1 to be
84208         installed.
84210         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
84211         typo.
84212         (_dl_x86_64_save_sse): Likewise.
84214 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
84216         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
84217         OSXSAVE.
84218         (_dl_x86_64_save_sse): Likewise.
84220         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
84222         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
84224 2011-07-21  Andreas Schwab  <schwab@redhat.com>
84226         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
84227         change.
84228         (_dl_x86_64_save_sse): Use correct AVX check.
84230 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84232         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
84233         bug in strncpy/strncat.
84234         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
84236 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
84238         * string/tester.c (test_strcat): Add tests for different alignments
84239         of source and destination.
84240         (test_strncat): Likewise.
84242 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
84244         [BZ #12852]
84245         * posix/glob.c (glob): Check passed in values before using them in
84246         expressions to avoid some overflows.
84247         (glob_in_dir): Likewise.
84249         [BZ #13007]
84250         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
84251         check for AVX enablement so that we don't crash with old kernels and
84252         new hardware.
84253         * elf/tst-audit4.c: Add same checks here.
84254         * elf/tst-audit6.c: Likewise.
84256         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
84258 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
84260         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
84262 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
84264         * po/cs.po: Update from translation team.
84265         * po/bg.po: Likewise.
84267 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
84269         * misc/sys/cdefs.h: Add support for const attribute.
84270         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
84271         to gnu_dev_{major,minor,makedev} functions.
84273 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
84275         * intl/dcigettext.c (get_output_charset): Add missing bracket.
84277 2011-07-20  Andreas Schwab  <schwab@redhat.com>
84279         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
84280         strlen results.
84282 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84284         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
84285         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
84286         register in order to avoid conflicts with the soft frame pointer
84287         being held in r11 when necessary.
84288         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
84289         (INTERNAL_VSYSCALL_NCS): Likewise.
84291 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
84293         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
84294         * elf/dl-fini.c (_dl_fini): Adjust caller.
84295         * elf/dl-close.c (_dl_close_worker): Likewise.
84296         * sysdeps/generic/ldsodefs.h: Adjust declaration.
84298 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
84300         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
84301         "aux_cache->nlibs < 0".
84303         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
84304         in the reload-count case.
84306 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84308         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84309         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
84310         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
84311         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
84312         * sysdeps/x86_64/multiarch/strcat.S: New file.
84313         * sysdeps/x86_64/multiarch/strncat.S: New file.
84314         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
84315         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
84316         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
84317         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
84318         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
84319         (USE_AS_STRCAT): Define.
84320         Add strcat and strncat support.
84321         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
84322         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
84323         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
84324         * string/strncat.c: Update.
84325         (USE_AS_STRNCAT): Define.
84326         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84327         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
84328         and i7.
84329         * sysdeps/x86_64/multiarch/init-arch.h
84330         (bit_Prefer_PMINUB_for_stringop): New.
84331         (index_Prefer_PMINUB_for_stringop): Likewise.
84332         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
84333         bit_Prefer_PMINUB_for_stringop.
84335 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
84337         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
84338         buffer64.
84339         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
84340         of casting of buffer.
84341         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
84342         buffer32 and buffer64.
84343         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
84344         writes instead of casting of buffer.
84345         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
84346         buffer32.
84347         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
84348         casting of buffer.
84350 2011-07-19  Andreas Schwab  <schwab@redhat.com>
84352         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
84354 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
84356         * nscd/nscd.c (termination_handler): Don't do anything for a database
84357         if it has not yet been initialized.
84359 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
84361         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
84363 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
84365         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
84367 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
84369         * po/nl.po: Update from translation team.
84370         * po/sv.po: Likewise.
84372 2011-07-16  Roland McGrath  <roland@hack.frob.com>
84374         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
84375         now disallowed by GCC.
84377         * configure.in (use-default-link): Default to yes if a test -shared
84378         link meets our qualifications.
84379         * configure: Regenerated.
84381         * config.make.in (output-format): New variable.
84382         * configure.in: Check for ld --print-output-format support.
84383         * configure: Regenerated.
84384         * Makerules ($(common-objpfx)format.lds)
84385         [$(output-format) != unknown]: Just use $(output-format),
84386         instead of the linker-script munging.
84388 2011-07-14  Roland McGrath  <roland@hack.frob.com>
84390         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
84391         of $(common-objpfx)shlib.lds.
84392         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
84394         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
84395         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
84397         * configure.in (-z relro check): Adjust test code to add a large
84398         writable data section after it.
84399         * configure: Regenerated.
84401 2011-07-11  Roland McGrath  <roland@hack.frob.com>
84403         * configure.in (-z relro check): Fix test code to make the variable
84404         truly const.
84405         * configure: Regenerated.
84407 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
84409         * nscd/nscd.h (struct traced_file): Define.
84410         (struct database_dyn): Remove inotify_descr, reset_res, and filename
84411         elements.  Add traced_files.
84412         (inotify_fd): Declare.
84413         (register_traced_file): Declare.
84414         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
84415         (inotify_fd): Export.
84416         (resolv_conf_descr): Remove.
84417         (nscd_init): Move inotify descriptor creation to main.
84418         Don't register files for notification here.
84419         (register_traced_file): New function.
84420         (invalidate_cache): Don't use reset_res to determine whether to call
84421         res_init, go through the list of registered files.
84422         (main_loop_poll): The inotify descriptors are now stored in the
84423         structures for the traced files.
84424         (main_loop_epoll): Likewise.
84425         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
84426         to __nss_disable_nscd.
84427         * nscd/cache.c (prune_cache): There is no single inotify descriptor
84428         for a database anymore.  Check the records for all the registered
84429         files instead.
84430         * nss/Makefile (libnss_files-routines): Add files-init.
84431         (libnss_db-routines): Add db-init.
84432         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
84433         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
84434         * nss/nss_db/db-init.c: New file.
84435         * nss/nss_files/files-init.c: New file.
84436         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
84437         __nss_lookup_function.
84438         (__nss_lookup_function): Call nss_load_library.
84439         (nss_load_all_libraries): New function.
84440         (__nss_disable_nscd): Take parameter with callback function for files
84441         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
84442         used for the cached services.
84443         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
84444         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
84445         options for features to all the files in nscd.
84447         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
84449 2011-07-10  Roland McGrath  <roland@hack.frob.com>
84451         * csu/elf-init.c (__libc_csu_init): Comment typo.
84453 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
84455         * po/pl.po: Update from translation team.
84456         * po/ja.po: Likewise.
84457         * po/ru.po: Likewise.
84458         * po/ko.po: Likewise.
84459         * po/fr.po: Likewise.
84461 2011-07-09  Roland McGrath  <roland@hack.frob.com>
84463         * configure.in (.ctors/.dtors header and trailer check):
84464         Use an empirical test on a built program.
84465         * configure: Regenerated.
84467         * configure.in (-z relro check): Use an empirical test on a built DSO.
84468         Detect, but do not require, on ia64.
84469         * configure: Regenerated.
84471         * configure.in (READELF): Find it with AC_CHECK_TOOL.
84472         Update tests that use readelf to use $READELF instead.
84473         * configure: Regenerated.
84475 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
84477         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
84478         if the result is not used.
84480 2011-07-05  Andreas Jaeger  <aj@suse.de>
84482         [BZ#9696]
84483         * stdlib/tst-strtod.c: Add testcase.
84485 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
84487         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
84488         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
84489         The latter has a higher limit.  Take additional parameter to pass to
84490         the new function.
84491         (__pathconf): Pass file to __statfs_link_max.
84492         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
84493         __statfs_link_max.
84494         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
84495         __statfs_link_max.
84497         [BZ #12868]
84498         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
84499         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84500         Handle Lustre.
84501         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
84502         (__statfs_filesize_max): Likewise.
84503         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
84505 2011-07-05  Andreas Jaeger  <aj@suse.de>
84507         * resolv/res_comp.c (dn_skipname): Remove unused variable.
84509 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
84511         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
84512         `status' variable.
84513         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
84514         Likewise.
84516 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
84518         * Makefile (strop-tests): Add strncat.
84519         * string/test-strncat.c: New file.
84521 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
84523         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
84525 2011-06-21  Andreas Jaeger  <aj@suse.de>
84527         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
84528         Copy rule from iconvdata/Makefile.
84530 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
84532         [BZ #12922]
84533         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
84534         but no long options are defined, just return 'W'.
84536 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
84538         [BZ #9696]
84539         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
84541 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
84543         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
84544         netgroups to read.
84545         (innetgr): Likewise.
84547 2011-07-05  Roland McGrath  <roland@hack.frob.com>
84549         * config.make.in (install_root): Default to $(DESTDIR).
84551 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
84553         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
84555 2011-07-02  Roland McGrath  <roland@hack.frob.com>
84557         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
84559         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
84560         containing directory rather than embedding absolute directory names.
84562         * scripts/check-local-headers.sh: Rewritten using awk.
84563         Match by word, not by line.  Print error messages for matches.
84564         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
84566         * Makerules [shlib-lds-flags empty]:
84567         ($(common-objpfx)libc_pic.opts): New target.
84568         ($(common-objpfx)libc_pic.os.clean): New target.
84569         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
84571         * config.make.in (OBJCOPY): New variable.
84572         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
84573         * configure: Regenerated.
84575         * config.make.in (use-default-link): New variable.
84576         * configure.in (use_default_link): Grok --with-default-link to set it.
84577         * configure: Regenerated.
84578         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
84579         (shlib-lds, shlib-lds-flags): Define to empty.
84581         * Makerules (shlib-lds): New variable.
84582         (shlib-lds-flags): New variable.
84583         (build-shlib, build-moduile, build-module-asneeded): Use it.
84584         ($(common-objpfx)libc.so): Use $(shlib-lds).
84585         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
84586         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
84588         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
84589         DT_FLAGS/DT_FLAGS_1 with zero flags.
84591         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
84592         linker script munging.
84594 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
84596         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
84597         as 128-bit value.
84598         * crypt/sha512.c (sha512_process_block): Perform total addition using
84599         128-bit if possible.
84600         (__sha512_finish_ctx): Likewise.
84601         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
84602         as 64-bit value.
84603         * crypt/sha256.c (SWAP64): Define.
84604         (sha256_process_block): Perform total addition using 64-bit if
84605         possible.
84606         (__sha256_finish_ctx): Likewise.
84608 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
84610         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
84611         * nscd/initgrcache.c (addinitgroupsX): Likewise.
84612         * nscd/hstcache.c (cache_addhst): Likewise.
84613         * nscd/grpcache.c (cache_addgr): Likewise.
84614         * nscd/aicache.c (addhstaiX): Likewise.
84615         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
84617 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
84619         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
84620         * nscd/initgrcache.c (addinitgroupsX): Likewise.
84621         * nscd/hstcache.c (cache_addhst): Likewise.
84622         * nscd/grpcache.c (cache_addgr): Likewise.
84623         * nscd/aicache.c (addhstaiX): Likewise.
84625 2011-07-01  Andreas Schwab  <schwab@redhat.com>
84627         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
84628         domain only when needed.
84630 2011-06-30  Andreas Schwab  <schwab@redhat.com>
84632         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
84633         is always restored.
84635 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
84637         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
84638         are re-adding the entry.
84639         * nscd/servicescache.c (cache_addserv): Likewise.
84641 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
84643         * sysdeps/generic/dl-irel.h: fix protection against multiple
84644         inclusions.
84645         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
84647 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
84649         [BZ #12935]
84650         * malloc/memusage.sh: Fix quoting in message.
84651         * debug/xtrace.sh: Likewise.
84653         * configure.in: Remove support for --experimental-malloc option, make
84654         it the default.
84655         * config.make.in: Likewise.
84656         * malloc/Makefile: Likewise.
84658 2011-06-27  Andreas Schwab  <schwab@redhat.com>
84660         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
84661         two-byte characters.
84663 2011-06-27  Roland McGrath  <roland@hack.frob.com>
84665         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
84666         AC_CACHE_CHECK invocation.
84667         * configure: Regenerated.
84669         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
84671 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
84673         [BZ #12350]
84674         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
84675         bit from old_res_options.
84677         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
84679         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
84680         value type for setfct.
84682 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
84684         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
84685         __gettimeofday instead of gettimeofday.
84687 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
84689         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
84691 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
84693         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
84695         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
84696         info.
84698 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
84700         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84701         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
84702         strcpy-sse2-unaligned strncpy-sse2-unaligned
84703         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
84704         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
84705         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
84706         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
84707         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
84708         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
84709         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
84710         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
84711         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
84712         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
84713         (STRCPY): Support SSE2 and SSSE3 versions.
84715 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
84717         [BZ #12874]
84718         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
84719         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
84720         kernels which artificially limit size of requests.
84722 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
84724         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84725         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
84726         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
84727         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
84728         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
84729         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
84730         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
84731         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
84732         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
84733         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
84734         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
84735         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
84736         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
84737         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
84738         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
84739         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84740         Enable unaligned load optimization for Intel Core i3, i5 and i7
84741         processors.
84742         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
84743         Define.
84744         (index_Fast_Unaligned_Load): Define.
84745         (HAS_FAST_UNALIGNED_LOAD): Define.
84747 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
84749         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
84751 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
84753         [BZ #12907]
84754         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
84755         until it is clear that the information is realy needed.
84756         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
84758 2011-06-22  Andreas Schwab  <schwab@redhat.com>
84760         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
84762 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
84764         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
84765         /sys/devices/system/cpu/online if it is usable.
84767         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
84768         reading the information from the /proc filesystem to once a second.
84770 2011-06-21  Andreas Jaeger  <aj@suse.de>
84772         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
84773         NULL after inclusion of kernel headers.
84775 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
84777         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
84778         calls to internal_setent.
84780         [BZ #12885]
84781         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
84782         addresses using gethostbyname4_r ignore IPv4 addresses.
84784         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
84785         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
84787         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
84789 2011-06-20  David S. Miller  <davem@davemloft.net>
84791         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
84792         inclusions.
84793         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
84795         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
84796         (elf_irel): Use it.
84797         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
84798         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
84799         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
84800         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
84801         * sysdeps/x86_64/dl-irel.h: Likewise.
84803         * elf/dl-runtime.c: Use elf_ifunc_invoke.
84804         * elf/dl-sym.c: Likewise.
84806 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
84808         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
84809         need to dereference resplen2.
84811 2011-06-14  Andreas Schwab  <schwab@redhat.com>
84813         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
84815 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
84817         * Makeconfig: Define vardbdir and inst_vardbdir.
84818         * nss/Makefile: Add rules to install db-Makefile.
84820         * nss/nss_db/db-XXX.c: Cleanup.
84822         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
84823         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
84824         GLIBC_PRIVATE.
84825         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
84826         * nss/makedb.c: Implement -g option to specify that value strings
84827         are generated and should not be added to table iterated over for
84828         get*ent calls.
84829         * nss/nss_db/db-initgroups.c: New file.
84831         * nss/getent.c: Add support for initgroups lookups through getgrouplist
84832         interface.
84834         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
84835         (internal_getgrouplist): Adjust to name change.
84836         Update use_initgroups_entry if this is not the first call.
84837         * nss/databases.def: Add initgroups entry.
84839         * nss/makedb.c (compute_tables): Check result of multiple hash table
84840         sizes to minimize maximum chain length.
84842 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
84844         * Versions.def: Add entry for libnss_db.
84845         * shlib-versions: Likewise.
84846         * nss/Makefile: Add rules to build libnss_db.
84847         * nss/Versions: Add libnss_db information.  Organize libnss_files
84848         entries better.
84849         * nss/db-Makefile: Add gshadow support.  Change rules for the new
84850         makedb progra.  Some minor improvements to generate smaller files.
84851         * nss/nss_db/nss_db.h: Move NSS database header data structures to
84852         here from...
84853         * nss/makedb.c: ...here.
84854         Improve database format to be smaller and require less memory at
84855         runtime.
84856         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
84857         db anymore.
84858         * nss/nss_db/db-netgrp.c: Likewise.
84859         * nss/nss_db/db-open.c: Likewise.
84860         * nss/nss_files/flies-XXX.x: Adjust comments.
84861         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
84862         * nss/nss_files/files-grp.c: Likewise.
84863         * nss/nss_files/files-hosts.c: Likewise.
84864         * nss/nss_files/files-network.c: Likewise.
84865         * nss/nss_files/files-proto.c: Likewise.
84866         * nss/nss_files/files-pwd.c: Likewise.
84867         * nss/nss_files/files-rpc.c: Likewise.
84868         * nss/nss_files/files-service.c: Likewise.
84869         * nss/nss_files/files-sgrp.c: Likewise.
84870         * nss/nss_files/files-spwd.c: Likewise.
84871         * nss/nss_db/db-alias.c: Removed.
84872         * nss/nss_db/dummy-db.h: Removed.
84874 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
84876         * nss/makedb.c: Rewritten to not use database library.
84877         * nss/Makefile: Update to build new makedb program.
84879 2011-06-14  Andreas Jaeger  <aj@suse.de>
84881         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
84882         memset declaration.
84884 2011-06-10  Andreas Schwab  <schwab@redhat.com>
84886         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
84887         tmpbuf.
84889 2011-06-10  Roland McGrath  <roland@hack.frob.com>
84891         * Makerules (shlib.lds): Fail if the linker script comes out empty.
84892         * elf/Makefile ($(objpfx)ld.so): Likewise.
84894         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
84895         Don't list ld.so twice in dependencies.
84897         * posix/bug-regex31.c: Include <stdlib.h>.
84899         * nscd/hstcache.c (cache_addhst): Remove unused variable.
84901         * nis/nss_compat/compat-spwd.c
84902         (getspent_next_nss_netgr): Remove unused variable.
84903         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
84905         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
84906         nonmembers" output to use the right array.
84908         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
84910         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
84912         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
84913         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
84914         * catgets/gencat.c (read_input_file): Likewise.
84915         * locale/programs/locarchive.c (enlarge_archive): Likewise.
84917         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
84918         variable definition inside #if's controlling its use.
84920         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
84922         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
84924         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
84926         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
84927         unreachable code.
84929         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
84931         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
84932         * configure: Regenerated.
84934         * Makerules: Revert last change.
84935         * elf/Makefile: Likewise.
84937 2011-06-09  Roland McGrath  <roland@hack.frob.com>
84939         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
84940         * elf/Makefile ($(objpfx)librtld.os): Likewise.
84941         (reloc-link): Likewise.
84943 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
84945         * elf/Makefile: Add rules to build pldd.
84946         * elf/pldd.c: New file.
84947         * elf/pldd-xx.c: New file.
84949 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
84951         * version.h: Update for 2.15 development version.
84953 2011-06-07  David S. Miller  <davem@davemloft.net>
84955         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
84956         ifuncs.
84957         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
84958         elf_machine_lazy_rel): Likewise.
84959         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
84960         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
84961         elf_machine_lazy_rel): Likewise.
84962         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
84963         dl_hwcap via passed in argument.
84964         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
84965         Likewise.
84967 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84969         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
84971 2011-06-06  Roland McGrath  <roland@hack.frob.com>
84973         [BZ #12849]
84974         * manual/fdl-1.1.texi: New file, verbatim from:
84975         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
84976         * manual/lgpl-2.1.texi: New file, verbatim from:
84977         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
84978         * manual/Makefile (licenses): New variable, list those new file names.
84979         (texis): Use it.
84980         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
84982         * manual/fdl.texi: File removed.
84983         * manual/lesser.texi: File removed.
84984         * manual/libc.texinfo (Copying, Documentation License):
84985         Use new @include file names, put @appendix directive before @include.
84987 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
84989         [BZ #12841]
84990         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
84991         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
84992         (mq_open): Add __NTH.
84994 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
84996         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84997         Assume Intel Core i3/i5/i7 processor if AVX is available.
84999 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
85001         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
85002         typo.
85004 2011-05-31  Andreas Schwab  <schwab@redhat.com>
85006         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
85007         memory.  Use alloca_account.  Fix memory leak when retrying.
85009 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
85011         * version.h (RELEASE): Bump for 2.14 release.
85012         * include/features.h (__GLIBC_MINOR__): Bump to 14.
85014         * config.make.in (RANLIB): Remove entry.
85016 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
85018         * po/Makefile (po-sed-cmd): Add ksh to extensions.
85019         (libc.pot): Work around missing support for .ksh extension in xgettext.
85021         [BZ #12684]
85022         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
85023         if both request failed.
85024         (send_dg): In case of server errors clear resplen or *resplen2.
85026         [BZ #12454]
85027         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
85028         when there are multiple maps.
85029         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
85030         (_dl_fini): Remove test here.
85032         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
85034 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
85036         [BZ #12350]
85037         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
85038         bit from old_res_options.
85039         (gaih_inet): Likewise.
85041         [BZ #11099]
85042         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
85043         as signed.
85045         * resolv/res_init.c (res_setoptions): Make the code more compact.
85047         [BZ #11558]
85048         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
85049         set RES_USEVC.
85051         [BZ #11634]
85052         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
85054         * malloc/malloc.h: Mark malloc hook variables as deprecated.
85056         [BZ #11781]
85057         * malloc/malloc.h: Declare malloc hook variables as volatile.
85059         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
85060         in last patch.
85062         [BZ #11799]
85063         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
85064         raise in the comment.
85065         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
85066         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
85067         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
85069 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
85071         [BZ #12811]
85072         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
85073         grow the buffers more if it already has to be sufficient.
85074         (build_wcs_upper_buffer): Likewise.
85075         * posix/regexec.c (check_matching): Likewise.
85076         (clean_state_log_if_needed): Likewise.
85077         (extend_buffers): Don't enlarge buffers beyond size of the input
85078         buffer.
85079         Patches mostly by Emil Wojak <emil@wojak.eu>.
85080         * posix/bug-regex32.c: New file.
85081         * posix/Makefile (tests): Add bug-regex32.
85083         * locale/findlocale.c (_nl_find_locale): Return right away if
85084         _nl_explode_name failed.
85085         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
85087         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
85089         * debug/xtrace.sh: Unify messages.
85090         * malloc/memusage.sh: Likewise.
85092         [BZ #12813]
85093         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
85094         time symbol from vDSO.  Substitute with vsyscall if not available.
85095         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
85096         __vdso_time.
85098         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
85099         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
85100         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
85101         Add sendmmsg and internal_sendmmsg.
85102         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
85103         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
85104         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
85106         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
85107         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
85108         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
85110 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
85112         [BZ #12813]
85113         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
85114         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
85115         available.
85116         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
85117         __vdso_getcpu.
85119         [BZ #12814]
85120         * iconvdata/Makefile (tests): Add bug-iconv9.
85121         * iconvdata/bug-iconv9.c: New file.
85123 2011-05-27  Andreas Schwab  <schwab@redhat.com>
85125         [BZ #12814]
85126         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
85128 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
85130         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
85131         (struct user_regs_struct): Change intcs field back to cs.
85133 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
85135         * po/ja.po: Update from translation team.
85137 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
85139         [BZ #12795]
85140         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
85141         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
85143 2011-05-20  Andreas Schwab  <schwab@redhat.com>
85145         * stdlib/longlong.h: Update from GCC.
85147 2011-05-23  Andreas Schwab  <schwab@redhat.com>
85149         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
85150         parameter name.
85151         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
85152         Add parameter name.
85153         (__sysconf): Pass it down.
85155 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
85157         [BZ #12671]
85158         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
85159         some situations.
85160         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
85161         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
85162         add in in __libc_use_alloca calls.  Adjust callers.
85163         (glob): Use malloc in some situations.
85165         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
85166         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
85167         pltexit.
85169 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
85171         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
85172         and CLOCK_BOOTTIME_ALARM.
85174         [BZ #12782]
85175         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
85176         is returned.
85178         * string/_strerror.c (__strerror_r): Print negative errors as signed
85179         numbers.
85181         [BZ #12777]
85182         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
85183         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
85184         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
85186         * configure.in: Fix typo in redirection and correct removal of test
85187         files in two cases.
85189         [BZ #12788]
85190         * locale/setlocale.c (new_composite_name): Fix test to check for
85191         identical name of all categories.
85193         [BZ #12792]
85194         * libio/filedoalloc.c (local_isatty): New function.
85195         (_IO_file_doallocate): Use local_isatty.
85196         * stdio-common/perror.c (perror): In case a new stream is used
85197         forward the stream error.
85198         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
85199         error flag.
85201 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
85203         [BZ #11884]
85204         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
85205         alloca.
85206         * include/alloca.h (extend_alloca_account): Define.
85208         [BZ #11857]
85209         * posix/regex.h: Fix comments with documentation of user-accessible
85210         fields after compilation and describe correct free'ing of pattern
85211         after re_compile_pattern.
85212         Patch by Reuben Thomas <rrt@sc3d.org>.
85214 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
85216         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
85217         and -mno-altivec to prevent the compiler from using Altivec and/or
85218         VSX instructions when the corresponding registers are not available.
85220 2011-05-19  Andreas Schwab  <schwab@redhat.com>
85222         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
85224 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
85226         * libio/freopen.c (freopen): Use __dup2, not dup2.
85227         * libio/freopen64.c (freopen64): Likewise.
85229 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
85231         [BZ #12775]
85232         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
85233         * math/Makefile (tests): Add test-powl.
85234         (CFLAGS-test-powl.c): Define.
85235         * math/test-powl.c: New file.
85237 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
85239         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
85241 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
85243         [BZ #11837]
85244         * iconvdata/gb18030.c: Update to GB18020-2005.
85246 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
85248         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
85249         RE_SYNTAX_POSIX_AWK): Update to match recent development.
85250         Patch by Aharon Robbins <arnold@skeeve.com>.
85252         [BZ #11892]
85253         * stdlib/putenv.c (putenv): Don't always create copy of the variable
85254         on the stack.
85256         [BZ #11895]
85257         * misc/pselect.c (__pselect): Handle timeout value errors hidden
85258         through underflows.
85260         [BZ #12766]
85261         * misc/error.c (error_at_line): Ensure file_name and old_file_name
85262         point to strings before performing equality test for error_one_per_line
85263         mode.
85265         [BZ #11697]
85266         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
85268         [BZ #11820]
85269         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
85270         (struct user_fpregs_struct): Avoid __uint*_t types.
85272         [BZ #6420]
85273         * malloc/mtrace.c (tr_where): Add additional parameter to point to
85274         symbol info.  Use it instead of calling _dl_addr locally.
85275         (lock_and_info): New function.
85276         (tr_freehook): Call lock_and_info and pass symbol info as additional
85277         parameter to tr_where.
85278         (tr_mallochook): Likewise.
85279         (tr_reallochook): Likewise.
85280         (tr_memalignhook): Likewise.
85282         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
85283         used and couldn't be at all thread-safe.
85285 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
85287         * libio/freopen.c (freopen): Don't close old file descriptor
85288         before the new one is opened.  Instead dup the new file descriptor
85289         to the old one after the new stream is created.
85290         * libio/freopen64.c (freopen64): Likewise.
85291         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
85292         * libio/fileops.c (_IO_new_file_close_it): Handle new
85293         _IO_FLAGS2_NOCLOSE flag.
85294         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
85295         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
85296         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
85297         _IO_FLAGS2_NOCLOSE flag.
85298         * include/unistd.h: Add hidden_proto for dup3.
85299         Define __have_dup3.
85300         * io/dup3.c: Define hidden symbol.
85301         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
85303         [BZ #7101]
85304         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
85305         when an incomplete long option is used.
85306         * posix/tst-getopt_long1.c: New file.
85307         * posix/Makefile (tests): Add tst-getopt_long1.
85309         [BZ #10138]
85310         * scripts/config.guess: Update from autoconf-2.68.
85311         * scripts/config.sub: Likewise.
85313         [BZ #10157]
85314         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
85315         tests into ...
85316         (has_cpuclock): ...this.  New function.
85317         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
85318         macro here based on has_cpuclock code.
85320         [BZ #10149]
85321         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
85322         First byte (not low byte) is now always NUL.
85323         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
85325         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
85326         Use non-cancelable interfaces.
85328         [BZ #9809]
85329         * locale/iso-639.def: Add entry for Sorani.
85331         [BZ #11901]
85332         * include/stdlib.h: Move include protection to the right place.
85333         Define abort_msg_s.  Declare __abort_msg with it.
85334         * stdlib/abort.c (__abort_msg): Adjust type.
85335         * assert/assert.c (__assert_fail_base): New function.  Majority
85336         of code from __assert_fail.  Allocate memory for __abort_msg with
85337         mmap.
85338         (__assert_fail): Now call __assert_fail_base.
85339         * assert/assert-perr.c: Remove bulk of implementation.  Use
85340         __assert_fail_base.
85341         * include/assert.hL Declare __assert_fail_base.
85342         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
85343         mmap.
85344         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
85346 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
85348         [BZ #11952]
85349         [BZ #12453]
85350         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
85351         until all modules are registered in the DTV.
85352         * elf/Makefile: Add rules to build and run tst-tls19.
85353         * elf/tst-tls19.c: New file.
85354         * elf/tst-tls19mod1.c: New file.
85355         * elf/tst-tls19mod2.c: New file.
85356         * elf/tst-tls19mod3.c: New file.
85357         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
85359         [BZ #12083]
85360         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
85361         correctly.
85363         [BZ #12601]
85364         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
85365         two-byte sequence errors.
85366         * iconvdata/Makefile (tests): Add bug-iconv8.
85367         * iconvdata/bug-iconv8.c: New file.
85369         [BZ #12626]
85370         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
85371         buf2 definition.
85373         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
85375         [BZ #12432]
85376         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
85377         (dummy_getcfa): New function.
85378         (init): Get _Unwind_GetCFA address, use dummy if not found.
85379         (backtrace_helper): In recursion check, also check whether CFA changes.
85380         (__backtrace): Completely initialize arg.
85382         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
85383         storing incomplete byte sequence in state object.  Avoid testing for
85384         guaranteed too small input if we know there is enough data available.
85386 2011-05-11  Andreas Schwab  <schwab@redhat.com>
85388         * Makeconfig (+link-pie): Indent.
85389         * Rules (binaries-pie): Define if $(have-fpie) and
85390         $(build-shared).
85391         (binaries-shared): Also filter out $(binaries-pie).
85392         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
85393         * nscd/Makefile (others-pie): Add nscd.
85394         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
85395         ($(objpfx)nscd): Remove command override.
85396         * login/Makefile (others-pie): Add pt_chown.
85397         ($(objpfx)pt_chown): Remove command override.
85398         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
85399         remove command overrides.
85401 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
85403         * libio/tst_putwc.c: Fix error messages.
85405         [BZ #12724]
85406         * libio/fileops.c (_IO_new_file_close_it): Always flush when
85407         currently writing and seek to current position when not.
85408         * libio/Makefile (tests): Add bug-fclose1.
85409         * libio/bug-fclose1.c: New file.
85411 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
85413         [BZ #12511]
85414         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
85415         don't set DF_1_NODELETE here.
85416         (do_lookup_x): When entering new entry test for copy relocation
85417         and if necessary set DF_1_NODELETE flag.
85418         * elf/tst-unique4.cc: New file.
85419         * elf/tst-unique4.h: New file.
85420         * elf/tst-unique4lib.cc: New file.
85421         * elf/Makefile: Add rules to build and run tst-unique4.
85422         Patch by Piotr Bury <pbury@goahead.com>.
85424 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
85426         [BZ #12052]
85427         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
85429         [BZ #12625]
85430         * misc/mntent_r.c (addmntent): Flush the stream after the output
85432         [BZ #12393]
85433         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
85434         (is_trusted_path_normalize): Skip initial colon.  Append slash
85435         to empty buffer.  Duplicate is_trusted_path code but allow
85436         constructed patch to be prefix.
85437         (is_dst): Allow $ORIGIN followed by /.
85438         (_dl_dst_substitute): Correct clearing of check_for_trusted.
85439         Correct testing of result of is_trusted_path_normalize
85440         (decompose_rpath): Fix warning.
85442 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
85444         [BZ #11257]
85445         * grp/initgroups.c (internal_getgrouplist): When we found the service
85446         list through the initgroups entry in nsswitch.conf do not always
85447         continue on a successful lookup.  Don't always use the
85448         __nss_group_database value if it is set.
85449         * nss/nsswitch.conf (initgroups): Change action for successful db
85450         lookup to continue for compatibility.
85452 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
85454         [BZ #11532]
85455         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
85456         and CP774 modules.
85457         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
85458         and CP774 modules.
85459         * iconvdata/tst-tables.sh: Likewise.
85460         * iconvdata/cp770.c: New file.
85461         * iconvdata/cp771.c: New file.
85462         * iconvdata/cp772.c: New file.
85463         * iconvdata/cp773.c: New file.
85464         * iconvdata/cp774.c: New file.
85465         * iconvdata/testdata/CP770: New file.
85466         * iconvdata/testdata/CP770..UTF8: New file.
85467         * iconvdata/testdata/CP771: New file.
85468         * iconvdata/testdata/CP771..UTF8: New file.
85469         * iconvdata/testdata/CP772: New file.
85470         * iconvdata/testdata/CP772..UTF8: New file.
85471         * iconvdata/testdata/CP773: New file.
85472         * iconvdata/testdata/CP773..UTF8: New file.
85473         * iconvdata/testdata/CP774: New file.
85474         * iconvdata/testdata/CP774..UTF8: New file.
85476         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
85477         END CHARMAP line.
85478         * iconvdata/gen-8bit-gap.sh: Likewise.
85479         * iconvdata/gen-8bit.sh: Likewise.
85481         * locale/iso-639.def: Add ary entry.
85483         [BZ #11258]
85484         * locale/C-translit.h.in: Add U20A1 transliteration.
85486         [BZ #12178]
85487         * locale/iso-639.def: Add wae entry.
85488         Patch by Kevin Bortis <bortis@translate-wae.ch>.
85490         [BZ #12545]
85491         * locale/programs/localedef.c (construct_output_path): Use ssize_t
85492         for n.
85494         [BZ #12711]
85495         * locale/C-translit.h.in: Add entry for U20B9.
85496         Patch by pravin.d.s@gmail.com.
85498 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
85500         [BZ #12713]
85501         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
85502         ENAMETOOLONG use generic getcwd.
85503         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
85504         in rtld.  Use *stat64.
85505         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
85506         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
85507         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
85508         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
85509         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
85510         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
85511         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
85512         __fstatat64 macros.
85513         * include/dirent.h: Add libc_hidden_proto for rewinddir.
85514         * dirent/rewinddir.c: Add libc_hidden_def.
85515         * sysdeps/mach/hurd/rewinddir.c: Likewise.
85516         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
85518         * include/dirent.h (__alloc_dir): Add flags parameter.
85519         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
85520         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
85521         __alloc_dir.
85522         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
85523         from fdopendir if O_CLOEXEC is already set.
85525 2011-03-15  Alan Modra  <amodra@gmail.com>
85527         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
85528         l_tls_firstbyte_offset non-zero.  Save padding offset in
85529         l_tls_firstbyte_offset for later use.
85530         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
85531         freeing static tls block.
85533 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
85535         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
85536         where #ifdef was intended.  The intent is to prevent ARG_MAX from
85537         being defined by the kernel headers.
85539 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
85541         [BZ #12734]
85542         * resolv/resolv.h: Define RES_NOTLDQUERY.
85543         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
85544         no-tld-query and set RES_NOTLDQUERY.
85545         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
85546         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
85547         modern BIND to search name as TLD unless forbidden.
85549 2011-05-07  Petr Baudis  <pasky@suse.cz>
85550             Ulrich Drepper  <drepper@gmail.com>
85552         [BZ #12393]
85553         * elf/dl-load.c (fillin_rpath): Move trusted path check...
85554         (is_trusted_path): ...to here.
85555         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
85556         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
85557         using is_trusted_path_normalize() in setuid scripts.
85559 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
85561         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
85562         __BEGIN/__END_DECLS.
85564 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
85566         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
85567         NSS_STATUS_NOTFOUND if no record was found.
85569 2011-05-05  Andreas Schwab  <schwab@redhat.com>
85571         * sunrpc/Makefile (headers): Add rpc/netdb.h.
85572         (headers-not-in-tirpc): Remove rpc/netdb.h
85573         * resolv/netdb.h: Revert last change.
85575 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
85577         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
85578         circular dependency between libgcc.a and libc.a.
85580 2011-05-05  Andreas Schwab  <schwab@redhat.com>
85582         * resolv/netdb.h: Don't include <rpc/netdb.h>.
85583         * nis/Makefile: Don't install rpcsvc/*.
85584         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
85585         instead of <rpc/types.h>.
85586         (MAXHOSTNAMELEN): Define.
85588 2011-05-03  Andreas Schwab  <schwab@redhat.com>
85590         * elf/ldconfig.c (add_dir): Don't crash on empty path.
85592 2011-04-28  Maciej Babinski  <mbabinski@google.com>
85594         [BZ #12714]
85595         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
85596         gethostbyname4_r when IPv6 results are possible.
85598 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
85600         [BZ #12723]
85601         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
85602         _PC_PIPE_BUF handling.
85604 2011-04-30  Bruno Haible  <bruno@clisp.org>
85606         [BZ #12717]
85607         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
85608         * resolv/netdb.h (getnameinfo): Change type of flags parameter
85609         to 'int'.
85610         * inet/getnameinfo.c (getnameinfo): Likewise.
85612 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
85614         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
85615         to groups setting in database lookup.
85616         * nss/nsswitch.conf: Add initgroups entry.
85618 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
85620         [BZ #12685]
85621         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
85622         mode string.
85623         Patch by Eric Blake <eblake@redhat.com>.
85625 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
85627         * sunrpc/Makefile (need-export-routines): Add svc_run.
85628         (routines): Remove svc_run.
85629         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
85630         * sunrpc/clnt_perr.c (clnt_perrno): Export.
85631         * sunrpc/svc_run.c (svc_run): Likewise.
85632         * sunrpc/svc_udp.c (svcudp_create): Likewise.
85634 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
85636         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
85637         problem in reallocation in last patch.
85639 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
85641         * sunrpc/Makefile: Move inclusion of Rules.
85643 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
85645         * nss/nss_files/files-initgroups.c: New file.
85646         * nss/Makefile (libnss_files-routines): Add files-initgroups.
85647         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
85648         _nss_files_initgroups_dyn.
85650 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
85652         * elf/elf.h (R_ARM_IRELATIVE): Define.
85654 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
85656         * po/ru.po: Update from translation team.
85658 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
85660         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
85661         dependencies.
85663 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
85665         [BZ #12653]
85666         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
85667         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
85668         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
85669         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
85670         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
85672 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
85674         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
85675         differing bytes.
85676         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
85677         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
85678         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
85680 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
85682         [BZ #12420]
85683         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
85684         storing it.
85685         * stdlib/bug-getcontext.c: New file.
85686         * stdlib/Makefile: Add rules to build and run bug-getcontext.
85688 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85690         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
85691         instructions into .machine "z9-109".
85692         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
85693         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
85695 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85697         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
85698         between environment variables and auxiliary vector.
85700 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
85702         * Makefile: Add rules to build linkobj/libc.so.
85703         * include/libc-symbols.h: Define libc_hidden_nolink.
85704         * include/rpc/auth.h: Mark functions which are to be hidden.
85705         * include/rpc/auth_des.h: Likewise.
85706         * include/rpc/auth_unix.h: Likewise.
85707         * include/rpc/clnt.h: Likewise.
85708         * include/rpc/des_crypt.h: Likewise.
85709         * include/rpc/key_prot.h: Likewise.
85710         * include/rpc/pmap_clnt.h: Likewise.
85711         * include/rpc/pmap_prot.h: Likewise.
85712         * include/rpc/pmap_rmt.h: Likewise.
85713         * include/rpc/rpc_msg.h: Likewise.
85714         * include/rpc/svc.h: Likewise.
85715         * include/rpc/svc_auth.h: Likewise.
85716         * include/rpc/xdr.h: Likewise.
85717         * nis/Makefile: Link all DSOs against linkobj/libc.so.
85718         * nss/Makefile: Likewise.
85719         * sunrpc/Makefile: Don't install headers.  Build library with normal
85720         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
85721         * sunrpc/auth_des.c: Hide exported symbols by default, export some
85722         for the compat linking library.  Remove use of INTDEF/INTUSE.
85723         * sunrpc/auth_none.c: Likewise.
85724         * sunrpc/auth_unix.c: Likewise.
85725         * sunrpc/authdes_prot.c: Likewise.
85726         * sunrpc/authuxprot.c: Likewise.
85727         * sunrpc/clnt_gen.c: Likewise.
85728         * sunrpc/clnt_perr.c: Likewise.
85729         * sunrpc/clnt_raw.c: Likewise.
85730         * sunrpc/clnt_simp.c: Likewise.
85731         * sunrpc/clnt_tcp.c: Likewise.
85732         * sunrpc/clnt_udp.c: Likewise.
85733         * sunrpc/clnt_unix.c: Likewise.
85734         * sunrpc/des_crypt.c: Likewise.
85735         * sunrpc/des_soft.c: Likewise.
85736         * sunrpc/get_myaddr.c: Likewise.
85737         * sunrpc/key_call.c: Likewise.
85738         * sunrpc/key_prot.c: Likewise.
85739         * sunrpc/netname.c: Likewise.
85740         * sunrpc/pm_getmaps.c: Likewise.
85741         * sunrpc/pm_getport.c: Likewise.
85742         * sunrpc/pmap_clnt.c: Likewise.
85743         * sunrpc/pmap_prot.c: Likewise.
85744         * sunrpc/pmap_prot2.c: Likewise.
85745         * sunrpc/pmap_rmt.c: Likewise.
85746         * sunrpc/publickey.c: Likewise.
85747         * sunrpc/rpc_cmsg.c: Likewise.
85748         * sunrpc/rpc_common.c: Likewise.
85749         * sunrpc/rpc_dtable.c: Likewise.
85750         * sunrpc/rpc_prot.c: Likewise.
85751         * sunrpc/rpc_thread.c: Likewise.
85752         * sunrpc/rtime.c: Likewise.
85753         * sunrpc/svc.c: Likewise.
85754         * sunrpc/svc_auth.c: Likewise.
85755         * sunrpc/svc_authux.c: Likewise.
85756         * sunrpc/svc_raw.c: Likewise.
85757         * sunrpc/svc_run.c: Likewise.
85758         * sunrpc/svc_simple.c: Likewise.
85759         * sunrpc/svc_tcp.c: Likewise.
85760         * sunrpc/svc_udp.c: Likewise.
85761         * sunrpc/svc_unix.c: Likewise.
85762         * sunrpc/svcauth_des.c: Likewise.
85763         * sunrpc/xcrypt.c: Likewise.
85764         * sunrpc/xdr.c: Likewise.
85765         * sunrpc/xdr_array.c: Likewise.
85766         * sunrpc/xdr_float.c: Likewise.
85767         * sunrpc/xdr_intXX_t.c: Likewise.
85768         * sunrpc/xdr_mem.c: Likewise.
85769         * sunrpc/xdr_rec.c: Likewise.
85770         * sunrpc/xdr_ref.c: Likewise.
85771         * sunrpc/xdr_sizeof.c: Likewise.
85772         * sunrpc/xdr_stdio.c: Likewise.
85774 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
85776         [BZ #12650]
85777         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
85778         * sysdeps/ia64/dl-tls.h: Likewise.
85779         * sysdeps/powerpc/dl-tls.h: Likewise.
85780         * sysdeps/s390/dl-tls.h: Likewise.
85781         * sysdeps/sh/dl-tls.h: Likewise.
85782         * sysdeps/sparc/dl-tls.h: Likewise.
85783         * sysdeps/x86_64/dl-tls.h: Likewise.
85784         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
85786 2011-03-14  Andreas Schwab  <schwab@redhat.com>
85788         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
85789         rpath element also skip the following colon.
85790         (expand_dynamic_string_token): Add is_path parameter and pass
85791         down to DL_DST_REQUIRED and _dl_dst_substitute.
85792         (decompose_rpath): Call expand_dynamic_string_token with
85793         non-zero is_path.  Ignore empty rpaths.
85794         (_dl_map_object_from_fd): Call expand_dynamic_string_token
85795         with zero is_path.
85797 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
85799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
85800         Make cancelable.
85802 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
85804         [BZ #12655]
85805         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
85806         Patch by Filipe David Manana <fdmanana@apache.org>.
85808 2011-04-07  Andreas Schwab  <schwab@redhat.com>
85810         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
85811         Maintain aligned stack.
85812         (CHECK_RSP): Remove unused macro.
85814 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
85816         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
85817         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
85819 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
85821         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
85823         * include/features.h: Mention __USE_XOPEN2K8 in comment.
85825 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
85827         [BZ #12518]
85828         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
85829         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
85830         * sysdeps/x86_64/memmove.c: New file.
85831         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
85832         (memcpy): Renamed to ...
85833         (__new_memcpy): This.
85834         (memcpy): Provide GLIBC_2_14 memcpy.
85835         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
85836         (memcpy): Provide GLIBC_2_2_5 memcpy.
85838 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
85840         [BZ #12631]
85841         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
85843 2011-03-30  Andreas Schwab  <schwab@redhat.com>
85845         * misc/syncfs.c: New file.
85846         * misc/Makefile (routines): Add syncfs.
85847         * posix/unistd.h: Declare syncfs.
85848         * sysdeps/unix/syscalls.list: Add syncfs.
85850 2011-04-01  Andreas Schwab  <schwab@redhat.com>
85852         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
85853         open_by_handle_at.
85854         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
85855         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85856         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85857         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85858         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85859         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
85860         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85862 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
85864         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
85865         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85866         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
85867         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85868         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85869         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85870         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85872         * io/Makefile: Compile fallocate.c, fallocate64.c, and
85873         sync_file_range.c with -fexceptions.
85874         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
85875         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
85876         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
85877         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
85878         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
85879         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
85880         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
85881         sync_file_range as cancellation point
85882         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
85883         now a wrapper around __call_sync_file_range with cancellation handling.
85884         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
85885         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
85886         function name to __call_sync_file_range.
85887         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
85888         Add call_sync_file_range.
85890 2011-04-01  Andreas Schwab  <schwab@redhat.com>
85892         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85893         bits/timex.h.
85895 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
85897         * iconv/iconv.h: Fix typo in comment.
85898         * io/fcntl.h: Likewise.
85899         * libio/stdio.h: Likewise.
85900         * posix/spawn.h: Likewise.
85901         * posix/unistd.h: Likewise.
85902         * stdlib/stdlib.h: Likewise.
85903         * time/time.h: Likewise.
85904         * wcsmbs/wchar.h: Likewise.
85906         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
85907         open_by_handle): Add.
85908         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
85909         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
85910         Augment a few comments.
85911         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85912         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85913         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85914         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85915         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85916         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
85917         open_by_handle.
85919         * io/fcntl.h (AT_EMPTY_PATH): Define.
85921 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
85923         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
85924         * sysdeps/unix/sysv/linux/bits/time.h: New file.
85925         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
85926         to...
85927         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
85928         * Versions.def: Add GLIBC_2.14.
85929         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
85930         Export.
85932 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
85934         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
85935         round counter.
85936         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
85938 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85940         [BZ #12597]
85941         * string/test-strncmp.c (do_page_test): New function.
85942         (check2): Likewise.
85943         (test_main): Call check2.
85944         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
85946 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
85948         [BZ #12587]
85949         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
85950         Handle cache information in CPU leaf 4.
85951         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
85953 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
85955         [BZ #12583]
85956         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
85957         character representation.
85958         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
85960 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
85962         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
85963         END(__isnan) to END(__isnanf) to match function entry point/label
85964         EALIGN(__isnanf,...).
85966 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
85968         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
85970 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
85972         [BZ #12510]
85973         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
85974         copy from the symbol referenced in the relocation to initialize the
85975         used variable.
85976         Patch by Piotr Bury <pbury@goahead.com>.
85977         * elf/Makefile: Add rules to build and tst-unique3.
85978         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
85979         * elf/tst-unique3.cc: New file.
85980         * elf/tst-unique3.h: New file.
85981         * elf/tst-unique3lib.cc: New file.
85982         * elf/tst-unique3lib2.cc: New file.
85984         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
85986 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
85988         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
85989         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
85990         to _start.
85992 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
85994         * elf/dl-load.c (_dl_map_object): If we are looking for the first
85995         to-be-loaded object along a path to loader is ld.so.
85997 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
85998             Ulrich Drepper  <drepper@gmail.com>
86000         * sysdeps/x86_64/memset.S: After aligning destination, code
86001         branches to different locations depending on the value of
86002         misalignment, when multiarch is enabled. Fix this.
86004 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
86006         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
86007         Set _x86_64_preferred_memory_instruction for AMD processsors.
86008         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86009         Set bit_Prefer_SSE_for_memop for AMD processors.
86011 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
86013         * libio/fmemopen.c (fmemopen): Optimize a bit.
86015 2011-03-03  Andreas Schwab  <schwab@redhat.com>
86017         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
86019 2011-03-03  Roland McGrath  <roland@redhat.com>
86021         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
86023 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
86025         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
86026         __bzero_ultra1 instead of __memset_ultra1.
86028 2011-02-23  Andreas Schwab  <schwab@redhat.com>
86029             Ulrich Drepper  <drepper@gmail.com>
86031         [BZ #12509]
86032         * include/link.h (struct link_map): Add l_orig_initfini.
86033         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
86034         returning unsuccessfully.
86035         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
86036         close of a file loaded at startup, restore the original l_initfini
86037         list.
86038         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
86039         list, store the pointer.
86040         * elf/Makefile ($(objpfx)noload-mem): New rule.
86041         (noload-ENV): Define.
86042         (tests): Add $(objpfx)noload-mem.
86043         * elf/noload.c: Include <memcheck.h>.
86044         (main): Call mtrace.  Close all opened handles.
86046 2011-02-17  Andreas Schwab  <schwab@redhat.com>
86048         [BZ #12454]
86049         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
86050         dependencies are missing.
86052 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86054         Fix __if_freereq crash: Unlike the generic version which uses free,
86055         Hurd needs munmap.
86056         * sysdeps/mach/hurd/ifreq.h: New file.
86058 2011-01-27  Petr Baudis  <pasky@suse.cz>
86059             Ulrich Drepper  <drepper@gmail.com>
86061         [BZ 12445]#
86062         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
86063         to extend_alloca().
86064         * stdio-common/bug23.c: New file.
86065         * stdio-common/Makefile (tests): Add bug23.
86067 2010-09-28  Andreas Schwab  <schwab@redhat.com>
86068             Ulrich Drepper  <drepper@gmail.com>
86070         [BZ #12489]
86071         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
86072         before performing relro protection.  At old place add assertion
86073         to make sure nothing changed.
86075 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
86076             Glauber de Oliveira Costa  <glommer@gmail.com>
86078         * elf/elf.h: Add new ARM TLS relocs.
86080 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
86082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
86083         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
86084         cast from r3.
86085         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
86086         'tests' variable.
86087         * sysdeps/wordsize-64/tst-writev.c: New file.
86089 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
86091         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
86092         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
86093         insns in _dl_start to prevent a TOC reference before relocs are
86094         resolved.
86096 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
86098         [BZ #12469]
86099         * Makeconfig: Remove RANLIB definition.
86100         * Makerules: Don't use RANLIB.
86101         * aclocal.m4: Remove ranlib test.
86102         * configure.in: No need to check for ranlib.
86103         * elf/rtld-Rules: Don't use RANLIB.
86105 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86107         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
86108         protection macro.
86109         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
86110         inclusion protection macro.
86112         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
86113         SIGRTMIN and SIGRTMAX and print information in that case only when
86114         SIGRTMIN is defined.
86116 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
86118         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
86119         arginfo fn returning -1.
86121         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
86122         and thousands string is zero terminated.
86124 2011-02-03  Andreas Schwab  <schwab@redhat.com>
86126         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
86127         sysdeps/unix/sysv/linux/bits/socket.h.
86129 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86131         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
86132         (__CPU_COUNT): Remove old macros.
86133         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
86134         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
86135         (__CPU_ALLOC, __CPU_FREE): Add macros.
86136         (__sched_cpualloc, __sched_cpufree): Add declarations.
86138 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
86140         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
86141         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
86142         * nscd/aicache.c (addhstaiX): Return timeout of added value.
86143         (readdhstai): Return value of addhstaiX call.
86144         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
86145         (addgrbyX): Return value returned by cache_addgr.
86146         (readdgrbyname): Return value returned by addgrbyX.
86147         (readdgrbygid): Likewise.
86148         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
86149         (addpwbyX): Return value returned by cache_addpw.
86150         (readdpwbyname): Return value returned by addhstbyX.
86151         (readdpwbyuid): Likewise.
86152         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
86153         (addservbyX): Return value returned by cache_addserv.
86154         (readdservbyname): Return value returned by addservbyX:
86155         (readdservbyport): Likewise.
86156         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
86157         (addhstbyX): Return value returned by cache_addhst.
86158         (readdhstbyname): Return value returned by addhstbyX.
86159         (readdhstbyaddr): Likewise.
86160         (readdhstbynamev6): Likewise.
86161         (readdhstbyaddrv6): Likewise.
86162         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
86163         (readdinitgroups): Return value returned by addinitgroupsX.
86164         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
86165         (prune_cache): Keep track of timeout value of re-added entries.
86166         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
86167         * nscd/nscd.h: Adjust prototypes of readd* functions.
86169 2011-02-04  Roland McGrath  <roland@redhat.com>
86171         * nis/nis_server.c (nis_servstate): Use the right name for 0.
86172         (nis_stats): Likewise.
86173         * nis/nis_modify.c (nis_modify): Likewise.
86174         * nis/nis_remove.c (nis_remove): Likewise.
86175         * nis/nis_add.c (nis_add): Likewise.
86177         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
86179         * posix/fnmatch_loop.c: Add some consts.
86181         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
86183 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
86185         [BZ #12460]
86186         * config.make.in (config-cflags-novzeroupper): Define.
86187         * configure.in: Substitute libc_cv_cc_novzeroupper.
86188         * elf/Makefile (AVX-CFLAGS): Define.
86189         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
86190         (CFLAGS-tst-auditmod4a.c): Likewise.
86191         (CFLAGS-tst-auditmod4b.c): Likewise.
86192         (CFLAGS-tst-auditmod6b.c): Likewise.
86193         (CFLAGS-tst-auditmod6c.c): Likewise.
86194         (CFLAGS-tst-auditmod7b.c): Likewise.
86195         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
86197 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
86199         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
86200         function to the callback.
86201         Patch partly by Jiri Olsa <jolsa@redhat.com>.
86203 2011-02-02  Andreas Schwab  <schwab@redhat.com>
86205         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
86206         of errno.
86208 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
86210         [BZ #11724]
86211         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
86212         of constructors.
86213         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
86214         of destructors.
86215         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
86217         [BZ #11724]
86218         * elf/Makefile: Add rules to build and run new test.
86219         * elf/tst-initorder.c: New file.
86220         * elf/tst-initorder.exp: New file.
86221         * elf/tst-initordera1.c: New file.
86222         * elf/tst-initordera2.c: New file.
86223         * elf/tst-initordera3.c: New file.
86224         * elf/tst-initordera4.c: New file.
86225         * elf/tst-initorderb1.c: New file.
86226         * elf/tst-initorderb2.c: New file.
86227         * elf/tst-order-a1.c: New file.
86228         * elf/tst-order-a2.c: New file.
86229         * elf/tst-order-a3.c: New file.
86230         * elf/tst-order-a4.c: New file.
86231         * elf/tst-order-b1.c: New file.
86232         * elf/tst-order-b2.c: New file.
86233         * elf/tst-order-main.c: New file.
86234         New test case by George Gensure <werkt0@gmail.com>.
86236 2010-10-01  Andreas Schwab  <schwab@redhat.com>
86238         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
86239         decoding ACE if AI_CANONIDN.
86241 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
86243         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
86245 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
86247         * version.h (RELEASE): Bump for 2.13 release.
86248         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
86250         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
86252         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
86253         MADV_NOHUGEPAGE.
86254         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
86255         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
86256         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
86257         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
86258         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
86259         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
86261         * posix/getconf.c: Update copyright year.
86262         * catgets/gencat.c: Likewise.
86263         * csu/version.c: Likewise.
86264         * debug/catchsegv.sh: Likewise.
86265         * debug/xtrace.sh: Likewise.
86266         * elf/ldconfig.c: Likewise.
86267         * elf/ldd.bash.in: Likewise.
86268         * elf/sprof.c (print_version): Likewise.
86269         * iconv/iconv_prog.c: Likewise.
86270         * iconv/iconvconfig.c: Likewise.
86271         * locale/programs/locale.c: Likewise.
86272         * locale/programs/localedef.c: Likewise.
86273         * malloc/memusage.sh: Likewise.
86274         * malloc/mtrace.pl: Likewise.
86275         * nscd/nscd.c (print_version): Likewise.
86276         * nss/getent.c: Likewise.
86278         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
86279         PF_CAIF, and PF_ALG.
86280         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86282 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
86284         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
86285         (modules-names): Use them.
86286         (ifunc-test-modules, ifunc-pie-tests): Define.
86287         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
86288         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
86289         (test-extras): Likewise.
86290         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
86291         $(compile-command.c).
86292         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
86293         (all-built-dso): Define.
86294         (check-textrel.out, check-execstack.out): Depend on it.
86296         * configure.in: Don't override --enable-multi-arch.
86298 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
86300         [BZ #6812]
86301         * nscd/hstcache.c (tryagain): Define.
86302         (cache_addhst): Return tryagain not notfound for temporary errors.
86303         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
86304         failed.
86306 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
86308         [BZ #10563]
86309         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
86310         to make the syscall.
86311         * sysdeps/unix/sysv/linux/setgroups.c: New file.
86313         [BZ #12378]
86314         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
86315         and fall back to matching as normal character if the string ends before
86316         the matching ']' is found.  This is what POSIX requires.
86317         * posix/testfnm.c: Adjust test result.
86318         * posix/globtest.sh: Adjust test result.  Add new test.
86319         * posix/tst-fnmatch.input: Likewise.
86320         * posix/tst-fnmatch2.c: Add new test.
86322 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
86324         * elf/Makefile (check-execstack): Revert last change.  Depend on
86325         check-execstack.h.
86326         (check-execstack.h): New target.
86327         (generated): Add check-execstack.h.
86328         * elf/check-execstack.c: Include "check-execstack.h".
86329         (main): Revert last change.
86330         (handle_file): Return zero if GNU_STACK is absent and
86331         DEFAULT_STACK_PERMS doesn't include PF_X.
86333 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
86335         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
86336         in child fails because the descriptor is already closed.
86337         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
86338         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
86339         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
86341         [BZ #12397]
86342         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
86343         syscall.
86345         [BZ #10484]
86346         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
86347         temporary buffer used to handle multi lookups locally.
86348         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
86350 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
86352         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
86353         loader is ld.so.
86355 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
86357         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
86358         alignment for SSE2.
86360 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
86362         [BZ #12394]
86363         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
86364         characters.  When rounding increased number of integer digits recompute
86365         number of groups.
86366         * stdio-common/tst-grouping.c: New file.
86367         * stdio-common/Makefile: Add rules to build and run tst-grouping.
86369 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
86371         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
86372         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
86374         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
86375         void.
86376         * bits/select.h: Likewise.
86378 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
86380         * po/ja.po: Update from translation team.
86382 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
86384         [BZ #11155]
86385         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
86386         implementation just like for lxstat, fxstatat, et al.
86388 2010-12-27  Jim Meyering  <meyering@redhat.com>
86390         [BZ #12348]
86391         * posix/regexec.c (build_trtable): Return failure indication upon
86392         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
86394 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
86396         [BZ #12201]
86397         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
86398         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
86399         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
86400         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
86402         [BZ #12207]
86403         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
86405         [BZ #12204]
86406         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
86407         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
86409 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
86411         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
86412         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
86413         script has SORT_BY_INIT_PRIORITY.
86414         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
86415         NO_CTORS_DTORS_SECTIONS is defined.
86416         * elf/soinit.c: Likewise.
86417         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
86418         NO_CTORS_DTORS_SECTIONS is defined.
86419         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
86420         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
86421         * sysdeps/sh/init-first.c: Likewise.
86422         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
86424 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
86426         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
86427         always use the slow path.
86429 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
86431         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
86432         similar rule which adds the sysdep directories to the header search in
86433         order to pick up the correct platform stackinfo.h.
86434         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
86435         perform test if it is, otherwise return successfully without testing.
86436         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
86437         DEFAULT_STACK_PERMS define in stackinfo.h.
86438         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
86439         defined in stackinfo.h.
86440         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
86441         DEFAULT_STACK_PERMS defined in stackinfo.h.
86442         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
86443         * sysdeps/ia64/stackinfo.h: Likewise.
86444         * sysdeps/s390/stackinfo.h: Likewise.
86445         * sysdeps/sh/stackinfo.h: Likewise.
86446         * sysdeps/sparc/stackinfo.h: Likewise.
86447         * sysdeps/x86_64/stackinfo.h: Likewise.
86448         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
86449         PF_X for powerpc64.  Retain PF_X for powerpc32.
86451 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
86453         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
86454         accurately.
86455         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
86456         GETDENTS_64BIT_ALIGNED.
86458 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
86460         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
86462 2010-12-10  Andreas Schwab  <schwab@redhat.com>
86464         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
86465         _GNU_SOURCE.
86467         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
86468         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
86469         Remove __restrict.
86470         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
86471         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
86473 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
86475         [BZ #11655]
86476         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
86477         are initialized.
86479 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
86481         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
86483 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
86485         * po/it.po: Update from translation team.
86487 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
86489         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
86490         unused codes.
86492 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
86494         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
86496 2010-11-24  Andreas Schwab  <schwab@redhat.com>
86498         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
86499         specially.
86500         (gaih_getanswer_slice): Likewise.
86502 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
86504         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
86506 2010-05-31  Petr Baudis  <pasky@suse.cz>
86508         [BZ #11149]
86509         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
86510         silently even in the chroot mode.
86512 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
86514         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
86515         last patch a bit.  Pretty printing
86517 2010-05-31  Petr Baudis <pasky@suse.cz>
86519         [BZ #10085]
86520         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
86521         initialization of skip_initgroups_dyn.
86523 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
86525         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
86526         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
86528 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
86530         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
86532 2010-11-11  Andreas Schwab  <schwab@redhat.com>
86534         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
86535         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
86536         (tst-fnmatch-ENV): Set MALLOC_TRACE.
86537         ($(objpfx)tst-fnmatch-mem): New rule.
86538         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
86539         * posix/tst-fnmatch.c (main): Call mtrace.
86541 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
86543         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86544         Support Intel processor model 6 and model 0x2c.
86546 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
86548         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
86549           signed comparison.
86551 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
86553         [BZ #12205]
86554         * string/test-strncasecmp.c (check_result): New function.
86555         (do_one_test): Use it.
86556         (check1): New function.
86557         (test_main): Use it.
86558         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
86559         Support strcasecmp and strncasecmp.
86561 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
86563         [BZ #12194]
86564         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
86565         * sysdeps/x86_64/bits/byteswap.h: Likewise.
86567 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
86569         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
86570         IFUNC support.
86571         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86572         memset-x86-64.
86573         * sysdeps/x86_64/multiarch/bzero.S: New file.
86574         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
86575         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
86576         * sysdeps/x86_64/multiarch/memset.S: New file.
86577         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
86578         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86579         Set bit_Prefer_SSE_for_memop for Intel processors.
86580         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
86581         Define.
86582         (index_Prefer_SSE_for_memop): Define.
86583         (HAS_PREFER_SSE_FOR_MEMOP): Define.
86585 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
86587         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
86588         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
86590 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
86592         [BZ #12191]
86593         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
86594         (__x86_64_raw_data_cache_size_half): Likewise.
86595         (__x86_64_raw_shared_cache_size): Likewise.
86596         (__x86_64_raw_shared_cache_size_half): Likewise.
86598         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
86599         (__x86_64_raw_data_cache_size_half): Likewise.
86600         (__x86_64_raw_shared_cache_size): Likewise.
86601         (__x86_64_raw_shared_cache_size_half): Likewise.
86602         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
86603         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
86604         and __x86_64_raw_shared_cache_size_half.  Round
86605         __x86_64_data_cache_size_half, __x86_64_data_cache_size
86606         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
86607         to multiple of 256 bytes.
86609 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
86611         [BZ #12167]
86612         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
86613         of inacessible symlinks.  Verify result of symlink before returning it.
86614         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
86615         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
86617 2010-10-28  Erich Ritz  <erichritz@gmail.com>
86619         * math/math.h (isinf): Fix typo in comment.
86621 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
86623         * po/da.po: Update from translation team.
86625 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
86627         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
86628         is added to the list.
86630 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86631             Ulrich Drepper  <drepper@gmail.com>
86633         * elf/dl-object.c (_dl_new_object): Don't append the new object to
86634         the global list here.  Move code to...
86635         (_dl_add_to_namespace_list): ...here.  New function.
86636         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
86637         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
86638         * elf/dl-load.c (lose): Don't remove the element from the list.
86639         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
86640         (_dl_map_object): Likewise.
86642 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
86644         [BZ #12159]
86645         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
86646         into all bytes of SSE register.
86647         Patch by Richard Li <richardpku@gmail.com>.
86649 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
86651         [BZ #12140]
86652         * malloc/malloc.c (_int_free): Fill correct number of bytes when
86653         perturbing.
86655 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
86657         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
86658         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
86659         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
86660         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
86661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
86662         submachine.
86663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
86665 2010-10-22  Andreas Schwab  <schwab@redhat.com>
86667         * include/dlfcn.h (__RTLD_SECURE): Define.
86668         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
86669         mode & __RTLD_SECURE instead.
86670         (open_path): Rename preloaded parameter to secure.
86671         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
86672         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
86673         * elf/dl-deps.c (openaux): Likewise.
86674         * elf/rtld.c (struct map_args): Remove is_preloaded.
86675         (map_doit): Don't use it.
86676         (dl_main): Likewise.
86677         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
86678         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
86680 2010-09-09  Andreas Schwab  <schwab@redhat.com>
86682         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
86683         (sysd-rules-targets): Remove duplicates.
86684         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
86685         rtld-%.$o dependency.
86687 2010-10-18  Andreas Schwab  <schwab@redhat.com>
86689         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
86690         _dl_map_object do it.
86692 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
86694         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
86695         fast fma builtins, define the macros in the C99 standard.
86696         (FP_FAST_FMAF): Likewise.
86697         (FP_FAST_FMAL): Likewise.
86698         * sysdeps/x86_64/bits/mathdef.h: Likewise.
86700         * bits/mathdef.h: Update copyright year.
86701         * sysdeps/powerpc/bits/mathdef.h: Likewise.
86703 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
86705         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
86706         builtins, define the macros in the C99 standard.
86707         (FP_FAST_FMAF): Likewise.
86708         (FP_FAST_FMAL): Likewise.
86709         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
86710         multiply/add.
86711         (FP_FAST_FMAF): Likewise.
86713 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
86715         [BZ #3268]
86716         * math/libm-test.inc (fma_test): Some new testcases.
86717         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
86718         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
86719         y and infinite z.  Do multiplication by C already in long double.
86720         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
86721         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
86722         y and infinite z.  Do bitwise or of inexact bit into u.d.
86723         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
86724         * sysdeps/i386/fpu/s_fmaf.S: Removed.
86725         * sysdeps/i386/fpu/s_fma.S: Removed.
86726         * sysdeps/i386/fpu/s_fmal.S: Removed.
86728 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
86730         [BZ #3268]
86731         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
86732         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
86733         computation is not scheduled after fetestexcept.  Fix value
86734         of minimum denormal long double.
86736 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
86738         [BZ #3268]
86739         * math/libm-test.inc (fma_test): Add some more tests.
86740         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
86741         correctly.
86743 2010-10-15  Andreas Schwab  <schwab@redhat.com>
86745         * scripts/data/localplt-s390-linux-gnu.data: New file.
86746         * scripts/data/localplt-s390x-linux-gnu.data: New file.
86748 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
86750         [BZ #3268]
86751         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
86752         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
86753         instead of dbl-64.
86754         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
86755         inlines.
86756         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
86757         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
86758         if one of x and y is very large and the other is subnormal.
86759         * sysdeps/s390/fpu/s_fmaf.c: New file.
86760         * sysdeps/s390/fpu/s_fma.c: New file.
86761         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
86762         * sysdeps/powerpc/fpu/s_fma.S: New file.
86763         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
86764         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
86765         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
86767 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
86769         [BZ #3268]
86770         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
86771         fma tests.
86772         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
86773         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
86774         * sysdeps/i386/i686/multiarch/s_fma.c: Include
86775         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
86776         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
86777         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
86778         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
86780 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
86782         [BZ #12078]
86783         * posix/regcomp.c (parse_branch): One more memory leak plugged.
86784         * posix/bug-regex31.input: Add test case.
86786 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
86788         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
86789         * posix/bug-regex31.input: New file.
86791         [BZ #12078]
86792         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
86793         (parse_sub_exp): Fix last change, use postorder.
86795         * posix/bug-regex31.c: New file.
86796         * posix/Makefile: Add rules to build and run bug-regex31.
86798         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
86800         [BZ #12078]
86801         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
86803         [BZ #12108]
86804         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
86805         to have entries in sys_siglist.
86807         [BZ #12093]
86808         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
86809         be NULL.
86811 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
86813         [BZ #3268]
86814         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
86815         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
86816         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
86817         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
86818         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
86819         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
86820         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
86821         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
86822         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
86823         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
86824         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
86825         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
86826         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
86827         * math/ftestexcept.c (fetestexcept): Likewise.
86828         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
86829         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
86830         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
86831         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
86832         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
86833         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
86834         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
86836 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
86838         [BZ #12107]
86839         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
86840         newline.
86842 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
86844         * string/bug-strstr1.c: New file.
86845         * string/Makefile: Add rules to build and run bug-strstr1.
86847 2010-10-05  Eric Blake  <eblake@redhat.com>
86849         [BZ #12092]
86850         * string/str-two-way.h (two_way_long_needle): Always clear memory
86851         when skipping input due to the shift table.
86853 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
86855         [BZ #12005]
86856         * malloc/mcheck.c: Handle large requests.
86858         [BZ #12077]
86859         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
86860         for strncmp and strncasecmp.
86861         * string/stratcliff.c: Add tests for strcmp and strncmp.
86862         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
86864 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
86866         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
86867         __set_fpscr.
86869 2010-09-30  Andreas Jaeger  <aj@suse.de>
86871         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
86872         (CGROUP_SUPER_MAGIC): Define.
86873         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
86874         Handle btrfs and cgroup file systems.
86875         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
86876         Likewise.
86878 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
86880         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
86881         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
86883 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86885         [BZ #12067]
86886         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
86887         trying to locate the ELF header.
86889 2010-09-27  Andreas Schwab  <schwab@redhat.com>
86891         [BZ #11611]
86892         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
86893         Mask out sign-bit copies when constructing f_fsid.
86895 2010-09-24  Petr Baudis <pasky@suse.cz>
86897         * debug/stack_chk_fail_local.c: Add missing licence exception.
86898         * debug/warning-nop.c: Likewise.
86900 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
86902         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
86903         implementing getdents64 using getdents syscall, set d_type if
86904         __ASSUME_GETDENTS32_D_TYPE.
86906 2010-09-16  Andreas Schwab  <schwab@redhat.com>
86908         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
86909         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
86911 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
86913         [BZ #12037]
86914         * posix/unistd.h: Undo change of feature selection for ftruncate from
86915         2010-01-11.
86917 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
86919         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
86920         detection.
86922 2010-09-20  Andreas Schwab  <schwab@redhat.com>
86924         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
86925         fanotify_mark.
86926         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
86928 2010-09-14  Andreas Schwab  <schwab@redhat.com>
86930         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
86931         variables after CHECK_SP call.
86932         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
86934 2010-09-13  Andreas Schwab  <schwab@redhat.com>
86935             Ulrich Drepper  <drepper@redhat.com>
86937         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
86938         re-relocationg ld.so.
86939         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
86940         _dl_init_paths call.
86941         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
86942         here anymore.
86944 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
86946         * resolv/res_init.c (__res_vinit): Count the default server we added.
86948 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
86949             Ulrich Drepper  <drepper@redhat.com>
86951         [BZ #11968]
86952         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
86953         (____longjmp_chk): Use %ebx for saving value across system call.
86954         Add unwind info.
86956 2010-09-06  Andreas Schwab  <schwab@redhat.com>
86958         * manual/Makefile: Don't mix pattern rules with normal rules.
86960 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
86962         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
86963         operation.
86964         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
86965         * libio/iofopncook.c (_IO_cookie_init): Likewise.
86966         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
86967         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
86968         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
86969         Likewise.
86971 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
86973         [BZ #11979]
86974         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
86975         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
86977 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
86979         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
86980         * sysdeps/x86_64/addmul_1.S: Likewise.
86981         * sysdeps/x86_64/lshift.S: Likewise.
86982         * sysdeps/x86_64/mul_1.S: Likewise.
86983         * sysdeps/x86_64/rshift.S: Likewise.
86984         * sysdeps/x86_64/sub_n.S: Likewise.
86985         * sysdeps/x86_64/submul_1.S: Likewise.
86987 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86989         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
86990         Define __sched_param instead of SCHED_* and sched_param when
86991         <bits/sched.h> is included with __need_schedparam defined.
86992         * bits/sched.h [__need_schedparam]
86993         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
86994         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
86995         (__defined_schedparam): Define to 1.
86996         (__sched_param): New structure, identical to sched_param.
86997         (__need_schedparam): Undefine.
86999 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
87001         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
87002         (epoll_create1): Declare.
87004         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
87006 2010-08-31  Andreas Schwab  <schwab@redhat.com>
87008         [BZ #7066]
87009         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
87010         shifting retval into place.
87012 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
87014         * nis/rpcsvc/nis.h: Update copyright notice.
87015         * nis/rpcsvc/nis.x: Likewise.
87016         * nis/rpcsvc/nis_callback.h: Likewise.
87017         * nis/rpcsvc/nis_callback.x: Likewise.
87018         * nis/rpcsvc/nis_object.x: Likewise.
87019         * nis/rpcsvc/nis_tags.h: Likewise.
87020         * nis/rpcsvc/yp.h: Likewise.
87021         * nis/rpcsvc/yp.x: Likewise.
87022         * nis/rpcsvc/ypupd.h: Likewise.
87023         * nis/yp_xdr.c: Likewise.
87024         * nis/ypupdate_xdr.c: Likewise.
87026         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
87027         mainly the body of pmap_getport.  Add parameters to specify timeouts.
87028         (pmap_getport): Use __libc_rpc_getport.
87029         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
87030         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
87031         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
87033 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
87035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
87036         fanotify_mark.
87038 2010-08-27  Roland McGrath  <roland@redhat.com>
87040         * sysdeps/i386/i686/multiarch/Makefile
87041         (CFLAGS-varshift.c): New variable.
87043 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
87045         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
87046         * sysdeps/i386/i686/multiarch/varshift.c: New file.
87048         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
87050         * sysdeps/x86_64/strlen.S: Minimal code improvement.
87052 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
87054         * sysdeps/x86_64/strlen.S: Unroll the loop.
87055         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87056         strlen-sse2 strlen-sse2-bsf.
87057         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
87058         __strlen_no_bsf if bit_Slow_BSF is set.
87059         (__strlen_sse42): Removed.
87060         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
87061         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
87063 2010-08-25  Roland McGrath  <roland@redhat.com>
87065         * sysdeps/x86_64/multiarch/varshift.S: File removed.
87066         * sysdeps/x86_64/multiarch/varshift.c: New file.
87067         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
87068         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
87069         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
87070         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
87072 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
87074         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87075         strlen-sse2 strlen-sse2-bsf.
87076         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
87077         __strlen_sse2_bsf if bit_Slow_BSF is unset.
87078         (__strlen_sse2): Removed.
87079         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
87080         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
87081         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
87082         bit_Slow_BSF for Atom.
87083         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
87084         (index_Slow_BSF): Define.
87085         (HAS_SLOW_BSF): Define.
87087 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
87089         [BZ #10851]
87090         * resolv/res_init.c (__res_vinit): When no server address at all
87091         is given default to loopback.
87093 2010-08-24  Roland McGrath  <roland@redhat.com>
87095         * configure.in: Remove config-name.h generation.
87096         * configure: Regenerated.
87097         * config-name.in: File removed.
87098         * scripts/config-uname.sh: New file.
87099         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
87100         ($(objdir)config-name.h): New target.
87102         * sunrpc/rpc_parse.h: Avoid nested comment.
87104 2010-08-24  Richard Henderson  <rth@redhat.com>
87105             Ulrich Drepper  <drepper@redhat.com>
87106             H.J. Lu  <hongjiu.lu@intel.com>
87108         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
87109         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
87110         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
87111         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
87112         _mm_alignr_epi8 with _mm_loadu_si128.
87113         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
87114         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
87115         (__m128i_shift_right): Removed.
87116         * sysdeps/i386/i686/multiarch/varshift.h: New file.
87117         * sysdeps/i386/i686/multiarch/varshift.S: New file.
87118         * sysdeps/x86_64/multiarch/varshift.h: New file.
87119         * sysdeps/x86_64/multiarch/varshift.S: New file.
87121 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
87123         * configure.in: Move assembler checks to before sysdep dir checking.
87125 2010-08-20  Petr Baudis  <pasky@suse.cz>
87127         * LICENSES: Sync the sunrpc license.
87129 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
87131         * sunrpc/auth_des.c: Update copyright notice once again.
87132         * sunrpc/auth_none.c: Likewise.
87133         * sunrpc/auth_unix.c: Likewise.
87134         * sunrpc/authdes_prot.c: Likewise.
87135         * sunrpc/authuxprot.c: Likewise.
87136         * sunrpc/bindrsvprt.c: Likewise.
87137         * sunrpc/clnt_gen.c: Likewise.
87138         * sunrpc/clnt_perr.c: Likewise.
87139         * sunrpc/clnt_raw.c: Likewise.
87140         * sunrpc/clnt_simp.c: Likewise.
87141         * sunrpc/clnt_tcp.c: Likewise.
87142         * sunrpc/clnt_udp.c: Likewise.
87143         * sunrpc/clnt_unix.c: Likewise.
87144         * sunrpc/des_crypt.c: Likewise.
87145         * sunrpc/des_soft.c: Likewise.
87146         * sunrpc/get_myaddr.c: Likewise.
87147         * sunrpc/getrpcport.c: Likewise.
87148         * sunrpc/key_call.c: Likewise.
87149         * sunrpc/key_prot.c: Likewise.
87150         * sunrpc/openchild.c: Likewise.
87151         * sunrpc/pm_getmaps.c: Likewise.
87152         * sunrpc/pm_getport.c: Likewise.
87153         * sunrpc/pmap_clnt.c: Likewise.
87154         * sunrpc/pmap_prot.c: Likewise.
87155         * sunrpc/pmap_prot2.c: Likewise.
87156         * sunrpc/pmap_rmt.c: Likewise.
87157         * sunrpc/rpc/auth.h: Likewise.
87158         * sunrpc/rpc/auth_unix.h: Likewise.
87159         * sunrpc/rpc/clnt.h: Likewise.
87160         * sunrpc/rpc/des_crypt.h: Likewise.
87161         * sunrpc/rpc/key_prot.h: Likewise.
87162         * sunrpc/rpc/netdb.h: Likewise.
87163         * sunrpc/rpc/pmap_clnt.h: Likewise.
87164         * sunrpc/rpc/pmap_prot.h: Likewise.
87165         * sunrpc/rpc/pmap_rmt.h: Likewise.
87166         * sunrpc/rpc/rpc.h: Likewise.
87167         * sunrpc/rpc/rpc_des.h: Likewise.
87168         * sunrpc/rpc/rpc_msg.h: Likewise.
87169         * sunrpc/rpc/svc.h: Likewise.
87170         * sunrpc/rpc/svc_auth.h: Likewise.
87171         * sunrpc/rpc/types.h: Likewise.
87172         * sunrpc/rpc/xdr.h: Likewise.
87173         * sunrpc/rpc_clntout.c: Likewise.
87174         * sunrpc/rpc_cmsg.c: Likewise.
87175         * sunrpc/rpc_common.c: Likewise.
87176         * sunrpc/rpc_cout.c: Likewise.
87177         * sunrpc/rpc_dtable.c: Likewise.
87178         * sunrpc/rpc_hout.c: Likewise.
87179         * sunrpc/rpc_main.c: Likewise.
87180         * sunrpc/rpc_parse.c: Likewise.
87181         * sunrpc/rpc_parse.h: Likewise.
87182         * sunrpc/rpc_prot.c: Likewise.
87183         * sunrpc/rpc_sample.c: Likewise.
87184         * sunrpc/rpc_scan.c: Likewise.
87185         * sunrpc/rpc_scan.h: Likewise.
87186         * sunrpc/rpc_svcout.c: Likewise.
87187         * sunrpc/rpc_tblout.c: Likewise.
87188         * sunrpc/rpc_util.c: Likewise.
87189         * sunrpc/rpc_util.h: Likewise.
87190         * sunrpc/rpcinfo.c: Likewise.
87191         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
87192         * sunrpc/rpcsvc/key_prot.x: Likewise.
87193         * sunrpc/rpcsvc/klm_prot.x: Likewise.
87194         * sunrpc/rpcsvc/mount.x: Likewise.
87195         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
87196         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
87197         * sunrpc/rpcsvc/rex.x: Likewise.
87198         * sunrpc/rpcsvc/rstat.x: Likewise.
87199         * sunrpc/rpcsvc/rusers.x: Likewise.
87200         * sunrpc/rpcsvc/sm_inter.x: Likewise.
87201         * sunrpc/rpcsvc/spray.x: Likewise.
87202         * sunrpc/rpcsvc/yppasswd.x: Likewise.
87203         * sunrpc/rtime.c: Likewise.
87204         * sunrpc/svc.c: Likewise.
87205         * sunrpc/svc_auth.c: Likewise.
87206         * sunrpc/svc_authux.c: Likewise.
87207         * sunrpc/svc_raw.c: Likewise.
87208         * sunrpc/svc_run.c: Likewise.
87209         * sunrpc/svc_simple.c: Likewise.
87210         * sunrpc/svc_tcp.c: Likewise.
87211         * sunrpc/svc_udp.c: Likewise.
87212         * sunrpc/svc_unix.c: Likewise.
87213         * sunrpc/svcauth_des.c: Likewise.
87214         * sunrpc/xcrypt.c: Likewise.
87215         * sunrpc/xdr.c: Likewise.
87216         * sunrpc/xdr_array.c: Likewise.
87217         * sunrpc/xdr_float.c: Likewise.
87218         * sunrpc/xdr_mem.c: Likewise.
87219         * sunrpc/xdr_rec.c: Likewise.
87220         * sunrpc/xdr_ref.c: Likewise.
87221         * sunrpc/xdr_sizeof.c: Likewise.
87222         * sunrpc/xdr_stdio.c: Likewise.
87224         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
87225         handling.
87227 2010-08-19  Andreas Schwab  <schwab@redhat.com>
87229         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
87231 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
87233         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
87234         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
87235         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
87236         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
87237         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
87238         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
87239         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
87240         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
87241         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
87242         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
87243         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
87244         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
87245         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
87246         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
87248 2010-07-26  Anton Blanchard  <anton@samba.org>
87250         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
87251         * malloc/arena.c (heap_trim): Likewise.
87253 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
87255         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
87256         here.  Not...
87257         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
87258         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
87260 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
87262         * sysdeps/i386/elf/Makefile: New file.
87264 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
87266         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
87267         from fanotify_init.
87268         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
87269         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
87271 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
87273         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
87274         of strncasecmp_l.
87275         * sysdeps/multiarch/strcmp.S: Likewise.
87277 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
87279         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
87280         strncase_l-nonascii.
87281         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
87282         Add strncase_l-ssse3.
87283         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
87284         * sysdeps/x86_64/strcmp.S: Likewise.
87285         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
87286         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
87287         * sysdeps/x86_64/strncase.S: New file.
87288         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
87289         * sysdeps/x86_64/strncase_l.S: New file.
87290         * string/Makefile (strop-tests): Add strncasecmp.
87291         * string/test-strncasecmp.c: New file.
87293         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
87294         warning.
87296         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
87297         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
87299 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
87301         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
87303 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
87305         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
87306         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
87307         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
87309 2010-05-01  Alan Modra  <amodra@gmail.com>
87311         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
87312         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
87313         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
87314         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
87315         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
87316         tidying.  Don't tail-call __sigjmp_save for static lib.
87317         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
87318         save location.
87319         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
87320         (CALL_MCOUNT): Add eh info, and nop after bl.
87321         (TAIL_CALL_SYSCALL_ERROR): New macro.
87322         (PSEUDO_RET): Use it.
87323         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
87324         Correct save location of integer regs and cr.
87325         (_dl_profile_resolve): Correct cr save location.  Delete nops
87326         after bl when SHARED.  Reduce cfi size a little by better
87327         placement of cfi directives.
87328         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
87329         make a stack frame.  Instead use parm save area as a temp.
87330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
87331         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
87332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
87333         Don't make a stack frame for parent, use parm save area.
87334         Increase child stack frame to 112 bytes.  Don't save unused reg,
87335         and adjust reg usage.  Set up cfi on error recovery and
87336         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
87337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
87338         (__makecontext): Add dummy nop after jump to exit.
87339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
87340         Use correct parm save area and cr save, reduce stack frame.
87341         Correct cfi for possible PSEUDO_RET frame setup.
87342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
87343         Branch to local label emitted by PSEUDO_RET rather than
87344         __syscall_error.
87346 2010-08-12  Andreas Schwab  <schwab@redhat.com>
87348         [BZ #11904]
87349         * locale/programs/locale.c (print_assignment): New function.
87350         (show_locale_vars): Use it.
87352 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
87354         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
87355         field.
87356         (struct statfs64): Likewise.
87357         (_STATFS_F_FLAGS): Define.
87358         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
87359         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
87360         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
87361         (ST_VALID): Define locally.
87362         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
87363         __statvfs_getflags, use the provided value.
87364         * sysdeps/unix/sysv/linux/kernel-features.h: Define
87365         __ASSUME_STATFS_F_FLAGS.
87367         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
87369         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
87370         Add sys/fanotify.h.
87371         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
87372         fanotify_mask for GLIBC_2.13.
87373         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
87374         fanotify_init and fanotify_mark.
87375         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
87376         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
87378         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
87379         Add prlimit.
87380         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
87381         prlimit64 for GLIBC_2.13.
87382         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
87383         prlimit64.
87384         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
87385         syscall.
87386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
87387         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
87388         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
87389         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
87390         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
87391         add prlimit alias.
87392         * sysdeps/unix/sysv/linux/prlimit.c: New file.
87394         [BZ #11903]
87395         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
87396         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
87398         * nss/Makefile: Add rules to build and run tst-nss-test1.
87399         * shlib-versions: Add entry for libnss_test1.
87400         * nss/nss_test1.c: New file.
87401         * nss/tst-nss-test1.c: New file.
87403         * nss/nsswitch.c (__nss_database_custom): Define new variable.
87404         (__nss_configure_lookup): Set appropriate entry in
87405         __nss_configure_lookup to true.
87406         * nss/nsswitch.h: Define enum with indeces of databases in
87407         databases and __nss_database_custom arrays.  Declare
87408         __nss_database_custom.
87409         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
87410         to avoid using nscd when custom rules are installed.
87411         * nss/getXXbyYY_r.c: Likewise.
87412         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
87414         * nss/nss_files/files-parse.c: Whitespace fixes.
87416 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
87418         [BZ #11883]
87419         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
87420         * posix/fnmatch_loop.c: Likewise.
87422 2010-07-17  Andi Kleen  <ak@linux.intel.com>
87424         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
87425         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
87426         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
87427         * Versions.def [GLIBC_2.13]: Add.
87429 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
87431         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
87432         Also fail if tpwd after pwuid call is NULL.
87434 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87436         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
87437         when converting to ms.
87439 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87441         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
87442         EOPNOTSUPP errors with ENOTTY.
87443         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
87444         EOPNOTSUPP errors with ENOTTY.
87446 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
87448         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
87449         Add strcasecmp_l-ssse3.
87450         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
87451         strcasecmp.
87452         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
87453         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
87454         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
87456 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
87458         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
87460         * string/Makefile (strop-tests): Add strcasecmp.
87461         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
87462         strcasecmp_l-nonascii.
87463         (gen-as-const-headers): Add locale-defines.sym.
87464         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
87465         * sysdeps/x86_64/strcasecmp.S: New file.
87466         * sysdeps/x86_64/strcasecmp_l.S: New file.
87467         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
87468         * sysdeps/x86_64/locale-defines.sym: New file.
87469         * string/test-strcasecmp.c: New file.
87471         * string/test-strcasestr.c: Test both ends of the range of characters.
87472         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
87474 2010-07-29  Roland McGrath  <roland@redhat.com>
87476         [BZ #11856]
87477         * manual/locale.texi (Yes-or-No Questions): Fix example code.
87479 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
87481         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
87482         for ld.so.
87484 2010-07-27  Andreas Schwab  <schwab@redhat.com>
87486         * manual/memory.texi (Malloc Tunable Parameters): Document
87487         M_PERTURB.
87489 2010-07-26  Roland McGrath  <roland@redhat.com>
87491         [BZ #11840]
87492         * configure.in (-fgnu89-inline check): Set and substitute
87493         gnu89_inline, not libc_cv_gnu89_inline.
87494         * configure: Regenerated.
87495         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
87497 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
87499         * string/test-strnlen.c: New file.
87500         * string/Makefile (strop-tests): Add strnlen.
87501         * string/tester.c (test_strnlen): Add a few more test cases.
87502         * string/tst-strlen.c: Better error reporting.
87504         * sysdeps/x86_64/strnlen.S: New file.
87506 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
87508         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
87509         lower-latency instructions.
87511 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
87513         * string/test-strcasestr.c: New file.
87514         * string/test-strstr.c: New file.
87515         * string/Makefile (strop-tests): Add strstr and strcasestr.
87516         * string/str-two-way.h: Don't undefine MAX.
87517         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
87519 2010-07-21  Andreas Schwab  <schwab@redhat.com>
87521         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87522         strcasestr-nonascii.
87523         (CFLAGS-strcasestr-nonascii.c): Define.
87524         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
87525         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
87526         Remove unused attribute.
87528 2010-07-20  Roland McGrath  <roland@redhat.com>
87530         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
87531         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
87532         ld.so.cache was broken.  With it, there is no way to disable dsocaps
87533         like LD_HWCAP_MASK can disable hwcaps.
87535 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
87537         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
87539 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
87541         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
87542         call in strcasestr.
87543         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
87544         __strcasestr_sse42_nonascii.
87545         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
87546         strcasestr-nonascii.c.
87547         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
87549 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
87551         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
87552         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
87553         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
87554         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
87556 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
87558         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
87559         fcntl.
87561 2010-07-06  Andreas Schwab  <schwab@redhat.com>
87563         [BZ #11577]
87564         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
87565         dl_signal_cerror.
87567 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
87569         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
87570         _PC_PIPE_BUF using F_GETPIPE_SZ.
87572 2010-07-05  Roland McGrath  <roland@redhat.com>
87574         * manual/arith.texi (Rounding Functions): Fix rint description
87575         implicit in round description.
87577 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
87579         * elf/Makefile: Fix linking for a few tests to make recent linker
87580         happy.
87582 2010-06-30  Andreas Schwab  <schwab@redhat.com>
87584         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
87585         $(common-objpfx)libc_nonshared.a.
87587 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
87589         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
87590         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
87591         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
87592         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
87593         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
87594         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
87595         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
87596         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
87597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
87598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
87599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
87600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
87601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
87602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
87603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
87604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
87605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
87606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
87607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
87608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
87609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
87610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
87611         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
87612         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
87613         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
87614         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
87615         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
87616         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
87617         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
87618         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
87619         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
87620         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
87621         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
87622         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
87623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
87624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
87625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
87626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
87627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
87628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
87629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
87630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
87631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
87632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
87633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
87634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
87635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
87636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
87638 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
87640         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
87641         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
87642         * string/memmove.c (memmove): Renamed to ...
87643         (MEMMOVE): ...this.  Default to memmove.
87644         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
87645         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
87646         (END_CHK): Define.
87647         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87648         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
87649         mempcpy-ssse3-back memmove-ssse3-back.
87650         * sysdeps/x86_64/multiarch/bcopy.S: New file .
87651         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
87652         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
87653         * sysdeps/x86_64/multiarch/memcpy.S: New file.
87654         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
87655         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
87656         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
87657         * sysdeps/x86_64/multiarch/memmove.c: New file.
87658         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
87659         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
87660         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
87661         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
87662         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
87663         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
87664         Define.
87665         (index_Fast_Copy_Backward): Define.
87666         (HAS_ARCH_FEATURE): Define.
87667         (HAS_FAST_REP_STRING): Define.
87668         (HAS_FAST_COPY_BACKWARD): Define.
87670 2010-06-21  Andreas Schwab  <schwab@redhat.com>
87672         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
87673         Restore proper fallback handling.
87675 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
87677         [BZ #11701]
87678         * posix/group_member.c (__group_member): Correct checking loop.
87680         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
87681         OOM in getpwuid_r correctly.  Return error number when the caller
87682         should return, otherwise -1.
87683         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
87684         call returning > 0 value.
87685         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
87687 2010-06-07  Andreas Schwab  <schwab@redhat.com>
87689         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
87690         libc_nonshared.a from targets in modules-names.
87692 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
87694         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
87695         requires it.
87697 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
87699         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
87700         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
87701         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
87702         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
87704 2010-06-02  Andreas Schwab  <schwab@redhat.com>
87706         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
87708 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
87710         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
87711         and F_GETPIPE_SZ.
87712         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
87713         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87714         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87715         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87716         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87717         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87719 2010-06-14  Roland McGrath  <roland@redhat.com>
87721         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
87723 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
87725         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
87726         __REDIRECT followed by __THROW.
87727         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
87728         * posix/getopt.h (getopt): Likewise.
87730 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
87732         * hurd/lookup-at.c (__file_name_lookup_at): Accept
87733         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
87734         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
87735         in AT_FLAGS.
87736         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
87737         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
87739 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
87741         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
87743 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
87745         [BZ #11640]
87746         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87747         Properly check family and model.
87749 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
87751         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
87753 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
87755         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
87757 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
87759         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
87760         symbol reference.
87762 2010-05-19  Andreas Schwab  <schwab@redhat.com>
87764         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
87765         symbol reference.
87767 2010-05-21  Andreas Schwab  <schwab@redhat.com>
87769         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
87770         and internal_recvmmsg.
87771         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
87772         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
87773         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
87774         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
87776         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
87777         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
87778         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
87780 2010-05-20  Andreas Schwab  <schwab@redhat.com>
87782         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
87784 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
87786         POWER7 optimizations.
87787         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
87788         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
87790 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
87792         * version.h: Update for 2.13 development version.
87794 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
87796         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
87797         exceptions.  Return 0.
87799 2010-05-07  Roland McGrath  <roland@redhat.com>
87801         * elf/ldconfig.c (main): Add a const.
87803 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
87805         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
87806         (args_options): Add no-idn option.
87807         (ahosts_keys_int): Add idn_flags to ai_flags.
87808         (parse_option): Handle 'i' option to clear idn_flags.
87810         * malloc/malloc.c (_int_free): Possible race in the most recently
87811         added check.  Only act on the data if no current modification
87812         happened.
87814 See ChangeLog.17 for earlier changes.