Open development for 2.25.
[glibc.git] / ChangeLog
blobbb9d38896639802b20ff4411b32c6397cef0474f
1 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
3         * version.h (RELEASE): Set to "development"
4         (VERSION): Set to 2.24.90.
5         * NEWS: Add 2.25 section.
7         * version.h (RELEASE): Set to "stable"
8         (VERSION): Set to 2.24.
9         * include/features.h (__GLIBC_MINOR__): Set to 24.
11         * NEWS: Add 2.24 fixed bugs.
12         * po/libc.pot: Regenerate.
14 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
16         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17         [$(subdir) = math] (libm-sysdep_routines): Remove.
18         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
19         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
20         s_truncf-vis3, s_trunc-vis3.
21         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
23         file.
24         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
25         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
26         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
27         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
28         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
30         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
31         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
33         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
34         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
35         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
36         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
37         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
38         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
39         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
43         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
44         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
45         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
46         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
47         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
49         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
50         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
52         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
53         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
54         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
55         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
56         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
57         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
58         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
59         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
60         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
61         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
62         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
63         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
64         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
65         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
66         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
68 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
70         [BZ #20384]
71         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
72         test-double-libmvec-sincos-avx-main.o,
73         test-double-libmvec-sincos-avx2-main.o,
74         test-double-libmvec-sincos-main.o,
75         test-float-libmvec-sincosf-avx-main.o,
76         test-float-libmvec-sincosf-avx2-main.o and
77         test-float-libmvec-sincosf-main.o.
78         test-float-libmvec-sincosf-avx512-main.o.
79         ($(objpfx)test-double-libmvec-sincos): Also link with
80         $(objpfx)test-double-libmvec-sincos-main.o.
81         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
82         $(objpfx)test-double-libmvec-sincos-avx-main.o.
83         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
84         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
85         ($(objpfx)test-float-libmvec-sincosf): Also link with
86         $(objpfx)test-float-libmvec-sincosf-main.o.
87         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
88         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
89         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
90         test-double-libmvec-sincos-avx512-main.o and
91         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
92         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
93         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
94         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
95         (CFLAGS-test-double-libmvec-sincos.c): Removed.
96         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
97         (CFLAGS-test-double-libmvec-sincos-main.c): New.
98         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
99         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
100         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
101         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
102         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
103         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
104         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
105         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
106         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
107         -DREQUIRE_AVX2.
108         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
109         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
110         -DREQUIRE_AVX512F.
111         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
112         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
113         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
114         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
115         file.
116         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
117         Likewise.
118         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
119         Likewise.
120         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
121         Likewise.
122         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
123         Likewise.
124         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
125         Likewise.
126         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
127         Likewise.
128         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
129         Likewise.
131 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
133         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
135 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
137         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
138         and typo in a comment about AT_HWCAP entry.
140 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
142         * sysdeps/aarch64/libm-test-ulps: Updated.
144 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
146         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
147         of r13 as it is not restored in mvcle case.
149 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
151         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
152         Rename "ret" to "__ret".
153         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
154         inline_syscall5, inline_syscall6): Likewise.
156 2016-07-19   Will Newton  <will.newton@gmail.com>
158         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
159         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
160         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
161         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
162         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
164 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
166         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
167         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
168         -mfpmath=387 with $(rtld-CFLAGS).
169         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
170         $(rtld-CFLAGS).
172 2016-07-18   Ross Burton  <ross.burton@intel.com>
173              Khem Raj  <raj.khem@gmail.com>
175         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
176         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
177         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
178         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
179         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
180         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
181         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
182         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
183         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
184         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
185         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
186         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
187         R_METAG_TLS_DTPOFF): New.
189 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
190             Matt Clay  <mclay@lycos.com>
192         [BZ #20357]
193         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
194         to call __mpsin/__mpcos and to negate values.
195         * math/auto-libm-test-in: Add test.
196         * math/auto-libm-test-out: Regenerate.
198 2016-07-18  Zack Weinberg  <zackw@panix.com>
200         * grp/Makefile: Don't install the internal header grp-merge.h.
202 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
204         * sysdeps/aarch64/libm-test-ulps: Regenerated.
206 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
208         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
210 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
212         [BZ #15368]
213         * sysdeps/unix/sysv/linux/nptl-signals.h
214         (__nptl_clear_internal_signals): New function.
215         (__libc_signal_block_all): Likewise.
216         (__libc_signal_block_app): Likewise.
217         (__libc_signal_restore_set): Likewise.
218         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
219         implementation.
220         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
221         the cached pid/tid value in pthread structure.
223 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
225         [BZ #20347]
226         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
228 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
230         [BZ #20348]
231         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
232         preadv64, pwrite64 and pwritev64.
234 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
236         [BZ #20350]
237         * posix/tst-preadwrite.c: Renamed to ...
238         * posix/tst-preadwrite-common.c: This.
239         (PREAD): Removed.
240         (PWRITE): Likewise.
241         (STRINGIFY): Likewise.
242         (STRINGIFY2): Likewise.
243         (do_prepare): Make it static and remove function arguments.
244         (do_test): Likewise.
245         (PREPARE): Updated.
246         (TEST_FUNCTION): New.
247         (name): Make it static.
248         (fd): Likewise.
249         (do_prepare): Use create_temp_file.
250         (do_test): Renamed to ...
251         (do_test_with_offset): This.  Make it static and accept offset.
252         Properly check return value of PWRITE and PREAD.  Return bytes
253         read.  Don't close fd nor unlink name.
254         * posix/tst-preadwrite.c: Rewrite.
255         * posix/tst-preadwrite64.c: Likewise.
257 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
259         [BZ #20309]
260         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
261         -mtls-dialect=gnu2 works.
262         * configure: Regenerated.
263         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
264         (tests): Add tst-gnu2-tls1.
265         (modules-names): Add tst-gnu2-tls1mod.
266         ($(objpfx)tst-gnu2-tls1): New.
267         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
268         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
269         * elf/tst-gnu2-tls1.c: New file.
270         * elf/tst-gnu2-tls1mod.c: Likewise.
271         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
272         bytes for push in the PLT entry to align the stack.
274 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
276         [BZ #20349]
277         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
279 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
281         [BZ #18707]
282         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
283         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
285 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
287         * sysdeps/unix/sysv/linux/sysdep.h
288         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
289         guards.
290         * misc/tst-preadvwritev-common.c: New file.
291         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
292         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
293         a check for files larger than 2GB.
295         * sysdeps/unix/sysv/linux/mips/kernel-features.h
296         (__ASSUME_OFF_DIFF_OFF64): Remove define.
297         * sysdeps/unix/sysv/linux/pread.c
298         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
299         __OFF_T_MATCHES_OFF64_T.
300         * sysdeps/unix/sysv/linux/pread64.c
301         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
302         * sysdeps/unix/sysv/linux/preadv.c
303         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
304         * sysdeps/unix/sysv/linux/preadv64.c
305         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
306         * sysdeps/unix/sysv/linux/pwrite.c
307         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
308         * sysdeps/unix/sysv/linux/pwrite64.c
309         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
310         * sysdeps/unix/sysv/linux/pwritev.c
311         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
312         * sysdeps/unix/sysv/linux/pwritev64.c
313         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
315 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
317         * sysdeps/unix/sysv/linux/tile/kernel-features.h
318         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
320 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
322         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
324 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
326         [BZ #20240]
327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
328         (CFLAGS-s_modf-ppc32.c): New variable.
329         (CFLAGS-s_modff-ppc32.c): Likewise.
330         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
331         (CFLAGS-s_modf-ppc64.c): Likewise.
332         (CFLAGS-s_modff-ppc64.c): Likewise.
334 2016-07-07  Andreas Schwab  <schwab@suse.de>
336         [BZ #20263]
337         * nptl/tst-robust10.c: New test.
338         * nptl/Makefile (tests): Add tst-robust10.
340 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
342         [BZ #20263]
343         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
345 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
347         * sysdeps/s390/linkmap.h (struct link_map_machine):
348         Remove member gotplt and add member jmprel.
349         * sysdeps/s390/s390-32/dl-machine.h
350         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
351         instead of gotplt with &got[3].
352         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
353         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
355 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
357         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
359 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
361         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
362         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
363         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
364         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
365         * libio/vtables.c (_IO_vtable_check)
366         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
367         * libio/libioP.h (IO_set_accept_foreign_vtables)
368         [!PTR_MANGLE]: Do not call PTR_MANGLE.
370 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
372         [BZ #20314]
373         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
374         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
375         $(common-objpfx)cmath.
376         ($(common-objpfx)cstdlib): New target.
377         ($(common-objpfx)cmath): Likewise.
379 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
381         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
383 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
385         [BZ #20327]
386         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
387         are not part of the string.
389 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
391         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
392         * nptl/tst-cancel4-common.h (fifoname): New variable.
393         (fifofd): Likewise.
394         (cl_fifo): New function.
395         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
396         SIGINT.
397         (tf_open): Add early cancel test.
399 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
401         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
403 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
405         * sysdeps/generic/ldsodefs.h
406         (dl_symbol_visibility_binds_local_p): New inline function.
407         * elf/dl-addr.c (determine_info): Treat hidden and internal
408         symbols as local.
409         * elf/dl-lookup.c (do_lookup_x): Likewise.
410         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
412 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
414         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
415         invalid exception for a sNaN input.
416         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
417         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
418         (__nearbyint_vis3): Likewise
419         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
420         (__nearbyintf_vis3): Likewise
421         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
422         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
423         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
424         Likewise.
425         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
426         Likewise.
428 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
430         [BZ #20139]
431         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
432         (HAVE_AVX512DQ_ASM_SUPPORT): This.
433         * sysdeps/x86_64/configure.ac: Require assembler from binutils
434         2.24 or above.
435         (HAVE_AVX512_ASM_SUPPORT): Removed.
436         (HAVE_AVX512DQ_ASM_SUPPORT): New.
437         * sysdeps/x86_64/configure: Regenerated.
438         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
439         check unconditional.
440         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
441         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
442         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
443         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
444         Likewise.
445         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
446         Likewise.
447         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
448         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
449         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
450         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
451         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
452         Likewise.
453         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
454         Likewise.
455         * sysdeps/x86_64/multiarch/memset.S: Likewise.
456         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
457         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
458         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
459         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
460         Likewise.
461         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
462         Likewise.
463         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
464         Likewise.
465         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
466         Likewise.
467         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
468         Likewise.
469         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
470         Likewise.
471         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
472         Likewise.
473         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
474         Likewise.
475         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
476         Likewise.
477         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
478         Likewise.
479         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
480         Likewise.
482 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
484         [BZ #20024]
485         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
486         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
487         of this implementation of vector function.
488         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
489         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
490         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
491         Likewise.
492         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
493         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
494         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
495         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
496         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
497         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
498         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
499         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
500         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
501         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
502         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
503         for testing vector sincos with fixed ABI.
504         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
505         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
506         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
507         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
508         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
509         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
510         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
511         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
512         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
513         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
514         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
515         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
516         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
517         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
518         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
519         * sysdeps/x86_64/fpu/Makefile: Added new tests.
521 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
523         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
525 2016-06-30  Anton Blanchard  <anton@samba.org>
527         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
528         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
529         s_sinf-ppc64.
530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
533         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
535 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
537         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
538         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
539         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
540         e_expf-ppc64.
541         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
542         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
543         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
544         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
546 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
548         [BZ #20277]
549         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
550         when SHARED is defined.
552 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
554         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
555         (index_arch_Prefer_ERMS): Likewise.
556         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
557         __memcpy_erms for Prefer_ERMS.
558         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
559         (__memmove_erms): Enabled for libc.a.
560         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
561         __memmove_erms or Prefer_ERMS.
562         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
563         __mempcpy_erms for Prefer_ERMS.
564         * sysdeps/x86_64/multiarch/memset.S (memset): Return
565         __memset_erms for Prefer_ERMS.
567 2016-06-30  Andreas Schwab  <schwab@suse.de>
569         [BZ #20262]
570         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
571         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
572         of memory.
574 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
576         [BZ #18645]
577         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
578         (test-extras): Add tst-cleanupx4aux.
579         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
580         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
581         tst-cleanupx4aux.o.
582         * nptl/tst-cleanupx4aux.c: New file.
584 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
586         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
588 2016-06-29  Andreas Schwab  <schwab@suse.de>
590         [BZ #20260]
591         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
592         address before the beginning of the string as an integer to avoid
593         array-bounds warning.
595 2016-06-28  Richard Henderson  <rth@redhat.com>
597         * elf/elf.h (EM_BPF): New.
598         (EM_NUM): Update.
599         (R_BPF_NONE, R_BPF_MAP_FD): New.
601         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
602         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
603         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
604         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
605         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
606         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
607         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
608         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
609         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
610         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
611         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
612         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
613         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
614         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
615         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
616         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
617         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
618         (EM_NUM): Update.
620 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
622         [BZ #18960]
623         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
624         Set _nl_current_LC_CATEGORY_used to two instead of one.
626 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
628         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
629         (do_test): ... this.
630         (TEST_FUNCTION): New macro.
631          Include test-skeleton.c.
632         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
633         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
635 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
637         [BZ #15479]
638         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
639         floating-point environment rather than just control word.
640         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
641         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
642         floating-point environment, with "invalid" exceptions merged in,
643         rather than just control word.
644         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
645         * math/libm-test.inc (trunc_test_data): Do not allow spurious
646         "inexact" exceptions.
648         [BZ #15479]
649         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
650         floating-point environment rather than just control word.
651         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
652         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
653         floating-point environment, with "invalid" exceptions merged in,
654         rather than just control word.
655         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
656         * math/libm-test.inc (floor_test_data): Do not allow spurious
657         "inexact" exceptions.
659         [BZ #15479]
660         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
661         floating-point environment rather than just control word.
662         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
663         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
664         floating-point environment, with "invalid" exceptions merged in,
665         rather than just control word.
666         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
667         * math/libm-test.inc (ceil_test_data): Do not allow spurious
668         "inexact" exceptions.
670 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
672         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
673         __libc_vfork.
674         (__vfork) [IS_IN (libc)]: Remove alias.
675         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
676         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
677         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
679 2016-06-24  Torvald Riegel  <triegel@redhat.com>
681         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
682         of atomic_compare_and_exchange_bool_rel.
683         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
684         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
685         catomic_compare_and_exchange_bool_rel): Remove.
686         * sysdeps/aarch64/atomic-machine.h
687         (atomic_compare_and_exchange_bool_rel): Likewise.
688         * sysdeps/alpha/atomic-machine.h
689         (atomic_compare_and_exchange_bool_rel): Likewise.
690         * sysdeps/arm/atomic-machine.h
691         (atomic_compare_and_exchange_bool_rel): Likewise.
692         * sysdeps/mips/atomic-machine.h
693         (atomic_compare_and_exchange_bool_rel): Likewise.
694         * sysdeps/microblaze/atomic-machine.h
695         ( __arch_compare_and_exchange_bool_8_rel,
696         __arch_compare_and_exchange_bool_16_rel): Likewise.
697         * sysdeps/powerpc/atomic-machine.h
698         ( __arch_compare_and_exchange_bool_8_rel,
699         __arch_compare_and_exchange_bool_16_rel): Likewise.
700         * sysdeps/powerpc/powerpc32/atomic-machine.h
701         ( __arch_compare_and_exchange_bool_32_rel,
702         __arch_compare_and_exchange_bool_64_rel): Likewise.
703         * sysdeps/powerpc/powerpc64/atomic-machine.h
704         ( __arch_compare_and_exchange_bool_32_rel,
705         __arch_compare_and_exchange_bool_64_rel): Likewise.
706         * sysdeps/tile/atomic-machine.h
707         (atomic_compare_and_exchange_bool_rel): Likewise.
709 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
711         [BZ #20296]
712         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
713         when either argument is a NaN.
714         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
715         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
717         * math/libm-test.inc (snan_value_ld): New macro.
718         (isgreater_test_data): Add sNaN tests.
719         (isgreaterequal_test_data): Likewise.
720         (isless_test_data): Likewise.
721         (islessequal_test_data): Likewise.
722         (islessgreater_test_data): Likewise.
723         (isunordered_test_data): Likewise.
724         (nextafter_test_data): Likewise.
725         (nexttoward_test_data): Likewise.
726         (remainder_test_data): Likewise.
727         (remquo_test_data): Likewise.
728         (significand_test_data): Likewise.
729         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
731 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
733         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
734         environment macros are defined.
735         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
737 2016-06-23  Florian Weimer  <fweimer@redhat.com>
739         [BZ #20191]
740         Implement vtable verification in libio.
741         * Makerules (shlib.lds): Place __libc_IO_vtables section.
742         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
743         * debug/vdprintf_chk.c (__vdprintf_chk): Call
744         _IO_new_file_init_internal instead of _IO_file_init.
745         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
746         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
747         * libio/Makefile (routines): Add vtables.
748         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
749         (_IO_init): Remove, not for internal use.
750         (_IO_init_internal): Declare, internal replacement for _IO_init.
751         (_IO_file_init): Remove, not for internal use.
752         (_IO_new_file_init): Remove, not for internal use.
753         (_IO_new_file_init_internal): Declare, internal replacement for
754         _IO_new_file_init.
755         (_IO_old_file_init): Remove, not for internal use.
756         (_IO_old_file_init_internal): Declare, internal replacement for
757         _IO_old_file_init.
758         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
759         internal use.
760         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
761         Declare.
762         (libio_vtable): New macro.
763         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
764         functions.
765         * libio/fileops.c (_IO_new_file_init_internal): Rename from
766         _IO_new_file_init.
767         (_IO_new_file_init): New externally visible wrapper which disables
768         vtable verification.
769         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
770         Define as vtables.
771         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
772         (_IO_init): New externally visible wrapper which disables
773         vtable verification.
774         * libio/iofdopen.c (_IO_new_fdopen): Call
775         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
776         comment.
777         * libio/iofopen.c (__fopen_internal): Call
778         _IO_new_file_init_internal instead of _IO_file_init.
779         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
780         Define as vtables.
781         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
782         _IO_new_file_init_internal instead of _IO_file_init.
783         * libio/iopopen.c (_IO_new_popen): Likewise.
784         (_IO_proc_jumps): Define as vtable.
785         * libio/iovdprintf.c (_IO_vdprintf): Call
786         _IO_new_file_init_internal instead of _IO_file_init.
787         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
788         (__open_memstream): Call _IO_init_internal instead of _IO_init.
789         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
790         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
791         _IO_old_file_init.
792         (_IO_old_file_init): New externally visible wrapper which disables
793         vtable verification.
794         (_IO_old_file_jumps): Define as vtable.
795         * libio/oldiofdopen.c (_IO_old_fdopen): Call
796         _IO_old_file_init_internal instead of _IO_old_file_init.
797         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
798         * libio/oldiopopen.c (_IO_old_popen): Likewise.
799         (_IO_old_proc_jumps): Define as vtable.
800         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
801         Define as vtables.
802         * libio/vtables.c: New file.
803         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
804         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
805         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
806         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
807         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
808         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
809         instead of _IO_init.
811 2016-06-23  Florian Weimer  <fweimer@redhat.com>
813         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
815 2016-06-23  Florian Weimer  <fweimer@redhat.com>
817         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
818         potentially unused.
820 2016-06-22  Florian Weimer  <fweimer@redhat.com>
822         * test-skeleton.c (write_message): New function.
823         * malloc/tst-mallocfork2.c (write_message): Remove.
824         * debug/tst-longjmp_chk2.c (write_indented): New function.
825         (write_message): Remove.
826         (stackoverflow_handler): Call write_indented.
828 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
830         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
831         "inexact" exceptions after fnstenv.
832         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
833         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
834         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
836 2015-06-22  Zack Weinberg  <zackw@panix.com>
838         * sysdeps/generic/bits/hwcap.h: Moved to ...
839         * bits/hwcap.h: Here.
841 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
843         * sysdeps/aarch64/memcpy.S (memcpy):
844         Further tuning for performance.
846 2016-06-21  Florian Weimer  <fweimer@redhat.com>
848         [BZ #20284]
849         * malloc/arena.c (reused_arena): Do not return NULL if we start
850         out with a non-corrupted arena.
852 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
854         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
855         * misc/tst-preadvwritev.c: New file.
856         * misc/tst-preadvwritev64.c: Likewise.
857         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
858         usage.
859         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
860         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
861         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
862         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
864 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
866         [BZ #19654]
867         * sysdeps/x86_64/fpu/Makefile: Added new tests.
868         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
869         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
870         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
871         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
872         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
873         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
874         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
875         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
876         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
877         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
878         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
879         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
880         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
881         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
882         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
883         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
884         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
885         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
886         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
887         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
888         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
889         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
890         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
891         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
892         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
894 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
896         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
897         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
899 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
901         * sysdeps/aarch64/memcpy.S (memcpy):
902         Rewrite of optimized memcpy and memmove.
903         * sysdeps/aarch64/memmove.S (memmove): Remove
904         memmove code (merged into memcpy.S).
906 2016-06-20  Florian Weimer  <fweimer@redhat.com>
908         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
909         * sysdeps/generic/dl-dtv.h: New file.
910         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
911         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
912         (dtv_t): Remove.
913         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
914         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
915         (dtv_t): Remove.
916         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
917         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
918         (dtv_t): Remove.
919         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
920         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
921         (dtv_t): Remove.
922         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
923         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
924         (dtv_t): Remove.
925         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
926         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
927         (dtv_t): Remove.
928         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
929         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
930         (dtv_t): Remove.
931         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
932         (dtv_t): Remove.
933         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
934         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
935         (dtv_t): Remove.
936         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
937         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
938         (dtv_t): Remove.
939         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
940         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
941         (dtv_t): Remove.
942         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
943         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
944         (dtv_t): Remove.
945         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
946         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
947         (dtv_t): Remove.
948         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
949         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
950         (dtv_t): Remove.
951         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
952         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
953         (dtv_t): Remove.
954         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
955         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
956         (dtv_t): Remove.
958 2016-06-20  Florian Weimer  <fweimer@redhat.com>
960         Revert symbol poisoning of  __malloc_initialize_hook.
961         * include/stdc-predef.h (__malloc_initialize_hook): Remove
962         poisoning.
963         * malloc/Makefile: Remove un-poisoning.
964         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
965         instead of old__malloc_initialize_hook.
966         * malloc/malloc-hooks.h: Likewise.
967         * malloc/malloc.c: Likewise.
968         * malloc/mcheck-init.c: Likewise.
970 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
972         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
974 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
976         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
977         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
978         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
979         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
981 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
983         * NEWS: Mention addition of nextup and nextdown.
984         * manual/arith.texi: Document nextup and nextdown.
985         * manual/libm-err-tab.pl: Add nextup and nextdown.
986         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
987         * math/Versions (libm): Add GLIBC_2.24.
988         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
989         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
990         Add new test.
991         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
992         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
993         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
994         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
995         (nextup_test_data): Likewise.
996         (nextdown_test_data): Likewise.
997         * math/s_nextdown.c: New file.
998         * math/s_nextdownf.c: Likewise.
999         * math/s_nextdownl.c: Likewise.
1000         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
1001         F(nextup): New function.
1002         F(nextdown): Likewise.
1003         * math/tgmath.h: Add nextup and nextdown.
1004         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
1005         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
1006         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1007         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
1008         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
1009         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
1010         Add nextup and nextdown.
1011         (CFLAGS-nldbl-nextup.c): New variable.
1012         (CFLAGS-nldbl-nextdown.c): Likewise.
1013         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
1014         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
1015         * sysdeps/nacl/libm.abilist: Update.
1016         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1017         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1018         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1019         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1020         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1021         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1022         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1023         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1024         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1025         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1026         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1027         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
1029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1030         Likewise.
1031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
1032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
1033         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1034         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1035         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1036         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1037         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
1039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
1040         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1041         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1042         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
1043         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1045 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1047         * manual/pattern.texi: Fix typos & grammar errors.
1049 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1051         * manual/search.texi: Fix typos & grammar errors.
1053 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1055         * manual/message.texi: Fix typos & grammar errors.
1057 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
1059         * manual/contrib.texi: Fix spelling typos.
1060         * manual/crypt.texi: Likewise.
1061         * manual/filesys.texi: Likewise.
1062         * manual/locale.texi: Likewise.
1063         * manual/message.texi: Likewise.
1064         * manual/nss.texi: Likewise.
1065         * manual/string.texi: Likewise.
1067 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1069         * manual/locale.texi: Fix typos & grammar errors.
1071 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1073         * manual/charset.texi: Fix typos & grammar errors.
1075 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1077         * manual/string.texi: Fix typos.
1079 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1081         * manual/ctype.texi: Fix typos.
1083 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1085         * manual/memory.texi: Fix various typos & grammar errors.
1087 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
1089         [BZ #20255]
1090         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
1091         * math/libm-test.inc (fdim_test_data): Add another test.
1093         [BZ #6796]
1094         [BZ #20255]
1095         [BZ #20256]
1096         * math/s_fdim.c: Include <math_private.h>.
1097         (__fdim): Use math_narrow_eval on result.
1098         * math/s_fdimf.c: Include <math_private.h>.
1099         (__fdimf): Use math_narrow_eval on result.
1100         * sysdeps/i386/fpu/s_fdim.S: Remove file.
1101         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
1102         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
1103         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
1104         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
1105         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
1106         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
1107         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
1108         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
1109         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
1110         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
1111         * math/libm-test.inc (fdim_test_data): Expect errno setting on
1112         overflow.  Add sNaN tests.
1114         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
1115         fpclassify.
1116         * math/s_fdimf.c (__fdimf): Likewise.
1117         * math/s_fdiml.c (__fdiml): Likewise.
1119 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1121         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1122         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
1123         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1124         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
1125         ifunc'ed strcasecmp/strncasecmp.
1126         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
1127         [EALIGN]: Removed.
1128         [END]: Likewise.
1129         [__strcasecmp]: Define instead of the above to control symbol name.
1130         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
1131         for __strcasecmp_power8.
1132         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
1133         for __strncasecmp_power8.
1134         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
1135         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
1136         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
1137         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
1138         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
1139         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
1141 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
1143         [BZ #20252]
1144         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
1145         arguments when second argument is a NaN.
1146         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
1147         qNaN tests.
1149         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
1150         (conj_test_data): Likewise.
1151         (copysign_test_data): Likewise.
1152         (creal_test_data): Likewise.
1153         (fma_test_data): Likewise.
1154         (fmod_test_data): Likewise.
1156         [BZ #20250]
1157         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
1158         itself.
1159         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
1160         zero input to itself.
1161         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
1162         Likewise.
1163         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
1164         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
1165         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1166         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
1167         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
1169 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1171         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
1172         * nptl/tst-cancel4-common.c: New file.
1173         * nptl/tst-cancel4-common.h: Likewise.
1174         * nptl/tst-cancel4.c: Move common definitions to
1175         tst-cancel4-common.{c,h} file.
1176         * nptl/tst-cancel4_1.c: New test.
1177         * nptl/tst-cancel4_2.c: New test.
1179 2016-06-13  Florian Weimer  <fweimer@redhat.com>
1181         [BZ #20248]
1182         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
1183         (write_message): New function.
1184         (stackoverflow_handler): Call it instead of printf, to avoid
1185         excessive stack usage by printf.
1186         (do_test): Restore SIGSEGV, SIGBUS default handlers.
1188 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1190         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
1191         (prio_inherit_missing): Remove define.
1192         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1193         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1194         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
1195         Likewise.
1196         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1197         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1198         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1199         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1200         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1201         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1203 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1205         [BZ #19670]
1206         [BZ #19672]
1208         * io/test-lfs.c (do_prepare): Use xmalloc.
1209         * io/tst-fcntl.c (do_prepare): Likewise.
1210         * libio/tst-fopenloc.c (do_bz17916): Likewise.
1211         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
1212         * login/tst-utmp.c (do_prepare): Likewise.
1213         * posix/tst-exec.c (do_prepare): Likewise.
1214         * posix/tst-pathconf.c (prepare): Likewise.
1215         * posix/tst-spawn.c (do_prepare): Likewise.
1216         * posix/tst-truncate.c (do_prepare): Likewise.
1217         * rt/tst-aio.c (do_prepare): Likewise.
1218         * rt/tst-aio64.c (do_prepare): Likewise.
1220 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1222         [BZ #20237]
1223         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
1224         (get*ent): Set entidx to NULL during initialization.  If entidx is
1225         NULL, start iteration from the beginning.
1227 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1229         * malloc/malloc.c (musable): Return correct size for dumped fake
1230         mmapped chunk.
1232 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1234         [BZ #20222]
1235         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
1236         (_IO_cookie_write): Likewise.
1237         (_IO_cookie_seek): Likewise.
1238         (_IO_cookie_close): Likewise.
1239         (_IO_old_cookie_seek): Likewise.
1240         (set_callbacks): New function.
1241         (_IO_cookie_init): Call set_callbacks to copy callbacks.
1243 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
1245         * locale/programs/localedef.c (oldstyle_tables): Remove.
1246         * locale/programs/localedef.h (oldstyle_tables): Likewise.
1248 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
1250         [BZ #20240]
1251         * math/Makefile (CFLAGS-s_modf.c): New variable.
1252         (CFLAGS-s_modff.c): Likewise.
1253         (CFLAGS-s_modfl.c): Likewise.
1254         * math/libm-test.inc (modf_test_data): Add sNaN tests.
1256 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
1258         [BZ #20215]
1259         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
1260         [!__GNUC_PREREQ (3,2)]: Likewise.
1262 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
1264         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
1265         (msghdr.msg_controllen): Likewise.
1266         (cmsghdr.cmsg_len): Likewise.
1267         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
1268         ptw-oldsendmsg.
1269         (CFLAGS-oldrecvmsg.c): Remove rule.
1270         (CFLAGS-oldsendmsg.c): Likewise.
1271         (CFLAGS-recvmsg.c): Add rule.
1272         (CFLAGS-sendmsg.c): Likewise.
1273         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1274         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
1275         (CFLAGS-recvmsg.c): Remove rule.
1276         (CFLAGS-sendmsg.c): Likewise.
1277         (CFLAGS-oldrecvmsg.c): Likewise.
1278         (CFLAGS-oldsendmsg.c): Likewise.
1279         (CFLAGS-recvmmsg.c): Likewise.
1280         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
1281         to kernel defined interfaces.
1282         (msghdr.msg_controllen): Likewise.
1283         (cmsghdr.cmsg_len): Likewise.
1284         (msghdr.__glibc_reserved1): Remove member.
1285         (msghdr.__glibc_reserved2): Likewise.
1286         (cmsghdr.__glibc_reserved1): Likewise.
1287         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
1288         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
1289         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1290         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
1291         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
1292         version.
1293         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1294         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
1295         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1296         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
1297         Remove recvmsg and sendmsg.
1298         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
1299         Likewise.
1300         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1301         Likewise.
1302         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1303         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1304         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1305         Likewise.
1306         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1307         Likewise.
1308         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
1309         [libc] (GLIBC_2.24): Likewise.
1310         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
1311         Likewise.
1312         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
1313         Likewise.
1314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1315         [libc] (GLIBC_2.24): Likewise.
1316         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
1317         Likewise.
1318         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
1319         Likewise.
1320         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
1321         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
1322         Likewise.
1323         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
1324         Likewise.
1325         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
1326         Likewise.
1327         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
1328         Likewise.
1329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
1330         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
1331         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
1332         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
1333         version for {recv,send,recm,sendm}msg.
1334         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1335         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1336         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1337         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1338         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1339         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1340         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1341         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1342         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1343         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1344         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1345         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1347         Likewise.
1348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1349         Likewise.
1350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1352         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1353         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1354         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1355         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1356         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1357         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1360         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1361         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1362         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1364 2016-06-10  Florian Weimer  <fweimer@redhat.com>
1366         [BZ #19564]
1367         Remove __malloc_initialize_hook from the API.
1368         * malloc/malloc.h (__malloc_initialize_hook): Remove.
1369         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
1370         #pragma GCC poison.
1371         * malloc/malloc-hooks.h: New file.
1372         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
1373         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
1374         (old__malloc_initialize_hook): Rename from
1375         __malloc_initialize_hook to evade poisoning.  Turn into compat
1376         symbol.
1377         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
1378         __malloc_initialize_hook.
1379         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
1380         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
1381         * manual/memory.texi (Hooks for Malloc): Remove
1382         __malloc_initialize_hook.  Adjust hook example.
1384 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
1386         [BZ #20235]
1387         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
1388         itself.
1389         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1390         * math/libm-test.inc (log2_test_data): Add sNaN tests.
1392         [BZ #20234]
1393         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
1394         infinity or NaN input to itself.
1396         [BZ #20233]
1397         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
1398         to itself.
1400         [BZ #20232]
1401         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
1402         itself.
1404 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1406         * sysdeps/x86_64/start.S (_start): Always indirect branch to
1407         __libc_start_main via GOT.
1409 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1411         * sysdeps/x86_64/memcopy.h: New file.
1412         * sysdeps/x86_64/wordcopy.c: Likewise.
1414 2016-06-09  Florian Weimer  <fweimer@redhat.com>
1416         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
1417         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
1418         <cstdlib>.
1419         (optimization_barrier): New.
1420         (do_test): Use it.  Call quick_exit in the global namespace.
1421         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
1422         instead of <cstdlib>, <thread>.
1423         (optimization_barrier): New.
1424         (non_main_thread): Adjust declaration.  Call optimization_barrier.
1425         Call quick_exit in the global namespace.
1426         (do_test): Call optimization_barrier.  Use pthread_create,
1427         pthread_join instead of std::thread.
1429 2016-06-09  Andreas Schwab  <schwab@suse.de>
1431         [BZ #19755]
1432         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
1433         new entries in auto-propagate mode.
1434         * nscd/grpcache.c (cache_addgr): Likewise.
1436 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
1438         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
1439         New functions.
1440         (add_temp_file): Use them.
1442 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
1444         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
1446 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
1448         [BZ #20229]
1449         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
1450         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
1451         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
1453         [BZ #20228]
1454         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
1455         itself.
1456         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1457         * math/libm-test.inc (log10_test_data): Add sNaN tests.
1459         [BZ #20227]
1460         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
1461         itself.
1462         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1463         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1464         * math/libm-test.inc (log_test_data): Add sNaN tests.
1466         [BZ #20226]
1467         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
1468         itself.
1469         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1470         * math/libm-test.inc (exp_test_data): Add sNaN tests.
1471         (exp10_test_data): Likewise.
1472         (expm1_test_data): Likewise.
1474         [BZ #20225]
1475         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
1476         itself.
1477         * math/s_ldexpf.c (__ldexpf): Likewise.
1478         * math/s_ldexpl.c (__ldexpl): Likewise.
1479         * math/w_scalbln.c (__w_scalbln): Likewise.
1480         * math/w_scalblnf.c (__w_scalblnf): Likewise.
1481         * math/w_scalblnl.c (__w_scalblnl): Likewise.
1482         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
1483         (scalbln_test_data): Likewise.
1485         [BZ #20224]
1486         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
1487         argument to itself.
1488         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
1490 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1492         [BZ #19776]
1493         * sysdeps/x86_64/memcpy.S: Make it dummy.
1494         * sysdeps/x86_64/mempcpy.S: Likewise.
1495         * sysdeps/x86_64/memmove.S: New file.
1496         * sysdeps/x86_64/memmove_chk.S: Likewise.
1497         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1498         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1499         * sysdeps/x86_64/memmove.c: Removed.
1500         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1501         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1502         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
1503         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
1504         Likewise.
1505         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1506         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1507         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1508         memcpy-sse2-unaligned, memmove-avx-unaligned,
1509         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
1510         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1511         (__libc_ifunc_impl_list): Replace
1512         __memmove_chk_avx512_unaligned_2 with
1513         __memmove_chk_avx512_unaligned.  Remove
1514         __memmove_chk_avx_unaligned_2.  Replace
1515         __memmove_chk_sse2_unaligned_2 with
1516         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
1517         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
1518         with __memmove_avx512_unaligned.  Replace
1519         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
1520         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
1521         with __memcpy_chk_avx512_unaligned.  Remove
1522         __memcpy_chk_avx_unaligned_2.  Replace
1523         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
1524         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
1525         Replace __memcpy_avx512_unaligned_2 with
1526         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
1527         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
1528         with __mempcpy_chk_avx512_unaligned.  Remove
1529         __mempcpy_chk_avx_unaligned_2.  Replace
1530         __mempcpy_chk_sse2_unaligned_2 with
1531         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
1532         Replace __mempcpy_avx512_unaligned_2 with
1533         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
1534         Replace __mempcpy_sse2_unaligned_2 with
1535         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
1536         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
1537         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
1538         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
1539         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
1540         (ENTRY): Removed.
1541         (END): Likewise.
1542         (ENTRY_CHK): Likewise.
1543         (libc_hidden_builtin_def): Likewise.
1544         Don't include ../memcpy.S.
1545         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
1546         __memcpy_chk_avx512_unaligned_erms and
1547         __memcpy_chk_avx512_unaligned.  Use
1548         __memcpy_chk_avx_unaligned_erms and
1549         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1550         Default to __memcpy_chk_sse2_unaligned.
1551         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1552         Change function suffix from unaligned_2 to unaligned.
1553         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
1554         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
1555         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
1556         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
1557         (ENTRY): Removed.
1558         (END): Likewise.
1559         (ENTRY_CHK): Likewise.
1560         (libc_hidden_builtin_def): Likewise.
1561         Don't include ../mempcpy.S.
1562         (mempcpy): New.  Add a weak alias.
1563         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
1564         __mempcpy_chk_avx512_unaligned_erms and
1565         __mempcpy_chk_avx512_unaligned.  Use
1566         __mempcpy_chk_avx_unaligned_erms and
1567         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1568         Default to __mempcpy_chk_sse2_unaligned.
1570 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1572         [BZ #19881]
1573         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
1574         into ...
1575         * sysdeps/x86_64/memset.S: This.
1576         (__bzero): Removed.
1577         (__memset_tail): Likewise.
1578         (__memset_chk): Likewise.
1579         (memset): Likewise.
1580         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
1581         defined.
1582         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
1583         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
1584         (__memset_zero_constant_len_parameter): Check SHARED instead of
1585         PIC.
1586         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1587         memset-avx2 and memset-sse2-unaligned-erms.
1588         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1589         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
1590         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
1591         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1592         (__bzero): Enabled.
1593         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
1594         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
1595         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
1596         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
1597         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
1598         (memset): Removed.
1599         (__memset_chk): Likewise.
1600         (MEMSET_SYMBOL): New.
1601         (libc_hidden_builtin_def): Replace __memset_sse2 with
1602         __memset_sse2_unaligned.
1603         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
1604         __memset_chk_sse2 and __memset_chk_avx2 with
1605         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
1606         Use __memset_chk_sse2_unaligned_erms or
1607         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
1608         __memset_chk_avx512_unaligned_erms and
1609         __memset_chk_avx512_unaligned.
1611 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1613         * math/gen-auto-libm-test.c (fp_format_desc): remove
1614         suffix member.
1615         (output_generic_value): Remove usage of suffix member,
1616         and the resulting unuse of the fp_format argument.
1617         (output_for_one_input_case): Remove unused fp_format
1618         parameter.
1620         * math/auto-libm-test-out: Regenerate.
1622         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
1623         usage with TEST_COND_ibm128.
1624         (TEST_COND_flt_32): Remove.
1625         (TEST_COND_dbl_64): Remove.
1626         (TEST_COND_ldbl_96_intel): Remove.
1627         (TEST_COND_ldbl_96_m68k): Remove.
1628         (TEST_COND_ldbl_128): Remove.
1630 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1632         * auto-libm-test-in:
1633         Replace flt-32 usage with binary32.
1634         Replace dbl-64 usage with binary64.
1635         Replace ldbl-intel-96 usage with intel96.
1636         Replace ldbl-m68k-96 usage with m68k96.
1637         Replace ldbl-128ibm usage with ibm128.
1638         Replace ldbl-128 usage with binary128.
1640         * auto-libm-test-out: Regenerate.
1642 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1644         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
1645         (parse_ulps): Dynamically generate type name matching
1646         string from all_floats.
1647         (get_ulps): Generate the ulps as an array instead.
1648         (output_ulps): Dynamically compose the type based
1649         on the number of supported formats, and print
1650         the indices as type specific helper macros.
1652         * math/libm-test.inc: Remove comment about CHOOSE.
1653         (ulp_data): Generate the type in libm-test-ulps.h.
1654         (ULP_IDX): New macro.
1655         (find_ulps): Update usage of max_ulp.
1657         * math/test-double-vlen2.h (CHOOSE): Remove.
1658         * math/test-double-vlen4.h (CHOOSE): Likewise.
1659         * math/test-double-vlen8.h (CHOOSE): Likewise.
1660         * math/test-float.c (CHOOSE): Likewise.
1661         * math/test-float-finite.c (CHOOSE): Likewise.
1662         * math/test-double.c (CHOOSE): Likewise.
1663         * math/test-double-finite.c (CHOOSE): Likewise.
1664         * math/test-idouble.c (CHOOSE): Likewise.
1665         * math/test-ifloat.c (CHOOSE): Likewise.
1666         * math/test-ildoubl.c (CHOOSE): Likewise.
1667         * math/test-ldouble-finite.c (CHOOSE): Likewise.
1668         * math/test-ldouble.c (CHOOSE): Likewise.
1670         * math/test-float.h (TEST_FLOAT): Remove.
1671         * math/test-double.h (TEST_DOUBLE): Likewise.
1672         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
1674 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1676         * math/gen-libm-test.pl: (apply_lit): New subroutine.
1677         (parse_args): Strip C suffix from floating point literals
1678         typed with 'f' and wrap them with LIT().
1680         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
1681         (test_ff_f_data_nexttoward): Rename to
1682         (test_fj_f_data): New struct.
1683         (nexttoward_test_data): Relabel tests as
1684         TEST_fj_f instead of TEST_ff_f.
1686 2016-06-08  Florian Weimer  <fweimer@redhat.com>
1688         Emacs bug 23726.
1689         * malloc/malloc.c (dumped_main_arena_start): Update comment.
1690         (__libc_realloc): Correct size computation for dumped fake mmapped
1691         chunks.
1693 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
1695         [BZ #20219]
1696         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
1697         to itself.
1698         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
1700         [BZ #20218]
1701         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
1702         to itself.
1703         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
1705 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1707         [BZ #20195]
1708         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
1709         check to ...
1710         (init_cpu_features): Here.
1712 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
1714         [BZ #20214]
1715         * sysdeps/unix/sysv/linux/bits/in.h
1716         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1717          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
1718         Define to 1.
1719         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1720          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
1721         Define to 0.
1722         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
1723         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
1725 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
1727         [BZ #20198]
1728         * stdlib/Makefile (tests): Add tst-quick_exit, and
1729         tst-thread-quick_exit.
1730         [ifeq ($(have-cxx-thread_local),yes)]
1731         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
1732         (CFLAGS-tst-thread-quick_exit.o): Likewise.
1733         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
1734         (LDLIBS-tst-thread-quick_exit): Likewise.
1735         [ifneq ($(have-cxx-thread_local),yes)]
1736         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
1737         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
1738         If run_dtors is true call __call_tls_dtors.
1739         (exit): Call __run_exit_handlers with run_dtors set to true.
1740         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
1741         definition.
1742         * stdlib/quick_exit.c (quick_exit): Remove function.
1743         (__new_quick_exit): New function.
1744         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
1745         function.
1746         * stdlib/tst-quick_exit.cc: New file.
1747         * stdlib/tst-thread-quick_exit.cc: New file.
1748         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
1749         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
1750         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
1751         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
1752         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
1753         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
1754         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
1755         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
1756         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
1757         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
1758         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
1759         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
1760         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
1761         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
1762         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
1763         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
1764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
1765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
1766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
1767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
1768         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
1769         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
1770         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
1771         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
1772         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
1773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
1774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
1775         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
1776         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
1777         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
1779 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
1781         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
1782         a typo in comments.
1784 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
1786         [BZ #20213]
1787         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
1788         argument to itself.
1789         * math/libm-test.inc (asin_test_data): Add sNaN tests.
1791 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1793         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
1794         required flags.
1795         (CFLAGS-pwritev64.c): Likewise.
1796         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
1797         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1798         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
1799         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1800         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
1801         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
1802         syscall from auto-generation.
1803         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
1804         [WORDSIZE == 64] (pwritev64): Remove macro.
1805         [!PWRITEV] (PWRITEV): Likewise.
1806         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1807         [!PWRITEV] (PWRITE): Likewise.
1808         [!PWRITEV] (OFF_T): Likewise.
1809         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1810         (LO_HI_LONG): Remove macro.
1811         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
1812         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
1813         (PWRITEV): Remove macro.
1814         (PWRITEV_REPLACEMENTE): Likewise.
1815         (PWRITE): Likewise.
1816         (OFF_T): Likewise.
1817         (pwritev64): New function.
1818         * nptl/tst-cancel4.c (tf_writev): Add test.
1820         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
1821         required flags.
1822         (CFLAGS-preadv64.c): Likewise.
1823         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
1824         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1825         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
1826         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
1827         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
1828         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
1829         syscall from auto-generation.
1830         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
1831         [WORDSIZE == 64] (preadv64): Remove macro.
1832         [!PREADV] (PREADV): Likewise.
1833         [!PREADV] (PREADV_REPLACEMENT): Likewise.
1834         [!PREADV] (PREAD): Likewise.
1835         [!PREADV] (OFF_T): Likewise.
1836         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
1837         (LO_HI_LONG): Remove macro.
1838         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
1839         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
1840         (PREADV): Remove macro.
1841         (PREADV_REPLACEMENTE): Likewise.
1842         (PREAD): Likewise.
1843         (OFF_T): Likewise.
1844         (preadv64): New function.
1845         * nptl/tst-cancel4.c (tf_preadv): Add test.
1847 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
1849         [BZ #20212]
1850         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
1851         argument to itself.
1852         * math/libm-test.inc (acos_test_data): Add sNaN tests.
1854 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1856         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
1857         New symbol defined as libc_hidden_def.
1858         (strcasestr): Became a weak alias to __strcasestr.
1859         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
1860         according to multi-arch support.  Move __stpncpy hidden
1861         definition from here to...
1862         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
1863         symbol stpncpy.
1864         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
1865         libc_hidden_builtin_def.
1866         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
1867         memset symbol to use when multi-arch support is available.
1869 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1871         * dlfcn/tst-rec-dlopen.c: Include string.h.
1873 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1875         * manual/install.texi: Remove mention of --without-tls
1876         * INSTALL: Regenerate.
1878 2016-06-05  Florian Weimer  <fweimer@redhat.com>
1880         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
1881         Remove.
1882         (call_function, interposed_malloc_called): New variables.
1883         (malloc): New function.
1884         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
1885         and clear call_function as needed.
1887 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
1889         * include/wchar.h (__wmemset): Use __typeof.
1891 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
1893         * include/wchar.h (__wmemset): Declare function without typeof.
1895 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
1897         [BZ #20205]
1898         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
1899         exponent when incrementing negative subnormal with low mantissa
1900         word zero.
1901         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
1902         Add another test.
1904 2016-06-03  Florian Weimer  <fweimer@redhat.com>
1906         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
1907         __wmemset instead of wmemset.
1909 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
1911         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
1912         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
1913         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
1914         __USE_KERNEL_IPV6_DEFS to 0.
1915         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
1916         Update comment.
1918 2016-06-01  Florian Weimer  <fweimer@redhat.com>
1920         [BZ #19861]
1921         Do not use IFUNC resolver with potentially unrelocated symbol.
1922         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
1923         (DEFINE_FORK): Remove macro and inline definition.
1924         (fork_alias): Renamed from fork_ifunc.
1925         (__fork_alias): Renamed from __fork_ifunc.
1927 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
1929         [BZ 19653]
1930         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
1931         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
1933 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1935         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
1936         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
1937         i386-linux-gnu).
1938         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
1939         Set to no.
1940         * sysdeps/mach/hurd/configure: Refresh.
1942 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1944         [BZ #20178]
1945         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
1946         on failure instead of exit.
1948 2016-05-30  Roland McGrath  <roland@hack.frob.com>
1950         [BZ #3629]
1951         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
1952         of POSIX.1-2008.
1954 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1956         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
1957           Use PLT entry for calling _hurd_self_sigstate.
1959 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
1961         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
1962         available logical processors with SMT level type sharing L2
1963         cache for Intel processors.
1965 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1967         [BZ #20160]
1968         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
1969         argument to itself before returning the result.
1970         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
1971         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
1972         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
1973         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
1974         Likewise.
1975         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
1976         Likewise.
1977         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
1978         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
1979         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
1980         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
1981         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
1982         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
1984         [BZ #20160]
1985         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
1986         argument to itself before returning the result.
1987         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
1988         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
1989         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
1990         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
1991         Likewise.
1992         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1993         Likewise.
1994         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
1995         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
1996         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
1997         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
1998         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
1999         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2001 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2003         * libm-test.inc: Replace usage of M_El with
2004         (lit_e): New macro.
2006 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2008         * libm-test.inc: Replace usage of M_PI_4l with
2009         (lit_pi_4_d): New macro.
2011 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2013         * libm-test.inc: Replace usage of M_PIl with
2014         (lit_pi): New macro.
2016 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2018         * libm-test.inc: Replace usage of M_PI2l with
2019         (lit_pi_2_d): New macro.
2021         * math/test-double.h (LITM): New macro.
2022         * math/test-float.h (LITM): Likewise.
2023         * math/test-ldouble.h (LITM): Likewise.
2025 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2027         * libm-test.inc (M_PI_34l): Rename to
2028         (lit_pi_3_m_4_d): New Macro.
2029         (M_PI_34_LOG10El): Rename to
2030         (lit_pi_3_m_4_ln10_m_d): New Macro.
2031         (M_PI2_LOG10El): Rename to
2032         (lit_pi_2_ln10_m_d):  New Macro.
2033         (M_PI4_LOG10El): Rename to
2034         (lit_pi_4_ln10_m_d):  New Macro.
2035         (M_PI_LOG10El): Rename to
2036         (lit_pi_ln10_d):  New Macro.
2038 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2040         [BZ #20157]
2041         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
2042         determine whether to negate low half if [_ARCH_PPCGR], and integer
2043         comparison otherwise.
2044         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
2045         determine whether to negate low half.
2047         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
2048         (NO_TEST_INLINE_DOUBLE): Likewise.
2049         (TEST_COND_x86_64): Likewise.
2050         (TEST_COND_x86): Likewise.
2051         (M_PI_6l): Likewise.
2053 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2055         * math/libm-test.inc:
2056         (TEST_FLOAT): Change usage to TEST_COND_binary32.
2057         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
2058         (TEST_LDOUBLE): Update usage to evaluate as true if
2059         the guarded tests match the property being tested.
2060         (LDBL_MAX_EXP): Change to MAX_EXP.
2061         (LDBL_MIN_EXP): Change to MIN_EXP.
2062         (LDBL_MANT_DIG): Change to MANT_DIG, except for
2063         nexttoward tests.
2065 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2067         * math/libm-test.inc:
2068         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
2069         (TYPE_MIN): Likewise.
2070         (TYPE_TRUE_MIN): Likewise.
2071         (TYPE_MAX): Likewise.
2072         (MIN_EXP): Likewise.
2073         (MAX_EXP): Likewise.
2074         (MANT_DIG): Likewise.
2076         (FSTR_MAX): New macro.
2077         (__CONCATX): Likewise.
2078         (QTYPE_STR): Likewise.
2079         (TEST_COND_binary32): Likewise.
2080         (TEST_COND_binary64): Likewise.
2081         (TEST_COND_binary128): Likewise.
2082         (TEST_COND_ibm128): Likewise.
2083         (TEST_COND_intel96): Likewise.
2084         (TEST_COND_m68k96): Likewise.
2086         (TEST_COND_flt_32): Redefine as equivalent format test macro.
2087         (TEST_COND_dbl_64): Likewise.
2088         (TEST_COND_ldbl_96_intel): Likewise.
2089         (TEST_COND_ldbl_96_m68k): Likewise.
2090         (TEST_COND_ldbl_128): Likewise.
2091         (TEST_COND_ldbl_128ibm): Likewise.
2093         (plus_zero): Redefine using LIT macro.
2094         (minus_zero): Likewise.
2095         (plus_infty): Redefine as (INF).
2096         (minux_infty): Redefine as (-INF).
2097         (max_value): Redefine as TYPE_MAX.
2098         (min_value): Redefine as TYPE_MIN.
2099         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
2101         (print_float): Refactor to use snprintf to convert FLOAT values
2102         to string. This brings it closer to dropin replacement of strtof
2103         for the TS 18661 defined types.
2104         (update_stats): Likewise.
2105         (print_complex_function_ulps): Likewise.
2106         (print_max_error): Likewise.
2107         (print_complex_max_error): Likewise.
2108         (check_float_internal): Likewise.
2110         * math/test-float.h (PREFIX): New macro.
2111         (LIT): Likewise.
2112         (TYPE_STR): Likewise.
2113         (FTOSTR): Likewise.
2115         * math/test-double.h (PREFIX): New macro.
2116         (LIT): Likewise.
2117         (TYPE_STR): Likewise.
2118         (FTOSTR): Likewise.
2120         * math/test-ldouble.h (PREFIX): New macro.
2121         (LIT): Likewise.
2122         (TYPE_STR): Likewise.
2123         (FTOSTR): Likewise.
2125 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2127         [BZ #20156]
2128         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
2129         to itself when zero or not finite.
2130         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
2131         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2132         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
2133         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
2135 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
2137         [BZ #20153]
2138         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
2139         x * x + x for infinities and NaNs.
2141         [BZ #20151]
2142         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
2143         argument to itself before returning result.
2144         (__ieee754_y0l): Likewise.
2145         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2146         (__ieee754_y1l).
2148         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
2149         (atan_test_data): Likewise.
2150         (ceil_test_data): Likewise.
2151         (cos_test_data): Likewise.
2152         (cosh_test_data): Likewise.
2153         (erf_test_data): Likewise.
2154         (exp2_test_data): Likewise.
2155         (fabs_test_data): Likewise.
2156         (floor_test_data): Likewise.
2157         (ilogb_test_data): Likewise.
2158         (j0_test_data): Likewise.
2159         (j1_test_data): Likewise.
2160         (jn_test_data): Likewise.
2161         (lgamma_test_data): Likewise.
2162         (lrint_test_data): Likewise.
2163         (llrint_test_data): Likewise.
2164         (logb_test_data): Likewise.
2165         (lround_test_data): Likewise.
2166         (llround_test_data): Likewise.
2167         (nearbyint_test_data): Likewise.
2168         (rint_test_data): Likewise.
2169         (round_test_data): Likewise.
2170         (sin_test_data): Likewise.
2171         (sincos_test_data): Likewise.
2172         (sinh_test_data): Likewise.
2173         (sqrt_test_data): Likewise.
2174         (tan_test_data): Likewise.
2175         (tanh_test_data): Likewise.
2176         (tgamma_test_data): Likewise.
2177         (trunc_test_data): Likewise.
2178         (y0_test_data): Likewise.
2179         (y1_test_data): Likewise.
2180         (yn_test_data): Likewise.
2182         * math/libm-test.inc: Update comment about NaN testing.
2183         (TEST_SNAN): New macro.
2184         (snan_value): Likewise.
2185         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
2186         (fpclassify_test_data): Add sNaN tests.
2187         (isfinite_test_data): Likewise.
2188         (isinf_test_data): Likewise.
2189         (isnan_test_data): Likewise.
2190         (isnormal_test_data): Likewise.
2191         (issignaling_test_data): Likewise.
2192         (signbit_test_data): Likewise.
2193         * math/gen-libm-test.pl (%beautify): Add snan_value.
2194         (show_exceptions): Add argument $test_snan.
2195         (parse_args): Handle snan_value as non-finite.  Update call to
2196         show_exceptions.
2197         * math/Makefile (libm-test-no-inline-cflags): Add
2198         -fsignaling-nans.
2200 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2202         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
2203         (CFLAGS-oldsendmsg.c): Add rule.
2204         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
2205         Correct recvmsg symbol name.
2206         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
2207         Likewise.
2209 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2211         * sysdeps/unix/sysv/linux/Makefile
2212         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
2213         oldsendmmsg.
2214         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
2215         sendmmsg.
2216         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2217         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2218         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2219         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2221         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2222         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2224         Likewise.
2225         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2226         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
2227         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
2228         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
2229         iovlen and controllen fields to adjust to POSIX specification.
2230         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
2232         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
2233         and change to correct expected type.
2234         (msghdr.msg_controllen): Likewise.
2235         (cmsghdr.cmsg_len): Likewise.
2236         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
2237         expected POSIX assumption about the size.
2238         (msghdr.msg_controllen): Likewise.
2239         (msghdr.__glibc_reserved1): Likewise.
2240         (msghdr.__glibc_reserved2): Likewise.
2241         (cmsghdr.cmsg_len): Likewise.
2242         (cmsghdr.__glibc_reserved1): Likewise.
2243         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
2244         Add ptw-oldrecvmsg and ptw-oldsendmsg.
2245         (CFLAGS-sendmsg.c): Remove rule.
2246         (CFLAGS-recvmsg.c): Likewise.
2247         (CFLAGS-oldsendmsg.c): Add rule.
2248         (CFLAGS-oldrecvmsg.c): Likewise.
2249         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
2250         recvmsg and sendmsg.
2251         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
2252         Likewise.
2253         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
2254         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
2255         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
2256         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
2257         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
2258         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
2259         Likewise.
2260         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
2261         Likewise.
2262         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
2263         Likewise.
2264         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
2265         Likewise.
2266         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
2267         Likewise.
2268         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
2269         Likewise.
2270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
2271         (GLIBC_2.24): Likewise.
2272         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
2273         Likewise.
2274         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
2275         Likewise.
2276         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
2277         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
2278         Likewise.
2279         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
2280         Likewise.
2281         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
2282         Likewise.
2283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
2284         (GLIBC_2.24): Likewise.
2285         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
2286         Likewise.
2287         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
2288         Likewise.
2289         * sysdeps/unix/sysv/linux/Makefile
2290         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
2291         (CFLAGS-sendmsg.c): Add rule.
2292         (CFLAGS-recvmsg.c): Likewise.
2293         (CFLAGS-oldsendmsg.c): Likewise.
2294         (CFLAGS-oldrecvmsg.c): Likewise.
2295         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
2296         initialization.
2297         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2298         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2299         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
2300         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2301         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
2302         iovlen and controllen fields to adjust to POSIX specification.
2303         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
2304         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
2305         added recvmsg and sendmsg.
2306         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2307         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2308         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2309         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2310         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2311         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2312         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2313         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2314         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2315         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2316         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2317         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2319         Likewise.
2320         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2322         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2323         Likewise.
2324         Likewise.
2325         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2326         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2327         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2328         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2329         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2330         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2332         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2334         Likewise.
2335         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2336         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2338         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
2339         from auto-generation.
2340         (sendmsg): Likewise.
2341         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
2342         (sendmsg): Likewise.
2343         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
2344         (sendmsg): Likewise.
2345         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
2346         (sendmsg): Likewise.
2347         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
2348         (sendmsg): Likewise.
2349         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
2350         (sendmsg): Likewise.
2351         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
2352         Likewise.
2353         (sendmsg): Likewise.
2354         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
2355         (sendmsg): Likewise.
2356         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2357         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2358         Remove.
2359         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2360         Likewise.
2361         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2362         Undefine.
2363         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2364         Likewise.
2365         * sysdeps/unix/sysv/linux/kernel-features.h
2366         (__ASSUME_SENDMSG_SYSCALL): Define.
2367         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2368         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2369         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2370         Remove.
2371         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2372         Likewise.
2373         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2374         Undefine.
2375         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2376         Likewise.
2377         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2378         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2379         Remove.
2380         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2381         Likewise.
2382         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2383         Undefine.
2384         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2385         Likewise.
2386         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2387         (__ASSUME_SENDMSG_SYSCALL): Undefine.
2388         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2389         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2390         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2391         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2392         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2393         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2394         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2396 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2398         * stdlib/gen-tst-strtod-round.c: Add backslash to
2399         compile command in comment.
2400         (printfp): Remove the literal suffix, and define an infinite
2401         value as INF to avoid expansion clash with INFINITY.
2402         (round_str): Remove the literal suffix.
2403         (round_for_all): Likewise, remove the now duplicate ldbl-64
2404         entry, and remove some magic constants.
2406         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
2407         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
2408         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
2409         (_CONCAT): New macro.
2410         (CONCAT): Likewise.
2411         (CHOOSE_ld): Likewise.
2412         (CHOOSE_f): Likewise.
2413         (CHOOSE_d): Likewise.
2414         (FTYPE_MEMBER): Likewise.
2415         (BOOL_MEMBER): Likewise.
2416         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
2417         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
2418         (_XNTRY): Likewise.
2419         (XNTRY): Likewise.
2420         (_ENTRY): Likewise.
2421         (ENTRY): Likewise.
2422         (test_exactness): Generate members via macro.
2423         (test_results): Likewise.
2424         (test): Update members.
2425         (TEST): Redefine using new macros.
2426         (INF): New macro.
2427         (fetestmodes): New structure.
2428         (do_test): Refactor to be type generic.
2429         (test_in_one_mode): Refactor duplicate code into
2430         (GEN_ONE_TEST): New macro.
2432         * stdlib/tst-strtod-round-data.h: Regenerate.
2434         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
2435         Extend to pass additional arbitrary parameters to
2436         generators.
2438 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
2440         [BZ #15479]
2441         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
2442         floating-point state after first floating-point operation on
2443         input.  Restore full floating-point state instead of just rounding
2444         mode.
2445         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2446         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2447         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2448         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2449         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2451         [BZ #15479]
2452         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
2453         floating-point state after first floating-point operation on
2454         input.  Restore full floating-point state instead of just rounding
2455         mode.
2456         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2457         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2458         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2459         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2460         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2462 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2464         [BZ #19727]
2465         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
2466         valid high surrogate.
2467         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
2468         of an utf16 surrogate.
2469         * iconv/gconv_simple.c (BODY): Likewise.
2470         * iconvdata/bug-iconv12.c: New file.
2471         * iconvdata/Makefile (tests): Add bug-iconv12.
2473 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2475         [BZ #19726]
2476         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
2477         outptrp in case of an illegal input.
2478         * iconv/tst-iconv6.c: New file.
2479         * iconv/Makefile (tests): Add tst-iconv6.
2481 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2483         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
2484         an error in case of a value in range of an utf16 low surrogate.
2486 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2488         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
2489         an error in case of a value in range of an utf16 low surrogate.
2491 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2493         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
2494         Move to ...
2495         * sysdeps/s390/Makefile: ... here.
2496         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
2497         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
2498         (BRANCH_ON_COUNT): New define.
2499         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
2500         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
2501         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
2502         run on s390-32, too.
2503         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
2504         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
2505         run on s390-32, too.
2506         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
2507         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
2508         run on s390-32, too.
2510 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2512         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
2513         etf3eh or new vector loop-variant.
2515 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2517         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
2518         etf3eh or new vector loop-variant.
2520 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2522         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
2523         or new vector loop-variant.
2525 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2527         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
2528         Rename to TR_LOOP and usage of tr instead of troo instruction.
2530 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2532         * sysdeps/s390/multiarch/gconv_simple.c: New File.
2533         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
2535 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2537         * sysdeps/s390/multiarch/8bit-generic.c: New File.
2538         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
2539         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
2540         New override define.
2541         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
2543 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2545         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
2546         * sysdeps/s390/configure.ac: Add test for S390 vector register
2547         support in gcc.
2548         * sysdeps/s390/configure: Regenerated.
2550 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2552         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
2553         Install file from $(objpfx)gconv-modules.
2554         ($(objpfx)gconv-modules): Concatenate architecture specific file
2555         in variable sysdeps-gconv-modules and gconv-modules in src dir.
2556         * sysdeps/s390/gconv-modules: New file.
2557         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
2558         Deleted.
2559         ($(objpfx)gconv-modules-s390): Deleted.
2560         (sysdeps-gconv-modules): New variable.
2562 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2564         [BZ #15479]
2565         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
2566         of immediate operand to rounding instruction.
2567         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
2568         Likewise.
2569         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
2570         Likewise.
2571         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
2572         Likewise.
2574 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2576         * math/libm-test.inc (MIN_EXP): Directly define as
2577         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
2579 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2581         * math/libm-test.inc (MANT_DIG): Directly define as
2582         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
2584 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2586         * stdlib/gen-tst-strtod-round.c (main):
2587           Change usage to more closely match the generated
2588           output.  Add usage and compilation instructions.
2589           (string_to_fp): Add and use FILE* parameter as
2590           output target.
2591           (print_fp): Likewise.
2592           (round_str): Likewise.
2593           (round_for_all): Likewise.
2594         * stdlib/tst-strtod-round.c (tests): Move into
2595         * stdlib/tst-strtod-round-data.h: New file.
2597 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2599         [BZ #15479]
2600         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
2601         (__round): Do not force "inexact" exception.
2602         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
2603         variable.
2604         (__round): Do not force "inexact" exception.
2605         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
2606         (__roundf): Do not force "inexact" exception.
2607         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
2608         (__roundl): Do not force "inexact" exception.
2609         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
2610         (__roundl): Do not force "inexact" exception.
2611         * math/libm-test.inc (round_test_data): Do not allow spurious
2612         "inexact" exceptions.
2614         [BZ #15479]
2615         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
2616         exception in comment.
2617         (huge): Remove variable.
2618         (__floor): Do not force "inexact" exception.
2619         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
2620         "inexact" exception in comment.
2621         (huge): Remove variable.
2622         (__floor): Do not force "inexact" exception.
2623         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
2624         exception in comment.
2625         (huge): Remove variable.
2626         (__floorf): Do not force "inexact" exception.
2627         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
2628         exception in comment.
2629         (huge): Remove variable.
2630         (__floorl): Do not force "inexact" exception.
2632         [BZ #15479]
2633         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
2634         exception in comment.
2635         (huge): Remove variable.
2636         (__ceil): Do not force "inexact" exception.
2637         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
2638         "inexact" exception in comment.
2639         (huge): Remove variable.
2640         (__ceil): Do not force "inexact" exception.
2641         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
2642         (__ceilf): Do not force "inexact" exception.
2643         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
2644         exception in comment.
2645         (huge): Remove variable.
2646         (__ceill): Do not force "inexact" exception.
2648 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2650         * config.h.in (BIND_NOW): New.
2651         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
2652         * configure: Regenerated.
2653         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
2654         indirect branch via the GOT slot.
2656 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2658         [BZ #19765]
2659         * sysdeps/s390/mempcpy.S: New File.
2660         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
2661         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
2662         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2663         Add mempcpy variants.
2664         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
2665         (memcpy): Adjust to be usable from mempcpy entry point.
2666         (__memcpy_mvcle): Likewise.
2667         * sysdeps/s390/s390-64/memcpy.S: Likewise.
2668         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
2669         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
2670         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
2671         (__memcpy_z10): Likewise.
2672         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2674 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2676         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
2677         Remove __GI_ symbol.
2678         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
2679         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
2680         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
2681         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2682         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
2683         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
2685 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2687         * sysdeps/s390/s390-64/memcpy.S (memcpy):
2688         Use cghi instead of chi to compare 64bit value.
2690 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2692         * sysdeps/s390/s390-32/memcpy.S (memcpy):
2693         Jump to 1MB check before executing mvc-loop.
2695 2016-05-24  Florian Weimer  <fweimer@redhat.com>
2697         [BZ #6527]
2698         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
2699         unconditionally.
2700         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
2702 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2704         * stdlib/tst-strtod6.c (do_test): Use new type generic
2705         invocation of the test function.
2706         (test): Refactor into ...
2707         (TEST_STRTOD): New macro base function.
2709 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2711         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
2712         (TEST_STRTOD): New macro.
2713         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
2715 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2717         * stdlib/tst-strtod6.c (do_test): Use new type generic
2718         invocation of the test function.
2719         (test): Refactor into ...
2720         (TEST_STRTOD): New macro base function.
2722 2016-05-23  Florian Weimer  <fweimer@redhat.com>
2724         CVE-2016-4429
2725         [BZ #20112]
2726         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
2727         payload.
2729 2016-05-23  Florian Weimer  <fweimer@redhat.com>
2731         [BZ #20111]
2732         * bits/sockaddr.h (_SS_SIZE): Define.
2733         * bits/socket.h (_SS_SIZE): Remove.
2734         (_SS_PADSIZE): Adjust to account for all padding.
2735         (struct sockaddr_storage): Update comment.  Avoid implicit
2736         padding.
2737         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
2738         (_SS_PADSIZE): Adjust to account for all padding.
2739         (struct sockaddr_storage): Update comment.  Avoid implicit
2740         padding.
2741         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
2742         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
2743         (_SS_PADSIZE): Adjust to account for all padding.
2744         (struct sockaddr_storage): Update comment.  Avoid implicit
2745         padding.
2746         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
2747         __SS_SIZE is 126 in this version.
2748         * inet/tst-sockaddr.c: New file.
2749         * inet/Makefile (tests): Add tst-sockaddr.c
2750         (tst-sockaddr.c): Compile with non-strict aliasing.
2752 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
2754         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
2755         [XPG3 || XPG4].
2756         (NL_ARGMAX): Also expect for [XPG3].
2757         (NL_LANGMAX): Likewise.
2758         (NL_MSGMAX): Likewise.
2759         (NL_NMAX): Likewise.
2760         (NL_SETMAX): Likewise.
2761         (NL_TEXTMAX): Likewise.
2762         (NZERO): Likewise.
2763         (TMP_MAX): Likewise.
2764         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
2765         variable.
2767         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
2768         (PF_MAX): Update value.
2769         (AF_KCM): New macro.
2770         (SOL_NETBEUI): Likewise.
2771         (SOL_LLC): Likewise.
2772         (SOL_DCCP): Likewise.
2773         (SOL_NETLINK): Likewise.
2774         (SOL_TIPC): Likewise.
2775         (SOL_RXRPC): Likewise.
2776         (SOL_PPPOL2TP): Likewise.
2777         (SOL_BLUETOOTH): Likewise.
2778         (SOL_PNPIPE): Likewise.
2779         (SOL_RDS): Likewise.
2780         (SOL_IUCV): Likewise.
2781         (SOL_CAIF): Likewise.
2782         (SOL_ALG): Likewise.
2783         (SOL_NFC): Likewise.
2784         (SOL_KCM): Likewise.
2785         (MSG_BATCH): New enum value and macro.
2787 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
2789         [BZ #18185]
2790         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
2791         sharing L2 cache to 2 for Knights Landing.
2793 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
2795         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
2796         (FTW_DP): Do not expect for [XPG3 || XPG4].
2797         (FTW_SL): Do not expect for [XPG3].
2798         (FTW_SLN): Likewise.
2799         (FTW_PHYS): Likewise.
2800         (FTW_MOUNT): Likewise.
2801         (FTW_DEPTH): Likewise.
2802         (FTW_CHDIR): Likewise.
2803         (nftw): Likewise.
2804         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
2805         variable.
2807 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
2809         * manual/errno.texi: Fix various typos & grammar errors.
2811 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
2813         * manual/intro.texi: Fix duplicated typo.
2815 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
2817         [BZ #13304]
2818         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
2819         <float.h>, <math_private.h> and <stdlib.h>.
2820         (add_split): New function.
2821         (mul_split): Likewise.
2822         (ext_val): New typedef.
2823         (store_ext_val): New function.
2824         (mul_ext_val): New function.
2825         (compare): New function.
2826         (add_split_ext): New function.
2827         (__fmal): After checking for Inf, NaN and zero, compute result as
2828         an exact sum of scaled double values in round-to-nearest before
2829         adding those up and adjusting for other rounding modes.
2830         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
2831         tests of fma.
2832         * math/auto-libm-test-out: Regenerated.
2834 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2836         [BZ #20119]
2837         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
2838         processor level type mask for CPUID with EAX == 11.
2840 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2842         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
2843         logical threads if the HTT bit is 0.
2844         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
2845         (index_cpu_HTT): Likewise.
2846         (reg_HTT): Likewise.
2848 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2850         [BZ #20115]
2851         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
2852         Remove alignments on jump targets.
2854 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
2856         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
2857         (getpwent): Likewise.
2858         (setpwent): Likewise.
2859         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
2860         variable.
2862         * conform/data/search.h-data (insque): Do not expect for [XPG3].
2863         (remque): Likewise.
2864         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
2865         variable.
2867 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
2869         * math/libm-test.inc: Update comment not to refer to signs of NaNs
2870         not being tested.
2872 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2874         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2875         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
2876         call.
2877         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2878         (__condvar_cleanup1): Likewise.
2880 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2882         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
2883         New
2884         (__pthread_unwind): Renamed to ...
2885         (PTHREAD_UNWIND): This.
2886         (__pthread_enable_asynccancel): Replace
2887         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
2889 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
2891         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
2892         (CLONE_NEWCGROUP): New macro.
2894         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
2895         (Q_GETNEXTQUOTA): New macro.
2897 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2899         [BZ #19907]
2900         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
2901         buffer updated by the previous run.
2902         * string/test-memcpy.c (do_one_test): Likewise.
2903         * benchtests/bench-memmove.c (do_one_test): Add a comment.
2904         * string/test-memmove.c (do_one_test): Likewise.
2906 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
2908         [BZ #20094]
2909         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
2910         not [__USE_XOPEN].
2911         (unlockpt): Likewise.
2912         (ptsname): Likewise.
2913         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
2914         variable.
2916         [BZ #20076]
2917         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
2918         instead of [__USE_UNIX98].
2919         (S_ISSOCK): Likewise.
2920         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
2921         variable.
2923         [BZ #20074]
2924         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
2925         [__USE_POSIX].
2926         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
2927         variable.
2929         [BZ #20051]
2930         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
2931         (ttyslot): Do not declare.
2932         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
2933         (ttyslot): New prototype.
2934         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
2935         variable.
2936         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2938 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2940         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
2942 2016-05-13  Florian Weimer  <fweimer@redhat.com>
2944         Fix race condition in tst-mallocfork2, use fewer resources.
2945         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
2946         to current process group.
2947         (signal_sender): Yield in the non-sleeping case.
2949 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
2951         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
2952         (ecvt): Likewise.
2953         (fcvt): Likewise.
2954         (gcvt): Likewise.
2955         (getsubopt): Likewise.
2956         (grantpt): Likewise.
2957         (initstate): Likewise.
2958         (l64a): Likewise.
2959         (mktemp): Likewise.
2960         (mkstemp): Likewise.
2961         (ptsname): Likewise.
2962         (random): Likewise.
2963         (realpath): Likewise.
2964         (setstate): Likewise.
2965         (srandom): Likewise.
2966         (ttyslot): Likewise.
2967         (unlockpt): Likewise.
2968         (valloc): Likewise.
2970         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
2971         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
2972         variable.
2974 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2976         [BZ #20072]
2977         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
2978         init_cpu_features only if SHARED is defined.
2979         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
2981 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2983         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
2984         non-inclusive caches on Intel processors.
2986 2016-05-13  Florian Weimer  <fweimer@redhat.com>
2988         * malloc/malloc.c (dumped_main_arena_start)
2989         (dumped_main_arena_end): New variables.
2990         (DUMPED_MAIN_ARENA_CHUNK): New macro.
2991         (do_check_chunk): Skip dumped fake mmapped chunks.
2992         (munmap_chunk): Likewise.
2993         (__libc_free): Do not adjust statistics for fake mmapped chunks.
2994         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
2995         mmapped chunks.
2996         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
2997         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
2998         and dumped_main_arena_end to cover the dumped heap.
3000 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
3002         * conform/data/time.h-data (getdate_err): Do not expect for
3003         [XPG3].
3004         (getdate): Likewise.
3005         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
3006         variable.
3008         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
3009         (F_ULOCK): Likewise.
3010         (F_TEST): Likewise.
3011         (F_TLOCK): Likewise.
3012         (useconds_t): Likewise.
3013         (intptr_t): Do not expect for [XPG3] or [XPG4].
3014         (brk): Do not expect for [XPG3]
3015         (fchown): Likewise.
3016         (fchdir): Likewise.
3017         (ftruncate): Likewise.
3018         (getdtablesize): Likewise.
3019         (gethostid): Likewise.
3020         (getpagesize): Likewise.
3021         (getpgid): Likewise.
3022         (getsid): Likewise.
3023         (getwd): Likewise.
3024         (lchown): Likewise.
3025         (lockf): Likewise.
3026         (readlink): Likewise.
3027         (sbrk): Likewise.
3028         (setpgrp): Likewise.
3029         (setregid): Likewise.
3030         (setreuid): Likewise.
3031         (symlink): Likewise.
3032         (sync): Likewise.
3033         (truncate): Likewise.
3034         (ualarm): Likewise.
3035         (usleep): Likewise.
3036         (vfork): Likewise.
3037         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
3038         variable.
3040         [BZ #20054]
3041         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
3042         not [__USE_UNIX98].
3043         * conform/data/unistd.h-data (gethostname): Do not expect for
3044         [XPG3].
3046         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
3047         [!POSIX] (S_IFBLK): Likewise.
3048         [!POSIX] (S_IFCHR): Likewise.
3049         [!POSIX] (S_IFIFO): Likewise.
3050         [!POSIX] (S_IFREG): Likewise.
3051         [!POSIX] (S_IFDIR): Likewise.
3052         [!POSIX] (S_IFLNK): Likewise.
3053         [!POSIX] (S_IFSOCK): Likewise.
3054         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
3055         variable.
3056         (test-xfail-XPG4/fcntl.h/conform): Likewise.
3058 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
3060         * sysdeps/aarch64/memset.S (__memset):
3061         Rewrite of optimized memset.
3063 2016-05-12  Florian Weimer  <fweimer@redhat.com>
3065         [BZ #19703]
3066         Partially async-signal-safe fork for single-threaded processes.
3067         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
3068         variable.  Do not acquire and reset/release malloc and libio locks
3069         in single-threaded processes.
3070         * malloc/tst-mallocfork2.c: New file.
3071         * malloc/Makefile (tests): Add it.
3073 2016-05-12  Florian Weimer  <fweimer@redhat.com>
3075         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
3076         argument.  Use scratch buffer instead of extend_alloca.
3077         (gethosts): Use scratch buffer instead of extend_alloca.
3078         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
3079         extend_alloca.
3080         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
3082 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
3084         [BZ #20055]
3085         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
3086         instead of [__USE_UNIX98].
3087         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
3088         [__USE_UNIX98].
3089         * conform/data/termios.h-data (tcgetsid): Do not expect for
3090         [XPG3].
3091         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
3092         variable.
3093         (test-xfail-XPG4/termios.h/conform): Likewise.
3095 2016-05-11  Florian Weimer  <fweimer@redhat.com>
3097         Do not use mcheck in localedef.
3098         * locale/programs/localedef.c (turn_on_mcheck)
3099         (__malloc_initialize_hook): Remove.
3101 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3103         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
3104         * sysdeps/s390/s390-64/Makefile: Likewise.
3106 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
3108         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
3109         Remove ifunc-defines.sym.
3110         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
3111         Likewise.
3112         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
3113         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3114         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
3115         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
3116         rtld-global-offsets.sym.
3117         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
3118         * sysdeps/x86/cpu-features-offsets.sym: This.
3119         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
3120         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
3122 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
3124         [BZ #20073]
3125         * io/sys/stat.h (fchmod): Declare for
3126         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
3127         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
3128         variable.
3130         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
3131         [XPG3] (S_IFSOCK): Likewise.
3132         [XPG3] (S_ISVTX): Likewise.
3133         [XPG3] (S_ISLNK): Likewise.
3134         [XPG3] (S_ISSOCK): Likewise.
3135         [XPG3] (fchmod): Likewise.
3136         [XPG3] (lstat): Likewise.
3137         [XPG3] (mknod): Likewise.
3139         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
3140         [XPG3].  Expect type long and XFAIL for [XPG4].
3141         (st_blocks): Likewise.
3143         [BZ #20044]
3144         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
3145         (pthread_atfork): New prototype.
3146         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
3147         variable.
3149         [BZ #20043]
3150         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
3151         prototype.
3153 2016-05-10  Florian Weimer  <fweimer@redhat.com>
3155         [BZ #20017]
3156         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
3157         gmtime.
3159 2016-05-10  Florian Weimer  <fweimer@redhat.com>
3161         [BZ #19994]
3162         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
3163         flag in _res.options.
3165 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
3167         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
3168         [XPG3 || XPG4].
3169         (blksize_t): Likewise.
3170         (clockid_t): Likewise.
3171         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
3172         variable.
3173         (test-xfail-XPG4/sys/types.h/conform): Likewise.
3175 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3177         * sysdeps/unix/sysv/linux/s390/init-first.c:
3178         Add VDSO_SYMBOL(getcpu).
3179         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
3180         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
3181         Add VDSO_SYMBOL(getcpu).
3182         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
3183         New define HAVE_GETCPU_VSYSCALL.
3184         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3186 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
3188         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
3189         instead of <sysdeps/x86_64/cacheinfo.c>.
3190         * sysdeps/x86_64/cacheinfo.c: Moved to ...
3191         * sysdeps/x86/cacheinfo.c: Here.
3193 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3195         * malloc/malloc-internal.h: Adjust header file guard.
3197 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3199         [BZ #19787]
3200         * inet/getnameinfo.c (check_sprintf_result): New function.
3201         (CHECKED_SNPRINTF): New macro.
3202         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
3203         to the host buffer.
3204         (gni_host_local): Use checked_copy to copy the host name.
3205         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
3206         (gni_serv_local): Use checked_copy to copy the service name.
3207         (getnameinfo): Remove unnecessary truncation of result buffers.
3209 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3211         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
3212         in case of inet_ntop failure.
3214 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3216         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
3217         avoid long lines.
3218         (gni_host_inet_numeric): Likewise.  Reduce scope of local
3219         variables.
3220         (gni_host_inet, gni_host_local): Add comment.
3221         (gni_host): Add comment.  Use temporary to avoid long lines.
3223 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3225         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
3226         registers specifiers where general purpose registers specifiers should
3227         have been used.
3229 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3231         [BZ #19779]
3232         CVE-2016-1234
3233         Avoid copying names of directory entries.
3234         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
3235         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
3236         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
3237         (struct readdir_result): New type.
3238         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
3239         (GL_READDIR): New macros.
3240         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
3241         (convert_dirent, convert_dirent64): New functions.
3242         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
3243         convert_dirent64.  Adjust references to the readdir result.
3244         * sysdeps/unix/sysv/linux/i386/glob64.c:
3245         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
3246         * posix/bug-glob2.c (LONG_NAME): Define.
3247         (filesystem): Add LONG_NAME.
3248         (my_DIR): Increase the size of room_for_dirent.
3250 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
3252         [BZ #20041]
3253         * misc/sys/select.h (__need_timespec): Only define if
3254         [__USE_XOPEN2K].
3255         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
3256         variable.
3257         (test-xfail-XPG4/utmpx.h/conform): Likewise.
3258         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3259         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3261 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3262             Segher Boessenkool  <segher@gcc.gnu.org>
3264         [BZ #20004]
3265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
3266         (__novec_swapcontext): Add missing load.
3268 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
3270         [BZ #20023]
3271         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
3272         <time.h>.
3273         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
3274         variable.
3275         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3277 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
3280         flags CLONE_VM compare.
3282 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3284         [BZ #20031]
3285         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
3286         completely empty.
3288 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3290         [BZ #19573]
3291         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
3292         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
3293         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
3294         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
3295         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
3296         (hesiod_free_list): Mark as hidden.
3297         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
3298         res_set, res_get.
3299         * hesiod/hesiod.c: Remove unnecessary forward declarations.
3300         (init, __hesiod_res_get, __hesiod_res_set): Remove.
3301         (hesiod_init): Remove obsolete res_ninit call.
3302         (hesiod_end): Do not free resolver state.  Do not invoke callback.
3303         (hesiod_bind): Do not call init.
3304         (get_txt_records): Use res_mkquery, res_send instead of
3305         res_nmkquery, res_nsend.
3306         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
3307         instead of _nss_hesiod_init.
3308         (_nss_hesiod_initgroups_dyn): Likewise.
3309         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
3310         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
3311         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
3313 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3315         * hesiod/hesiod_p.h (DEF_RHS): Remove.
3316         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
3318 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3320         * hesiod/hesiod.h: Remove RCS keyword.
3321         * hesiod/hesiod_p.h: Likewise.
3323         * hesiod/hesiod.c: Likewise.
3325 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
3327         [BZ #12450]
3328         * locale/iso-639.def: Add Samogitian/sgs.
3330 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
3332         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
3334         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
3336 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
3337             Carlos O'Donell  <carlos@redhat.com>
3339         [BZ #19072]
3340         * grp/Makefile (headers): Add grp-merge.h
3341         (routines): Add grp-merge.
3342         * grp/getgrgid_r.c: Include grp-merge.h.
3343         (DEEPCOPY_FN): Define.
3344         (MERGE_FN): Define.
3345         * grp/getgrname_r.c: Include grp-merge.h.
3346         (DEEPCOPY_FN): Define.
3347         (MERGE_FN): Define.
3348         * grp/grp-merge.c: New file.
3349         * grp/grp-merge.h: New file.
3350         * include/grp-merge.h: New file.
3351         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
3352         __copy_grp@GLIBC_PRIVATE.
3353         * manual/nss.texi (Actions in the NSS configuration): Describe
3354         return, continue, and merge.
3355         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
3356         (DEEPCOPY_FN): Define.
3357         (MERGE_FN): Define.
3358         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
3359         (DEEPCOPY_FN): Define.
3360         (MERGE_FN): Define.
3361         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
3362         [!MERGE_FN]: Define __merge_einval.
3363         (CHECK_MERGE): Define.
3364         (REENTRANT_NAME): Process merge if do_merge is true.
3365         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
3366         (__nss_getent_r): Likewise.
3367         * nss/nsswitch.c (nss_parse_service_list): Likewise.
3368         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
3370 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3372         [BZ #20012]
3373         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
3374         length to calculate the buffer to read.
3375         (fmemopen_write): Set the buffer position based on bytes written.
3376         (fmemopen_seek): Return EINVAL for invalid whence modes.
3378         [BZ #19957]
3379         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
3380         tst-getpid2.
3381         (test): Add tst-clone2.
3382         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
3383         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
3384         pid/tid fields for CLONE_VM.
3385         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3386         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3387         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3388         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
3389         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3390         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3391         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3392         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3394         Likewise.
3395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3396         Likewise.
3397         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3398         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3399         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3400         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3401         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3402         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3403         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3404         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
3406 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3408         [BZ #19642]
3409         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
3410         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
3411         (gni_serv_local, gni_serv): New functions extracted from
3412         getnameinfo.
3413         (getnameinfo): Call gni_host and gni_serv to perform the
3414         processing.  Always free scratch buffer.
3416 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3418         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
3419         remaining bytes in the dest string, with zeros.
3421 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3423         [BZ #20010]
3424         CVE-2016-3706
3425         * sysdeps/posix/getaddrinfo.c
3426         (convert_hostent_to_gaih_addrtuple): New function.
3427         (gethosts): Call convert_hostent_to_gaih_addrtuple.
3428         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
3429         AF_INET data.
3431 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3433         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
3434         callback function gl_readdir.
3435         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
3436         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
3437         (glob_in_dir): Remove len.  Use strdup instead of malloc and
3438         memcpy to copy the name.
3439         * manual/pattern.texi (Calling Glob): Document requirements for
3440         implementations of the gl_readdir callback function.
3441         * manual/examples/mkdirent.c: New example.
3442         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
3443         per the manual guidance.
3444         * posix/tst-gnuglob.c (my_readdir): Likewise.
3446 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
3448         [BZ #20014]
3449         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
3450         not [__USE_POSIX].
3451         (getchar_unlocked): Likewise.
3452         (putc_unlocked): Likewise.
3453         (putchar_unlocked): Likewise.
3454         (flockfile): Likewise.
3455         (ftrylockfile): Likewise.
3456         (funlockfile): Likewise.
3457         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
3458         variable.
3459         (test-xfail-XPG4/stdio.h/conform): Likewise.
3461         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
3462         Expect constant.
3463         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
3464         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
3465         variable.
3466         (test-xfail-XPG4/langinfo.h/conform): Likewise.
3467         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3469         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
3470         [__USE_LARGEFILE64] (off64_t): Likewise.
3471         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
3472         variable.
3474 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3476         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
3478 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3480         * resolv/inet_addr.c: Reindent preprocessor conditionals.
3481         * resolv/res_init.c: Likewise.
3482         * resolv/res_mkquery.c: Likewise.
3484 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3486         * resolv/res_init.c (isascii): Do not define.  Use definition in
3487         <ctype.h>.
3488         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
3489         (LOG_AUTH): Remove.
3490         (SPRINTF): Remove, adjust caller.
3491         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
3493 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3495         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
3496         SUNSECURITY conditional.
3497         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
3499 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3501         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
3502         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
3503         Remove BSD-related preprocessor conditionals.
3504         * conf/portability.h: Remove.
3506 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3508         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
3509         * resolv/res_data.c: Likewise.
3511 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3513         * resolv/res_comp.c: Remove code conditional on __ultrix__.
3514         * resolv/res_data.c: Remove code conditional on ultrix.
3516 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3518         * resolv/res_init.c (RFC1535): Do not define.  Remove
3519         RFC1535 preprocessor conditionals.
3520         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
3521         because there configuration options which make the resolver
3522         behavior different.
3524 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3526         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
3527         RESOLVSORT preprocessor conditionals.
3528         * resolv/nss_dns/dns-host.c: Likewise.
3529         * resolv/res_init.c: Likewise.
3531 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3533         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
3534         is never defined.
3536 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3538         * inet/inet_lnaof.c: Remove SCSS keyword.
3539         * inet/inet_mkadr.c: Likewise.
3540         * inet/inet_net.c: Likewise.
3541         * inet/inet_netof.c: Likewise.
3542         * inet/rcmd.c: Likewise.
3543         * inet/rexec.c: Likewise.
3544         * inet/ruserpass.c: Likewise.
3546 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3548         * resolv/inet_addr.c: Remove _LIBC conditionals.
3549         * resolv/res_data.c: Likewise.
3550         * resolv/res_init.c: Likewise.
3551         * resolv/res_mkquery.c: Likewise.
3552         * resolv/res_libc.c: Update comment.
3553         * resolv/README: Update.
3555 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3557         * resolv/gethnamaddr.c: Remove SCSS keyword.
3558         * resolv/herror.c: Likewise.
3559         * resolv/inet_addr.c: Likewise.
3560         * resolv/inet_net_ntop.c: Likewise.
3561         * resolv/inet_net_pton.c: Likewise.
3562         * resolv/inet_neta.c: Likewise.
3563         * resolv/inet_ntop.c: Likewise.
3564         * resolv/inet_pton.c: Likewise.
3565         * resolv/ns_date.c: Remove RCS keyword.
3566         * resolv/ns_name.c: Likewise.
3567         * resolv/ns_netint.c: Likewise.
3568         * resolv/ns_parse.c: Likewise.
3569         * resolv/ns_print.c: Likewise.
3570         * resolv/ns_samedomain.c: Likewise.
3571         * resolv/ns_ttl.c: Likewise.
3572         * resolv/nsap_addr.c: Likewise.
3573         * resolv/res_comp.c: Remove SCSS and RCS keyword.
3574         * resolv/res_data.c: Remove RCS keyword.
3575         * resolv/res_debug.c: Remove SCSS and RCS keyword.
3576         * resolv/res_init.c: Likewise.
3577         * resolv/res_mkquery.c: Likewise.
3578         * resolv/res_query.c: Likewise.
3579         * resolv/res_send.c: Likewise.
3581 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3583         * conform/data/stdio.h-data (fdopen): Expect also for
3584         [XPG3 || XPG4].
3586         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
3587         (fseeko): Likewise.
3588         (ftello): Likewise.
3589         (ftrylockfile): Likewise.
3590         (funlockfile): Likewise.
3591         (getc_unlocked): Likewise.
3592         (getchar_unlocked): Likewise.
3593         (putc_unlocked): Likewise.
3594         (putchar_unlocked): Likewise.
3596 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3598         [BZ #19868]
3599         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
3600         DNS packet syntax checks (which were not needed before).  Skip
3601         over non-PTR records.
3603 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3605         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
3606         definition.  Include <stddef.h> instead.
3608 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3610         [BZ #19831]
3611         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
3612         function.
3613         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
3614         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
3616 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3618         [BZ #19862]
3619         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
3620         (getanswer_r): Do not call syslog.
3621         (gaih_getanswer_slice): Likewise.
3622         * resolv/gethnamaddr.c (AskedForGot): Remove.
3623         (getanswer): Do not call syslog.
3624         (gethostbyaddr): Likewise.
3626 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3628         * conform/data/signal.h-data (union sigval): Expect also if
3629         [XOPEN2K].
3630         (struct sigevent): Likewise.
3631         (SIGEV_NONE): Likewise.
3632         (SIGEV_SIGNAL): Likewise.
3633         (SIGEV_THREAD): Likewise.
3634         (SIGRTMIN): Likewise.
3635         (SIGRTMAX): Likewise.
3636         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
3637         variable.
3638         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3640 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3642         [BZ #19830]
3643         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
3644         (gaih_getanswer_slice): Likewise.
3645         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
3646         Also check for availability of RR metadata.
3648 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3650         [BZ #19825]
3651         * resolv/res_send.c (send_vc): Remove early *resplen2
3652         initialization.  Set *resplen2 on socket error.  Call
3653         close_and_return_error for other errors.
3655 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
3657         * sysdeps/unix/sysv/linux/netiucv/iucv.h
3658         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
3659         (SCM_IUCV_TRGCLS): New define.
3661 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3663         [BZ #20005]
3664         * libio/fmemopen.c (fmemopen_write): Update internal position after
3665         write.
3666         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
3667         * stdio-common/tst-fmemopen4.c: New file..
3669 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
3671         [BZ #19996]
3672         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
3673         not [__USE_XOPEN2K].
3674         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
3675         variable.
3677         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
3678         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
3679         variable.
3681         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
3682         [__USE_XOPEN2K8].
3683         [__USE_LARGEFILE64] (off64_t): Likewise.
3684         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
3685         variable.
3687 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
3689         [BZ #19989]
3690         * libio/stdio.h (cuserid): Do not declare if
3691         [__USE_XOPEN2K && !__USE_GNU].
3692         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
3693         variable.
3695 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3697         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3698         (sysdep_routines): Add P8 and PPC64 strcspn targets.
3699         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3700         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3701         ifunc'ed strcspn.
3702         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3703         [EALIGN]: Removed.
3704         [END]: Likewise
3705         [STRSPN]: Define instead of the above to control symbol name.
3706         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
3707         New file.
3708         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
3709         Likewise.
3710         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
3711         Likewise.
3712         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
3713         Likewise.
3714         * sysdeps/powerpc/powerpc64/power8/strspn.S:
3715         [INITIAL_MASK]: New macro.
3716         [STRCSPN]: Likewise.
3717         [UPDATE_MASK]: Likewise.
3718         [USE_AS_STRCSPN]: Lisewise.
3720 2016-04-25  Florian Weimer  <fweimer@redhat.com>
3722         [BZ #19931]
3723         * stdio-common/tst-vfprintf-width-prec.c: New file.
3724         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
3725         (tests-special): Add tst-vfprintf-width-prec-mem.out.
3726         (generated): Add mtrace-related files.
3727         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
3728         (tst-%-mem.out): New pattern rule, replaces
3729         tst-printf-bz18872-mem.out.
3730         * stdio-common/vfprintf.c (vfprintf): When handling a precision
3731         specifier, deallocate any previously allocated work buffer.
3733 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
3735         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
3736         Add nop before __startcontext, add explaining comments.
3738 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
3740         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
3741         any more. Notably since IPV6_PKTINFO has been reintroduced with a
3742         completely different API.
3744         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
3745         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
3746         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
3747         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
3748         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
3749         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
3750         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
3751         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
3752         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
3753         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
3755 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
3757         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
3759 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
3761         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
3762         when it is the default of 0.
3764 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3766         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
3767         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3768         (sysdep_routines): Add new strcasestr targets.
3769         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3770         (__libc_ifunc_impl_list): Likewise.
3771         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
3772         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
3773         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
3774         * sysdeps/powerpc/powerpc64/power8/Makefile:
3775         New file to add strcasestr-ppc64 to sysdep_routines.
3776         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
3777         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
3779 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
3781         * benchtests/Makefile (wcsmbs-benchset): Include only for
3782         native builds and runs.
3783         (LOCALES): Likewise.
3784         (bench-build): Build timing-type here instead of the bench
3785         target.  Generate locale only for native builds.
3786         * benchtests/README: Add note for cross-building.
3788         * benchtests/Makefile (bench-clean): Clean up extra-objs.
3790         * benchtests/README: Update README to include instructions on
3791         using bench-build.
3793         * Makefile.in (bench-build): New target.
3794         * Rules (PHONY): Add bench-build target.
3795         * benchtests/Makefile (bench): Depend on bench-build.
3796         (bench-build): New target.
3798 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3800         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
3801         profil_reply_port.
3802         (profile_waiter): Do not initialize profil_reply_port.
3803         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
3804         frequency instead of tick length in us.
3806 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
3808         [BZ #18712]
3809         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
3810         (__old_mempcpy_small): Likewise.
3811         (__old_strcpy_small): Likewise.
3812         (__old_stpcpy_small): Likewise.
3813         (__old_strpbrk_c2): Fix compat symbol name.
3814         (__old_strpbrk_c3): Likewise.
3815         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
3816         (__mempcpy_small): Remove.
3817         (__strcpy_small): Remove.
3818         (__stpcpy_small): Remove.
3820 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
3822         [BZ #19400]
3823         * locale/iso-639.def: Add the Talossan/tzl language.
3825 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
3827         [BZ #16983]
3828         * locale/programs/ld-address.c (address_finish): Update postal_fmt
3829         comment.  Add "ln" to strchr check on postal_fmt.
3831 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
3833         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
3834         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
3835         tel_dom_fmt.
3837 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3839         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3840         (sysdep_routines): Added __strlen_power8.
3841         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
3842         __strlen_power8 entry.
3843         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
3844         Implementation for POWER8.
3845         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
3846         for __strlen_power8.
3847         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
3848         Implementation for POWER8.
3850 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
3852         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
3854 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
3856         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
3857         Goldmont and Airmont processors.
3859 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
3861         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
3862         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
3863         (__STRING2_SMALL_GET32): Remove.
3864         (memset): Remove.
3865         (__memset_1): Remove.
3866         (__memset_gc): Remove.
3867         (__mempcpy): Remove.
3868         (mempcpy): Remove.
3869         (__mempcpy_args): Remove.
3870         (strchr): Remove.
3871         (strcpy): Remove.
3872         (strcpy_args): Remove.
3873         (__stpcpy_args): Remove.
3874         (__strcmp_cc): Remove.
3875         (__strcmp_gc): Remove.
3876         (strstr): Remove.
3878 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
3880         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
3881         * nis/nis_call.c (nis_server_cache_add): Likewise.
3883 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3885         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
3887 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3889         * malloc/arena.c (__malloc_fork_lock_parent)
3890         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
3891         internal_function attribute.
3893 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
3895         * stdio-common/printf_fp.c (__printf_fp_l):
3896         Rename ___printf_fp_l to __printf_fp_l and
3897         remove strong alias. Use libc_hidden_def instead
3898         of ldbl_hidden_def macro.
3900 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3902         Remove malloc hooks from fork handler.  They are no longer needed
3903         because malloc runs right before fork, and no malloc calls from
3904         other fork handlers are not possible anymore.
3905         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
3906         declarations.
3907         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
3908         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
3909         (atfork_recursive_cntr): Remove.
3910         (__malloc_fork_lock_parent): Do not override malloc hooks and
3911         thread_arena.
3912         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
3913         thread_arena.
3914         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
3915         thread_arena instead of save_arena.
3917 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3919         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
3920         (thread_atfork, thread_atfork_static): Remove.
3921         * sysdeps/mach/hurd/malloc-machine.h:
3922         (thread_atfork, thread_atfork_static): Remove.
3924 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3926         [BZ #19431]
3927         Run the malloc fork handler as late as possible to avoid deadlocks.
3928         * malloc/malloc-internal.h: New file.
3929         * malloc/malloc.c: Include it.
3930         * malloc/arena.c (ATFORK_MEM): Remove.
3931         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
3932         Update comment.
3933         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
3934         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
3935         Remove outdated comment.
3936         (ptmalloc_init): Do not call thread_atfork.  Remove
3937         thread_atfork_static.
3938         * malloc/tst-malloc-fork-deadlock.c: New file.
3939         * Makefile (tests): Add tst-malloc-fork-deadlock.
3940         (tst-malloc-fork-deadlock): Link against libpthread.
3941         * manual/memory.texi (Aligned Memory Blocks): Update safety
3942         annotation comments.
3943         * sysdeps/nptl/fork.c (__libc_fork): Call
3944         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
3945         __malloc_fork_unlock_child.
3946         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3948 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3950         [BZ #19613]
3951         Remove union wait.
3952         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
3953         (w_stopsig, w_stopval): Remove.
3954         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
3955         stat_loc argument.
3956         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
3957         (__WAIT_STATUS_DEFN): Remove.
3958         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3959         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
3960         (wait, wait3, wait4): Use int * for the stat_loc argument.
3961         * posix/wait.c (__wait): Likewise.
3962         * posix/wait3.c (__wait3): Likewise.
3963         * posix/wait4.c (__wait4): Likewise.
3964         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
3965         (__WAIT_STATUS_DEFN): Remove.
3966         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3967         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
3968         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
3969         argument.
3970         * sysdeps/posix/wait.c (__libc_wait): Likewise.
3971         * sysdeps/posix/wait3.c (__wait3): Likewise.
3972         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
3973         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
3974         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
3975         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
3976         stat_loc argument.
3977         * manual/process.texi (BSD Wait Functions): Remove union wait.
3979 2016-04-13  Andreas Schwab  <schwab@suse.de>
3981         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
3982         (test-extras): Add tst-tlsalign-vars.
3983         * math/Makefile: Wrap long lines.
3984         (libm-vec-test-wrappers): Define.
3985         (test-extras): Add $(libm-vec-test-wrappers).
3986         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
3987         * nss/Makefile (extra-test-objs): Add nss_test1.os.
3988         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
3989         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
3990         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
3991         (extra-test-objs): Add corresponding objects.
3993 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
3995         [BZ #19928]
3996         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
3997         New.
3998         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
3999         times of shared cache size.
4000         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
4001         (VMOVNT): New.
4002         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
4003         (VMOVNT): Likewise.
4004         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
4005         (VMOVNT): Likewise.
4006         (VMOVU): Changed to movups for smaller code sizes.
4007         (VMOVA): Changed to movaps for smaller code sizes.
4008         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
4009         comments.
4010         (PREFETCH): New.
4011         (PREFETCH_SIZE): Likewise.
4012         (PREFETCHED_LOAD_SIZE): Likewise.
4013         (PREFETCH_ONE_SET): Likewise.
4014         Rewrite to use forward and backward loops, which move 4 vector
4015         registers at a time, to support overlapping addresses and use
4016         non temporal store if size is above the threshold and there is
4017         no overlap between destination and source.
4019 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
4021         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
4022         Include dl-vdso.
4023         * sysdeps/unix/sysv/linux/mips/Versions: Add
4024         __vdso_clock_gettime.
4025         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
4026         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
4027         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
4028         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
4029         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
4030         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
4031         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4032         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
4033         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
4035 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4037         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
4038         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
4039         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4040         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4041         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4042         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4045         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
4046         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
4047         syscalls generation.
4048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4049         [__NR_pwrite64] (__NR_write): Remove define.
4050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4051         [__NR_pwrite64] (__NR_write): Remove define.
4052         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
4053         Remove define.
4054         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
4055         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
4056         Remove define.
4057         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
4058         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
4059         Linux implementation as base.
4060         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4062         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
4063         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
4064         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4065         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
4067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4068         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
4069         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
4070         syscall generation.
4071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4072         [__NR_pread64] (__NR_pread): Remove define.
4073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4074         [__NR_pread64] (__NR_pread): Likewise.
4075         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
4076         define.
4077         (__libc_pread): Use SYSCALL_LL macro on offset argument.
4078         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
4079         Remove define.
4080         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
4081         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
4082         Linux implementation as base.
4083         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4084         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4085         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4087         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
4088         definition.
4089         (__ALIGNMENT_COUNT): Likewise.
4090         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
4091         (__ALIGNMENT_COUNT): Likewise.
4092         (SYSCALL_LL): New define.
4093         (SYSCALL_LL64): Likewise.
4094         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
4095         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
4096         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
4097         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
4099         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4100         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
4101         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4102         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4103         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4104         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4106 2016-04-11  Florian Weimer  <fweimer@redhat.com>
4108         [BZ #19865]
4109         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
4110         original buffer before retry.
4112 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4114         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
4115         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
4116         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
4117         GLRO(dl_auxv) list.
4118         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
4119         including <ldsodefs.h>.
4120         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
4122 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
4124         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
4125         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
4126         $(CPPFLAGS).
4128 2016-04-09  Khem Raj  <raj.khem@gmail.com>
4130         [BZ #17950]
4131         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
4132         Add -mfpmath=387.
4134 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
4136         * sysdeps/i386/configure.ac: Change == to = when calling test.
4137         * sysdeps/x86_64/configure.ac: Likewise.
4138         * sysdeps/i386/configure: Regenerated.
4139         * sysdeps/x86_64/configure: Likewise.
4141 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
4143         [BZ #16137]
4144         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
4145         * benchtests/bench-strcoll.c (input_files): Likewise.
4146         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4147         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
4148         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
4150 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
4152         [BZ #19929]
4153         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
4154         [__USE_XOPEN2K8 && !__USE_GNU].
4155         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
4156         variable.
4158         [BZ #19925]
4159         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
4160         define if [!__USE_MISC && __USE_XOPEN2K].
4161         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
4162         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
4163         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
4164         Likewise.
4165         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
4166         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
4167         variable.
4168         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4170 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4172         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4173         (sysdep_routines): Add new strspn targets.
4174         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4175         (__libc_ifunc_impl_list): Add strspn.
4176         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
4177         New file.
4178         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
4179         Likewise.
4180         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
4181         Likewise.
4182         * sysdeps/powerpc/powerpc64/power8/strspn.S:
4183         Likewise.
4185 2016-04-07  Florian Weimer  <fweimer@redhat.com>
4187         * misc/hsearch_r.c: Include <limits.h>.
4189 2016-04-07  Florian Weimer  <fweimer@redhat.com>
4191         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
4193 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4195         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4196         (MEMCPY_SYMBOL): New.
4197         (MEMPCPY_SYMBOL): Likewise.
4198         (MEMMOVE_CHK_SYMBOL): Likewise.
4199         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
4200         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
4201         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
4202         Provide alias for memcpy in libc.a and ld.so.
4204 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4206         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4207         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
4208         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
4209         Disabled fro now.
4210         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
4211         symbols.  Properly check USE_MULTIARCH on __memset symbols.
4213 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4215         * benchtests/Makefile (string-benchset): Add memcpy-large,
4216         memmove-large and memset-large.
4217         * benchtests/bench-memcpy-large.c: New file.
4218         * benchtests/bench-memmove-large.c: Likewise.
4219         * benchtests/bench-memmove-large.c: Likewise.
4220         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
4222 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
4224         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
4225         32-bit displacement to avoid long nop between instructions.
4227 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
4229         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
4230         a comment on VMOVU and VMOVA.
4232 2016-04-04  Florian Weimer  <fweimer@redhat.com>
4234         [BZ #19633]
4235         Use specified locale for number formatting in strfmon_l.
4236         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
4237         (__nl_lookup_word): New inline functions.
4238         * include/printf.h (__print_fp_l): Declare.
4239         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
4240         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
4241         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
4242         (___printf_fp): New function.
4243         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
4244         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
4245         * stdlib/tst-strfmon_l.c (do_test): New test.
4246         * stdlib/Makefile (tests): Add kt.
4247         (LOCALES): Build additional locales.
4248         (tst-strfmon_l.out): Require locales.
4250 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
4252         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
4253         if not in libc.
4254         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4255         Likewise.
4256         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
4257         Likewise.
4258         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4259         Likewise.
4261 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
4263         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4264         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
4265         with unaligned_erms.
4266         (__memmove_erms): Skip if source == destination.
4267         (__memmove_unaligned_erms): Don't check source == destination
4268         first.
4270 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4272         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
4273         bit_arch_Fast_Copy_Backward for Intel Core proessors.
4275 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4277         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
4278         * string/strspn.c (strspn): Likewise.
4280 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4282         * benchtests/bench-memset.c (do_test): Support 64-byte
4283         alignment.
4284         (test_main): Test 64-byte alignment.
4286 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4288         * benchtests/bench-memmove.c (test_main): Test 64-byte
4289         alignment.
4291 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4293         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
4295 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4297         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
4298         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
4299         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
4301         * string/strpbrk.c (strpbrk): Rewrite function.
4302         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
4303         (__strpbrk_c2): Likewise.
4304         (__strpbrk_c3): Likewise.
4305         * string/string-inlines.c
4306         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
4307         Likewise.
4308         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
4309         Likewise.
4311         * string/strspn.c (strcspn): Rewrite function.
4312         * string/bits/string2.h (strspn): Use __builtin_strcspn.
4313         (__strspn_c1): Remove inline function.
4314         (__strspn_c2): Likewise.
4315         (__strspn_c3): Likewise.
4316         * string/string-inlines.c
4317         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
4318         compatibility symbol.
4319         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
4320         Likewise.
4321         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
4322         Likewise.
4323         * string/string-inlines.c: Include generic version.
4325 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
4326             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4328         * string/Version (libc): Add GLIBC_2.24.
4329         * string/strcspn.c (strcspn): Rewrite function.
4330         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
4331         (__strcspn_c1): Remove inline function.
4332         (__strcspn_c2): Likewise.
4333         (__strcspn_c3): Likewise.
4334         * string/string-inline.c
4335         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
4336         compatibility symbol.
4337         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
4338         Likewise.
4339         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
4340         Likewise.
4341         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
4343 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4345         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
4346         Use ahi instead of aghi to adjust stack pointer.
4348 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4350         [BZ #19853]
4351         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
4352         TEST to take significant digits as second parameter.
4353         [TEST]: Redefine in terms of TEST_N taking 30
4354         significant digits.
4355         (do_test): Add test case to demonstrate precision
4356         failure in the ldbl-128ibm printf.
4357         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
4358         (__mpn_extract_long_double): Carry 7 extra intermediate
4359         bits of precision to aide computing difference when
4360         signs differ.
4362 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
4364         [BZ #19881]
4365         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4366         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
4367         memset-avx512-unaligned-erms.
4368         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4369         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
4370         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
4371         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
4372         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
4373         __memset_sse2_unaligned_erms, __memset_erms,
4374         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
4375         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4376         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
4377         file.
4378         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4379         Likewise.
4380         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
4381         Likewise.
4382         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
4383         Likewise.
4385 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
4387         [BZ #19776]
4388         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4389         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
4390         memmove-avx512-unaligned-erms.
4391         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4392         (__libc_ifunc_impl_list): Test
4393         __memmove_chk_avx512_unaligned_2,
4394         __memmove_chk_avx512_unaligned_erms,
4395         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
4396         __memmove_chk_sse2_unaligned_2,
4397         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
4398         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
4399         __memmove_avx512_unaligned_erms, __memmove_erms,
4400         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
4401         __memcpy_chk_avx512_unaligned_2,
4402         __memcpy_chk_avx512_unaligned_erms,
4403         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
4404         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
4405         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
4406         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
4407         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
4408         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
4409         __mempcpy_chk_avx512_unaligned_erms,
4410         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
4411         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
4412         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
4413         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
4414         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
4415         __mempcpy_erms.
4416         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
4417         file.
4418         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4419         Likwise.
4420         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4421         Likwise.
4422         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4423         Likwise.
4425 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4427         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
4428         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
4429         (La_s390_64_regs): Likewise.
4430         (La_s390_32_retval): Append vector register lrv_v24.
4431         (La_s390_64_retval): Likeweise.
4432         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
4433         Handle extended structs La_s390_32_regs and La_s390_32_retval.
4434         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
4435         Handle extended structs La_s390_64_regs and La_s390_64_retval.
4437 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4439         [BZ #19916]
4440         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
4441         to create a non-vector/vector version for _dl_runtime_resolve and
4442         _dl_runtime_profile. Move implementation to ...
4443         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
4444         (_dl_runtime_resolve) Save and restore fpr/vrs.
4445         (_dl_runtime_profile) Save and restore vrs and fix some issues
4446         if _dl_call_pltexit is called.
4447         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
4448         Choose the correct resolver function if running on a machine with vx.
4449         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
4450         to create a non-vector/vector version for _dl_runtime_resolve and
4451         _dl_runtime_profile. Move implementation to ...
4452         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
4453         (_dl_runtime_resolve) Save and restore fpr/vrs.
4454         (_dl_runtime_profile) Save and restore vrs and fix some issues
4455         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
4456         Choose the correct resolver function if running on a machine with vx.
4458 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4460         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
4462 2016-03-31  Florian Weimer  <fweimer@redhat.com>
4464         [BZ #19509]
4465         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
4466         skip_map != NULL.
4467         * elf/tst-dlsym-error.c: New file.
4468         * elf/Makefile (tests): Add tst-dlsym-error.
4469         (tst-dlsym-error): Link against libdl.
4471 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
4473         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4474         (__ASSUME_FUTIMESAT): Remove macro.
4475         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
4477 2016-03-29  Florian Weimer  <fweimer@redhat.com>
4479         [BZ #19879]
4480         CVE-2016-3075
4481         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
4482         copy name.
4484 2016-03-29  Florian Weimer  <fweimer@redhat.com>
4486         [BZ #19837]
4487         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
4488         error if parse_line fails.
4490 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4492         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
4493         (index_cpu_ERMS): Likewise.
4494         (reg_ERMS): Likewise.
4496 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
4498         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
4499         PER_LINUX_FDPIC): Add.
4501 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4503         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4504         memcpy-avx512-no-vzeroupper.
4505         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
4506         to ...
4507         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
4508         (MEMCPY): Don't define.
4509         (MEMCPY_CHK): Likewise.
4510         (MEMPCPY): Likewise.
4511         (MEMPCPY_CHK): Likewise.
4512         (MEMPCPY_CHK): Renamed to ...
4513         (__mempcpy_chk_avx512_no_vzeroupper): This.
4514         (MEMPCPY_CHK): Renamed to ...
4515         (__mempcpy_chk_avx512_no_vzeroupper): This.
4516         (MEMCPY_CHK): Renamed to ...
4517         (__memmove_chk_avx512_no_vzeroupper): This.
4518         (MEMCPY): Renamed to ...
4519         (__memmove_avx512_no_vzeroupper): This.
4520         (__memcpy_avx512_no_vzeroupper): New alias.
4521         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
4523 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4525         [BZ #18858]
4526         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4527         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
4528         and mempcpy-avx512-no-vzeroupper.
4529         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
4530         New.
4531         (MEMPCPY): Likewise.
4532         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
4533         (MEMPCPY_CHK): New.
4534         (MEMPCPY): Likewise.
4535         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
4536         (MEMPCPY): Likewise.
4537         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
4538         (MEMPCPY): Likewise.
4539         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
4540         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
4541         Likewise.
4542         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
4543         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
4545 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4546              Amit Pawar  <Amit.Pawar@amd.com>
4548         [BZ #19583]
4549         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4550         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
4551         processors.  Set Fast_Copy_Backward for AMD Excavator
4552         processors.
4553         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
4554         New.
4555         (index_arch_Fast_Unaligned_Copy): Likewise.
4556         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
4557         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
4559 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4561         [BZ #19791]
4562         * resolv/res_send.c (close_and_return_error): New function.
4563         (send_dg): Initialize *resplen2 after reopen failure.  Call
4564         close_and_return_error for error returns.  On error paths without
4565         __res_iclose, initialze *resplen2 explicitly.  Update comment for
4566         successful return.
4568 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4570         [BZ# 19860]
4571         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
4572         zero if the compiler does not provide the AVX512F bit.
4574 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
4576         [BZ #19848]
4577         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
4578         from 8 to 4.
4579         (__ieee754_powl): Compare integer exponent against 4 not 8.
4580         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
4581         from 8 to 4.
4582         (__ieee754_powl): Compare integer exponent against 4 not 8.
4583         * math/auto-libm-test-in: Add more tests of pow.
4584         * math/auto-libm-test-out: Regenerated.
4585         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
4586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4588 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4590         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
4591         Make code unconditional.
4592         [!__NR_utimensat]: Remove conditional code.
4593         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
4594         Make code unconditional.
4595         [!__NR_utimensat]: Remove conditional code.
4596         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
4597         Make code unconditional.
4598         [!__NR_utimensat]: Remove conditional code.
4600 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4602         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
4603         Make code unconditional.
4605 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
4607         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
4608         call-clobbered %eax on retry path.
4609         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
4611 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4613         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
4614         Don't set %rcx twice before "rep movsb".
4616 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4618         [BZ #19583]
4619         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
4620         inline.  Check family before setting family, model and
4621         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
4622         bits here.
4623         (init_cpu_features): Replace HAS_CPU_FEATURE and
4624         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
4625         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
4626         for Intel processors with usable AVX2.  Call get_common_indeces
4627         for other processors with family == NULL.
4628         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
4629         (CPU_FEATURES_ARCH_P): Likewise.
4630         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
4631         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
4633 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4635         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
4636         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
4637         $(shared-thread-library) instead of hardcoding the path to libpthread.
4639 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
4641         * sysdeps/unix/sysv/linux/kernel-features.h
4642         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
4643         * sysdeps/unix/sysv/linux/getdents.c
4644         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
4645         [!have_no_getdents64_defined]: Likewise.
4646         (__GETDENTS): Remove __have_no_getdents64 conditional.
4648 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
4650         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
4651         Remove macro.
4652         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
4653         <kernel-features.h>.
4654         (signalfd) [__NR_signalfd4]: Make code unconditional.
4655         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
4657 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4659         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
4660         style.
4662 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
4664         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
4665         (__pthread_enable_asynccancel): Use JUMPTARGET to call
4666         __pthread_unwind.
4667         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4668         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
4669         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4670         (__condvar_cleanup1): Likewise.
4672 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
4674         [BZ #19822]
4675         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
4676         move it to the final $@ location.
4678 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4680         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
4681         access where posix_spawn success and pid argument is null.
4682         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
4683         success case.
4685 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
4687         * sysdeps/mach/hurd/i386/c++-types.data: New file.
4689         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
4691         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
4692         and __fcntl.
4693         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
4694         __fcntl only.
4695         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
4696         adding attribute_hidden to __open and __fcntl.
4698         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
4699         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
4700         depend on libc-modules.h,
4701         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
4703 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
4705         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
4706         Remove macro.
4707         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
4708         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
4709         entry.
4711         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
4712         Remove macro.
4713         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
4714         include <kernel-features.h>.
4715         [!__ASSUME_FALLOCATE]: Remove conditional code.
4716         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
4718 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4720         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
4721         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
4722         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
4723         (_ZGVdN4v_cos_avx2): Likewise.
4724         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
4725         (_ZGVdN4v_cos): Likewise.
4726         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
4727         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
4728         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
4729         (_ZGVdN4v_exp_avx2): Likewise.
4730         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
4731         (_ZGVdN4v_exp): Likewise.
4732         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
4733         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
4734         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
4735         (_ZGVdN4v_log_avx2): Likewise.
4736         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
4737         (_ZGVdN4v_log): Likewise.
4738         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
4739         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
4740         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
4741         (_ZGVdN4vv_pow_avx2): Likewise.
4742         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
4743         (_ZGVdN4vv_pow): Likewise.
4744         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
4745         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
4746         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
4747         (_ZGVdN4v_sin_avx2): Likewise.
4748         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
4749         (_ZGVdN4v_sin): Likewise.
4750         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
4751         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
4752         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
4753         (_ZGVdN4vvv_sincos_avx2): Likewise.
4754         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
4755         (_ZGVdN4vvv_sincos): Likewise.
4756         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
4757         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
4758         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
4759         (_ZGVbN4v_cosf_sse4): Likewise.
4760         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
4761         (_ZGVdN8v_cosf_avx2): Likewise.
4762         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
4763         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
4764         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
4765         (_ZGVbN4v_expf_sse4): Likewise.
4766         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
4767         (_ZGVdN8v_expf_avx2): Likewise.
4768         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
4769         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
4770         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
4771         (_ZGVbN4v_logf_sse4): Likewise.
4772         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
4773         (_ZGVdN8v_logf_avx2): Likewise.
4774         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
4775         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
4776         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
4777         (_ZGVbN4vv_powf_sse4): Likewise.
4778         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
4779         (_ZGVdN8vv_powf_avx2): Likewise.
4780         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4781         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
4782         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4783         (_ZGVbN4vvv_sincosf_sse4): Likewise.
4784         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4785         (_ZGVdN8vvv_sincosf_avx2): Likewise.
4786         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
4787         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
4788         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
4789         (_ZGVbN4v_sinf_sse4): Likewise.
4790         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
4791         (_ZGVdN8v_sinf_avx2): Likewise.
4792         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4793         Use JUMPTARGET to call callee.
4794         (WRAPPER_IMPL_SSE2_ff): Likewise.
4795         (WRAPPER_IMPL_SSE2_fFF): Likewise.
4796         (WRAPPER_IMPL_AVX): Likewise.
4797         (WRAPPER_IMPL_AVX_ff): Likewise.
4798         (WRAPPER_IMPL_AVX_fFF): Likewise.
4799         (WRAPPER_IMPL_AVX512): Likewise.
4800         (WRAPPER_IMPL_AVX512_ff): Likewise.
4801         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4802         Likewise.
4803         (WRAPPER_IMPL_SSE2_ff): Likewise.
4804         (WRAPPER_IMPL_SSE2_fFF): Likewise.
4805         (WRAPPER_IMPL_AVX): Likewise.
4806         (WRAPPER_IMPL_AVX_ff): Likewise.
4807         (WRAPPER_IMPL_AVX_fFF): Likewise.
4808         (WRAPPER_IMPL_AVX512): Likewise.
4809         (WRAPPER_IMPL_AVX512_ff): Likewise.
4810         (WRAPPER_IMPL_AVX512_fFF): Likewise.
4812 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4814         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
4815         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
4816         qualifier.
4817         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
4818         internal_function qualifiers.
4820 2016-03-15  Carlos O'Donell <carlos@redhat.com>
4822         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
4823         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
4824         * math/atest-exp.c (exp_mpn): Mark chk unused.
4825         * math/atest-exp2.c (exp_mpn): Likwise.
4826         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
4827         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
4829 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
4831         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
4832         Remove macro.
4833         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
4834         <kernel-features.h>.
4835         [__NR_ppoll]: Make code unconditional.
4836         [!__ASSUME_PPOLL]: Remove conditional code.
4838         * sysdeps/unix/sysv/linux/kernel-features.h
4839         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
4840         (__ASSUME_ACCEPT4): Likewise.
4841         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4842         Define.
4843         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
4844         Likewise.
4845         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4846         Likewise.
4847         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
4848         Likewise.
4849         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
4850         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
4851         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4852         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4853         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4854         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4855         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4856         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4857         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4858         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4859         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4860         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4861         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4862         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4863         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4864         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4865         Likewise.
4866         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4867         Likewise.
4868         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4869         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4870         0x040300].
4871         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4872         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4873         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4874         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4875         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4876         0x030300].
4877         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
4878         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4879         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4880         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4881         0x040300].
4882         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4883         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4884         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4885         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4886         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4887         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4888         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4889         0x030300].
4890         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4891         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4892         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4893         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4894         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4895         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4896         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4897         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4898         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4899         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4900         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4901         0x040300].
4902         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4903         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4904         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4905         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4906         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4907         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4908         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4909         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4910         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4911         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4912         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4913         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4914         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4915         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4916         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
4917         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4918         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4919         Likewise.
4920         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4921         Likewise.
4923 2016-03-15  Andreas Schwab  <schwab@suse.de>
4925         [BZ #19257]
4926         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
4927         statp->_u._ext.nscount as loop count.
4929 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
4931         * math/test-signgam-finite-c99.c: Also #undef
4932         __LIBC_INTERNAL_MATH_INLINES.
4933         * math/test-signgam-main.c: Likewise.
4935 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
4937         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
4938         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
4939         (MADV_FREE): Likewise.
4940         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
4941         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
4942         EPOLLEXCLUSIVE.
4944 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
4946         * timezone/README: Remove mention of checktab.awk. Mention wiki
4947         SharedSourceFiles.
4949 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
4951         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
4952         WUNTRACED.
4954 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4956         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
4957         order to match the type of p when calling atomic_exchange_acq().
4959 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4961         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
4962         cfi_offset calls.
4963         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
4964         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
4965         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
4966         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
4967         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
4969 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
4971         * timezone/checktab.awk: Removed.
4973 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
4975         * manual/math.texi (Errors in Math Functions): Document relaxed
4976         accuracy goals for IBM long double.
4977         * math/libm-test.inc (test_exceptions): Always allow spurious
4978         "underflow" and "inexact" exceptions for IBM long double.
4980 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
4982         [BZ #19762]
4983         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
4984         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
4985         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
4986         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
4987         (bit_arch_*): This for feature array.
4988         (bit_*): Renamed to ...
4989         (bit_cpu_*): This for cpu array.
4990         (index_*): Renamed to ...
4991         (index_arch_*): This for feature array.
4992         (index_*): Renamed to ...
4993         (index_cpu_*): This for cpu array.
4994         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
4995         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
4996         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
4997         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
4998         bit_##name with index_cpu_##name and bit_cpu_##name.
4999         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
5000         bit_##name with index_arch_##name and bit_arch_##name.
5002 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
5004         [BZ #19792]
5005         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
5006         Terminate FDE before return label.
5008 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
5010         [BZ #19790]
5011         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
5012         (rintl): Define as macro.
5013         [USE_AS_NEARBYINTL] (__rintl): Likewise.
5014         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
5015         of fesetround.  Ensure results are evaluated before end of scope.
5016         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
5017         USE_AS_NEARBYINTL and include s_rintl.c.
5018         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
5019         Disable exception traps in new environment.
5020         (libc_feholdsetround_ppc_ctx): Likewise.
5022 2016-03-08  Roland McGrath  <roland@hack.frob.com>
5024         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
5025         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
5026         (tst_audit10_aux) [__AVX512F__]: ... here.
5028 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
5030         * include/sys/auxv.h: New file.
5032 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
5034         [BZ #19759]
5035         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
5037 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5039         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
5040         operand modifier.
5041         (feclearexcept): Likewise.
5043 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5045         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
5046         to reflect the entire 32-bit HWCAP.
5047         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
5048         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
5050 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
5052         [BZ #19783]
5053         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
5054         $(test-via-rtld-prefix).
5055         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
5057 2016-03-08  Florian Weimer  <fweimer@redhat.com>
5059         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
5060         union wait.  Report any non-zero exit status as error.
5062 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5064         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
5065         configured with --enable-hardcoded-path-in-tests.
5067 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
5069         [BZ #19677]
5070         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5071         (__ieee754_remainderl): Put zero low parts in canonical form.
5072         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
5073         file.  Based on
5074         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
5075         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
5076         with wrapper round test-fmodrem-ldbl-128ibm.c.
5077         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
5078         file.
5079         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
5080         Likewise.
5081         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5082         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
5084 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5086         [BZ #19610]
5087         * elf/ldconfig.c (opt_link): Update comment.
5088         (options): Update help string for option -X.
5089         (search_dir): Unlink stale symbolic link only if updating symbolic
5090         links.
5091         * elf/tst-ldconfig-X.sh: New file.
5092         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
5093         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
5095 2016-03-07  Andreas Schwab  <schwab@suse.de>
5097         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
5098         needed arguments.
5100 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
5102         [BZ #15333]
5103         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
5104         to lstat64.
5106 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5108         * libio/filedoalloc.c (isatty): Remove.
5109         (local_isatty): Add comment.  Call __isatty directly.
5110         (_IO_file_doallocate): Update comment.  Assume _LIBC.
5111         * libio/wfiledoalloc.c (isatty): Remove.
5112         (_IO_wfile_doallocate): Update comment.
5114 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5116         [BZ #19269]
5117         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
5118         tst-audit4-aux.o.
5119         (tst-audit10): Depend on tst-audit10-aux.o.
5120         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
5121         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
5122         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
5123         instead of inline AVX code.
5124         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
5125         instead of inline AVX512 code.
5126         * sysdeps/x86_64/tst-audit4-aux.c: New file
5127         * sysdeps/x86_64/tst-audit10-aux.c: New file
5129         [BZ #19648]
5130         * test-skeleton.c (main): Do not set RLIMIT_DATA.
5132 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5134         [BZ #14750]
5135         [BZ #10354]
5136         [BZ #18433]
5137         * include/sched.h (__clone): Add hidden prototype.
5138         (__clone2): Likewise.
5139         * include/unistd.h (__dup): Likewise.
5140         * posix/Makefile (tests): Add tst-spawn2.
5141         * posix/tst-spawn2.c: New file.
5142         * sysdeps/posix/dup.c (__dup): Add hidden definition.
5143         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
5144         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5145         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5146         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5147         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5148         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
5149         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5150         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
5151         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5152         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5154         Likewise.
5155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5156         Likewise.
5157         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5158         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5159         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5160         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5161         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5162         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5163         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5164         * sysdeps/unix/sysv/linux/nptl-signals.h
5165         (____nptl_is_internal_signal): New function.
5166         * sysdeps/unix/sysv/linux/spawni.c: New file.
5168         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
5169         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
5170         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
5171         * posix/tst-execvp2.c (do_test): Likewise.
5172         * posix/tst-execvp3.c (do_test): Likewise.
5173         * posix/tst-execvp4.c (do_test): Likewise.
5174         * posix/tst-execvpe1.c: New file.
5175         * posix/tst-execvpe2.c: Likewise.
5176         * posix/tst-execvpe3.c: Likewise.
5177         * posix/tst-execvpe4.c: Likewise.
5178         * posix/tst-execvpe5.c: Likewise.
5179         * posix/tst-execvpe6.c: Likewise.
5181         [BZ #19534]
5182         * posix/execl.c (execl): Remove dynamic memory allocation.
5183         * posix/execle.c (execle): Likewise.
5184         * posix/execlp.c (execlp): Likewise.
5186 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5188         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
5189         Replace .text with .text.avx512.
5190         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
5191         Likewise.
5193 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
5195         * sysdeps/generic/libnsl.abilist: New file.
5196         * sysdeps/generic/libutil.abilist: New file.
5198 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5200         [BZ #19762]
5201         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
5202         HAS_ARCH_FEATURE with Fast_Rep_String.
5203         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
5204         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
5205         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
5206         Likewise.
5207         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
5208         Likewise.
5209         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
5210         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
5211         Likewise.
5212         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
5213         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
5214         Likewise.
5216 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5218         [BZ #19745]
5219         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
5220         with *%rax in call.
5222 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5224         [BZ #19745]
5225         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
5226         with *__libc_start_main@GOTPCREL(%rip) in call.
5228 2016-03-04  Roland McGrath  <roland@hack.frob.com>
5230         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
5231         inside conditional for nonempty $(CXX).
5233         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
5234         nonempty.
5236         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
5237         to test for empty $(CXX) rather than $(CXX) of "no".
5239 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5241         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
5243 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
5244             H.J. Lu  <hongjiu.lu@intel.com>
5246         [BZ #18880]
5247         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
5248         instead of Slow_BSF, and also check for Fast_Copy_Backward to
5249         enable __memcpy_ssse3_back.
5251 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
5253         [BZ #19758]
5254         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5255         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
5257 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
5259         [BZ #19490]
5260         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
5261         (__fentry__): Likewise.
5263 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
5265         * gmon/Makefile (noprof): Add $(sysdep_noprof).
5266         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
5268 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
5270         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
5271         __mcount_internal directly.
5272         (C_LABEL(__fentry__)): Likewise.
5273         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
5274         directly.
5276 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
5278         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5279         (__start_context): Call __setcontext directly.
5281 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
5283         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5284         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5285         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
5286         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5287         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5288         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5289         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
5290         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5291         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5292         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
5293         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5294         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5295         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5296         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5297         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5298         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5299         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
5300         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5301         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5302         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5303         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
5304         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5305         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5306         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5307         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
5308         Remove conditional code.
5309         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5310         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
5311         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5312         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5313         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
5314         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5315         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5316         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5317         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5318         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5319         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5320         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5322 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
5324         * NEWS (2.23): Fix typo in bug 19048 text.
5326 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
5328         [BZ #14259]
5329         * Makeconfig: Rename msgcatdir to localedir.
5330         Rename inst_msgcatdir to inst_localedir.
5331         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
5332         * config.make.in: Add localedir.
5333         * elf/Makefile ($(objpfx)sotruss): Use localedir.
5334         (ldd-rewrite): Likewise.
5335         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
5336         (install-others): Use inst_localedir.
5337         (CPPFLAGS): Use localedir.
5338         * locale/Makefile (locale-CPPFLAGS): Likewise.
5339         * po/Makefile (mo-installed): Use inst_localedir.
5341         [BZ #19575]
5342         * localedata/charmaps/GB18030: Update comments regarding PAU to
5343         non-PUA mappings.
5345 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
5347         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
5348         test for header.
5349         * sysdeps/unix/sysv/linux/configure: Regenerated.
5350         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
5351         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
5352         Remove conditional code.
5353         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
5355         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5356         Define to 3.2.0.
5357         (arch_minimum_kernel): Likewise.
5358         * sysdeps/unix/sysv/linux/configure: Regenerated.
5359         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5360         Define to 2.6.32.
5361         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5362         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5363         (arch_minimum_kernel): Define to 2.6.32.
5364         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5365         * README: Document Linux 3.2 requirement.
5366         * manual/install.texi (Linux): Document Linux 3.2 headers
5367         requirement.
5368         * INSTALL: Regenerated.
5370 2016-02-24  Andreas Schwab  <schwab@suse.de>
5372         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
5373         if !NO_LONG_DOUBLE.
5375 2016-02-22  Roland McGrath  <roland@hack.frob.com>
5377         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
5378         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
5380 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
5382         [BZ #19512]
5383         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
5385 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
5387         * posix/tst-dir.c: Include libc-internal.h.
5389 2016-02-20  Florian Weimer  <fweimer@redhat.com>
5391         [BZ #19056]
5392         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
5393         * manual/filesys.texi (Reading/Closing Directory): Mention
5394         deprecaion.
5395         * posix/tst-dir.c (main): Disable deprecation warning in test.
5397 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
5399         [BZ #19679]
5400         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
5401         Renamed to ...
5402         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
5403         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5404         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
5405         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5406         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5407         * sysdeps/x86_64/dl-trampoline.h
5408         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5409         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5411 2016-02-19  Mark Wielaard  <mjw@redhat.com>
5413         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
5415 2016-02-19  Mark Wielaard  <mjw@redhat.com>
5417         * elf/elf.h (R_386_GOT32X): New.
5418         (R_386_NUM): Update.
5419         (R_X86_64_GOTPCRELX: New.
5420         (R_X86_64_REX_GOTPCRELX): New.
5421         (R_X86_64_NUM): Update.
5423 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
5425         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
5427 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
5429         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
5430         assign attr->stackaddr to it, and adjust it down when
5431         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
5432         [_STACK_GROWS_UP]: Delete assert.
5433         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
5434         Implement stack grows up logic.
5435         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
5436         stack grows up logic.
5438 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5440         * NEWS: Update with 2.24 template.
5442 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
5444         [BZ #19678]
5445         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5446         Ensure +0.0 is returned when taking the next value below the least
5447         positive value.
5449 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5451         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
5452         available.  Do not define NO_THREADS.
5453         * malloc/malloc.c: Do not check NO_THREADS.
5454         * malloc/arena.c: Likewise.
5456 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5458         * malloc/malloc.c (__libc_mallinfo): Update comment.
5459         (struct malloc_par): Remove max_total_mem member, it was always 0.
5460         (int_mallinfo): Store 0 into usmblks (no functional change).
5461         * malloc/hooks.c (struct malloc_state): Document that
5462         max_total_mem is always 0.
5463         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
5464         always 0.
5465         * manual/memory.texi (Statistics of Malloc): Likewise.
5467 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5469         * malloc/malloc.c (sysmalloc): Do not update arena_max.
5470         * malloc/arena.c (arena_max): Remove.
5471         (heap_trim, _int_new_arena): Do not update arena_max.
5473 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5475         * resolv/res_init.c (res_ninit): Update comment.
5477 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5479         [BZ #19505]
5480         * posix/spawn_int.h: Add headers and include guard.
5481         (__spawn_valid_fd): New function.
5482         * posix/spawn_faction_addopen.c
5483         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
5484         * posix/spawn_faction_addclose.c
5485         (posix_spawn_file_actions_addclose): Likewise.
5486         * posix/spawn_faction_adddup2.c
5487         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
5488         second file descriptor.
5489         * posix/spawn_valid_fd.c: New file.
5490         * posix/tst-posix_spawn-fd.c: New file.
5491         * posix/Makefile (routines): Add spawn_valid_fd.
5492         (tests): Add tst-posix_spawn-fd.
5494 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5496         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
5497         (do_test): Limit the number of arenas, so that we can use fewer
5498         outer threads.  Limit timeout to 3 seconds, in preparation for a
5499         larger TIMEOUT value.
5501 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
5503         [BZ #19674]
5504         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
5505         sign in overflowing and underflowing results when overflow or
5506         underflow is detected early.  Include sign in result before rather
5507         than after scaling.
5509         [BZ #19603]
5510         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5511         (__ieee754_remainderl): Adjust sign of integer version of low part
5512         when taking absolute value of high part.
5513         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5514         * math/libm-test.inc (remainder_test_data): Add another test.
5515         (remquo_test_data): Likewise.
5517 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
5519         [BZ #19602]
5520         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
5521         equal high parts and both low parts zero specially.
5522         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
5523         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5524         Add test-fmodl-ldbl-128ibm.
5526         [BZ #19595]
5527         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
5528         common logic for all cases of shifting subnormal results.  Do not
5529         insert sign bit in shifted mantissa.  Always pass -1023 as biased
5530         exponent to ldbl_insert_mantissa in subnormal case.
5532         [BZ #19594]
5533         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
5534         on high and low parts then adjust result and use
5535         ldbl_canonicalize_int if needed.
5537         [BZ #19593]
5538         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
5539         on high part and __floor or __ceil on low part then use
5540         ldbl_canonicalize_int if needed.
5542         [BZ #19592]
5543         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
5544         high and low parts then use ldbl_canonicalize_int if needed.
5546         [BZ #17899]
5547         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
5548         New function.
5549         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
5550         on high and low parts then use ldbl_canonicalize_int if needed.
5552 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5554         * configure: Regenerated.
5556         * po/libc.pot: Regenerated.
5558         * po/be.po: Updated translation.
5559         * po/bg.po: Likewise.
5560         * po/ca.po: Likewise.
5561         * po/cs.po: Likewise.
5562         * po/da.po: Likewise.
5563         * po/el.po: Likewise.
5564         * po/eo.po: Likewise.
5565         * po/es.po: Likewise.
5566         * po/fi.po: Likewise.
5567         * po/fr.po: Likewise.
5568         * po/gl.po: Likewise.
5569         * po/hr.po: Likewise.
5570         * po/hu.po: Likewise.
5571         * po/ia.po: Likewise.
5572         * po/id.po: Likewise.
5573         * po/it.po: Likewise.
5574         * po/ja.po: Likewise.
5575         * po/lt.po: Likewise.
5576         * po/nb.po: Likewise.
5577         * po/nl.po: Likewise.
5578         * po/pt_BR.po: Likewise.
5579         * po/rw.po: Likewise.
5580         * po/sk.po: Likewise.
5581         * po/sl.po: Likewise.
5582         * po/sv.po: Likewise.
5583         * po/tr.po: Likewise.
5584         * po/zh_CN.po: Likewise.
5585         * po/zh_TW.po: Likewise.
5587         * version.h (RELEAES): Set to "development".
5588         (VERSION): Set to 2.23.90.
5590         * version.h (RELEASE): Set to "stable".
5591         (VERSION): Set to 2.23.
5592         * include/feature.h (__GLIBC_MINOR__): Set to 23.
5594         * NEWS: Updated fixed bugs.
5596 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
5597             Wilco Dijkstra  <wdijkstr@arm.com>
5599         [BZ #19462]
5600         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
5601         (_STRING_INLINE_unaligned): This.
5602         * include/string.h: Include <string_private.h>.
5603         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
5604         _STRING_INLINE_unaligned.
5605         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
5606         (_STRING_INLINE_unaligned): New.
5607         * sysdeps/aarch64/string_private.h: New file.
5608         * sysdeps/generic/string_private.h: Likewise.
5609         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
5610         * sysdeps/s390/string_private.h: Likewise.
5611         * sysdeps/x86/string_private.h: Likewise.
5612         * sysdeps/m68k/m680x0/m68020/bits/string.h
5613         (_STRING_ARCH_unaligned): Renamed to ...
5614         (_STRING_INLINE_unaligned): This.
5615         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
5616         to ...
5617         (_STRING_INLINE_unaligned): This.
5618         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
5619         to ...
5620         (_STRING_INLINE_unaligned): This.
5621         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
5622         to ...
5623         (_STRING_INLINE_unaligned): This.
5625 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
5626             H.J. Lu  <hongjiu.lu@intel.com>
5628         [BZ #19590]
5629         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
5630         relocation.
5632 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
5634         [BZ #18665]
5635         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
5636         *herrno_p.
5637         (gaih_getanswer): Document functional behviour. Return tryagain
5638         if any result is tryagain.
5639         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
5640         when freed.
5641         * resolv/res_send.c: Add copyright text.
5642         (__libc_res_nsend): Document that MAXPACKET is expected.
5643         (send_vc): Document. Remove buffer reuse.
5644         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
5645         size of the buffer. Add Dprint for truncated UDP buffer.
5647 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
5649         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
5650         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
5651         * INSTALL: Regenerate.
5653 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
5654             Jonathan Wakely  <jwakely@redhat.com>
5655             Carlos O'Donell  <carlos@redhat.com>
5657         [BZ 19439]
5658         * math/Makefile (tests): Add test-math-isinff.
5659         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
5660         * math/bits/mathcalls.h [__USE_MISC]: Use
5661         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
5662         functions not in C++11 and which don't conflict e.g. isinff,
5663         isinfl etc.
5664         * math/test-math-isinff.cc: New file.
5666 2016-02-12  Florian Weimer  <fweimer@redhat.com>
5668         * misc/bug18240.c (do_test): Set RLIMIT_AS.
5670 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5672         [BZ #19529]
5673         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
5675 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5677         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5679 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
5681         [BZ #19550]
5682         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
5683         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
5684         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
5685         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
5686         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
5687         New syscall entry.
5688         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
5689         New syscall entry.
5690         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
5691         syscall entry.
5693 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
5695         [BZ #18240]
5696         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
5697         unsigned int wraparound.
5699 2016-01-27  Florian Weimer  <fweimer@redhat.com>
5701         [BZ #18240]
5702         * misc/bug18240.c: New test.
5703         * misc/Makefile (tests): Add it.
5705 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
5706             Joseph Myers  <joseph@codesourcery.com>
5708         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
5709         load in branch delay slot when less than a word of input left.
5711 2016-01-27  Andreas Schwab  <schwab@suse.de>
5713         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
5714         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
5715         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
5716         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
5718 2016-01-26  David S. Miller  <davem@davemloft.net>
5720         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
5722 2016-01-25  David S. Miller  <davem@davemloft.net>
5724         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
5725         __sqrtl_finite.
5726         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
5727         instead using versioned_symbol.
5728         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
5729         of entries.
5731         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
5732         __sqrtl_finite to GLIBC_2.23
5734 2016-01-25  Ricchard Henderson  <rth@redhat.com>
5736         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5738 2016-01-25  Andreas Schwab  <schwab@suse.de>
5740         [BZ #17514]
5741         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
5742         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
5743         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
5744         * nptl/tst-mutex-errorcheck.c: New file.
5746 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5748         [BZ #18560]
5749         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
5750         (IPCOP_semop): Likewise.
5751         (IPCOP_semget): Likewise.
5752         (IPCOP_semctl): Likewise.
5753         (IPCOP_msgsnd): Likewise.
5754         (IPCOP_msgrcv): Likewise.
5755         (IPCOP_msgget): Likewise.
5756         (IPCOP_msgctl): Likewise.
5757         (IPCOP_shmat): Likewise.
5758         (IPCOP_shmdt): Likewise.
5759         (IPCOP_shmget): Likewise.
5760         (IPCOP_shmctl): Likewise.
5762 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
5764         * string/tst-endian.c: Include <libc-internal.h>.
5765         (do_test): Ignore tautological-compare warnings around
5766         "htobeXX (beXXtoh (i)) != i" and
5767         "htoleXX (leXXtoh (i)) != i" if-statements.
5769 2016-01-24  David S. Miller  <davem@davemloft.net>
5771         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
5772         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
5773         alias.
5774         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
5775         __sqrtl_finite.
5777         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5779 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
5781         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
5782         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
5783         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5785 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5787         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
5788         (thread_func): Use new function to simplify barrier check.
5789         (do_test): Use new function to simplify checking barrier exit
5790         code, and actually join the child thread.
5792 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5794         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
5795         semicolon.
5796         (__libc_tend): Likewise.
5797         (__libc_tabort): Likewise.
5799 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
5801         * sysdeps/nios2/libm-test-ulps: Update.
5802         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
5803         (__gtsf2): Likewise.
5804         (__unorddf2): Likewise.
5805         (__unordsf2): Likewise.
5806         (__ledf2): Likewise.
5808 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
5810         * nis/nis_table.c (__follow_path): Disable diagnostic for
5811         uninitialized variable that is a false positive for gcc 4.7.
5812         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
5814 2016-01-20  Roland McGrath  <roland@hack.frob.com>
5816         * sysdeps/nacl/lowlevellock-futex.h
5817         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
5818         Always evaluate PRIVATE argument.
5820 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
5822         [BZ #19490]
5823         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
5824         (pthread_cond_broadcast): Use ENTRY/END
5825         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
5826         (pthread_cond_signal): Likewise.
5827         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
5828         Likewise.
5829         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
5830         Likewise.
5831         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
5832         Likewise.
5834 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
5836         * sysdeps/ieee754/dbl-64/s_finite.c
5837         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
5838         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
5839         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
5840         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
5841         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
5843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5844         (__gtsf2): Add as optional for libc.so.
5845         (__unordsf2): Likewise.
5846         (__signbit): Remove for libc.so.
5847         (__signbitl): Likewise.
5849 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
5851         * iconvdata/bug-iconv11.c (test_ibm93x):
5852         Use %zu printf format specifier for size_t argument.
5854 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
5856         * math/gen-libm-test.pl (parse_ulps): Do not reduce
5857         already-recorded ulps.
5858         * sysdeps/arm/libm-test-ulps: Regenerated.
5859         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5860         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5861         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5863 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5864             Paul Pluzhnikov  <ppluzhnikov@google.com>
5866         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
5867         assembler not supporting AVX-512.
5869 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
5871         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5873 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
5875         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5876         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5878         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5880         * sysdeps/arm/libm-test-ulps: Regenerated.
5882 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
5884         [BZ #19451]
5885         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
5887 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
5889         [BZ #19486]
5890         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
5891         * sysdeps/generic/fix-fp-int-convert-overflow.h
5892         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
5893         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
5894         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
5895         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
5896         Likewise.
5897         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
5898         Avoid conversions to long int where inexact exceptions
5899         could be raised.
5900         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
5901         Likewise.
5902         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
5903         Avoid conversions to long long int where inexact exceptions
5904         could be raised.
5905         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
5906         Likewise.
5908 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
5910         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
5911         * configure: Regenerated.
5913 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
5915         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
5917 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
5919         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
5920         outside of comment.
5922 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5924         * nptl/tst-barrier1.c: Add description on first line.
5925         * nptl/tst-barrier2.c: Likewise.
5926         * nptl/tst-barrier3.c: Likewise.
5927         * nptl/tst-barrier4.c: Likewise.
5928         * nptl/tst-barrier5.c: Likewise.
5930 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5932         [BZ #18868]
5933         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
5935 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
5937         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
5938         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
5939         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
5940         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
5941         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
5942         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
5943         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5944         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5945         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5946         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5947         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5949 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5951         [BZ #13065]
5952         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
5953         new implementation.
5954         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
5955         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
5956         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
5957         (BARRIER_IN_THRESHOLD): New macro.
5958         * nptl/pthread_barrierattr_setpshared.c
5959         (pthread_barrierattr_setpshared): Clean up.
5960         * nptl/tst-barrier4.c: Correct comment.
5961         * nptl/tst-barrier5.c: New file.
5962         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
5963         (gen-as-const-headers): Remove lowlevelbarrier.sym.
5964         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
5965         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
5966         * nptl/lowlevelbarrier.sym: Remove.
5967         * nptl/DESIGN-barrier.txt: Remove.
5968         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
5969         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
5970         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
5971         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
5972         error.
5973         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
5974         implementation.
5976 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5978         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
5979         (do_child): Mask SIGRTMIN while thr is running.
5981 2016-01-15  Martin Sebor  <msebor@redhat.com>
5983         [BZ #19432]
5984         * iconvdata/Makefile: Add bug-iconv11.
5985         * iconvdata/bug-iconv11.c: New test.
5986         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
5987         * iconvdata/ibm933.c: Same.
5988         * iconvdata/ibm935.c: Same.
5989         * iconvdata/ibm937.c: Same.
5990         * iconvdata/ibm939.c: Same.
5992 2016-01-15  Martin Sebor  <msebor@redhat.com>
5994         [BZ #19443]
5995         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
5996         [DEBUG] (_ufc_set_bits): Declare used.
5997         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
5998         [DEBUG] (print_all): Declare used.
5999         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
6000         operands of the ternary ?: expression to target type.
6001         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
6002         calling the undeclared abort.
6003         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
6005 2016-01-15  Martin Sebor  <msebor@redhat.com>
6007         [BZ #18755]
6008         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
6009         warnings.
6010         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
6011         (__gai_create_helper_thread): Same.
6012         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
6013         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
6014         to suppress -Wmaybe-uninitialized warnings.
6016 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
6018         [BZ #19465]
6019         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
6020         inside if.
6021         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6022         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6023         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6025 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
6027         [BZ #19466]
6028         * time/tst-mktime2.c (time_t_max): Removed.
6029         (time_t_min): Likewise.
6030         (TYPE_SIGNED): New.
6031         (TYPE_MINIMUM): Likewise.
6032         (TYPE_MAXIMUM): Likewise.
6033         (TIME_T_MIN): Likewise.
6034         (TIME_T_MAX): Likewise.
6035         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
6036         and TIME_T_MIN.
6037         (do_test): Likewise.
6039 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
6041         [BZ #19467]
6042         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6043         index_Fast_Unaligned_Load flag for Excavator family CPUs.
6045 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
6047         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
6049 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
6051         * benchtests/Makefile (PYTHON): Define.
6052         (bench-func): Use $(PYTHON) to run python scripts.
6053         ($(objpfx)bench-%.c): Likewise.
6055 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
6057         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
6058         leading slash when `file_name' is "/".
6060 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
6062         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
6063         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
6064         Likewise.
6065         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
6066         Likewise.
6067         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
6068         Likewise.
6069         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
6070         enum constant and macro.
6071         (PTRACE_SETSIGMASK): Likewise.
6072         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6073         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
6074         (PTRACE_GETSIGMASK): Likewise.
6075         (PTRACE_SETSIGMASK): Likewise.
6076         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6077         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
6078         Likewise.
6079         (PTRACE_SETSIGMASK): Likewise.
6080         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6081         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
6082         (PTRACE_GETSIGMASK): Likewise.
6083         (PTRACE_SETSIGMASK): Likewise.
6084         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6085         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
6086         Likewise.
6087         (PTRACE_SETSIGMASK): Likewise.
6088         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6089         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
6090         Likewise.
6091         (PTRACE_SETSIGMASK): Likewise.
6092         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6093         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
6094         Likewise.
6095         (PTRACE_SETSIGMASK): Likewise.
6096         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6098 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
6099             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6101         [BZ #19439]
6102         * math/bits/mathcalls.h
6103         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
6104         prototype.
6105         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
6107 2016-01-11  Andreas Schwab  <schwab@suse.de>
6109         [BZ #19253]
6110         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
6111         cache when TZDEFRULES was used.
6112         * time/tst-tzname.c: New file.
6113         * time/Makefile (test): Add tst-tzname.
6114         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
6115         * timezone/Makefile (test-zones): Add $(posixrules-file).
6116         ($(testdata)/$(posixrules-file)): New rule.
6118 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
6120         Fix doc quoting problems with Texinfo 5
6121         Without this change, in the info file output, Texinfo 5 quotes code
6122         in text with undirected single quotes 'like this' and generates
6123         code examples that with many PDF readers cannot be cut out of PDFs
6124         and pasted into code.
6125         * manual/libc.texinfo: Configure the libc manual like the GNU
6126         Emacs manual, by using @documentencoding and setting
6127         txicodequoteundirected and txicodequotebacktick.  This way,
6128         Texinfo 5 quotes code in text with directed single quotes ‘like
6129         this’ and produces examples that can be cut out of PDFs.  This
6130         change causes Texinfo 5 to generate info files that contain UTF-8
6131         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
6132         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
6134 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6136         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
6137         __libc_tabort, __libc_tend): New wrappers that enforce compiler
6138         barriers to their respective compiler built-ins.
6139         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
6140         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
6141         * sysdeps/powerpc/sysdep.h: Likewise.
6142         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
6143         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
6144         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
6146 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
6148         * scripts/config.guess: Revert previous shebang change.
6149         * scripts/config.sub: Likewise.
6150         * scripts/mkinstalldirs: Likewise.
6152 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6154         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
6155         PPC_FEATURE2_HAS_IEEE128.
6156         * sysdeps/powerpc/dl-procinfo.c:
6157         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
6159 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
6161         [BZ #19415]
6162         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
6163         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
6164         (_dl_lookup_address): Rewrite using function resolver trampoline.
6165         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
6166         two bits in address.
6168 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
6170         * longlong.h: Change !__SHMEDIA__ to
6171         (!defined (__SHMEDIA__) || !__SHMEDIA__).
6172         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
6174 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
6175             Joseph Myers  <joseph@codesourcery.com>
6176             Mark Shinwell  <shinwell@codesourcery.com>
6177             Andrew Stubbs  <ams@codesourcery.com>
6178             Rich Felker <dalias@libc.org>
6180         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
6182 2016-01-07  Richard Henderson  <rth@redhat.com>
6184         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
6186 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
6188         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
6189         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
6190         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6191         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6192         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
6194 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
6195             Joseph Myers  <joseph@codesourcery.com>
6197         * timezone/private.h: Update from tzcode 2015g.
6198         * timezone/tzfile.h: Likewise.
6199         * timezone/tzselect.ksh: Likewise.
6200         * timezone/zdump.c: Likewise.
6201         * timezone/zic.c: Likewise.
6202         * timezone/ialloc.c: Remove file.
6203         * timezone/scheck.c: Likewise.
6204         * timezone/Makefile (extra-objs): Remove variable.
6205         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
6206         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
6207         -Wno-maybe-uninitialized.
6208         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
6209         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
6210         (CFLAGS-ialloc.c): Remove variable.
6211         (CFLAGS-scheck.c): Likewise.
6212         * timezone/README: Update list of files from tzcode.
6214 2016-01-07  Khem Raj  <raj.khem@gmail.com>
6216         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
6217         instead of __fxprintf when _LIBC is undefined.
6219 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
6221         * catgets/test-gencat.sh: Remove space after shebang.
6222         * conform/GlibcConform.pm: Likewise.
6223         * conform/check-header-lists.sh: Likewise.
6224         * conform/conformtest.pl: Likewise.
6225         * conform/linknamespace.pl: Likewise.
6226         * conform/list-header-symbols.pl: Likewise.
6227         * debug/catchsegv.sh: Likewise.
6228         * elf/genrtldtbl.awk: Likewise.
6229         * elf/tst-pathopt.sh: Likewise.
6230         * elf/tst-rtld-load-self.sh: Likewise.
6231         * grp/tst_fgetgrent.sh: Likewise.
6232         * iconvdata/gen-8bit-gap-1.sh: Likewise.
6233         * iconvdata/gen-8bit-gap.sh: Likewise.
6234         * iconvdata/gen-8bit.sh: Likewise.
6235         * iconvdata/run-iconv-test.sh: Likewise.
6236         * intl/tst-gettext.sh: Likewise.
6237         * intl/tst-gettext2.sh: Likewise.
6238         * intl/tst-gettext4.sh: Likewise.
6239         * intl/tst-gettext6.sh: Likewise.
6240         * intl/tst-translit.sh: Likewise.
6241         * io/ftwtest-sh: Likewise.
6242         * libio/test-freopen.sh: Likewise.
6243         * locale/gen-translit.pl: Likewise.
6244         * malloc/tst-mtrace.sh: Likewise.
6245         * manual/check-safety.sh: Likewise.
6246         * manual/libc-texinfo.sh: Likewise.
6247         * manual/tsort.awk: Likewise.
6248         * manual/xtract-typefun.awk: Likewise.
6249         * nptl/tst-cancel-wrappers.sh: Likewise.
6250         * nptl/tst-tls6.sh: Likewise.
6251         * posix/globtest.sh: Likewise.
6252         * posix/tst-getconf.sh: Likewise.
6253         * posix/wordexp-tst.sh: Likewise.
6254         * scripts/check-c++-types.sh: Likewise.
6255         * scripts/check-local-headers.sh: Likewise.
6256         * scripts/config.guess: Likewise.
6257         * scripts/config.sub: Likewise.
6258         * scripts/cpp: Likewise.
6259         * scripts/cross-test-ssh.sh: Likewise.
6260         * scripts/documented.sh: Likewise.
6261         * scripts/evaluate-test.sh: Likewise.
6262         * scripts/gen-libc-abis: Likewise.
6263         * scripts/gen-sorted.awk: Likewise.
6264         * scripts/list-fixed-bugs.py: Likewise.
6265         * scripts/merge-test-results.sh: Likewise.
6266         * scripts/mkinstalldirs: Likewise.
6267         * scripts/rellns-sh: Likewise.
6268         * scripts/test-installation.pl: Likewise.
6269         * scripts/update-copyrights: Likewise.
6270         * stdio-common/tst-printf.sh: Likewise.
6271         * stdio-common/tst-unbputc.sh: Likewise.
6272         * stdlib/tst-fmtmsg.sh: Likewise.
6273         * stdlib/tst-setcontext3.sh: Likewise.
6274         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
6275         * sysdeps/unix/make-syscalls.sh: Likewise.
6277 2016-01-06  John David Anglin  <dave.anglin@bell.net>
6279         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
6280         asm stw with atomic_exchange_rel.  Add explanatory comment.
6281         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
6282         Likewise.
6284 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
6286         [BZ #19122]
6287         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
6288         * sysdeps/generic/dl-unistd.h: New file.
6289         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
6291 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
6293          [BZ #19122]
6294          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
6295          * sysdeps/generic/dl-mman.h: New file.
6296          * sysdeps/mach/hurd/dl-mman.h: Likewise.
6298 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
6300         * manual/texinfo.tex: Update to version 2016-01-04.21 with
6301         trailing whitespace removed.
6302         * scripts/config.guess: Update to version 2016-01-01.
6303         * scripts/config.sub: Update to version 2016-01-01.
6304         * scripts/move-if-change: Update from gnulib.
6306 2016-01-04  Anton Blanchard  <anton@samba.org>
6308         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
6309         for array indices.
6310         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
6312 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
6314         * NEWS: Update copyright dates.
6315         * catgets/gencat.c (print_version): Likewise.
6316         * csu/version.c (banner): Likewise.
6317         * debug/catchsegv.sh: Likewise.
6318         * debug/pcprofiledump.c (print_version): Likewise.
6319         * debug/xtrace.sh (do_version): Likewise.
6320         * elf/ldconfig.c (print_version): Likewise.
6321         * elf/ldd.bash.in: Likewise.
6322         * elf/pldd.c (print_version): Likewise.
6323         * elf/sotruss.sh: Likewise.
6324         * elf/sprof.c (print_version): Likewise.
6325         * iconv/iconv_prog.c (print_version): Likewise.
6326         * iconv/iconvconfig.c (print_version): Likewise.
6327         * locale/programs/locale.c (print_version): Likewise.
6328         * locale/programs/localedef.c (print_version): Likewise.
6329         * login/programs/pt_chown.c (print_version): Likewise.
6330         * malloc/memusage.sh (do_version): Likewise.
6331         * malloc/memusagestat.c (print_version): Likewise.
6332         * malloc/mtrace.pl: Likewise.
6333         * manual/libc.texinfo: Likewise.
6334         * nptl/version.c (banner): Likewise.
6335         * nscd/nscd.c (print_version): Likewise.
6336         * nss/getent.c (print_version): Likewise.
6337         * nss/makedb.c (print_version): Likewise.
6338         * posix/getconf.c (main): Likewise.
6339         * scripts/test-installation.pl: Likewise.
6340         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6342         * All files with FSF copyright notices: Update copyright dates
6343         using scripts/update-copyrights.
6344         * intl/plural.c: Regenerated.
6345         * locale/programs/charmap-kw.h: Likewise.
6346         * locale/programs/locfile-kw.h: Likewise.
6348 2016-01-02  Helge Deller  <deller@gmx.de>
6350         [BZ #19285]
6351         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
6352         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
6353         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
6354         (MADV_xxK_PAGES): Remove.
6356 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
6358         [BZ #15421]
6359         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
6360         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
6361         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
6362         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
6364 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
6366         [BZ #19408]
6367         * sysdeps/unix/sysv/linux/personality.c: New file.
6368         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
6369         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
6370         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
6371         (sysdep_routines): Add personality.
6372         (tests): Add tst-personality.
6373         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
6374         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
6375         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
6376         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
6377         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
6378         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
6379         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
6380         Likewise.
6381         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
6382         Likewise.
6383         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
6384         Likewise.
6385         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
6386         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
6387         Likewise.
6389 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
6391         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
6392         (PATH_ARM_SYSTYPE): Remove.
6393         (PATH_CPUINFO): Likewise.
6394         (IO_BASE_FOOTBRIDGE): Likewise.
6395         (IO_SHIFT_FOOTBRIDGE): Likewise.
6396         (struct platform): Likewise.
6397         (init_iosys): Remove compatibility code for 2.4 kernels.
6398         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
6400 2015-12-29  Florian Weimer  <fweimer@redhat.com>
6402         * malloc/tst-malloc-thread-fail.c: New file.
6403         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
6404         (tst-malloc-thread-fail): Link against libpthread.
6406 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
6408         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
6409         (get_parser): New function.
6410         (main): New function.
6412 2015-12-29  Rob Wu  <rob@robwu.nl>
6414         [BZ #19369]
6415         * resolv/res_init.c (__res_vinit): Reset defdname before use.
6417 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
6419         [BZ #19270]
6420         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6422 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
6424         [BZ #15421]
6425         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
6427 2015-12-23  Torvald Riegel  <triegel@redhat.com>
6429         [BZ #13690]
6430         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
6431         after releasing it.
6432         (__lll_robust_unlock): Likewise.
6433         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6434         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
6435         (lll_robust_unlock): Likewise.
6436         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
6437         Prevent warnings in callers.
6439 2015-12-23  Florian Weimer  <fweimer@redhat.com>
6441         * malloc/arena.c (list_lock): Update comment.
6443 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6445         * sysdeps/powerpc/hwcapinfo.c: Export symbol
6446         __parse_hwcap_and_convert_at_platform to libc.a.
6448 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6450         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
6451         platform and feature support for POWER9.
6452         * sysdeps/powerpc/dl-procinfo.h: Likewise.
6453         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
6454         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
6455         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
6456         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
6457         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
6458         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
6459         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
6461 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6463         Harmonize generic stdio-lock support with nptl
6465         This fixes build when _IO_funlockfile is a macro, fixes build where
6466         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
6467         stack unwind.
6469         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
6470         _IO_release_lock ): Use cleanup attribute on new
6471         _IO_acquire_lock_file variable instead of assuming that
6472         _IO_release_lock will be called.
6473         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
6474         _IO_acquire_lock_needs_exceptions_enabled.
6475         (_IO_acquire_lock_clear_flags2): New macro.
6477 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6479         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6481 2015-12-21  Florian Weimer  <fweimer@redhat.com>
6483         [BZ #19182]
6484         * malloc/arena.c (list_lock): Document lock ordering requirements.
6485         (free_list_lock): New lock.
6486         (ptmalloc_lock_all): Comment on free_list_lock.
6487         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
6488         (detach_arena): Update comment.  free_list_lock is now needed.
6489         (_int_new_arena): Use free_list_lock around detach_arena call.
6490         Acquire arena lock after list_lock.  Add comment, including FIXME
6491         about incorrect synchronization.
6492         (get_free_list): Switch to free_list_lock.
6493         (reused_arena): Acquire free_list_lock around detach_arena call
6494         and attached threads counter update.  Add two FIXMEs about
6495         incorrect synchronization.
6496         (arena_thread_freeres): Switch to free_list_lock.
6497         * malloc/malloc.c (struct malloc_state): Update comments to
6498         mention free_list_lock.
6500 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
6502         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
6503         Remove functions.
6504         (sloww, sloww1): Accept argument to offset quadrant.
6505         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
6506         quadrant.
6507         (__sin, __cos): Consolidate common code into new functions.
6508         (reduce_sincos_1, do_sincos_1): New functions.
6509         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6511         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
6512         code to new functions.
6513         (reduce_sincos_2, do_sincos_2): New functions.
6514         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6516         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
6517         common code for sincos.
6518         (__cos) [!IN_SINCOS]: Likewise.
6519         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
6520         New function.
6521         (__sincos): Use it.
6523 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
6525         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
6526         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
6527         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6529 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6531         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
6532         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
6533         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6534         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
6535         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6536         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
6537         index_Prefer_No_VZEROUPPER): New feature.
6538         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
6539         Prefer_No_VZEROUPPER for Knights Landing.
6541 015-12-18  Torvald Riegel  <triegel@redhat.com>
6543         * math/atest-exp2.c (mp_exp_m1): Remove.
6545 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6547         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
6548         syscalls.
6549         (__SYSCALL0): New macro.
6550         (__SYSCALL1): Likewise.
6551         (__SYSCALL2): Likewise.
6552         (__SYSCALL3): Likewise.
6553         (__SYSCALL4): Likewise.
6554         (__SYSCALL5): Likewise.
6555         (__SYSCALL6): Likewise.
6556         (__SYSCALL_CONCAT_X): Likewise.
6557         (__SYSCALL_CONCAT): Likewise.
6558         (__SYSCALL_DIST): Likewise.
6559         (__SYSCALL_CALL): Likewise.
6561 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
6563         [BZ #19363]
6564         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
6566 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6568         [BZ #19375]
6569         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
6570         negative subnormals.
6572 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
6574         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6575         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
6576         (INTERNAL_SYSCALL_NCS): Use it.
6577         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6579 2015-12-16  Florian Weimer  <fweimer@redhat.com>
6581         [BZ #19243]
6582         * malloc/arena.c (get_free_list): Remove assert and adjust
6583         reference count handling.  Add comment about reused_arena
6584         interaction.
6585         (reused_arena): Add comments abount get_free_list interaction.
6586         * malloc/tst-malloc-thread-exit.c: New file.
6587         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
6588         (tst-malloc-thread-exit): Link against libpthread.
6590 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6592         [BZ #19367]
6593         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
6594         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
6595         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6596         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
6597         (index_Prefer_MAP_32BIT_EXEC): Likewise.
6599 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6601         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
6602         Silvermont optimizations for Knights Landing.
6604 2015-12-15  Andreas Schwab  <schwab@suse.de>
6606         [BZ #17197]
6607         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
6608         immediately after emitting SI.
6609         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
6610         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
6611         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
6612         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
6613         * iconvdata/bug-iconv10.c: New file.
6614         * iconvdata/Makefile (tests): Add bug-iconv10.
6615         ($(objpfx)bug-iconv10.out): New rule.
6617 2015-12-15  Florian Weimer  <fweimer@redhat.com>
6619         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
6620         aliasing violation.
6622 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
6624         [BZ #18472]
6625         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
6626         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
6627         conditionals for them.
6628         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
6629         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
6630         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
6631         sys/kdaemon.h.
6632         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
6633         compat-only syscall, obsoleted in glibc 2.23.
6634         (create_module): Likewise.
6635         (get_kernel_syms): Likewise.
6636         (query_module): Likewise.
6637         (uselib): Likewise.
6638         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
6640 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
6642         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
6643         <linux/version.h>.
6644         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
6645         conditional code.
6646         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
6647         and ioshift_name initialization.
6649 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6651         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6652         Fix indentation.
6654 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6656         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
6658 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6660         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
6662 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
6663             Jakub Wilk  <jwilk@debian.org>
6665         [BZ #19347]
6666         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
6667         to change the group of the device to the tty group.
6669 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
6671         Split large string section; add truncation advice
6672         * manual/examples/strncat.c: Remove.
6673         This example was misleading, as the code would have undefined
6674         behavior if "hello" was longer than SIZE.  Anyway, the manual
6675         shouldn't encourage strncpy+strncat for this sort of thing.
6676         * manual/string.texi (Copying Strings and Arrays): Split into
6677         three sections Copying Strings and Arrays, Concatenating Strings,
6678         and Truncating Strings, as this section was way too long.  All
6679         cross-referenced changed.  Add advice about string-truncation
6680         functions.  Remove misleading strncat example.
6682 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
6684         * manual/nss.texi (NSS Modules Interface): Document
6685         NSS_STATUS_NOTFOUND and SUCCESS.
6687 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
6689         [BZ 18568]
6690         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6691         201505L, for Unicode 8.
6693 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
6695         * locale/C-translit.h: Regenerate.
6697 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
6699         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
6700         and U+0153.
6702 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
6704         [BZ #19351]
6705         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
6706         expanding log(1+z), compare z rather than its square with epsilon
6707         to determine when to avoid evaluating the expansion.
6709         [BZ #19350]
6710         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
6711         Increase overflow threshold.
6713         [BZ #19349]
6714         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
6715         when small.
6717         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6718         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6719         New macro.
6720         [__LINUX_KERNEL_VERSION >= 0x040300]
6721         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6722         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6723         Likewise.
6724         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6725         Likewise.
6726         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6727         Likewise.
6728         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6729         Likewise.
6730         [__LINUX_KERNEL_VERSION >= 0x040300]
6731         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6732         [__LINUX_KERNEL_VERSION >= 0x040300]
6733         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6734         [__LINUX_KERNEL_VERSION >= 0x040300]
6735         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6736         [__LINUX_KERNEL_VERSION >= 0x040300]
6737         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6738         [__LINUX_KERNEL_VERSION >= 0x040300]
6739         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6740         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6741         Likewise.
6742         [__LINUX_KERNEL_VERSION >= 0x040300]
6743         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6744         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6745         Likewise.
6746         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6747         Likewise.
6748         [__LINUX_KERNEL_VERSION >= 0x040300]
6749         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6750         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6751         Likewise.
6752         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6753         Likewise.
6754         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6755         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
6756         Likewise.
6757         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
6758         Likewise.
6759         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6760         Likewise.
6761         [__LINUX_KERNEL_VERSION >= 0x040300]
6762         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6763         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6764         Likewise.
6765         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6766         Likewise.
6767         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6768         Likewise.
6769         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6770         Likewise.
6771         [__LINUX_KERNEL_VERSION >= 0x040300]
6772         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6773         [__LINUX_KERNEL_VERSION >= 0x040300]
6774         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6775         [__LINUX_KERNEL_VERSION >= 0x040300]
6776         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6777         [__LINUX_KERNEL_VERSION >= 0x040300]
6778         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6779         [__LINUX_KERNEL_VERSION >= 0x040300]
6780         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6781         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6782         Likewise.
6783         [__LINUX_KERNEL_VERSION >= 0x040300]
6784         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6785         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6786         Likewise.
6787         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6788         Likewise.
6789         [__LINUX_KERNEL_VERSION >= 0x040300]
6790         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6791         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6792         Likewise.
6793         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6794         Likewise.
6795         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6796         (__ASSUME_SOCKET_SYSCALL): Likewise.
6797         (__ASSUME_BIND_SYSCALL): Likewise.
6798         (__ASSUME_CONNECT_SYSCALL): Likewise.
6799         (__ASSUME_LISTEN_SYSCALL): Likewise.
6800         (__ASSUME_ACCEPT_SYSCALL): Likewise.
6801         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6802         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6803         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6804         (__ASSUME_SEND_SYSCALL): Likewise.
6805         (__ASSUME_SENDTO_SYSCALL): Likewise.
6806         (__ASSUME_RECV_SYSCALL): Likewise.
6807         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6808         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
6809         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6810         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6811         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6812         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6813         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6814         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
6815         Likewise.
6816         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
6817         Likewise.
6818         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
6819         Likewise.
6820         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
6821         Likewise.
6822         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
6823         Likewise.
6824         [__LINUX_KERNEL_VERSION >= 0x020625]
6825         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6826         [__LINUX_KERNEL_VERSION >= 0x020625]
6827         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6828         [__LINUX_KERNEL_VERSION >= 0x020625]
6829         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6830         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
6831         Likewise.
6832         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
6833         Likewise.
6834         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
6835         Likewise.
6836         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
6837         Likewise.
6838         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
6839         Likewise.
6840         [__LINUX_KERNEL_VERSION >= 0x020625]
6841         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6842         [__LINUX_KERNEL_VERSION >= 0x020625]
6843         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6844         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
6845         Likewise.
6846         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
6847         Likewise.
6849 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
6851         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
6852         record the current if the current ABI and CPU support the FP64
6853         extension.
6854         (has-modd-spreg): Define to record the current if the current ABI and
6855         CPU support 32-bit floating point values in odd FPU registers.
6856         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6857         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
6858         $(has-modd-spreg) equals yes.
6859         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
6860         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
6861         $(has-modd-spreg) equal yes.
6863 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
6865         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
6866         basename.
6868 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
6870         * benchtests/Makefile (bench-math): Move ffs and ffsll...
6871         (bench-string): ... here.
6872         (bench): Add bench-string.
6873         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
6874         to *-benchset to reflect what they are.
6875         (benchset): Adjust.
6877         * benchtests/sincos-inputs: Add inputs from sin-inputs and
6878         cos-inputs.
6880 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
6882         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
6883         __attribute__ ((__simd__)) for vector math function declarations.
6885 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6887         Fix typo in strncat, wcsncat manual entries
6888         * manual/string.texi (Copying and Concatenation): Fix typos in
6889         sample implementations of strncat and wcsncat, by having them use
6890         the old value of the destination length, not the new one.
6892 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
6894         [BZ #16961]
6895         [BZ #16962]
6896         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
6897         string on the stack for strtod.
6898         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
6899         a string on the stack for strtof.
6900         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
6901         constructing a string on the stack for strtold.
6902         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
6903         __strtold_nan to GLIBC_PRIVATE.
6904         * math/test-nan-overflow.c: New file.
6905         * math/test-nan-payload.c: Likewise.
6906         * math/Makefile (tests): Add test-nan-overflow and
6907         test-nan-payload.
6909 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6911         Consistency about byte vs character in string.texi
6912         * manual/string.texi (String and Array Utilities):
6913         Distinguish more carefully among bytes, multibyte characters,
6914         and wide characters.  Use "byte" when talking about C 'char',
6915         to distinguish it more clearly from multibyte characters.
6916         Say "wide character" or "multibyte character" instead of
6917         "character", when a wide or multibyte character is intended.
6918         Similarly for "multibyte string" versus "string".
6919         Define these terms more carefully.
6921 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
6923         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
6924         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
6925         Likewise.
6926         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6927         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6928         * sysdeps/sh/math_private.h: New file.
6929         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
6930         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
6931         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
6932         long double function name.
6933         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6934         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6935         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6936         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6937         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6938         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
6939         Remove __finitel, __isinfl, and __isnanl.
6940         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6941         Likewise.
6942         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6944         Remove __finitel.
6945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6946         Likewise.
6947         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6949 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
6951         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
6952         installed libmvec_nonshared.a.
6954 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6956         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
6957         (sysdep_routines): Likewise.
6958         (sysdep-rtld-routines): Likewise.
6959         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
6960         [$(subdir) = nptl](tests-static): test-get_hwcap-static
6961         * sysdeps/powerpc/Versions: Added new
6962         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
6963         * sysdeps/powerpc/hwcapinfo.c: New file.
6964         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
6965         and parse hwcap, hwcap2 and platform number information.
6966         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
6967         to store HWCAP+HWCAP2 and platform number.
6968         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
6969         for HWCAP+HWCAP2 and platform number in the TCB.
6970         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
6971         the HWCAP, HWCAP2 and platform number in the TCB.
6972         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
6973         (TLS_INIT_TP): Included calls to add the hwcap and
6974         at_platform values in the TCB in TP initialization.
6975         (TLS_DEFINE_INIT_TP): Likewise.
6976         (THREAD_GET_HWCAP): New macro.
6977         (THREAD_SET_HWCAP): Likewise.
6978         (THREAD_GET_AT_PLATFORM): Likewise.
6979         (THREAD_SET_AT_PLATFORM): Likewise.
6980         * sysdeps/powerpc/powerpc32/dl-machine.h:
6981         (dl_platform_init): New function that calls
6982         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
6983         powerpc32.
6984         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
6985         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
6986         this functionality, static linking case.
6987         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
6988         linking case.
6989         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
6990         __parse_hwcap_and_convert_at_platform for the static linking case.
6991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
6992         Included the new __parse_hwcap_and_convert_at_platform symbol in the
6993         ABI list for GLIBC 2.23.
6994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
6995         Likewise.
6996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
6997         Likewise.
6999 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
7001         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
7002         * configure: Regenerate.
7003         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
7004         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
7006 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
7008         * iconvdata/ibm930.c: Add comment explaining encoding uses.
7009         * iconvdata/ibm933.c: Likewise.
7010         * iconvdata/ibm935.c: Likewise.
7011         * iconvdata/ibm937.c: Likewise.
7012         * iconvdata/ibm939.c: Likewise.
7014 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7016         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
7017         pthread_join.
7018         * nptl/tst-cancel21.c (tf): Likewise.
7020 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
7022         [BZ #19313]
7023         * bits/typesizes.h (__CPU_MASK_TYPE): New.
7024         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7025         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7026         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
7027         Likewise.
7028         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
7029         Likewise.
7030         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
7031         Likewise.
7032         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
7033         Likewise.
7034         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
7035         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
7036         unsigned long int with __CPU_MASK_TYPE.
7038 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7040         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7042 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
7044         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
7045         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
7046         t512.x.
7047         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
7049 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
7051         [BZ #19214]
7052         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
7053         argument to return extended model.  Update family and model
7054         with extended family and model when family == 0x0f.
7055         (init_cpu_features): Updated.
7057 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7059         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
7060         signed off_t, so 32bit bigger than 2GiB values are fine actually.
7062         * sysdeps/mach/hurd/mmap64.c: New file.
7064 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
7066         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
7067         rights for its main user thread in NEWTASK.
7069 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
7071         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
7072         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
7074 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
7076         [BZ #14259]
7077         * Makeconfig: Rename localedir to complocaledir.
7078         Rename inst_localedir to inst_complocaledir.
7079         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
7080         * config.make.in: Use complocaledir and libc_cv_complocaledir.
7081         * configure.ac: Use libc_cv_complocaledir.
7082         * configure: Regenerate.
7083         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
7084         -DCOMPLOCALEDIR.
7085         * locale/findlocale.c: Use COMPLOCALEDIR.
7086         * locale/loadarchive.c: Likewise.
7087         * locale/programs/locale.c: Likewise.
7088         * locale/programs/localedef.c: Likewise.
7089         * locale/programs/locarchive.c: Likewise.
7090         * localedata/Makefile: Use inst_complocaledir.
7091         * sysdeps/gnu/configure: Regenerate.
7092         * sysdeps/hppa/configure: Regenerate.
7093         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
7094         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7096         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
7097         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
7098         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
7099         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
7101 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
7103         [BZ #19058]
7104         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
7105         AS_NEEDED.
7106         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
7107         workaround.
7108         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
7109         libmvec-static-only-routines): Added new file.
7110         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
7112 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7114         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
7115         of interrupted RPC instead of restoring it.
7117         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
7118         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
7119         libc_hidden_def.
7120         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
7121         into initialized data instead of common. Define rtld_hidden_data_def.
7122         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
7123         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
7124         libc_hidden_def.
7125         (if_freenameindex): Add libc_hidden_weak.
7126         (if_nameindex): Add libc_hidden_weak.
7127         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
7128         __open64.
7129         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
7130         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
7131         * sysdeps/mach/nanosleep.c: Include <time.h>
7132         (__nanosleep): Rename to __libc_nanosleep.
7133         (__nanosleep): Add weak_alias.
7134         (nanosleep): Update alias.
7136 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
7138         * stdlib/strtod_nan.c: New file.
7139         * stdlib/strtod_nan_double.h: Likewise.
7140         * stdlib/strtod_nan_float.h: Likewise.
7141         * stdlib/strtod_nan_main.c: Likewise.
7142         * stdlib/strtod_nan_narrow.h: Likewise.
7143         * stdlib/strtod_nan_wide.h: Likewise.
7144         * stdlib/strtof_nan.c: Likewise.
7145         * stdlib/strtold_nan.c: Likewise.
7146         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
7147         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
7148         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
7149         * wcsmbs/wcstod_nan.c: Likewise.
7150         * wcsmbs/wcstof_nan.c: Likewise.
7151         * wcsmbs/wcstold_nan.c: Likewise.
7152         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
7153         strtold_nan.
7154         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
7155         wcstof_nan.
7156         * include/stdlib.h (__strtof_nan): Declare and use
7157         libc_hidden_proto.
7158         (__strtod_nan): Likewise.
7159         (__strtold_nan): Likewise.
7160         (__wcstof_nan): Likewise.
7161         (__wcstod_nan): Likewise.
7162         (__wcstold_nan): Likewise.
7163         * include/wchar.h (____wcstoull_l_internal): Declare.
7164         * stdlib/strtod_l.c: Do not include <ieee754.h>.
7165         (____strtoull_l_internal): Remove declaration.
7166         (STRTOF_NAN): Define macro.
7167         (SET_MANTISSA): Remove macro.
7168         (STRTOULL): Likewise.
7169         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
7170         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
7171         (STRTOF_NAN): Define macro.
7172         (SET_MANTISSA): Remove macro.
7173         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
7174         (SET_MANTISSA): Remove macro.
7175         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
7176         macro.
7177         (SET_MANTISSA): Remove macro.
7178         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
7179         macro.
7180         (SET_MANTISSA): Remove macro.
7181         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
7182         (SET_MANTISSA): Remove macro.
7183         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
7184         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
7185         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
7187         [BZ #19266]
7188         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
7189         upper case and lower case letters inside NAN(), not using TOLOWER.
7190         * stdlib/tst-strtod-nan-locale-main.c: New file.
7191         * stdlib/tst-strtod-nan-locale.c: Likewise.
7192         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
7193         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
7194         Depend on $(gen-locales).
7195         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
7196         * wcsmbs/tst-wcstod-nan-locale.c: New file.
7197         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
7198         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
7199         Depend on $(gen-locales).
7200         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
7202 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
7204         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
7206         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
7207         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
7208         __finitel, __isinfl, and __isnanl.
7209         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7210         Likewise.
7211         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
7213         __finitel.
7214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7215         Likewise.
7216         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7218 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
7220         * malloc/memusage.c (me): Remove redundant getenv call.
7222 2015-10-24  Florian Weimer  <fweimer@redhat.com>
7224         [BZ #19143]
7225         [BZ #19164]
7226         * nptl/check-cpuset.h: Remove.
7227         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
7228         Remove CPU set size check.
7229         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
7230         Likewise.
7231         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
7232         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7233         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
7234         (__pthread_setaffinity_new): Remove CPU set size check.
7235         * sysdeps/unix/sysv/linux/sched_setaffinity.c
7236         (__kernel_cpumask_size): Remove.
7237         (__sched_setaffinity_new): Remove CPU set size check.
7238         * manual/threads.texi (Default Thread Attributes): Remove stale
7239         reference to check_cpuset_attr, determine_cpumask_size in comment.
7240         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
7241         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
7242         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
7243         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
7244         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
7245         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
7246         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
7247         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
7248         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
7249         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
7250         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
7251         skeleton test file.
7252         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
7253         tst-affinity-pid.
7255 2015-11-24  Florian Weimer  <fweimer@redhat.com>
7257         * scripts/update-abilist.sh: New file.
7258         * Makefile (+subdir_targets): Add subdir_update-all-abi.
7259         * Makerules (update-all-abi-%, update-all-abi)
7260         (subdir_update-all-abi): New targets.
7261         * elf/Makefile (update-all-abi): New target.
7263 2015-11-24  Florian Weimer  <fweimer@redhat.com>
7265         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
7266         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
7267         (__libc_lock_define_initialized): Use it.
7268         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
7269         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
7270         * malloc/malloc.c (main_arena): Likewise.
7271         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7272         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7274 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
7276         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
7277         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
7278         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7279         (PTRACE_O_MASK): Update value.
7280         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
7281         New value in enum __ptrace_setoptions.
7282         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7283         (PTRACE_O_MASK): Update value.
7284         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
7285         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7286         (PTRACE_O_MASK): Update value.
7287         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
7288         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7289         (PTRACE_O_MASK): Update value.
7290         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
7291         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7292         (PTRACE_O_MASK): Update value.
7293         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
7294         New value in enum __ptrace_setoptions.
7295         (PTRACE_O_MASK): Update value.
7296         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
7297         New value in enum __ptrace_setoptions.
7298         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7299         (PTRACE_O_MASK): Update value.
7301         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
7302         New macro.
7303         (PACKET_AUXDATA): Likewise.
7304         (PACKET_ORIGDEV): Likewise.
7305         (PACKET_VERSION): Likewise.
7306         (PACKET_HDRLEN): Likewise.
7307         (PACKET_RESERVE): Likewise.
7308         (PACKET_TX_RING): Likewise.
7309         (PACKET_LOSS): Likewise.
7310         (PACKET_VNET_HDR): Likewise.
7311         (PACKET_TX_TIMESTAMP): Likewise.
7312         (PACKET_TIMESTAMP): Likewise.
7313         (PACKET_FANOUT): Likewise.
7314         (PACKET_TX_HAS_OFF): Likewise.
7315         (PACKET_QDISC_BYPASS): Likewise.
7316         (PACKET_ROLLOVER_STATS): Likewise.
7317         (PACKET_FANOUT_DATA): Likewise.
7318         (PACKET_MR_UNICAST): Likewise.
7320         [BZ #19242]
7321         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
7322         (TOUPPER): Likewise.
7323         * stdlib/tst-strtol-locale-main.c: New file.
7324         * stdlib/tst-strtol-locale.c: Likewise.
7325         * stdlib/Makefile (tests): Add tst-strtol-locale.
7326         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
7327         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
7328         Depend on $(gen-locales).
7329         * wcsmbs/tst-wcstol-locale.c: New file.
7330         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
7331         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
7332         tr_TR.ISO-8859-9.
7333         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
7334         Depend on $(gen-locales).
7336 2015-11-20  Roland McGrath  <roland@hack.frob.com>
7338         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
7339         __glibc_likely instead of __builtin_expect.  After falling back to
7340         dyncode_create in a non-ET_DYN case, use the allocate_code_data
7341         system interface to register the code pages as occupied.
7343 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
7345         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7346         [!ARM_MATH_PRIVATE_H].
7347         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
7348         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7349         [!HPPA_MATH_PRIVATE_H].
7350         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
7351         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
7352         to [!I386_MATH_PRIVATE_H].
7353         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
7354         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
7355         Change guard to [!M68K_MATH_PRIVATE_H].
7356         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
7357         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
7358         guard to [!MICROBLAZE_MATH_PRIVATE_H].
7359         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
7360         macro.
7361         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7362         [!MIPS_MATH_PRIVATE_H].
7363         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
7364         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7365         [!NIO2_MATH_PRIVATE_H].
7366         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
7367         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7368         [!TILE_MATH_PRIVATE_H].
7369         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
7371         [BZ #15421]
7372         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
7373         initialize with 0 and define as weak alias of __signgam.
7374         * include/math.h [!_ISOMAC] (__signgam): Declare.
7375         * math/Makefile (libm-calls): Add w_lgamma_compat.
7376         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
7377         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
7378         test-signgam-ullong-init.
7379         (tests-static): Add test-signgam-uchar-static,
7380         test-signgam-uchar-init-static, test-signgam-uint-static,
7381         test-signgam-uint-init-static, test-signgam-ullong-static and
7382         test-signgam-ullong-init-static.
7383         (CFLAGS-test-signgam-uchar.c): New variable.
7384         (CFLAGS-test-signgam-uchar-init.c): Likewise.
7385         (CFLAGS-test-signgam-uchar-static.c): Likewise.
7386         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
7387         (CFLAGS-test-signgam-uint.c): Likewise.
7388         (CFLAGS-test-signgam-uint-init.c): Likewise.
7389         (CFLAGS-test-signgam-uint-static.c): Likewise.
7390         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
7391         (CFLAGS-test-signgam-ullong.c): Likewise.
7392         (CFLAGS-test-signgam-ullong-init.c): Likewise.
7393         (CFLAGS-test-signgam-ullong-static.c): Likewise.
7394         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
7395         * math/Versions (libm): Add GLIBC_2.23.
7396         * math/lgamma-compat.h: New file.
7397         * math/test-signgam-main.c: Likewise.
7398         * math/test-signgam-uchar-init-static.c: Likewise.
7399         * math/test-signgam-uchar-init.c: Likewise.
7400         * math/test-signgam-uchar-static.c: Likewise.
7401         * math/test-signgam-uchar.c: Likewise.
7402         * math/test-signgam-uint-init-static.c: Likewise.
7403         * math/test-signgam-uint-init.c: Likewise.
7404         * math/test-signgam-uint-static.c: Likewise.
7405         * math/test-signgam-uint.c: Likewise.
7406         * math/test-signgam-ullong-init-static.c: Likewise.
7407         * math/test-signgam-ullong-init.c: Likewise.
7408         * math/test-signgam-ullong-static.c: Likewise.
7409         * math/test-signgam-ullong.c: Likewise.
7410         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
7411         wrapper of w_lgamma_main.c.
7412         * math/w_lgamma_compat.c: New file.
7413         * math/w_lgamma_compatf.c: Likewise.
7414         * math/w_lgamma_compatl.c: Likewise.
7415         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
7416         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7417         defining compatibility symbols.
7418         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
7419         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
7420         wrapper of w_lgammaf_main.c.
7421         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
7422         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7423         defining compatibility symbols.
7424         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
7425         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
7426         wrapper of w_lgammal_main.c.
7427         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
7428         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7429         defining compatibility symbols.
7430         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
7431         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
7432         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
7433         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
7434         <lgamma-compat.h>.
7435         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
7436         (__ieee754_gamma): Define as alias.
7437         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
7438         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
7439         <lgamma-compat.h>.
7440         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
7441         (__ieee754_gammaf): Define as alias.
7442         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
7443         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
7444         <lgamma-compat.h>.
7445         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
7446         (__ieee754_gammal): Define as alias.
7447         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
7448         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
7449         <math/w_lgamma_compat.c>.
7450         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
7451         Define as alias of __lgamma_compat and use in defining lgammal.
7452         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
7453         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
7454         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
7455         (USE_AS_COMPAT): New macro.
7456         (LGAMMA_OLD_VER): Undefine and redefine.
7457         (lgammal): Do not define here.
7458         (gammal): Only define here if [GAMMA_ALIAS].
7459         * conform/linknamespace.pl (@whitelist): Remove signgam.
7460         * sysdeps/nacl/libm.abilist: Update.
7461         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7462         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7463         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7464         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7465         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7466         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7467         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7468         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7469         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7470         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7471         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7472         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7474         Likewise.
7475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7476         Likewise.
7477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7478         Likewise.
7479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7480         Likewise.
7481         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7482         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7483         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7484         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7485         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7487         Likewise.
7488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7489         Likewise.
7490         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7491         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7492         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7494 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7496         [BZ #16364]
7497         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
7498         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
7500 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7502         * sysdeps/s390/fpu/bits/mathinline.h:
7503         Use __asm__ [__volatile__] instead of asm [volatile].
7504         * sysdeps/s390/abort-instr.h: Likewise.
7505         * sysdeps/s390/atomic-machine.h: Likewise.
7506         * sysdeps/s390/bits/string.h: Likewise.
7507         * sysdeps/s390/dl-tls.h: Likewise.
7508         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7509         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7510         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7511         * sysdeps/s390/fpu/fesetround.c: Likewise.
7512         * sysdeps/s390/fpu/fpu_control.h: Likewise.
7513         * sysdeps/s390/fpu/s_fma.c: Likewise.
7514         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
7515         * sysdeps/s390/memusage.h: Likewise.
7516         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
7517         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
7518         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
7519         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
7520         * sysdeps/s390/nptl/tls.h: Likewise.
7521         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
7522         * sysdeps/s390/s390-32/backtrace.c: Likewise.
7523         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7524         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
7525         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7526         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7527         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
7528         * sysdeps/s390/s390-64/backtrace.c: Likewise.
7529         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7530         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
7531         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
7532         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7533         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7534         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
7535         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7536         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7537         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
7538         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7539         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
7540         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7541         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
7542         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7543         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
7545 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7546             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7548         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7549         Add lwarx hint, and use macro for acquire instruction.
7550         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7551         Likewise.
7552         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
7553         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
7554         update to use new atomic macros.
7556 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7558         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7559         (__lll_trylock_elision): Fix setting of adapt_count.
7560         * sysdeps/unix/sysv/linux/powerpc/htm.h
7561         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
7562         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
7563         (_ABORT_SYSCALL): Renumber, and clarify definition.
7564         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
7566 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7568         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
7569         after system headers to prevent MIN/MAX redefinition.  Define
7570         HAVE_ALLOCA to preserve builtin alloca usage.
7572 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
7574         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
7575         static and don't set or restore rounding.
7576         (__cos)[IN_SINCOS]: Likewise.
7577         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
7578         (__sincos): Set and restore rounding mode.  Remove check for infinite
7579         or NaN input.
7581         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
7583         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
7584         as used.
7586 2015-11-16  Florian Weimer  <fweimer@redhat.com>
7588         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
7590 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
7592         * config.make.in (have-glob-dat-reloc): New.
7593         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
7594         target supports GLOB_DAT relocaton. AC_SUBST.
7595         * configure: Regenerated.
7596         * elf/Makefile (tests): Add tst-prelink.
7597         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7598         (tst-prelink-ENV): New.
7599         ($(objpfx)tst-prelink-conflict.out): Likewise.
7600         ($(objpfx)tst-prelink-cmp.out): Likewise.
7601         * sysdeps/x86/tst-prelink.c: Moved to ...
7602         * elf/tst-prelink.c: Here.
7603         * sysdeps/x86/tst-prelink.exp: Moved to ...
7604         * elf/tst-prelink.exp: Here.
7605         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
7606         (tst-prelink-ENV): Removed.
7607         ($(objpfx)tst-prelink-conflict.out): Likewise.
7608         ($(objpfx)tst-prelink-cmp.out): Likewise.
7609         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
7611 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
7613         [BZ #14551]
7614         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
7615         (__mpn_construct_long_double): If high part overflows to infinity,
7616         set errno and recompute overflowed result of the correct sign.
7617         * sysdeps/ieee754/ldbl-128ibm/Makefile
7618         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
7619         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
7620         $(libm).
7621         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
7623 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
7625         [BZ #15479]
7626         [BZ #19238]
7627         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
7628         floating-point state after first operation on input.  Restore full
7629         state rather than just rounding mode.
7630         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7631         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7632         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7634         [BZ #19235]
7635         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
7636         add 0.5 to integer arguments.
7637         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
7638         Likewise.
7639         (.LC2): New object.
7641 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
7643         * scripts/pylintrc (reports): Set to no.
7645 2015-11-10  Roland McGrath  <roland@hack.frob.com>
7647         * elf/dl-load.c (open_verify): Take new argument FD.
7648         Skip __open call if passed FD is not -1.
7649         (_dl_map_object, open_path): Update callers.
7650         * elf/dl-sysdep-open.h: New file.
7651         * elf/dl-load.c: Include it.
7652         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
7653         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
7654         * sysdeps/nacl/dl-sysdep-open.h: New file.
7655         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
7656         from libc to rtld.
7658 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
7660         [BZ #19228]
7661         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
7662         and restore full floating-point state.
7663         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7664         Likewise.
7665         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7666         Likewise.
7667         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7668         Likewise.
7669         * math/test-nearbyint-except-2.c: New file.
7670         * math/Makefile (tests): Add test-nearbyint-except-2.
7672 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
7674         [BZ #19178]
7675         * sysdeps/x86/Makefile (tests): Add tst-prelink.
7676         (tst-prelink-ENV): New.
7677         ($(objpfx)tst-prelink-conflict.out): Likewise.
7678         ($(objpfx)tst-prelink-cmp.out): Likewise.
7679         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7680         * sysdeps/x86/tst-prelink.c: New file.
7681         * sysdeps/x86/tst-prelink.exp: Likewise.
7683 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
7685         * math/auto-libm-test-in: Add another test of pow.
7686         * math/auto-libm-test-out: Regenerated.
7687         * math/libm-test.inc (pow_test_data): Add another test.
7689 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7691         [BZ #19219]
7692         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
7693         weak_alias to nearbyintl.
7695 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
7697         * sysdeps/aarch64/bits/string.h: New file.
7698         (_STRING_ARCH_unaligned): Define.
7700 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
7702         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
7703         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
7704         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
7705         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
7706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
7708 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
7710         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
7711         for original name of the DSO.  Add it to the name list of the DSO
7712         if it is actually given.
7713         (_dl_map_object): Keep track of whether an audit module rewrote
7714         the file name.  If yes, pass the original name to
7715         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
7716         debugging is enabled, log the change of the file name.
7717         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
7718         _dl_map_object_from_fd.
7719         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
7720         * elf/tst-audit11.c: New file
7721         * elf/tst-auditmod11.c: New file.
7722         * elf/tst-audit11mod1.c: New file.
7723         * elf/tst-audit11mod2.c: New file.
7724         * elf/tst-audit11mod2.map: New file.
7725         * elf/tst-audit12.c: New file
7726         * elf/tst-auditmod12.c: New file.
7727         * elf/tst-audit12mod1.c: New file.
7728         * elf/tst-audit12mod2.c: New file.
7729         * elf/tst-audit12mod2.map: New file.
7730         * elf/tst-audit12mod3.c: New file.
7732 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7734         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
7735         Don't create weak aliases,
7736         because versioned symbols are created later.
7737         * sysdeps/s390/s390-32/setjmp.S
7738         (setjmp, _setjmp): Remove weak and rename to an unique name
7739         in SHARED case due to existing versioned symbols.
7740         * sysdeps/s390/s390-64/setjmp.S: Likewise.
7741         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
7742         (getcontext): Create weak alias only in non SHARED case.
7743         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7745 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7747         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
7748         (__ASSUME_*_SYSCALL) Define new macros.
7749         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
7750         Remove socketcall syscalls.
7751         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
7752         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
7753         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
7754         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
7755         * sysdeps/unix/sysv/linux/send.c (__libc_send):
7756         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
7758 2015-11-09  Florian Weimer  <fweimer@redhat.com>
7760         [BZ #12926]
7761         Terminate process on invalid netlink response.
7762         * sysdeps/unix/sysv/linux/netlinkaccess.h
7763         (__netlink_assert_response): Declare.
7764         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
7765         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
7766         (sysdep_routines): Add netlink_assert_response.
7767         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
7768         __netlink_assert_response.
7769         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
7770         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
7771         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
7772         __netlink_assert_response.
7774 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
7776         [BZ #19178]
7777         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
7778         (RTYPE_CLASS_PLT): Likewise.
7779         (RTYPE_CLASS_COPY): Likewise.
7780         (RTYPE_CLASS_TLS): Likewise.
7781         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
7782         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
7783         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
7784         DL_DEBUG_PRELINK.
7786 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
7788         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
7789         calls with argument -0.5.
7790         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
7792         * configure.ac (libc_cv_z_nodelete): Remove configure test.
7793         (libc_cv_z_nodlopen): Likewise.
7794         (libc_cv_z_initfirst): Likewise.
7795         * configure: Regenerated.
7797 2015-11-06  Florian Weimer  <fweimer@redhat.com>
7799         Simplify abilist format to be line-based.
7800         * scripts/abilist.awk: Collect descriptors in the descs variable.
7801         (emit): Write descs variable and sort it
7802         externally, with sort.
7803         * sysdeps/**/*.abilist: Convert to new format.
7805 2015-11-06  Mark Wielaard  <mjw@redhat.com>
7807         [BZ #11460]
7808         * io/Makefile (routines): Add fts64.
7809         (tests): Add tst-fts and tst-fts-lfs.
7810         (CFLAGS-fts64.c): New.
7811         * io/Versions (GLIBC_2.23): New.
7812         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
7813         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
7814         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
7815         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
7816         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
7817         (FTSENT64): Likewise.
7818         (fts64_children): Likewise.
7819         (fts64_close): Likewise.
7820         (fts64_open): Likewise.
7821         (fts64_read): Likewise.
7822         (fts64_set): Likewise.
7823         * io/fts64.c: New file.
7824         * io/tst-fts.c: New test.
7825         * io/tst-fts-lfs.c: Likewise.
7826         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
7827         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
7828         fts64_set.
7829         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7830         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7831         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7832         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7833         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7834         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7835         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7836         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7837         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7838         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7839         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7840         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7841         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7843         Likewise.
7844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7845         Likewise.
7846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7848         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7849         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7850         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7851         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7852         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7855         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7856         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7857         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7858         * sysdeps/wordsize-64/fts.c: New file.
7859         * sysdeps/wordsize-64/fts64.c: Likewise.
7860         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
7861         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
7862         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
7863         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
7865 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
7867         * math/libm-test.inc (NON_FINITE): New macro.
7868         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
7869         * math/gen-libm-test.pl (show_exceptions): Add argument
7870         $non_finite.
7871         (parse_args): Update call to show_exceptions.
7872         * math/test-math-finite.h: New file.
7873         * math/test-math-no-finite.h: Likewise.
7874         * math/test-double-finite.c: Likewise.
7875         * math/test-float-finite.c: Likewise.
7876         * math/test-ldouble-finite.c: Likewise.
7877         * math/test-double.c: Include "test-math-no-finite.h".
7878         * math/test-float.c: Include "test-math-no-finite.h".
7879         * math/test-ldouble.c: Include "test-math-no-finite.h".
7880         * math/test-math-inline.h (TEST_FINITE): New macro.
7881         * math/test-math-vector.h (TEST_FINITE): Likewise.
7882         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
7883         (libm-tests): Add test-float-finite and test-double-finite.
7884         ($(objpfx)test-float-finite.o): New dependency on
7885         $(objpfx)libm-test.stmp.
7886         ($(objpfx)test-double-finite.o): Likewise.
7887         ($(objpfx)test-ldouble-finite.o): Likewise.
7888         (libm-test-no-inline-cflags): New variable.
7889         (libm-test-finite-cflags): Likewise.
7890         (CFLAGS-test-float-finite.c): Likewise.
7891         (CFLAGS-test-double-finite.c): Likewise.
7892         (CFLAGS-test-ldouble-finite.c): Likewise.
7893         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
7894         (CFLAGS-test-double.c): Likewise.
7895         (CFLAGS-test-ldouble.c): Likewise.
7897 2015-11-05  Roland McGrath  <roland@hack.frob.com>
7899         * io/fcntl.c (__fcntl): Add ... to prototype.
7900         * misc/ioctl.c (__ioctl): Likewise.
7901         * misc/syscall.c (syscall): Likewise.
7903 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
7905         * scripts/list-fixed-bugs.py: New file.
7907         [BZ #19213]
7908         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
7909         returned for argument 1.
7910         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
7911         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
7912         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
7913         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
7914         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
7915         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
7917         [BZ #19211]
7918         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
7919         __USE_XOPEN], not if [!__USE_ISOC99].
7920         (lgammaf): Likewise.
7921         (lgammal): Likewise.
7922         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
7923         (gammaf): Likewise.
7924         (gammal): Likewise.
7925         * math/test-signgam-finite-c11.c: New file.
7926         * math/test-signgam-finite-c99.c: Likewise.
7927         * math/test-signgam-finite.c: Likewise.
7928         * math/Makefile (tests): Add test-signgam-finite,
7929         test-signgam-finite-c99 and test-signgam-finite-c11.
7930         (CFLAGS-test-signgam-finite.c): New variable.
7931         (CFLAGS-test-signgam-finite-c99.c): Likewise.
7932         (CFLAGS-test-signgam-finite-c11.c): Likewise.
7934         [BZ #19212]
7935         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
7936         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
7937         500].
7938         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
7939         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
7940         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
7941         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
7942         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
7943         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
7944         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
7945         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
7946         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
7947         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
7949         [BZ #19209]
7950         * math/bits/math-finite.h (ldexp): Remove declaration.
7951         (ldexpf): Likewise.
7952         (ldexpl): Likewise.
7954         [BZ #19205]
7955         * math/bits/math-finite.h (acosf): Condition declaration on
7956         [__USE_ISOC99].
7957         (acosl): Likewise.
7958         (acoshf): Likewise.
7959         (acoshl): Likewise.
7960         (asinf): Likewise.
7961         (asinl): Likewise.
7962         (atan2f): Likewise.
7963         (atan2l): Likewise.
7964         (atanhf): Likewise.
7965         (atanhl): Likewise.
7966         (coshf): Likewise.
7967         (coshl): Likewise.
7968         (expf): Likewise.
7969         (expl): Likewise.
7970         (fmodf): Likewise.
7971         (fmodl): Likewise.
7972         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
7973         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
7974         (j0l): Likewise.
7975         (y0f): Likewise.
7976         (y0l): Likewise.
7977         (j1f): Likewise.
7978         (j1l): Likewise.
7979         (y1f): Likewise.
7980         (y1l): Likewise.
7981         (jnf): Likewise.
7982         (jnl): Likewise.
7983         (ynf): Likewise.
7984         (ynl): Likewise.
7985         (lgammaf_r): Condition declaration on [__USE_ISOC99].
7986         (lgammal_r): Likewise.
7987         (__lgamma_r_finite): New declaration.
7988         (__lgammaf_r_finite): Likewise.
7989         (__lgammal_r_finite): Likewise.
7990         (lgamma): Use __lgamma_r_finite.
7991         (lgammaf): Condition definition on [__USE_ISOC99].  Use
7992         __lgammaf_r_finite.
7993         (lgammal): Condition definition on [__USE_ISOC99].  Use
7994         __lgammal_r_finite.
7995         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
7996         __lgamma_r_finite.
7997         (gammaf): Condition definition on [__USE_ISOC99].  Use
7998         __lgammaf_r_finite.
7999         (gammal): Condition definition on [__USE_ISOC99].  Use
8000         __lgammal_r_finite.
8001         (logf): Condition declaration on [__USE_ISOC99].
8002         (logl): Likewise.
8003         (log10f): Likewise.
8004         (log10l): Likewise.
8005         (ldexpf): Likewise.
8006         (ldexpl): Likewise.
8007         (powf): Likewise.
8008         (powl): Likewise.
8009         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
8010         __USE_ISOC99].
8011         (remainderf): Condition declaration on [__USE_ISOC99].
8012         (remainderl): Likewise.
8013         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
8014         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
8015         (scalbl): Likewise.
8016         (sinhf): Condition declaration on [__USE_ISOC99].
8017         (sinhl): Likewise.
8018         (sqrtf): Likewise.
8019         (sqrtl): Likewise.
8021 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
8023         * sysdeps/arm/atomic-machine.h
8024         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8025         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8026         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
8027         Remove conditional code.
8028         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8029         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8030         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
8031         Change conditional to [__ASSEMBLER__].
8032         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8033         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
8034         [!__ASSEMBLER__].
8035         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
8036         code.
8037         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
8038         conditional macro definitions.
8039         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
8040         (__arch_compare_and_exchange_val_16_acq): Likewise.
8041         (__arch_compare_and_exchange_val_32_acq): Likewise.
8042         (atomic_exchange_and_add): Likewise.
8043         (atomic_add): Likewise.
8044         (atomic_add_negative): Likewise.
8045         (atomic_add_zero): Likewise.
8046         (atomic_bit_set): Likewise.
8047         (atomic_bit_test_set): Likewise.
8048         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
8049         code unconditional.
8050         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8052         * math/test-math-errno.h: New file.
8053         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
8054         empty.
8055         (TEST_ERRNO): New macro.
8056         (TEST_EXCEPTIONS): Likewise.
8057         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
8058         (TEST_EXCEPTIONS): Likewise.
8059         * math/test-math-vector.h (TEST_ERRNO): Likewise.
8060         * math/test-double.c: Include "test-math-errno.h".
8061         * math/test-float.c: Likewise.
8062         * math/test-ldouble.c: Likewise.
8063         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
8064         code unconditional.
8065         (test_exceptions): Only run code if TEST_EXCEPTIONS.
8066         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
8067         unconditional.
8068         (test_errno): Only run code if TEST_ERRNO.
8069         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
8071 2015-11-04  Florian Weimer  <fweimer@redhat.com>
8073         * nptl/tst-once5.cc: Remove attribution.
8075 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
8077         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
8078         sqrt, tan, tanh, y0, y1 and yn.
8079         * math/auto-libm-test-out: Regenerated.
8080         * math/libm-test.inc (scalb_test_data): Add more tests.
8081         (scalbn_test_data): Likewise.
8082         (scalbln_test_data): Likewise.
8083         (signbit_test_data): Likewise.
8084         (sin_test_data): Likewise.
8085         (sincos_test_data): Likewise.
8086         (sinh_test_data): Likewise.
8087         (sqrt_test_data): Likewise.
8088         (tan_test_data): Likewise.
8089         (tanh_test_data): Likewise.
8090         (tgamma_test_data): Likewise.
8091         (y0_test_data): Likewise.
8092         (y1_test_data): Likewise.
8093         (yn_test_data): Likewise.
8094         (significand_test_data): Likewise.
8095         * sysdeps/i386/fpu/libm-test-ulps: Update.
8097 2015-11-03  David Kastrup  <dak@gnu.org>
8099         [BZ #18604]
8100         * assert/assert.h (assert): Don't macro-expand failed assertion
8101         expression in error message.
8102         * malloc/malloc.c (assert): Likewise.
8104 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
8106         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
8107         test.
8108         * configure: Regenerated.
8110 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
8112         * math/libm-test.inc (modf_test_data): Add more tests.
8113         (nearbyint_test_data): Likewise.
8114         (nextafter_test_data): Likewise.
8115         (nexttoward_test_data): Likewise.
8116         (pow_test_data): Likewise.
8117         (remainder_test_data): Likewise.
8118         (remquo_test_data): Likewise.
8119         (rint_test_data): Likewise.
8121         [BZ #19201]
8122         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8123         Check for zero remainder in case of large exponents and ensure
8124         correct sign of result in that case.
8125         * math/libm-test.inc (remainder_test_data): Add more tests.
8127         [BZ #6799]
8128         * math/s_nextafter.c: Include <errno.h>.
8129         (__nextafter): Set errno on overflow and underflow.
8130         * math/s_nexttowardf.c: Include <errno.h>.
8131         (__nexttowardf): Set errno on overflow and underflow.
8132         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
8133         (__nextafterl): Set errno on overflow and underflow.
8134         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
8135         (__nexttoward): Set errno on overflow and underflow.
8136         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
8137         (__nexttowardf): Set errno on overflow and underflow.
8138         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
8139         (__nextafterf): Set errno on overflow and underflow.
8140         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
8141         (__nextafterl): Set errno on overflow and underflow.
8142         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
8143         (__nexttoward): Set errno on overflow and underflow.
8144         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
8145         (__nexttowardf): Set errno on overflow and underflow.
8146         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
8147         (__nextafterl): Set errno on overflow and underflow.
8148         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
8149         (__nexttoward): Set errno on overflow and underflow.
8150         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
8151         (__nexttowardf): Set errno on overflow and underflow.
8152         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
8153         (__nexttoward): Set errno on overflow and underflow.
8154         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
8155         (__nexttowardf): Set errno on overflow and underflow.
8156         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
8157         (__nldbl_nexttowardf): Set errno on overflow and underflow.
8158         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
8159         (__nextafterl): Set errno on overflow and underflow.
8160         * math/libm-test.inc (nextafter_test_data): Do not allow errno
8161         setting to be missing on overflow.  Add more tests.
8162         (nexttoward_test_data): Likewise.
8164         * configure.ac (libc_cv_initfini_array): Remove configure test.
8165         * configure: Regenerated.
8167 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
8169         [BZ #19189]
8170         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
8171         non-finite argument handle arguments with negative sign.
8173         * math/libm-test.inc (j0_test_data): Do not test sign of zero
8174         result from infinite argument.
8175         (j1_test_data): Likewise.
8176         (jn_test_data): Likewise.
8177         (y0_test_data): Likewise.
8178         (y1_test_data): Likewise.
8179         (yn_test_data): Likewise.
8181         [BZ #16171]
8182         * math/w_remainder.c (drem): Define as weak alias of __remainder.
8183         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
8184         * math/w_remainderf.c (dremf): Define as weak alias of
8185         __remainderf.
8186         * math/w_remainderl.c (dreml): Define as weak alias of
8187         __remainderl.
8188         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
8189         __remainder.
8190         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
8191         __remainderf.
8192         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
8193         __remainderl.
8194         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
8195         weak alias of remainderl.
8196         * sysdeps/ieee754/ldbl-opt/w_remainder.c
8197         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
8198         alias of __remainder.
8199         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
8200         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
8201         strong alias of __remainderl.
8202         (dreml): Use long_double_symbol.
8203         * math/Makefile (libm-calls): Remove w_drem.
8204         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
8205         (CFLAGS-nldbl-drem.c): Remove variable.
8206         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
8207         * math/w_drem.c: Remove file.
8208         * math/w_dremf.c: Likewise.
8209         * math/w_dreml.c: Likewise.
8210         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
8211         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
8212         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
8214         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
8215         * sysdeps/i386/configure: Regenerated.
8216         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
8217         * sysdeps/x86_64/configure: Regenerated.
8219         * configure.ac (libc_cv_asm_protected_directive): Remove configure
8220         test.
8221         (libc_cv_visibility_attribute): Likewise.
8222         (libc_cv_protected_data): Test unconditionally.
8223         (libc_cv_broken_visibility_attribute): Remove configure test.
8224         (libc_cv_have_sdata_section): Test unconditionally.
8225         * configure: Regenerated.
8227         * include/libc-internal.h (libc_max_align_t): Remove typedef.
8228         * include/scratch_buffer.h: Include <stddef.h> instead of
8229         <libc-internal.h>.
8230         (struct scratch_buffer): Use max_align_t instead of
8231         libc_max_align_t.
8233 2015-10-29  Florian Weimer  <fweimer@redhat.com>
8235         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
8236         instead of extend_alloca.  Change control flow to avoid a goto.
8237         Remove assert which is trivially always true.
8239 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8241         [BZ #16068]
8242         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
8243         (FE_ALL_EXCEPT_X86): New macro.
8244         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8245         FE_ALL_EXCEPT.  Ensure precision control is included in
8246         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8247         handle "denormal operand exception" and clear FZ and DAZ bits.
8248         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
8249         (FE_ALL_EXCEPT_X86): New macro.
8250         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8251         FE_ALL_EXCEPT.  Ensure precision control is included in
8252         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8253         handle "denormal operand exception" and clear FZ and DAZ bits.
8254         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
8255         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
8256         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8257         test-fenv-x87 and test-fenv-sse-2.
8258         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
8260         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
8261         * math/test-double.h (BUILD_COMPLEX): New macro.
8262         * math/test-float.h (BUILD_COMPLEX): Likewise.
8263         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
8265         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
8266         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
8267         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
8268         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
8269         instead of DBL_DENORM_MIN in comment.
8270         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
8271         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8272         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
8273         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
8274         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
8275         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8277 2015-10-28  Florian Weimer  <fweimer@redhat.com>
8279         [BZ# 19048]
8280         * malloc/malloc.c (struct malloc_state): Update comment.  Add
8281         attached_threads member.
8282         (main_arena): Initialize attached_threads.
8283         * malloc/arena.c (list_lock): Update comment.
8284         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
8285         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
8286         (deattach_arena): New function.
8287         (_int_new_arena): Initialize arena reference count and deattach
8288         replaced arena.
8289         (get_free_list, reused_arena): Update reference count and deattach
8290         replaced arena.
8291         (arena_thread_freeres): Update arena reference count and only put
8292         unreferenced arenas on the free list.
8294 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8296         [BZ #19181]
8297         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
8298         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
8299         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
8300         * math/test-fenv-clear-main.c: New file.
8301         * math/test-fenv-clear.c: Likewise.
8302         * math/Makefile (tests): Add test-fenv-clear.
8303         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
8304         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8305         test-fenv-clear-sse.
8306         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
8308         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
8309         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
8310         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
8312 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8314         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
8315         static libc.
8317 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8319         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
8320         test.
8321         * sysdeps/i386/configure: Regenerated.
8322         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
8323         test.
8324         * sysdeps/x86_64/configure: Regenerated.
8325         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
8326         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8327         memset-avx2 unconditionally instead of conditionally on
8328         [$(config-cflags-avx2) = yes].
8329         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8330         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
8331         unconditional.
8332         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
8333         * sysdeps/x86_64/multiarch/memset_chk.S
8334         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
8335         to [IS_IN (libc) && SHARED].
8337 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8339         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
8340         configure test.
8341         * sysdeps/arm/configure: Regenerated.
8342         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
8343         Define variable if not already defined.
8345         [BZ #17404]
8346         * sysdeps/mips/atomic-machine.h
8347         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
8348         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
8349         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8351         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
8352         unconditional.
8353         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
8354         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8355         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
8356         unconditional.
8357         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8358         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
8359         unconditional.
8360         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8361         * stdlib/setenv.c
8362         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
8363         code unconditional.
8364         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
8365         Remove conditional code.
8366         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8367         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
8368         unconditional.
8369         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8370         code.
8371         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8372         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
8373         unconditional.
8374         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8375         code.
8376         * sysdeps/ieee754/ldbl-128/k_tanl.c
8377         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8378         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8379         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8380         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8381         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8382         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
8383         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
8384         unconditional.
8385         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8386         code.
8387         * sysdeps/ieee754/ldbl-96/k_tanl.c
8388         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8389         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8391         * nptl/tst-initializers1-c11.c: New file.
8392         * nptl/tst-initializers1-gnu11.c: Likewise.
8393         * nptl/Makefile (tests): Add these new tests.
8394         (CFLAGS-tst-initializers1-c11.c): New variable.
8395         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
8397         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
8398         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
8399         instead of -std=gnu99.
8400         * configure.ac (systemtap): Test with -std=gnu11 instead of
8401         -std=gnu99.
8402         * configure: Regenerated.
8403         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
8404         in compilation command in comment.
8406         * sysdeps/nptl/configure.ac: Remove file.
8407         * sysdeps/nptl/configure: Remove generated file.
8408         * configure.ac (libc_cv_forced_unwind): Do not substitute.
8409         * configure: Regenerated.
8410         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
8411         * config.make.in (have-forced-unwind): Remove variable.
8412         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8413         unconditional.
8414         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
8415         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
8416         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
8417         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
8418         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8419         unconditional.
8421 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8423         [BZ #19174]
8424         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
8425         .skip_lock_out_of_tbegin_retries.
8426         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8427         (__lll_lock_elision): Likewise, and respect a value of
8428         try_tbegin <= 0.
8430 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8432         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
8433         statement.
8435 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8437         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
8438         variable.
8439         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8440         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8442         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
8443         of -std=c1x -D_ISOC11_SOURCE.
8445         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
8446         * configure: Regenerated.
8447         * manual/install.texi (Tools for Compilation): Document
8448         requirement for GCC 4.7 or later.
8449         * INSTALL: Regenerated.
8451 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
8453         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
8454         on CNT to a conditional jump to 'puntdata'.
8456 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8458         * configure.ac (libc_cv_gcc___thread): Remove configure test.
8459         (libc_cv_gcc_tls_model_attr): Likewise.
8460         * configure: Regenerated.
8462         * configure.ac (libc_cv_need_minus_P): Remove configure test.
8463         * configure: Regenerated.
8464         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
8466 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
8468         * configure.ac (old_glibc_headers): Remove configure test.
8469         * configure: Regenerated.
8470         * config.make.in (old-glibc-headers): Remove variable.
8471         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
8472         (install): Remove dependency on remove-old-headers.
8473         (headers2_0): Remove variable.
8474         (remove-old-headers): Remove rule.
8476         * configure.ac (libc_cv_dot_text): Remove configure test.
8477         (libc_cv_asm_set_directive): Use .text instead of
8478         ${libc_cv_dot_text} in configure test.
8479         * configure: Regenerated.
8481 2015-10-26  Florian Weimer  <fweimer@redhat.com>
8483         [BZ #19168]
8484         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8486 2015-10-26  Florian Weimer  <fweimer@redhat.com>
8488         * configure.ac (CXX): Clear the variable if the C++ toolchain does
8489         not support static linking.
8490         * configure: Regenerate.
8492 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
8494         * math/libm-test.inc (check_float_internal): Do not special-case
8495         errors up to 0.5 ulp.
8497         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8498         log2.
8499         * math/auto-libm-test-out: Regenerated.
8500         * math/libm-test.inc (MAX_EXP): New macro.
8501         (ilogb_test_data): Add more tests.
8502         (isfinite_test_data): Likewise.
8503         (isgreater_test_data): Likewise.
8504         (isgreaterequal_test_data): Likewise.
8505         (isinf_test_data): Likewise.
8506         (isless_test_data): Likewise.
8507         (islessequal_test_data): Likewise.
8508         (islessgreater_test_data): Likewise.
8509         (isnan_test_data): Likewise.
8510         (isnormal_test_data): Likewise.
8511         (issignaling_test_data): Likewise.
8512         (isunordered_test_data): Likewise.
8513         (j0_test_data): Likewise.
8514         (j1_test_data): Likewise.
8515         (jn_test_data): Likewise.
8516         (lgamma_test_data): Likewise.
8517         (log_test_data): Likewise.
8518         (log10_test_data): Likewise.
8519         (log1p_test_data): Likewise.
8520         (log2_test_data): Likewise.
8521         (logb_test_data): Likewise.
8522         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8524         [BZ #18611]
8525         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
8526         avoid excess range and precision on underflow.
8527         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8528         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
8529         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8530         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
8531         underflow.
8532         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8533         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8534         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8535         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8536         * math/auto-libm-test-in: Do not allow missing errno setting for
8537         tests of j1 and jn.
8538         * math/auto-libm-test-out: Regenerated.
8540 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
8542         [BZ #15491]
8543         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
8544         floating-point environment instead of clearing all exceptions.
8545         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8546         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
8547         merging in "invalid" exceptions from frndint.
8548         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8549         * math/test-nearbyint-except.c: New file.
8550         * math/Makefile (tests): Add test-nearbyint-except.
8552 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
8554         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
8556         * sysdeps/tile/libm-test-ulps: Regenerated.
8558 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
8561         (__NR_sync_file_range2): Assume it is always defined.
8562         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
8563         (__NR_sync_file_range): Assume it is always defined.
8565 2015-10-22  Andreas Schwab  <schwab@suse.de>
8567         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8568         INTERNAL_SYSCALL_ERRNO.
8569         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8570         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8571         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8572         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8573         Likewise.
8574         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8576 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8578         * io/tst-fcntl.c (fd): New static variable.
8579         (do_prepare): Open temporary file here....
8580         (do_test): ...not here.
8582         * io/ftwtest-sh: Also trap on exit to remove temporary files.
8584 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8586         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
8587         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8588         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8589         Moved before "#ifdef __ASSEMBLER__".
8591 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8593         [BZ #19156]
8594         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
8595         arguments very close to 0.
8597 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
8599         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
8600         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
8602 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8604         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8605         New.  Defined for GCC 5 and above when not compiling for
8606         profiling.
8607         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8609         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
8610         Renamed to ...
8611         (CFLAGS-epoll_pwait.o): This.
8612         (CFLAGS-mmap.c): Renamed to ...
8613         (CFLAGS-mmap.o): This.
8614         (CFLAGS-mmap64.c): Renamed to ...
8615         (CFLAGS-mmap64.o): This.
8616         (CFLAGS-epoll_pwait.os): New.
8617         (CFLAGS-mmap.os): Likewise.
8618         (CFLAGS-mmap64.os): Likewise.
8619         (CFLAGS-semtimedop.os): Likewise.
8620         (CFLAGS-semtimedop.c): Renamed to ...
8621         (CFLAGS-semtimedop.o): This.
8623 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8625         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
8626         warning message.
8628 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8630         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
8631         * Makefile ($(objpfx)c++-types-check.out): Filter out
8632         $(+gccwarn-c) instead of -Wstrict-prototypes.
8634         * io/fts.c (fts_open): Convert to prototype-style function
8635         definition.
8636         * malloc/mcheck.c (mcheck): Likewise.
8637         (mcheck_pedantic): Likewise.
8638         * posix/regexec.c (re_search_2_stub): Likewise.  Use
8639         internal_function.
8640         (re_search_internal): Likewise.
8641         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
8642         prototype-style function definition.
8643         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8644         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
8645         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
8646         (xdr_utmpptr): Likewise.
8647         (xdr_utmparr): Likewise.
8648         (xdr_utmpidle): Likewise.
8649         (xdr_utmpidleptr): Likewise.
8650         (xdr_utmpidlearr): Likewise.
8652         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
8653         log, log10 and log2.
8654         * math/auto-libm-test-out: Regenerated.
8655         * math/libm-test.inc (fmod_test_data): Add more tests.
8656         (fpclassify_test_data): Likewise.
8657         (frexp_test_data): Likewise.
8658         (hypot_test_data): Likewise.
8659         (ilogb_test_data): Likewise.
8661 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
8663         * debug/fortify_fail.c (__fortify_fail): Convert to
8664         prototype-style function definition.  Use internal_function.
8665         * libio/genops.c (save_for_backup): Convert to prototype-style
8666         function definition.
8667         * libio/wgenops.c (save_for_wbackup): Likewise.
8668         * login/grantpt.c (grantpt): Likewise.
8669         * login/ptsname.c (ptsname): Likewise.
8670         (__ptsname_r): Likewise.
8671         * login/unlockpt.c (unlockpt): Likewise.
8672         * mach/msgserver.c (__mach_msg_server): Likewise.
8673         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
8674         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
8675         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
8676         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
8677         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
8678         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
8679         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
8680         Likewise.
8681         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
8682         internal_function.
8683         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
8684         prototype-style function definition.
8685         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
8686         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
8687         (__pthread_create_2_0): Likewise.
8688         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
8689         * nptl/register-atfork.c (__register_atfork): Likewise.
8690         * posix/glob.c (glob): Likewise.
8691         * posix/regcomp.c (re_comp): Likewise.
8692         * posix/regexec.c (re_exec): Likewise.
8693         * stdlib/add_n.c [__STDC__]: Make code unconditional.
8694         [!__STDC__]: Remove conditional code.
8695         * stdlib/cmp.c [__STDC__]: Make code unconditional.
8696         [!__STDC__]: Remove conditional code.
8697         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
8698         [!__STDC__]: Remove conditional code.
8699         * stdlib/divrem.c [__STDC__]: Make code unconditional.
8700         [!__STDC__]: Remove conditional code.
8701         * stdlib/lshift.c [__STDC__]: Make code unconditional.
8702         [!__STDC__]: Remove conditional code.
8703         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
8704         [!__STDC__]: Remove conditional code.
8705         * stdlib/mul.c [__STDC__]: Make code unconditional.
8706         [!__STDC__]: Remove conditional code.
8707         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
8708         [!__STDC__]: Remove conditional code.
8709         * stdlib/rshift.c [__STDC__]: Make code unconditional.
8710         [!__STDC__]: Remove conditional code.
8711         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
8712         function definition.
8713         (STRTOF): Likewise.
8714         * stdlib/strtod_l.c (__STRTOF): Likewise.
8715         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
8716         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
8717         (__strtol_l): Likewise.
8718         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
8719         [!__STDC__]: Remove conditional code.
8720         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
8721         definition.
8722         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8723         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8724         type.
8725         (__strcasecmp): Convert to prototype-style function definition.
8726         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
8727         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8728         type.
8729         (__strncasecmp): Convert to prototype-style function definition.
8730         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
8731         * sunrpc/xdr.c (xdr_union): Likewise.
8732         * sunrpc/xdr_array.c (xdr_array): Likewise.
8733         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
8734         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
8735         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
8736         Likewise.
8737         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
8738         Likewise.
8739         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
8740         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8741         Likewise.
8742         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
8743         (LOCALE_PARAM_PROTO): Likewise.
8744         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
8745         argument type.
8746         (ut_argument_spec): Remove macro.
8747         (ut_argument_spec_iso): Rename to ut_argument_spec.
8748         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
8749         prototype-style function definition.
8750         (memcpy_uppcase): Likewise.
8751         (__strftime_internal): Likewise.
8752         (my_strftime): Likewise.
8753         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
8754         (LOCALE_PARAM_DECL): Likewise.
8755         [_LIBC] (LOCALE_PARAM): Include argument type.
8756         (__strptime_internal): Convert to prototype-style function
8757         definition.
8758         (strptime): Likewise.
8759         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8760         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8761         type.
8762         (__wcscasecmp): Convert to prototype-style function definition.
8763         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
8764         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8765         type.
8766         (__wcsncasecmp): Convert to prototype-style function definition.
8768         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
8769         function definition.
8770         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8771         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8772         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
8773         * elf/dl-minimal.c (_itoa): Likewise.
8774         * hurd/hurdmalloc.c (malloc): Likewise.
8775         (free): Likewise.
8776         (realloc): Likewise.
8777         * inet/inet6_option.c (inet6_option_space): Likewise.
8778         (inet6_option_init): Likewise.
8779         (inet6_option_append): Likewise.
8780         (inet6_option_alloc): Likewise.
8781         (inet6_option_next): Likewise.
8782         (inet6_option_find): Likewise.
8783         * io/ftw.c (FTW_NAME): Likewise.
8784         (NFTW_NAME): Likewise.
8785         (NFTW_NEW_NAME): Likewise.
8786         (NFTW_OLD_NAME): Likewise.
8787         * libio/iofwide.c (_IO_fwide): Likewise.
8788         * libio/strops.c (_IO_str_init_static_internal): Likewise.
8789         (_IO_str_init_static): Likewise.
8790         (_IO_str_init_readonly): Likewise.
8791         (_IO_str_overflow): Likewise.
8792         (_IO_str_underflow): Likewise.
8793         (_IO_str_count): Likewise.
8794         (_IO_str_seekoff): Likewise.
8795         (_IO_str_pbackfail): Likewise.
8796         (_IO_str_finish): Likewise.
8797         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
8798         (_IO_wstr_overflow): Likewise.
8799         (_IO_wstr_underflow): Likewise.
8800         (_IO_wstr_count): Likewise.
8801         (_IO_wstr_seekoff): Likewise.
8802         (_IO_wstr_pbackfail): Likewise.
8803         (_IO_wstr_finish): Likewise.
8804         * locale/programs/localedef.c (normalize_codeset): Likewise.
8805         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8806         (add_locales_to_archive): Likewise.
8807         (delete_locales_from_archive): Likewise.
8808         * malloc/malloc.c (__libc_mallinfo): Likewise.
8809         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
8810         * misc/tsearch.c (__tfind): Likewise.
8811         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
8812         * nptl/pthread_attr_getdetachstate.c
8813         (__pthread_attr_getdetachstate): Likewise.
8814         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
8815         Likewise.
8816         * nptl/pthread_attr_getinheritsched.c
8817         (__pthread_attr_getinheritsched): Likewise.
8818         * nptl/pthread_attr_getschedparam.c
8819         (__pthread_attr_getschedparam): Likewise.
8820         * nptl/pthread_attr_getschedpolicy.c
8821         (__pthread_attr_getschedpolicy): Likewise.
8822         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
8823         Likewise.
8824         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
8825         Likewise.
8826         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
8827         Likewise.
8828         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
8829         Likewise.
8830         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
8831         (__pthread_attr_init_2_0): Likewise.
8832         * nptl/pthread_attr_setdetachstate.c
8833         (__pthread_attr_setdetachstate): Likewise.
8834         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
8835         Likewise.
8836         * nptl/pthread_attr_setinheritsched.c
8837         (__pthread_attr_setinheritsched): Likewise.
8838         * nptl/pthread_attr_setschedparam.c
8839         (__pthread_attr_setschedparam): Likewise.
8840         * nptl/pthread_attr_setschedpolicy.c
8841         (__pthread_attr_setschedpolicy): Likewise.
8842         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
8843         Likewise.
8844         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
8845         Likewise.
8846         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
8847         Likewise.
8848         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
8849         Likewise.
8850         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
8851         Likewise.
8852         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
8853         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
8854         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
8855         use internal_function.
8856         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
8857         prototype-style function definition.
8858         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
8859         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
8860         internal_function.
8861         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
8862         Convert to prototype-style function definition.
8863         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8864         Likewise.
8865         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
8866         Likewise.
8867         (__pthread_mutex_unlock): Likewise.
8868         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
8869         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
8870         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
8871         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
8872         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
8873         * nss/makedb.c (process_input): Likewise.
8874         * posix/fnmatch.c (__strchrnul): Likewise.
8875         (__wcschrnul): Likewise.
8876         (fnmatch): Likewise.
8877         * posix/fnmatch_loop.c (FCT): Likewise.
8878         * posix/glob.c (globfree): Likewise.
8879         (__glob_pattern_type): Likewise.
8880         (__glob_pattern_p): Likewise.
8881         * posix/regcomp.c (re_compile_pattern): Likewise.
8882         (re_set_syntax): Likewise.
8883         (re_compile_fastmap): Likewise.
8884         (regcomp): Likewise.
8885         (regerror): Likewise.
8886         (regfree): Likewise.
8887         * posix/regexec.c (regexec): Likewise.
8888         (re_match): Likewise.
8889         (re_search): Likewise.
8890         (re_match_2): Likewise.
8891         (re_search_2): Likewise.
8892         (re_search_stub): Likewise.  Use internal_function
8893         (re_copy_regs): Likewise.
8894         (re_set_registers): Convert to prototype-style function
8895         definition.
8896         (prune_impossible_nodes): Likewise.  Use internal_function.
8897         * resolv/inet_net_pton.c (inet_net_pton): Convert to
8898         prototype-style function definition.
8899         (inet_net_pton_ipv4): Likewise.
8900         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8901         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
8902         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
8903         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
8904         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8905         Make variadic.
8906         * time/strptime_l.c (localtime_r): Convert to prototype-style
8907         function definition.
8908         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8909         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8910         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8911         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8913         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
8914         definition.
8915         (_ufc_doit_r): Likewise.
8916         * crypt/crypt_util.c (_ufc_copymem): Likewise.
8917         (_ufc_output_conversion_r): Likewise.
8918         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
8919         * inet/rcmd.c (rcmd_af): Likewise.
8920         (rcmd): Likewise.
8921         (ruserok_af): Likewise.
8922         (ruserok): Likewise.
8923         (ruserok2_sa): Likewise.
8924         (ruserok_sa): Likewise.
8925         (iruserok_af): Likewise.
8926         (iruserok): Likewise.
8927         (__ivaliduser): Likewise.
8928         (__validuser2_sa): Likewise.
8929         * inet/rexec.c (rexec_af): Likewise.
8930         (rexec): Likewise.
8931         * inet/ruserpass.c (ruserpass): Likewise.
8932         * locale/programs/xmalloc.c (xcalloc): Likewise.
8933         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
8934         * math/w_drem.c (__drem): Likewise.
8935         * math/w_dremf.c (__dremf): Likewise.
8936         * math/w_dreml.c (__dreml): Likewise.
8937         * misc/daemon.c (daemon): Likewise.
8938         * resolv/res_debug.c (p_fqnname): Likewise.
8939         * stdlib/div.c (div): Likewise.
8940         * string/memcmp.c (memcmp_bytes): Likewise.
8941         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
8942         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
8944         * crypt/cert.c (main): Convert to prototype-style function
8945         definition.
8946         * io/pipe.c (__pipe): Likewise.
8947         * io/pipe2.c (__pipe2): Likewise.
8948         * misc/futimesat.c (futimesat): Likewise.
8949         * misc/utimes.c (__utimes): Likewise.
8950         * posix/execve.c (__execve): Likewise.
8951         * posix/execvp.c (execvp): Likewise.
8952         * posix/execvpe.c (__execvpe): Likewise.
8953         * posix/fexecve.c (fexecve): Likewise.
8954         * socket/socketpair.c (socketpair): Likewise.
8955         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8956         * stdlib/erand48.c (erand48): Likewise.
8957         * stdlib/erand48_r.c (__erand48_r): Likewise.
8958         * stdlib/jrand48.c (jrand48): Likewise.
8959         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
8960         * stdlib/lcong48.c (lcong48): Likewise.
8961         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
8962         * stdlib/nrand48.c (nrand48): Likewise.
8963         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
8964         * stdlib/seed48.c (seed48): Likewise.
8965         * stdlib/seed48_r.c (__seed48_r): Likewise.
8966         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
8967         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
8968         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
8970 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
8972         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
8973         * configure: Regenerated.
8974         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
8975         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
8976         unconditional.
8977         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8978         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8979         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8980         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
8981         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
8982         unconditional.
8983         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8985         * posix/Makefile (CFLAGS-regex.c): Remove variable.
8986         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
8988         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
8989         function definition.
8990         * crypt/crypt_util.c (__encrypt_r): Likewise.
8991         * libio/genops.c (_IO_no_init): Likewise.
8992         * libio/iofopncook.c (_IO_fopencookie): Likewise.
8993         (_IO_old_fopencookie): Likewise.
8994         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8995         * libio/iogetline.c (_IO_getline): Likewise.
8996         (_IO_getline_info): Likewise.
8997         * libio/iogetwline.c (_IO_getwline): Likewise.
8998         (_IO_getwline_info): Likewise.
8999         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
9000         * libio/vswprintf.c (_IO_vswprintf): Likewise.
9001         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
9002         (find_entry): Likewise.
9003         (iterate_table): Likewise.
9004         (lookup): Likewise.
9005         * login/forkpty.c (forkpty): Likewise.
9006         * misc/hsearch_r.c (__hsearch_r): Likewise.
9007         * misc/select.c (__select): Likewise.
9008         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
9009         Likewise.
9010         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
9011         Likewise.
9012         * nptl/old_pthread_cond_timedwait.c
9013         (__pthread_cond_timedwait_2_0): Likewise.
9014         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
9015         * nptl/pthread_barrierattr_getpshared.c
9016         (pthread_barrierattr_getpshared): Likewise.
9017         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
9018         Likewise.
9019         * nptl/pthread_mutex_setprioceiling.c
9020         (pthread_mutex_setprioceiling): Likewise.
9021         * nptl/pthread_mutexattr_getprioceiling.c
9022         (pthread_mutexattr_getprioceiling): Likewise.
9023         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
9024         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9025         Likewise.
9026         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9027         Likewise.
9028         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
9029         Likewise.
9030         * socket/recvfrom.c (__recvfrom): Likewise.
9031         * socket/sendto.c (__sendto): Likewise.
9032         * socket/setsockopt.c (__setsockopt): Likewise.
9033         * stdio-common/_itoa.c (_itoa): Likewise.
9034         * stdio-common/_itowa.c (_itowa): Likewise.
9035         * stdio-common/reg-printf.c (__register_printf_specifier):
9036         Likewise.
9037         (__register_printf_function): Likewise.
9038         * stdio-common/tempname.c (__path_search): Likewise.
9039         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
9040         * stdlib/mul_1.c (mpn_mul_1): Likewise.
9041         * stdlib/random_r.c (__initstate_r): Likewise.
9042         * stdlib/setenv.c (__add_to_environ): Likewise.
9043         * stdlib/submul_1.c (mpn_submul_1): Likewise.
9044         * streams/getpmsg.c (getpmsg): Likewise.
9045         * streams/putmsg.c (putmsg): Likewise.
9046         * streams/putpmsg.c (putpmsg): Likewise.
9047         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
9048         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
9049         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
9050         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
9051         * sunrpc/pm_getport.c (pmap_getport): Likewise.
9052         * sunrpc/svc_udp.c (cache_get): Likewise.
9053         * sunrpc/xdr_array.c (xdr_vector): Likewise.
9054         * sysdeps/mach/hurd/getcwd.c
9055         (__canonicalize_directory_name_internal): Likewise.
9056         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
9057         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
9058         * sysdeps/mach/hurd/select.c (__select): Likewise.
9059         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
9060         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
9061         * sysdeps/sparc/nptl/pthread_barrier_init.c
9062         (__pthread_barrier_init): Likewise.
9063         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
9064         (__pthread_cond_timedwait): Likewise.
9065         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
9066         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
9067         Likewise.
9068         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
9069         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
9070         Likewise.
9071         * sysvipc/semtimedop.c (semtimedop): Likewise.
9072         * time/setitimer.c (__setitimer): Likewise.
9073         * time/strftime_l.c (emacs_strftime): Likewise.
9075 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
9077         * config.make.in (have-ssp): Delete.
9078         (stack-protector): New variable.
9079         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
9080         cache test for -fstack-protector-strong.  Export stack_protector to
9081         the best ssp flag.
9082         * configure: Regenerated.
9083         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
9084         * nscd/Makefile (CFLAGS-nscd): Likewise.
9085         * resolv/Makefile (CFLAGS-libresolv): Likewise.
9087 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
9089         [BZ #19122]
9090         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
9091         attribute_hidden.
9093 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9095         [BZ #18743]
9096         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
9097         code to...
9098         (ELIDE_LOCK): ...here.
9099         (__get_new_count): New function with part of the code from
9100         __elide_lock that updates the value of adapt_count after a
9101         transaction abort.
9102         (__elided_trylock): Moved this code to...
9103         (ELIDE_TRYLOCK): ...here.
9105 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
9107         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
9108         * configure: Regenerate.
9109         * INSTALL: Regenerate.
9110         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
9111         and tweak grammar.
9113 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
9115         * login/programs/pt_chown.c: Include signal.h
9116         (main): Clear any signal mask from the parent process.
9118 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
9120         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
9121         * configure: Regenerated.
9122         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
9123         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
9124         $(gnu89-inline-CFLAGS).
9126         * configure.ac (libc_cv_asm_weak_directive): Remove configure
9127         test.
9128         (libc_cv_asm_weakext_directive): Likewise.
9129         * configure: Regenerated.
9130         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
9131         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
9132         * include/libc-symbols.h
9133         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
9134         #error.
9135         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
9136         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
9138         * sysdeps/arm/backtrace.c (__backtrace): Convert to
9139         prototype-style function definition.
9140         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
9141         * sysdeps/i386/ffs.c (__ffs): Likewise.
9142         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9143         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
9144         Likewise.
9145         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9146         Likewise.
9147         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
9148         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9149         Likewise.
9150         * sysdeps/m68k/ffs.c (__ffs): Likewise.
9151         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
9152         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
9153         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
9154         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
9155         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
9156         * sysdeps/mach/hurd/access.c (__access): Likewise.
9157         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
9158         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
9159         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
9160         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
9161         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
9162         (cthread_getspecific): Likewise.
9163         (cthread_setspecific): Likewise.
9164         (__libc_getspecific): Likewise.
9165         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
9166         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
9167         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
9168         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
9169         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
9170         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
9171         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
9172         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
9173         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
9174         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
9175         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
9176         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
9177         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
9178         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
9179         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
9180         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
9181         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
9182         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
9183         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
9184         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
9185         * sysdeps/mach/hurd/link.c (__link): Likewise.
9186         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
9187         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
9188         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
9189         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
9190         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
9191         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
9192         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
9193         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
9194         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
9195         * sysdeps/mach/hurd/rename.c (rename): Likewise.
9196         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
9197         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
9198         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
9199         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
9200         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
9201         * sysdeps/mach/hurd/send.c (__send): Likewise.
9202         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
9203         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
9204         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
9205         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
9206         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
9207         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
9208         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
9209         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
9210         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
9211         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
9212         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
9213         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
9214         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
9215         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
9216         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
9217         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
9218         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
9219         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
9220         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
9221         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
9222         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
9223         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
9224         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
9225         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
9226         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
9227         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
9228         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
9229         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
9230         * sysdeps/posix/alarm.c (alarm): Likewise.
9231         * sysdeps/posix/cuserid.c (cuserid): Likewise.
9232         * sysdeps/posix/dirfd.c (dirfd): Likewise.
9233         * sysdeps/posix/dup.c (__dup): Likewise.
9234         * sysdeps/posix/dup2.c (__dup2): Likewise.
9235         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
9236         (main): Likewise.
9237         * sysdeps/posix/flock.c (__flock): Likewise.
9238         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
9239         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
9240         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
9241         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
9242         * sysdeps/posix/isatty.c (__isatty): Likewise.
9243         * sysdeps/posix/killpg.c (killpg): Likewise.
9244         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9245         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
9246         * sysdeps/posix/raise.c (raise): Likewise.
9247         * sysdeps/posix/remove.c (remove): Likewise.
9248         * sysdeps/posix/rename.c (rename): Likewise.
9249         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
9250         * sysdeps/posix/seekdir.c (seekdir): Likewise.
9251         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
9252         * sysdeps/posix/sigignore.c (sigignore): Likewise.
9253         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
9254         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
9255         * sysdeps/posix/sigset.c (sigset): Likewise.
9256         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
9257         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
9258         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
9259         * sysdeps/posix/time.c (time): Likewise.
9260         * sysdeps/posix/ttyname.c (getttyname): Likewise.
9261         (ttyname): Likewise.
9262         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
9263         * sysdeps/posix/utime.c (utime): Likewise.
9264         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
9265         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9266         Likewise.
9267         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
9268         (pthread_spin_trylock): Likewise.
9269         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
9270         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
9271         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
9272         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
9273         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
9274         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
9275         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
9276         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
9277         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
9278         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
9279         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
9280         * sysdeps/s390/ffs.c (__ffs): Likewise.
9281         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
9282         Likewise.
9283         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9284         Likewise.
9285         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
9286         Likewise.
9287         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
9288         (pthread_barrier_destroy): Likewise.
9289         * sysdeps/sparc/nptl/pthread_barrier_wait.c
9290         (__pthread_barrier_wait): Likewise.
9291         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
9292         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
9293         (__pthread_barrier_wait): Likewise.
9294         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
9295         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
9296         (memcmp_not_common_alignment): Likewise.
9297         (MEMCMP): Likewise.
9298         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
9299         (_wordcopy_fwd_dest_aligned): Likewise.
9300         (_wordcopy_bwd_aligned): Likewise.
9301         (_wordcopy_bwd_dest_aligned): Likewise.
9302         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
9303         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
9304         * sysdeps/unix/bsd/stty.c (stty): Likewise.
9305         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
9306         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
9307         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
9308         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
9309         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
9310         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
9311         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
9312         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
9313         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9314         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
9315         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
9316         * sysdeps/unix/stime.c (stime): Likewise.
9317         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
9318         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
9319         Likewise.  Use internal_function.
9320         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
9321         Convert to prototype-style function definition.
9322         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9323         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9324         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
9325         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9326         Likewise.  Use internal_function.
9327         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
9328         prototype-style function definition
9329         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9330         Likewise.
9331         (__getlogin_r): Likewise.
9332         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
9333         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
9334         (__pthread_cond_broadcast): Likewise.
9335         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
9336         (__pthread_cond_destroy): Likewise.
9337         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
9338         (__pthread_cond_init): Likewise.
9339         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
9340         (__pthread_cond_signal): Likewise.
9341         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
9342         (__pthread_cond_wait): Likewise.
9343         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
9344         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
9345         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
9346         Likewise.
9347         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
9348         Likewise.
9349         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
9350         Likewise.
9351         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
9352         Likewise.
9353         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
9354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
9355         (__ftruncate64): Likewise.
9356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
9357         (truncate64): Likewise.
9358         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
9359         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
9360         (pthread_getcpuclockid): Likewise.
9361         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
9362         Likewise.
9363         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
9364         Likewise.
9365         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
9366         Likewise.
9367         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
9368         Likewise.
9369         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
9370         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
9371         (__libc_sigaction): Likewise.
9372         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
9373         Likewise.
9374         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
9375         (__sigprocmask): Likewise.
9376         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
9377         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
9378         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
9379         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
9380         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9381         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
9382         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9383         Likewise.
9384         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
9385         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
9386         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9387         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
9388         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
9389         Likewise.
9390         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
9391         (__sigprocmask): Likewise.
9392         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
9393         (cfgetispeed): Likewise.
9394         (cfsetospeed): Likewise.
9395         (cfsetispeed): Likewise.
9396         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
9397         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
9398         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9399         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
9400         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
9401         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
9402         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
9403         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
9404         Likewise.
9405         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
9406         Likewise.
9407         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
9408         Likewise.
9409         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
9410         Likewise.
9411         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9413 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9415         sunrpc: Rewrite with explicit TLS access using __thread.
9416         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
9417         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
9418         directly.
9419         (__rpc_thread_variables): Access thread_rpc_vars directly.
9420         Eliminate redundant assignment of the tvp variable.
9422 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9424         malloc: Rewrite with explicit TLS access using __thread.
9425         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
9426         (tsd_setspecific, tsd_getspecific): Remove.
9427         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
9428         (tsd_setspecific, tsd_getspecific): Likewise.
9429         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
9430         (tsd_setspecific, tsd_getspecific): Likewise.
9431         * malloc/arena.c (thread_arena): New TLS variable.
9432         (arena_key): Remove variable.
9433         (arena_get): Use thread_arena.
9434         (arena_lookup): Remove macro.
9435         (malloc_atfork, free_atfork, ptmalloc_lock_all)
9436         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
9437         (_int_new_arena, get_free_list, reused_arena)
9438         (arena_thread_freeres): Use thread_arena.
9439         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
9440         tsd_getspecific, tsd_setspecific from safety annotations.
9441         (Allocating Cleared Space): Remove arena_lookup from safety
9442         annotations.
9444 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9446         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
9447         struct scratch_buffer instead of extend_alloca.
9449 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9451         * sysdeps/unix/sysv/linux/kernel-features.h
9452         (__ASSUME_SOCK_CLOEXEC): Remove.
9453         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
9454         (__have_paccept): Remove unused macro.
9455         * include/unistd.h (__have_sock_cloexec): Remove declaration.
9456         * misc/syslog.c (openlog_internal): Remove fallback code for
9457         !__ASSUME_SOCK_CLOEXEC.
9458         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
9459         missing SOCK_CLOEXEC.
9460         * nscd/connections.c (have_sock_cloexec): Remove definition.
9461         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9462         * nscd/nscd_helper.c (open_socket): Remove fallback code for
9463         !__ASSUME_SOCK_CLOEXEC.
9464         * resolv/res_send.c (__have_o_nonblock): Remove definition.
9465         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9466         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
9467         definition.
9468         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
9469         code for !__ASSUME_SOCK_CLOEXEC.
9471 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9473         [BZ #18982]
9474         * manual/stdio.texi (Variable Arguments Output): Add portability
9475         note, explaining that vfprintf clobbers the va_list pointer.
9477 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
9479         * math/libm-test.inc (fabs_test_data): Add more tests.
9480         (fdim_test_data): Likewise.
9481         (fma_test_data): Likewise.
9482         (fmax_test_data): Likewise.
9483         (fmin_test_data): Likewise.
9484         (fmod_test_data): Likewise.
9486 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
9488         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
9489         data.
9491 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
9493         * math/libm-test.inc (ceil_test_data): Add more tests and more
9494         expectations for "inexact".
9495         (floor_test_data): Add more tests.
9496         (round_test_data): Likewise.
9497         (trunc_test_data): Likewise.
9499         * crypt/cert.c (good_bye): Convert to prototype-style function
9500         definition.
9501         (get8): Likewise.
9502         (put8): Likewise.
9503         * crypt/crypt-entry.c (crypt): Likewise.
9504         (__fcrypt): Likewise.
9505         * crypt/crypt_util.c (_ufc_prbits): Likewise.
9506         (_ufc_set_bits): Likewise.
9507         (_ufc_clearmem): Likewise.
9508         (__init_des_r): Likewise.
9509         (shuffle_sb): Likewise.
9510         (shuffle_sb): Likewise.
9511         (_ufc_setup_salt_r): Likewise.
9512         (_ufc_mk_keytab_r): Likewise.
9513         (_ufc_dofinalperm_r): Likewise.
9514         (encrypt): Likewise.
9515         (__setkey_r): Likewise.
9516         (setkey): Likewise.
9517         * crypt/md5.c (md5_init_ctx): Likewise.
9518         (md5_read_ctx): Likewise.
9519         (md5_finish_ctx): Likewise.
9520         (md5_stream): Likewise.
9521         (md5_buffer): Likewise.
9522         (md5_process_bytes): Likewise.
9523         * crypt/sha256.c (__sha256_init_ctx): Likewise.
9524         (__sha256_finish_ctx): Likewise.
9525         (__sha256_process_bytes): Likewise.
9526         * crypt/sha512.c (__sha512_init_ctx): Likewise.
9527         (__sha512_finish_ctx): Likewise.
9528         (__sha512_process_bytes): Likewise.
9529         * ctype/isctype.c (__isctype): Likewise.
9530         * debug/backtrace.c (__backtrace): Likewise.
9531         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
9532         * debug/fgets_chk.c (__fgets_chk): Likewise.
9533         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
9534         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
9535         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9536         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9537         * debug/memset_chk.c (__memset_chk): Likewise.
9538         * debug/strcat_chk.c (__strcat_chk): Likewise.
9539         * debug/strncat_chk.c (__strncat_chk): Likewise.
9540         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
9541         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
9542         * dirent/dirfd.c (dirfd): Likewise.
9543         * dirent/getdents.c (__getdirentries): Likewise.
9544         * dirent/getdents64.c (getdirentries64): Likewise.
9545         * dirent/rewinddir.c (__rewinddir): Likewise.
9546         * dirent/seekdir.c (seekdir): Likewise.
9547         * dirent/telldir.c (telldir): Likewise.
9548         * elf/sln.c (makesymlinks): Likewise.
9549         (makesymlink): Likewise.
9550         * gmon/gmon.c (__moncontrol): Likewise.
9551         (__monstartup): Likewise.
9552         (write_hist): Likewise.
9553         (write_call_graph): Likewise.
9554         (write_bb_counts): Likewise.
9555         * grp/setgroups.c (setgroups): Likewise.
9556         * inet/inet_lnaof.c (inet_lnaof): Likewise.
9557         * inet/inet_net.c (inet_network): Likewise.
9558         * inet/inet_netof.c (inet_netof): Likewise.
9559         * inet/rcmd.c (rresvport_af): Likewise.
9560         (rresvport): Likewise.
9561         * io/access.c (__access): Likewise.
9562         * io/chdir.c (__chdir): Likewise.
9563         * io/chmod.c (__chmod): Likewise.
9564         * io/chown.c (__chown): Likewise.
9565         * io/close.c (__close): Likewise.
9566         * io/creat.c (creat): Likewise.
9567         * io/creat64.c (creat64): Likewise.
9568         * io/dup.c (__dup): Likewise.
9569         * io/dup2.c (__dup2): Likewise.
9570         * io/dup3.c (__dup3): Likewise.
9571         * io/euidaccess.c (__euidaccess): Likewise.
9572         * io/faccessat.c (faccessat): Likewise.
9573         * io/fchmod.c (__fchmod): Likewise.
9574         * io/fchmodat.c (fchmodat): Likewise.
9575         * io/fchown.c (__fchown): Likewise.
9576         * io/fchownat.c (fchownat): Likewise.
9577         * io/fcntl.c (__fcntl): Likewise.
9578         * io/flock.c (__flock): Likewise.
9579         * io/fts.c (fts_load): Likewise.
9580         (fts_close): Likewise.
9581         (fts_read): Likewise.
9582         (fts_set): Likewise.
9583         (fts_children): Likewise.
9584         (fts_build): Likewise.
9585         (fts_stat): Likewise.
9586         (fts_sort): Likewise.
9587         (fts_alloc): Likewise.
9588         (fts_lfree): Likewise.
9589         (fts_palloc): Likewise.
9590         (fts_padjust): Likewise.
9591         (fts_maxarglen): Likewise.
9592         (fts_safe_changedir): Likewise.
9593         * io/getwd.c (getwd): Likewise.
9594         * io/isatty.c (__isatty): Likewise.
9595         * io/lchown.c (__lchown): Likewise.
9596         * io/link.c (__link): Likewise.
9597         * io/linkat.c (linkat): Likewise.
9598         * io/lseek.c (__libc_lseek): Likewise.
9599         * io/mkdir.c (__mkdir): Likewise.
9600         * io/mkdirat.c (mkdirat): Likewise.
9601         * io/mkfifo.c (mkfifo): Likewise.
9602         * io/mkfifoat.c (mkfifoat): Likewise.
9603         * io/open.c (__libc_open): Likewise.
9604         * io/open64.c (__libc_open64): Likewise.
9605         * io/readlink.c (__readlink): Likewise.
9606         * io/readlinkat.c (readlinkat): Likewise.
9607         * io/rmdir.c (__rmdir): Likewise.
9608         * io/symlink.c (__symlink): Likewise.
9609         * io/symlinkat.c (symlinkat): Likewise.
9610         * io/ttyname.c (ttyname): Likewise.
9611         * io/ttyname_r.c (__ttyname_r): Likewise.
9612         * io/umask.c (__umask): Likewise.
9613         * io/unlink.c (__unlink): Likewise.
9614         * io/unlinkat.c (unlinkat): Likewise.
9615         * io/utime.c (utime): Likewise.
9616         * libio/clearerr.c (clearerr): Likewise.
9617         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
9618         * libio/feof.c (_IO_feof): Likewise.
9619         * libio/feof_u.c (feof_unlocked): Likewise.
9620         * libio/ferror.c (_IO_ferror): Likewise.
9621         * libio/ferror_u.c (ferror_unlocked): Likewise.
9622         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9623         * libio/fileno.c (__fileno): Likewise.
9624         * libio/fputc.c (fputc): Likewise.
9625         * libio/fputc_u.c (fputc_unlocked): Likewise.
9626         * libio/fputwc.c (fputwc): Likewise.
9627         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
9628         * libio/freopen.c (freopen): Likewise.
9629         * libio/freopen64.c (freopen64): Likewise.
9630         * libio/fseek.c (fseek): Likewise.
9631         * libio/fseeko.c (fseeko): Likewise.
9632         * libio/fseeko64.c (fseeko64): Likewise.
9633         * libio/ftello.c (__ftello): Likewise.
9634         * libio/ftello64.c (ftello64): Likewise.
9635         * libio/fwide.c (fwide): Likewise.
9636         * libio/genops.c (_IO_un_link): Likewise.
9637         (_IO_link_in): Likewise.
9638         (_IO_least_marker): Likewise.
9639         (_IO_switch_to_main_get_area): Likewise.
9640         (_IO_switch_to_backup_area): Likewise.
9641         (_IO_switch_to_get_mode): Likewise.
9642         (_IO_free_backup_area): Likewise.
9643         (_IO_switch_to_put_mode): Likewise.
9644         (__overflow): Likewise.
9645         (__underflow): Likewise.
9646         (__uflow): Likewise.
9647         (_IO_setb): Likewise.
9648         (_IO_doallocbuf): Likewise.
9649         (_IO_default_underflow): Likewise.
9650         (_IO_default_uflow): Likewise.
9651         (_IO_default_xsputn): Likewise.
9652         (_IO_sgetn): Likewise.
9653         (_IO_default_xsgetn): Likewise.
9654         (_IO_sync): Likewise.
9655         (_IO_default_setbuf): Likewise.
9656         (_IO_default_seekpos): Likewise.
9657         (_IO_default_doallocate): Likewise.
9658         (_IO_init): Likewise.
9659         (_IO_old_init): Likewise.
9660         (_IO_default_sync): Likewise.
9661         (_IO_default_finish): Likewise.
9662         (_IO_default_seekoff): Likewise.
9663         (_IO_sputbackc): Likewise.
9664         (_IO_sungetc): Likewise.
9665         (_IO_set_column): Likewise.
9666         (_IO_set_column): Likewise.
9667         (_IO_adjust_column): Likewise.
9668         (_IO_get_column): Likewise.
9669         (_IO_init_marker): Likewise.
9670         (_IO_remove_marker): Likewise.
9671         (_IO_marker_difference): Likewise.
9672         (_IO_marker_delta): Likewise.
9673         (_IO_seekmark): Likewise.
9674         (_IO_unsave_markers): Likewise.
9675         (_IO_nobackup_pbackfail): Likewise.
9676         (_IO_default_pbackfail): Likewise.
9677         (_IO_default_seek): Likewise.
9678         (_IO_default_stat): Likewise.
9679         (_IO_default_read): Likewise.
9680         (_IO_default_write): Likewise.
9681         (_IO_default_showmanyc): Likewise.
9682         (_IO_default_imbue): Likewise.
9683         (_IO_iter_next): Likewise.
9684         (_IO_iter_file): Likewise.
9685         * libio/getc.c (_IO_getc): Likewise.
9686         * libio/getwc.c (_IO_getwc): Likewise.
9687         * libio/iofclose.c (_IO_new_fclose): Likewise.
9688         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9689         * libio/iofflush.c (_IO_fflush): Likewise.
9690         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
9691         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
9692         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
9693         * libio/iofgets.c (_IO_fgets): Likewise.
9694         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
9695         * libio/iofgetws.c (fgetws): Likewise.
9696         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9697         * libio/iofopen64.c (_IO_fopen64): Likewise.
9698         * libio/iofopncook.c (_IO_cookie_read): Likewise.
9699         (_IO_cookie_write): Likewise.
9700         (_IO_cookie_seek): Likewise.
9701         (_IO_cookie_close): Likewise.
9702         (_IO_cookie_seekoff): Likewise.
9703         (_IO_old_cookie_seek): Likewise.
9704         * libio/iofputs.c (_IO_fputs): Likewise.
9705         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
9706         * libio/iofputws.c (fputws): Likewise.
9707         * libio/iofputws_u.c (fputws_unlocked): Likewise.
9708         * libio/iofread.c (_IO_fread): Likewise.
9709         * libio/iofread_u.c (__fread_unlocked): Likewise.
9710         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
9711         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
9712         * libio/ioftell.c (_IO_ftell): Likewise.
9713         * libio/iofwrite.c (_IO_fwrite): Likewise.
9714         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9715         * libio/iogets.c (_IO_gets): Likewise.
9716         * libio/iopadn.c (_IO_padn): Likewise.
9717         * libio/iopopen.c (_IO_new_proc_open): Likewise.
9718         (_IO_new_popen): Likewise.
9719         (_IO_new_proc_close): Likewise.
9720         * libio/ioputs.c (_IO_puts): Likewise.
9721         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
9722         (_IO_seekoff): Likewise.
9723         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
9724         (_IO_seekpos): Likewise.
9725         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
9726         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
9727         * libio/ioungetc.c (_IO_ungetc): Likewise.
9728         * libio/ioungetwc.c (ungetwc): Likewise.
9729         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9730         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
9731         * libio/iowpadn.c (_IO_wpadn): Likewise.
9732         * libio/libc_fatal.c (__libc_fatal): Likewise.
9733         * libio/memstream.c (__open_memstream): Likewise.
9734         (_IO_mem_sync): Likewise.
9735         (_IO_mem_finish): Likewise.
9736         * libio/oldfileops.c (_IO_old_file_init): Likewise.
9737         (_IO_old_file_close_it): Likewise.
9738         (_IO_old_file_finish): Likewise.
9739         (_IO_old_file_fopen): Likewise.
9740         (_IO_old_file_attach): Likewise.
9741         (_IO_old_file_setbuf): Likewise.
9742         (_IO_old_do_write): Likewise.
9743         (old_do_write): Likewise.
9744         (_IO_old_file_underflow): Likewise.
9745         (_IO_old_file_overflow): Likewise.
9746         (_IO_old_file_sync): Likewise.
9747         (_IO_old_file_seekoff): Likewise.
9748         (_IO_old_file_write): Likewise.
9749         (_IO_old_file_xsputn): Likewise.
9750         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
9751         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9752         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
9753         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
9754         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9755         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
9756         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
9757         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9758         (_IO_old_popen): Likewise.
9759         (_IO_old_proc_close): Likewise.
9760         * libio/oldpclose.c (__old_pclose): Likewise.
9761         * libio/pclose.c (__new_pclose): Likewise.
9762         * libio/peekc.c (_IO_peekc_locked): Likewise.
9763         * libio/putc.c (_IO_putc): Likewise.
9764         * libio/putc_u.c (putc_unlocked): Likewise.
9765         * libio/putchar.c (putchar): Likewise.
9766         * libio/putchar_u.c (putchar_unlocked): Likewise.
9767         * libio/putwc.c (putwc): Likewise.
9768         * libio/putwc_u.c (putwc_unlocked): Likewise.
9769         * libio/putwchar.c (putwchar): Likewise.
9770         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
9771         * libio/rewind.c (rewind): Likewise.
9772         * libio/setbuf.c (setbuf): Likewise.
9773         * libio/setlinebuf.c (setlinebuf): Likewise.
9774         * libio/vasprintf.c (_IO_vasprintf): Likewise.
9775         * libio/vscanf.c (_IO_vscanf): Likewise.
9776         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
9777         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
9778         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
9779         * libio/wgenops.c (_IO_least_wmarker): Likewise.
9780         (_IO_switch_to_main_wget_area): Likewise.
9781         (_IO_switch_to_wbackup_area): Likewise.
9782         (_IO_wsetb): Likewise.
9783         (_IO_wdefault_pbackfail): Likewise.
9784         (_IO_wdefault_finish): Likewise.
9785         (_IO_wdefault_uflow): Likewise.
9786         (__woverflow): Likewise.
9787         (__wuflow): Likewise.
9788         (__wunderflow): Likewise.
9789         (_IO_wdefault_xsputn): Likewise.
9790         (_IO_wdefault_xsgetn): Likewise.
9791         (_IO_wdoallocbuf): Likewise.
9792         (_IO_wdefault_doallocate): Likewise.
9793         (_IO_switch_to_wget_mode): Likewise.
9794         (_IO_free_wbackup_area): Likewise.
9795         (_IO_switch_to_wput_mode): Likewise.
9796         (_IO_sputbackwc): Likewise.
9797         (_IO_sungetwc): Likewise.
9798         (_IO_adjust_wcolumn): Likewise.
9799         (_IO_init_wmarker): Likewise.
9800         (_IO_wmarker_delta): Likewise.
9801         (_IO_seekwmark): Likewise.
9802         (_IO_unsave_wmarkers): Likewise.
9803         * libio/wmemstream.c (open_wmemstream): Likewise.
9804         (_IO_wmem_sync): Likewise.
9805         (_IO_wmem_finish): Likewise.
9806         * locale/nl_langinfo.c (nl_langinfo): Likewise.
9807         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
9808         * locale/programs/simple-hash.c (init_hash): Likewise.
9809         (delete_hash): Likewise.
9810         (insert_entry): Likewise.
9811         (set_entry): Likewise.
9812         (next_prime): Likewise.
9813         (is_prime): Likewise.
9814         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
9815         (xmalloc): Likewise.
9816         (xrealloc): Likewise.
9817         * locale/programs/xstrdup.c (xstrdup): Likewise.
9818         * localedata/collate-test.c (xstrcoll): Likewise.
9819         * localedata/xfrm-test.c (xstrcmp): Likewise.
9820         * login/getlogin_r.c (__getlogin_r): Likewise.
9821         * login/getpt.c (__posix_openpt): Likewise.
9822         * login/login_tty.c (login_tty): Likewise.
9823         * login/setlogin.c (setlogin): Likewise.
9824         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
9825         (mach_msg_destroy_port): Likewise.
9826         (mach_msg_destroy_memory): Likewise.
9827         * malloc/mcheck.c (flood): Likewise.
9828         * misc/acct.c (acct): Likewise.
9829         * misc/brk.c (__brk): Likewise.
9830         * misc/chflags.c (chflags): Likewise.
9831         * misc/chroot.c (chroot): Likewise.
9832         * misc/fchflags.c (fchflags): Likewise.
9833         * misc/fstab.c (getfsspec): Likewise.
9834         (getfsfile): Likewise.
9835         * misc/fsync.c (fsync): Likewise.
9836         * misc/ftruncate.c (__ftruncate): Likewise.
9837         * misc/ftruncate64.c (__ftruncate64): Likewise.
9838         * misc/getdomain.c (getdomainname): Likewise.
9839         (getdomainname): Likewise.
9840         * misc/gethostname.c (__gethostname): Likewise.
9841         * misc/getpass.c (getpass): Likewise.
9842         * misc/getttyent.c (skip): Likewise.
9843         (value): Likewise.
9844         * misc/gtty.c (gtty): Likewise.
9845         * misc/hsearch.c (hsearch): Likewise.
9846         (hcreate): Likewise.
9847         * misc/hsearch_r.c (__hcreate_r): Likewise.
9848         (__hdestroy_r): Likewise.
9849         * misc/ioctl.c (__ioctl): Likewise.
9850         * misc/mkdtemp.c (mkdtemp): Likewise.
9851         * misc/mkostemp.c (mkostemp): Likewise.
9852         * misc/mkostemp64.c (mkostemp64): Likewise.
9853         * misc/mkostemps.c (mkostemps): Likewise.
9854         * misc/mkostemps64.c (mkostemps64): Likewise.
9855         * misc/mkstemp.c (mkstemp): Likewise.
9856         * misc/mkstemp64.c (mkstemp64): Likewise.
9857         * misc/mkstemps.c (mkstemps): Likewise.
9858         * misc/mkstemps64.c (mkstemps64): Likewise.
9859         * misc/mktemp.c (__mktemp): Likewise.
9860         * misc/preadv.c (preadv): Likewise.
9861         * misc/preadv64.c (preadv64): Likewise.
9862         * misc/pwritev.c (pwritev): Likewise.
9863         * misc/pwritev64.c (pwritev64): Likewise.
9864         * misc/readv.c (__readv): Likewise.
9865         * misc/revoke.c (revoke): Likewise.
9866         * misc/setdomain.c (setdomainname): Likewise.
9867         * misc/setegid.c (setegid): Likewise.
9868         * misc/seteuid.c (seteuid): Likewise.
9869         * misc/sethostid.c (sethostid): Likewise.
9870         * misc/sethostname.c (sethostname): Likewise.
9871         * misc/setregid.c (__setregid): Likewise.
9872         * misc/setreuid.c (__setreuid): Likewise.
9873         * misc/sstk.c (sstk): Likewise.
9874         * misc/stty.c (stty): Likewise.
9875         * misc/syscall.c (syscall): Likewise.
9876         * misc/syslog.c (setlogmask): Likewise.
9877         * misc/truncate.c (__truncate): Likewise.
9878         * misc/truncate64.c (truncate64): Likewise.
9879         * misc/ualarm.c (ualarm): Likewise.
9880         * misc/usleep.c (usleep): Likewise.
9881         * misc/ustat.c (ustat): Likewise.
9882         * misc/writev.c (__writev): Likewise.
9883         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
9884         * nptl/old_pthread_cond_broadcast.c
9885         (__pthread_cond_broadcast_2_0): Likewise.
9886         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
9887         Likewise.
9888         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
9889         Likewise.
9890         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
9891         Likewise.
9892         * nptl/pt-raise.c (raise): Likewise.
9893         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
9894         Likewise.
9895         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
9896         * nptl/pthread_barrierattr_destroy.c
9897         (pthread_barrierattr_destroy): Likewise.
9898         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
9899         Likewise.
9900         * nptl/pthread_barrierattr_setpshared.c
9901         (pthread_barrierattr_setpshared): Likewise.
9902         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9903         Likewise.
9904         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
9905         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
9906         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
9907         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
9908         Likewise.
9909         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
9910         Likewise.
9911         * nptl/pthread_condattr_getpshared.c
9912         (pthread_condattr_getpshared): Likewise.
9913         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
9914         Likewise.
9915         * nptl/pthread_condattr_setpshared.c
9916         (pthread_condattr_setpshared): Likewise.
9917         * nptl/pthread_detach.c (pthread_detach): Likewise.
9918         * nptl/pthread_equal.c (__pthread_equal): Likewise.
9919         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
9920         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
9921         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
9922         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
9923         Likewise.
9924         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
9925         Likewise.
9926         * nptl/pthread_mutex_getprioceiling.c
9927         (pthread_mutex_getprioceiling): Likewise.
9928         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
9929         Likewise.
9930         * nptl/pthread_mutexattr_getprotocol.c
9931         (pthread_mutexattr_getprotocol): Likewise.
9932         * nptl/pthread_mutexattr_getpshared.c
9933         (pthread_mutexattr_getpshared): Likewise.
9934         * nptl/pthread_mutexattr_getrobust.c
9935         (pthread_mutexattr_getrobust): Likewise.
9936         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
9937         Likewise.
9938         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
9939         Likewise.
9940         * nptl/pthread_mutexattr_setprioceiling.c
9941         (pthread_mutexattr_setprioceiling): Likewise.
9942         * nptl/pthread_mutexattr_setprotocol.c
9943         (pthread_mutexattr_setprotocol): Likewise.
9944         * nptl/pthread_mutexattr_setpshared.c
9945         (pthread_mutexattr_setpshared): Likewise.
9946         * nptl/pthread_mutexattr_setrobust.c
9947         (pthread_mutexattr_setrobust): Likewise.
9948         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
9949         Likewise.
9950         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
9951         Likewise.
9952         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
9953         Likewise.
9954         * nptl/pthread_rwlockattr_getkind_np.c
9955         (pthread_rwlockattr_getkind_np): Likewise.
9956         * nptl/pthread_rwlockattr_getpshared.c
9957         (pthread_rwlockattr_getpshared): Likewise.
9958         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
9959         Likewise.
9960         * nptl/pthread_rwlockattr_setkind_np.c
9961         (pthread_rwlockattr_setkind_np): Likewise.
9962         * nptl/pthread_rwlockattr_setpshared.c
9963         (pthread_rwlockattr_setpshared): Likewise.
9964         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
9965         Likewise.
9966         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
9967         Likewise.
9968         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
9969         Likewise.
9970         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
9971         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
9972         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
9973         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
9974         * nptl/sem_close.c (sem_close): Likewise.
9975         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
9976         * nptl/sem_init.c (__old_sem_init): Likewise.
9977         * nptl/sigaction.c (__sigaction): Likewise.
9978         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
9979         * posix/_exit.c (_exit): Likewise.
9980         * posix/alarm.c (alarm): Likewise.
9981         * posix/confstr.c (confstr): Likewise.
9982         * posix/fpathconf.c (__fpathconf): Likewise.
9983         * posix/getgroups.c (__getgroups): Likewise.
9984         * posix/getpgid.c (__getpgid): Likewise.
9985         * posix/group_member.c (__group_member): Likewise.
9986         * posix/pathconf.c (__pathconf): Likewise.
9987         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
9988         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
9989         * posix/setgid.c (__setgid): Likewise.
9990         * posix/setpgid.c (__setpgid): Likewise.
9991         * posix/setuid.c (__setuid): Likewise.
9992         * posix/sleep.c (__sleep): Likewise.
9993         * posix/sysconf.c (__sysconf): Likewise.
9994         * posix/times.c (__times): Likewise.
9995         * posix/uname.c (__uname): Likewise.
9996         * posix/waitid.c (__waitid): Likewise.
9997         * pwd/getpw.c (__getpw): Likewise.
9998         * resolv/base64.c (b64_pton): Likewise.
9999         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
10000         * resolv/gethnamaddr.c (Dprintf): Likewise.
10001         (gethostbyname): Likewise.
10002         (gethostbyname2): Likewise.
10003         (gethostbyaddr): Likewise.
10004         (_sethtent): Likewise.
10005         (_gethtbyname): Likewise.
10006         (_gethtbyname2): Likewise.
10007         (_gethtbyaddr): Likewise.
10008         (map_v4v6_address): Likewise.
10009         (map_v4v6_hostent): Likewise.
10010         (addrsort): Likewise.
10011         (ht_sethostent): Likewise.
10012         (ht_gethostbyname): Likewise.
10013         (ht_gethostbyaddr): Likewise.
10014         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
10015         (inet_net_ntop_ipv4): Likewise.
10016         * resolv/inet_neta.c (inet_neta): Likewise.
10017         * resolv/inet_ntop.c (inet_ntop): Likewise.
10018         (inet_ntop4): Likewise.
10019         (inet_ntop6): Likewise.
10020         * resolv/inet_pton.c (__inet_pton): Likewise.
10021         (inet_pton4): Likewise.
10022         (inet_pton6): Likewise.
10023         * resolv/res_debug.c (loc_aton): Likewise.
10024         (loc_ntoa): Likewise.
10025         * resource/getpriority.c (__getpriority): Likewise.
10026         * resource/getrusage.c (__getrusage): Likewise.
10027         * resource/nice.c (nice): Likewise.
10028         * resource/setpriority.c (__setpriority): Likewise.
10029         * resource/setrlimit64.c (setrlimit64): Likewise.
10030         * resource/vlimit.c (vlimit): Likewise.
10031         * resource/vtimes.c (vtimes): Likewise.
10032         * rt/aio_error.c (aio_error): Likewise.
10033         * rt/aio_return.c (aio_return): Likewise.
10034         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
10035         * signal/kill.c (__kill): Likewise.
10036         * signal/killpg.c (killpg): Likewise.
10037         * signal/raise.c (raise): Likewise.
10038         * signal/sigaction.c (__sigaction): Likewise.
10039         * signal/sigaddset.c (sigaddset): Likewise.
10040         * signal/sigaltstack.c (sigaltstack): Likewise.
10041         * signal/sigandset.c (sigandset): Likewise.
10042         * signal/sigblock.c (__sigblock): Likewise.
10043         * signal/sigdelset.c (sigdelset): Likewise.
10044         * signal/sigempty.c (sigemptyset): Likewise.
10045         * signal/sigfillset.c (sigfillset): Likewise.
10046         * signal/sighold.c (sighold): Likewise.
10047         * signal/sigignore.c (sigignore): Likewise.
10048         * signal/sigintr.c (siginterrupt): Likewise.
10049         * signal/sigisempty.c (sigisemptyset): Likewise.
10050         * signal/sigismem.c (sigismember): Likewise.
10051         * signal/signal.c (signal): Likewise.
10052         * signal/sigorset.c (sigorset): Likewise.
10053         * signal/sigpause.c (__sigpause): Likewise.
10054         * signal/sigpending.c (sigpending): Likewise.
10055         * signal/sigprocmask.c (__sigprocmask): Likewise.
10056         * signal/sigrelse.c (sigrelse): Likewise.
10057         * signal/sigreturn.c (__sigreturn): Likewise.
10058         * signal/sigset.c (sigset): Likewise.
10059         * signal/sigsetmask.c (__sigsetmask): Likewise.
10060         * signal/sigstack.c (sigstack): Likewise.
10061         * signal/sigsuspend.c (__sigsuspend): Likewise.
10062         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
10063         * signal/sysv_signal.c (__sysv_signal): Likewise.
10064         * socket/accept.c (accept): Likewise.
10065         * socket/accept4.c (__libc_accept4): Likewise.
10066         * socket/bind.c (__bind): Likewise.
10067         * socket/connect.c (__connect): Likewise.
10068         * socket/getpeername.c (getpeername): Likewise.
10069         * socket/getsockname.c (__getsockname): Likewise.
10070         * socket/getsockopt.c (getsockopt): Likewise.
10071         * socket/listen.c (__listen): Likewise.
10072         * socket/recv.c (__recv): Likewise.
10073         * socket/recvmsg.c (__recvmsg): Likewise.
10074         * socket/send.c (__send): Likewise.
10075         * socket/sendmsg.c (__sendmsg): Likewise.
10076         * socket/shutdown.c (shutdown): Likewise.
10077         * socket/sockatmark.c (sockatmark): Likewise.
10078         * socket/socket.c (__socket): Likewise.
10079         * stdio-common/ctermid.c (ctermid): Likewise.
10080         * stdio-common/cuserid.c (cuserid): Likewise.
10081         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
10082         * stdio-common/remove.c (remove): Likewise.
10083         * stdio-common/rename.c (rename): Likewise.
10084         * stdio-common/renameat.c (renameat): Likewise.
10085         * stdio-common/tempname.c (__gen_tempname): Likewise.
10086         * stdio-common/xbug.c (InitBuffer): Likewise.
10087         (AppendToBuffer): Likewise.
10088         (ReadFile): Likewise.
10089         * stdlib/a64l.c (a64l): Likewise.
10090         * stdlib/drand48_r.c (drand48_r): Likewise.
10091         * stdlib/getcontext.c (getcontext): Likewise.
10092         * stdlib/getenv.c (getenv): Likewise.
10093         * stdlib/l64a.c (l64a): Likewise.
10094         * stdlib/llabs.c (llabs): Likewise.
10095         * stdlib/lldiv.c (lldiv): Likewise.
10096         * stdlib/lrand48_r.c (lrand48_r): Likewise.
10097         * stdlib/mrand48_r.c (mrand48_r): Likewise.
10098         * stdlib/putenv.c (putenv): Likewise.
10099         * stdlib/random.c (__srandom): Likewise.
10100         (__initstate): Likewise.
10101         (__setstate): Likewise.
10102         * stdlib/random_r.c (__srandom_r): Likewise.
10103         (__setstate_r): Likewise.
10104         (__random_r): Likewise.
10105         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
10106         * stdlib/setcontext.c (setcontext): Likewise.
10107         * stdlib/setenv.c (setenv): Likewise.
10108         (unsetenv): Likewise.
10109         * stdlib/srand48.c (srand48): Likewise.
10110         * stdlib/srand48_r.c (__srand48_r): Likewise.
10111         * stdlib/swapcontext.c (swapcontext): Likewise.
10112         * stdlib/system.c (__libc_system): Likewise.
10113         * stdlib/tst-strtod.c (expand): Likewise.
10114         * stdlib/tst-strtol.c (expand): Likewise.
10115         * stdlib/tst-strtoll.c (expand): Likewise.
10116         * streams/fattach.c (fattach): Likewise.
10117         * streams/fdetach.c (fdetach): Likewise.
10118         * streams/getmsg.c (getmsg): Likewise.
10119         * streams/isastream.c (isastream): Likewise.
10120         * string/ffs.c (__ffs): Likewise.
10121         * string/ffsll.c (ffsll): Likewise.
10122         * string/memcmp.c (memcmp_common_alignment): Likewise.
10123         (memcmp_not_common_alignment): Likewise.
10124         (MEMCMP): Likewise.
10125         * string/memcpy.c (memcpy): Likewise.
10126         * string/memmove.c (MEMMOVE): Likewise.
10127         * string/memset.c (memset): Likewise.
10128         * string/rawmemchr.c (RAWMEMCHR): Likewise.
10129         * string/strchrnul.c (STRCHRNUL): Likewise.
10130         * string/strerror.c (strerror): Likewise.
10131         * string/strndup.c (__strndup): Likewise.
10132         * string/strverscmp.c (__strverscmp): Likewise.
10133         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
10134         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
10135         (clnttcp_freeres): Likewise.
10136         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
10137         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
10138         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
10139         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
10140         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
10141         (xdr_callhdr): Likewise.
10142         * sunrpc/rpcinfo.c (udpping): Likewise.
10143         (tcpping): Likewise.
10144         (pstatus): Likewise.
10145         (pmapdump): Likewise.
10146         (brdcst): Likewise.
10147         (deletereg): Likewise.
10148         (getprognum): Likewise.
10149         (getvers): Likewise.
10150         (get_inet_address): Likewise.
10151         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
10152         * sunrpc/svc_udp.c (svcudp_create): Likewise.
10153         (svcudp_stat): Likewise.
10154         (svcudp_recv): Likewise.
10155         (svcudp_reply): Likewise.
10156         (svcudp_getargs): Likewise.
10157         (svcudp_freeargs): Likewise.
10158         (svcudp_destroy): Likewise.
10159         * sunrpc/xdr.c (xdr_bytes): Likewise.
10160         (xdr_netobj): Likewise.
10161         (xdr_string): Likewise.
10162         (xdr_wrapstring): Likewise.
10163         * sunrpc/xdr_float.c (xdr_float): Likewise.
10164         (xdr_double): Likewise.
10165         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
10166         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
10167         * sysvipc/ftok.c (ftok): Likewise.
10168         * sysvipc/msgctl.c (msgctl): Likewise.
10169         * sysvipc/msgget.c (msgget): Likewise.
10170         * sysvipc/msgrcv.c (msgrcv): Likewise.
10171         * sysvipc/msgsnd.c (msgsnd): Likewise.
10172         * sysvipc/semget.c (semget): Likewise.
10173         * sysvipc/semop.c (semop): Likewise.
10174         * sysvipc/shmat.c (shmat): Likewise.
10175         * sysvipc/shmctl.c (shmctl): Likewise.
10176         * sysvipc/shmdt.c (shmdt): Likewise.
10177         * sysvipc/shmget.c (shmget): Likewise.
10178         * termios/cfmakeraw.c (cfmakeraw): Likewise.
10179         * termios/speed.c (cfgetospeed): Likewise.
10180         (cfgetispeed): Likewise.
10181         (cfsetospeed): Likewise.
10182         (cfsetispeed): Likewise.
10183         * termios/tcflow.c (tcflow): Likewise.
10184         * termios/tcflush.c (tcflush): Likewise.
10185         * termios/tcgetattr.c (__tcgetattr): Likewise.
10186         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
10187         * termios/tcgetsid.c (tcgetsid): Likewise.
10188         * termios/tcsendbrk.c (tcsendbreak): Likewise.
10189         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
10190         * time/adjtime.c (__adjtime): Likewise.
10191         * time/dysize.c (dysize): Likewise.
10192         * time/ftime.c (ftime): Likewise.
10193         * time/getitimer.c (__getitimer): Likewise.
10194         * time/gettimeofday.c (__gettimeofday): Likewise.
10195         * time/gmtime.c (__gmtime_r): Likewise.
10196         (gmtime): Likewise.
10197         * time/localtime.c (__localtime_r): Likewise.
10198         (localtime): Likewise.
10199         * time/offtime.c (__offtime): Likewise.
10200         * time/settimeofday.c (__settimeofday): Likewise.
10201         * time/stime.c (stime): Likewise.
10202         * time/strftime_l.c (tm_diff): Likewise.
10203         (iso_week_days): Likewise.
10204         * time/strptime.c (strptime): Likewise.
10205         * time/time.c (time): Likewise.
10206         * time/timespec_get.c (timespec_get): Likewise.
10207         * time/tzset.c (tzset_internal): Likewise.
10208         (compute_change): Likewise.
10209         (__tz_compute): Likewise.
10210         * wcsmbs/btowc.c (__btowc): Likewise.
10211         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
10212         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
10213         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
10214         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
10215         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
10216         * wcsmbs/wcscat.c (__wcscat): Likewise.
10217         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
10218         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
10219         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
10220         * wcsmbs/wcscspn.c (wcscspn): Likewise.
10221         * wcsmbs/wcsdup.c (wcsdup): Likewise.
10222         * wcsmbs/wcslen.c (__wcslen): Likewise.
10223         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
10224         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
10225         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
10226         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
10227         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
10228         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
10229         * wcsmbs/wcsspn.c (wcsspn): Likewise.
10230         * wcsmbs/wcsstr.c (wcsstr): Likewise.
10231         * wcsmbs/wcstok.c (wcstok): Likewise.
10232         * wcsmbs/wctob.c (wctob): Likewise.
10233         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
10234         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10235         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
10236         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
10237         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
10238         * wcsmbs/wmemset.c (__wmemset): Likewise.
10239         * wctype/wcfuncs.c (__towlower): Likewise.
10240         (__towupper): Likewise.
10242         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
10243         (lll_unlock_elision): Add adapt_count parameter.
10245 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
10247         * sysdeps/nptl/configure.ac: Do not give errors based on the
10248         results of top-level configure tests.
10249         * sysdeps/nptl/configure: Regenerated.
10251         * configure.ac (libc_cv_Bgroup): Remove configure test.
10252         * configure: Regenerated.
10253         * config.make.in (have-Bgroup): Remove variable.
10255         * configure.ac (sizeof_long_double): Remove configure test.
10256         * configure: Regenerated.
10257         * config.make.in (sizeof-long-double): Remove variable.
10259         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
10260         * configure: Regenerated.
10261         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
10262         variable.
10263         (exceptions): Likewise.
10264         * sysdeps/arm/configure: Regenerated.
10265         * config.make.in (exceptions): Remove variable.
10266         * Makeconfig (uses-callbacks): Use -fexceptions instead of
10267         $(exceptions).
10268         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
10269         (CFLAGS-vdprintf_chk.c): Likewise.
10270         (CFLAGS-printf_chk.c): Likewise.
10271         (CFLAGS-fprintf_chk.c): Likewise.
10272         (CFLAGS-vprintf_chk.c): Likewise.
10273         (CFLAGS-vfprintf_chk.c): Likewise.
10274         (CFLAGS-gets_chk.c): Likewise.
10275         (CFLAGS-fgets_chk.c): Likewise.
10276         (CFLAGS-fgets_u_chk.c): Likewise.
10277         (CFLAGS-fread_chk.c): Likewise.
10278         (CFLAGS-fread_u_chk.c): Likewise.
10279         (CFLAGS-wprintf_chk.c): Likewise.
10280         (CFLAGS-fwprintf_chk.c): Likewise.
10281         (CFLAGS-vwprintf_chk.c): Likewise.
10282         (CFLAGS-vfwprintf_chk.c): Likewise.
10283         (CFLAGS-fgetws_chk.c): Likewise.
10284         (CFLAGS-fgetws_u_chk.c): Likewise.
10285         * libio/Makefile (CFLAGS-fileops.c): Likewise.
10286         (CFLAGS-fputc.c): Likewise.
10287         (CFLAGS-fputwc.c): Likewise.
10288         (CFLAGS-freopen64.c): Likewise.
10289         (CFLAGS-freopen.c): Likewise.
10290         (CFLAGS-fseek.c): Likewise.
10291         (CFLAGS-fseeko64.c): Likewise.
10292         (CFLAGS-fseeko.c): Likewise.
10293         (CFLAGS-ftello64.c): Likewise.
10294         (CFLAGS-ftello.c): Likewise.
10295         (CFLAGS-fwide.c): Likewise.
10296         (CFLAGS-genops.c): Likewise.
10297         (CFLAGS-getc.c): Likewise.
10298         (CFLAGS-getchar.c): Likewise.
10299         (CFLAGS-getwc.c): Likewise.
10300         (CFLAGS-getwchar.c): Likewise.
10301         (CFLAGS-iofclose.c): Likewise.
10302         (CFLAGS-iofflush.c): Likewise.
10303         (CFLAGS-iofgetpos64.c): Likewise.
10304         (CFLAGS-iofgetpos.c): Likewise.
10305         (CFLAGS-iofgets.c): Likewise.
10306         (CFLAGS-iofgetws.c): Likewise.
10307         (CFLAGS-iofputs.c): Likewise.
10308         (CFLAGS-iofputws.c): Likewise.
10309         (CFLAGS-iofread.c): Likewise.
10310         (CFLAGS-iofsetpos64.c): Likewise.
10311         (CFLAGS-iofsetpos.c): Likewise.
10312         (CFLAGS-ioftell.c): Likewise.
10313         (CFLAGS-iofwrite.c): Likewise.
10314         (CFLAGS-iogetdelim.c): Likewise.
10315         (CFLAGS-iogetline.c): Likewise.
10316         (CFLAGS-iogets.c): Likewise.
10317         (CFLAGS-iogetwline.c): Likewise.
10318         (CFLAGS-ioputs.c): Likewise.
10319         (CFLAGS-ioseekoff.c): Likewise.
10320         (CFLAGS-ioseekpos.c): Likewise.
10321         (CFLAGS-iosetbuffer.c): Likewise.
10322         (CFLAGS-iosetvbuf.c): Likewise.
10323         (CFLAGS-ioungetc.c): Likewise.
10324         (CFLAGS-ioungetwc.c): Likewise.
10325         (CFLAGS-oldfileops.c): Likewise.
10326         (CFLAGS-oldiofclose.c): Likewise.
10327         (CFLAGS-oldiofgetpos64.c): Likewise.
10328         (CFLAGS-oldiofgetpos.c): Likewise.
10329         (CFLAGS-oldiofsetpos64.c): Likewise.
10330         (CFLAGS-oldiofsetpos.c): Likewise.
10331         (CFLAGS-peekc.c): Likewise.
10332         (CFLAGS-putc.c): Likewise.
10333         (CFLAGS-putchar.c): Likewise.
10334         (CFLAGS-putwc.c): Likewise.
10335         (CFLAGS-putwchar.c): Likewise.
10336         (CFLAGS-rewind.c): Likewise.
10337         (CFLAGS-wfileops.c): Likewise.
10338         (CFLAGS-wgenops.c): Likewise.
10339         (CFLAGS-oldiofopen.c): Likewise.
10340         (CFLAGS-iofopen.c): Likewise.
10341         (CFLAGS-iofopen64.c): Likewise.
10342         (CFLAGS-oldtmpfile.c): Likewise.
10343         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
10344         (CFLAGS-fprintf.c): Likewise.
10345         (CFLAGS-printf.c): Likewise.
10346         (CFLAGS-vfwprintf.c): Likewise.
10347         (CFLAGS-vfscanf.c): Likewise.
10348         (CFLAGS-vfwscanf.c): Likewise.
10349         (CFLAGS-fscanf.c): Likewise.
10350         (CFLAGS-scanf.c): Likewise.
10351         (CFLAGS-isoc99_vfscanf.c): Likewise.
10352         (CFLAGS-isoc99_vscanf.c): Likewise.
10353         (CFLAGS-isoc99_fscanf.c): Likewise.
10354         (CFLAGS-isoc99_scanf.c): Likewise.
10355         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
10356         (CFLAGS-isoc99_fwscanf.c): Likewise.
10357         (CFLAGS-isoc99_vwscanf.c): Likewise.
10358         (CFLAGS-isoc99_vfwscanf.c): Likewise.
10360         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
10361         after mkstemp64.
10362         * login/tst-utmp.c (do_prepare): Likewise.
10363         * rt/tst-aio.c (do_prepare): Likewise.
10364         * rt/tst-aio64.c (do_prepare): Likewise.
10366 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10368         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10369         (__lll_lock_elision): Remove adapt_count decrement...
10370         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10371         (__lll_trylock_elision): Likewise.
10372         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10373         (__lll_unlock_elision): ... to here. And utilize
10374         new adapt_count parameter.
10375         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10376         (__lll_unlock_elision): Update to include adapt_count
10377         parameter.
10378         (lll_unlock_elision): Pass pointer to adapt_count
10379         variable.
10381 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10383         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
10384         Add elision adapt_count parameter to list of arguments.
10385         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10386         (lll_unlock_elision): Update with new parameter list
10387         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
10388         (lll_unlock_elision): Likewise.
10389         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
10390         (lll_unlock_elision): Likewise.
10392 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10394         [BZ #19122]
10395         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
10396         attribute_hidden.
10398         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
10399         attribute_hidden.
10400         [IS_IN (rtld)] (__strdup): Likewise.
10401         [IS_IN (rtld)] (__strerror_r): Likewise.
10402         [IS_IN (rtld)] (__strsep_g): Likewise.
10403         [IS_IN (rtld)] (memchr): Likewise.
10404         [IS_IN (rtld)] (memcmp): Likewise.
10405         [IS_IN (rtld)] (memcpy): Likewise.
10406         [IS_IN (rtld)] (memmove): Likewise.
10407         [IS_IN (rtld)] (memset): Likewise.
10408         [IS_IN (rtld)] (rawmemchr): Likewise.
10409         [IS_IN (rtld)] (stpcpy): Likewise.
10410         [IS_IN (rtld)] (strchr): Likewise.
10411         [IS_IN (rtld)] (strcmp): Likewise.
10412         [IS_IN (rtld)] (strlen): Likewise.
10413         [IS_IN (rtld)] (strnlen): Likewise.
10414         [IS_IN (rtld)] (strsep): Likewise.
10416         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
10417         attribute_hidden.
10418         [IS_IN (rtld)] (__strtoul_internal): Likewise.
10420         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
10421         attribute_hidden.
10422         [IS_IN (rtld)] (__libc_sigaction): Likewise.
10424         * include/setjmp.h (__longjmp): Add attribute_hidden.
10425         [IS_IN (rtld)] (__sigsetjmp): Likewise.
10427         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
10428         Add attribute_hidden.
10430         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
10431         [IS_IN (rtld)] (__open): Likewise.
10432         [IS_IN (rtld)] (__fcntl): Likewise.
10434         * include/dirent.h (__opendirat): Add attribute_hidden.
10435         (__getdents): Likewise.
10436         (__getdents64): Likewise.
10437         (__alloc_dir): Likewise.
10438         [IS_IN (rtld)] (__closedir): Likewise.
10439         [IS_IN (rtld)] (__fdopendir): Likewise.
10440         [IS_IN (rtld)] (__readdir): Likewise.
10441         [IS_IN (rtld)] (__readdir64): Likewise.
10442         [IS_IN (rtld)] (__rewinddir): Likewise.
10444         * include/dlfcn.h (_dl_catch_error): Moved to ...
10445         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
10446         attribute_hidden.
10448         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
10449         (_itoa_word): Likewise.
10451         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
10452         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
10453         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
10454         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
10455         (_dl_higher_prime_number): Likewise.
10456         (_dl_debug_printf_c): Likewise.
10457         (_dl_signal_cerror): Likewise.
10458         (_dl_receive_error): Likewise.
10459         (_dl_reloc_bad_type): Likewise.
10460         (_dl_resolve_conflicts): Likewise.
10461         (_dl_check_all_versions): Likewise.
10462         (_dl_check_map_versions): Likewise.
10463         (_dl_sort_fini): Likewise.
10464         (_dl_debug_initialize): Likewise.
10465         (_dl_init_paths): Likewise.
10466         (_dl_show_auxv): Likewise.
10467         (_dl_next_ld_env_entry): Likewise.
10468         (_dl_important_hwcaps): Likewise.
10469         (_dl_load_cache_lookup): Likewise.
10470         (_dl_update_slotinfo): Likewise.
10471         (_dl_show_scope): Likewise.
10473         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
10474         attribute_hidden.
10475         (_wordcopy_fwd_dest_aligned): Likewise.
10476         (_wordcopy_bwd_aligned): Likewise.
10477         (_wordcopy_bwd_dest_aligned): Likewise.
10479         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10480         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10481         Likewise.
10482         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10483         Likewise.
10484         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
10486 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10488         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
10489         GCC 5 requirement.
10491 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
10493         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
10494         test.
10495         * sysdeps/i386/configure: Regenerated.
10496         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
10497         code unconditional.
10499         * configure.ac (libc_cv_asm_previous_directive): Remove configure
10500         test.
10501         (libc_cv_asm_popsection_directive): Likewise.
10502         * configure: Regenerated.
10503         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
10504         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
10505         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
10506         (__make_section_unallocated): Make definition unconditional.
10507         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
10508         Remove conditional definition.
10509         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
10510         (__make_section_unallocated): Likewise.
10512         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
10513         * configure: Regenerated.
10514         * config.make.in (static-libgcc): Remove variable.
10515         * Makerules (build-shlib-helper): Use -static-libgcc instead of
10516         $(static-libgcc).
10517         (build-module-helper): Likewise.
10519         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
10520         * configure: Regenerated.
10522 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10524         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
10525         (struct char_buffer): New type.
10526         (char_buffer_start, char_buffer_size, char_buffer_error)
10527         (char_buffer_rewind, char_buffer_add): New functions.
10528         (ADDW): Remove macro, replaced by the char_buffer_add function.
10529         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
10530         of extend_alloca.  Make control flow more explicit.
10532 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10534         [BZ #19137]
10535         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10536         Add -fomit-frame-pointer.
10537         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
10539 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10541         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
10542         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
10543         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
10544         only if !__GNUC_PREREQ (5,0).
10545         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
10546         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
10547         (INTERNAL_SYSCALL_NCS): Likewise.
10548         (LOADREGS_0): New macro for GCC 5.
10549         (ASMARGS_0): Likewise.
10550         (LOADREGS_1): Likewise.
10551         (ASMARGS_1): Likewise.
10552         (LOADREGS_2): Likewise.
10553         (ASMARGS_2): Likewise.
10554         (LOADREGS_3): Likewise.
10555         (ASMARGS_3): Likewise.
10556         (LOADREGS_4): Likewise.
10557         (ASMARGS_4): Likewise.
10558         (LOADREGS_5): Likewise.
10559         (ASMARGS_5): Likewise.
10560         (LOADREGS_6): Likewise.
10561         (ASMARGS_6): Likewise.
10563 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10565         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
10566         -fomit-frame-pointer.
10567         (CFLAGS-mmap64.c): Likewise.
10568         (CFLAGS-semtimedop.c): Likewise.
10569         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
10570         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
10571         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10572         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10574 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10576         [BZ #18928]
10577         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
10578         _dl_pointer_guard member.
10579         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
10580         initializer.
10581         (security_init): Always set up pointer guard.
10582         (process_envvars): Do not process LD_POINTER_GUARD.
10584 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
10586         [BZ #19134]
10587         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
10588         (.LC2): Likewise.
10589         (.LC3): Likewise.
10590         (__lround): Do not add 0.5 to integer or out-of-range arguments.
10592 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10594         [BZ #19129]
10595         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
10596         r0 and r1.
10598 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
10600         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
10602 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
10604         * include/stap-probe.h: Fix macro definition formatting.
10606 2015-10-14  Florian Weimer  <fweimer@redhat.com>
10608         [BZ #19074]
10609         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
10610         load and store num_ifs.
10612 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10614         [BZ #18822]
10615         * sysdeps/unix/sysv/linux/sched_getaffinity.c
10616         (__sched_getaffinity_new): Add libc_hidden_proto and
10617         libc_hidden_def.
10619 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10621         [BZ #19007]
10622         * scripts/localplt.awk: Also allow GOT references.
10623         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
10624         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
10625         with "+ REL R_386_GLOB_DAT".
10626         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
10627         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
10629 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10631         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
10632         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10633         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
10634         Likewise.
10635         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
10636         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
10637         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10638         INTERNAL_SYSCALLINTERNAL_SYSCALL and
10639         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10640         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10641         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10642         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10643         Likewise.
10644         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10646 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
10648         [BZ #19125]
10649         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
10650         <math_private.h> and <stdint.h>.
10651         (__llround): Avoid conversions to and from long long int, and
10652         subtractions, where those might raise spurious exceptions.
10653         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
10654         <math_private.h> and <stdint.h>.
10655         (__llroundf): Avoid conversions to and from long long int, and
10656         subtractions, where those might raise spurious exceptions.
10658 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10660         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
10661         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10662         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10663         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
10664         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10665         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10666         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
10667         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
10668         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
10669         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10670         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10671         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10672         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
10673         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10674         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10675         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
10676         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
10677         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10678         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
10679         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
10680         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
10681         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
10682         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
10683         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
10684         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
10685         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10686         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
10687         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10688         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10689         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
10690         (__xstat64_conv): Likewise.
10691         (__xstat32_conv): Likewise.
10693 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10695         * sysdeps/unix/sysv/linux/sysdep.h: New file.
10696         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
10697         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
10698         <sysdeps/unix/sysv/linux/sysdep.h>.
10699         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10700         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
10701         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
10702         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10703         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10704         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
10705         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
10706         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
10707         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
10708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10710         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10711         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10712         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10713         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10714         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10715         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
10716         (sysdep-dl-routines): Add sysdep.
10717         [$(subdir) == nptl] (libpthread-routines): Likewise.
10718         [$(subdir) == rt] (librt-routines): Likewise.
10719         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
10720         PIC when branching to SYSCALL_ERROR_LABEL.
10721         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
10722         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
10723         <sysdeps/unix/sysv/linux/sysdep.h>.
10724         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
10725         (SYSCALL_ERROR_ERRNO): Removed.
10726         (SYSCALL_ERROR_HANDLER): Changed to empty.
10727         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
10728         (__syscall_error): New prototype.
10729         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
10730         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
10732 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10734         [BZ #19124]
10735         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
10736         (_dl_runtime_resolve_avx512): Make it a hidden alias of
10737         _dl_runtime_resolve_avx.
10738         (_dl_runtime_profile_avx512): Make it a hidden alias of
10739         _dl_runtime_profile_avx.
10741 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
10743         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
10744         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
10745         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
10746         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
10748         [BZ #16422]
10749         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
10750         New configure test.
10751         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
10752         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
10753         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
10754         <math_private.h> and <stdint.h>.
10755         (__llrint): Avoid conversions to long long int where those might
10756         raise spurious exceptions.
10757         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
10758         <math_private.h> and <stdint.h>.
10759         (__llrintf): Avoid conversions to long long int where those might
10760         raise spurious exceptions.
10762 2015-10-12  Andreas Schwab  <schwab@suse.de>
10764         [BZ #18969]
10765         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
10766         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
10767         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
10768         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
10769         $(gen-locales).
10770         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
10771         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
10772         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
10773         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
10774         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
10775         $(gen-locales).
10776         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
10777         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
10778         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
10779         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
10780         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
10781         ($(objpfx)tst-ftell-active-handler.out)
10782         ($(objpfx)tst-ftell-append.out)
10783         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
10784         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
10785         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
10786         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
10787         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
10788         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
10789         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
10790         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
10791         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
10792         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
10793         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
10794         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
10795         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
10796         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
10797         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
10798         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
10799         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
10800         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
10801         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
10802         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
10803         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
10804         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
10805         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
10806         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
10807         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
10808         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
10809         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
10810         $(gen-locales).
10811         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
10812         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
10813         $(gen-locales).
10814         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
10815         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
10816         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
10817         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
10818         $(gen-locales).
10819         * libio/tst_wprintf2.c (main): Use explicit locale.
10820         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
10822 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10824         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
10825         __msg_sig_post.
10826         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
10828 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
10830         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10831         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10833         * sysdeps/arm/libm-test-ulps: Regenerated.
10835         [BZ #15470]
10836         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
10838         [BZ #16399]
10839         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
10840         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
10841         and <fix-fp-int-convert-overflow.h>.
10842         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10843         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10844         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
10845         and <fix-fp-int-convert-overflow.h>.
10846         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
10847         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10848         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
10849         <fix-fp-int-convert-overflow.h>.
10850         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10851         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10852         * sysdeps/ieee754/dbl-64/s_lround.c: Include
10853         <fix-fp-int-convert-overflow.h>.
10854         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
10855         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10856         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
10857         and <fix-fp-int-convert-overflow.h>.
10858         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10859         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10860         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
10861         <limits.h> and <fix-fp-int-convert-overflow.h>.
10862         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10863         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10864         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
10865         and <fix-fp-int-convert-overflow.h>.
10866         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10867         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10868         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
10869         and <fix-fp-int-convert-overflow.h>.
10870         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10871         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10872         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
10874 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
10876         [BZ #18589]
10877         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
10878         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
10879         $(gen-locales).
10881 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10882             Phil Blundell <pb@pbcl.net>
10884         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
10885         * nptl/tst-cancel26.c: New file.
10886         * nptl/tst-cancel27.c: Likewise.
10888 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
10890         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
10891         __ILP32__ isn't defined.
10892         (lrint): Likewise.
10893         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
10894         (lrintf): Likewise.
10895         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
10896         (lrintl): Likewise.
10897         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
10898         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
10899         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
10901 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10903         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10904         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10906         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
10907         file.
10908         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
10909         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
10911 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
10913         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
10914         configure test.
10915         * sysdeps/i386/configure: Regenerated.
10916         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
10917         configure test.
10918         * sysdeps/x86_64/configure: Regenerated.
10919         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
10920         Make code unconditional.
10922         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
10923         test.
10924         * sysdeps/i386/configure: Regenerated.
10925         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
10926         test.
10927         * sysdeps/x86_64/configure: Regenerated.
10928         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
10929         Make code unconditional.
10930         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
10931         Likewise.
10932         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
10933         Likewise.
10934         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10935         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
10936         code unconditional.
10937         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10938         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
10939         code unconditional.
10940         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10941         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
10942         code unconditional.
10943         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
10944         code unconditional.
10945         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10946         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
10947         code unconditional.
10948         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10949         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
10950         code unconditional.
10951         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10952         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
10953         code unconditional.
10954         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10955         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
10956         code unconditional.
10957         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10958         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
10960         [BZ #19095]
10961         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
10962         mantissa to long int before shifting left.
10964 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
10966         [BZ #19094]
10967         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
10968         <limits.h>.
10969         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10970         when result overflows but exception would not result from cast.
10971         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
10972         <limits.h>.
10973         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10974         when result overflows but exception would not result from cast.
10975         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
10976         <limits.h>.
10977         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10978         when result overflows but exception would not result from cast.
10979         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
10980         <limits.h>.
10981         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10982         when result overflows but exception would not result from cast.
10983         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
10984         <limits.h>.
10985         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10986         when result overflows but exception would not result from cast.
10987         * math/libm-test.inc (lrint_test_data): Add more tests.
10988         (llrint_test_data): Likewise.
10990 2015-10-08  Roland McGrath  <roland@hack.frob.com>
10992         [BZ #18872]
10993         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
10994         Move out from under [$(run-built-tests) = yes] conditional.
10995         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
10996         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
10998 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
11000         [BZ #18589]
11001         * string/Makefile (tests): Add bug-strcoll2.
11002         (LOCALES): Add cs_CZ.UTF-8.
11003         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
11005         [BZ #18589]
11006         * string/bug-strcoll2.c: New file.
11007         * locale/categories.def: Revert commit
11008         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
11009         * locale/langinfo.h: Likewise.
11010         * locale/localeinfo.h: Likewise.
11011         * locale/C-collate.c: Likewise.
11012         * locale/programs/ld-collate.c (collate_output): Likewise.
11013         * string/strcoll_l.c (STRDIFF): Likewise.
11014         (STRCOLL): Likewise.
11015         * wcsmbs/wcscoll_l.c: Likewise.
11017 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
11019         * math/libm-test.inc (lround_test_data): Do not expect the absence
11020         of "inexact" for some tests with non-integer arguments.
11021         (llround_test_data): Likewise.
11023         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
11024         test.
11025         (libc_cv_cc_sse2avx): Likewise.
11026         * sysdeps/i386/configure: Regenerated.
11027         * sysdeps/i386/i686/multiarch/Makefile
11028         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
11029         [$(subdir) = math].
11030         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
11031         code unconditional.
11032         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11033         Likewise.
11034         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
11035         Likewise.
11036         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11037         Likewise.
11038         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
11039         test.
11040         (libc_cv_cc_sse2avx): Likewise.
11041         * sysdeps/x86_64/configure: Regenerated.
11042         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
11043         unconditional.
11044         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
11045         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
11046         unconditional.
11047         (_dl_runtime_profile)
11048         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
11049         conditional code.
11050         * sysdeps/x86_64/fpu/multiarch/Makefile
11051         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
11052         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
11053         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11054         * sysdeps/x86_64/fpu/multiarch/e_exp.c
11055         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11056         * sysdeps/x86_64/fpu/multiarch/e_log.c
11057         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11058         * sysdeps/x86_64/fpu/multiarch/s_atan.c
11059         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11060         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11061         Likewise.
11062         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11063         Likewise.
11064         * sysdeps/x86_64/fpu/multiarch/s_sin.c
11065         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11066         * sysdeps/x86_64/fpu/multiarch/s_tan.c
11067         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11068         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
11069         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
11070         (HAVE_SSE2AVX_SUPPORT): Likewise.
11072 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
11074         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
11075         instead of #pragma optimize.
11077 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
11079         [BZ #17195]
11080         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
11081         as is similarly done in systrim and _int_free already.
11083 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11085         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
11087 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11089         [BZ #19088]
11090         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
11091         <limits.h>.
11092         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11093         overflows but exception would not result from cast.
11094         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
11095         and <limits.h>.
11096         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11097         overflows but exception would not result from cast.
11098         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
11099         <limits.h>.
11100         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11101         overflows but exception would not result from cast.
11102         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
11103         <limits.h>.
11104         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11105         overflows but exception would not result from cast.
11106         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
11107         <limits.h>.
11108         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11109         overflows but exception would not result from cast.
11110         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
11111         <limits.h>.
11112         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11113         overflows but exception would not result from cast.
11114         * math/libm-test.inc (lround_test_data): Add more tests.
11115         (llround_test_data): Likewise.
11117 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
11119         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
11120         (CFLAGS-ialloc.c): Ditto.
11121         (CFLAGS-scheck.c): Ditto.
11123 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
11125         [BZ #19086]
11126         * manual/filesys.texi (Storage Allocation): Fix argument order for
11127         posix_fallocate64.
11129 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11131         [BZ #19085]
11132         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
11133         exponent below 48 inside case for non-overflowing exponent.
11134         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
11136 2015-10-07  Florian Weimer  <fweimer@redhat.com>
11138         * iconvdata/cp737.h (from_idx): Add const.
11139         * iconvdata/cp775.h (from_idx): Likewise.
11141 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11143         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
11144         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
11145         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
11147         [BZ #19079]
11148         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
11149         file, conditioned on [!_LP64].
11150         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
11151         [!_LP64] (__lround): Do not define as function or alias.
11152         [!_LP64] (lround): Likewise.
11153         [!_LP64] (__lroundl): Likewise.
11154         [!_LP64] (lroundl): Likewise.
11155         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
11156         macro.
11157         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
11158         Likewise.
11160 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
11162         * math/libm-test.inc (lrint_test_data): Add more tests.
11163         (llrint_test_data): Likewise.
11164         (lround_test_data): Likewise.
11165         (llround_test_data): Likewise.
11167         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
11168         (llrint_test_data): Add tests used for lrint.
11170         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
11171         test.
11172         * sysdeps/i386/configure: Regenerated.
11173         * sysdeps/i386/i686/multiarch/Makefile
11174         [$(config-cflags-sse4) = yes]: Make code unconditional.
11175         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
11176         Likewise.
11177         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
11178         Likewise.
11179         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
11180         test.
11181         * sysdeps/x86_64/configure: Regenerated.
11182         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
11183         Make code unconditional.
11184         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
11185         Likewise.
11186         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
11187         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
11189         * scripts/rpm2dynsym.sh: Remove file.
11191 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11193         * configure.ac (libc_cv_cxx_thread_local): Define.
11194         * configure: Regenerate.
11195         * config.make.in (have-cxx-thread_local): Define.
11196         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
11197         (LDLIBS-tst-thread_local1): Define.
11198         (tests): Add tst-thread_local1.
11199         [have-cxx-thread_local != yes] (tests-unsupported): Add
11200         tst-thread_local1.
11201         * nptl/tst-thread_local1.cc: New file.
11203 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
11205         [BZ #19078]
11206         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
11207         (u_thres): Likewise.
11208         (__expl): Determine whether to call __kernel_standard_l based on
11209         value of result, not argument.
11211         * math/libm-test.inc (scalb_test_data): Add more expectations for
11212         the "inexact" exception.
11214         [BZ #19077]
11215         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
11216         0.0L for argument 1.0L.
11218         [BZ #19076]
11219         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
11220         constant 0.0L when computing infinite result.
11222 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11224         [BZ #10432]
11225         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
11226         malloc_usable_size.
11228 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11230         [BZ #19018]
11231         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11232         Mangle function pointer before storing it.
11233         (__call_tls_dtors): Demangle function pointer before calling it.
11235 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11237         [BZ #19012]
11238         * iconv/gconv_db.c (gen_steps): Check for additional errors.
11239         Clean up on failure.
11241 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
11243         [BZ #19071]
11244         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
11245         long int variable to store possibly incremented high part of
11246         mantissa.
11247         * math/libm-test.inc (lround_test_data): Add tests used for
11248         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
11249         for tests requiring 64-bit long.  Do not condition tests on
11250         [TEST_FLOAT] unnecessarily.
11251         (llround_test_data): Add tests used for lround.  Add another
11252         expectation for the "inexact" exception.  Do not condition tests
11253         on [TEST_FLOAT] unnecessarily.
11255         [BZ #887]
11256         [BZ #19049]
11257         [BZ #19050]
11258         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
11259         * sysdeps/ieee754/dbl-64/e_log10.c: Include
11260         <fix-int-fp-convert-zero.h>.
11261         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11262         * sysdeps/ieee754/dbl-64/e_log2.c: Include
11263         <fix-int-fp-convert-zero.h>.
11264         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11265         * sysdeps/ieee754/dbl-64/s_erf.c: Include
11266         <fix-int-fp-convert-zero.h>.
11267         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11268         * sysdeps/ieee754/dbl-64/s_logb.c: Include
11269         <fix-int-fp-convert-zero.h>.
11270         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11271         * sysdeps/ieee754/flt-32/e_log10f.c: Include
11272         <fix-int-fp-convert-zero.h>.
11273         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11274         * sysdeps/ieee754/flt-32/e_log2f.c: Include
11275         <fix-int-fp-convert-zero.h>.
11276         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11277         * sysdeps/ieee754/flt-32/s_erff.c: Include
11278         <fix-int-fp-convert-zero.h>.
11279         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11280         * sysdeps/ieee754/flt-32/s_logbf.c: Include
11281         <fix-int-fp-convert-zero.h>.
11282         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11283         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
11284         <fix-int-fp-convert-zero.h>.
11285         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11286         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
11287         <fix-int-fp-convert-zero.h>.
11288         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11289         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
11290         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
11291         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
11292         file.
11293         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
11295 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
11297         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11299 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
11301         [BZ #19059]
11302         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
11303         overflowing computation.
11304         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11305         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11306         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11307         Likewise.
11308         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11309         Likewise.
11310         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11311         Likewise.
11312         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11313         Likewise.
11314         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11315         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11316         Likewise.
11317         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11318         Likewise.
11319         * math/libm-test.inc (nexttoward_test_data): Add more tests.
11321         * nss/rewrite_field.c (__nss_rewrite_field): Use
11322         internal_function.
11323         * nss/valid_field.c (__nss_valid_field): Likewise.
11324         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
11326 2015-10-02  Florian Weimer  <fweimer@redhat.com>
11328         [BZ #18724]
11329         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
11330         (__nss_invalid_field_characters, __nss_valid_field)
11331         (__nss_valid_list_field, __nss_rewrite_field): Declare.
11332         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
11333         tst-field.c: New file.
11334         * nss/Makefile (routines): Add valid_field, rewrite_field.
11335         (tests-static): Define unconditionally.
11336         (tests): Include tests-static.
11337         [build-static-nss] (tests-static): Use append.
11338         [build-static-nss] (tests): Remove modification.
11339         * nss/getent.c (print_group): Call putgrent.  Report error.
11340         (print_gshadow): Call putsgent.  Report error.
11341         (print_passwd): Call putpwent.  Report error.
11342         (print_shadow): Call putspent.  Report error.
11343         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
11344         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
11345         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
11346         name, password, directory, shell fields for valid syntax.  Rewrite
11347         GECOS field to match syntax.
11348         * pwd/Makefile (tests): Add tst-putpwent.
11349         * pwd/tst-putpwent.c: New file.
11350         * grp/putgrent.c (putgrent): Convert to ISO function definition.
11351         Check grName, grpasswd, gr_mem fields for valid syntax.
11352         Change loop variable i to size_t.
11353         * grp/Makefile (tests): Add tst-putgrent.
11354         * grp/tst-putgrent.c: New file.
11355         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
11356         valid syntax.
11357         * shadow/Makefile (tests): Add tst-putspent.
11358         * shadow/tst-putspent.c: New file.
11359         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
11360         sg_mem fields for valid syntax.
11361         * gshadow/Makefile (tests): Add tst-putsgent.
11362         * gshadow/tst-putsgent.c: New file.
11364 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11366         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
11367         assembly instructions.
11369 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11371         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
11372         prefix from operands.
11374 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
11376         [BZ #16347]
11377         [BZ #19046]
11378         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
11379         <libc-internal.h>.
11380         (MAXLGM): Do not use diagnostic control macros.
11381         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
11382         threshold for ldbl-128ibm.
11383         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
11384         instead of multiplying by log then subtracting.
11385         * math/auto-libm-test-in: Add more tests of lgamma.
11386         * math/auto-libm-test-out: Regenerated.
11388         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
11389         (TYPE_HEX_DIG): Likewise.
11390         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
11391         precisions when printing floating-point numbers.
11392         (check_float_internal): Likewise.
11394 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
11396         [BZ #16620]
11397         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
11398         of log (10) rounded downward to 48 bits.
11399         (log10_low): Use corresponding low part of log (10).
11401         [BZ #19032]
11402         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
11403         compute result as (x - x) / (x - x) not as 0 / 0.
11404         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11405         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
11407         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11408         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
11409         and expm1.
11410         * math/auto-libm-test-out: Regenerated.
11411         * math/libm-test.inc (acos_test_data): Add more tests.
11412         (asin_test_data): Likewise.
11413         (asinh_test_data): Likewise.
11414         (atan_test_data): Likewise.
11415         (atanh_test_data): Likewise.
11416         (atan2_test_data): Likewise.
11417         (cbrt_test_data): Likewise.
11418         (ceil_test_data): Likewise.
11419         (copysign_test_data): Likewise.
11420         (cos_test_data): Likewise.
11421         (cosh_test_data): Likewise.
11422         (erf_test_data): Likewise.
11423         (erfc_test_data): Likewise.
11424         (exp_test_data): Likewise.
11425         (exp10_test_data): Likewise.
11426         (exp2_test_data): Likewise.
11427         (expm1_test_data): Likewise.
11428         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11430 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
11432         [BZ #19006]
11433         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
11434         to ...
11435         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
11436         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
11437         to ...
11438         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
11439         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
11440         to ...
11441         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
11442         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
11443         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
11444         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
11445         to ...
11446         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
11447         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11448         Moved to ...
11449         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
11450         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11451         Moved to ...
11452         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
11453         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
11454         to ...
11455         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
11456         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11457         Moved to ...
11458         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
11459         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
11460         to ...
11461         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
11462         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
11463         Removed.
11464         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
11465         Likewise.
11466         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
11467         Likewise.
11468         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
11469         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
11470         Likewise.
11471         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11472         Likewise.
11473         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11474         Likewise.
11475         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11476         Likewise.
11477         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11478         Likewise.
11479         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
11480         Likewise.
11481         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
11482         Likewise.
11483         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
11484         Likewise.
11485         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
11486         Likewise.
11487         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
11488         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
11489         Likewise.
11490         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11491         Likewise.
11492         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11493         Likewise.
11494         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11495         Likewise.
11496         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
11497         Likewise.
11498         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11499         Replace ../i486/pthread_cond_timedwait.S with
11500         ../pthread_cond_timedwait.S.
11502 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
11504         * math/libm-test.inc (acos_test_data): Refine expectations for
11505         errno and "inexact" exceptions.
11506         (acosh_test_data): Likewise.
11507         (asin_test_data): Likewise.
11508         (asinh_test_data): Likewise.
11509         (atan_test_data): Likewise.
11510         (atanh_test_data): Likewise.
11511         (atan2_test_data): Likewise.
11512         (cbrt_test_data): Likewise.
11513         (ceil_test_data): Likewise.
11514         (copysign_test_data): Likewise.
11515         (cosh_test_data): Likewise.
11516         (erf_test_data): Likewise.
11517         (erfc_test_data): Likewise.
11518         (exp_test_data): Likewise.
11519         (exp10_test_data): Likewise.
11520         (exp2_test_data): Likewise.
11521         (expm1_test_data): Likewise.
11522         (fabs_test_data): Likewise.
11523         (floor_test_data): Likewise.
11524         (fma_test_data): Likewise.
11525         (fmax_test_data): Likewise.
11526         (fmin_test_data): Likewise.
11527         (fmod_test_data): Likewise.
11528         (fpclassify_test_data): Likewise.
11529         (frexp_test_data): Likewise.
11530         (hypot_test_data): Likewise.
11531         (ilogb_test_data): Likewise.
11532         (isgreater_test_data): Likewise.
11533         (isgreaterequal_test_data): Likewise.
11534         (isinf_test_data): Likewise.
11535         (isless_test_data): Likewise.
11536         (islessequal_test_data): Likewise.
11537         (islessgreater_test_data): Likewise.
11538         (isnan_test_data): Likewise.
11539         (isnormal_test_data): Likewise.
11540         (issignaling_test_data): Likewise.
11541         (isunordered_test_data): Likewise.
11542         (j0_test_data): Likewise.
11543         (j1_test_data): Likewise.
11544         (jn_test_data): Likewise.
11545         (lgamma_test_data): Likewise.
11546         (lrint_test_data): Likewise.
11547         (llrint_test_data): Likewise.
11548         (log_test_data): Likewise.
11549         (log10_test_data): Likewise.
11550         (log1p_test_data): Likewise.
11551         (log2_test_data): Likewise.
11552         (logb_test_data): Likewise.
11553         (lround_test_data): Likewise.
11554         (llround_test_data): Likewise.
11555         (modf_test_data): Likewise.
11556         (nearbyint_test_data): Likewise.
11557         (nextafter_test_data): Likewise.
11558         (nexttoward_test_data): Likewise.
11559         (pow_test_data): Likewise.
11560         (remainder_test_data): Likewise.
11561         (remquo_test_data): Likewise.
11562         (rint_test_data): Likewise.
11563         (round_test_data): Likewise.
11564         (signbit_test_data): Likewise.
11565         (sinh_test_data): Likewise.
11566         (sqrt_test_data): Likewise.
11567         (tanh_test_data): Likewise.
11568         (tgamma_test_data): Likewise.
11569         (trunc_test_data): Likewise.
11570         (y0_test_data): Likewise.
11571         (y1_test_data): Likewise.
11572         (yn_test_data): Likewise.
11573         (significand_test_data): Likewise.
11575 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
11577         * manual/filesys.texi (Storage Allocation): Document that
11578         posix_fallocate emulation fails when fd is open with O_WRONLY.
11580 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
11582         [BZ #19016]
11583         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
11584         allow more cases with X^2 + Y^2 >= 0.5.
11585         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
11586         normal element in sum instead of special-casing based on values of
11587         arguments.
11588         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
11589         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
11590         -1 as normal element in sum instead of special-casing based on
11591         values of arguments.
11592         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
11593         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
11594         (__x2y2m1): Update comment.
11595         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
11596         as normal element in sum instead of special-casing based on values
11597         of arguments.
11598         * math/s_clog.c (__clog): Handle more cases using log1p without
11599         hypot.
11600         * math/s_clog10.c (__clog10): Likewise.
11601         * math/s_clog10f.c (__clog10f): Likewise.
11602         * math/s_clog10l.c (__clog10l): Likewise.
11603         * math/s_clogf.c (__clogf): Likewise.
11604         * math/s_clogl.c (__clogl): Likewise.
11605         * math/auto-libm-test-in: Add more tests of clog and clog10.
11606         * math/auto-libm-test-out: Regenerated.
11607         * sysdeps/i386/fpu/libm-test-ulps: Update.
11608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11610 2015-09-28  Martin Sebor  <msebor@redhat.com>
11612         [BZ #18969]
11613         * string/Makefile (LOCALES): Define.
11614         (gen-locales.mk): Include.
11615         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
11616         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
11617         * string/tst-strxfrm2.c (do_test): Print the name of the locale
11618         on setlocale failure.
11620 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
11622         [BZ #18985]
11623         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
11624         (__strftime_internal): Likewise.
11625         * time/tst-strftime.c (do_bz18985): New test.
11626         (do_test): Call it.
11628 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
11630         [BZ #18956]
11631         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
11632         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
11633         extracting high part.
11634         * math/auto-libm-test-in: Add another test of pow.
11635         * math/auto-libm-test-out: Regenerated.
11636         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11638 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
11640         [BZ #18825]
11641         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
11642         New macro.
11643         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
11644         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11645         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
11646         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
11647         DBL_NARROW_EVAL, reloading the PIC register as needed.
11648         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
11649         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
11650         FLT_NARROW_EVAL.  Use separate return path for case when first
11651         argument is NaN.
11652         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
11653         DEFINE_LDBL_MIN.
11654         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
11655         PIC register.
11656         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
11657         math_check_force_underflow_nonneg.
11658         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
11659         underflow for subnormal result.
11660         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11661         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
11662         math_check_force_underflow_nonneg.
11663         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
11664         math_check_force_underflow.
11665         * sysdeps/x86_64/fpu/x86_64-math-asm.h
11666         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
11667         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
11668         DEFINE_LDBL_MIN.
11669         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
11670         * math/auto-libm-test-in: Add more tests of pow.
11671         * math/auto-libm-test-out: Regenerated.
11673 2015-09-25  Florian Weimer  <fweimer@redhat.com>
11675         * nss/bug17079.c (init_test_items): Add diagnostic for
11676         inconsistent entries.
11677         (test_buffer_size): Skip inconsistent entries.
11679 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
11681         [BZ #13304]
11682         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
11683         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
11684         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
11686         [BZ #13304]
11687         * sysdeps/microblaze/s_fma.c: New file.
11688         * sysdeps/microblaze/s_fmaf.c: Likewise.
11689         * sysdeps/microblaze/sfp-machine.h: Likewise.
11691 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
11693         [BZ #17250]
11694         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
11695         member.
11697 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
11699         [BZ #18803]
11700         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
11701         (MO): New macro.
11702         (__ieee754_hypot) [PIC]: Load PIC register.
11703         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
11704         DBL_NARROW_EVAL.
11705         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
11706         math_check_force_underflow_nonneg in case where result might be
11707         tiny.
11708         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11709         Likewise.
11710         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11711         Likewise.
11712         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11713         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
11714         * math/auto-libm-test-in: Add more tests of hypot.
11715         * math/auto-libm-test-out: Regenerated.
11717 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
11719         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
11721 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
11723         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
11724         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
11725         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11726         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11727         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
11728         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11729         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11731         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
11732         LOAD_PIC_REG.
11734         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
11735         (FLT_CHECK_FORCE_UFLOW): Likewise.
11736         (DBL_CHECK_FORCE_UFLOW): Likewise.
11737         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
11738         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
11739         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
11740         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11741         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11742         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11743         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11744         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11745         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
11746         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11747         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
11748         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
11749         (flt_min): Replace with use of DEFINE_FLT_MIN.
11750         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
11751         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
11752         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11753         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
11754         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
11755         (flt_min): Replace with use of DEFINE_FLT_MIN.
11756         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
11757         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
11758         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11759         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
11760         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
11761         (flt_min): Replace with use of DEFINE_FLT_MIN.
11762         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
11763         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
11764         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11765         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11766         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
11767         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11768         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11769         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
11770         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11771         (__atan): Use DBL_CHECK_FORCE_UFLOW.
11772         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
11773         (flt_min): Replace with use of DEFINE_FLT_MIN.
11774         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
11775         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
11776         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11777         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
11778         main computation.
11779         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
11780         (flt_min): Replace with use of DEFINE_FLT_MIN.
11781         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
11782         main computation.
11783         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
11784         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11785         (MO): New macro.
11786         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
11787         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
11788         (flt_min): Replace with use of DEFINE_FLT_MIN.
11789         (MO): New macro.
11790         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
11791         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
11792         (__log1pl): Use MO.
11794         [BZ #19003]
11795         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
11796         $(config-cflags-nofma).
11798 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11800         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11802 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
11804         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
11805         (TWO127): Likewise.
11807         * sysdeps/generic/math_private.h (fabs_tg): New macro.
11808         (min_of_type): Likewise.
11809         (math_check_force_underflow): Likewise.
11810         (math_check_force_underflow_nonneg): Likewise.
11811         (math_check_force_underflow_complex): Likewise.
11812         * math/e_exp2l.c (__ieee754_exp2l): Use
11813         math_check_force_underflow_nonneg.
11814         * math/k_casinh.c (__kernel_casinh): Likewise.
11815         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11816         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11817         * math/s_catan.c (__catan): Use
11818         math_check_force_underflow_complex.
11819         * math/s_catanf.c (__catanf): Likewise.
11820         * math/s_catanh.c (__catanh): Likewise.
11821         * math/s_catanhf.c (__catanhf): Likewise.
11822         * math/s_catanhl.c (__catanhl): Likewise.
11823         * math/s_catanl.c (__catanl): Likewise.
11824         * math/s_ccosh.c (__ccosh): Likewise.
11825         * math/s_ccoshf.c (__ccoshf): Likewise.
11826         * math/s_ccoshl.c (__ccoshl): Likewise.
11827         * math/s_cexp.c (__cexp): Likewise.
11828         * math/s_cexpf.c (__cexpf): Likewise.
11829         * math/s_cexpl.c (__cexpl): Likewise.
11830         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
11831         * math/s_clog10.c (__clog10): Likewise.
11832         * math/s_clog10f.c (__clog10f): Likewise.
11833         * math/s_clog10l.c (__clog10l): Likewise.
11834         * math/s_clogf.c (__clogf): Likewise.
11835         * math/s_clogl.c (__clogl): Likewise.
11836         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
11837         * math/s_csinf.c (__csinf): Likewise.
11838         * math/s_csinh.c (__csinh): Likewise.
11839         * math/s_csinhf.c (__csinhf): Likewise.
11840         * math/s_csinhl.c (__csinhl): Likewise.
11841         * math/s_csinl.c (__csinl): Likewise.
11842         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
11843         * math/s_csqrtf.c (__csqrtf): Likewise.
11844         * math/s_csqrtl.c (__csqrtl): Likewise.
11845         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
11846         * math/s_ctanf.c (__ctanf): Likewise.
11847         * math/s_ctanh.c (__ctanh): Likewise.
11848         * math/s_ctanhf.c (__ctanhf): Likewise.
11849         * math/s_ctanhl.c (__ctanhl): Likewise.
11850         * math/s_ctanl.c (__ctanl): Likewise.
11851         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
11852         instead of volatile.
11853         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
11854         math_check_force_underflow.
11855         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11856         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
11857         volatile when forcing underflow.
11858         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11859         math_check_force_underflow_nonneg.
11860         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11861         Likewise.
11862         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
11863         math_check_force_underflow.
11864         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11865         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11866         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11867         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
11868         math_check_force_underflow_nonneg.
11869         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
11870         math_check_force_underflow.
11871         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
11872         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
11873         instead of volatile.
11874         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
11875         math_check_force_underflow.
11876         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11877         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
11878         math_check_force_underflow_nonneg.
11879         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
11880         math_check_force_underflow.
11881         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
11882         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11883         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
11884         math_check_force_underflow_nonneg.
11885         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11886         Likewise.
11887         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
11888         math_check_force_underflow.
11889         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11890         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11891         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
11892         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
11893         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
11894         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
11895         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
11896         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
11897         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11898         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
11899         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
11900         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
11901         Likewise.
11902         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
11903         math_check_force_underflow_nonneg.
11904         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11905         Likewise.
11906         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
11907         math_check_force_underflow.
11908         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11909         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
11910         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11911         Likewise.
11912         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
11913         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
11914         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
11915         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
11916         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
11917         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
11918         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
11919         instead of volatile.
11920         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
11921         math_check_force_underflow.
11922         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
11923         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
11924         math_check_force_underflow.
11925         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
11926         Likewise.
11927         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11928         Use math_check_force_underflow_nonneg.
11929         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
11930         math_check_force_underflow.
11931         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
11932         Likewise.
11933         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11934         Likewise.
11935         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11936         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11937         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11938         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11939         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
11940         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11941         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
11942         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
11943         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
11944         math_check_force_underflow_nonneg.
11945         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
11946         math_check_force_underflow.
11947         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11948         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
11949         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
11950         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
11951         math_check_force_underflow_nonneg.
11952         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
11953         math_check_force_underflow.
11954         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
11955         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
11956         instead of volatile.
11957         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
11958         math_check_force_underflow.
11960         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
11961         * stdlib/strtod_l.c: Include <math_private.h>.
11962         (overflow_value): Use math_narrow_eval.
11963         (underflow_value): Likewise.
11964         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11965         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11966         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
11967         (__ieee754_gamma_r): Likewise.
11968         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
11969         Likewise.
11970         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
11971         Likewise.
11972         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
11973         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
11974         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
11975         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
11976         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11977         (__ieee754_gammaf_r): Likewise.
11978         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11979         Likewise.
11980         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
11981         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
11982         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
11983         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
11984         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
11985         volatile.
11986         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
11987         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
11988         math_narrow_eval.
11989         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11990         Likewise.
11991         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11992         Likewise.
11993         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
11994         Likewise.
11995         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
11996         volatile.
11997         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
11998         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
11999         math_narrow_eval.
12000         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12001         Likewise.
12002         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12003         Likewise.
12005 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
12007         * nptl/Versions: Remove ignored symbols.
12009 2015-09-22  Florian Weimer  <fweimer@redhat.com>
12011         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
12012         * nss/Makefile (tests): Update.
12014 2015-09-22  Florian Weimer  <fweimer@redhat.com>
12016         * nss/bug18287.c: New file.
12017         * nss/Makefile (tests): Add bug18287.
12019 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12021         * mach/Versions (__mach_host_self_): Add symbol.
12023 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12025         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
12026         vm_page_size.
12028 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12030         Really fix sysdeps/i386/fpu/s_scalbn.S build
12032         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
12033         (libc: GLIBC_2_22): Remove unused version set.
12035 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
12037         * config.make.in (enable-timezone-tools): New variable.
12038         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
12039         (enable_timezone_tools): Export to generated files.
12040         * configure: Regenerate.
12041         * INSTALL: Regenerate.
12042         * manual/install.texi (--disable-timezone-tools): Document new flag.
12043         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
12044         ifeq ($(enable-timezone-tools),yes) check.
12046 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12048         * timezone/Makefile: Revert previous change.
12050         [BZ #18980]
12051         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
12052         (DEFINE_DBL_MIN): Likewise.
12053         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12054         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12055         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12056         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12057         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
12058         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12059         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12060         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
12061         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
12062         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12063         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12064         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
12065         (flt_min): Replace with use of DEFINE_FLT_MIN.
12066         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12067         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
12068         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12069         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12070         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
12071         (flt_min): Replace with use of DEFINE_FLT_MIN.
12072         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12073         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
12074         (flt_min): Replace with use of DEFINE_FLT_MIN.
12075         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12076         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
12077         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
12078         (__ieee754_hypot): Use DBL_NARROW_EVAL.
12079         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
12080         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
12081         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
12082         (__ieee754_pow): Use DBL_NARROW_EVAL.
12083         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
12084         (__ieee754_powf): Use FLT_NARROW_EVAL.
12085         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
12086         (__ieee754_expf_sse2): Convert double-precision result to single
12087         precision.
12088         * sysdeps/i386/fpu/libm-test-ulps: Update.
12090 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12092         * timezone/Makefile: Ignore unused variable errors due to private.h
12093         (time_t_min) and (time_t_max).
12094         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
12095         Likewise.
12097 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12099         [BZ #18981]
12100         * sysdeps/i386/fpu/i386-math-asm.h: New file.
12101         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
12102         (__ieee754_scalb): Use DBL_NARROW_EVAL.
12103         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
12104         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
12105         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
12106         (__scalbn): Use DBL_NARROW_EVAL.
12107         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
12108         (__scalbnf): Use FLT_NARROW_EVAL.
12110 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12112         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
12113         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
12114         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
12115         * stdio-common/printf_fp.c (___printf_fp):
12116         Use signbit to get the sign. Use isinf macro to allow inlining.
12117         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
12118         * stdio-common/printf_size.c (__printf_size): Likewise.
12120 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
12122         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
12124 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12126         [BZ #18980]
12127         * sysdeps/generic/math_private.h: Include <float.h>.
12128         (math_narrow_eval): New macro.
12129         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12130         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
12131         math_narrow_eval on overflowing return value.
12132         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
12133         Likewise.
12134         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12135         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
12136         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
12137         Likewise.
12138         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12140 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12142         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
12143         * math/Makefile: Remove isinf_ns.c.
12144         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
12145         * math/multc3.c (__multc3): Likewise.
12146         * math/s_casin.c (__casin): Likewise.
12147         * math/s_casinf.c (__casinf): Likewise.
12148         * math/s_casinl.c (__casinl): Likewise.
12149         * math/s_cproj.c (__cproj): Likewise.
12150         * math/s_cprojf.c (__cprojf): Likewise.
12151         * math/s_cprojl.c (__cprofl): Likewise.
12152         * math/s_ctan.c (__ctan): Likewise.
12153         * math/s_ctanf.c (__ctanf): Likewise.
12154         * math/s_ctanh.c (__ctanh): Likewise.
12155         * math/s_ctanhf.c (__ctanhf): Likewise.
12156         * math/s_ctanhl.c (__ctanhl): Likewise.
12157         * math/s_ctanl.c (__ctanl): Likewise.
12158         * math/w_fmod.c (__fmod): Likewise.
12159         * math/w_fmodf.c (__fmodf): Likewise.
12160         * math/w_fmodl.c (_fmodl): Likewise.
12161         * math/w_remainder.c (__remainder): Likewise.
12162         * math/w_remainderf.c (__remainderf): Likewise.
12163         * math/w_remainderl.c (__remainderl): Likewise.
12164         * math/w_scalb.c (__scalb): Likewise.
12165         * math/w_scalbf.c (__scalbf): Likewise.
12166         * math/w_scalbl.c (__scalbl): Likewise.
12167         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
12168         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
12169         with isinf.
12170         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
12171         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
12172         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
12173         __isinf_nsf with isinf.
12174         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
12175         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
12176         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
12177         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
12178         with isinf.
12179         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
12180         __isinf_nsl with isinf.
12181         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
12182         with isinf.
12183         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
12184         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
12185         __isinf_nsl with isinf.
12186         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
12187         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
12188         with isinf.
12190 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12192         * resolv/base64.c (rcsid): Remove unused static.
12193         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
12194         static.  (tqpi1): Likewise.
12195         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
12196         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
12197         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
12198         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
12199         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
12200         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
12201         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
12202         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
12203         Likewise.
12205 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
12207         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
12208         <nptl/pthreadP.h>.
12209         (_longjmp_unwind): Use __libc_ptf_call.
12210         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
12212 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
12214         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
12215         * sysdeps/arm/__longjmp.S: Likewise.
12217 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12219         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
12220         Use __builtin_signbit.
12221         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
12222         Use __builtin_signbitf.
12223         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
12224         Use __builtin_signbitl.
12225         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12226         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
12228 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12230         [BZ #15367]
12231         [BZ #17441]
12233         * math/Makefile: Build test-snan.c with -fsignaling-nans.
12234         * math/math.h (fpclassify): Use __builtin_fpclassify when
12235         available.  (signbit): Use __builtin_signbit(f/l).
12236         (isfinite): Use__builtin_isfinite.  (isnormal): Use
12237         __builtin_isnormal.  (isnan): Use __builtin_isnan.
12238         (isinf): Use __builtin_isinf_sign.
12240 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12242         * benchtests/Makefile: Add bench-math-inlines, link with libm.
12243         * benchtests/bench-math-inlines.c: New benchmark.
12244         * benchtests/bench-util.h: New file.
12245         * benchtests/bench-util.c: New file.
12246         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
12248 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
12250         * elf/tst-dlmopen1.c: Define TEST_SO.
12251         (do_test): Use TEST_SO.
12253         * elf/dl-load.c: Include libc-internal.h.
12254         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
12256 2015-09-18  Vincent Bernat  <vincent@bernat.im>
12258         [BZ #17887]
12259         * time/strptime_l.c (__strptime_internal): Make %z accept
12260         [+-]HH:MM time zones.
12262 2015-09-18  Vincent Bernat  <vincent@bernat.im>
12264         [BZ #17886]
12265         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
12266         valid time zone.
12268 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
12270         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
12271         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
12272         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12273         (__ASSUME_FDATASYNC): Delete.
12275 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12277         * conform/linknamespace.pl: Require weak undefined symbols to be
12278         in the standard namespace.
12279         (%strong_syms): Rename to %seen_syms.
12280         (%strong_seen): Rename to %seen_where.
12282 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
12284         [BZ #18970]
12285         * misc/error.c (error): Replace pthread_setcancelstate with
12286         __pthread_setcancelstate.
12287         (error_at_line): Likewise.
12288         * posix/wordexp.c (parse_comm): Likewise.
12289         * stdlib/fmtmsg.c (fmtmsg): Likewise.
12290         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
12291         (__pthread_setcancelstate): This.
12292         (pthread_setcancelstate): Add an alias.
12293         * nptl/nptl-init.c (pthread_functions): Replace
12294         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
12295         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
12296         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
12297         hidden_proto.
12298         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
12299         it with hidden_def.
12300         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
12301         (pthread_setcancelstate): Renamed to ...
12302         (__pthread_setcancelstate): This.
12303         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
12304         __libc_ptf_call with __pthread_setcancelstate.
12306 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12307             Andreas Schwab  <schwab@suse.de>
12309         [BZ #17118]
12310         * math/s_ctan.c (__ctan): Determine sign of zero real part of
12311         result when imaginary part of argument is infinite using sine and
12312         cosine.
12313         * math/s_ctanf.c (__ctanf): Likewise.
12314         * math/s_ctanl.c (__ctanl): Likewise.
12315         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
12316         of result when real part of argument is infinite using sine and
12317         cosine.
12318         * math/s_ctanhf.c (__ctanhf): Likewise.
12319         * math/s_ctanhl.c (__ctanhl): Likewise.
12320         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
12321         (ctanh_test_data): Add more tests of ctanh.
12323 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12325         [BZ #15384]
12326         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
12327         bit-mask as in subtraction.
12328         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
12329         Likewise.
12330         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
12331         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
12332         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
12334         [BZ #18951]
12335         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
12336         underflow exception for small results.
12337         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12338         Likewise.
12339         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12340         Likewise.
12341         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12342         Likewise.
12343         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12344         Likewise.
12345         * math/auto-libm-test-in: Add more tests of tgamma.
12346         * math/auto-libm-test-out: Regenerated.
12348 2015-09-17  Andreas Schwab  <schwab@suse.de>
12350         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
12352 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
12354         [BZ #18977]
12355         * math/bits/mathcalls.h
12356         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
12357         not declare.
12358         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
12359         Likewise.
12360         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
12361         Likewise.
12362         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
12363         Likewise.
12364         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
12365         Likewise.
12366         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
12367         Likewise.
12368         * conform/data/math.h-data
12369         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
12370         function.
12371         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
12372         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
12373         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
12374         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
12375         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
12376         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
12377         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
12378         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
12379         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
12380         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
12381         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
12383         [BZ #6803]
12384         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
12385         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
12386         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
12387         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
12388         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
12389         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
12390         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
12391         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
12392         [NO_LONG_DOUBLE] (scalbnl): Likewise.
12393         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
12394         Likewise.
12395         [NO_LONG_DOUBLE] (scalbnl): Likewise.
12396         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
12397         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
12398         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
12399         long_double_symbol calls.
12400         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
12401         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
12402         strong alias of __ldexpl.
12403         (scalbnl): Define using long_double_symbol.
12404         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
12405         Remove alias.
12406         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
12407         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
12408         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
12409         (scalbln_test_data): Add more errno expectations.
12411 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
12413         Cache the host port like we cache the task port.  This way we do not
12414         need to call the kernel just to get the port.  Furthermore, we no
12415         longer increase the reference count on every invocation of
12416         `mach_host_self'.
12418         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
12419         Protect declarations against the macro expansion.
12420         * mach/mach_init.c (__mach_host_self_): New variable.
12421         (mach_init): Initialize `__mach_host_self_'.
12422         * mach/mach_init.h (__mach_host_self_): New declaration.
12423         (__mach_host_self, mach_host_self): New macros.
12424         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
12425         Release reference.
12427 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
12429         [BZ #4404]
12430         * po/de.po: Update from Translation Project.
12432         [BZ #16415]
12433         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
12434         (__expm1l): Remove code to handle positive infinity and overflow.
12435         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
12436         variable.
12437         (__expm1l): Remove code to handle positive infinity and overflow.
12439 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
12440             Paul Pluzhnikov  <ppluzhnikov@google.com>
12442         [BZ #18872]
12443         * stdio-common/Makefile (tst-printf-bz18872): New test.
12444         (tst-printf-bz18872-mem.out): Likewise.
12445         * stdio-common/tst-printf-bz18872.sh: Generate new test.
12446         * stdio-common/vfprintf.c: Fix memory leaks.
12448 2015-09-16  Andreas Schwab  <schwab@suse.de>
12450         [BZ #17244]
12451         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
12452         Remove extra va_start/va_end calls.
12454         [BZ #17243]
12455         * posix/execl.c (execl): Add missing va_end.
12456         * posix/execle.c (execle): Likewise.
12457         * posix/execlp.c (execlp): Likewise.
12459 2015-09-15  Roland McGrath  <roland@hack.frob.com>
12461         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
12462         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
12464 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
12466         [BZ #18967]
12467         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
12468         undefine around includes of <bits/mathcalls.h>.
12469         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
12470         not declare function.
12471         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
12472         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
12473         (scalb): Likewise.
12474         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
12475         not define macro.
12476         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
12477         variable.
12478         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12479         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12480         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12482         [BZ #18857]
12483         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
12484         return non-finite argument without doing ordered comparisons on
12485         it.
12487         [BZ #16296]
12488         * math/fenv.h (fegetround): Use __attribute_pure__.
12489         * include/fenv.h (__fegetround): Likewise.
12491         [BZ #18595]
12492         * math/s_ctan.c (__ctan): Force underflow exception for results
12493         whose real or imaginary part has small absolute value.
12494         * math/s_ctanf.c (__ctanf): Likewise.
12495         * math/s_ctanh.c (__ctanh): Likewise.
12496         * math/s_ctanhf.c (__ctanhf): Likewise.
12497         * math/s_ctanhl.c (__ctanhl): Likewise.
12498         * math/s_ctanl.c (__ctanl): Likewise.
12499         * math/auto-libm-test-in: Do not allow missing underflow for ctan
12500         and ctanh.  Add more tests of ctan and ctanh.
12502         [BZ #15918]
12503         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
12504         handling of cases where one argument is an infinity.
12506         [BZ #18875]
12507         [BZ #18966]
12508         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
12509         (MO): New macro.
12510         (__ieee754_exp10): For small results, force underflow exception
12511         and remove excess range and precision from return value.
12512         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
12513         (MO): New macro.
12514         (__ieee754_exp10f): For small results, force underflow exception
12515         and remove excess range and precision from return value.
12516         * math/auto-libm-test-in: Add more tests of exp10.
12517         * math/auto-libm-test-out: Regenerated.
12519 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
12521         [BZ #18875]
12522         [BZ #18961]
12523         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
12524         (MO): New macro.
12525         (__ieee754_exp): For small results, force underflow exception and
12526         remove excess range and precision from return value.
12527         (__exp_finite): Likewise.
12528         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
12529         (MO): New macro.
12530         (__ieee754_expf): For small results, force underflow exception and
12531         remove excess range and precision from return value.
12532         (__expf_finite): Likewise.
12533         * math/auto-libm-test-in: Add more tests of exp.
12534         * math/auto-libm-test-out: Regenerated.
12536         [BZ #16521]
12537         [BZ #18875]
12538         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
12539         small results.
12540         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
12541         (MO): New macro.
12542         (__ieee754_exp2): For small results, force underflow exception and
12543         remove excess range and precision from return value.
12544         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
12545         (MO): New macro.
12546         (__ieee754_exp2f): For small results, force underflow exception
12547         and remove excess range and precision from return value.
12548         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
12549         (MO): New macro.
12550         (__ieee754_exp2l): Force underflow exception for small results.
12551         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12552         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12553         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
12554         (MO): New macro.
12555         (__ieee754_exp2l): Force underflow exception for small results.
12556         * math/auto-libm-test-in: Add more tests or exp2.
12557         * math/auto-libm-test-out: Regenerated.
12559 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
12561         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
12563         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
12564         /dev/null.
12566 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12568         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12569         io fs process)): Drop spurious backslash.
12571 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12573         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
12574         Use sysinfo system call instead of parsing /proc/meminfo.
12575         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
12576         Likewise.
12578 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
12580         [BZ #16985]
12581         * programs/localedef.c (main): Display argv[remaining] when
12582         output_path is NULL.
12584 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12586         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12587         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
12588         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
12589         tanh.
12590         * math/auto-libm-test-out: Regenerated.
12591         * sysdeps/i386/fpu/libm-test-ulps: Update.
12592         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12593         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12596 2015-09-11  Roland McGrath  <roland@hack.frob.com>
12598         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
12599         Use 'override' keyword to freeze the value here, preventing
12600         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
12602 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12604         [BZ #14912]
12605         * sysdeps/aarch64/bits/atomic.h: Move to ...
12606         * sysdeps/aarch64/atomic-machine.h: ...here.
12607         (_AARCH64_BITS_ATOMIC_H): Rename macro to
12608         _AARCH64_ATOMIC_MACHINE_H.
12609         * sysdeps/alpha/bits/atomic.h: Move to ...
12610         * sysdeps/alpha/atomic-machine.h: ...here.
12611         * sysdeps/arm/bits/atomic.h: Move to ...
12612         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
12613         * bits/atomic.h: Move to ...
12614         * sysdeps/generic/atomic-machine.h: ...here.
12615         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12616         * sysdeps/i386/bits/atomic.h: Move to ...
12617         * sysdeps/i386/atomic-machine.h: ...here.
12618         * sysdeps/ia64/bits/atomic.h: Move to ...
12619         * sysdeps/ia64/atomic-machine.h: ...here.
12620         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
12621         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
12622         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12623         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
12624         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
12625         * sysdeps/microblaze/bits/atomic.h: Move to ...
12626         * sysdeps/microblaze/atomic-machine.h: ...here.
12627         * sysdeps/mips/bits/atomic.h: Move to ...
12628         * sysdeps/mips/atomic-machine.h: ...here.
12629         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
12630         * sysdeps/powerpc/bits/atomic.h: Move to ...
12631         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
12632         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
12633         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
12634         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
12635         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
12636         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
12637         <atomic-machine.h> instead of <bits/atomic.h>.
12638         * sysdeps/s390/bits/atomic.h: Move to ...
12639         * sysdeps/s390/atomic-machine.h: ...here.
12640         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
12641         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
12642         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12643         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
12644         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
12645         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
12646         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
12647         * sysdeps/tile/bits/atomic.h: Move to ...
12648         * sysdeps/tile/atomic-machine.h: ...here.
12649         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
12650         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
12651         <sysdeps/tile/atomic-machine.h> instead of
12652         <sysdeps/tile/bits/atomic.h>.
12653         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12654         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
12655         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
12656         <sysdeps/tile/atomic-machine.h> instead of
12657         <sysdeps/tile/bits/atomic.h>.
12658         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12659         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
12660         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
12661         <sysdeps/arm/atomic-machine.h> instead of
12662         <sysdeps/arm/bits/atomic.h>.
12663         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
12664         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
12665         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12666         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
12667         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
12668         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12669         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
12670         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
12671         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
12672         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
12673         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
12674         * sysdeps/x86_64/bits/atomic.h: Move to ...
12675         * sysdeps/x86_64/atomic-machine.h: ...here.
12676         * include/atomic.h: Include <atomic-machine.h> instead of
12677         <bits/atomic.h>.
12679         * sysdeps/mips/mips32/libm-test-ulps: Update.
12680         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12682         [BZ #18952]
12683         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
12684         not convert non-integer negative arguments to int to determine the
12685         value of signgam.
12686         * math/auto-libm-test-in: Add more tests of lgamma.
12687         * math/auto-libm-test-out: Regenerated.
12689         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
12690         cosh, csqrt, erfc, expm1 and lgamma.
12691         * math/auto-libm-test-out: Regenerated.
12692         * sysdeps/i386/fpu/libm-test-ulps: Update.
12693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12695 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
12697         [BZ #2542]
12698         [BZ #2543]
12699         [BZ #2558]
12700         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
12701         __lgamma_neg for arguments from -28.0 to -2.0.
12702         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
12703         __lgamma_negf for arguments from -15.0 to -2.0.
12704         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12705         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
12706         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
12707         Call __lgamma_negl for arguments from -33.0 to -2.0.
12708         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
12709         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
12710         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12711         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
12712         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12713         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12714         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
12715         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
12716         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
12717         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
12718         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
12719         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
12720         (__lgamma_neg): Likewise.
12721         (__lgamma_negl): Likewise.
12722         (__lgamma_product): Likewise.
12723         (__lgamma_productl): Likewise.
12724         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
12725         * math/auto-libm-test-in: Add more tests of lgamma.
12726         * math/auto-libm-test-out: Regenerated.
12727         * sysdeps/i386/fpu/libm-test-ulps: Update.
12728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12730 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
12732         [BZ #18675]
12733         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
12735 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
12737         [BZ #14912]
12738         * bits/libc-lock.h: Move to ...
12739         * sysdeps/generic/libc-lock.h: ...here.
12740         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12741         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
12742         * sysdeps/mach/hurd/libc-lock.h: ...here.
12743         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12744         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
12745         * sysdeps/mach/bits/libc-lock.h: Move to ...
12746         * sysdeps/mach/libc-lock.h: ...here.
12747         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12748         * sysdeps/nptl/bits/libc-lock.h: Move to ...
12749         * sysdeps/nptl/libc-lock.h: ...here.
12750         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12751         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
12752         * sysdeps/nptl/libc-lockP.h: ...here.
12753         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
12754         * crypt/crypt_util.c: Include <libc-lock.h> instead of
12755         <bits/libc-lock.h>.
12756         * dirent/scandir-tail.c: Likewise.
12757         * dlfcn/dlerror.c: Likewise.
12758         * elf/dl-close.c: Likewise.
12759         * elf/dl-iteratephdr.c: Likewise.
12760         * elf/dl-lookup.c: Likewise.
12761         * elf/dl-open.c: Likewise.
12762         * elf/dl-support.c: Likewise.
12763         * elf/dl-writev.h: Likewise.
12764         * elf/rtld.c: Likewise.
12765         * grp/fgetgrent.c: Likewise.
12766         * gshadow/fgetsgent.c: Likewise.
12767         * gshadow/sgetsgent.c: Likewise.
12768         * iconv/gconv_conf.c: Likewise.
12769         * iconv/gconv_db.c: Likewise.
12770         * iconv/gconv_dl.c: Likewise.
12771         * iconv/gconv_int.h: Likewise.
12772         * iconv/gconv_trans.c: Likewise.
12773         * include/link.h: Likewise.
12774         * inet/getnameinfo.c: Likewise.
12775         * inet/getnetgrent.c: Likewise.
12776         * inet/getnetgrent_r.c: Likewise.
12777         * intl/bindtextdom.c: Likewise.
12778         * intl/dcigettext.c: Likewise.
12779         * intl/finddomain.c: Likewise.
12780         * intl/gettextP.h: Likewise.
12781         * intl/loadmsgcat.c: Likewise.
12782         * intl/localealias.c: Likewise.
12783         * intl/textdomain.c: Likewise.
12784         * libidn/idn-stub.c: Likewise.
12785         * libio/libioP.h: Likewise.
12786         * locale/duplocale.c: Likewise.
12787         * locale/freelocale.c: Likewise.
12788         * locale/newlocale.c: Likewise.
12789         * locale/setlocale.c: Likewise.
12790         * login/getutent_r.c: Likewise.
12791         * login/getutid_r.c: Likewise.
12792         * login/getutline_r.c: Likewise.
12793         * login/utmp-private.h: Likewise.
12794         * login/utmpname.c: Likewise.
12795         * malloc/mtrace.c: Likewise.
12796         * misc/efgcvt.c: Likewise.
12797         * misc/error.c: Likewise.
12798         * misc/fstab.c: Likewise.
12799         * misc/getpass.c: Likewise.
12800         * misc/mntent.c: Likewise.
12801         * misc/syslog.c: Likewise.
12802         * nis/nis_call.c: Likewise.
12803         * nis/nis_callback.c: Likewise.
12804         * nis/nss-default.c: Likewise.
12805         * nis/nss_compat/compat-grp.c: Likewise.
12806         * nis/nss_compat/compat-initgroups.c: Likewise.
12807         * nis/nss_compat/compat-pwd.c: Likewise.
12808         * nis/nss_compat/compat-spwd.c: Likewise.
12809         * nis/nss_nis/nis-alias.c: Likewise.
12810         * nis/nss_nis/nis-ethers.c: Likewise.
12811         * nis/nss_nis/nis-grp.c: Likewise.
12812         * nis/nss_nis/nis-hosts.c: Likewise.
12813         * nis/nss_nis/nis-network.c: Likewise.
12814         * nis/nss_nis/nis-proto.c: Likewise.
12815         * nis/nss_nis/nis-pwd.c: Likewise.
12816         * nis/nss_nis/nis-rpc.c: Likewise.
12817         * nis/nss_nis/nis-service.c: Likewise.
12818         * nis/nss_nis/nis-spwd.c: Likewise.
12819         * nis/nss_nisplus/nisplus-alias.c: Likewise.
12820         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
12821         * nis/nss_nisplus/nisplus-grp.c: Likewise.
12822         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
12823         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
12824         * nis/nss_nisplus/nisplus-network.c: Likewise.
12825         * nis/nss_nisplus/nisplus-proto.c: Likewise.
12826         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
12827         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
12828         * nis/nss_nisplus/nisplus-service.c: Likewise.
12829         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
12830         * nis/ypclnt.c: Likewise.
12831         * nptl/libc_pthread_init.c: Likewise.
12832         * nss/getXXbyYY.c: Likewise.
12833         * nss/getXXent.c: Likewise.
12834         * nss/getXXent_r.c: Likewise.
12835         * nss/nss_db/db-XXX.c: Likewise.
12836         * nss/nss_db/db-netgrp.c: Likewise.
12837         * nss/nss_db/nss_db.h: Likewise.
12838         * nss/nss_files/files-XXX.c: Likewise.
12839         * nss/nss_files/files-alias.c: Likewise.
12840         * nss/nsswitch.c: Likewise.
12841         * posix/regex_internal.h: Likewise.
12842         * posix/wordexp.c: Likewise.
12843         * pwd/fgetpwent.c: Likewise.
12844         * resolv/res_hconf.c: Likewise.
12845         * resolv/res_libc.c: Likewise.
12846         * shadow/fgetspent.c: Likewise.
12847         * shadow/lckpwdf.c: Likewise.
12848         * shadow/sgetspent.c: Likewise.
12849         * socket/opensock.c: Likewise.
12850         * stdio-common/reg-modifier.c: Likewise.
12851         * stdio-common/reg-printf.c: Likewise.
12852         * stdio-common/reg-type.c: Likewise.
12853         * stdio-common/vfprintf.c: Likewise.
12854         * stdio-common/vfscanf.c: Likewise.
12855         * stdlib/abort.c: Likewise.
12856         * stdlib/cxa_atexit.c: Likewise.
12857         * stdlib/fmtmsg.c: Likewise.
12858         * stdlib/random.c: Likewise.
12859         * stdlib/setenv.c: Likewise.
12860         * string/strsignal.c: Likewise.
12861         * sunrpc/auth_none.c: Likewise.
12862         * sunrpc/bindrsvprt.c: Likewise.
12863         * sunrpc/create_xid.c: Likewise.
12864         * sunrpc/key_call.c: Likewise.
12865         * sunrpc/rpc_thread.c: Likewise.
12866         * sysdeps/arm/backtrace.c: Likewise.
12867         * sysdeps/generic/ldsodefs.h: Likewise.
12868         * sysdeps/generic/stdio-lock.h: Likewise.
12869         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
12870         * sysdeps/i386/backtrace.c: Likewise.
12871         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12872         * sysdeps/m68k/backtrace.c: Likewise.
12873         * sysdeps/mach/hurd/cthreads.c: Likewise.
12874         * sysdeps/mach/hurd/dirstream.h: Likewise.
12875         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
12876         * sysdeps/nptl/malloc-machine.h: Likewise.
12877         * sysdeps/nptl/stdio-lock.h: Likewise.
12878         * sysdeps/posix/dirstream.h: Likewise.
12879         * sysdeps/posix/getaddrinfo.c: Likewise.
12880         * sysdeps/posix/system.c: Likewise.
12881         * sysdeps/pthread/aio_suspend.c: Likewise.
12882         * sysdeps/s390/s390-32/backtrace.c: Likewise.
12883         * sysdeps/s390/s390-64/backtrace.c: Likewise.
12884         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12885         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12886         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
12887         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
12888         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
12889         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
12890         * sysdeps/unix/sysv/linux/system.c: Likewise.
12891         * sysdeps/x86_64/backtrace.c: Likewise.
12892         * time/alt_digit.c: Likewise.
12893         * time/era.c: Likewise.
12894         * time/tzset.c: Likewise.
12895         * wcsmbs/wcsmbsload.c: Likewise.
12896         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
12897         instead of <bits/libc-lock.h> in comment.
12899 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
12901         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
12902         Only use .set mips2 if the current ISA is below mips2.
12903         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
12904         Likewise.
12905         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
12906         mips32r2 if the current ISA is below mips32r2.
12907         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
12908         (TLS_IE): Updated to use the TLD_RDHWR macro.
12909         (TLS_LE): Likewise.
12910         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
12911         __ASSEMBLER__ condition.
12913 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12915         Fix parallel build of before-compile targets.
12917         * sysdeps/mach/Makefile ($(patsubst
12918         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
12919         mach-before-compile target.
12920         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12921         io fs process)): Move rule to dedicated hurd-before-compile target.
12923 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12925         Fix rules generating headers in hurd/ and mach/ when initial make call
12926         has subdir= explicitly set.
12928         * sysdeps/mach/Makefile ($(patsubst
12929         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
12930         calling $(MAKE).
12931         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12932         io fs process)): Force subdir to hurd when calling $(MAKE).
12933         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
12934         subdir to mach when calling $(MAKE).
12936 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
12938         Check sysheaders when looking for Mach and Hurd headers
12940         * sysdeps/mach/configure.ac: Add sysheaders check.
12941         * sysdeps/mach/configure: Regenerate.
12942         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
12943         * sysdeps/mach/hurd/configure: Regenerate.
12945 2015-09-04  Roland McGrath  <roland@hack.frob.com>
12947         [BZ #18921]
12948         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
12949         Fix inverted sense of test of 'o_directory_works' value.
12950         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
12951         Bernhard Voelker <mail@bernhard-voelker.de>.
12953 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
12955         [BZ #14912]
12956         * bits/linkmap.h: Move to ...
12957         * sysdeps/generic/linkmap.h: ...here.
12958         * sysdeps/aarch64/bits/linkmap.h: Move to ...
12959         * sysdeps/aarch64/linkmap.h: ...here.
12960         * sysdeps/arm/bits/linkmap.h: Move to ...
12961         * sysdeps/arm/linkmap.h: ...here.
12962         * sysdeps/hppa/bits/linkmap.h: Move to ...
12963         * sysdeps/hppa/linkmap.h: ...here.
12964         * sysdeps/ia64/bits/linkmap.h: Move to ...
12965         * sysdeps/ia64/linkmap.h: ...here.
12966         * sysdeps/mips/bits/linkmap.h: Move to ...
12967         * sysdeps/mips/linkmap.h: ...here.
12968         * sysdeps/s390/bits/linkmap.h: Move to ...
12969         * sysdeps/s390/linkmap.h: ...here.
12970         * sysdeps/sh/bits/linkmap.h: Move to ...
12971         * sysdeps/sh/linkmap.h: ...here.
12972         * sysdeps/x86/bits/linkmap.h: Move to ...
12973         * sysdeps/x86/linkmap.h: ...here.
12974         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
12976 2015-09-04  Andreas Schwab  <schwab@suse.de>
12978         [BZ #18635]
12979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
12980         (__makecontext): Terminate FDE before return label.
12981         (__novec_makecontext): Likewise.
12983 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12985         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
12986         first member of struct sv in syscall macro.
12988 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
12990         [BZ #14912]
12991         * bits/stdio-lock.h: Move to ...
12992         * sysdeps/generic/stdio-lock.h: ...here.
12993         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12994         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
12995         * sysdeps/nptl/stdio-lock.h: ...here.
12996         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12997         * include/libio.h: Include <stdio-lock.h> instead of
12998         <bits/stdio-lock.h>.
12999         * sysdeps/nptl/fork.c: Likewise.
13000         * sysdeps/pthread/flockfile.c: Likewise.
13001         * sysdeps/pthread/ftrylockfile.c: Likewise.
13002         * sysdeps/pthread/funlockfile.c: Likewise.
13004         [BZ #14912]
13005         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
13006         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
13007         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
13008         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
13009         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
13010         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13011         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
13013 2015-09-03  Roland McGrath  <roland@hack.frob.com>
13015         * elf/Makefile (test-xfail-tst-protected1a): New variable.
13016         (test-xfail-tst-protected1b): New variable.
13018 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
13020         [BZ #14912]
13021         * bits/libc-tsd.h: Move to ...
13022         * sysdeps/generic/libc-tsd.h: ...here.
13023         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
13024         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
13025         * sysdeps/mach/hurd/libc-tsd.h: ...here.
13026         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
13027         * include/ctype.h: Include <libc-tsd.h> instead of
13028         <bits/libc-tsd.h>.
13029         * include/rpc/rpc.h: Likewise.
13030         * locale/localeinfo.h: Likewise.
13031         * sunrpc/rpc_thread.c: Likewise.
13032         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13033         * sysdeps/nptl/malloc-machine.h: Likewise.
13035         * Makefile (headers): Remove bits/libc-lock.h.
13036         * libio/Makefile (headers): Remove bits/stdio-lock.h.
13038         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
13039         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
13040         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
13041         <bits/stdio-lock.h>.
13042         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
13043         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
13045 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
13047         [BZ #18757]
13048         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
13049         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
13050         BZ #18757.
13052 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
13054         * malloc/mtrace.pl: Filter out NULL entries.
13056 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
13058         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
13059         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
13060         macro.
13062         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
13063         (TCP_CC_INFO): Likewise.
13064         (TCP_SAVE_SYN): Likewise.
13065         (TCP_SAVED_SYN): Likewise.
13067 2015-08-31  Brett Neumeier <brett@neumeier.us>
13069         [BZ #18870]
13070         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
13072 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
13074         [BZ #18873]
13075         Fix broken overflow check in posix_fallocate
13076         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
13077         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
13078         Fix parenthesization typo.
13080 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
13082         [BZ #18887]
13083         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
13084         tst-mntent-blank-passno.
13085         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
13086         * misc/tst-mntent-blank-corrupt.c: New test.
13087         * misc/tst-mntent-blank-passno.c: New test ripped from ...
13088         * misc/tst-mntent.c (do_test): ... here.
13090 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
13092         [BZ #4404]
13093         * po/de.po: Fix SIGALRM typo.
13095 2015-08-28  James Perkins  <james@loowit.net>
13097         * time/tst-strptime2.c (tests): Replace short list of test
13098         strings for strptime %z specifier with code which exhaustively
13099         tests every combination of sign and 0 to 5 digits. Tests for
13100         rejection of invalid strings.
13102 2015-08-28  James Perkins  <james@loowit.net>
13104         [BZ #16141]
13105         * time/strptime_l.c (__strptime_internal): Fix %z minutes
13106         calculation, removing incorrect decimal time rounding, so that
13107         all minute values result in a valid seconds value.
13108         * time/strptime_l.c (__strptime_internal): Extend %z time zone
13109         offset range limits to UTC-99:59 through UTC+99:59 to parse
13110         current and historical use cases.
13111         * time/tst-strptime2.c (tests): Modify and add tests for the
13112         strptime %z input field descriptor, specifically conversion of
13113         minutes to seconds and validating an offset range of -9959 to
13114         +9959.
13116 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13117             Dmitry V. Levin  <ldv@altlinux.org>
13119         [BZ #18877]
13120         * posix/Makefile (tests): Add tst-mmap-offset.
13121         * posix/tst-mmap.c: New file.
13122         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
13123         offset calculation for negative values.
13125 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13127         * sysdeps/i386/init-arch.h: New file.
13128         * sysdeps/i386/i586/init-arch.h: Likewise.
13129         * sysdeps/i386/i686/init-arch.h: Likewise.
13130         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
13131         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
13132         * sysdeps/x86/cpu-features.h (bit_I586): New.
13133         (bit_I686): Likewise.
13134         (bit_CX8): Likewise.
13135         (bit_CMOV): Likewise.
13136         (index_CX8): Likewise.
13137         (index_CMOV): Likewise.
13138         (index_I586): Likewise.
13139         (index_I686): Likewise.
13140         (reg_CX8): Likewise.
13141         (reg_CMOV): Likewise.
13142         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
13143         available at compile-time.
13144         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
13145         available at compile-time.
13146         * sysdeps/x86/init-arch.h (USE_I586): New macro.
13147         (USE_I686): Likewise.
13149 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13151         * sysdeps/i386/bcopy.S: New file.
13152         * sysdeps/i386/bzero.S: Likewise.
13153         * sysdeps/i386/memcpy.S: Likewise.
13154         * sysdeps/i386/memmove.S: Likewise.
13155         * sysdeps/i386/mempcpy.S: Likewise.
13156         * sysdeps/i386/memset.S: Likewise.
13157         * sysdeps/i386/bzero.c: Removed.
13158         * sysdeps/i386/memset.c: Likewise.
13159         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
13160         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
13161         * sysdeps/i386/i586/memset_chk.S: Likewise.
13162         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
13163         * sysdeps/i386/memcpy_chk.S: Here.
13164         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
13165         * sysdeps/i386/memmove_chk.S: Here.
13166         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
13167         * sysdeps/i386/mempcpy_chk.S: Likewise.
13168         * sysdeps/i386/i686/memset_chk.S: Moved to ...
13169         * sysdeps/i386/memset_chk.S: Likewise.
13171 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
13173         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
13174         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
13175         file, move DIAG_POP_NEEDS_COMMENT to end of file.
13176         * soft-fp/fmadf4.c: Ditto.
13177         * soft-fp/fmatf4.c: Ditto.
13179 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13181         * sysdeps/i386/i586/Implies: Removed.
13182         * sysdeps/i386/i686/Implies: Likewise.
13184 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13186         * sysdeps/i386/i486/strlen.S: Moved to ...
13187         * sysdeps/i386/strlen.S: Here.
13189 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13191         * sysdeps/i386/i486/strcat.S: Moved to ...
13192         * sysdeps/i386/strcat.S: Here.
13194 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13196         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
13197         * sysdeps/i386/pthread_spin_trylock.S: Here.
13198         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
13199         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
13201 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13203         * sysdeps/i386/i486/string-inlines.c: Moved to ...
13204         * sysdeps/i386/string-inlines.c: Here.
13206 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13208         * sysdeps/i386/i486/htonl.S: Moved ...
13209         * sysdeps/i386/htonl.S: here.
13211 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13213         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
13214         * sysdeps/i386/bits/atomic.h: Here.
13216 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13218         * sysdeps/i386/i486/Versions: Removed.
13220 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13222         [BZ #2898]
13223         * misc/mktemp.c: Add mkdtemp to the link_warning message.
13224         Based on patch by Aurelien Jarno.
13226 2015-08-26  Stan Shebs  <stanshebs@google.com>
13228         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
13229         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13231 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13233         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
13234         * sysdeps/powerpc/dl-procinfo.c:
13235         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
13236         feature so it shows when LD_SHOW_AUXV=1.
13238 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13240         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13241         (__arch_compare_and_exchange_val_32_acq): Remove and use common
13242         definition.  ISA 2.07B no longer requires full sync.
13244 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
13246         [BZ #18863]
13247         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
13248         (si_call_addr): Define.
13249         (si_syscall): Define.
13250         (si_arch): Define.
13252 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
13254         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
13255         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
13256         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
13257         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13258         (__memset_zero_constant_len_parameter): New.
13259         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
13260         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13261         (__memset_zero_constant_len_parameter): Don't define if
13262         __memset_chk or USE_AS_BZERO are defined.
13264         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
13265         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
13266         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
13268         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
13269         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
13270         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
13271         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
13272         comments.
13273         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
13274         -mno-mmx for $(all-rtld-routines).
13275         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
13276         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
13277         i386.
13279 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13281         * sysdeps/generic/unwind.h
13282         (_Unwind_Word): Use __mode__(__unwind_word__)
13283         instead of __mode__(__word__).
13284         (_Unwind_Sword): Likewise.
13286         * sysdeps/s390/s390-64/utf8-utf16-z9.c
13287         (MAX_NEEDED_INPUT): New define.
13288         (MAX_NEEDED_OUTPUT): New define.
13290         * NEWS: New item for IBM z13 string optimizations.
13292         * sysdeps/s390/multiarch/memrchr-c.c: New File.
13293         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
13294         * sysdeps/s390/multiarch/memrchr.c: Likewise.
13295         * sysdeps/s390/multiarch/Makefile
13296         (sysdep_routines): Add memrchr functions.
13297         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13298         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
13300         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
13301         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
13302         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
13303         * sysdeps/s390/multiarch/Makefile
13304         (sysdep_routines): Add wmemcmp functions.
13305         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13306         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
13307         * benchtests/bench-wmemcmp.c: New File.
13308         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
13310         * sysdeps/s390/multiarch/wmemset-c.c: New File.
13311         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
13312         * sysdeps/s390/multiarch/wmemset.c: Likewise.
13313         * sysdeps/s390/multiarch/Makefile
13314         (sysdep_routines): Add wmemset functions.
13315         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13316         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
13317         * wcsmbs/wmemset.c: Use WMEMSET if defined.
13318         * string/test-memset.c: Add wmemset support.
13319         * wcsmbs/test-wmemset.c: New File.
13320         * wcsmbs/Makefile (strop-tests): Add wmemset.
13321         * benchtests/bench-memset.c: Add wmemset support.
13322         * benchtests/bench-wmemset.c: New File.
13323         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
13325         * sysdeps/s390/multiarch/memccpy-c.c: New File.
13326         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
13327         * sysdeps/s390/multiarch/memccpy.c: Likewise.
13328         * sysdeps/s390/multiarch/Makefile
13329         (sysdep_routines): Add memccpy functions.
13330         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13331         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
13332         * string/memccpy.c: Use MEMCCPY if defined.
13334         * sysdeps/s390/multiarch/memchr-vx.S: New File.
13335         * sysdeps/s390/multiarch/memchr.c: Likewise.
13336         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
13337         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
13338         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
13339         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
13340         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
13341         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
13342         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
13343         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
13344         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
13345         and rawmemchr functions.
13346         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13347         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
13348         and wmemchr.
13349         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
13350         * string/test-memchr.c: Add wmemchr support.
13351         * wcsmbs/test-wmemchr.c: New File.
13352         * wcsmbs/Makefile (strop-tests): Add wmemchr.
13353         * benchtests/bench-memchr.c: Add wmemchr support.
13354         * benchtests/bench-wmemchr.c: New File.
13355         * benchtests/Makefile (wcsmbs-bench): wmemchr.
13357         * sysdeps/s390/multiarch/strcspn-c.c: New File.
13358         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
13359         * sysdeps/s390/multiarch/strcspn.c: Likewise.
13360         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
13361         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
13362         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
13363         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
13364         wcscspn functions.
13365         * sysdeps/s390/multiarch/ifunc-impl-list.c
13366         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
13367         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
13368         * string/test-strcspn.c: Add wcscspn support.
13369         * wcsmbs/test-wcscspn.c: New File.
13370         * wcsmbs/Makefile (strop-tests): Add wcscspn.
13371         * benchtests/bench-strcspn.c: Add wcscspn support.
13372         * benchtests/bench-wcscspn.c: New File.
13373         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
13375         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
13376         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
13377         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
13378         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
13379         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
13380         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
13381         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
13382         wcspbrk functions.
13383         * sysdeps/s390/multiarch/ifunc-impl-list.c
13384         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
13385         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
13386         * string/test-strpbrk.c: Add wcspbrk support.
13387         * wcsmbs/test-wcspbrk.c: New File.
13388         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
13389         * benchtests/bench-strpbrk.c: Add wcspbrk support.
13390         * benchtests/bench-wcspbrk.c: New File.
13391         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
13393         * sysdeps/s390/multiarch/strspn-c.c: New File.
13394         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
13395         * sysdeps/s390/multiarch/strspn.c: Likewise.
13396         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
13397         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
13398         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
13399         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
13400         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
13401         wcsspn functions.
13402         * sysdeps/s390/multiarch/ifunc-impl-list.c
13403         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
13404         * string/test-strspn.c: Add wcsspn support.
13405         * wcsmbs/test-wcsspn.c: New File.
13406         * wcsmbs/Makefile (strop-tests): Add wcsspn.
13407         * benchtests/bench-strspn.c: Add wcsspn support.
13408         * benchtests/bench-wcsspn.c: New File.
13409         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
13411         * sysdeps/s390/multiarch/strrchr-c.c: New File.
13412         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
13413         * sysdeps/s390/multiarch/strrchr.c: Likewise.
13414         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
13415         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
13416         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
13417         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
13418         wcsrchr functions.
13419         * sysdeps/s390/multiarch/ifunc-impl-list.c
13420         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
13421         * benchtests/bench-wcsrchr.c: New File.
13422         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
13424         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
13425         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
13426         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
13427         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
13428         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
13429         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
13430         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
13431         wcschrnul functions.
13432         * sysdeps/s390/multiarch/ifunc-impl-list.c
13433         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
13434         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
13435         * string/test-strchr.c: Add wcschrnul support.
13436         * wcsmbs/test-wcschrnul.c: New File.
13437         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
13438         * benchtests/bench-strchr.c: Add wcschrnul support.
13439         * benchtests/bench-wcschrnul.c: New File.
13440         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
13442         * sysdeps/s390/multiarch/strchr-c.c: New File.
13443         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
13444         * sysdeps/s390/multiarch/strchr.c: Likewise.
13445         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
13446         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
13447         * sysdeps/s390/multiarch/wcschr.c: Likewise.
13448         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
13449         wcschr functions.
13450         * sysdeps/s390/multiarch/ifunc-impl-list.c
13451         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
13452         * string/strchr.c (STRCHR): Define and use macro.
13453         * benchtests/bench-wcschr.c: New File.
13454         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
13456         * sysdeps/s390/multiarch/strncmp-c.c: New File.
13457         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
13458         * sysdeps/s390/multiarch/strncmp.c: Likewise.
13459         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
13460         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
13461         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
13462         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
13463         wcsncmp functions.
13464         * sysdeps/s390/multiarch/ifunc-impl-list.c
13465         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
13466         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
13467         * benchtests/bench-strncmp.c: Add wcsncmp support.
13468         * benchtests/bench-wcsncmp.c: New File.
13469         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
13471         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
13472         * sysdeps/s390/multiarch/strcmp.c: Likewise.
13473         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
13474         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
13475         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
13476         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
13477         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
13478         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
13479         wcscmp functions.
13480         * sysdeps/s390/multiarch/ifunc-impl-list.c
13481         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
13482         * string/strcmp.c (STRCMP): Define and use macro.
13483         * benchtests/bench-wcscmp.c: New File.
13484         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
13485         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
13486         instead of _HAVE_STRING_ARCH_memchr.
13488         * sysdeps/s390/multiarch/strncat-c.c: New File.
13489         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
13490         * sysdeps/s390/multiarch/strncat.c: Likewise.
13491         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
13492         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
13493         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
13494         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
13495         wcsncat functions.
13496         * sysdeps/s390/multiarch/ifunc-impl-list.c
13497         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
13498         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
13499         * string/test-strncat.c: Add wcsncat support.
13500         * wcsmbs/test-wcsncat.c: New File.
13501         * wcsmbs/Makefile (strop-tests): Add wcsncat.
13502         * benchtests/bench-strncat.c: Add wcsncat support.
13503         * benchtests/bench-wcsncat.c: New File.
13504         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
13506         * sysdeps/s390/multiarch/strcat-c.c: New File.
13507         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
13508         * sysdeps/s390/multiarch/strcat.c: Likewise.
13509         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
13510         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
13511         * sysdeps/s390/multiarch/wcscat.c: Likewise.
13512         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
13513         wcscat functions.
13514         * sysdeps/s390/multiarch/ifunc-impl-list.c
13515         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
13516         * string/strcat.c (STRCAT): Define and use macro.
13517         * wcsmbs/wcscat.c: Use WCSCAT if defined.
13518         * string/test-strcat.c: Add wcscat support.
13519         * wcsmbs/test-wcscat.c: New File.
13520         * wcsmbs/Makefile (strop-tests): Add wcscat.
13521         * benchtests/bench-strcat.c: Add wcscat support.
13522         * benchtests/bench-wcscat.c: New File.
13523         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
13525         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
13526         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
13527         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
13528         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
13529         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
13530         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
13531         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
13532         wcpncpy functions.
13533         * sysdeps/s390/multiarch/ifunc-impl-list.c
13534         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
13535         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
13536         * string/test-stpncpy.c: Add wcpncpy support.
13537         * wcsmbs/test-wcpncpy.c: New File.
13538         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
13539         * benchtests/bench-stpncpy.c: Add wcpncpy support.
13540         * benchtests/bench-wcpncpy.c: New File.
13541         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
13543         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
13544         * sysdeps/s390/multiarch/strncpy.c: Likewise.
13545         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
13546         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
13547         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
13548         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
13549         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
13550         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
13551         wcsncpy functions.
13552         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
13553         * sysdeps/s390/multiarch/ifunc-impl-list.c
13554         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
13555         * string/test-strncpy.c: Add wcsncpy support.
13556         * wcsmbs/test-wcsncpy.c: New File.
13557         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
13558         * benchtests/bench-strncpy.c: Add wcsncpy support.
13559         * benchtests/bench-wcsncpy.c: New File.
13560         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
13562         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
13563         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
13564         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
13565         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
13566         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
13567         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
13568         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
13569         wcpcpy functions.
13570         * string/stpcpy.c: Use STPCPY if defined.
13571         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
13572         * sysdeps/s390/multiarch/ifunc-impl-list.c
13573         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
13574         * string/test-stpcpy.c: Add wcpcpy support.
13575         * wcsmbs/test-wcpcpy.c: New File.
13576         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
13577         * benchtests/bench-stpcpy.c: Add wcpcpy support.
13578         * benchtests/bench-wcpcpy.c: New File.
13579         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
13581         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
13582         * sysdeps/s390/multiarch/strcpy.c: Likewise.
13583         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
13584         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
13585         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
13586         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
13587         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
13588         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
13589         wcscpy functions.
13590         * sysdeps/s390/multiarch/ifunc-impl-list.c
13591         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
13592         * benchtests/bench-wcscpy.c: New File.
13593         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
13595         * sysdeps/s390/multiarch/strnlen-c.c: New File.
13596         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
13597         * sysdeps/s390/multiarch/strnlen.c: Likewise.
13598         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
13599         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
13600         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
13601         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
13602         wcsnlen functions.
13603         * sysdeps/s390/multiarch/ifunc-impl-list.c
13604         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
13605         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
13606         * string/test-strnlen.c: Add wcsnlen support.
13607         * wcsmbs/test-wcsnlen.c: New File.
13608         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
13609         * benchtests/bench-strnlen.c: Add wcsnlen support.
13610         * benchtests/bench-wcsnlen.c: New File.
13611         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
13613         * sysdeps/s390/multiarch/Makefile: New File.
13614         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
13615         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
13616         * sysdeps/s390/multiarch/strlen.c: Likewise.
13617         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
13618         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
13619         * sysdeps/s390/multiarch/wcslen.c: Likewise.
13620         * string/strlen.c (STRLEN): Define and use macro.
13621         * sysdeps/s390/multiarch/ifunc-impl-list.c
13622         (IFUNC_VX_IMPL): New macro function.
13623         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
13624         * benchtests/Makefile (wcsmbs-bench): New variable.
13625         (string-bench-all): Added wcsmbs-bench.
13626         * benchtests/bench-wcslen.c: New File.
13628         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
13629         s390_vx_libc_ifunc2): New macro function.
13631         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
13632         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
13633         assembler support.
13634         * sysdeps/s390/configure: Regenerated.
13636         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
13637         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
13639         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
13640         * sysdeps/s390/dl-procinfo.h: Add vector capability.
13641         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
13643         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
13644         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
13645         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
13646         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
13647         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
13648         (memcmp, bcmp): Use __memcmp_default as alias source.
13649         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
13650         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
13651         Rename to __memcmp_default.
13652         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
13653         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
13654         (memcpy): Use __memcpy_default as alias source.
13655         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
13656         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
13657         Rename to __memcpy_default.
13658         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
13659         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
13660         (memset): Use __memset_default as alias source.
13661         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
13662         * sysdeps/s390/s390-32/memset.S (__memset_g5):
13663         Rename to __memset_default.
13664         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
13665         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
13666         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
13667         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
13668         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
13669         (memcmp, bcmp): Use __memcmp_default as alias source.
13670         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
13671         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
13672         Rename to __memcmp_default.
13673         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
13674         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
13675         (memcpy): Use __memcpy_default as alias source.
13676         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
13677         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
13678         Rename to __memcpy_default.
13679         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
13680         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
13681         (memset): Use __memset_default as alias source.
13682         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
13683         * sysdeps/s390/s390-64/memset.S (__memset_z900):
13684         Rename to __memset_default.
13685         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
13686         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
13688         [BZ #18610]
13689         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
13690         __ieee_instruction_pointer to __unused.
13691         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
13692         __ieee_instruction_pointer.
13693         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
13694         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
13695         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13696         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13697         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
13698         Mark dxc-field as reserved.
13700 2015-08-25  Roland McGrath  <roland@hack.frob.com>
13702         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
13703         if the weak reference is not null.
13705 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13707         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
13709         [BZ #11214]
13710         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
13712 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13714         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
13715         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
13716         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
13717         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
13718         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
13719         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
13720         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
13721         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
13722         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
13723         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
13724         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
13725         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
13726         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
13727         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
13728         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
13729         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
13730         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
13731         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
13733 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13735         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
13736         register other than r0 for tabort, it has special meaning.
13737         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
13738         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
13739         transaction before starting syscall.
13741 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13743         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
13745 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13747         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
13749         * sysdeps/x86_64/rtld-memcmp.c: Removed.
13750         * sysdeps/x86_64/rtld-memset.S: Likewise.
13751         * sysdeps/x86_64/rtld-strchr.S: Likewise.
13752         * sysdeps/x86_64/rtld-strlen.S: Likewise.
13753         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
13754         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13756         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
13758 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
13760         * debug/strcpy_chk.c: Improve performance.
13761         * debug/stpcpy_chk.c: Likewise.
13762         * sysdeps/x86_64/strcpy_chk.S: Remove.
13763         * sysdeps/x86_64/stpcpy_chk.S: Remove.
13765         [BZ #18240]
13766         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
13768 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13770         [BZ #15128]
13771         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
13772         ifuncmain8.
13773         (modules-names): Add ifuncmod8.
13774         ($(objpfx)ifuncmain8): New rule.
13775         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
13776         <cpuid.h>.
13777         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
13778         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
13779         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
13780         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
13781         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
13782         * sysdeps/x86_64/dl-trampoline.h: Likewise.
13783         * sysdeps/x86_64/ifuncmain8.c: New file.
13784         * sysdeps/x86_64/ifuncmod8.c: Likewise.
13785         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
13786         Removed.
13787         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
13788         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
13789         Change rtld_savespace_sse to __glibc_unused2.
13790         (RTLD_CHECK_FOREIGN_CALL): Removed.
13791         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
13792         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
13793         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
13795 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
13797         * sysdeps/aarch64/bzero.S (__bzero): Remove.
13799 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
13801         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
13802         Unconditionally set __fpcr to avoid uninialized warning.
13803         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
13805 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13807         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
13808         is corrupt.
13810         * malloc/arena.c (arena_get2): Drop unused argument.
13811         (arena_lock): Adjust.
13812         (arena_get_retry): Likewise.
13814 2015-08-24  Andreas Schwab  <schwab@suse.de>
13816         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
13817         Don't define.
13818         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13819         (__ASSUME_IPC64): Don't undef.
13820         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
13821         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13822         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13823         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
13824         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
13825         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
13826         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
13827         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
13828         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
13829         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
13830         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
13831         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
13832         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
13833         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
13834         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
13835         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
13836         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
13837         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
13838         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
13839         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
13840         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
13842 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
13844         * manual/Makefile (install): Only build manual when perl is available.
13846 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13848         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
13849         '#undef memcpy' by '#undef memchr'.
13851 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13853         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
13854         memchr not point to the internal __GI_memchr implementation.
13856 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
13858         * timezone/Makefile (CFLAGS-zdump.c): Remove
13859         -Wno-strict-prototypes.
13860         (CFLAGS-zic.c): Likewise.
13861         (CFLAGS-ialloc.c): Likewise.
13862         (CFLAGS-scheck.c): Likewise.
13864         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
13865         -Wno-error=undef.
13867 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13869         * i386/i686/multiarch/strcasestr-c.c: Removed.
13870         * x86_64/multiarch/strcasestr.c: Likewise.
13871         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13872         Remove strcasestr.
13874 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
13876         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
13878         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
13879         variables for high and low parts before possibly modifying them.
13881 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13883         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
13884         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
13885         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
13886         of "multiarch/init-arch.h".
13887         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
13888         * sysdeps/x86/init-arch.h: This.
13890 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13892         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
13893         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
13895 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
13897         [BZ #17787]
13898         * manual/macros.texi: Add twoexp macro.
13899         * manual/filesys.texi: Fix exponents.
13900         * manual/llio.texi: Likewise.
13901         * manual/stdio.texi: Likewise.
13903 2015-08-20  Florian Weimer  <fweimer@redhat.com>
13905         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
13906         incorrect use.
13908 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
13910         [BZ #18370]
13911         * math/s_csqrt.c (__csqrt): Force underflow exception for results
13912         whose real or imaginary part has small absolute value.
13913         * math/s_csqrtf.c (__csqrtf): Likewise.
13914         * math/s_csqrtl.c (__csqrtl): Likewise.
13915         * math/auto-libm-test-in: Add more tests of csqrt.
13916         * math/auto-libm-test-out: Regenerated.
13917         * sysdeps/i386/fpu/libm-test-ulps: Update.
13919 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13921         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
13922         __ppc_set_ppr_very_low): New functions.
13923         * manual/platform.texi: Add documentation about
13924         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
13926 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
13928         * string/stpncpy.c (stpncpy): Improve performance using
13929         __strnlen/memcpy/memset.
13931 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13933         [BZ #18796]
13934         * scripts/test-installation.pl: Don't add -lmvec to build options if
13935         libmvec wasn't built.
13937 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
13939         [BZ #14341]
13940         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
13941         case when there is a gap between DT_REL and DT_JMPREL sections.
13942         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
13943         (LDFLAGS-tst-split-dynreloc): New.
13944         (tst-split-dynreloc-ENV): Likewise.
13945         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
13946         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
13948 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13950         [BZ #18822]
13951         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
13952         attribute_hidden.
13953         (__xstat64_conv): Likewise.
13954         (__xstat32_conv): Likewise.
13956 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13958         [BZ #18822]
13959         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
13960         Don't load %ebx when calling __setcontext.  Call __setcontext
13961         with HIDDEN_JUMPTARGET.
13962         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
13963         libc_hidden_def.
13965 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13967         * sysdeps/i386/i686/Makefile
13968         [$(subdir) == string] (sysdep_routines): Moved to ...
13969         * sysdeps/i386/Makefile: Here.
13970         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
13971         * sysdeps/i386/cacheinfo.c: Here.
13972         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
13973         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
13974         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
13975         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
13977 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13979         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
13980         __i586__ is defined.
13981         (HAS_I686): Defined to 1 if __i686__ is defined.
13983 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
13985         * elf/Makefile [$(have-z-execstack) = yes]
13986         (CPPFLAGS-tst-execstack.c): New variable.
13988         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
13989         conditional to [defined UTMPX || _HAVE_UT_TYPE].
13990         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
13991         UTMPX || _HAVE_UT_TV].
13992         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
13993         UTMPX || _HAVE_UT_TV - 0].
13995 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
13997         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
13998         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
13999         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
14001 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14003         * sysdeps/powerpc/dl-procinfo.c:
14004         (_dl_powerpc_cap_flags): Added missing strings for some
14005         hwcap features.
14006         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
14008 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
14010         Port the 0x7efe...feff pattern to GCC 6.
14011         See Steve Ellcey's bug report in:
14012         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
14013         * string/memrchr.c (MEMRCHR):
14014         * string/rawmemchr.c (RAWMEMCHR):
14015         * string/strchr.c (strchr):
14016         * string/strchrnul.c (STRCHRNUL):
14017         Rewrite code to avoid issues with signed shift overflow.
14019 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
14021         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
14022         whether cpuid is available only if HAS_CPUID is 0.
14023         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
14024         (HAS_I586): Likewise.
14025         (HAS_I686): Likewise.
14027 2015-08-18  Zack Weinberg  <zackw@panix.com>
14029         * misc/Versions (libc): Add GLIBC_2.23.
14031 2015-08-18  Alan Modra  <amodra@gmail.com>
14033         [BZ #18421]
14034         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
14035         .Lp__global.
14036         (_start): Load %dp via .Lp__global.
14037         [!SHARED]: Use .section .rodata.
14039 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14041         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
14042         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
14044 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14046         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
14047         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
14049 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14051         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
14052         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
14054 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14056         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
14057         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
14059 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14061         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
14062         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
14064 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14066         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
14067         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
14069 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14071         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
14073 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14075         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
14076         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
14077         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14078         (__ASSUME_LWS_CAS): Delete.
14080 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14082         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
14083         * sysdeps/hppa/configure: Regenerated.
14084         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
14085         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
14086         * sysdeps/hppa/nptl/tls.h: Likewise.
14088 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
14090         [BZ #18823]
14091         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
14092         for scaling up small arguments.
14093         * math/s_csqrtf.c (__csqrtf): Likewise.
14094         * math/s_csqrtl.c (__csqrtl): Likewise.
14095         * math/auto-libm-test-in: Add more tests of csqrt.
14096         * math/auto-libm-test-out: Regenerated.
14098 2015-08-17  Andreas Schwab  <schwab@suse.de>
14100         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
14101         version set GLIBC_2.19.
14103 2015-08-16  Zack Weinberg  <zackw@panix.com>
14105         [BZ #18681]
14106         * misc/regexp.h: This interface is no longer supported.
14107         Remove all contents, leaving only an #error directive.
14108         * misc/regexp.c (loc1, loc2, locs, step, advance):
14109         Demote to compatibility symbols.
14111 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
14113         [BZ #18084]
14114         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
14115         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
14116         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
14117         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
14118         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
14119         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
14120         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
14121         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
14122         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
14124 2015-08-15  Zack Weinberg  <zackw@panix.com>
14126         [BZ #18795]
14127         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
14128         buffer length is known to be too large, not if it's known to be
14129         small enough.
14130         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
14131         overflow at runtime, involving a length parameter, twice: once
14132         with a compile-time constant length parameter, once without.
14134 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
14136         [BZ #18824]
14137         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
14138         scaling x * y up instead of down.
14139         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14140         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14141         * math/auto-libm-test-in: Add more tests of fma.
14142         * math/auto-libm-test-out: Regenerated.
14144 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
14146         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14148 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14150         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
14151         unnecessary movq.
14152         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
14153         Likewise.
14155 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
14157         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14158         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
14159         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
14160         and tgamma.
14161         * math/auto-libm-test-out: Regenerated.
14162         * sysdeps/i386/fpu/libm-test-ulps: Update.
14163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14165         [BZ #16520]
14166         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
14167         (__tanh): Force underflow exception for arguments with small
14168         absolute value.
14169         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
14170         (__tanhf): Force underflow exception for arguments with small
14171         absolute value.
14172         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
14173         (__tanhl): Force underflow exception for arguments with small
14174         absolute value.
14175         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
14176         (__tanhl): Force underflow exception for arguments with small
14177         absolute value.
14178         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
14179         (__tanhl): Force underflow exception for arguments with small
14180         absolute value.
14181         * math/auto-libm-test-in: Add more tests of tanh.
14182         * math/auto-libm-test-out: Regenerated.
14183         * sysdeps/i386/fpu/libm-test-ulps: Update.
14185 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14187         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
14188         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
14190 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14192         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
14193         <cpuid.h>.
14195 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14197         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
14198         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
14200 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14202         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
14203         Remove $(objpfx)init-arch.o.
14204         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
14205         init-arch.
14206         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
14207         (INIT_ARCH_EXT): Defined as empty.
14208         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
14209         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
14210         __init_cpu_features call.  Replace HAS_XXX with
14211         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14212         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
14213         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
14214         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
14215         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
14216         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
14217         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
14218         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
14219         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
14220         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
14221         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
14222         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
14223         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
14224         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
14225         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
14226         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
14227         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
14228         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
14229         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
14230         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
14231         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
14232         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
14233         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
14234         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
14235         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
14236         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
14237         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
14238         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
14239         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
14240         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
14241         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
14242         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
14243         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
14244         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
14245         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
14246         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
14248 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14250         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
14251         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14252         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14253         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14254         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
14255         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
14256         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
14257         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
14258         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
14259         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
14260         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
14261         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
14262         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14263         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14264         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14265         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14266         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14267         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14268         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14269         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14270         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14271         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14272         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14273         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14274         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14275         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14276         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14277         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14278         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14279         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14280         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14281         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14282         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14283         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14284         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14285         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14286         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14287         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14288         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14289         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14290         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14291         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14292         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14294 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14296         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
14297         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14298         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14299         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14300         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14301         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
14302         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14303         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
14304         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14305         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14306         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14307         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
14308         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
14309         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
14310         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
14311         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
14312         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
14313         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
14314         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
14315         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
14316         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
14317         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
14318         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
14319         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14320         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14321         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
14322         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
14323         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
14324         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14325         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14326         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14327         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14328         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14329         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14330         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14331         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14332         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14333         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14334         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14335         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14336         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14337         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14338         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14340 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14342         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
14343         (dl_platform_init): Call init_cpu_features.
14344         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
14345         * sysdeps/i386/i686/cacheinfo.c
14346         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
14347         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
14348         * sysdeps/i386/i686/multiarch/Versions: Removed.
14349         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
14350         Removed.
14351         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
14352         * sysdeps/unix/sysv/linux/x86/Makefile
14353         (libpthread-sysdep_routines): Remove init-arch.
14354         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
14355         <sysdeps/x86_64/dl-procinfo.c> instead of
14356         sysdeps/generic/dl-procinfo.c>.
14357         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
14358         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
14359         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
14360         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
14361         [$(subdir) == elf] (tests-static): Add
14362         tst-get-cpu-features-static.
14363         * sysdeps/x86/Versions: New file.
14364         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
14365         * sysdeps/x86/cpu-features.c: Likewise.
14366         * sysdeps/x86/cpu-features.h: Likewise.
14367         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
14368         * sysdeps/x86/libc-start.c: Likewise.
14369         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
14370         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
14371         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
14372         * sysdeps/x86_64/dl-procinfo.c: Likewise.
14373         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
14374         Assume USE_MULTIARCH is defined and don't check it.
14375         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
14376         (is_amd): Likewise.
14377         (max_cpuid): Likewise.
14378         (intel_check_word): Likewise.
14379         (__cache_sysconf): Don't call __init_cpu_features.
14380         (__x86_preferred_memory_instruction): Removed.
14381         (init_cacheinfo): Don't call __init_cpu_features. Replace
14382         __cpu_features with GLRO(dl_x86_cpu_features).
14383         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
14384         (dl_platform_init): Call init_cpu_features.
14385         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
14386         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
14387         * sysdeps/x86_64/multiarch/Versions: Removed.
14388         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
14389         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
14390         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
14391         Removed.
14392         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
14394 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14396         [BZ #18820]
14397         * libio/Makefile (test-fmemopen-mem): New test.
14398         * libio/test-fmemopen.c (do_bz18820): New test.
14399         * libio/fmemopen.c (__fmemopen): Fix memory leak.
14400         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
14402 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14404         [BZ #16734]
14405         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
14406         (FREE_BUF): Delete.
14407         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
14408         * libio/genops.c (_IO_setb): Use malloc and free directly.
14409         (_IO_default_doallocate, _IO_default_finish): Likewise.
14410         ( _IO_unbuffer_all): Likewise.
14411         ( libc_freeres_fn): Likewise.
14412         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14413         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
14414         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
14415         (_IO_wdefault_doallocate): Likewise.
14417 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14419         [BZ #18086]
14420         * sysdeps/posix/nice.c (nice): Restore old errno.
14421         * posix/tst-nice.c (do_test): Add test for BZ #18086.
14423 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
14425         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
14427 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14429         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
14430         __bcopy and add a weak_alias to bcopy.
14431         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
14432         for static build.
14434         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
14435         cleanup macro usage.
14436         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
14437         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
14438         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
14439         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
14440         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
14441         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
14442         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
14443         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14444         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14445         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
14446         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14447         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
14448         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14449         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
14450         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14451         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
14452         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
14453         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
14454         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14456         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
14457         libc_hidden_def.
14458         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
14460         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
14461         (sysdep_routines): Add strstr-ppc64.
14462         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
14464 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
14466         [BZ #18778]
14467         * elf/Makefile (tests): Add Add tst-nodelete2.
14468         (modules-names): Add tst-nodelete2mod.
14469         (tst-nodelete2mod.so-no-z-defs): New.
14470         ($(objpfx)tst-nodelete2): Likewise.
14471         ($(objpfx)tst-nodelete2.out): Likewise.
14472         (LDFLAGS-tst-nodelete2): Likewise.
14473         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
14474         out of loop through all loaded libraries.
14475         * elf/tst-nodelete2.c: New file.
14476         * elf/tst-nodelete2mod.c: Likewise.
14477         * elf/tst-znodelete-zlib.cc: Delete.
14479 2015-08-11  Andreas Schwab  <schwab@suse.de>
14481         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
14482         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
14483         (__openat64_nocancel): Likewise.
14485 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
14487         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
14488         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
14489         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
14490         * math/auto-libm-test-out: Regenerated.
14491         * sysdeps/i386/fpu/libm-test-ulps: Update.
14492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14494 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
14496         [BZ #18790]
14497         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
14498         threshold for returning +/- 1.
14499         * math/auto-libm-test-in: Add more tests of tanh.
14500         * math/auto-libm-test-out: Regenerated.
14501         * sysdeps/i386/fpu/libm-test-ulps: Update.
14503 2015-08-10  Andreas Schwab  <schwab@suse.de>
14505         [BZ #18781]
14506         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
14507         MORE_OFLAGS to oflag.
14508         * io/test-lfs.c (do_test): Test openat64.
14510 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
14512         [BZ #18789]
14513         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
14514         smaller threshold for returning the argument.
14515         * math/auto-libm-test-in: Add more tests of sinh.
14516         * math/auto-libm-test-out: Regenerated.
14517         * sysdeps/i386/fpu/libm-test-ulps: Update.
14519 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
14521         [BZ #18674]
14522         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
14523         break.
14525 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
14527         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
14528         (generated): Don't add $(addprefix z.,$(tzfiles)).
14530 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14532         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
14533         * scripts/sysd-rules.awk: Likewise.
14535 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14537         * iconvdata/tst-tables.sh: Change echo -n to printf.
14538         * nss/db-Makefile: Likewise.
14539         * posix/tst-getconf.sh: Likewise.
14540         * stdio-common/tst-unbputc.sh: Likewise.
14542 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14544         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
14545         MADV_*_PAGES defines behind this feature check.
14547 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
14549         [BZ #18480]
14550         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
14551         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
14552         Define.
14553         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
14554         LOAD_REGS_5, LOAD_REGS_6): Update.
14555         (INTERNAL_SYSCALL): Update using new LOAD defines.
14556         (INTERNAL_SYSCALL_NCS): Likewise.
14557         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
14559 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14561         [BZ #16734]
14562         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
14564 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14566         [BZ #17905]
14567         * catgets/Makefile (tst-catgets-mem): New test.
14568         * catgets/catgets.c (catopen): Don't use unbounded alloca.
14569         * catgets/open_catalog.c (__open_catalog): Likewise.
14570         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
14572 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
14574         [BZ #18787]
14575         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
14576         clobber registers.
14577         (atomic_compare_and_exchange_val_acq): Use register asms to assign
14578         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
14579         Cast return to __typeof (oldval).
14581 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
14583         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
14584         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
14585         and delete sys/syscall.h include.
14587 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
14589         [BZ #16517]
14590         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
14591         (tan): Force underflow exception for arguments with small absolute
14592         value.
14593         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
14594         (__kernel_tanf): Force underflow exception for arguments with
14595         small absolute value.
14596         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
14597         (__kernel_tanl): Force underflow exception for arguments with
14598         small absolute value.
14599         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
14600         (__kernel_tanl): Force underflow exception for arguments with
14601         small absolute value.
14602         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
14603         (__kernel_tanl): Force underflow exception for arguments with
14604         small absolute value.
14605         * math/auto-libm-test-in: Add more tests of tan.
14606         * math/auto-libm-test-out: Regenerated.
14608 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14610         Fix sysdeps/i386/fpu/s_scalbn.S build
14612         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
14614 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
14616         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14618 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14620         Fix gcrt0.o compilation
14622         When static-start-installed-name is different from
14623         start-installed-name, we must not use the shared objects.
14625         * csu/Makefile
14626         (extra-objs): Add gmon-start.o when building shared library and
14627         $(static-start-installed-name) is different from
14628         $(start-installed-name).
14629         $(objpfx)g$(static-start-installed-name): When building shared
14630         library and $(static-start-installed-name) is different from
14631         $(static-start-installed-name), revert to non-shared rule,
14632         i.e. using $(objpfx)% and gmon-start.o.
14634 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
14636         [BZ #16519]
14637         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
14638         (__ieee754_sinh): Force underflow exception for arguments with
14639         small absolute value.
14640         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
14641         (__ieee754_sinhf): Force underflow exception for arguments with
14642         small absolute value.
14643         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
14644         (__ieee754_sinhl): Force underflow exception for arguments with
14645         small absolute value.
14646         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
14647         (__ieee754_sinhl): Force underflow exception for arguments with
14648         small absolute value.
14649         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
14650         (__ieee754_sinhl): Force underflow exception for arguments with
14651         small absolute value.
14652         * math/auto-libm-test-in: Add more tests of sinh.
14653         * math/auto-libm-test-out: Regenerated.
14654         * sysdeps/i386/fpu/libm-test-ulps: Update.
14656 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14658         * libio/oldfileops.c: Include unistd.h.
14660 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
14662         * stdlib/isomac.c: Include ctype.h.
14664 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
14666         * dirent/tst-seekdir.c (main): Converted to ...
14667         (do_test): ... this.
14668         (TEST_FUNCTION): New macro.
14669         Include test-skeleton.c.
14670         * elf/tst-dlmodcount.c (main): Converted to ...
14671         (do_test): ... this.
14672         (TEST_FUNCTION): New macro.
14673         Include test-skeleton.c.
14674         * elf/tst-order-main.c (main): Converted to ...
14675         (do_test): ... this.
14676         (TEST_FUNCTION): New macro.
14677         Include test-skeleton.c.
14678         * elf/tst-pie2.c (main): Converted to ...
14679         (do_test): ... this.
14680         (TEST_FUNCTION): New macro.
14681         Include test-skeleton.c.
14682         * inet/tst-ether_aton.c (main): Converted to ...
14683         (do_test): ... this.
14684         (TEST_FUNCTION): New macro.
14685         Include test-skeleton.c.
14686         * misc/tst-mntent.c (main): Converted to ...
14687         (do_test): ... this.
14688         (TEST_FUNCTION): New macro.
14689         Include test-skeleton.c.
14690         * misc/tst-tsearch.c (main): Converted to ...
14691         (do_test): ... this.
14692         (TEST_FUNCTION): New macro.
14693         Include test-skeleton.c.
14694         * posix/tst-regexloc.c (main): Converted to ...
14695         (do_test): ... this.
14696         (TEST_FUNCTION): New macro.
14697         Include test-skeleton.c.
14698         * resolv/tst-aton.c (main): Converted to ...
14699         (do_test): ... this.
14700         (TEST_FUNCTION): New macro.
14701         Include test-skeleton.c.
14702         * stdio-common/test-fwrite.c (main): Converted to ...
14703         (do_test): ... this.
14704         (TEST_FUNCTION): New macro.
14705         Include test-skeleton.c.
14706         * stdio-common/tst-ferror.c (main): Converted to ...
14707         (do_test): ... this.
14708         (TEST_FUNCTION): New macro.
14709         Include test-skeleton.c.
14710         * stdio-common/tst-printf.c (main): Converted to ...
14711         (do_test): ... this.
14712         (TEST_FUNCTION): New macro.
14713         Include test-skeleton.c.
14714         * stdio-common/tst-printfsz.c (main): Converted to ...
14715         (do_test): ... this.
14716         (TEST_FUNCTION): New macro.
14717         Include test-skeleton.c.
14718         * stdlib/tst-strtod.c (main): Converted to ...
14719         (do_test): ... this.
14720         (TEST_FUNCTION): New macro.
14721         Include test-skeleton.c.
14722         * string/tst-strlen.c (main): Converted to ...
14723         (do_test): ... this.
14724         (TEST_FUNCTION): New macro.
14725         Include test-skeleton.c.
14726         * string/tst-svc.c (main): Converted to ...
14727         (do_test): ... this.
14728         (TEST_FUNCTION): New macro.
14729         Include test-skeleton.c.
14730         * time/tst-strptime.c (main): Converted to ...
14731         (do_test): ... this.
14732         (TEST_FUNCTION): New macro.
14733         Include test-skeleton.c.
14734         * timezone/tst-timezone.c (main): Converted to ...
14735         (do_test): ... this.
14736         (TEST_FUNCTION): New macro.
14737         Include test-skeleton.c.
14739 2015-08-05  Zack Weinberg  <zackw@panix.com>
14741         * misc/regexp.h: Update comments.
14743 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
14745         [BZ #18635]
14746         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
14747         before return label.
14749 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14751         [BZ #18661]
14752         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
14753         when calling __errno_location.
14754         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
14755         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
14757 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14759         [BZ #18661]
14760         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
14761         (__lll_timedwait_tid): Align stack to 16 bytes when calling
14762         __gettimeofday.
14764 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14766         [BZ #18661]
14767         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14768         (__start_context): Don't use pop to restore %rdi so that stack
14769         is aligned to 16 bytes when calling __setcontext.
14771 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14773         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
14774         only for libc.
14775         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14777 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14779         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
14780         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
14781         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
14783 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14785         * string/memccpy.c (memccpy):
14786         Improve performance by using memchr/memcpy/__mempcpy.
14788 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14790         * string/strncpy.c (strncpy):
14791         Improve performance by using __strnlen/memcpy.
14793 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14795         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14796         Optimize to avoid an unnecessary FPCR read.
14798 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14800         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
14801         Optimize to reduce FPCR/FPSR accesses.
14803 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14805         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
14806         dead->data[category] != NULL.
14808 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
14810         [BZ #18647]
14811         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
14812         and |x| close to 1, use absolute value of x when computing log.
14813         * math/auto-libm-test-in: Add more tests of pow.
14814         * math/auto-libm-test-out: Regenerated.
14816 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14818         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
14819         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
14820         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
14822 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
14824         [BZ #18525]
14825         * locales/km_KH: Remove timezone definition.
14826         * locales/lo_LA: Likewise.
14827         * locales/my_MM: Likewise.
14828         * locales/nan_TW@latin: Likewise.
14829         * locales/th_TH: Likewise.
14830         * locales/uk_UA: Likewise.
14832 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
14834         [BZ #18265]
14835         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
14836         (wcsncat): Likewise.
14837         (wcscmp): Likewise.
14838         (wcsncmp): Likewise.
14840 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14842         * test-skeleton.c (usage): New function.
14843         (main): Call usage when opt is '?'.
14845 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14847         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
14848         before first use.
14850 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14852         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
14853         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
14854         in there too.
14856 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
14858         * version.h (RELEASE): Set to "development".
14859         (VERSION): Set to "2.22.90"
14861         * version.h (RELEASE): Set to "stable".
14862         (VERSION): Set to "2.22"
14863         * include/features.h (__GLIBC_MINOR__): Set to 22.
14865 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
14867         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
14868         Restructure macro to avoid "value computed is not used" warning.
14869         (atomic_compare_and_exchange_val_acq): Likewise.
14871 2015-08-04  Andreas Schwab  <schwab@suse.de>
14873         [BZ #18635]
14874         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
14875         ret.
14876         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
14878 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
14880         * po/pl.po: Updated translation.
14881         * po/uk.po: Likewise.
14882         * po/fi.po: Likewise.
14883         * po/ko.po: Likewise.
14884         * po/ru.po: Likewise.
14885         * po/vi.po: Likewise.
14887 2015-07-31  Zack Weinberg  <zackw@panix.com>
14889         [BZ #18681]
14890         * regexp.h: Add unconditional #warning stating that this header
14891         will be removed soon.  Revise banner comment to match.
14892         (compile): Consistently use ERROR instead of RETURN to report
14893         errors (partial fix for bz#18681).
14894         * regexp.c: Don't include regexp.h. Remove some unnecessary
14895         declarations.
14897 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
14899         * po/libc.pot: Regenerated.
14901 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
14903         [BZ #18740]
14904         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
14905         float-vlen4-arch-ext-cflags): Removed.
14906         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
14907         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
14909 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14911         [BZ #14113]
14912         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
14913         aligned to __aligned__.
14914         (pthread_cond_t, pthread_rwlock_t): Likewise.
14916 2015-07-30  Torvald Riegel  <triegel@redhat.com>
14918         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
14920 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14922         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
14923         (struct sigaction): Change sa_flags from a long to an int, and add
14924         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
14926 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14928         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
14929         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
14930         sysdeps/generic/sysdep.h include.
14931         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
14932         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
14933         sysdeps/hppa/sysdep.h.
14934         (ENTRY, PSEUDO): Undefine before defining.
14936 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14938         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
14939         from scratch to use INTERNAL_SYSCALL.
14941 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
14943         [BZ #18078]
14944         * scripts/check-localplt.awk: Support alternate relocations.
14945         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
14946         sections.
14947         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
14948         malloc entries with + REL R_386_GLOB_DAT.
14949         * sysdeps/x86_64/localplt.data: New file.
14951 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
14953         [BZ #18731]
14954         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
14955         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14956         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14958 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14960         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
14962 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14964         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
14965         directly in terms of __sync_fetch_and_add and delete (int) cast.
14967 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14969         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
14970         the -D_ASM_IA64_CURRENT_H flag.
14972 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14974         [BZ #18641]
14975         * pwd/pwd.h (putpwent): Delete __nonnull markings.
14977 2015-07-27  Andreas Schwab  <schwab@suse.de>
14979         * conform/conformtest.pl (checknamespace): Filter out string
14980         literals while tokenizing.
14982 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
14984         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14985         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
14986         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14988 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
14990         * nptl/tst-join7mod.c: Add #include <string.h>.
14992 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
14994         * sysdeps/nios2/libm-test-ulps: Update.
14996 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
14998         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
14999         Fix order of arguments to the rt_sigprocmask syscall.
15000         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
15001         Likewise.
15003 2015-07-24  Roland McGrath  <roland@hack.frob.com>
15005         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
15007 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15009         [BZ #18457]
15010         * nptl/Makefile (tests): New test case tst-join7.
15011         (modules-names): New test case module tst-join7mod.
15012         * nptl/tst-join7.c: New file.
15013         * nptl/tst-join7mod.c: New file.
15014         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
15015         all translation units in libc.so, libpthread.so and rtld.
15017 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15021 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
15023         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
15024         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
15025         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
15026         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
15027         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
15028         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
15029         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
15030         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
15031         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
15032         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
15033         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
15034         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
15035         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
15036         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
15037         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
15038         implementation.
15040 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15042         [BZ #17711]
15043         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15044         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
15045         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15046         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15047         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
15048         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15050 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15052         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
15053         instead of just saying load lock in the comments.
15055 2015-07-23  Roland McGrath  <roland@hack.frob.com>
15057         * sysdeps/unix/Subdirs: Moved ...
15058         * sysdeps/posix/Subdirs: ... here.
15059         * login/pty.h (struct termios, struct winsize): Add forward decls.
15060         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
15061         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
15062         * sysdeps/arm/nacl/libc.abilist: Updated.
15063         * sysdeps/nacl/libutil.abilist: New file.
15065         * bits/signum.h: Update comments to mention 1003.1-2013 too.
15066         (SIGWINCH): New macro.
15068         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
15069         * sysdeps/arm/nacl/libc.abilist: Add it.
15071 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
15073         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
15075 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
15077         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15078         Swap __glibc_reserved0 and sa_flags order.
15080 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15082         [BZ #18657]
15083         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
15084         are pending TLS destructor calls.
15085         * include/link.h (struct link_map): Add concurrency note for
15086         L_TLS_DTOR_COUNT.
15087         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15088         Don't touch the link map flag.  Atomically increment
15089         l_tls_dtor_count.
15090         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
15091         Avoid taking the load lock and don't touch the link map flag.
15092         * stdlib/tst-tls-atexit-nodelete.c: New test case.
15093         * stdlib/Makefile (tests): Use it.
15094         * stdlib/tst-tls-atexit.c (do_test): dlopen
15095         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
15096         to allow tst-tls-atexit-nodelete test case to use it.
15098 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15100         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
15101         to bits/types.h.
15102         (msgqnum_t): New typedef.
15103         (msglen_t): Likewise.
15104         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
15105         and msg_qbytes type to msglen_t.
15107 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15109         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
15110         pad0 to __glibc_reserved0.
15111         (struct stat64): Likewise.
15113 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15115         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15116         Change sa_flags from a long to an int and add __glibc_reserved0 before
15117         it for padding.
15119 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15121         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
15122         anonymous by deleting "siginfo" name.
15124 2015-07-21  Roland McGrath  <roland@hack.frob.com>
15126         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
15127         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
15128         rather than __nacl_irt_filename.
15129         * sysdeps/nacl/xstat.c (__xstat): Likewise.
15131         * NEWS: New item for arm-nacl port.
15132         * sysdeps/arm/nacl/libc.abilist: New file.
15133         * sysdeps/nacl/ld.abilist: New file.
15134         * sysdeps/nacl/libBrokenLocale.abilist: New file.
15135         * sysdeps/nacl/libanl.abilist: New file.
15136         * sysdeps/nacl/libcrypt.abilist: New file.
15137         * sysdeps/nacl/libdl.abilist: New file.
15138         * sysdeps/nacl/libm.abilist: New file.
15139         * sysdeps/nacl/libpthread.abilist: New file.
15140         * sysdeps/nacl/libresolv.abilist: New file.
15141         * sysdeps/nacl/librt.abilist: New file.
15143 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
15145         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
15146         __startcontext to initialize the new context.
15147         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
15148         up CFI directive to forbid further backtracing.
15150 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
15152         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
15153         reference.
15154         * charmaps/ANSI_X3.4-1968: Likewise.
15155         * charmaps/BS_4730: Likewise.
15156         * charmaps/BS_VIEWDATA: Likewise.
15157         * charmaps/CP1250: Likewise.
15158         * charmaps/CP1251: Likewise.
15159         * charmaps/CP1252: Likewise.
15160         * charmaps/CP1253: Likewise.
15161         * charmaps/CP1254: Likewise.
15162         * charmaps/CP1255: Likewise.
15163         * charmaps/CP1256: Likewise.
15164         * charmaps/CSN_369103: Likewise.
15165         * charmaps/EBCDIC-DK-NO: Likewise.
15166         * charmaps/GB_1988-80: Likewise.
15167         * charmaps/GREEK-CCITT: Likewise.
15168         * charmaps/GREEK7: Likewise.
15169         * charmaps/INIS-8: Likewise.
15170         * charmaps/ISIRI-3342: Likewise.
15171         * charmaps/ISO_2033-1983: Likewise.
15172         * charmaps/ISO_5427-EXT: Likewise.
15173         * locales/POSIX: Likewise.
15174         * locales/ar_SA: Likewise.
15175         * locales/be_BY: Likewise.
15176         * locales/be_BY@latin: Likewise.
15177         * locales/ca_ES: Likewise.
15178         * locales/cs_CZ: Likewise.
15179         * locales/da_DK: Likewise.
15180         * locales/de_BE: Likewise.
15181         * locales/de_CH: Likewise.
15182         * locales/de_LU: Likewise.
15183         * locales/en_AU: Likewise.
15184         * locales/en_BW: Likewise.
15185         * locales/en_CA: Likewise.
15186         * locales/en_DK: Likewise.
15187         * locales/en_GB: Likewise.
15188         * locales/en_IE: Likewise.
15189         * locales/en_NZ: Likewise.
15190         * locales/en_ZA: Likewise.
15191         * locales/en_ZW: Likewise.
15192         * locales/es_AR: Likewise.
15193         * locales/es_BO: Likewise.
15194         * locales/es_CL: Likewise.
15195         * locales/es_CO: Likewise.
15196         * locales/es_DO: Likewise.
15197         * locales/es_EC: Likewise.
15198         * locales/es_ES: Likewise.
15199         * locales/es_HN: Likewise.
15200         * locales/es_MX: Likewise.
15201         * locales/es_PA: Likewise.
15202         * locales/es_PE: Likewise.
15203         * locales/es_PY: Likewise.
15204         * locales/es_SV: Likewise.
15205         * locales/es_US: Likewise.
15206         * locales/es_UY: Likewise.
15207         * locales/es_VE: Likewise.
15208         * locales/et_EE: Likewise.
15209         * locales/fa_IR: Likewise.
15210         * locales/fo_FO: Likewise.
15211         * locales/fr_CA: Likewise.
15212         * locales/fr_CH: Likewise.
15213         * locales/gv_GB: Likewise.
15214         * locales/he_IL: Likewise.
15215         * locales/hr_HR: Likewise.
15216         * locales/id_ID: Likewise.
15217         * locales/is_IS: Likewise.
15218         * locales/it_CH: Likewise.
15219         * locales/iw_IL: Likewise.
15220         * locales/kl_GL: Likewise.
15221         * locales/ko_KR: Likewise.
15222         * locales/kw_GB: Likewise.
15223         * locales/lg_UG: Likewise.
15224         * locales/lt_LT: Likewise.
15225         * locales/lv_LV: Likewise.
15226         * locales/mi_NZ: Likewise.
15227         * locales/nhn_MX: Likewise.
15228         * locales/nl_BE: Likewise.
15229         * locales/pl_PL: Likewise.
15230         * locales/sk_SK: Likewise.
15231         * locales/sl_SI: Likewise.
15232         * locales/sv_FI: Likewise.
15233         * locales/tl_PH: Likewise.
15234         * locales/tr_TR: Likewise.
15235         * locales/vi_VN: Likewise.
15237 2015-07-21  Khem Raj  <raj.khem@gmail.com>
15239         [BZ #17475]
15240         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
15241         of tu_IN and bh_IN.
15243 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
15245         [BZ #18694]
15246         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
15247         bits/wordsize.h.
15248         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
15250 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15252         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
15253         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
15254         (spawn_thread): New function.
15255         (load): Rename to reg_dtor_and_close.  Move dlopen to...
15256         (do_test): ... here.  Use IS_LOADED to test for its
15257         availability.
15259 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
15261         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15263 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
15265         [BZ #18696]
15266         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
15267         si_addr_bnd.
15268         (si_lower): New.
15269         (si_upper): Likewise.
15271 2015-07-16  David S. Miller  <davem@davemloft.net>
15273         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
15275 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15277         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
15278         buffer.
15279         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
15280         fail output information.
15282 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15284         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
15285         and strstr-ppc64..
15286         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15287         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
15288         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
15289         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
15290         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
15292 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
15294         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15295         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15296         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15297         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15299 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
15301         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15302         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
15303         rtld_hidden_proto.
15304         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
15306 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15308         * tst-nodelete-opened.c (do_test): Add comment to clarify how
15309         the test can fail.
15311         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
15313         [BZ #18676]
15314         * elf/tst-nodelete-opened.c: New test case.
15315         * elf/tst-nodelete-opened-lib.c: New test case module.
15316         * elf/Makefile (tests, modules-names): Use them.
15317         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
15318         early.
15320 2015-07-15  David S. Miller  <davem@davemloft.net>
15322         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
15323         futex-intenal.h
15324         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
15325         * sysdeps/sparc/sparc64/Makefile: Likewise.
15326         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15327         Remove space from macro define.
15328         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
15330 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
15332         [BZ #17475]
15333         * locale/iso-639.def: Update Bhili and Tulu language codes as
15334         per iso639-3.
15336 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
15338         * elf/tst-leaks1.c (main): Converted to ...
15339         (do_test): ... this.
15340         (TEST_FUNCTION): New macro.
15341         Include test-skeleton.c.
15342         * localedata/tst-langinfo.c (main): Converted to ...
15343         (do_test): ... this.
15344         (TEST_FUNCTION): New macro.
15345         Include test-skeleton.c.
15346         * math/test-fpucw.c (main): Converted to ...
15347         (do_test): ... this.
15348         (TEST_FUNCTION): New macro.
15349         Include test-skeleton.c.
15350         * math/test-tgmath.c (main): Converted to ...
15351         (do_test): ... this.
15352         (TEST_FUNCTION): New macro.
15353         Include test-skeleton.c.
15354         * math/test-tgmath2.c (main): Converted to ...
15355         (do_test): ... this.
15356         (TEST_FUNCTION): New macro.
15357         Include test-skeleton.c.
15358         * setjmp/tst-setjmp.c (main): Converted to ...
15359         (do_test): ... this.
15360         (TEST_FUNCTION): New macro.
15361         Include test-skeleton.c.
15362         * stdio-common/tst-sscanf.c (main): Converted to ...
15363         (do_test): ... this.
15364         (TEST_FUNCTION): New macro.
15365         Include test-skeleton.c.
15366         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
15367         (do_test): ... this.
15368         (TEST_FUNCTION): New macro.
15369         Include test-skeleton.c.
15371         * elf/tst-audit9.c (main): Converted to ...
15372         (do_test): ... this.
15373         (TEST_FUNCTION): New macro.
15374         Include test-skeleton.c.
15376 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
15378         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
15380 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15382         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
15383         New variable.
15385 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15387         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15389 2015-07-14  Roland McGrath  <roland@hack.frob.com>
15391         * sysdeps/generic/dl-fileid.h: New file.
15392         * sysdeps/posix/dl-fileid.h: New file.
15393         * sysdeps/nacl/dl-fileid.h: New file.
15394         * include/link.h: Include <dl-fileid.h>.
15395         (struct link_map): Replace l_dev and l_ino with l_file_id.
15396         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
15397         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
15398         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
15400 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15402         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
15404 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15406         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
15407         Add iff $CXX is set.
15408         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
15409         Likewise.
15410         (tst-nodelete-zmodiff): Likewise.
15411         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
15413 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15415         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
15417 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
15419         * sysdeps/aarch64/fpu/math_private.h
15420         (define math_opt_barrier): Add AArch64 version.
15421         (math_force_eval): Likewise.
15423 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
15425         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
15427 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
15429         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
15430         %ld with %jd and cast to intmax_t.
15431         (do_test_length_zero): Likewise.
15433 2015-07-10  Roland McGrath  <roland@hack.frob.com>
15435         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
15437 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
15439         * sysdeps/tile/libm-test-ulps: Regenerated.
15441         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
15442         Comment out the whole function, not just its body.
15444 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15446         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
15447         locks.
15449         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
15451 2015-07-10  Torvald Riegel  <triegel@redhat.com>
15453         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
15454         (sem_assume_only_signals_cause_futex_EINTR): Remove.
15456 2015-07-10  Torvald Riegel  <triegel@redhat.com>
15458         * sysdeps/nptl/futex-internal.h: New file.
15459         * sysdeps/nacl/futex-internal.h: New file.
15460         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
15461         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
15462         error checking.
15463         (setxid_unmark_thread): Likewise.
15464         (__nptl_setxid): Likewise.
15465         (__wait_lookup_done): Likewise.
15466         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
15467         * nptl/nptl-init.c (sighandler_setxid): Likewise.
15468         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
15469         * nptl/pthread_once.c (clear_once_control): Likewise.
15470         (__pthread_once_slow): Likewise.
15471         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15472         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
15473         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
15474         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15475         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
15476         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
15477         Likewise.
15478         (__pthread_rwlock_rdlock): Likewise.
15479         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15480         Likewise.
15481         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
15482         Likewise.
15483         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
15484         Likewise.
15485         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
15486         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
15487         Likewise.
15488         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
15489         __ASSUME_PRIVATE_FUTEX check.
15490         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
15491         Check that shared futexes are supported.
15492         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
15493         wrappers with error checking.
15494         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
15495         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
15496         * nptl/pthread_barrierattr_setpshared.c
15497         (pthread_barrierattr_setpshared): Check that shared futexes are
15498         supported.
15499         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
15500         Likewise.
15501         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
15502         Likewise.
15503         * nptl/sem_init.c (futex_private_if_supported): Remove.
15504         (__new_sem_init): Adapt and check that shared futexes are supported.
15505         * nptl/sem_open.c (sem_open): Likewise.
15506         * nptl/sem_post.c (futex_wake): Remove.
15507         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
15508         (do_futex_wait): Use futex wrappers with error checking.
15509         * nptl/sem_wait.c: Include lowlevellock.h.
15510         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
15511         Use futex_supports_pshared.
15512         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
15513         Use futex wrappers with error checking.
15514         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
15515         Likewise.
15516         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
15517         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
15518         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
15519         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
15520         (futex_wake): Likewise.
15521         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
15522         (do_futex_wait): Use futex wrappers with error checking.
15523         (__new_sem_wait_slow): Update EINTR handling.
15524         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
15526 2015-07-09  Martin Sebor  <msebor@redhat.com>
15528         [BZ #18435]
15529         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15530         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
15531         * nptl/Makefile (test-xfail-tst-once5): Define.
15533 2015-07-09  Roland McGrath  <roland@hack.frob.com>
15535         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
15536         * elf/dl-minimal.c: For readability, reorder some definitions and
15537         introduce more page breaks.  Include <stdio.h>.
15538         (__libc_fatal): New function.
15540         * include/unistd.h: Add rtld_hidden_proto for _exit.
15541         * posix/_exit.c: Add rtld_hidden_def.
15542         * sysdeps/mach/hurd/_exit.c: Likewise.
15543         * sysdeps/nacl/_exit.c: Likewise.
15544         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
15545         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
15547 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
15549         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
15550         bndmov encoding with zero displacement.
15552 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
15553             H.J. Lu  <hongjiu.lu@intel.com>
15555         [BZ #18134]
15556         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
15557         * sysdeps/i386/configure: Regenerated.
15558         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15559         (_dl_runtime_profile): Save and restore Intel MPX return bound
15560         registers when calling _dl_call_pltexit.  Add
15561         PRESERVE_BND_REGS_PREFIX before return.
15562         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
15563         (LRV_BND1_OFFSET): Likewise.
15564         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
15565         lrv_bnd1.
15566         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
15567         typo in bndmov encoding.
15568         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
15569         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
15570         branch instructions to preserve bounds.
15572 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
15575         [GLIBC_2.22]: Add fmemopen.
15577 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15579         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
15580         returns an error, also try to use host port from __mach_host_self for
15581         the __vm_wire call.
15582         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
15584 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15586         [BZ #18400]
15587         [BZ #18648]
15588         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
15589         Fix pr_uid and pr_gid members.
15590         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
15591         definition to elf_greg_t.
15593 2015-07-08  Roland McGrath  <roland@hack.frob.com>
15595         [BZ #18383]
15596         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
15597         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
15598         * sysdeps/arm/configure: Regenerated.
15599         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
15600         (test-xfail-tst-tlsalign-static): Variable removed.
15602         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
15603         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
15604         rather than explicit 'ln -s'.
15606         * resolv/rpc/netdb.h: New file.
15607         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
15609 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15611         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
15612         length buffers.
15613         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
15614         test-skeleton.c.
15616         [BZ #6544]
15617         [BZ #11216]
15618         [BZ #12836]
15619         [BZ #13151]
15620         [BZ #13152]
15621         [BZ #14292]
15622         * include/stdio.h (fmemopen): Remove hidden prototype.
15623         (__fmemopen): Add new hidden prototype.
15624         * libio/Makefile: Add oldfmemopen object.
15625         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
15626         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
15627         compliance.
15628         * libio/oldfmemopen.c: New file: old fmemopen implementation for
15629         symbol compatibility.
15630         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
15631         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
15632         fmemopen.
15633         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
15634         on append and read mode.
15635         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
15636         fmemopen.
15637         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
15638         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
15639         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
15640         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
15641         Likewise.
15642         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
15643         [GLIBC_2.22]: Likewise.
15644         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
15645         Likewise.
15646         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
15647         Likewise.
15648         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
15649         [GLIBC_2.22]: Likewise.
15650         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
15651         [GLIBC_2.22]: Likewise.
15652         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
15653         [GLIBC_2.22]: Likewise.
15654         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
15655         [GLIBC_2.22]: Likewise.
15656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
15657         [GLIBC_2.22]: Likewise.
15658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
15659         [GLIBC_2.22]: Likewise.
15660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
15661         [GLIBC_2.22]: Likewise.
15662         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
15663         Likewise.
15664         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
15665         Likewise.
15666         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
15667         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
15668         [GLIBC_2.22]: Likewise.
15669         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
15670         [GLIBC_2.22]: Likewise.
15671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
15672         [GLIBC_2.22]: Likewise.
15673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
15674         [GLIBC_2.22]: Likewise.
15675         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
15676         Likewise.
15677         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
15678         Likewise.
15679         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
15680         Likewise.
15681         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
15682         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
15684 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
15686         [BZ #18643]
15687         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
15688         IPV6_PATHMTU, and IPV6_DONTFRAG.
15690 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
15692         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
15693         and _IO_UNBUFFERED.
15694         * libio/oldfileops.c: Likewise.
15695         * libio/wfileops.c: Likewise.
15697 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
15699         * nscd/selinux.c: Delete selinux/flask.h include.
15701 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
15703         [BZ #18641]
15704         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
15705         (putpwent): Likewise.
15706         (getpwnam): Likewise.
15707         (getpwent_r): Likewise.
15708         (getpwuid_r): Likewise.
15709         (getpwnam_r): Likewise.
15710         (fgetpwent_r): Likewise.
15712 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
15714         [BZ #18557]
15715         * inet/rcmd.c (__validuser2_sa): Check user first to
15716         short-circuit host check.
15718 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
15719             Mikhail Ilin  <m.ilin@samsung.com>
15721         [BZ #17833]
15722         * elf/Makefile (tests): Add tst-nodelete.
15723         (modules-names): Add tst-nodelete-uniquemod.
15724         (tst-nodelete-uniquemod.so-no-z-defs): New.
15725         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
15726         (tst-nodelete-zmod.so-no-z-defs): Likewise.
15727         ($(objpfx)tst-nodelete): Likewise.
15728         ($(objpfx)tst-nodelete.out): Likewise.
15729         (LDFLAGS-tst-nodelete): Likewise.
15730         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
15731         * elf/dl-close.c (_dl_close_worker): Add a parameter to
15732         implement forced object deletion.
15733         (_dl_close): Pass false to _dl_close_worker.
15734         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
15735         * elf/tst-nodelete.cc: New file.
15736         * elf/tst-nodeletelib.cc: Likewise.
15737         * elf/tst-znodeletelib.cc: Likewise.
15738         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
15740 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15742         [BZ #18508]
15743         * stdlib/Makefile ($(objpfx)tst-makecontext3):
15744         Depend on $(libdl).
15745         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
15746         is not called infinitely times.
15747         (backtrace_helper): New function.
15748         (trace_arg): New struct.
15749         (st1): Enlarge stack size.
15750         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15751         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
15752         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15753         Likewise.
15755 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15757         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15759 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15761         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
15762         Include sys/types.h instead of bits/types.h.
15763         Remove inclusion of bits/wordsize.h.
15765 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15767         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
15768         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
15769         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
15770         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
15771         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
15772         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
15774 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15776         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
15777         link-defines.sym.
15778         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
15779         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
15780         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
15781         and LR_SIZE.
15782         * sysdeps/i386/link-defines.sym: New file.
15784 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15786         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
15787         (modules-names): Add tst-auditmod3a tst-auditmod3b.
15788         ($(objpfx)tst-audit3): New rule.
15789         ($(objpfx)tst-audit3.out): Likewise.
15790         * sysdeps/i386/tst-audit3.c: New file.
15791         * sysdeps/i386/tst-audit3.h: Likewise.
15792         * sysdeps/i386/tst-auditmod3a.c: Likewise.
15793         * sysdeps/i386/tst-auditmod3b.c: Likewise.
15795 2015-07-07  Torvald Riegel  <triegel@redhat.com>
15797         [BZ #18633]
15798         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
15799         pointer in C code.
15800         (__strcat_c): Likewise.
15801         (__strcat_g): Likewise.
15803 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
15805         [BZ #18592]
15806         * misc/sbrk.c: Set errno to ENOMEM on overflow.
15808 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
15810         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
15811         New function.  (__ieee754_sqrtf): New function.
15812         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
15813         New function.
15814         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
15815         New function.
15817 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
15819         * sysdeps/ieee754/support.c: Remove unused file.
15821 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15823         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
15824         registers instead of d ones so the layout is kernel abi compatible.
15825         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
15826         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
15827         Likewise.
15829 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15831         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15833 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
15835         [BZ #18619]
15836         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
15837         and return argument in case of subnormal argument.
15839 2015-07-01  Martin Sebor  <msebor@redhat.com>
15841         [BZ #18435]
15842         * nptl/Makefile: Add tst-once5.cc.
15843         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15844         Remove macro redefinitions.
15845         * nptl/tst-once5.cc: New test.
15847 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
15849         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15851         * sysdeps/arm/libm-test-ulps: Regenerated.
15853         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15854         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15856 2015-06-30  Torvald Riegel  <triegel@redhat.com>
15858         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
15859         lll_lock_wait_private and lll_futex_wake probes.
15861         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15862         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
15863         Likewise.
15864         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
15865         atomic_spin_nop.
15866         * sysdeps/x86_64/bits/atomic.h: Likewise.
15867         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
15868         to atomic_spin_nop and move ...
15869         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15870         ... here and ...
15871         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
15872         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
15873         atomic_spin_nop instead of BUSY_WAIT_NOP.
15874         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
15875         Likewise.
15876         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
15877         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15878         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
15879         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
15880         instead of atomic_delay.
15882 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
15884         [BZ #18613]
15885         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
15886         X_ADJ not X when adjusting exponent.
15887         (__ieee754_gamma_r): Do intermediate computations in
15888         round-to-nearest then adjust overflowing and underflowing results
15889         as needed.
15890         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
15891         of X_ADJ not X when adjusting exponent.
15892         (__ieee754_gammaf_r): Do intermediate computations in
15893         round-to-nearest then adjust overflowing and underflowing results
15894         as needed.
15895         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
15896         log of X_ADJ not X when adjusting exponent.
15897         (__ieee754_gammal_r): Do intermediate computations in
15898         round-to-nearest then adjust overflowing and underflowing results
15899         as needed.  Use 1.0L not 1.0f as numerator of division.
15900         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
15901         log of X_ADJ not X when adjusting exponent.
15902         (__ieee754_gammal_r): Do intermediate computations in
15903         round-to-nearest then adjust overflowing and underflowing results
15904         as needed.  Use 1.0L not 1.0f as numerator of division.
15905         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
15906         of X_ADJ not X when adjusting exponent.
15907         (__ieee754_gammal_r): Do intermediate computations in
15908         round-to-nearest then adjust overflowing and underflowing results
15909         as needed.  Use 1.0L not 1.0f as numerator of division.
15910         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
15911         to auto-libm-test-in.
15912         (tgamma_test): Use ALL_RM_TEST.
15913         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
15914         tests of tgamma with spurious-overflow.
15915         * math/auto-libm-test-out: Regenerated.
15916         * math/gen-libm-have-vector-test.sh: Do not check for START.
15917         * sysdeps/i386/fpu/libm-test-ulps: Update.
15918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15920         [BZ #18612]
15921         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
15922         arguments, just return 0.5 times the argument, with underflow
15923         forced as needed.
15924         * math/auto-libm-test-in: Add more tests of j1.
15925         * math/auto-libm-test-out: Regenerated.
15927         [BZ #16559]
15928         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
15929         (__ieee754_j1): Force underflow exception for small results.
15930         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15931         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
15932         (__ieee754_j1f): Force underflow exception for small results.
15933         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15934         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15935         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15936         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
15937         (__ieee754_j1l): Force underflow exception for small results.
15938         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15939         * math/auto-libm-test-in: Add more tests of j1 and jn.
15940         * math/auto-libm-test-out: Regenerated.
15942         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
15943         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
15944         (PF_MPLS): Likewise.
15945         (AF_IB): Likewise.
15946         (AF_MPLS): Likewise.
15947         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
15948         value and macro.
15949         (MS_RMT_MASK): Include MS_LAZYTIME.
15951 2015-06-26  Mel Gorman  <mgorman@suse.de>
15953         [BZ #18502]
15954         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
15955         already minimal.
15957 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
15959         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
15960         (DT_MIPS_NUM): Update.
15961         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
15962         DT_MIPS_RLD_MAP_REL.
15964 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
15966         [BZ #16559]
15967         [BZ #18602]
15968         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
15969         round-to-nearest internally then recompute results that
15970         underflowed to zero in the original rounding mode.
15971         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15972         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15973         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15974         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15975         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
15976         * sysdeps/i386/fpu/libm-test-ulps: Update.
15977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15979 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
15981         * NEWS: Fixed description of link with vector math library.
15983 2015-06-25  Andreas Schwab  <schwab@suse.de>
15985         [BZ #18549]
15986         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
15987         * libio/test-fmemopen.c (do_test): Add test for it.
15989 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
15991         [BZ #17841]
15992         * Makeconfig (no-pie-ldflag): New.
15993         (+link): Set to $(+link-pie) if default to PIE.
15994         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
15995         * config.make.in (build-pie-default): New.
15996         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
15997         is default.  AC_SUBST.
15998         * configure: Regenerated.
15999         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
16001 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16003         * nptl/descr.h (struct pthread): Change type of field setxid_futex
16004         to 'unsigned int'.
16006         * resolv/gai_misc.h (struct waitlist): Change type of field
16007         counterp to 'volatile unsigned int *'.
16008         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
16009         FUTEXADDR and OLDVAL.
16010         * resolv/getaddrinfo_a.c (getaddrinfo_a):
16011         Give local variable TOTAL type 'volatile unsigned int'.
16012         (struct async_waitlist): Change type of field counter to 'unsigned int'.
16013         * resolv/gai_suspend.c (gai_suspend):
16014         Give local variable CNTR type 'unsigned int'.
16016         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
16017         counterp to 'volatile unsigned int *'.
16018         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
16019         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
16020         (aio_suspend): Give local variable CNTR type 'unsigned int'.
16021         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
16022         Give local variable TOTAL type 'volatile unsigned int'.
16023         (struct async_waitlist): Change type of field counter to 'unsigned int'.
16025 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16027         [BZ #18383]
16028         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
16029         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
16030         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
16031         comment for i386/x86-64.
16032         (test-xfail-tst-tlsalign-extern-static): Removed.
16034 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16036         * math/test-double.h: New file.
16037         * math/test-float.h: Likewise.
16038         * math/test-ldouble.h: Likewise.
16039         * math/test-math-inline.h: Likewise.
16040         * math/test-math-no-inline.h: Likewise.
16041         * math/test-math-scalar.h: Likewise.
16042         * math/test-math-vector.h: Likewise.
16043         * math/test-vec-loop.h: Remove file.  Contents moved into
16044         test-math-vector.h.
16045         * math/libm-test.inc (MATHCONST): Do not document macro.
16046         * math/test-double.c: Include test-double.h, test-math-no-inline.h
16047         and test-math-scalar.h.
16048         (FUNC): Remove macro.
16049         (FUNC_TEST): Likewise.
16050         (FLOAT): Likewise.
16051         (MATHCONST): Likewise.
16052         (PRINTF_EXPR): Likewise.
16053         (PRINTF_XEXPR): Likewise.
16054         (PRINTF_NEXPR): Likewise.
16055         (TEST_DOUBLE): Likewise.
16056         (TEST_MATHVEC): Likewise.
16057         (__NO_MATH_INLINES): Likewise.
16058         * math/test-float.c: Include test-float.h, test-math-no-inline.h
16059         and test-math-scalar.h.
16060         (FUNC): Remove macro.
16061         (FUNC_TEST): Likewise.
16062         (FLOAT): Likewise.
16063         (MATHCONST): Likewise.
16064         (PRINTF_EXPR): Likewise.
16065         (PRINTF_XEXPR): Likewise.
16066         (PRINTF_NEXPR): Likewise.
16067         (TEST_FLOAT): Likewise.
16068         (TEST_MATHVEC): Likewise.
16069         (__NO_MATH_INLINES): Likewise.
16070         * math/test-idouble.c: Include test-double.h, test-math-inline.h
16071         and test-math-scalar.h.
16072         (FUNC): Remove macro.
16073         (FUNC_TEST): Likewise.
16074         (FLOAT): Likewise.
16075         (MATHCONST): Likewise.
16076         (PRINTF_EXPR): Likewise.
16077         (PRINTF_XEXPR): Likewise.
16078         (PRINTF_NEXPR): Likewise.
16079         (TEST_DOUBLE): Likewise.
16080         (TEST_MATHVEC): Likewise.
16081         (TEST_INLINE): Likewise.
16082         (__NO_MATH_INLINES): Likewise.
16083         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
16084         test-math-scalar.h.
16085         (FUNC): Remove macro.
16086         (FUNC_TEST): Likewise.
16087         (FLOAT): Likewise.
16088         (MATHCONST): Likewise.
16089         (PRINTF_EXPR): Likewise.
16090         (PRINTF_XEXPR): Likewise.
16091         (PRINTF_NEXPR): Likewise.
16092         (TEST_FLOAT): Likewise.
16093         (TEST_MATHVEC): Likewise.
16094         (TEST_INLINE): Likewise.
16095         (__NO_MATH_INLINES): Likewise.
16096         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
16097         and test-math-scalar.h.
16098         (FUNC): Remove macro.
16099         (FUNC_TEST): Likewise.
16100         (FLOAT): Likewise.
16101         (MATHCONST): Likewise.
16102         (PRINTF_EXPR): Likewise.
16103         (PRINTF_XEXPR): Likewise.
16104         (PRINTF_NEXPR): Likewise.
16105         (TEST_LDOUBLE): Likewise.
16106         (TEST_MATHVEC): Likewise.
16107         (TEST_INLINE): Likewise.
16108         (__NO_MATH_INLINES): Likewise.
16109         * math/test-ldouble.c: Include test-ldouble.h,
16110         test-math-no-inline.h and test-math-scalar.h.
16111         (FUNC): Remove macro.
16112         (FUNC_TEST): Likewise.
16113         (FLOAT): Likewise.
16114         (MATHCONST): Likewise.
16115         (PRINTF_EXPR): Likewise.
16116         (PRINTF_XEXPR): Likewise.
16117         (PRINTF_NEXPR): Likewise.
16118         (TEST_LDOUBLE): Likewise.
16119         (TEST_MATHVEC): Likewise.
16120         (__NO_MATH_INLINES): Likewise.
16121         * math/test-double-vlen2.h: Include test-double.h,
16122         test-math-no-inline.h and test-math-vector.h.
16123         (FLOAT): Remove macro.
16124         (FUNC): Likewise.
16125         (MATHCONST): Likewise.
16126         (PRINTF_EXPR): Likewise.
16127         (PRINTF_XEXPR): Likewise.
16128         (PRINTF_NEXPR): Likewise.
16129         (TEST_DOUBLE): Likewise.
16130         (TEST_MATHVEC): Likewise.
16131         (__NO_MATH_INLINES): Likewise.
16132         (CNCT): Likewise.
16133         (CONCAT): Likewise.
16134         (WRAPPER_NAME): Likewise.
16135         (WRAPPER_DECL): Likewise.
16136         (WRAPPER_DECL_ff): Likewise.
16137         (WRAPPER_DECL_fFF): Likewise.
16138         (VECTOR_WRAPPER): Likewise.
16139         (VECTOR_WRAPPER_ff): Likewise.
16140         (VECTOR_WRAPPER_fFF): Likewise.
16141         (VEC_LEN): New macro.
16142         * math/test-double-vlen4.h: Include test-double.h,
16143         test-math-no-inline.h and test-math-vector.h.
16144         (FLOAT): Remove macro.
16145         (FUNC): Likewise.
16146         (MATHCONST): Likewise.
16147         (PRINTF_EXPR): Likewise.
16148         (PRINTF_XEXPR): Likewise.
16149         (PRINTF_NEXPR): Likewise.
16150         (TEST_DOUBLE): Likewise.
16151         (TEST_MATHVEC): Likewise.
16152         (__NO_MATH_INLINES): Likewise.
16153         (CNCT): Likewise.
16154         (CONCAT): Likewise.
16155         (WRAPPER_NAME): Likewise.
16156         (WRAPPER_DECL): Likewise.
16157         (WRAPPER_DECL_ff): Likewise.
16158         (WRAPPER_DECL_fFF): Likewise.
16159         (VECTOR_WRAPPER): Likewise.
16160         (VECTOR_WRAPPER_ff): Likewise.
16161         (VECTOR_WRAPPER_fFF): Likewise.
16162         (VEC_LEN): New macro.
16163         * math/test-double-vlen8.h: Include test-double.h,
16164         test-math-no-inline.h and test-math-vector.h.
16165         (FLOAT): Remove macro.
16166         (FUNC): Likewise.
16167         (MATHCONST): Likewise.
16168         (PRINTF_EXPR): Likewise.
16169         (PRINTF_XEXPR): Likewise.
16170         (PRINTF_NEXPR): Likewise.
16171         (TEST_DOUBLE): Likewise.
16172         (TEST_MATHVEC): Likewise.
16173         (__NO_MATH_INLINES): Likewise.
16174         (CNCT): Likewise.
16175         (CONCAT): Likewise.
16176         (WRAPPER_NAME): Likewise.
16177         (WRAPPER_DECL): Likewise.
16178         (WRAPPER_DECL_ff): Likewise.
16179         (WRAPPER_DECL_fFF): Likewise.
16180         (VECTOR_WRAPPER): Likewise.
16181         (VECTOR_WRAPPER_ff): Likewise.
16182         (VECTOR_WRAPPER_fFF): Likewise.
16183         (VEC_LEN): New macro.
16184         * math/test-float-vlen4.h: Include test-float.h,
16185         test-math-no-inline.h and test-math-vector.h.
16186         (FLOAT): Remove macro.
16187         (FUNC): Likewise.
16188         (MATHCONST): Likewise.
16189         (PRINTF_EXPR): Likewise.
16190         (PRINTF_XEXPR): Likewise.
16191         (PRINTF_NEXPR): Likewise.
16192         (TEST_FLOAT): Likewise.
16193         (TEST_MATHVEC): Likewise.
16194         (__NO_MATH_INLINES): Likewise.
16195         (CNCT): Likewise.
16196         (CONCAT): Likewise.
16197         (WRAPPER_NAME): Likewise.
16198         (WRAPPER_DECL): Likewise.
16199         (WRAPPER_DECL_ff): Likewise.
16200         (WRAPPER_DECL_fFF): Likewise.
16201         (VECTOR_WRAPPER): Likewise.
16202         (VECTOR_WRAPPER_ff): Likewise.
16203         (VECTOR_WRAPPER_fFF): Likewise.
16204         (VEC_LEN): New macro.
16205         * math/test-float-vlen8.h: Include test-float.h,
16206         test-math-no-inline.h and test-math-vector.h.
16207         (FLOAT): Remove macro.
16208         (FUNC): Likewise.
16209         (MATHCONST): Likewise.
16210         (PRINTF_EXPR): Likewise.
16211         (PRINTF_XEXPR): Likewise.
16212         (PRINTF_NEXPR): Likewise.
16213         (TEST_FLOAT): Likewise.
16214         (TEST_MATHVEC): Likewise.
16215         (__NO_MATH_INLINES): Likewise.
16216         (CNCT): Likewise.
16217         (CONCAT): Likewise.
16218         (WRAPPER_NAME): Likewise.
16219         (WRAPPER_DECL): Likewise.
16220         (WRAPPER_DECL_ff): Likewise.
16221         (WRAPPER_DECL_fFF): Likewise.
16222         (VECTOR_WRAPPER): Likewise.
16223         (VECTOR_WRAPPER_ff): Likewise.
16224         (VECTOR_WRAPPER_fFF): Likewise.
16225         (VEC_LEN): New macro.
16226         * math/test-float-vlen16.h: Include test-float.h,
16227         test-math-no-inline.h and test-math-vector.h.
16228         (FLOAT): Remove macro.
16229         (FUNC): Likewise.
16230         (MATHCONST): Likewise.
16231         (PRINTF_EXPR): Likewise.
16232         (PRINTF_XEXPR): Likewise.
16233         (PRINTF_NEXPR): Likewise.
16234         (TEST_FLOAT): Likewise.
16235         (TEST_MATHVEC): Likewise.
16236         (__NO_MATH_INLINES): Likewise.
16237         (CNCT): Likewise.
16238         (CONCAT): Likewise.
16239         (WRAPPER_NAME): Likewise.
16240         (WRAPPER_DECL): Likewise.
16241         (WRAPPER_DECL_ff): Likewise.
16242         (WRAPPER_DECL_fFF): Likewise.
16243         (VECTOR_WRAPPER): Likewise.
16244         (VECTOR_WRAPPER_ff): Likewise.
16245         (VECTOR_WRAPPER_fFF): Likewise.
16246         (VEC_LEN): New macro.
16247         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
16248         test-vec-loop.h.
16249         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16250         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16251         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16252         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16253         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16254         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16255         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16257 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16259         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
16260         (__getlogin_r): ... this.
16262 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16264         [BZ #18594]
16265         * math/s_ccosh.c (__ccosh): Compare with least normal value
16266         instead of comparing class with FP_SUBNORMAL.
16267         * math/s_ccoshf.c (__ccoshf): Likewise.
16268         * math/s_ccoshl.c (__ccoshl): Likewise.
16269         * math/s_cexp.c (__cexp): Likewise.
16270         * math/s_cexpf.c (__cexpf): Likewise.
16271         * math/s_cexpl.c (__cexpl): Likewise.
16272         * math/s_csin.c (__csin): Likewise.
16273         * math/s_csinf.c (__csinf): Likewise.
16274         * math/s_csinh.c (__csinh): Likewise.
16275         * math/s_csinhf.c (__csinhf): Likewise.
16276         * math/s_csinhl.c (__csinhl): Likewise.
16277         * math/s_csinl.c (__csinl): Likewise.
16278         * math/s_ctan.c (__ctan): Likewise.
16279         * math/s_ctanf.c (__ctanf): Likewise.
16280         * math/s_ctanh.c (__ctanh): Likewise.
16281         * math/s_ctanhf.c (__ctanhf): Likewise.
16282         * math/s_ctanhl.c (__ctanhl): Likewise.
16283         * math/s_ctanl.c (__ctanl): Likewise.
16284         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
16285         csin, csinh, ctan and ctanh.
16286         * math/auto-libm-test-out: Regenerated.
16287         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
16288         * sysdeps/i386/fpu/libm-test-ulps: Update.
16289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16291 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16293         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
16294         return value is wrong, print the expected value too.
16296 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16298         [BZ #18585]
16299         * elf/readlib.c (is_gdb_python_file): New.
16300         (process_file): Don't issue errors on filenames with -gdb.py
16301         suffix.
16303 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16305         * math/auto-libm-test-in: Add more tests of csin and csinh.
16306         * math/auto-libm-test-out: Regenerated.
16307         * math/libm-test.inc (csin_test_data): Remove tests moved to
16308         auto-libm-test-in.
16309         (csinh_test_data): Likewise.
16311         [BZ #18593]
16312         * math/s_csin.c (__csin): Negate before rather than after possibly
16313         overflowing multiplication.
16314         * math/s_csinf.c (__csinf): Likewise.
16315         * math/s_csinh.c (__csinh): Likewise.
16316         * math/s_csinhf.c (__csinhf): Likewise.
16317         * math/s_csinhl.c (__csinhl): Likewise.
16318         * math/s_csinl.c (__csinl): Likewise.
16319         * math/auto-libm-test-in: Add some tests of csin and csinh.
16320         * math/auto-libm-test-out: Regenerated.
16321         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
16322         (csinh_test_data): Likewise.
16323         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16325         [BZ #18586]
16326         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
16327         underflow exception for small results.
16329 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
16331         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16332         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
16333         variable and included header.
16334         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
16335         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
16336         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
16337         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
16338         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
16339         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
16340         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
16341         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
16342         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
16343         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
16344         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
16345         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
16346         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
16347         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
16348         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
16349         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
16351 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16353         [BZ #16526]
16354         [BZ #16538]
16355         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
16356         (__sin): Force underflow exception for arguments with small
16357         absolute value.
16358         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
16359         (__kernel_sinf): Force underflow exception for arguments with
16360         small absolute value.
16361         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
16362         (__kernel_sincosl): Force underflow exception for arguments with
16363         small absolute value.
16364         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
16365         (__kernel_sinl): Force underflow exception for arguments with
16366         small absolute value.
16367         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
16368         (__kernel_sincosl): Force underflow exception for arguments with
16369         small absolute value.
16370         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
16371         (__kernel_sinl): Force underflow exception for arguments with
16372         small absolute value.
16373         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
16374         (__kernel_sinl): Force underflow exception for arguments with
16375         small absolute value.
16376         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
16377         (__kernel_sinf): Force underflow exception for arguments with
16378         small absolute value.
16379         * math/auto-libm-test-in: Add more tests of sin and sincos.
16380         * math/auto-libm-test-out: Regenerated.
16382         [BZ #18245]
16383         [BZ #18583]
16384         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
16385         (__kernel_standard_l): Use feholdexcept and fesetenv around
16386         conversion to double instead of special-casing overflow and
16387         underflow.
16388         * math/libm-test.inc (fmod_test_data): Add more tests.
16389         (remainder_test_data): Likewise.
16390         (sqrt_test_data): Likewise.
16392 2015-06-23  Torvald Riegel  <triegel@redhat.com>
16394         [BZ #17403]
16395         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
16396         atomic_read_barrier, atomic_write_barrier): Define.
16397         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
16398         atomic_read_barrier, atomic_write_barrier): Define.
16400 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16402         * math/Makefile [$(PERL) != no]
16403         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
16404         dependency on libm-test.stmp below the inclusion of Rules.
16406 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
16408         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16409         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
16410         and included header.
16411         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
16412         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
16413         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
16414         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
16415         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
16416         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
16417         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
16418         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
16419         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
16420         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
16421         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
16422         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
16423         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
16424         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
16425         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
16426         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
16427         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
16428         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
16429         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
16431 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16433         [BZ #18371]
16434         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
16435         intermediate but not final result might underflow.
16436         * math/s_csqrtf.c (__csqrtf): Likewise.
16437         * math/s_csqrtl.c (__csqrtl): Likewise.
16438         * math/auto-libm-test-in: Add more tests of csqrt.
16439         * math/auto-libm-test-out: Regenerated.
16440         * sysdeps/i386/fpu/libm-test-ulps: Update.
16442         [BZ #18219]
16443         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
16444         threshold on absolute value of exponent for which scaling is used.
16445         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16446         * math/auto-libm-test-in: Add more tests of exp2.
16447         * math/auto-libm-test-out: Regenerated.
16449 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
16451         [BZ #17977]
16452         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
16453         when initializing interface list, based on the bug analysis
16454         and the patch proposed by Eric Newton.
16455         * resolv/tst-res_hconf_reorder.c: New test.
16456         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
16457         tst-res_hconf_reorder.
16458         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
16459         and $(shared-thread-library).
16460         (tst-res_hconf_reorder-ENV): New variable.
16462         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
16463         in comment.
16465 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
16467         [BZ #16353]
16468         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
16469         (__expm1): Force underflow exception for arguments with small
16470         absolute value.
16471         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
16472         (__expm1f): Force underflow exception for arguments with small
16473         absolute value.
16474         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
16475         (__expm1): Force underflow exception for arguments with small
16476         absolute value.
16477         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
16478         (__expm1f): Force underflow exception for arguments with small
16479         absolute value.
16480         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16481         Check for small arguments before calling __expm1.
16482         * math/auto-libm-test-in: Do not mark underflow exceptions as
16483         possibly missing for bug 16353.
16484         * math/auto-libm-test-out: Regenerated.
16486 2015-06-22  Andreas Schwab  <schwab@suse.de>
16488         [BZ #18513]
16489         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
16490         PTR queries.
16492 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
16494         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
16496         * string/strcoll_l.c: Remove unused struct element idxnow.
16498 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
16500         [BZ #18569]
16501         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
16502         underflow and return argument in case of subnormal argument.
16503         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16504         Likewise.
16505         * math/auto-libm-test-in: Add more tests of expm1.
16506         * math/auto-libm-test-out: Regenerated.
16508         [BZ #16361]
16509         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16510         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16511         tiny results.
16512         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16513         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16514         tiny results.
16515         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
16516         mark underflow exceptions as possibly missing for bug 16361.
16517         * math/auto-libm-test-out: Regenerated.
16519 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
16521         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
16522         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
16523         Remove variable.
16524         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16525         (test-xfail-XOPEN2K8/utmpx.h/conform).
16527         * conform/conformtest.pl ($xerrors): New variable.
16528         (note_error): New function.
16529         (compiletest): New argument $xfail.  Use not_error.
16530         (runtest): Likewise.
16531         (top level): Handle xfail- lines.  Update calls to compiletest and
16532         runtest.  Handle xfail- and optional- in headers listed with
16533         allow-header.
16534         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
16535         (O_EXEC): Likewise.
16536         (O_SEARCH): Likewise.
16537         * conform/data/stropts.h-data (ioctl): Likewise.
16538         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
16539         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
16540         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
16541         (msghdr.msg_controllen): Likewise.
16542         (cmsghdr.cmsg_len): Likewise.
16543         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
16544         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
16545         variable.
16546         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16547         (test-xfail-XPG4/stropts.h/conform): Likewise.
16548         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16549         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16550         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16551         (test-xfail-UNIX98/stropts.h/conform): Likewise.
16552         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16553         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16554         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16555         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16556         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16557         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16558         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16559         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16560         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16561         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16562         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16563         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16564         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16565         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16566         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16568 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16570         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
16571         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
16572         definitions for proper unfolding of __MATHDECL_VEC.
16574 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16576         * benchtests/bench-strcoll.c:
16577         Include string.h.
16578         (main): Remove unused variable res.
16580 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16582         * timezone/Makefile (%/UTC %/Universal):
16583         Generate test-result files for UTC and Universal.
16585 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16587         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16589 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
16591         [BZ #16350]
16592         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
16593         for arguments with small absolute value.
16594         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
16595         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
16596         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
16597         (__asinh): Force underflow exception for arguments with small
16598         absolute value.
16599         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
16600         (__asinhf): Force underflow exception for arguments with small
16601         absolute value.
16602         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
16603         (__asinhl): Force underflow exception for arguments with small
16604         absolute value.
16605         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
16606         (__asinhl): Force underflow exception for arguments with small
16607         absolute value.
16608         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
16609         (__asinhl): Force underflow exception for arguments with small
16610         absolute value.
16611         * math/auto-libm-test-in: Do not mark underflow exceptions as
16612         possibly missing for bug 16350.
16613         * math/auto-libm-test-out: Regenerated.
16615         * include/bits/ipc.h: Remove file.
16616         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
16617         variable.
16618         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16619         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16620         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16621         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16622         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16623         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16624         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16625         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16626         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16628         * math/auto-libm-test-in: Remove spurious underflow allowance for
16629         tests of cexp.
16630         * math/auto-libm-test-out: Regenerated.
16632         [BZ #18558]
16633         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
16634         unconditional definition.
16635         (MCAST_BLOCK_SOURCE): Likewise.
16636         (MCAST_UNBLOCK_SOURCE): Likewise.
16637         (MCAST_LEAVE_GROUP): Likewise.
16638         (MCAST_JOIN_SOURCE_GROUP): Likewise.
16639         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16640         (MCAST_MSFILTER): Likewise.
16641         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
16642         Remove variable.
16643         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16644         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16645         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16646         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16647         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16649 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
16651         * NEWS: Mention addition of x86_64 vector sincosf.
16652         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
16653         * math/test-float-vlen4.h: Likewise.
16654         * math/test-float-vlen8.h: Likewise.
16655         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16656         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
16657         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16658         * sysdeps/x86_64/fpu/Versions: New versions added.
16659         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16660         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16661         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16662         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
16663         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
16664         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
16665         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
16666         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
16667         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
16668         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
16669         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
16670         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
16671         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
16672         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
16673         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
16674         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
16675         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
16676         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16677         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16678         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16679         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16680         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16681         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16682         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16684         * NEWS: Mention addition of x86_64 vector sincos.
16685         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
16686         * math/math.h (__MATHDECL_VEC): New macro.
16687         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
16688         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
16689         declaration under condition.
16690         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
16691         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
16692         TEST_VEC_LOOP change.
16693         * math/test-double-vlen4.h: Likewise.
16694         * math/test-double-vlen8.h: Likewise.
16695         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
16696         * math/test-float-vlen4.h: Likewise.
16697         * math/test-float-vlen8.h: Likewise.
16698         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16699         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
16700         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16701         * sysdeps/x86_64/fpu/Versions: New versions added.
16702         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16703         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16704         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16705         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
16706         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
16707         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
16708         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
16709         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
16710         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
16711         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
16712         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
16713         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
16714         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
16715         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
16716         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
16717         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
16718         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
16719         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16720         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16721         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16722         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16723         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16724         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16725         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16727         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16728         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16729         redirections for powf.
16730         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16731         * sysdeps/x86_64/fpu/Versions: New versions added.
16732         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16733         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16734         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16735         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
16736         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
16737         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
16738         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
16739         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
16740         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
16741         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
16742         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
16743         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
16744         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
16745         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
16746         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
16747         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
16748         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
16749         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16750         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16751         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16752         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16753         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16754         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16755         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16756         * math/test-float-vlen16.h: Fixed 2 argument macro.
16757         * math/test-float-vlen4.h: Likewise.
16758         * math/test-float-vlen8.h: Likewise.
16759         * NEWS: Mention addition of x86_64 vector powf.
16761 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
16763         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16764         and redefine.
16765         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16766         and redefine.
16767         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
16768         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16769         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16771         [BZ #18553]
16772         * resource/getpriority.c (getpriority): Rename to __getpriority
16773         and define as weak alias of __getpriority.
16774         * resource/setpriority.c (setpriority): Rename to __setpriority
16775         and define as weak alias of __setpriority.
16776         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
16777         __getpriority and define as weak alias of __getpriority.
16778         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
16779         __setpriority and define as weak alias of __setpriority.
16780         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
16781         strong name.
16782         (setpriority): Use __setpriority as strong name.
16783         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
16784         __getpriority and define as weak alias of __getpriority.
16785         * include/sys/resource.h (__getpriority): Declare.  Use
16786         libc_hidden_proto.
16787         (__setpriority): Likewise.
16788         (getpriority): Don't use libc_hidden_proto.
16789         (setpriority): Likewise.
16790         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
16791         getpriority.  Call __setpriority instead of setpriority.
16792         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
16793         Remove variable.
16795         [BZ #18547]
16796         * misc/getttyent.c (getttynam): Rename to __getttynam and define
16797         as weak alias of __getttynam.  Use prototype function definition.
16798         Call __setttyent, __getttyent and __endttyent instead of
16799         setttyent, getttyent and endttyent.
16800         (getttyent): Rename to __getttyent and define as weak alias of
16801         __getttyent.  Call __setttyent instead of setttyent.  Call
16802         __fgets_unlocked instead of fgets_unlocked.
16803         (setttyent): Rename to __setttyent and define as weak alias of
16804         __setttyent.
16805         (endttyent): Rename to __endttyent and define as weak alias of
16806         __endttyent.
16807         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
16808         (__setttyent): Likewise.
16809         (__endttyent): Likewise.
16810         (getttyent): Don't use libc_hidden_proto.
16811         (setttyent): Likewise.
16812         (endttyent): Likewise.
16813         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
16814         __endttyent instead of setttyent, getttyent and endttyent.
16815         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
16816         Remove variable.
16818         [BZ #18546]
16819         * socket/recv.c (__recv): Use libc_hidden_def.
16820         * socket/socket.c (__socket): Likewise.
16821         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
16822         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
16823         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
16824         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
16825         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
16826         libc_hidden_def.
16827         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
16828         libc_hidden_weak.
16829         * include/sys/socket.h (__socket): Do not use attribute_hidden.
16830         Use libc_hidden_proto.
16831         (__recv): Likewise.
16832         * socket/Versions (libc): Export __recv and __socket at version
16833         GLIBC_PRIVATE.
16834         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
16835         instead of recv.
16836         (init_mq_netlink): Call __socket instead of socket.
16837         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
16838         Remove variable.
16840         [BZ #18545]
16841         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
16842         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
16843         hidden_weak.
16844         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
16845         define as alias of __mq_timedsend.  Use hidden_weak.
16846         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
16847         __mq_timedsend as strong name.
16848         (mq_timedreceive): Use __mq_timedreceive as strong name.
16849         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
16850         (__mq_timedreceive): Likewise.
16851         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
16852         __mq_timedreceive instead of mq_timedreceive.
16853         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
16854         instead of mq_timedsend.
16855         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
16856         Remove variable.
16858         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
16859         hidden_def and hidden_weak instead of libc_hidden_def and
16860         libc_hidden_weak.
16861         (top level): Refer to hidden_def in comment.
16862         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
16863         macro.  Use it instead of libc_hidden_def.
16864         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
16865         specify __GI_* name explicitly.
16866         (mq_timedreceive): Likewise.
16867         (mq_setattr): Likewise.
16869         [BZ #18544]
16870         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
16871         __pthread_barrier_init and define as weak alias of
16872         __pthread_barrier_init.
16873         * sysdeps/sparc/nptl/pthread_barrier_init.c
16874         (pthread_barrier_init): Likewise.
16875         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
16876         __pthread_barrier_wait and define as weak alias of
16877         __pthread_barrier_wait.
16878         * sysdeps/sparc/nptl/pthread_barrier_wait.c
16879         (pthread_barrier_wait): Likewise.
16880         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
16881         (pthread_barrier_wait): Likewise.
16882         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
16883         (pthread_barrier_wait): Likewise.
16884         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
16885         (pthread_barrier_wait): Likewise.
16886         * nptl/Versions (libpthread): Export __pthread_barrier_init and
16887         __pthread_barrier_wait at version GLIBC_PRIVATE.
16888         * include/pthread.h (__pthread_barrier_init): Declare.
16889         (__pthread_barrier_wait): Likewise.
16890         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
16891         Call __pthread_barrier_wait instead of pthread_barrier_wait.
16892         (helper_thread): Likewise.
16893         (init_mq_netlink): Call __pthread_barrier_init instead of
16894         pthread_barrier_init.
16896         [BZ #18542]
16897         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
16898         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
16899         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
16900         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
16901         vswscanf.
16902         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
16903         Remove variable.
16905         [BZ #18540]
16906         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
16907         strong alias of _IO_fflush.  Use libc_hidden_def.
16908         * libio/iofflush_u.c (fflush_unlocked): Rename to
16909         __fflush_unlocked and define as weak alias of __fflush_unlocked.
16910         Use libc_hidden_weak.
16911         * include/stdio.h (__fflush_unlocked): Declare.  Use
16912         libc_hidden_proto.
16913         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
16914         fflush_unlocked.
16915         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
16916         Remove variable.
16918         [BZ #18539]
16919         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
16920         define as weak alias of __addseverity.
16921         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
16922         Remove variable.
16923         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
16924         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
16925         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
16927         [BZ #18536]
16928         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
16929         (__tfind): Likewise.
16930         (__tdelete): Likewise.
16931         (__twalk): Likewise.
16932         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
16933         __twalk to GLIBC_PRIVATE.
16934         * include/search.h (__tsearch): Use libc_hidden_proto.
16935         (__tfind): Likewise.
16936         (__tdelete): Likewise.
16937         (__twalk): Likewise.
16938         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
16939         Call __tdelete instead of tdelete.
16940         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
16941         tfind.  Call __tsearch instead of tsearch.
16942         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
16943         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
16944         Remove variable.
16945         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
16947         [BZ #18534]
16948         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
16949         (dprintf): Define as a weak alias of __dprintf, not a strong
16950         alias.
16951         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
16952         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
16953         dprintf.
16954         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
16955         Remove variable.
16956         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
16957         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
16959         [BZ #18533]
16960         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
16961         not a strong alias.
16962         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
16963         Remove variable.
16965         [BZ #18532]
16966         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
16967         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
16968         (in6addr_loopback): Rename to __in6addr_loopback and define as
16969         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
16970         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
16971         libc_hidden_proto.
16972         (__in6addr_any): Likewise.
16973         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
16974         in6addr_any.
16975         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
16976         variable.
16977         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
16979 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
16981         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
16982         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
16983         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16984         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16985         redirections for pow.
16986         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16987         * sysdeps/x86_64/fpu/Versions: New versions added.
16988         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16989         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16990         build of SSE, AVX2 and AVX512 IFUNC versions.
16991         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
16992         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
16993         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
16994         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
16995         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
16996         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
16997         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
16998         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
16999         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
17000         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
17001         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
17002         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
17003         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
17004         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
17005         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17006         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17007         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17008         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17009         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17010         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17011         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17012         * NEWS: Mention addition of x86_64 vector pow.
17014         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17015         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17016         redirections for expf.
17017         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17018         * sysdeps/x86_64/fpu/Versions: New versions added.
17019         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17020         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17021         build of SSE, AVX2 and AVX512 IFUNC versions.
17022         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
17023         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
17024         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
17025         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
17026         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
17027         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
17028         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
17029         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
17030         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
17031         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
17032         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
17033         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
17034         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
17035         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17036         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17037         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17038         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17039         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17040         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17041         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17042         * NEWS: Mention addition of x86_64 vector expf.
17044         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
17045         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
17046         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17047         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17048         redirections for exp.
17049         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17050         * sysdeps/x86_64/fpu/Versions: New versions added.
17051         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17052         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17053         build of SSE, AVX2 and AVX512 IFUNC versions.
17054         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
17055         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
17056         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
17057         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
17058         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
17059         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
17060         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
17061         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
17062         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
17063         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
17064         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
17065         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
17066         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
17067         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17068         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17069         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17070         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17071         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17072         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17073         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17074         * NEWS: Mention addition of x86_64 vector exp.
17076         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17077         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17078         redirections for logf.
17079         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17080         * sysdeps/x86_64/fpu/Versions: New versions added.
17081         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17082         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17083         build of SSE, AVX2 and AVX512 IFUNC versions.
17084         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
17085         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
17086         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
17087         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
17088         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
17089         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
17090         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
17091         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
17092         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
17093         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
17094         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
17095         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
17096         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
17097         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17098         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17099         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17100         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17101         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17102         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17103         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17104         * NEWS: Mention addition of x86_64 vector logf.
17106         * bits/libm-simd-decl-stubs.h: Added stubs for log.
17107         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
17108         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17109         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17110         redirections for log.
17111         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17112         * sysdeps/x86_64/fpu/Versions: New versions added.
17113         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17114         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17115         build of SSE, AVX2 and AVX512 IFUNC versions.
17116         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
17117         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
17118         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
17119         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
17120         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
17121         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
17122         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
17123         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
17124         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
17125         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
17126         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
17127         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
17128         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
17129         test.
17130         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17131         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17132         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17133         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17134         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17135         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17136         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17137         * NEWS: Mention addition of x86_64 vector log.
17139 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17141         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
17142         cfi_adjust_cfa_offset argument.
17143         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
17144         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
17146         [BZ #18034]
17147         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
17148         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
17149         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
17150         ordering using ldar.
17151         (_dl_tlsdesc_dynamic): Likewise.
17152         (_dl_tlsdesc_return_lazy): Likewise.
17153         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
17154         relaxed atomics instead of volatile and synchronize with release store.
17155         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
17156         volatile.
17157         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17159 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
17161         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17162         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
17163         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17164         * sysdeps/x86_64/fpu/Versions: New versions added.
17165         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17166         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17167         build of SSE, AVX2 and AVX512 IFUNC versions.
17168         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
17169         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
17170         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
17171         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
17172         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
17173         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
17174         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
17175         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
17176         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
17177         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
17178         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
17179         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
17180         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
17181         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17182         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17183         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17184         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17185         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17186         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17187         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17188         * NEWS: Mention addition of x86_64 vector sinf.
17190 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
17192         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
17193         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
17194         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
17195         Remove variable.
17196         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
17197         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
17199 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
17201         [BZ #18530]
17202         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
17203         strong alias of _IO_fputs.  Use libc_hidden_def.
17204         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
17205         and define as weak alias of __fputs_unlocked.  Use
17206         libc_hidden_weak.
17207         * include/stdio.h (__fputs_unlocked): Declare.  Use
17208         libc_hidden_proto.
17209         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
17210         fputs_unlocked.
17212         [BZ #18529]
17213         * resolv/netdb.h [__USE_POSIX]: Change condition to
17214         [__USE_XOPEN2K].
17215         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
17216         not expect.
17217         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
17218         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
17219         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
17220         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
17221         [XPG4 || UNIX98] (AI_ALL): Likewise.
17222         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
17223         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
17224         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
17225         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
17226         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
17227         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
17228         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
17229         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
17230         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
17231         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
17232         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
17233         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
17234         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
17235         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
17236         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
17237         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
17238         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
17239         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
17240         [XPG4 || UNIX98] (gai_strerror): Likewise.
17241         [XPG4 || UNIX98] (getaddrinfo): Likewise.
17242         [XPG4 || UNIX98] (getnameinfo): Likewise.
17244         [BZ #18528]
17245         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
17246         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
17247         __USE_XOPEN2K8].
17248         (getgrent): Likewise.
17249         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
17250         expect.
17251         [XPG3 || POSIX2008] (endgrent): Likewise.
17252         [XPG3] (setgrent): Likewise.
17253         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
17254         variable.
17255         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
17257         [BZ #18527]
17258         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
17259         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
17260         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
17261         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
17262         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
17263         * include/unistd.h (__getlogin_r): Declare.  Use
17264         libc_hidden_proto.
17265         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
17266         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
17267         variable.
17268         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
17269         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
17270         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
17272 2015-06-12  Martin Sebor  <msebor@redhat.com>
17274         [BZ #18512]
17275         * Makerules (check-install-supported): New target.
17276         (install): Add check-install-supported as a dependency.
17277         * manual/install.texi (Installing the C Library): Document
17278         that overriding prefix and exec_prefix is not supported.
17279         Mention DESTDIR.
17280         * INSTALL: Regenerate from the above.
17282 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
17284         [BZ #18519]
17285         * posix/Versions (libc): Export __libc_pread at version
17286         GLIBC_PRIVATE.
17287         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
17288         instead of pread.
17289         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
17290         variable.
17292         [BZ #18522]
17293         * misc/efgcvt_r.c
17294         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
17295         (cvt_symbol): Use weak_alias instead of strong_alias.
17296         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
17297         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
17298         Remove variable.
17299         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
17300         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
17302         [BZ #18520]
17303         * inet/herrno.c (h_errno): Rename to __h_errno.
17304         (__libc_h_errno): Define as alias of __h_errno not h_errno.
17305         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
17306         to __h_errno instead of h_errno.
17307         * nptl/herrno.c (h_errno): Rename to __h_errno.
17308         (__h_errno_location): Refer to __h_errno not h_errno.
17309         * resolv/Versions (h_errno): Rename to __h_errno.
17310         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
17311         Remove variable.
17312         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
17314 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
17316         * configure.ac: More strict check for AVX512 assembler support.
17317         * configure: Regenerated.
17319         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
17320         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
17321         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17322         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
17323         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17324         * sysdeps/x86_64/fpu/Versions: New versions added.
17325         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17326         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17327         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17328         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
17329         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
17330         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
17331         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
17332         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
17333         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
17334         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
17335         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
17336         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
17337         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
17338         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
17339         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
17340         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
17341         test.
17342         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17343         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17344         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17345         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17346         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17347         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17348         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17349         * NEWS: Mention addition of x86_64 vector sin.
17351 2015-06-11  Florian Weimer  <fweimer@redhat.com>
17353         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
17354         comment.
17356 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
17358         [BZ #18479]
17359         * nptl/pt-interp.c: New file.
17360         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
17361         Add pt-interp.
17362         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
17363         $(common-objpfx)runtime-linker.h.
17365 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
17367         * Makeconfig (+interp): Remove unused variable.
17368         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
17369         only.  Depend on $(common-objpfx)runtime-linker.h instead of
17370         $(elf-objpfx)runtime-linker.h.
17371         ($(elf-objpfx)runtime-linker.h): Rename to
17372         $(common-objpfx)runtime-linker.h and move ...
17373         * Makerules [$(build-shared) = yes]: ... here.
17374         * elf/interp.c: Include <runtime-linker.h> instead of
17375         <elf/runtime-linker.h>.
17377 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17379         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
17380         (__gettimeofday_syscall): Remove vsyscall fallback.
17381         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
17382         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
17383         Add syscall fallback function.
17384         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
17385         if vDSO is not present.
17386         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
17387         fallback function.
17388         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
17389         present.
17390         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
17391         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
17393 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
17395         [BZ #18497]
17396         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
17397         of wcscmp.
17398         (wcscmp): Define as weak alias of WCSCMP.
17399         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
17400         wcscoll.
17401         (USE_HIDDEN_DEF): Define.
17402         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
17403         __wcscoll.  Don't use libc_hidden_weak.
17404         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
17405         wcscmp.
17406         * sysdeps/i386/i686/multiarch/wcscmp-c.c
17407         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
17408         __GI_wcscmp.
17409         (weak_alias): Undefine and redefine.
17410         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
17411         __wcscmp and define as weak alias of __wcscmp.
17412         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
17413         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
17414         (__wcscoll): Likewise.
17415         (wcscmp): Don't use libc_hidden_proto.
17416         (wcscoll): Likewise.
17417         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
17418         wcscoll.
17419         * posix/regexec.c (check_node_accept_bytes): Likewise.
17420         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
17421         variable.
17422         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
17423         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
17425         [BZ #18507]
17426         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
17427         __fstatvfs and define as weak alias of __fstatvfs.  Use
17428         libc_hidden_weak.
17429         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
17430         and define as weak alias of __statvfs.  Use libc_hidden_weak.
17431         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
17432         Define as alias of __fstatvfs, not fstatvfs.
17433         (fstatvfs64): Likewise.
17434         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
17435         Define as alias of __statvfs, not statvfs.
17436         (statvfs64): Likewise.
17437         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
17438         Remove variable.
17440 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17443         (HAVE_GETCPU_VSYSCALL): Define.
17444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17445         (HAVE_GETCPU_VSYSCALL): Likewise.
17446         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
17447         * sysdeps/unix/sysv/linux/sched_getcpu.c
17448         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
17449         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
17450         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
17451         prototype.
17452         * sysdeps/unix/sysv/linux/x86_64/init-first.c
17453         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
17454         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
17455         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
17456         Define.
17457         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
17458         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17459         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
17460         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17462 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
17464         * sysdeps/x86_64/fpu/Makefile: New file.
17465         * sysdeps/x86_64/fpu/Versions: New file.
17466         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
17467         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
17468         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
17469         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
17470         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
17471         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
17472         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
17473         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
17474         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
17475         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
17476         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
17477         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
17478         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
17479         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17480         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17481         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
17482         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
17483         * sysdeps/x86_64/configure.ac: Options for libmvec build.
17484         * sysdeps/x86_64/configure: Regenerated.
17485         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
17486         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
17487         * manual/install.texi (Configuring and compiling): Document
17488         --disable-mathvec.
17489         * INSTALL: Regenerated.
17490         * NEWS: Mention addition of libmvec and x86_64 vector cos.
17492         * math/Makefile: Added rules for vector tests.
17493         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
17494         declaration under condition.
17495         * math/test-double-vlen2.h: New file.
17496         * math/test-double-vlen4.h: New file.
17497         * math/test-double-vlen8.h: New file.
17498         * math/test-vec-loop.h: Added initialization macro.
17499         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
17500         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
17501         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
17502         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
17503         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
17504         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
17505         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
17506         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
17507         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
17508         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
17509         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
17511         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17512         * sysdeps/x86_64/fpu/Versions: New versions added.
17513         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
17514         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
17515         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
17516         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
17517         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
17518         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
17519         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
17520         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
17521         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
17522         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
17523         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
17524         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
17525         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
17526         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17527         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17528         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17529         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
17530         * NEWS: Mention addition of x86_64 vector cosf.
17532         * math/Makefile: Added CFLAGS for new tests.
17533         * math/test-float-vlen16.h: New file.
17534         * math/test-float-vlen4.h: New file.
17535         * math/test-float-vlen8.h: New file.
17536         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
17537         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
17538         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17539         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
17540         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
17541         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
17542         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
17543         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
17544         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
17545         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
17546         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
17548 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
17550         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
17551         * locale/programs/ld-ctype.c: Likewise.
17553 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
17555         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
17556         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
17557         bit_ZMM16_31_state): New macro.
17558         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17559         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
17561 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
17563         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
17565 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
17567         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
17569 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
17571         [BZ #18498]
17572         * libio/memstream.c (open_memstream): Rename to __open_memstream
17573         and define as weak alias of __open_memstream.
17574         * include/stdio.h (__open_memstream): Declare.  Use
17575         libc_hidden_proto.
17576         (open_memstream): Don't use libc_hidden_proto.
17577         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
17578         open_memstream.
17579         * posix/getopt.c (_getopt_internal_r): Likewise.
17580         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
17581         variable.
17582         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
17583         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
17584         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
17586         [BZ #18496]
17587         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
17588         instead of wcrtomb.
17590         [BZ #18483]
17591         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
17592         [__USE_XOPEN2K8].  Remove redundant #endif.
17593         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
17594         Remove redundant #if.
17595         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
17596         Remove variable.
17597         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
17598         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
17600         [BZ #18495]
17601         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
17602         (__iswlower): Likewise.
17603         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
17604         (__iswlower): Likewise.
17605         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
17606         instead of towlower.
17607         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
17608         instead of iswlower.  Call __towupper instead of towupper.
17609         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
17610         instead of iswalnum.
17612 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17614         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
17615         errors to stderr.
17617 2015-06-05  Florian Weimer  <fweimer@redhat.com>
17619         [BZ #15661]
17620         [BZ #17322]
17621         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
17622         Check for overflow properly.  Check for O_APPEND.  Ignore large
17623         file system block sizes.  Add comments about problems.
17624         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
17625         * manual/filesys.texi (Storage Allocation): New node.
17627 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17629         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
17630         cancellable syscalls.
17631         (SYS_ify): Add guard to no redefine it.
17632         (INLINE_SYSCALL): Likewise.
17633         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
17634         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
17635         SYSCALL_CANCEL instead.
17636         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
17637         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
17638         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
17639         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
17640         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
17641         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
17642         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
17643         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
17644         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
17645         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
17646         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
17647         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
17648         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
17649         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
17650         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
17651         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
17652         Likewise.
17653         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
17654         (__libc_pread64): Likewise.
17655         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
17656         (__libc_preadv): Likewise.
17657         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
17658         (__libc_readv64): Likewise.
17659         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
17660         (__libc_pwrite): Likewise.
17661         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
17662         (__libc_pwrite64): Likewise.
17663         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
17664         (__libc_pwritev): Likewise.
17665         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
17666         (__libc_pwritev64): Likewise.
17667         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
17668         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
17669         (sync_file_range): Likewise.
17670         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
17671         Likewise.
17672         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
17673         Likewise.
17674         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
17675         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
17676         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
17677         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
17678         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
17679         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
17680         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
17681         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
17682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
17683         Likewise.
17684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17685         (__libc_read64): Likewise.
17686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
17687         Likewise.
17688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
17689         Likewise.
17690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
17691         Likewise.
17692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
17693         Likewise.
17694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17695         (__libc_pread64): Likewise.
17696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
17697         Likewise.
17698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17699         (__libc_pwrite64): Likewise.
17700         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
17701         (sync_file_range): Likewise.
17702         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
17703         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
17704         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
17705         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
17706         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
17707         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
17708         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
17709         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
17710         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
17711         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17712         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17713         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
17714         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
17715         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
17716         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
17717         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
17718         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
17719         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
17720         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
17721         Likewise.
17722         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
17723         Likewise.
17724         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
17725         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
17726         Likewise.
17727         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
17728         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
17729         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
17730         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
17731         Likewise.
17732         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
17733         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
17734         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
17735         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
17736         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
17738 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
17740         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
17741         Include dl-vdso.
17742         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
17743         Use VDSO routines for gettimeofday, clock_gettime if
17744         available.
17745         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
17746         Declare VDSO symbols.
17747         * sysdeps/unix/sysv/linux/arm/sysdep.h:
17748         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
17749         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17750         * sysdeps/unix/sysv/linux/arm/Versions: Add
17751         __vdso_clock_gettime.
17753 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17755         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
17756         be an inline implementation regardless of library is built within.
17757         (open_not_cancel_2): Likewise.
17758         (__read_nocancel): Likewise.
17759         (__write_nocancel): Likewise.
17760         (openat_not_cancel): Likewise.
17761         (openat_not_cancel_3): Likewise.
17762         (openat64_not_cancel): Likewise.
17763         (openat64_not_cancel_3): Likewise.
17764         (__close_nocancel): Likewise.
17765         (pause_not_cancel): Likewise.
17766         (nanosleep_not_cancel): Likewise.
17767         (sigsuspend_not_cancel): Likewise.
17769 2015-06-04  Torvald Riegel  <triegel@redhat.com>
17771         [BZ #14958]
17772         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
17773         wake-up.
17774         (__pthread_rwlock_rdlock_slow): Likewise.
17775         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17776         Likewise.
17777         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17778         Likewise.
17779         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
17780         * nptl/tst-rwlock16.c: New file.
17781         * nptl/Makefile (tests): Add new test.
17783 2015-06-04  Torvald Riegel  <triegel@redhat.com>
17785         [BZ #18324]
17786         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
17787         missing wake-up of readers.
17788         * nptl/tst-rwlock15.c: New file.
17789         * nptl/Makefile (tests): Add new test.
17791 2015-06-03  Roland McGrath  <roland@hack.frob.com>
17793         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
17794         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
17795         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
17796         and __nacl_supply_interface_rtld.
17797         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
17798         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
17799         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
17800         Add __nacl_supply_interface_rtld.
17801         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
17803 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
17805         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
17806         isfinite.
17807         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17808         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
17810 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
17812         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
17813         __signbit* with standard C99 macros.
17814         * math/e_exp10l.c: Likewise.
17815         * math/e_exp2l.c: Likewise.
17816         * math/e_scalb.c: Likewise.
17817         * math/e_scalbf.c: Likewise.
17818         * math/e_scalbl.c: Likewise.
17819         * math/s_ldexp.c: Likewise.
17820         * math/s_ldexpf.c: Likewise.
17821         * math/s_ldexpl.c: Likewise.
17822         * math/w_atan2.c: Likewise.
17823         * math/w_atan2f.c: Likewise.
17824         * math/w_atan2l.c: Likewise.
17825         * math/w_cosh.c: Likewise.
17826         * math/w_coshf.c: Likewise.
17827         * math/w_coshl.c: Likewise.
17828         * math/w_exp10.c: Likewise.
17829         * math/w_exp10f.c: Likewise.
17830         * math/w_exp10l.c: Likewise.
17831         * math/w_exp2.c: Likewise.
17832         * math/w_exp2f.c: Likewise.
17833         * math/w_exp2l.c: Likewise.
17834         * math/w_fmod.c: Likewise.
17835         * math/w_fmodf.c: Likewise.
17836         * math/w_fmodl.c: Likewise.
17837         * math/w_hypot.c: Likewise.
17838         * math/w_hypotf.c: Likewise.
17839         * math/w_hypotl.c: Likewise.
17840         * math/w_jnl.c: Likewise.
17841         * math/w_lgamma.c: Likewise.
17842         * math/w_lgamma_r.c: Likewise.
17843         * math/w_lgammaf.c: Likewise.
17844         * math/w_lgammaf_r.c: Likewise.
17845         * math/w_lgammal.c: Likewise.
17846         * math/w_lgammal_r.c: Likewise.
17847         * math/w_pow.c: Likewise.
17848         * math/w_powf.c: Likewise.
17849         * math/w_powl.c: Likewise.
17850         * math/w_remainder.c: Likewise.
17851         * math/w_remainderf.c: Likewise.
17852         * math/w_remainderl.c: Likewise.
17853         * math/w_scalb.c: Likewise.
17854         * math/w_scalbf.c: Likewise.
17855         * math/w_scalbl.c: Likewise.
17856         * math/w_scalbln.c: Likewise.
17857         * math/w_scalblnf.c: Likewise.
17858         * math/w_scalblnl.c: Likewise.
17859         * math/w_sinh.c: Likewise.
17860         * math/w_sinhf.c: Likewise.
17861         * math/w_sinhl.c: Likewise.
17862         * math/w_tgamma.c: Likewise.
17863         * math/w_tgammaf.c: Likewise.
17864         * math/w_tgammal.c: Likewise.
17865         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17866         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
17867         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17868         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17869         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17870         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17871         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17872         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17873         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17874         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17875         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17876         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17877         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17878         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17879         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17880         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17881         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17882         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17883         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17884         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17885         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17886         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17887         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17888         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17889         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17890         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17891         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
17892         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17893         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17894         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17895         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
17896         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
17897         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
17898         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
17899         * stdio-common/printf_fp.c: Likewise.
17900         * stdio-common/printf_fphex.c: Likewise.
17901         * stdio-common/printf_size.c: Likewise.
17903 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
17905         [BZ #18470]
17906         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
17907         strnlen.
17908         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
17909         Remove variable.
17910         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
17911         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
17912         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
17913         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
17914         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
17915         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
17916         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
17917         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
17918         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
17919         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
17921         [BZ #18468]
17922         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
17923         weak alias of __wmemchr.  Use libc_hidden_weak.
17924         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
17925         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
17926         instead of wmemchr.
17928 2015-06-02  Roland McGrath  <roland@hack.frob.com>
17930         [BZ #18383]
17931         * elf/tst-tlsalign-extern.c: New file.
17932         * elf/tst-tlsalign-extern-static.c: New file.
17933         * elf/tst-tlsalign-vars.c: New file.
17934         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
17935         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
17936         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
17937         ($(objpfx)tst-tlsalign-extern-static): Likewise.
17938         (test-xfail-tst-tlsalign-extern-static): New variable.
17940 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
17942         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
17943         Use variable name _sc_err instead of err.
17944         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
17945         instead of ret.
17946         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
17947         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
17948         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
17949         (INLINE_SYSCALL): Likewise.
17951         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
17952         * include/string.h (__strnlen): Use libc_hidden_proto.
17953         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
17954         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
17955         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
17956         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
17957         (libc_hidden_def): Undefine and redefine.
17958         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
17959         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
17960         __GI_strnlen.
17961         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
17962         libc_hidden_def.
17963         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
17965         [BZ #18469]
17966         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
17967         weak alias of __towlower.  Use libc_hidden_weak.
17968         (towupper): Rename to __towupper and define as weak alias of
17969         __towupper.  Use libc_hidden_weak.
17970         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
17971         (__towupper): Likewise.
17972         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
17973         __towlower instead of towlower.
17975 2015-06-02  Roland McGrath  <roland@hack.frob.com>
17977         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
17978         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
17980 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17982         * sysdeps/aarch64/libm-test-ulps: Update.
17984 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17986         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
17987         Define.
17988         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17989         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
17990         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17991         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17992         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
17993         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
17994         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
17996 2015-06-01  Martin Sebor  <msebor@redhat.com>
17998         [BZ #18116]
17999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18000         (__setcontext): Use extended four-operand version of mtsf whenever
18001         possible.
18002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18003         (__novec_swapcontext): Likewise.
18005 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18007         * benchtests/scripts/compare_bench.py: New file.
18008         * benchtests/scripts/import_bench.py (mean): New function.
18009         (split_list): Likewise.
18010         (do_for_all_timings): Likewise.
18011         (compress_timings): Likewise.
18013         * benchtests/scripts/import_bench.py: New file.
18014         * benchtests/scripts/validate_benchout.py: Import import_bench
18015         instead of jsonschema.
18016         (validate_bench): Remove function.
18017         (main): Use import_bench.
18019 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
18021         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
18022         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
18024 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18028 2015-05-28  Roland McGrath  <roland@hack.frob.com>
18030         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
18031         set THREAD_SELF->tid to a magic value and futex-wake it.
18032         Pass its address to the thread_exit system call.
18033         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
18034         bit is clear.
18035         * sysdeps/nacl/lowlevellock.h: New file.
18036         * sysdeps/nacl/lll_timedwait_tid.c: New file.
18038         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
18039         Add TIMEOUT to current time, don't subtract it.
18041 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
18043         [BZ #2981]
18044         [BZ #18422]
18045         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
18046         ($(objpfx)tst-audit2.out): Also depend on
18047         $(objpfx)tst-auditmod9b.so.
18048         * elf/tst-audit2.c: Include <dlfcn.h>.
18049         (calloc_called): New.
18050         (calloc): Allow to be called more than once.
18051         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
18053 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
18055         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
18056         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
18058 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
18060         * stdlib/monetary.h: Fix comment.
18062 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
18064         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
18065         Avoid using variables in #defines that might cause shadowing.
18066         (INTERNAL_VSYSCALL_CALL): Likewise.
18068 2015-05-26  Roland McGrath  <roland@hack.frob.com>
18070         * sysdeps/nacl/lll_timedlock_wait.c: New file.
18072         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
18073         * nptl/lll_timedlock_wait.c: ... to this new file.
18074         * nptl/Makefile (libpthread-routines): Add it.
18075         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
18076         * nptl/lll_timedwait_tid.c: ... to this new file.
18077         * nptl/Makefile (libpthread-routines): Add it.
18078         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
18079         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
18080         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
18081         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
18082         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
18083         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
18084         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
18085         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
18086         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
18087         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
18089 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18091         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
18092         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18093         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
18094         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
18095         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
18096         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18097         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18098         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18099         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18100         * sysdeps/unix/sysv/linux/tile/sysdep.h
18101         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18102         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
18103         using vDSO syscall macro.
18105 2015-05-26  Andriy Rysin  <arysin@gmail.com>
18107         [BZ #17293]
18108         * uk_UA: Fix sorting order for Ukrainian locale
18110 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
18112         * stdlib/monetary.h: Fix comment.
18114 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18116         [BZ #18234]
18117         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
18118         st_mtim and st_ctim members.
18119         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
18120         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
18121         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
18122         (struct stat64): Likewise.
18123         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
18124         (struct stat64): Likewise.
18125         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
18126         (struct stat64): Likewise.
18128 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18130         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
18131         Define and include sysdep-vdso.h.
18132         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
18133         Likewise.
18134         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
18135         Likewise.
18136         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
18137         Define with VDSO_SYMBOL and use PTR_MANGLE.
18138         (__vdso_clock_gettime): Likewise.
18139         (__vdso_clock_getres): Likewise.
18140         (_libc_vdso_platform_setup): Likewise.
18141         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
18142         Likewise.
18143         (_libc_vdso_platform_setup): Likewise.
18144         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
18145         Likewise.
18146         (__vdso_clock_gettime): Likewise.
18147         (__vdso_clock_getres): Likewise.
18148         (__vdso_get_tbfreq): Likewise.
18149         (__vdso_getcpu): Likewise.
18150         (__vdso_time): Likewise.
18151         (__vdso_sigtramp_rt64): Likewise.
18152         (__vdso_signtramp32): Likewise.
18153         (__vdso_sigtramp_rt32): Likewise.
18154         (_libc_vdso_platform_setup): Likewise.
18155         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
18156         Likewise.
18157         (__vdso_clock_gettime): Likewise.
18158         (__vdso_clock_getres): Likewise.
18159         (_libc_vdso_platform_setup): Likewise.
18160         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
18161         Likewise.
18162         (__vdso_clock_gettime): Likewise.
18163         (_libc_vdso_platform_setup): Likewise.
18164         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
18165         Likewise.
18166         (__vdso_getcpu): Likewise.
18167         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
18168         Use VDSO_SYMBOL macro to define.
18169         (__vdso_clock_gettime): Likewise.
18170         (__vdso_clock_getres): Likewise.
18171         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
18172         Likewise.
18173         (__vdso_clock_gettime): Likewise.
18174         (__vdso_clock_getres): Likewise.
18175         (__vdso_get_tbfreq): Likewise.
18176         (__vdso_getcpu): Likewise.
18177         (__vdso_time): Likewise.
18178         (__vdso_sigtramp_rt64): Likewise.
18179         (__vdso_signtramp32): Likewise.
18180         (__vdso_sigtramp_rt32): Likewise.
18181         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
18182         Likewise.
18183         (__vdso_clock_gettime): Likewise.
18184         (__vdso_clock_getres): Likewise.
18185         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
18186         Likewise.
18187         (__vdso_clock_gettime): Likewise.
18188         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
18189         Likewise.
18190         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
18191         macro.
18192         (INTERNAL_VSYSCALL): Likewise.
18193         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
18194         Remove macro.
18195         (INTERNAL_VSYSCALL): Likewise.
18196         (INTERNAL_VSYSCALL_NCS): Likewise.
18197         (INTERNAL_VSYSCALL_CALL): New macro.
18198         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
18199         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
18200         Likewise.
18201         (INTERNAL_VSYSCALL): Likewise.
18202         (INTERNAL_VSYSCALL_NCS): Likewise.
18203         (INTERNAL_VSYSCALL_CALL): New macro.
18204         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
18205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18206         (INLINE_VSYSCALL): Remove macro.
18207         (INTERNAL_VSYSCALL): Remove macro.
18208         (INTERNAL_VSYSCALL_NCS): Remove macro.
18209         (INTERNAL_VSYSCALL_CALL): New macro.
18210         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
18211         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
18212         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
18213         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
18214         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
18215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18216         (INLINE_VSYSCALL): Remove macro.
18217         (INTERNAL_VSYSCALL): Likewise.
18218         (INTERNAL_VSYSCALL_NCS): Likewise.
18219         (INTERNAL_VSYSCALL_CALL): New macro.
18220         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
18221         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
18222         PTR_DEMANGLE on vDSO pointer.
18223         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
18224         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
18225         macro.
18226         (INTERNAL_SYSCALL): Likewise.
18227         (INTERNAL_VSYSCALL_NCS): Remove macro.
18228         (INTERNAL_VSYSCALL_CALL): New macro.
18229         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
18230         Remove macro.
18231         (INTERNAL_VSYSCALL): Likewise.
18232         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
18233         sysdep-vdso.h instead of libc-vdso.h.
18234         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
18235         definition.
18236         (INLINE_VSYSCALL): Likewise.
18237         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
18238         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
18239         definition.
18240         (INLINE_VSYSCALL): Likewise.
18241         (INTERNAL_VSYSCALL): Likewise.
18242         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18243         * sysdeps/unix/sysv/linux/timespec_get.c
18244         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18245         (timespec_get): Use ANSI prototype.
18246         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
18247         and definition for Linux.
18249 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
18251         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
18252         * include/libc-symbols.h: libmvec_hidden_* macro series added.
18254 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18256         [BZ #2981]
18257         [BZ #18410]
18258         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
18259         for missing DT_PLTRELSZ.
18261 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
18263         Remove obsolete aliases that broke 'locale -a'
18264         [BZ #18412]
18265         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
18266         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
18267         breaking some applications that use 'locale -a' output.
18268         Change the encoding of this file from Latin-1 to ASCII to avoid
18269         other potential problems with people grepping this file.
18271 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18273         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
18274         -fasynchronous-unwind-tables.
18275         (CFLAGS-sendto.c): Likewise.
18276         (CFLAGS-sendmsg.c): Likewise.
18277         (CFLAGS-connect.c): Likewise.
18278         (CFLAGS-recvmsg.c): Likewise.
18279         (CFLAGS-recvfrom.c): Likewise.
18280         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
18281         (SOCKETCALL): New macro: non-cancellable socketcall.
18282         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
18283         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
18284         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
18285         * sysdeps/unix/sysv/linux/accept.c: New file.
18286         * sysdeps/unix/sysv/linux/bind.c: Likewise.
18287         * sysdeps/unix/sysv/linux/connect.c: Likewise.
18288         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
18289         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
18290         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
18291         * sysdeps/unix/sysv/linux/listen.c: Likewise.
18292         * sysdeps/unix/sysv/linux/recv.c: Likewise.
18293         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
18294         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
18295         * sysdeps/unix/sysv/linux/send.c: Likewise.
18296         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
18297         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
18298         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
18299         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
18300         * sysdeps/unix/sysv/linux/socket.c: Likewise.
18301         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
18302         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
18303         prototype.
18304         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
18305         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18306         instead of __internal_xxx function.
18307         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
18308         prototype.
18309         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
18310         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18311         instead of __internal_xxx function.
18312         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
18313         prototype.
18314         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
18315         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18316         instead of __internal_xxx function.
18317         * sysdeps/unix/sysv/linux/accept.S: Remove file.
18318         * sysdeps/unix/sysv/linux/bind.S: Likewise.
18319         * sysdeps/unix/sysv/linux/connect.S: Likewise.
18320         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
18321         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
18322         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
18323         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
18324         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
18325         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
18326         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
18327         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
18328         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18329         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
18330         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
18331         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
18332         * sysdeps/unix/sysv/linux/listen.S: Likewise.
18333         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
18334         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
18335         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
18336         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
18337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
18338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
18339         * sysdeps/unix/sysv/linux/recv.S: Likewise.
18340         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
18341         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
18342         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
18343         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18344         * sysdeps/unix/sysv/linux/send.S: Likewise.
18345         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
18346         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
18347         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
18348         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
18349         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
18350         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
18351         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
18352         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
18353         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
18354         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
18355         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
18356         socketcall is implemented in GLIBC.
18358 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
18360         * soft-fp/fmadf4.c: Include <libc-internal.h>.
18361         (__fma): Ignore uninitialized warnings around packing.
18362         * soft-fp/fmasf4.c: Include <libc-internal.h>.
18363         (__fmaf): Ignore uninitialized warnings around packing.
18364         * soft-fp/fmatf4.c: Include <libc-internal.h>.
18365         (__fmal): Ignore uninitialized warnings around packing.
18367         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
18368         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18369         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
18370         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18372         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
18373         switch statement into default case.
18374         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
18376         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
18377         a conditional in forcing "inexact".
18378         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18379         Likewise.
18381 2015-05-22  Roland McGrath  <roland@hack.frob.com>
18383         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
18384         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
18385         for each INTERNAL_SYSCALL use.
18387 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
18389         [BZ #438]
18390         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
18391         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
18392         variable.
18394         [BZ #18444]
18395         * string/basename.c (basename): Rename to __basename and define as
18396         weak alias of __basename.  Use libc_hidden_weak.
18397         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
18398         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
18399         __basename instead of basename.
18400         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
18401         Remove variable.
18402         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
18404 2015-05-18  Florian Weimer  <fweimer@redhat.com>
18406         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
18407         (_IO_JUMPS_FILE_plus): New.
18408         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
18409         _IO_CAST_FIELD_ACCESS.
18410         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
18411         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
18412         * libio/freopen.c (freopen): Likewise.
18413         * libio/freopen64.c (freopen64): Likewise.
18414         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
18415         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
18416         * libio/iofwide.c (_IO_fwide): Likewise.
18417         * libio/memstream.c (open_memstream): Likewise.
18418         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18419         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18420         * libio/oldiopopen.c (_IO_old_popen): Likewise.
18422 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
18424         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
18425         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
18426         NADJ.
18427         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
18428         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
18429         NADJ.
18430         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
18431         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
18432         NADJ.
18434         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
18435         (p == 4) case.
18437         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
18438         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
18439         Remove variable.
18440         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
18441         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
18442         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
18444 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18446         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
18447         Adjust jump table label generation macros.
18449 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18451         * stdio-common/vfprintf.c (vfprintf): Move local variables
18452         args_malloced, specs, specs_malloced, and the code after
18453         do_positional to the printf_positional function.
18454         (printf_positional): New function.
18456 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18458         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
18459         function.
18460         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
18461         STEP4_TABLE, process_arg): Move macro definitions
18462         out of the vfprintf function.  (Cosmetic change only.)
18464 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
18466         * benchtests/Makefile (stdio-common-bench): Define.
18467         (benchset): Add stdio-common-bench.
18468         * sprintf-inputs: New file.
18469         * sprintf-source.c: New file.
18471 2015-05-21  Andreas Schwab  <schwab@suse.de>
18473         [BZ #13028]
18474         [BZ #17053]
18475         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
18476         of struct __res_state.
18477         * resolv/res_send.c (__libc_res_nsend): Likewise.
18478         (get_nsaddr): New function.
18479         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
18480         statp directly.
18482 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
18484         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
18485         -D_POSIX_C_SOURCE=199506L.
18487         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
18489         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
18490         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
18491         Do not mention otherwise.
18492         [POSIX] (_XOPEN_VERSION): Do not expect.
18493         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
18494         [POSIX] (_POSIX2_C_BIND): Likewise.
18495         [POSIX] (_POSIX2_VERSION): Likewise.
18496         [POSIX] (_XOPEN_XPG2): Likewise.
18497         [POSIX] (_XOPEN_XPG3): Likewise.
18498         [POSIX] (_XOPEN_XPG4): Likewise.
18499         [POSIX] (_XOPEN_UNIX): Likewise.
18500         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
18501         [POSIX] (_POSIX_BARRIERS): Likewise.
18502         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
18503         [POSIX] (_POSIX_CPUTIME): Likewise.
18504         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
18505         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
18506         [POSIX] (_POSIX_SHELL): Likewise.
18507         [POSIX] (_POSIX_SPAWN): Likewise.
18508         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
18509         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
18510         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
18511         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
18512         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
18513         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
18514         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
18515         [POSIX] (_XBS5_LP64_OFF64): Likewise.
18516         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
18517         [POSIX] (_POSIX_TIMEOUTS): Likewise.
18518         [POSIX] (_POSIX2_PBS): Likewise.
18519         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
18520         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
18521         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
18522         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
18523         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
18524         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
18525         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
18526         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
18527         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
18528         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
18529         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
18530         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
18531         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
18532         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
18533         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
18534         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
18535         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
18536         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
18537         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
18538         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
18539         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
18540         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
18541         [POSIX] (_SC_2_C_BIND): Likewise.
18542         [POSIX] (_SC_2_C_VERSION): Likewise.
18543         [POSIX] (_SC_2_PBS): Likewise.
18544         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
18545         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
18546         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
18547         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
18548         [POSIX] (_SC_2_PBS_TRACK): Likewise.
18549         [POSIX] (_SC_ATEXIT_MAX): Likewise.
18550         [POSIX] (_SC_BARRIERS): Likewise.
18551         [POSIX] (_SC_BASE): Likewise.
18552         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
18553         [POSIX] (_SC_DEVICE_IO): Likewise.
18554         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
18555         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
18556         [POSIX] (_SC_FD_MGMT): Likewise.
18557         [POSIX] (_SC_FIFO): Likewise.
18558         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
18559         [POSIX] (_SC_FILE_LOCKING): Likewise.
18560         [POSIX] (_SC_FILE_SYSTEM): Likewise.
18561         [POSIX] (_SC_IOV_MAX): Likewise.
18562         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
18563         [POSIX] (_SC_NETWORKING): Likewise.
18564         [POSIX] (_SC_PAGE_SIZE): Likewise.
18565         [POSIX] (_SC_PASS_MAX): Likewise.
18566         [POSIX] (_SC_PIPE): Likewise.
18567         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
18568         [POSIX] (_SC_REGEXP): Likewise.
18569         [POSIX] (_SC_SHELL): Likewise.
18570         [POSIX] (_SC_SIGNALS): Likewise.
18571         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
18572         [POSIX] (_SC_SPIN_LOCKS): Likewise.
18573         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
18574         [POSIX] (_SC_USER_GROUPS): Likewise.
18575         [POSIX] (_SC_USER_GROUPS_R): Likewise.
18576         [POSIX] (_SC_STREAMS): Likewise.
18577         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
18578         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
18579         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
18580         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
18581         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
18582         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
18583         [POSIX] (_PC_FILESIZEBITS): Likewise.
18584         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
18585         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
18586         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
18587         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
18588         [POSIX] (uid_t): Likewise.
18589         [POSIX] (gid_t): Likewise.
18590         [POSIX] (off_t): Likewise.
18591         [POSIX] (pid_t): Likewise.
18592         [POSIX] (cuserid): Allow.
18593         (_SC_2_CHAR_TERM): Require constant.
18594         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
18595         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
18596         variable.
18598 2015-05-20  Roland McGrath  <roland@hack.frob.com>
18600         * sysdeps/nacl/pthread-pids.h: New file.
18601         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
18602         (create_thread): Use __nacl_get_tid to initialize PD->tid.
18604         * nptl/pthread-pids.h: New file.
18605         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
18606         * nptl/nptl-init.c: Include <pthread-pids.h>.
18607         (__pthread_initialize_minimal_internal):
18608         Call __pthread_initialize_pids instead of set_tid_address syscall.
18610         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
18611         * sysdeps/posix/usleep.c: ... here.
18613 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18615         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
18616         call_pselect6 object.
18617         [$(subdir) = io]: Remove call_sync_file_range object.
18618         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
18619         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
18620         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
18621         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
18623 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
18625         * math/s_cproj.c: Add include "math_private.h".
18626         * math/s_cprojf.c: Likewise.
18627         * math/s_cprojl.c: Likewise.
18629 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
18631         [BZ #18244]
18632         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
18633         high mantissa bit when testing whether P is a NaN.
18634         * math/libm-test.inc (remainder_test_data): Add more tests.
18635         (remquo_test_data): Likewise.
18637         [BZ #18049]
18638         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
18639         below -32, return the argument, with underflow if subnormal.
18640         * math/auto-libm-test-in: Add more tests of atanh.
18641         * math/auto-libm-test-out: Regenerated.
18643 2015-05-19  Roland McGrath  <roland@hack.frob.com>
18645         [BZ #18434]
18646         * nptl/tst-sem15.c: New file.
18647         * nptl/Makefile (tests): Add it.
18648         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
18649         s/<</>>/ to fix typo in EOVERFLOW check.
18650         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
18652 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18654         * manual/strings.texi (envz_remove): Fix typo in safety
18655         annotations.
18657 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
18658             Steve Ellcey  <sellcey@imgtec.com>
18660         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
18661         in order to avoid strict alias warnings.
18662         (iruserok_af): Ditto for ra.
18664 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
18666         [BZ #17581]
18667         * malloc/hooks.c
18668         (magicbyte): Convert to a function and avoid returning 0x01.
18669         (mem2mem_check): Avoid using a length byte equal to the magic byte.
18670         (mem2chunk_check): Fix unsigned comparisons to zero.
18671         Hoist defs of sz and magic.
18673 2015-05-19  Richard Henderson  <rth@redhat.com>
18675         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
18677         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18679 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18681         [BZ #16159]
18682         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
18683         * malloc/arena.c (arena_lock): Check if arena is corrupt.
18684         (reused_arena): Find a non-corrupt arena.
18685         (heap_trim): Pass arena to unlink.
18686         * malloc/hooks.c (malloc_check_get_size): Pass arena to
18687         malloc_printerr.
18688         (top_check): Likewise.
18689         (free_check): Likewise.
18690         (realloc_check): Likewise.
18691         * malloc/malloc.c (malloc_printerr): Add arena argument.
18692         (unlink): Likewise.
18693         (munmap_chunk): Adjust.
18694         (ARENA_CORRUPTION_BIT): New macro.
18695         (arena_is_corrupt): Likewise.
18696         (set_arena_corrupt): Likewise.
18697         (sysmalloc): Use mmap if there are no usable arenas.
18698         (_int_malloc): Likewise.
18699         (__libc_malloc): Don't fail if arena_get returns NULL.
18700         (_mid_memalign): Likewise.
18701         (__libc_calloc): Likewise.
18702         (__libc_realloc): Adjust for additional argument to
18703         malloc_printerr.
18704         (_int_free): Likewise.
18705         (malloc_consolidate): Likewise.
18706         (_int_realloc): Likewise.
18707         (_int_memalign): Don't touch corrupt arenas.
18708         * malloc/tst-malloc-backtrace.c: New test case.
18710         * Makefile (summarize-tests): Fix return value on success.
18712         * manual/string.texi (Envz Functions): Add envz_remove.
18714 2015-05-18  Roland McGrath  <roland@hack.frob.com>
18716         * sysdeps/posix/opendir.c: Include <stdbool.h>.
18717         (invalid_name): New function, broken out of ...
18718         (__opendirat): ... here.  Call it.
18719         (need_isdir_precheck): New function, broken out of ...
18720         (__opendirat): ... here.  Call it.
18721         Use __fxstatat64, not __xstatat64.
18722         (opendir_oflags): New function, broken out of ...
18723         (__opendirat): ... here.  Call it.
18724         (opendir_tail): New function, broken out of ...
18725         (__opendirat): ... here.  Call it.
18726         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
18727         opendir_tail, rather than punting to __opendirat.
18728         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
18730 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18732         * .gitignore: Ignore generated *.pyc.
18734 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
18736         * include/stdio.h: Define __need_wint_t.
18737         * test-skeleton.c: Avoid `for' loop initial declaration.
18738         * nptl/tst-initializers1.c: Use test-skeleton.c.
18740 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18742         [BZ #18418]
18743         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
18745 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
18747         [BZ #16352]
18748         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
18749         (__ieee754_atanh): Force underflow exception for results with
18750         small absolute value.
18751         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
18752         (__ieee754_atanhf): Force underflow exception for results with
18753         small absolute value.
18754         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
18755         (__ieee754_atanh): Force underflow exception for results with
18756         small absolute value.
18757         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
18758         (__ieee754_atanhf): Force underflow exception for results with
18759         small absolute value.
18760         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
18761         (__ieee754_atanhl): Force underflow exception for results with
18762         small absolute value.
18763         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
18764         (__ieee754_atanhl): Force underflow exception for results with
18765         small absolute value.
18766         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
18767         (__ieee754_atanhl): Force underflow exception for results with
18768         small absolute value.
18769         * math/auto-libm-test-in: Do not allow missing underflow
18770         exceptions from atanh.
18771         * math/auto-libm-test-out: Regenerated.
18773         [BZ #18221]
18774         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
18775         2**-28 as threshold for returning x or +/- 1/x.
18776         * math/auto-libm-test-in: Add more tests of tan.
18777         * math/auto-libm-test-out: Regenerated.
18779         [BZ #18220]
18780         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18781         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
18782         * math/auto-libm-test-in: Add another test of lgamma.
18783         * math/auto-libm-test-out: Regenerated.
18785 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
18787         * stdio-common/printf_fp.c (___printf_fp): Use abs.
18788         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
18789         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
18790         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
18791         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
18792         (ADD2A): Use fabs.  (SUB2A): Use fabs.
18793         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
18794         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
18795         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
18796         (log1): Use fabs.  (my_log2): Use fabs.
18797         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
18798         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
18799         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
18800         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
18801         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
18802         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
18803         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
18804         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
18805         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
18806         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
18807         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
18809 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
18811         [BZ #18217]
18812         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
18813         as threshold for returning 1 - x.
18814         * math/auto-libm-test-in: Add more tests of erfc.
18815         * math/auto-libm-test-out: Regenerated.
18817 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
18819         [BZ #18196]
18820         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
18821         threshold for large arguments.
18822         * math/auto-libm-test-in: Add another test of atan.
18823         * math/auto-libm-test-out: Regenerated.
18825         [BZ #16339]
18826         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
18827         (__log1p): Force underflow exception for results with small
18828         absolute value.
18829         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
18830         (__log1pf): Force underflow exception for results with small
18831         absolute value.
18832         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
18833         (__log1p): Force underflow exception for results with small
18834         absolute value.
18835         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
18836         (__log1pf): Force underflow exception for results with small
18837         absolute value.
18838         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
18839         (__log1pl): Force underflow exception for results with small
18840         absolute value.
18841         * math/auto-libm-test-in: Do not allow missing underflow
18842         exceptions from log1p.
18843         * math/auto-libm-test-out: Regenerated.
18845 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
18846             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18848         [BZ #16704]
18849         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
18851 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
18853         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
18854         (libmvec): New variable.
18855         * configure.ac: Added option for mathvec build.
18856         * configure: Regenerated.
18857         * mathvec/Depend: New file.
18858         * mathvec/Makefile: New file.
18859         * shlib-versions: Added libmvec.
18860         * math/Makefile: Added rule for libm.so installation.
18862         * bits/math-vector.h: New file.
18863         * bits/libm-simd-decl-stubs.h: New header.
18864         * math/Makefile (headers): Added new header
18865         libm-simd-decl-stubs.h.
18866         * math/math.h (__MATHCALL_VEC): New macro.
18868         * math/gen-libm-have-vector-test.sh: Script generates series of macros
18869         for conditions in testing functions.
18870         * math/Makefile: Added call of libm-have-vector-test.sh.
18871         * math/libm-test.inc (HAVE_VECTOR): New macros.
18873         * math/libm-test.inc: START refactored.
18874         * math/test-double.c (TEST_MATHVEC): Add define.
18875         * math/test-float.c: Likewise.
18876         * math/test-idouble.c: Likewise.
18877         * math/test-ifloat.c: Likewise.
18878         * math/test-ildoubl.c: Likewise.
18879         * math/test-ldouble.c: Likewise.
18880         * sysdeps/generic/math-tests-arch.h
18881         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
18882         architecture check.
18884         * math/test-double.c (FUNC_TEST): New macro.
18885         * math/test-float.c: Likewise.
18886         * math/test-idouble.c: Likewise.
18887         * math/test-ifloat.c: Likewise.
18888         * math/test-ildoubl.c: Likewise.
18889         * math/test-ldouble.c: Likewise.
18890         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
18892 2015-05-13  Roland McGrath  <roland@hack.frob.com>
18894         * sysdeps/nacl/fdopendir.c: New file.
18896         * dirent/scandir-tail.c: New file.
18897         * dirent/scandir64-tail.c: New file.
18898         * dirent/Makefile (routines): Add them.
18899         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
18900         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
18901         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
18902         [!SCANDIR] (SCANDIR_TAIL): New macro.
18903         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
18904         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
18905         (SCANDIRAT): Macro removed.
18906         (SCANDIR_TAIL): New macro.
18907         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
18908         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
18909         (SCANDIRAT): Just call __opendirat and __scandir_tail.
18910         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
18911         (READDIR): Macro removed.
18912         (SCANDIR_TAIL): New macro.
18913         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
18914         (SCANDIR_TAIL): New macro.
18916         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
18917         * dirent/scandir-cancel.c: ... to this new file.
18918         * dirent/Makefile (routines): Add it.
18919         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
18920         * sysdeps/unix/sysv/linux/i386/scandir64.c
18921         (SKIP_SCANDIR_CANCEL): Macro removed.
18922         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
18924         * dirent/tst-scandir.c: New file.
18925         * dirent/tst-scandir64.c: New file.
18926         * dirent/Makefile (tests): Add them.
18928 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18930         [BZ #18409]
18931         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
18933 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18935         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
18936         list.
18938 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
18940         * benchtests/bench-strcoll.c: New benchmark.
18941         * benchtests/Makefile: Generate locales and run benchmark.
18942         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
18943         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
18944         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
18945         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
18946         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
18947         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
18948         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
18949         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
18950         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
18951         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
18952         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
18953         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
18954         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
18955         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
18956         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
18957         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
18958         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
18959         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
18960         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
18961         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
18962         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
18963         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
18964         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
18965         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
18967 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
18969         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
18970         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18972 2015-05-12  Roland McGrath  <roland@hack.frob.com>
18974         * posix/uname-values.h: New file.
18975         * posix/uname.c: Include that instead of <config-name.h>.
18976         * sysdeps/nacl/uname-values.h: New file.
18977         * sysdeps/arm/nacl/uname-values.h: New file.
18979 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
18981         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
18982         splitting into fields.
18984 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
18986         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
18987         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
18988         * locale/localeinfo.h: Add enum collation_encoding_type.
18989         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
18990         * programs/ld-collate.c (collate_output): Add encoding type info.
18991         * string/strcoll_l.c (STRDIFF): New function.
18992         * (STRCOLL): Use STRDIFF to skip over equal prefix.
18993         * wcsmbs/wcscoll_l.c: Define STRDIFF.
18995 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
18997         [BZ #18397]
18998         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
18999         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
19000         <fpu_control.h> instead of <math/fpu_control.c>.
19001         * sysdeps/mips/mips32/fpu/Makefile: New file.
19003 2015-05-11  Andreas Schwab  <schwab@suse.de>
19005         [BZ #18007]
19006         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
19007         nss_endgrent.
19008         (_nss_compat_endgrent): Call nss_endgrent.
19009         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
19010         nss_endpwent.
19011         (_nss_compat_endpwent): Call nss_endpwent.
19012         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
19013         needent, call nss_setspent only if non-zero.
19014         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
19015         (internal_endspent): Don't call nss_endspent.
19016         (_nss_compat_endspent): Call nss_endspent.
19017         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
19018         Remove.  All uses removed.
19019         (internal_setent): Remove parameter stayopen, add parameter
19020         stream.  Use it instead of global variable.
19021         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
19022         (internal_endent, internal_getent): Add parameter stream.  Use it
19023         instead of global variable.
19024         (CONCAT(_nss_files_end,ENTNAME))
19025         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
19026         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
19027         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
19028         uses removed.
19029         (internal_setent, internal_endent): Add parameter stream.  Use it
19030         instead of global variable.
19031         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
19032         stream.
19033         (get_next_alias): Add parameter stream.
19034         (_nss_files_getaliasent_r): Pass global stream.
19035         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
19036         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
19037         (_nss_files_gethostbyname4_r): Pass local stream to
19038         internal_setent, internal_getent and internal_endent.  Remove
19039         locking.
19041 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19043         * tst-strfmon1.c (tests): Update expected currency symbol.
19045 2015-05-08  Roland McGrath  <roland@hack.frob.com>
19047         * sysdeps/nacl/gethostname.c: New file.
19049 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
19051         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
19052         and sinh.
19053         * math/auto-libm-test-out: Regenerated.
19054         * sysdeps/i386/fpu/libm-test-ulps: Update.
19055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19057 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
19059         [BZ #18125]
19060         * stdlib/tst-setcontext3.c: New file.
19061         * stdlib/tst-setcontext3.sh: New file.
19062         * stdlib/Makefile (tests): Add tst-setcontext3.
19063         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
19064         to verify test program created output file.
19065         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
19066         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
19067         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
19068         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
19070 2015-05-06  Roland McGrath  <roland@hack.frob.com>
19072         [BZ #18383]
19073         * elf/tst-tlsalign.c: New file.
19074         * elf/tst-tlsalign-static.c: New file.
19075         * elf/tst-tlsalign-lib.c: New file.
19076         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
19077         (tests-static): Add tst-tlsalign-static.
19078         (modules-names): Add tst-tlsalign-lib.
19079         (test-xfail-tst-tlsalign): New variable.
19080         (test-xfail-tst-tlsalign-static): New variable.
19082         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
19083         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
19085 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
19087         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
19088         csqrt, erfc, sin and sincos.
19089         * math/auto-libm-test-out: Regenerated.
19090         * sysdeps/i386/fpu/libm-test-ulps: Update.
19091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19093 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19095         * sysdeps/aarch64/libm-test-ulps: Update.
19097 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
19099         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
19100         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
19101         * math/auto-libm-test-out: Regenerated.
19102         * sysdeps/i386/fpu/libm-test-ulps: Update.
19103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19105 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
19107         [BZ #18265]
19108         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
19109         (wcsncpy): Likewise.
19111 2015-05-05  Florian Weimer  <fweimer@redhat.com>
19113         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19114         Assume __ASSUME_FALLOCATE is always true.
19115         * sysdeps/unix/sysv/linux/posix_fallocate64.c
19116         (__posix_fallocate64_l64): Likweise.
19117         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
19118         (posix_fallocate): Likewise.
19119         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
19120         (__posix_fallocate64_l64): Likewise.
19121         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19122         [!__ASSUME_FALLOCATE]: Add comment.
19124 2015-05-05  Florian Weimer  <fweimer@redhat.com>
19126         * sysdeps/unix/sysv/linux/i386/Makefile
19127         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
19128         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
19129         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
19130         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19131         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19132         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
19133         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
19135 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
19137         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
19138         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
19139         tgamma.
19140         * math/auto-libm-test-out: Regenerated.
19141         * sysdeps/i386/fpu/libm-test-ulps: Update.
19142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19144 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
19146         * math/auto-libm-test-in: Add more tests of tgamma.
19147         * math/auto-libm-test-out: Regenerated.
19148         * sysdeps/i386/fpu/libm-test-ulps: Update.
19149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19151         * math/auto-libm-test-in: Add more tests of tanh.
19152         * math/auto-libm-test-out: Regenerated.
19153         * sysdeps/i386/fpu/libm-test-ulps: Update.
19154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19156         * math/auto-libm-test-in: Add more tests of tan.
19157         * math/auto-libm-test-out: Regenerated.
19158         * sysdeps/i386/fpu/libm-test-ulps: Update.
19159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19161         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
19162         * math/auto-libm-test-out: Regenerated.
19163         * sysdeps/i386/fpu/libm-test-ulps: Update.
19164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19166         * math/auto-libm-test-in: Add another test of pow.
19167         * math/auto-libm-test-out: Regenerated.
19168         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19170         * math/auto-libm-test-in: Add more tests of lgamma.
19171         * math/auto-libm-test-out: Regenerated.
19172         * sysdeps/i386/fpu/libm-test-ulps: Update.
19173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19175         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
19176         log1p.
19177         * math/auto-libm-test-out: Regenerated.
19178         * sysdeps/i386/fpu/libm-test-ulps: Update.
19179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19181 2015-05-01  Mark Wielaard  <mjw@redhat.com>
19183         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
19184         Elf64_Chdr structs and ELFCOMPRESS constants.
19186 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
19188         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
19189         expm1.
19190         * math/auto-libm-test-out: Regenerated.
19191         * sysdeps/i386/fpu/libm-test-ulps: Update.
19192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19194         * math/auto-libm-test-in: Add more tests of erf and erfc.
19195         * math/auto-libm-test-out: Regenerated.
19196         * sysdeps/i386/fpu/libm-test-ulps: Update.
19197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19199 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19201         * config.h.in (HAVE_AARCH64_BE): Add.
19203 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
19205         * math/auto-libm-test-in: Add more tests of csqrt.
19206         * math/auto-libm-test-out: Regenerated.
19207         * sysdeps/i386/fpu/libm-test-ulps: Update.
19208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19210         * math/auto-libm-test-in: Add more tests of cosh and sinh.
19211         * math/auto-libm-test-out: Regenerated.
19212         * sysdeps/i386/fpu/libm-test-ulps: Update.
19213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19215         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
19217 2015-04-29  Roland McGrath  <roland@hack.frob.com>
19219         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
19220         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
19222         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
19223         (euidaccess, eaccess): Define as weak aliases.
19225         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
19226         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
19227         but __suseconds_t is often 'long int' so some sources assume that
19228         type is being used (e.g. they use %ld to print tv_usec).
19230 2015-04-29  Florian Weimer  <fweimer@redhat.com>
19232         [BZ #18007]
19233         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
19234         (CVE-2014-8121)
19235         * nss/tst-nss-getpwent.c: New file.
19236         * nss/Makefile (tests): Add new test.
19238 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
19240         [BZ #18346]
19241         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
19242         exponents less than 48 as cases where high part of mantissa needs
19243         examining to determine whether argument is integral.
19244         * math/libm-test.inc (round_test_data): Add more tests.
19246 2015-04-28  Mark Wielaard  <mjw@redhat.com>
19248         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
19250 2015-04-27  David S. Miller  <davem@davemloft.net>
19252         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
19253         __tls_get_addr.
19254         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
19256 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
19258         [BZ#18333]
19259         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
19261 2015-04-27  Florian Weimer  <fweimer@redhat.com>
19263         [BZ#18333]
19264         * time/tzset.c (parse_tzname): Return error on memory allocation
19265         failure.
19266         * test-skeleton.c (struct temp_name_list): Change type of name
19267         member to non-const.
19268         (add_temp_file): Create a copy of the file name.
19269         (delete_temp_files): Deallocate memory.
19270         (create_temp_file): Add comment.
19272 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19274         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
19275         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
19277 2015-04-24  Roland McGrath  <roland@hack.frob.com>
19279         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
19280         * sysdeps/arm/configure: Regenerated.
19282 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19284         [BZ #17715]
19285         * time/tzfile.c (__tzfile_read): Check for large values of
19286         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
19287         * time/tzset.c (__tzstring_len): New function, based on the old
19288         __tzstring function.
19289         (__tzstring): Call __tzstring_len.
19290         (parse_tzname): New helper function extracted from
19291         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
19292         the input string.
19293         (parse_offset): New helper function extracted from
19294         __tzset_parse_tz.  Replace switch with fallthrough with
19295         initialization before sscanf.
19296         (parse_rule): Likewise.
19297         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
19298         new-style function definition.
19299         * timezone/Makefile (tests): Add tst-tzset.
19300         (tst-tzset.out): Dependencies on time zone files.
19301         (tst-tzset-ENV): Set TZDIR.
19302         (testdata/XT%): Copy crafted time zone files.
19303         * timezone/README: Mention crafted time zone files.
19304         * timezone/testdata/XT1, timezone/testdata/XT2,
19305         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
19306         files.
19307         * timezone/tst-tzset.c: New test.
19309 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19311         * Makeconfig (+gccwarn): Remove -Winline.
19313 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19315         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
19317 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19319         * NEWS: Mention sysconf() cache information support for s390.
19320         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
19322 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
19324         * math/k_casinh.c (__kernel_casinh): Use __copysign.
19325         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
19326         (__nearbyint): Likewise.
19327         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
19328         (copysignl): Likewise.
19330 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
19332         [BZ #18287]
19333         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
19334         based on padding.  (CVE-2015-1781)
19336 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19338         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
19339         libc-vdso.h.
19340         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
19341         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
19342         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
19343         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
19344         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
19345         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
19346         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
19347         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19348         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19349         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
19350         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19351         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19352         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
19353         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
19354         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
19355         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
19356         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
19357         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
19358         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
19359         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
19360         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
19361         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
19362         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
19364 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
19366         * stdlib/setenv.c (__add_to_environ):
19367         Dump core quickly if setenv (..., NULL, ...) is called.
19368         This time, do it the right way, and pacify GCC with a pragma.
19370 2015-04-17  Roland McGrath  <roland@hack.frob.com>
19372         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
19373         IMAP->l_prev cannot be null, and #if out the code for the contrary
19374         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
19375         believe that NS (&_dl_ns[NSID]) could point outside the array.
19377         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
19378         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
19379         before using NSID as an index.
19381 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
19383         [BZ #17825]
19384         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
19385         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
19386         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19388 2015-04-17  Roland McGrath  <roland@hack.frob.com>
19390         Add preliminary port to Google Native Client on ARM.
19391         * abi-tags (.*-.*-nacl.*): New entry.
19392         * sysdeps/arm/nacl: New directory.
19393         * sysdeps/nacl: New directory.
19395 2015-04-16  David S. Miller  <davem@davemloft.net>
19397         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
19398         lowlevellock-futex.h
19400 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
19402         * sysdeps/tile/configure.ac: New file.
19403         * sysdeps/tile/configure: Regenerated.
19405 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19407         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
19408         conditionals for weak_alias and libc_hidden_weak.
19409         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
19410         libc_hidden_weak and weak_alias.
19411         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
19412         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
19413         and weak_alias for static one.
19415 2015-04-15  David S. Miller  <davem@davemloft.net>
19417         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19419 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19421         [BZ #18206]
19422         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
19423           Use signed comparision instead of substraction to avoid
19424           overflow bug.
19425         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
19426           Take the sign of ret.
19427         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
19428           Do not expect precise return values. Only the sign matters.
19429         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
19430         * wcsmbs/test-wcsncmp.c: New File.
19431         * string/test-strncmp.c: Add wcsncmp support.
19433 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19435         [BZ #6792]
19436         * math/w_log1p.c: New file.
19437         * math/w_log1pf.c: Likewise.
19438         * math/w_log1pl.c: Likewise.
19439         * math/Makefile (libm-calls): Add w_log1p.
19440         * math/s_log1pl.c (log1pl): Remove weak_alias.
19441         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
19442         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
19443         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
19444         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
19445         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
19446         [NO_LONG_DOUBLE] (log1pl): Likewise.
19447         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
19448         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
19449         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
19450         (log1p): Remove long_double_symbol.
19451         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
19452         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
19453         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
19454         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
19455         remove weak_alias for corresponding log1p function.
19456         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
19457         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
19458         * sysdeps/ia64/fpu/w_log1p.c: New file.
19459         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
19460         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
19461         * math/libm-test.inc (log1p_test_data): Add errno expectations.
19463 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
19465         [BZ #18247]
19466         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
19467         decimal exponent by 1.
19468         * stdlib/tst-strtod-round-data: Add more tests.
19469         * stdlib/tst-strtod-round.c (tests): Regenerated.
19471 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
19473         * math/auto-libm-test-in: Add more tests of clog and clog10.
19474         * math/auto-libm-test-out: Regenerated.
19475         * sysdeps/i386/fpu/libm-test-ulps: Update.
19476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19478 2015-04-09  Roland McGrath  <roland@hack.frob.com>
19480         * Makeconfig (module-cppflags): Exclude all .v.i files.
19481         (skip-module-cppflags): Variable removed.
19483         * configure.ac (libc_config_ok): Initialize before reading
19484         preconfigure scripts, not after.
19485         * configure: Regenerated.
19487         * test-skeleton.c (TIMEOUT): Move #define to top level.
19488         (main): Grok environment variable TEST_DIRECT.  If set, print
19489         test expectation details into that file and then behave as if
19490         given --direct.
19492 2015-04-09  Florian Weimer  <fweimer@redhat.com>
19494         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
19495         warning on 32-bit.
19497 2015-04-08  David S. Miller  <davem@davemloft.net>
19499         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19501 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
19503         * math/auto-libm-test-in: Add more tests of atanh.
19504         * math/auto-libm-test-out: Regenerated.
19505         * sysdeps/i386/fpu/libm-test-ulps: Update.
19506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19508         * math/auto-libm-test-in: Add more tests of atan.
19509         * math/auto-libm-test-out: Regenerated.
19510         * sysdeps/i386/fpu/libm-test-ulps: Update.
19511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19513 2015-04-08  Florian Weimer  <fweimer@redhat.com>
19515         * elf/pldd.c (main): Rewrite to use struct
19516         scratch_buffer instead of extend_alloca.
19517         * elf/pldd-xx.c (find_maps): Likewise.
19518         * grp/initgroups.c: Include <scratch_buffer.h> instead of
19519         <alloca.h>.
19520         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
19521         scratch_buffer instead of extend_alloca.
19522         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
19523         grp/compat-initgroups.c.
19524         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
19525         Rewrite to use struct scratch_buffer instead of extend_alloca.
19526         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
19527         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19529 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
19531         * math/auto-libm-test-in: Add more tests of cbrt.
19532         * math/auto-libm-test-out: Regenerated.
19533         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19535         * math/auto-libm-test-in: Add more tests of cabs.
19536         * math/auto-libm-test-out: Regenerated.
19537         * sysdeps/i386/fpu/libm-test-ulps: Update.
19538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19540         [BZ #18210]
19541         [BZ #18211]
19542         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
19543         (__ieee754_atan2): Set FE_TONEAREST mode for internal
19544         computations.
19545         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
19546         clog10.
19547         * math/auto-libm-test-out: Regenerated.
19548         * sysdeps/i386/fpu/libm-test-ulps: Update.
19549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19551         [BZ #18197]
19552         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
19553         (atan): Set FE_TONEAREST mode for internal computations.
19554         * math/auto-libm-test-in: Add more tests of atan.
19555         * math/auto-libm-test-out: Regenerated.
19557 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
19559         [BZ #17930]
19560         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
19562 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19564         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
19566 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19568         * include/scratch_buffer.h: New file.
19569         * malloc/scratch_buffer_grow.c: Likewise.
19570         * malloc/scratch_buffer_grow_preserve.c: Likewise.
19571         * malloc/scratch_buffer_set_array_size.c: Likewise.
19572         * malloc/tst-scratch_buffer.c: Likewise.
19573         * malloc/Makefile (routines): Add scratch_buffer_grow.
19574         (tests): Add test case.
19575         * malloc/Versions (GLIBC_PRIVATE): Export
19576         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
19577         __libc_scratch_buffer_set_array_size.
19579 2015-04-06  Richard Henderson  <rth@redhat.com>
19581         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
19582         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19584         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
19585         unsigned int before printing.
19587 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19589         [BZ #17596]
19590         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
19591         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19593 2015-04-02  Florian Weimer  <fweimer@redhat.com>
19595         * include/libc-internal.h (libc_max_align_t): Define.
19597 2015-04-02  Andreas Schwab  <schwab@suse.de>
19599         [BZ #16850]
19600         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
19602 2015-04-02  Mel Gorman  <mgorman@suse.de>
19604         [BZ #17195]
19605         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
19606         as well as the main arena.
19608 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19610         [BZ #18185]
19611         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
19612         sharing L2 cache to 2 for Silvermont/Knights Landing.
19614 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19616         [BZ #17711]
19617         * config.make.in (have-protected-data): New.
19618         * configure.ac: Check linker support for protected data symbol.
19619         * configure: Regenerated.
19620         * elf/Makefile (modules-names): Add tst-protected1moda and
19621         tst-protected1modb if $(have-protected-data) is yes.
19622         (tests): Add tst-protected1a and tst-protected1b if
19623         $(have-protected-data) is yes.
19624         ($(objpfx)tst-protected1a): New.
19625         ($(objpfx)tst-protected1b): Likewise.
19626         (tst-protected1modb.so-no-z-defs): Likewise.
19627         * elf/tst-protected1a.c: New file.
19628         * elf/tst-protected1b.c: Likewise.
19629         * elf/tst-protected1mod.h: Likewise.
19630         * elf/tst-protected1moda.c: Likewise.
19631         * elf/tst-protected1modb.c: Likewise.
19633 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19635         [BZ #17711]
19636         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
19637         indicates it is called from do_lookup_x on relocation against
19638         protected data, skip the data definion in the executable from
19639         copy reloc.
19640         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
19641         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
19642         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
19643         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
19644         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
19645         otherwise to 0.
19646         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19647         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
19648         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
19649         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19650         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
19651         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
19653 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
19655         * sysdeps/nptl/pthread.h: Remove duplicate definition of
19656         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
19658 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
19660         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
19661         THREAD_SETMEM_NC.
19662         * sysdeps/x86_64/nptl/tls.h: Ditto.
19664 2015-03-27  Roland McGrath  <roland@hack.frob.com>
19666         * dlfcn/tststatic.c (main): Converted to ...
19667         (do_test): ... this.
19668         (TEST_FUNCTION): New macro.
19669         Include test-skeleton.c.
19671 2015-03-26  Alan Modra  <amodra@gmail.com>
19673         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
19674         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
19675         zero for undefined weak.
19676         (elf_machine_plt_conflict): Similarly.
19678 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
19680         * math/auto-libm-test-in: Add more tests of acosh, asinh and
19681         atanh.
19682         * math/auto-libm-test-out: Regenerated.
19683         * sysdeps/i386/fpu/libm-test-ulps: Update.
19684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19686         * math/auto-libm-test-in: Add another test of asin.
19687         * math/auto-libm-test-out: Regenerated.
19688         * sysdeps/i386/fpu/libm-test-ulps: Update.
19689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19691         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
19692         Remove macro.
19693         (LLL_EBX_REG): Likewise.
19694         (LLL_ENTER_KERNEL): Likewise.
19696         * math/auto-libm-test-in: Add more tests of asin.
19697         * math/auto-libm-test-out: Regenerated.
19698         * sysdeps/i386/fpu/libm-test-ulps: Update.
19699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19701         [BZ #18138]
19702         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
19703         libc_do_syscall_args): New structure.
19704         (INTERNAL_SYSCALL_MAIN_0): New macro.
19705         (INTERNAL_SYSCALL_MAIN_1): Likewise.
19706         (INTERNAL_SYSCALL_MAIN_2): Likewise.
19707         (INTERNAL_SYSCALL_MAIN_3): Likewise.
19708         (INTERNAL_SYSCALL_MAIN_4): Likewise.
19709         (INTERNAL_SYSCALL_MAIN_5): Likewise.
19710         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
19711         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
19712         Replace conditional definitions by conditional definitions of ....
19713         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
19714         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
19715         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
19716         (libpthread-sysdep_routines): Add libc-do-syscall.
19717         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
19718         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
19719         to __NR_futex not 240.
19721 2015-03-25  Alan Modra  <amodra@gmail.com>
19723         * NEWS: Advertise TLS optimization.
19724         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
19725         (DT_PPC_NUM): Increment.
19726         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
19727         (CHECK_STATIC_TLS): Use here.
19728         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
19729         TLS descriptors.
19730         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19731         * sysdeps/powerpc/dl-tls.c: New file.
19732         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
19733         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
19734         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
19735         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
19736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
19737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
19738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
19740 2015-03-25  Alan Modra  <amodra@gmail.com>
19742         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
19743         for overlapping .opd entries" to "support...".
19744         * sysdeps/powerpc/powerpc64/configure: Regenerate
19746 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
19748         * math/auto-libm-test-in: Add more tests of acos.
19749         * math/auto-libm-test-out: Regenerated.
19750         * sysdeps/i386/fpu/libm-test-ulps: Update.
19751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19753         * math/auto-libm-test-in: Add more tests of expm1.
19754         * math/auto-libm-test-out: Regenerated.
19755         * sysdeps/i386/fpu/libm-test-ulps: Update.
19756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19758 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
19760         * math/auto-libm-test-in: Add more tests of cosh and sinh.
19761         * math/auto-libm-test-out: Regenerated.
19762         * sysdeps/i386/fpu/libm-test-ulps: Update.
19763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19765         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19768         * math/auto-libm-test-in: Add more tests of log2.
19769         * math/auto-libm-test-out: Regenerated.
19770         * sysdeps/i386/fpu/libm-test-ulps: Update.
19771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19773 2015-03-23  Roland McGrath  <roland@hack.frob.com>
19775         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
19776         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
19777         _IO_IS_APPENDING bit in READ_WRITE instead.
19779 2015-03-23  Florian Weimer  <fweimer@redhat.com>
19781         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
19782         (__determine_cpumask_size): Replace extend_alloca with a
19783         variable-length array.  Do not treat res == 0 as an error.
19785 2015-03-23  Florian Weimer  <fweimer@redhat.com>
19787         [BZ #18100]
19788         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
19789         and integer overflow.
19790         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
19791         (main): Add integer overflow tests.
19792         * manual/pattern.texi (Calling Wordexp): Document additional use
19793         for WRDE_SYNTAX.
19795 2015-03-23  Alan Modra  <amodra@gmail.com>
19797         * config.h.in: Remove HAVE_ASM_PPC_REL16.
19798         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
19799         and false branch of conditional.
19800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19801         Likewise.
19803 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
19805         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
19806         libc-modules.h
19807         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
19808         unused declaration of _hurd_intr_rpc_msg_in_trap.
19809         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
19810         defined instead of whether it is non-zero.
19811         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
19812         input constraint instead of both input and output constraint.  Use ecx
19813         clobber instead of %ecx.
19814         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
19815         mutex_unlock): Use a statement expression instead of an expression list.
19816         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
19817         type to vm_size_t instead of vm_address_t.
19818         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
19819         defined instead of whether it is non-zero.
19820         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
19821         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
19822         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
19823         comparisons with mapaddr.
19824         * nscd/nscd-client.h: Include <time.h>.
19825         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
19826         9th parameter to __vm_region instead of int.
19827         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
19828         * scripts/check-local-headers.sh (exclude): Add device/,
19829         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
19830         cthreads.h.
19832 2015-03-19  Roland McGrath  <roland@hack.frob.com>
19834         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
19835         to account for alignment padding.
19836         * sysdeps/arm/memmove.S: Likewise.
19838 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
19840         * sysdeps/unix/sysv/linux/generic/README: New file.
19842 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
19844         [BZ #18138]
19845         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
19846         (futex_abstimed_wait)
19847         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
19848         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
19849         of lll_futex_timed_wait.
19851 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
19853         [BZ #17542]
19854         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
19856 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
19858         [BZ #17090]
19859         [BZ #17620]
19860         [BZ #17621]
19861         [BZ #17628]
19862         * NEWS: Update.
19863         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
19864         entries with Static TLS too.  Skip entries past the end of the
19865         allocated DTV, from Alan Modra.
19866         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
19867         Static TLS DTV entry set up from...
19868         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
19869         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
19870         * nptl/allocatestack.c (init_one_static_tls): ... and here...
19871         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
19872         for Static TLS.
19873         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
19874         that the slot we find is associated with the given map before
19875         using its generation count.
19876         * nptl_db/db_info.c: Include ldsodefs.h.
19877         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
19878         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
19879         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
19880         (link_map::l_tls_offset): New struct field.
19881         (dtv_t::counter): Likewise.
19882         (rtld_global): New struct.
19883         (_rtld_global): New rtld variable.
19884         (dl_tls_dtv_slotinfo_list): New rtld global field.
19885         (dtv_slotinfo_list): New struct.
19886         (dtv_slotinfo): Likewise.
19887         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
19888         (td_lookup): Rename to...
19889         (td_mod_lookup): ... this.  Use new mod parameter instead of
19890         LIBPTHREAD_SO.
19891         * nptl_db/td_thr_tlsbase.c: Include link.h.
19892         (dtv_slotinfo_list, dtv_slotinfo): New functions.
19893         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
19894         addresses even if the DTV is out of date or missing them.
19895         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
19896         index zero-length arrays.
19897         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
19898         (td_lookup): Make it a macro implemented in terms of...
19899         (td_mod_lookup): ... this declaration.
19900         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
19901         (DB_MAIN_VARIABLE): Likewise.
19903 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
19905         [BZ #18134]
19906         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
19908 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
19910         * stdlib/setenv.c (__add_to_environ): Revert previous change.
19912 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
19914         [BZ #18128]
19915         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
19916         (atomic_add, atomic_increment_and_test)
19917         (atomic_decrement_and_test): Fix 64-bit arithmetic.
19919 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
19921         * stdlib/setenv.c (__add_to_environ):
19922         Dump core quickly if setenv (..., NULL, ...) is called.
19924 2015-03-13  Roland McGrath  <roland@hack.frob.com>
19926         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
19927         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
19928         all the necessary asm magic in one place.
19929         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
19930         using those.
19932 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
19934         [BZ #14906]
19935         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
19936         traced file mtime. Use consistent log message.
19937         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
19938         (register_traced_file): Call install_watches. Always set mtime.
19939         (invalidate_cache): Iterate over all trace files. Call install_watches.
19940         (inotify_check_files): Don't inline. Handle watching parent
19941         directories and configuration file movement in and out.
19942         (handle_inotify_events): New function.
19943         (main_loop_poll): Call handle_inotify_events.
19944         (main_loop_epoll): Likewise.
19945         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
19946         (struct traced_file): Use array of inotify fds. Add parent directory,
19947         and basename.
19948         (struct database_dyn): Remove unused file_mtime.
19949         (init_traced_file): New inline function.
19950         (define_traced_file): New macro.
19951         * nss/nss_db/db-init.c: Use define_traced_file.
19952         (_nss_db_init): Use init_traced_file.
19953         * nss/nss_files/files-init.c: Use define_traced_file.
19954         (_nss_files_init): Use init_traced_file.
19956 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
19958         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
19959         [_LIBC]: Do not include <stdlib.h>.
19960         [!_LIBC] (abort): Remove declaration.
19961         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
19962         _FP_STATIC_ASSERT instead of conditionally calling abort.
19963         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
19964         (_FP_EXTEND_CNAN): Likewise.
19965         (FP_TRUNC): Likewise.
19966         (__FP_CLZ): Likewise.
19967         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
19969 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
19971         * manual/string.texi (XPG basename): Fix prototype.
19973 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19975         [BZ #18080]
19976         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
19977         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19978         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
19979         (__setcontext): Likewise.
19980         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
19981         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19982         Call rt_sigprocmask syscall one time to set new signal mask
19983         and retrieve the current signal mask instead of two calls.
19984         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
19985         (__swapcontext): Likewise.
19986         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
19987         * stdlib/tst-setcontext2.c: New file.
19989 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19991         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19993 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
19995         [BZ #18093]
19996         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
19997         the wrong size.
19999 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20001         [BZ #18043]
20002         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
20004 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20006         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
20007         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
20008         Remove define.
20009         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
20010         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
20011         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
20012         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
20013         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
20014         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
20015         define.
20016         * nptl_db/td_symbol_list.c (td_lookup): Remove
20017         HAVE_ASM_GLOBAL_DOT_NAME code.
20018         * sysdeps/powerpc/powerpc64/configure.ac: Remove
20019         HAVE_ASM_GLOBAL_DOT_NAME check.
20020         * sysdeps/powerpc/powerpc64/configure: Regenerate.
20021         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
20022         (DOT_LABEL): Remove define.
20023         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
20024         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
20025         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
20026         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
20027         (__TLS_GET_ADDR): Likewise.
20028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
20029         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
20031 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
20033         [BZ #18111]
20034         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
20035         (_FPU_SETCW): Initialize cw from fpsr before storing.
20036         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
20037         (fesetexceptflag): Rewrite using fpu_control.h.
20038         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
20040 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
20042         [BZ #18110]
20043         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
20044         asms.
20045         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
20047 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
20049         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
20050         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
20051         abort.
20052         (_FP_FMA): Likewise.
20053         (_FP_DIV): Likewise.
20055 2015-03-10  Roland McGrath  <roland@hack.frob.com>
20057         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
20058         with 0 in that case.
20059         * Makefile (summarize-tests): New canned sequence, factored out of
20060         commands for targets tests and xtests.  Display summary lines that
20061         don't start with PASS: or XFAIL: rather than ones that do start with
20062         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
20063         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
20064         do start with ERROR: or FAIL:.
20065         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
20066         (except for [$(build-shared) = yes]).
20067         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
20068         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
20069         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
20070         * nptl/Makefile: Revert 2015-03-04 changes.
20071         [$(CXX) empty] (tests-unsupported): New variable.
20072         * debug/Makefile: Likewise.
20074         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
20075         gnulib file.  Replace __attribute with __attribute__ throughout.
20077 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
20079         * sysdeps/hppa/fpu/libm-test-ulps: Update.
20081 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
20083         [BZ #18104]
20084         * math/auto-libm-test-in: Add another test of pow.
20085         * math/auto-libm-test-out: Regenerated.
20087 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20089         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
20090         $(config-cflags-nofma).
20092 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
20094         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
20095         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
20096         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
20097         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
20098         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
20099         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
20100         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
20101         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
20102         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
20103         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
20104         Add comment on closing #endif.
20106 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20108         * posix/wordexp.c (CHAR_IN_SET): New macro.
20109         (parse_param): Use it.
20111 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20113         * sysdeps/powerpc/fpu/libm-test-ulps: update.
20115 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20117         [BZ #18043]
20118         * posix/wordexp.c (parse_param): Fix buffer overflow.
20119         * posix/wordexp-test.c (test_case): Add test case.
20121 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20123         [BZ #18042]
20124         * posix/wordexp.c (parse_backtick): Fix off-by-one.
20125         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
20127 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20129         [BZ #18043]
20130         * posix/wordexp-test.c (test_case): Add test for BZ #18043
20131         (do_bz18043): Delete.
20132         (at_page_end): New.
20133         (testit): Refactor to have words at the edge of unreadable page.
20135 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20137         [BZ #16734]
20138         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
20139         Cleanup read-only streams as well.
20140         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
20142 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20144         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
20145         <bits/libc-lockP.h>
20147 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
20149         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
20150         on [__KERNEL__].
20151         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
20152         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
20153         * soft-fp/op-common.h (_FP_DECL): Likewise.
20155 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
20157         * elf/ifuncdep2.c (global): Replace
20158         __attribute__((visibility("protected"))) with
20159         asm (".protected global").
20160         * elf/ifuncmod1.c (global): Likewise.
20161         * elf/ifuncmod5.c (global): Likewise.
20163 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
20165         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
20166         <asm/sfp-machine.h> instead of <sfp-machine.h>.
20168 2015-03-06  Roland McGrath  <roland@hack.frob.com>
20170         * manual/install.texi (Configuring and compiling):
20171         Document test-wrapper-env-only.
20172         * INSTALL: Regenerated.
20174 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20176         [BZ #18043]
20177         * posix/wordexp.c (parse_param): Fix buffer overflow.
20178         * posix/wordexp-test.c (do_bz18043): Add test case.
20180 2015-03-06  Vincent Bernat  <vincent@bernat.im>
20182         * time/tst-strptime2.c (do_test): Ensure failing tests are
20183         reported correctly.
20184         * time/tst-strptime3.c (do_test): Likewise.
20186 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
20188         Fix aio_error thread-safety.
20189         * sysdeps/pthread/aio_error.c: New file
20190         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
20191         synchronization.
20193 2015-03-06  Florian Weimer  <fweimer@redhat.com>
20195         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
20196         (group_number, vfprintf): Use it.
20197         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
20198         (JUMP, REF): Use it.
20199         (WORK_BUFFER_SIZE): New enum constant.
20200         (process_arg, vfprintf): Use it.
20202 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
20204         * manual/errno.texi (Error Messages): Complete example function
20205         by adding missing #define.
20206         (program_invocation_name): Add statement indicating GNU
20207         extension and reference which header file declares the variable.
20208         (program_invocation_short_name): Likewise.
20210 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
20212         * manual/errno.texi (Error Messages): Delete strerror ISO C89
20213         compatibility note.
20215 2015-03-05  Roland McGrath  <roland@hack.frob.com>
20217         * Makeconfig (test-wrapper-env-only): New variable.
20218         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
20219         then use that with $(test-wrapper-env-only) rather than using
20220         $(test-wrapper-env) $(run-program-env) $($*-ENV).
20222 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
20224         [BZ #18082]
20225         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
20226         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
20227         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
20228         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
20229         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
20230         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
20231         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
20232         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
20233         Likewise.
20234         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
20235         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
20236         Likewise.
20237         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
20238         Likewise.
20239         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
20240         Likewise.
20241         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
20242         Likewise.
20243         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
20244         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
20245         Likewise.
20246         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
20247         Likewise.
20248         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
20249         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
20251 2015-03-04  Roland McGrath  <roland@hack.frob.com>
20253         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
20254         (ETH_ALEN): New macro.
20255         (struct ether_addr): Use it for length of ether_addr_octet.
20257         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
20258         (setdb): Don't call __nss_configure_lookup for "rpc".
20259         (do_test): Don't call test_rpc.
20260         (output_rpcent, test_rpc): Functions moved ...
20261         * sunrpc/test-rpcent.c: ... to this new file.
20262         * sunrpc/Makefile (tests): Add it.
20264         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
20265         __xpg_sigpause.
20266         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
20267         * nptl/tst-signal6.c: Likewise.
20268         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
20269         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
20271         * configure.ac (libc_cv_cxx_link_ok): New check.
20272         Reset CXX to empty if it fails to link.
20273         * configure: Regenerated.
20274         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
20275         bug-atexit3-lib only if $(CXX) is nonempty.
20276         * nptl/Makefile (tests): Likewise for tst-cancel24.
20277         (tests, tests-static): Likewise for tst-cancel24-static.
20278         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
20279         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
20280         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
20281         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
20283 2015-03-04  Andreas Schwab  <schwab@suse.de>
20285         [BZ #17631]
20286         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
20287         for non-GCC compilers.
20288         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20289         Likewise.
20291 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20293         [BZ #17776]
20294         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
20295         integer before bitwise and assembly operations.
20296         (feclearexcept): Likewise.
20297         * math/test-fenvinline.c: New file.
20298         * math/Makefile: Add test-fenvinline test.
20300 2015-03-03  Alan Modra  <amodra@gmail.com>
20302         [BZ #16512]
20303         * scripts/localplt.awk: Strip off symbol version.
20304         * NEWS: Mention bug fix.
20306 2015-03-02  Roland McGrath  <roland@hack.frob.com>
20308         * sysdeps/pthread/timer_routines.c
20309         (timer_free_list, thread_free_list, thread_active_list): Make static.
20311 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
20313         [BZ #17779]
20314         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20315         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20316         Undefine.
20317         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20318         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20319         Likewise.
20320         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20321         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20322         Likewise.
20324 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
20326         [BZ #18036]
20327         * posix/fnmatch_loop.c (END): Detect invalid pattern.
20328         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
20330 2015-03-02  Andreas Schwab  <schwab@suse.de>
20332         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
20333         variable name.
20335 2015-03-02  Florian Weimer  <fweimer@redhat.com>
20337         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
20338         Return error status.
20340 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
20342         [BZ #15969]
20343         * locale/findlocale.c (_nl_find_locale): Introduce const
20344         version of loc_name and drop unsafe type casts.
20346 2015-02-27  Roland McGrath  <roland@hack.frob.com>
20348         * dlfcn/tststatic2.c (main): Converted to ...
20349         (do_test): ... this.
20350         (TEST_FUNCTION): New macro.
20351         Include test-skeleton.c.
20353 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
20355         [BZ #17711]
20356         * elf/Makefile (tests): Add vismain only if PIE is enabled.
20357         (tests-pie): Add vismain.
20358         (CFLAGS-vismain.c): New.
20359         * elf/vismain.c: Add comments for PIE requirement.
20361 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
20363         [BZ #18046]
20364         [BZ #18047]
20365         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
20366         0x1p-56L as threshold for just returning the argument.
20367         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
20368         0x1p-32L as threshold for just returning the argument.
20369         * math/auto-libm-test-in: Add more tests of atanh.
20370         * math/auto-libm-test-out: Regenerated.
20371         * sysdeps/i386/fpu/libm-test-ulps: Update.
20372         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
20374 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
20376         * string/bcopy.c (bcopy): Call memmove for performance.
20378 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
20380         * string/bzero.c (__bzero): Call memset for performance.
20382 2015-02-27  John David Anglin  <dave.anglin@bell.net>
20384         [BZ #18068]
20385         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
20386         to 00100000.
20388 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
20390         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
20392 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
20394         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
20395         (__kernel_standard): Use CSTR macro when setting exc.name.
20396         * sysdeps/ieee754/Makefile [$(subdir) = math]
20397         (CFLAGS-k_standard.c): Remove variable.
20399         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
20400         setting p and q from "else if" to "else".
20401         (qzero): Likewise.
20402         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
20403         (qone): Likewise.
20404         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
20405         (qzerof): Likewise.
20406         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
20407         (qonef): Likewise.
20408         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
20409         (qzero): Likewise.
20410         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
20411         (qone): Likewise.
20413         [BZ #18038]
20414         [BZ #18039]
20415         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
20416         return pi/2 for arguments below 0x1p-113L.
20417         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
20418         return pi/2 for arguments below 0x1p-106L.
20419         * math/auto-libm-test-in: Add more tests of acos.
20420         * math/auto-libm-test-out: Regenerated.
20422         [BZ #16351]
20423         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
20424         (MO): New macro.
20425         (__ieee754_asin): Force underflow exception for results with small
20426         absolute value.
20427         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
20428         (MO): New macro.
20429         (__ieee754_asinf): Force underflow exception for results with
20430         small absolute value.
20431         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
20432         (__ieee754_asin): Force underflow exception for results with small
20433         absolute value.
20434         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
20435         (__ieee754_asinf): Force underflow exception for results with
20436         small absolute value.
20437         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
20438         (__ieee754_asinl): Force underflow exception for results with
20439         small absolute value.
20440         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
20441         (__ieee754_asinl): Force underflow exception for results with
20442         small absolute value.
20443         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
20444         (__ieee754_asinl): Force underflow exception for results with
20445         small absolute value.
20446         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
20447         Include <math.h>.
20448         * math/auto-libm-test-in: Do not mark underflow exceptions as
20449         possibly missing for bug 16351.
20450         * math/auto-libm-test-out: Regenerated.
20452         [BZ #18030]
20453         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
20454         of power of 2 down when low part has opposite sign.
20455         * math/libm-test.inc (logb_test_data): Add more tests.
20457 2015-02-26  Andreas Schwab  <schwab@suse.de>
20459         [BZ #18032]
20460         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
20461         over collating symbol inside a bracket expression.  Minor cleanup.
20462         * posix/tst-fnmatch3.c (do_test): Add test case.
20464 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
20466         [BZ #18029]
20467         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
20468         Adjust exponent of power of 2 down when low part has opposite
20469         sign.
20470         * math/libm-test.inc (ilogb_test_data): Add more tests.
20472 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
20474         [BZ #15969]
20475         * locale/findlocale.c (_nl_find_locale): Fix constness error in
20476         the previous change.
20478         [BZ #15969]
20479         * locale/findlocale.c (_nl_find_locale): Retry archive search
20480         after alias expansion.
20482 2015-02-25  Roland McGrath  <roland@hack.frob.com>
20484         * iconv/tst-iconv3.c (main): Converted to ...
20485         (do_test): ... this.
20486         (TEST_FUNCTION): New macro.
20487         Include test-skeleton.c.
20489         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
20490         (convert): Make function static.
20491         (test_unalign): Likewise.  Add const to argument pointee types.
20492         (main): Replace with static function do_test.
20493         Print "Succeeded." only if RET is zero.
20494         (TEST_FUNCTION): New macro.
20495         Include test-skeleton.c.
20497         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
20498         returns a null pointer.
20500 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20502         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
20503         to __memcpy_ppc only for static builds.
20505 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
20507         [BZ #18020]
20508         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
20509         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
20510         * math/auto-libm-test-in: Add more tests of asinh.
20511         * math/auto-libm-test-out: Regenerated.
20512         * sysdeps/i386/fpu/libm-test-ulps: Update.
20513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20515 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
20517         [BZ #15850]
20518         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
20519         and ip6_mtuinfo definitions here.
20520         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
20521         in this define too.  Update comment.
20523 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
20525         * elf/sprof.c (load_shobj): Tweak error message to match others.
20527 2015-02-24  Kevin Easton  <kevin@guarana.org>
20529         [BZ #16145] (partial fix)
20530         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
20531         to reduce lock contention.
20533 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
20535         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
20536         (struct timex): Update time comment.
20537         (ADJ_SETOFFSET): Define.
20539 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20541         [BZ #18019]
20542         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20543         2**56 not 2**28 as threshold for log (2x) formula.
20544         * math/auto-libm-test-in: Add more tests of acosh.
20545         * math/auto-libm-test-out: Regenerated.
20546         * sysdeps/i386/fpu/libm-test-ulps: Update.
20547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20549 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20551         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
20552         parenthesis around the buf assignment.
20553         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
20555 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20557         [BZ #16783]
20558         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
20559         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
20560         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
20561         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20562         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20563         * math/libm-test.inc (scalb_test_data): Add more tests.
20565 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20567         [BZ #17916]
20568         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
20569         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
20571 2015-02-24  Eric Rannaud  <e@nanocritical.com>
20573         [BZ #17523]
20574         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
20575         * io/bits/fcntl2.h (open): Use it.
20576         (openat): Likewise.
20577         * io/open.c (__libc_open): Likewise.
20578         * io/open64.c (__libc_open64): Likewise.
20579         * io/open64_2.c (__open64_2): Likewise.
20580         * io/open_2.c (__open_2): Likewise.
20581         * io/openat.c (__openat): Likewise.
20582         * io/openat64.c (__openat64): Likewise.
20583         * io/openat64_2.c (__openat64_2): Likewise.
20584         * io/openat_2.c (__openat_2): Likewise.
20585         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
20586         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20587         * sysdeps/posix/open64.c (__libc_open64): Likewise.
20588         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20589         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20590         (__open_nocancel): Likewise.
20591         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20592         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20593         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
20595 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20597         [BZ #14841]
20598         * resolv/gethnamaddr.c (getanswer): Skip logging if
20599         RES_USE_DNSSEC is set.
20600         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20602 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20604         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
20606 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
20608         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
20609         201304L, for Unicode 7.
20611 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
20613         [BZ #17836]
20614         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
20615         shared library.  Add gmon-start.os otherwise.
20616         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
20617         $(objpfx)gmon-start.os if builing shared library.
20618         ($(objpfx)g$(static-start-installed-name)): Likewise.
20620 2015-02-23  Andreas Schwab  <schwab@suse.de>
20622         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
20624 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
20626         [BZ #17269]
20627         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
20628         (enlarge_userbuf): Likewise.
20630 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
20632         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
20633         * math/atest-exp.c (TIMEOUT): Adjust to 200.
20634         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
20635         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
20637 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
20639         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
20640         expression inside statement expression.
20642 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20644         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
20645         <sysdeps/nptl/lowlevellock.h> and remove macros and
20646         functions that are now defined there.
20647         (SYS_futex): Remove.
20648         (lll_compare_and_swap): Remove.
20649         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
20651 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
20653         [BZ #17999]
20654         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
20655         instead of scandirat.
20656         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
20657         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
20658         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
20659         __scandirat.
20660         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
20661         (__scandirat): Declare.  Use libc_hidden_proto.
20662         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
20663         Remove variable.
20664         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20666 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
20668         [BZ #15319]
20669         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
20670         (MO): New macro.
20671         (__ieee754_atan2): For results with small absolute value, force
20672         underflow exception and remove excess range and precision from
20673         return value.
20674         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
20675         (MO): New macro.
20676         (__ieee754_atan2f): For results with small absolute value, force
20677         underflow exception and remove excess range and precision from
20678         return value.
20679         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
20680         (MO): New macro.
20681         (__atan): For results with small absolute value, force underflow
20682         exception and remove excess range and precision from return value.
20683         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
20684         (MO): New macro.
20685         (__atanf): For results with small absolute value, force underflow
20686         exception and remove excess range and precision from return value.
20687         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
20688         <math.h>.
20689         (__ieee754_atan2): Force underflow exception for results with
20690         small absolute value.
20691         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
20692         <math_private.h>.
20693         (atan): Force underflow exception for results with small absolute
20694         value.
20695         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
20696         (__atanf): Force underflow exception for results with small
20697         absolute value.
20698         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
20699         <math.h>.
20700         (__atanl): Force underflow exception for results with small
20701         absolute value.
20702         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
20703         (__atanl): Force underflow exception for results with small
20704         absolute value.
20705         * sysdeps/x86/fpu/bits/mathinline.h
20706         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
20707         (__ieee754_atan2): Only define inline for long double.
20708         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
20709         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
20710         * math/auto-libm-test-in: Do not mark underflow exceptions as
20711         possibly missing for bug 15319.  Add more tests of atan2.
20712         * math/auto-libm-test-out: Regenerated.
20713         * math/libm-test.inc (casin_test_data): Do not mark underflow
20714         exceptions as possibly missing for bug 15319.
20715         (casinh_test_data): Likewise.
20716         * sysdeps/i386/fpu/libm-test-ulps: Update.
20718 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
20720         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
20721         * sysdeps/mips/bits/endian.h: Fix comments.
20723 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
20725         [BZ #17996]
20726         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
20727         (hdestroy_r): Likewise.
20728         (hsearch_r): Likewise.
20729         (__hcreate_r): Declare and use libc_hidden_proto.
20730         (__hdestroy_r): Likewise.
20731         (__hsearch_r): Likewise.
20732         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
20733         (hcreate): Call __hcreate_r instead of hcreate_r.
20734         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
20735         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
20736         as weak alias of __hcreate_r.
20737         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
20738         __hdestroy_r.
20739         (hsearch_r): Rename to __hsearch_r and define as weak alias of
20740         __hsearch_r.
20741         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
20742         Remove variable.
20743         (test-xfail-XPG4/search.h/linknamespace): Likewise.
20744         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
20745         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
20746         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20748 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20750         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
20751         arena_lock into a single arena_get.
20753 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
20755         * dl-reloc.c: Inlucde libc-internal.h.
20756         (_dl_try_allocate_static_tls): Call ALIGN_UP.
20757         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
20758         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
20759         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
20760         (grow_heap): Likewise.
20761         * malloc/malloc.c: Include libc-internal.h.
20762         (do_check_malloc): Call powerof2.
20763         (sysmalloc): Use pagesize. Call ALIGN_UP.
20764         (systrim): Use pagesize.
20765         (mremap_chunk): Use pagesize. Call ALIGN_UP.
20766         (__libc_valloc): Use pagesize.
20767         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
20769 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
20771         [BZ #17991]
20772         * include/sys/resource.h (__getrlimit64): Declare.  Use
20773         libc_hidden_proto.
20774         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
20775         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
20776         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
20777         getrlimit64.
20778         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
20779         __getrlimit64.
20780         [!getrlimit64] (getrlimit64): Define as weak alias of
20781         __getrlimit64.  Use libc_hidden_weak.
20782         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
20783         using __getrlimit64 not __new_getrlimit64.
20784         (__GI_getrlimit64): Likewise.
20785         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
20786         Likewise.
20787         (__GI_getrlimit64): Likewise.
20788         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
20789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
20790         (getrlimit): Add __getrlimit64 alias.
20791         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
20792         Likewise.
20793         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
20794         Remove variable.
20795         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
20796         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20798 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
20800         * libio/fileops.c: Add missing sys/mman.h
20801         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
20803 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
20805         * manual/math.texi (Errors in Math Functions): Clarify goals
20806         regarding inexact and underflow exceptions.
20808 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
20810         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
20811         * sysdeps/mips/memset.S: Ditto.
20813 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
20815         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
20817 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20819         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
20820         (__v1longjmp): Remove versioned symbol.
20821         (__v1siglongjmp): Remove alias and versioned symbol.
20822         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
20823         (__v2siglongjmp): Likewise.
20825 2015-02-16  Torvald Riegel  <triegel@redhat.com>
20827         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
20829 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
20831         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
20833 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
20835         [BZ #17987]
20836         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
20837         zero result does not depend on the sign resulting from
20838         subtraction.
20839         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20840         Likewise.
20841         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20842         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20843         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20844         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20845         * math/libm-test.inc (remquo_test_data): Add more tests.
20847 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
20849         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
20850         Problem reported by J William Piggott.
20852 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
20854         [BZ #17978]
20855         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
20856         products 4 * y and 2 * y where those would overflow.
20857         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20858         Likewise.
20859         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20860         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20861         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20862         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20863         * math/libm-test.inc (remquo_test_data): Add more tests.
20865         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
20867         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
20868         [defined _COMPILING_NEWLIB].
20869         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
20870         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
20872         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
20873         [!defined __mips_isa_rev || __mips_isa_rev < 6].
20875 2015-02-16  Torvald Riegel  <triegel@redhat.com>
20877         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
20878         acquired.
20880 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
20882         [BZ #17792]
20883         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
20884         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
20885         HOST_STACK_END_ADDR): Likewise.
20887 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
20889         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
20890         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
20891         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
20893 2015-02-13  Roland McGrath  <roland@hack.frob.com>
20895         * sysdeps/generic/c++-types.data: New file.
20896         * sysdeps/generic/ld.abilist: New file.
20897         * sysdeps/generic/libBrokenLocale.abilist: New file.
20898         * sysdeps/generic/libanl.abilist: New file.
20899         * sysdeps/generic/libc.abilist: New file.
20900         * sysdeps/generic/libcrypt.abilist: New file.
20901         * sysdeps/generic/libdl.abilist: New file.
20902         * sysdeps/generic/libm.abilist: New file.
20903         * sysdeps/generic/libpthread.abilist: New file.
20904         * sysdeps/generic/libresolv.abilist: New file.
20905         * sysdeps/generic/librt.abilist: New file.
20907 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
20909         [BZ #17569]
20910         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20911         Compute absolute value of x as modified by fmod, not original
20912         value of x.
20913         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
20914         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
20915         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
20916         RUN_TEST_ffI_f1_mod8.
20917         (remquo_test_data): Add more tests.
20919 2015-02-13  Roland McGrath  <roland@hack.frob.com>
20921         * sysdeps/init_array/pt-crti.S: New file.
20923 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
20925         [BZ #17967]
20926         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
20927         __builtin_fmaf instead of relying on contraction of a * b + c.
20929 2015-02-12  J William Piggott  <elseifthen@gmx.com>
20931         [BZ #17969]
20932         * manual/time.texi: correct the zoneinfo path in the TZ Variable
20933         node.
20935 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
20937         [BZ #17964]
20938         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
20939         __builtin_fma instead of relying on contraction of a * b + c.
20941 2015-02-12  Roland McGrath  <roland@hack.frob.com>
20943         * Makeconfig (ASFLAGS): Add -Werror=undef.
20944         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
20945         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
20946         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
20948         * Makeconfig (after-link): New variable.
20949         (+link-pie, +link-pie-tests): Use it.
20950         (+link-static, +link-static-tests): Likewise.
20951         (+link, +link-tests): Likewise.
20952         * Makerules (build-module, build-module-asneeded): Likewise.
20953         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
20954         Likewise.
20955         * elf/Makefile ($(objpfx)ld.so): Likewise.
20957 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
20959         [BZ #17965]
20960         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
20961         both struct timeval and struct timespec.
20963 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
20965         [BZ #16560]
20966         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20967         and redefine.
20968         (__ieee754_exp2l): Do not multiply small fractional parts by
20969         M_LN2l.
20970         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
20971         small argument.
20972         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20973         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20974         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
20975         * math/auto-libm-test-in: Add more tests of exp2.
20976         * math/auto-libm-test-out: Regenerated.
20978 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20980         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
20981         unaligned path.
20983 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20985         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
20986         little endian.
20988 2015-02-12  Andreas Schwab  <schwab@suse.de>
20990         [BZ #15790]
20991         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
20992         Filter out elision flags from value returned in kind.
20993         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
20994         * nptl/tst-pthread-mutexattr.c: New file.
20996 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20998         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
20999         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
21000         into gnu-gnu, and update comment to refer to abi-tags.
21002 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
21004         [BZ #15467]
21005         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
21006         (__sincos): Set errno to EDOM for infinite argument.
21007         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
21008         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
21009         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
21010         (__sincosl): Set errno to EDOM for infinite argument.
21011         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
21012         (__sincosl): Set errno to EDOM for infinite argument.
21013         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
21014         (__sincosl): Set errno to EDOM for infinite argument.
21015         * math/libm-test.inc (sincos_test_data): Test errno setting.
21017 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
21019         * string/strxfrm_l.c: Remove #define STRCMP.
21020         * string/strcoll_l.c: Remove #define STRLEN.
21021         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
21022         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
21024 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
21026         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
21027         * sysdeps/mips/mips32/sfp-machine.h: ... here.
21028         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
21029         * sysdeps/mips/mips64/Makefile: ... here.
21030         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
21031         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
21032         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
21033         * sysdeps/mips/mips64/sfp-machine.h: ... here.
21034         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
21035         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
21036         * sysdeps/mips/mips64/n64/Implies: Likewise.
21038 2015-02-10  Roland McGrath  <roland@hack.frob.com>
21040         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
21041         <sys/time.h>, <string.h>, and <errno.h>.
21042         (dest_offset, dest_address, value, zero): Remove unused variables.
21043         (ldouble): Remove typedef.
21044         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
21045         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
21046         1).  Fix code style.
21047         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
21048         (check): Function removed.
21049         (CHECK): New macro.
21050         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
21051         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
21052         Don't call set_sigaction_FP and remove_sigaction_FP here.
21053         (ldouble_test): Just use 'long double' as macro argument, no need for
21054         the 'ldouble' typedef.
21055         (do_test): Set up SIGFPE handler at start, using plain signal rather
21056         than sigaction.  Fix code style.
21058 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
21060         [BZ #17949]
21061         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
21062         jump label.
21064 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21066         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
21067         * sysdeps/powerpc/powerpc32/configure: Regenerated.
21069         * sysdeps/powerpc/configure.ac: Remove file.
21070         * sysdeps/powerpc/configure: Likewise.
21072         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21073         [sysdep_routines]: Remove wordcopy-power6 object.
21074         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
21075         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
21076         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
21077         (__memmove_ppc32): Likewise.
21078         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
21079         file.
21080         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
21081         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
21082         Remove preprocessor.
21084         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21085         [sysdep_routines]: Remove wide chars objects.
21086         [wcsmbs]: New rule for wide char objects.
21088         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21089         Remove wordcopy-power6 obejct.
21090         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
21091         Use local call for wordcopy and memcpy symbols.
21092         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
21093         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
21094         implementation for loader.
21095         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
21097         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21098         Remove wordcopy-power7 object.
21099         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
21100         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
21101         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
21102         (_wordcopy_fwd_dest_aligned): Likewise.
21103         (_wordcopy_bwd_aligned): Likewise.
21104         (_wordcopy_bwd_dest_aligned): Likewise.
21106         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
21107         Rewrite to call __memmove_ppc instead of include default
21108         implementation.
21110         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21111         Remove wide chars objects.
21112         [wcsmbs]: New rule for wide char objects.
21114 2015-02-09  Andreas Schwab  <schwab@suse.de>
21116         [BZ #17912]
21117         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21118         in terms of __O_DIRECTORY.
21120 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21122         * time/getdate.c: Include <stdbool.h>.
21123         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
21124         call PTR_MANGLE.
21125         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
21126         PTR_DEMANGLE.
21128 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
21130         Add ersatz _Static_assert on older C hosts
21131         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
21132         pre-C11 C platform that is not known to support _Static_assert.
21134 2015-02-07  Richard Braun  <rbraun@sceen.net>
21136         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
21137         sigstate.
21138         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
21140 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21142         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
21143         priority against unexistent AIO_PRIO_DELTA_MAX.
21144         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
21145         instead of int.
21146         * misc/fchflags.c (fchflags): Likewise.
21147         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
21148         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
21149         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
21150         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
21151         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
21152         Declare macros.
21153         [__USE_MISC] (chflags, fchflags): Declare functions.
21154         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
21155         EINVAL when nfds is greater than FD_SETSIZE.
21156         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
21157         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
21158         45.
21159         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
21160         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
21161         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
21162         MACH_RCV_TIMED_OUT.
21163         * hurd/hurd/signal.h (_hurd_self_sigstate,
21164         _hurd_critical_section_lock, _hurd_critical_section_unlock):
21165         Explicit casts from void *.
21166         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
21167         * abi-tags: Rename gnu-gnu os into gnu.
21169         [BZ #4719]
21170         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
21171         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
21172         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
21173         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
21174         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
21175         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
21177         [BZ #17944]
21178         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
21179         duplicates ADDR->sun_path with sockaddr LEN limitation.
21180         * sysdeps/mach/hurd/connect.c: Include <string.h>
21181         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
21182         * sysdeps/mach/hurd/sendmsg.c: Likewise.
21183         * sysdeps/mach/hurd/sendto.c: Likewise.
21184         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
21185         implementing it by hand.
21187 2015-02-06  Roland McGrath  <roland@hack.frob.com>
21189         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
21190         Use sfi_breg on ldr.
21191         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
21192         Likewise.
21194         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
21195         it's defined.
21196         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
21197         Test SIGSETXID only if it's defined.
21199         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
21201         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
21202         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
21204         * nptl/tst-align2.c: Moved ...
21205         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
21206         * nptl/Makefile (tests): Remove tst-align2.
21207         * sysdeps/unix/sysv/linux/Makefile
21208         [$(subdir) = nptl] (tests): Add tst-align-clone.
21209         * nptl/tst-getpid1.c: Moved ...
21210         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
21211         * nptl/tst-getpid2.c: Moved ...
21212         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
21213         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
21214         * sysdeps/unix/sysv/linux/Makefile
21215         [$(subdir) = nptl] (tests): ... here.
21216         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
21217         * sysdeps/unix/sysv/linux/Makefile
21218         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
21220         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
21221         Drop trailing \n from perror argument.  Use return rather than exit.
21223         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
21224         on [SA_SIGINFO].
21225         * nptl/tst-cancel21.c (do_test): Likewise.
21226         * debug/tst-backtrace6.c: Include <signal.h> first thing.
21227         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
21228         [!SA_SIGINFO]: Make it a stub test.
21230         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
21231         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
21233         * posix/tst-getlogin.c: Move to ...
21234         * login/tst-getlogin.c: ... here.
21235         * posix/Makefile (tests): Move tst-getlogin to ...
21236         * login/Makefile (tests): ... here.
21238         * libio/tst-atime.c (do_test): Move local variables SV and E
21239         inside [ST_NOATIME] conditional.
21241         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
21243         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
21245         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
21246         (wait_code): New function replaces macro.
21247         Call nanosleep rather than syscall.
21249         * nptl/pt-system.c: Rewritten.  Put everything under
21250         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21251         Use IFUNC to redirect when possible.
21253         * nptl/pt-longjmp.c: Rewritten.  Put everything under
21254         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21255         Use IFUNC to redirect when possible.
21257         * nptl/pt-fork.c: Rewritten.  Put everything under
21258         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21259         Use IFUNC to redirect when possible.
21260         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
21262         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
21263         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
21264         unconditionally nowadays.  This included the only reference to
21265         __vdso_clock_gettime that appears outside libc proper.
21266         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
21267         Remove version set (containing only __vdso_clock_gettime).
21268         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21269         Add attribute_hidden.
21270         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21271         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
21272         libc_hidden_data_def.
21273         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
21274         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21276         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
21277         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
21278         setrpcent, and getrpcport to ...
21279         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
21280         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
21281         getrpcbynumber_r, and getrpcent_r to ...
21282         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
21283         * inet/getrpcbyname.c: Moved ...
21284         * sunrpc/getrpcbyname.c: ... here.
21285         * inet/getrpcbyname_r.c: Moved ...
21286         * sunrpc/getrpcbyname_r.c: ... here.
21287         * inet/getrpcbynumber.c: Moved ...
21288         * sunrpc/getrpcbynumber.c: ... here.
21289         * inet/getrpcbynumber_r.c: Moved ...
21290         * sunrpc/getrpcbynumber_r.c: ... here.
21291         * inet/getrpcent.c: Moved ...
21292         * sunrpc/getrpcent.c: ... here.
21293         * inet/getrpcent_r.c: Moved ...
21294         * sunrpc/getrpcent_r.c: ... here.
21295         * inet/Makefile (routines): Move those to ...
21296         * sunrpc/Makefile (routines): ... here.
21297         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
21298         the $(subdirs) list.
21299         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
21300         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
21301         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
21302         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
21304         * elf/Makefile (routines): Include $(all-dl-routines), not just
21305         $(dl-routines).
21306         (rtld-routines): Likewise.  Use = rather than :=.
21307         * sysdeps/aarch64/Makefile [$(subdir) = elf]
21308         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
21309         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
21310         * sysdeps/arm/Makefile: Likewise.
21311         * sysdeps/i386/Makefile: Likewise.
21312         * sysdeps/x86_64/Makefile: Likewise.
21313         * sysdeps/hppa/Makefile [$(subdir) = elf]
21314         (sysdep_routines, sysdep-rtld-routines): Don't add
21315         $(sysdep-dl-routines) to these.
21316         * sysdeps/ia64/Makefile: Likewise.
21317         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
21318         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
21319         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
21320         Don't add dl-static to these; sysdep-dl-routines alone is enough.
21321         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
21322         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
21323         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
21324         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
21325         * sysdeps/powerpc/Makefile [$(subdir) = elf]
21326         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
21327         these; sysdep-dl-routines alone is enough.
21329 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
21331         [BZ #17932]
21332         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
21333         where multiplication results in zero and third argument is finite
21334         and nonzero.
21335         * math/auto-libm-test-in: Add more tests of fma.
21336         * math/auto-libm-test-out: Regenerated.
21338         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
21339         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
21340         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
21341         (_FP_CMP_EQ): Likewise.
21342         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
21344         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
21345         extra argument CHECK_NAN.  Redefine as wrapper around
21346         _FP_EXTEND_CNAN.
21348 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
21350         * version.h (RELEASE): Set to "stable".
21351         (VERSION): Set to "2.21"
21352         * include/features.h (__GLIBC_MINOR__): Set to 21.
21354         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
21356 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21357             Paul Eggert  <eggert@cs.ucla.edu>
21359         [BZ #16618]
21360         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
21361         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
21362         size in bytes. Store needed elements in wpmax. Use needed size
21363         in bytes for extend_alloca.
21365 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
21367         * manual/install.texi: Latest tested versions are GCC 4.9.2,
21368         binutls 2.25, and texinfo 5.2.
21369         * INSTALL: Regenerate.
21370         * sysdeps/nios2/configure: Regenerate.
21371         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
21372         * manual/contrib.texi: Update.
21373         * po/be.po: Update.
21374         * po/bg.po: Update.
21375         * po/ca.po: Update.
21376         * po/cs.po: Update.
21377         * po/da.po: Update.
21378         * po/de.po: Update.
21379         * po/el.po: Update.
21380         * po/eo.po: Update.
21381         * po/es.po: Update.
21382         * po/fi.po: Update.
21383         * po/fr.po: Update.
21384         * po/gl.po: Update.
21385         * po/hr.po: Update.
21386         * po/hu.po: Update.
21387         * po/ia.po: Update.
21388         * po/id.po: Update.
21389         * po/it.po: Update.
21390         * po/ja.po: Update.
21391         * po/ko.po: Update.
21392         * po/lt.po: Update.
21393         * po/nb.po: Update.
21394         * po/nl.po: Update.
21395         * po/pl.po: Update.
21396         * po/pt_BR.po: Update.
21397         * po/ru.po: Update.
21398         * po/rw.po: Update.
21399         * po/sk.po: Update.
21400         * po/sl.po: Update.
21401         * po/sv.po: Update.
21402         * po/tr.po: Update.
21403         * po/uk.po: Update.
21404         * po/vi.po: Update.
21405         * po/zh_CN.po: Update.
21406         * po/zh_TW.po: Update.
21408         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
21409         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
21410         * sysdeps/hppa/dl-irel.h: Remove #warning.
21411         * sysdeps/hppa/entry.h: Provide prototype for
21412         __canonicalize_funcptr_for_compare and cast argument.
21413         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
21414         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
21415         * sysdeps/hppa/sotruss-lib.c: New file.
21416         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
21417         (atomic_compare_and_exchange_val_acq): Use __typeof__.
21418         (atomic_compare_and_exchange_bool_acq): Likewise.
21419         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
21420         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
21422         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
21423         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
21424         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
21426 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
21428         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
21429         called function in non-PIC case.
21431 2015-01-31  David S. Miller  <davem@davemloft.net>
21433         * sysdeps/sparc/sparc32/bits/atomic.h
21434         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
21435         unlock not after it.
21436         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
21437         volatile register usage warnings from the compiler.
21439         * sysdeps/sparc/nptl/sem_init.c: Delete.
21440         * sysdeps/sparc/nptl/sem_post.c: Delete.
21441         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
21442         * sysdeps/sparc/nptl/sem_wait.c: Delete.
21443         * sysdeps/sparc/sparc32/sem_init.c: New file.
21444         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
21445         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
21446         padding explicitly initialized.
21447         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
21448         padding for in-semaphore spinlock.
21449         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
21450         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
21451         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
21452         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
21453         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
21454         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
21455         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
21456         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
21457         version.
21458         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
21459         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
21461 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
21463         [BZ #17801]
21464         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21465         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
21466         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
21467         New.
21468         (index_AVX_Fast_Unaligned_Load): Likewise.
21469         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
21470         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
21471         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
21472         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
21473         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
21474         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
21475         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
21476         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
21477         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
21479 2015-01-29  Andreas Schwab  <schwab@suse.de>
21481         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
21483 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
21485         [BZ #17892]
21486         * nscd/nscd_stat.c (send_stats): Initialize DATA.
21488 2015-01-28  Martin Sebor  <msebor@redhat.com>
21490         * math/README.libm-test: Clarify. Add "How to read the test output."
21492 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
21494         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
21495         Define to 0.
21497 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
21499         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
21500         (__HAVE_64B_ATOMICS): Define to 0.
21502 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21504         [BZ #17885]
21505         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
21506         value to set as new flag.
21508         [BZ #16576]
21509         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
21510         and use _ARCH_PPCSQ instead.
21511         (__ieee754_sqrt): Likewise.
21512         (__ieee754_sqrtf): Likewise.
21513         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
21514         _ARCH_PPCSQ is defined.
21515         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
21516         fsqrt instruction.
21517         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
21518         _ARCH_PPCSQ is defined.
21519         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
21520         fsqrts instruction.
21521         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
21523 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21525         * iconv/loop.c: Suppress array out of bound warning caused by GCC
21526         bug (GCC BZ #64739).
21528 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
21530         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
21531         Mark _retval as used.
21532         (lll_futex_wake_unlock): Likewise.
21533         (lll_futex_timed_wait_requeue_pi): Likewise.
21535         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
21536         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
21537         register variables.
21539         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
21540         libm_hidden_def.
21542         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
21543         (__bswap_64): Mark as __always_inline.
21545 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
21547         [BZ #15378]
21548         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
21549         when none of the search directories exist.
21551 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21553         [BZ #17869]
21554         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
21555         power8 in .machine directive.
21557         [BZ #17868]
21558         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
21559         set dependency from opd value.
21561 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21563         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21564         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
21565         architecture.
21567 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21569         [BZ #17870]
21570         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
21571         with uint64_t.
21572         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
21573         (uint64_t) 1.
21574         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
21575         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
21576         Replace 1UL with (uint64_t) 1.
21577         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
21578         int with uint64_t.
21580 2015-01-23  Roland McGrath  <roland@hack.frob.com>
21582         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
21583         (if_freenameindex): Likewise.
21585         * resource/getrlimit64.c: Add missing libc_hidden_def.
21587 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
21589         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
21590         __label__.
21591         (_FP_FMA): Likewise.
21592         (_FP_TO_INT_ROUND): Likewise.
21593         (_FP_FROM_INT): Likewise.
21595 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21597         [BZ #16418]
21598         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
21599         Make code racy and cancel safe.
21601 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
21603         * sysdeps/arm/unwind-resume.h: Fix copyright year.
21604         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
21605         attribution.
21607         * pwd/tst-getpw.c: Rewrite.
21609         [BZ #17702]
21610         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
21611         (modules-names): Add moddummy1 and moddummy2.
21612         ($(objpfx)tst-rec-dlopen): Define.
21613         * dlfcn/moddummy1.c: New file.
21614         * dlfcn/moddummy2.c: New file.
21615         * dlfcn/tst-rec-dlopen.c: New file.
21616         * elf/dl-cache.c (_dl_load_cache_lookup):
21617         Return char*. Copy result with alloca/strcpy/strdup.
21618         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
21619         returns char*. Free cached. If not saving realname
21620         free cached.
21621         * elf/dl-open.c (dl_open_worker): Do not assert that
21622         _r_debug->r_state is RT_CONSISTENT.
21623         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
21624         returns char*.
21626 2015-01-21  Torvald Riegel  <triegel@redhat.com>
21627             Carlos O'Donell  <carlos@redhat.com>
21629         [BZ #12674]
21630         * nptl/sem_waitcommon.c: New file.
21631         * nptl/sem_wait.c: Include sem_waitcommon.c.
21632         (__sem_wait_cleanup, do_futex_wait): Remove.
21633         (__new_sem_wait): Adapt.
21634         (__new_sem_trywait): New function.
21635         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
21636         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
21637         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
21638         (sem_timedwait): Adapt.
21639         * nptl/sem_post.c (__new_sem_post): Adapt.
21640         (futex_wake): New function.
21641         (__old_sem_post): Add release MO fence.
21642         * nptl/sem_open.c (sem_open): Adapt.
21643         * nptl/sem_init.c (__new_sem_init): Adapt.
21644         (futex_private_if_supported): New function.
21645         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
21646         (__old_sem_getvalue): Add using previous code.
21647         * sysdeps/nptl/internaltypes.h: Adapt.
21648         * nptl/tst-sem13.c (do_test): Adapt.
21649         * nptl/tst-sem11.c (main): Adapt.
21650         * nptl/sem_trywait.c: Remove.
21651         * nptl/DESIGN-sem.txt: Remove.
21652         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
21653         (gen-as-const-headers): Remove structsem.sym.
21654         * nptl/structsem.sym: Remove.
21655         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
21656         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
21657         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
21658         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
21659         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
21660         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
21661         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
21662         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
21663         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
21664         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
21665         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
21666         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
21667         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
21668         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
21669         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
21670         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
21671         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
21672         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
21673         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
21674         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
21675         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
21676         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
21678 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
21680         * INSTALL: Regenerated.
21682         * po/libc.pot: Regenerated.
21684 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
21685             Sandra Loosemore  <sandra@codesourcery.com>
21686             Andrew Jenner  <andrew@codesourcery.com>
21687             Joseph Myers  <joseph@codesourcery.com>
21688             Nathan Sidwell  <nathan@codesourcery.com>
21690         * NEWS: Mention new Nios II port.
21691         * sysdeps/nios2/Implies: New file.
21692         * sysdeps/nios2/Makefile: New file.
21693         * sysdeps/nios2/Subdirs: New file.
21694         * sysdeps/nios2/Versions: New file.
21695         * sysdeps/nios2/__longjmp.S: New file.
21696         * sysdeps/nios2/abort-instr.h: New file.
21697         * sysdeps/nios2/backtrace.c: New file.
21698         * sysdeps/nios2/bits/endian.h: New file.
21699         * sysdeps/nios2/bits/fenv.h: New file.
21700         * sysdeps/nios2/bits/link.h: New file.
21701         * sysdeps/nios2/bits/setjmp.h: New file.
21702         * sysdeps/nios2/bsd-_setjmp.S: New file.
21703         * sysdeps/nios2/bsd-setjmp.S: New file.
21704         * sysdeps/nios2/configure: New generated file.
21705         * sysdeps/nios2/configure.ac: New file.
21706         * sysdeps/nios2/crti.S: New file.
21707         * sysdeps/nios2/crtn.S: New file.
21708         * sysdeps/nios2/dl-init.c: New file.
21709         * sysdeps/nios2/dl-machine.h: New file.
21710         * sysdeps/nios2/dl-sysdep.h: New file.
21711         * sysdeps/nios2/dl-tls.h: New file.
21712         * sysdeps/nios2/dl-trampoline.S: New file.
21713         * sysdeps/nios2/gccframe.h: New file.
21714         * sysdeps/nios2/gmp-mparam.h: New file.
21715         * sysdeps/nios2/jmpbuf-offsets.h: New file.
21716         * sysdeps/nios2/jmpbuf-unwind.h: New file.
21717         * sysdeps/nios2/ldsodefs.h: New file.
21718         * sysdeps/nios2/libc-tls.c: New file.
21719         * sysdeps/nios2/libm-test-ulps: New file.
21720         * sysdeps/nios2/machine-gmon.h: New file.
21721         * sysdeps/nios2/math-tests.h: New file.
21722         * sysdeps/nios2/math_private.h: New file.
21723         * sysdeps/nios2/memusage.h: New file.
21724         * sysdeps/nios2/nptl/Makefile: New file.
21725         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
21726         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
21727         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
21728         * sysdeps/nios2/nptl/pthreaddef.h: New file.
21729         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
21730         * sysdeps/nios2/nptl/tls.h: New file.
21731         * sysdeps/nios2/preconfigure: New file.
21732         * sysdeps/nios2/s_fma.c: New file.
21733         * sysdeps/nios2/s_fmaf.c: New file.
21734         * sysdeps/nios2/setjmp.S: New file.
21735         * sysdeps/nios2/sfp-machine.h: New file.
21736         * sysdeps/nios2/sotruss-lib.c: New file.
21737         * sysdeps/nios2/stackguard-macros.h: New file.
21738         * sysdeps/nios2/stackinfo.h: New file.
21739         * sysdeps/nios2/start.S: New file.
21740         * sysdeps/nios2/sysdep.h: New file.
21741         * sysdeps/nios2/tls-macros.h: New file.
21742         * sysdeps/nios2/tst-audit.h: New file.
21743         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
21744         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
21745         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
21746         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
21747         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
21748         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
21749         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
21750         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
21751         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
21752         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
21753         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
21754         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
21755         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
21756         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
21757         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
21758         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
21759         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
21760         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
21761         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
21762         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
21763         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
21764         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
21765         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
21766         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
21767         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
21768         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
21769         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
21770         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
21771         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
21772         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
21773         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
21774         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
21775         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
21776         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
21777         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
21778         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
21779         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
21780         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
21781         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
21782         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
21783         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
21784         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
21785         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
21786         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
21788 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21790         [BZ #17844]
21791         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
21792         (getutent): Use weak_alias in non SHARED case
21793         and default_symbol_version in SHARED case.
21794         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
21795         (getutent_r, pututline): Likewise.
21796         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
21797         (getutid): Likewise.
21798         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
21799         (getutid_r): Likewise.
21800         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
21801         (getutline): Likewise.
21802         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
21803         (getutline_r): Likewise.
21804         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
21805         (updwtmp): Likewise.
21807 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21809         [BZ #17848]
21810         * sysdeps/s390/s390-32/memcmp.S
21811         (memcmp_g5): Rename to __memcmp_g5.
21812         * sysdeps/s390/s390-32/memcpy.S
21813         (memcpy_g5): Rename to __memcpy_g5.
21814         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21815         (memcpy_mvcle) Rename to __memcpy_mvcle.
21816         * sysdeps/s390/s390-32/memset.S
21817         (memset_g5): Rename to __memset_g5.
21818         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21819         (IFUNC_RESOLVE): Prefix ifunc-resolve function
21820         and use prefixed functions.
21821         * sysdeps/s390/s390-32/multiarch/memcmp.S
21822         (memcmp_z196): Rename to __memcmp_z196.
21823         (memcmp_z10): Rename to __memcmp_z10.
21824         (memcmp): Set alias to __memcmp_g5.
21825         (bcmp): Set alias to __memcmp_g5.
21826         * sysdeps/s390/s390-32/multiarch/memcpy.S
21827         (memcpy_z196): Rename to __memcpy_z196.
21828         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21829         (memcpy_z10): Rename to __memcpy_z10.
21830         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21831         (memcpy): Set alias to __memcpy_g5.
21832         * sysdeps/s390/s390-32/multiarch/memset.S
21833         (memset_z196): Rename to __memset_z196.
21834         Jump to __memset_mvcle instead of memset_mvcle.
21835         (memset_z10): Rename to __memset_z10.
21836         Jump to __memset_mvcle instead of memset_mvcle.
21837         (memset_mvcle) Rename to __memset_mvcle.
21838         (memset): Set alias to __memset_g5.
21839         * sysdeps/s390/s390-64/memcmp.S
21840         (memcmp_z900): Rename to __memcmp_z900.
21841         * sysdeps/s390/s390-64/memcpy.S
21842         (memcpy_z900): Rename to __memcpy_z900.
21843         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21844         (memcpy_mvcle) Rename to __memcpy_mvcle.
21845         * sysdeps/s390/s390-64/memset.S
21846         (memset_z900): Rename to __memset_z900.
21847         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
21848         (IFUNC_RESOLVE): Prefix ifunc-resolve function
21849         and use prefixed functions.
21850         * sysdeps/s390/s390-64/multiarch/memcmp.S
21851         (memcmp_z196): Rename to __memcmp_z196.
21852         (memcmp_z10): Rename to __memcmp_z10.
21853         (memcmp): Set alias to __memcmp_z900.
21854         (bcmp): Set alias to __memcmp_z900.
21855         * sysdeps/s390/s390-64/multiarch/memcpy.S
21856         (memcpy_z196): Rename to __memcpy_z196.
21857         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21858         (memcpy_z10): Rename to __memcpy_z10.
21859         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21860         (memcpy): Set alias to __memcpy_z900.
21861         * sysdeps/s390/s390-64/multiarch/memset.S
21862         (memset_z196): Rename to __memset_z196.
21863         Jump to __memset_mvcle instead of memset_mvcle.
21864         (memset_z10): Rename to __memset_z10.
21865         Jump to __memset_mvcle instead of memset_mvcle.
21866         (memset_mvcle) Rename to __memset_mvcle.
21867         (memset): Set alias to __memset_z900.
21869 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
21871         [BZ #17748]
21872         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
21873         __fesetenv instead of fesetenv.
21875 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21877         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
21878         macro.
21880 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21882         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
21883         regression on LE.
21885         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
21886         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
21887         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21888         strncmp-power8 object.
21889         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21890         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
21891         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
21892         * NEWS: Update.
21894 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21895             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21897         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
21898         trailing byte check.
21900 2015-01-13  David S. Miller  <davem@davemloft.net>
21902         * include/signal.h (__sigreturn): Guard with __USE_MISC.
21904 2015-01-13  Roland McGrath  <roland@hack.frob.com>
21906         * login/logout.c (logout): Use memset rather than bzero.
21907         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
21908         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
21909         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
21910         (_gethtbyaddr): Likewise.
21911         * locale/programs/simple-hash.c (bcopy): Macro removed.
21913 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21915         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21916         Add strcmp-power8 object.
21917         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21918         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
21919         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
21920         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
21921         __strcmp_power8 implementation.
21922         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
21923         * NEWS: Update.
21925         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21926         Add strncpy-power8 and stpncpy-power8 objects.
21927         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21928         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
21929         implementations.
21930         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
21931         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
21932         __stpncpy_power8 implementation.
21933         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
21934         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
21935         __strncpy_power8 implementation.
21936         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
21937         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
21938         * NEWS: Update.
21940         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
21941         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
21942         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
21944         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21945         strncat-power8 object.
21946         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
21947         __strcat_power8 implementation.
21948         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21949         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
21950         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
21951         optimized strcat for power8.
21953         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21954         strcpy-power8 and stpcpy-power8 objects.
21955         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21956         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
21957         implementations.
21958         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
21959         multiarch stpcpy implementation for POWER8.
21960         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
21961         multiarch strcpy implementation for POWER8.
21962         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
21963         __strcpy_power8 function.
21964         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
21965         stpcpy for POWER8.
21966         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
21967         strcpy for POWER8.
21968         * NEWS: Update.
21970 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
21972         [BZ #16009]
21973         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
21974         weights and rules. Use do_xfrm_cached if data fits in cache,
21975         do_xfrm otherwise.  Moved former main loop to...
21976         * (do_xfrm_cached): New function.
21977         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
21978         find_idx, find_position and stack_push.
21979         * (find_idx): New function.
21980         * (find_position): Likewise.
21981         * localedata/sort-test.sh: Added test run for do_xfrm.
21982         * localedata/xfrm-test.c (main): Added command line option
21983         -nocache to run the test with strings that are too large for
21984         the STRXFRM cache.
21986 2015-01-13  Torvald Riegel  <triegel@redhat.com>
21988         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
21989         variable to lll_futex_wake call, not the value itself.
21991 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
21993         [BZ #17803]
21994         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
21995         twom64.  Adjust value to 0x1p-64L.
21996         (__scalblnl): Only return standard underflowing result for K <=
21997         -64 not K <= -63; adjust exponent for underflowing result by 64
21998         not 63.
21999         * math/libm-test.inc (scalbn_test_data): Add more tests.
22000         (scalbln_test_data): Likewise.
22002         [BZ #17834]
22003         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
22004         0x1p63L.
22005         (__scalblnl): Get new exponent of adjusted subnormal value from ES
22006         not HX.
22007         * math/libm-test.inc (scalbn_test_data): Add more tests.
22008         (scalbln_test_data): Likewise.
22010 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22011             Stefani Seibold  <stefani@seibold.net>
22013         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
22014         (sysdep_routines): Add dl-vdso here, ...
22015         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
22016         (sysdep_routines): ... not here.
22017         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
22018         fallback when vDSO is not presented.
22019         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
22020         Define with libc_hidden_proto/libc_hidden_data_def definitions.
22021         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
22022         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
22023         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
22024         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
22025         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
22026         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
22027         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
22028         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
22029         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
22030         fallback configurable symbol when vDSO is not available.
22031         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
22032         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
22033         be able to redefine fallback symbol when vDSO is not available.
22034         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
22035         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
22037 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22039         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
22040         (TLS_INIT_TP): Add tm_capable initialization.
22041         (TLS_DEFINE_INIT_TP): Likewise.
22042         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
22043         TCB.
22044         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
22045         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
22046         calculation.
22047         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
22048         transactoion is lock elision is built and TCB tm_capable is set.
22049         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
22050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22051         (INTERNAL_SYSCALL_NCS): Likewise.
22052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22053         (INTERNAL_SYSCALL_NCS): Likewise.
22054         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
22056         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
22057         for powerpc.
22058         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22059         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
22060         and remove it for 32 bits case.
22061         [pthread_rwlock_t] (__rwelision): New field for lock elision.
22062         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
22063         initialization.
22064         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
22065         Disable lock elision with rdlocks if elision is not available.
22067         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
22068         (sysdep_routines): Add lock elision objects.
22069         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22070         [pthread_mutex_t] (__spins): Rework to add lock elision field.
22071         [pthread_mutex_t] (__elision): Add field.
22072         [__PTHREAD_SPINS]: Adjust to init lock elision field.
22073         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
22074         elision definitions for powerpc.
22075         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
22076         implementation of lock elision for powerpc.
22077         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
22078         implementation of timed lock elision for powerpc.
22079         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
22080         implementation of trylock with lock elision for powerpc.
22081         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
22082         implementaion of unlock for lock elision for powerpc.
22083         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
22084         automatic enable lock elision for mutexes.
22085         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
22086         transaction execution definitions for powerpc.
22087         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
22088         definitions.
22089         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
22090         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
22091         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
22092         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
22093         * NEWS: Update.
22095 2015-01-09  Roland McGrath  <roland@hack.frob.com>
22097         * sysdeps/posix/shm-directory.c: Use <> rather than ""
22098         for #include of <shm-directory.h>.
22100 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
22102         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
22103         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
22105 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
22107         [BZ #17791]
22108         * NEWS: Mention bug fix.
22109         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
22110         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
22111         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
22113 2015-01-09  Torvald Riegel <triegel@redhat.com>
22115         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
22117 2015-01-09  Torvald Riegel <triegel@redhat.com>
22119         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
22121 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22123         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
22124         pointer and cast to uintptr_t.
22126 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22128         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
22129         removed.
22130         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
22132 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22134         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
22135         of 0.
22137 2015-01-08  Roland McGrath  <roland@hack.frob.com>
22139         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
22140         <nptl/pthreadP.h> instead.
22141         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
22143         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
22144         already defined.
22145         [__SIGRTMIN] (init): Function removed.
22146         [__SIGRTMIN] (initialized): Variable removed.
22147         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
22148         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
22149         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
22150         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
22151         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
22152         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
22153         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
22154         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
22155         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
22156         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
22157         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
22158         * sysdeps/nptl/allocrtsig.c: New file.
22159         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
22160         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
22161         * sysdeps/generic/testrtsig.h: File removed.
22163         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
22164         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
22166         * nptl/nptl-init.c (pthread_functions): Conditionalize
22167         .ptr__nptl_setxid initialization on [SIGSETXID].
22169         * sysdeps/nptl/sys/procfs.h: New file.
22170         * nptl_db/Makefile (headers): Add it.
22171         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
22173         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
22174         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
22175         * nptl/pthread_attr_setaffinity.c: Include it.
22176         * nptl/pthread_setattr_default_np.c: Likewise.
22177         * nptl/check-cpuset.h: New file.
22179 2015-01-08  Richard Henderson  <rth@redhat.com>
22181         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
22182         (CFLAGS-tst-execstack-prog.c): Likewise.
22183         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
22185 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
22186             Sandra Loosemore  <sandra@codesourcery.com>
22187             Andrew Jenner  <andrew@codesourcery.com>
22188             Joseph Myers  <joseph@codesourcery.com>
22189             Nathan Sidwell  <nathan@codesourcery.com>
22191         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
22192         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
22193         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
22194         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
22195         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
22196         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
22197         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
22198         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
22199         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
22200         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
22201         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
22202         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
22203         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
22204         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
22205         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
22206         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
22207         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
22209 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22211         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
22212         timespec struct member in syscall macro.
22213         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
22214         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
22215         first timeval struct member in syscall macro.
22216         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
22218 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
22220         [BZ #17748]
22221         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
22222         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
22223         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
22224         __feupdateenv and define as weak alias of __feupdateenv.  Use
22225         libm_hidden_weak.
22226         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
22227         libm_hidden_def.
22228         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
22229         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
22230         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22231         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
22232         libm_hidden_def.
22233         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
22234         __feupdateenv and define as weak alias of __feupdateenv.  Use
22235         libm_hidden_weak.
22236         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
22237         libm_hidden_def.
22238         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
22239         __feupdateenv and define as weak alias of __feupdateenv.  Use
22240         libm_hidden_weak.
22241         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
22242         libm_hidden_def.
22243         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22244         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22245         (__feupdateenv): Likewise.
22246         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
22247         __feupdateenv and define as weak alias of __feupdateenv.  Use
22248         libm_hidden_weak.
22249         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22250         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
22251         libm_hidden_def.
22252         * sysdeps/tile/math_private.h (__feupdateenv): New inline
22253         function.
22254         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
22255         libm_hidden_def.
22256         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
22257         __feupdateenv instead of feupdateenv.
22258         (default_libc_feupdateenv_test): Likewise.
22259         (libc_feresetround_ctx): Likewise.
22261 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22263         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
22264         prototype.
22266 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
22268         * posix/regcomp.c (parse_bracket_exp): Initialize type to
22269         COLL_SYM in a couple of places to avoid uninitialized variable
22270         wanings on tilegx gcc 4.8.2.
22272 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
22274         * sysdeps/aarch64/strcpy.S: New file.
22275         * sysdeps/aarch64/stpcpy.S: New file.
22276         * NEWS: Updated.
22278 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
22280         * sysdeps/aarch64/strrchr.S: New file.
22281         * NEWS: Updated.
22283 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
22285         [BZ #17658]
22286         * stdlib/setenv.c: Fix memory leak when setting large,
22287         duplicate string.
22289 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
22291         [BZ #17273]
22292         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
22293         and tabs from buffer before parsing fstab entry.
22294         * misc/tst-mntent.c (main): Add test for mount entry with
22295         trailing spaces and tabs.
22297 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
22299         [BZ #17748]
22300         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
22301         * math/fesetround.c (fesetround): Rename to __fesetround and
22302         define as weak alias of __fesetround.  Use libm_hidden_weak.
22303         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
22304         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
22305         * sysdeps/arm/fesetround.c (fesetround): Likewise.
22306         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
22307         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
22308         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
22309         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
22310         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
22311         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
22312         __fesetround_inline.
22313         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
22314         __fesetround_inline instead of __fesetround.
22315         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
22316         __fesetround and define as weak alias of __fesetround.  Use
22317         libm_hidden_weak.  Call __fesetround_inline instead of
22318         __fesetround.
22319         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
22320         __fesetround and define as weak alias of __fesetround.  Use
22321         libm_hidden_weak.
22322         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
22323         Likewise.
22324         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
22325         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22326         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
22327         * sysdeps/tile/math_private.h (__fesetround): New inline function.
22328         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
22329         __fesetround and define as weak alias of __fesetround.  Use
22330         libm_hidden_weak.
22331         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
22332         __fesetround instead of fesetround.
22333         (default_libc_feholdexcept_setround): Likewise.
22334         (libc_feholdsetround_ctx): Likewise.
22335         (libc_feholdsetround_noex_ctx): Likewise.
22337         [BZ #17748]
22338         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
22339         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
22340         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22341         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
22342         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22343         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
22344         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22345         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22346         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22347         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22348         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22349         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22350         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22351         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22352         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
22353         libm_hidden_def.
22354         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
22355         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
22356         Likewise.
22357         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22358         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22359         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22360         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22361         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
22362         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22363         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
22364         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
22365         __fesetenv instead of fesetenv.
22366         (libc_feresetround_noex_ctx): Likewise.
22367         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22368         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22369         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
22370         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22371         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22372         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22373         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22374         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22375         (__feupdateenv): Likewise.
22376         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22377         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22378         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22379         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
22381 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
22383         [BZ #17806]
22384         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
22385         addresses have been freed.
22387 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
22389         * resolv/res_init.c (__res_vinit): Improve comments about nserv
22390         and nservall.
22392 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
22394         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
22395         Clean up check_pf allocation pattern. addresses
22397 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22399         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
22400         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
22401         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
22402         * nptl/pthread_exit.c (__pthread_exit): Likewise.
22403         * nptl/pthread_join.c (pthread_join): Likewise.
22404         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
22405         * sysdeps/posix/waitid.c (__waitid): Likewise.
22406         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
22407         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
22408         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
22409         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
22410         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
22411         Likewise.
22412         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
22413         (__libc_pread64): Likewise.
22414         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
22415         (__libc_pwrite): Likewise.
22416         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
22417         (__libc_pwrite64): Likewsie.
22418         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
22419         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
22420         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
22421         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
22422         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
22423         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
22424         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
22426         Likewise.
22427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22428         (__libc_pread64): Likewise.
22429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
22430         Likewise.
22431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22432         (__libc_pwrite64): Likewise.
22433         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
22434         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
22435         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
22436         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
22437         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
22438         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
22439         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
22440         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
22441         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
22442         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
22443         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
22444         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
22445         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
22446         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
22447         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22448         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
22449         Likewise.
22451 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
22453         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
22454         (CFLAGS-test-double.c): Likewise.
22455         (CFLAGS-test-ldouble.c): Likewise.
22456         (CPPFLAGS-test-ifloat.c): Likewise.
22457         (CPPFLAGS-test-idouble.c): Likewise.
22458         (CPPFLAGS-test-ildoubl.c): Likewise.
22459         (CFLAGS-test-test-fenv.c): Remove variable.
22460         (CFLAGS-test-misc.c): Likewise.
22462 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
22464         [BZ #17797]
22465         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
22466         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
22467         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
22468         CLOCKS_PER_SEC == 1000000.
22469         * time/clocktest.c (main): Replace %ld with %jd and cast to
22470         intmax_t.
22472 2015-01-05  Roland McGrath  <roland@hack.frob.com>
22474         * sysdeps/generic/unwind-resume.h: New file.
22475         * sysdeps/gnu/unwind-resume.c: Include it.
22476         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
22477         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
22478         argument list.
22479         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
22480         global rather than static.
22481         (_Unwind_Resume): Update user.
22482         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
22483         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
22484         rather than static.  Add __attribute__ ((cold)).
22485         (_Unwind_Resume, __gcc_personality_v0): Update callers.
22486         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
22487         * sysdeps/arm/arm-unwind-resume.S: New file.
22488         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
22489         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
22490         * sysdeps/arm/Makefile [$(subdir) = csu]
22491         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
22492         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22493         Add rt-arm-unwind-resume.
22494         [$(subdir) = nptl]
22495         (libpthread-sysdep_routines, libpthread-shared-only-routines):
22496         Add pt-arm-unwind-resume.
22497         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
22498         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
22500 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22502         [BZ #17748]
22503         * include/fenv.h (__feholdexcept): Declare.  Use
22504         libm_hidden_proto.
22505         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
22506         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
22507         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22508         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
22509         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
22510         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
22511         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
22512         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22513         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
22514         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
22515         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22516         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
22517         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
22518         (feholdexcept): Likewise.
22519         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22520         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22521         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22522         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22523         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
22524         __feholdexcept instead of feholdexcept.
22525         (default_libc_feholdexcept_setround): Likewise.
22527 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22529         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
22530         to avoid using stl/str to align destination.
22532 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22534         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
22536 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22538         [BZ #17796]
22539         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
22540         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
22541         Define as weak alias not strong alias.
22543 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22545         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
22546         bltzal with addiupc.
22547         (RTLD_START): Ditto.
22549 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
22551         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
22552         for __vdso_* functions in declarations.
22553         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
22554         definitions.
22555         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
22556         INTERNAL_VSYSCALL): Use struct return types to check for error.
22558         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
22559         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
22560         function with cast from llround().
22561         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
22562         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22563         Define.
22565 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22567         [BZ #17793]
22568         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
22569         Define as weak alias not strong alias.
22571         [BZ #17635]
22572         * ctype/ctype-c99.c: New file.  isblank implementation moved from
22573         ...
22574         * ctype/ctype-extn.c: ... here.
22575         (__isblank_l): Move to ...
22576         * ctype/ctype-c99_l.c: ... here.  New file.
22577         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
22578         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
22579         Remove variable.
22580         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
22581         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
22582         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
22583         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
22584         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
22586         [BZ #17777]
22587         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
22588         (posix_fadvise64): Define as weak alias not strong alias.
22589         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22590         (posix_fallocate64): Likewise.
22591         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
22592         Remove variable.
22593         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
22594         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
22595         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
22596         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
22597         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
22599 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
22601         [BZ #16191]
22602         * NEWS: Mention bug fix.
22603         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
22604         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
22605         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
22606         (HOST_STACK_END_ADDR): Likewise.
22608 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
22610         [BZ #17748]
22611         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
22612         * math/fegetround.c (fegetround): Rename to __fegetround and
22613         define as weak alias of __fegetround.  Use libm_hidden_weak.
22614         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
22615         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
22616         * sysdeps/arm/fegetround.c (fegetround): Likewise.
22617         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
22618         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22619         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
22620         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
22621         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
22622         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22623         Undefine after rather than before function definition; use
22624         parentheses around function name in definition.
22625         (__fegetround): Also undefine macro after function definition.
22626         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
22627         __fegetround and define as weak alias of __fegetround.  Use
22628         libm_hidden_weak.  Do not undefine as macro.
22629         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22630         Likewise.
22631         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
22632         __fegetround and define as weak alias of __fegetround.  Use
22633         libm_hidden_weak.
22634         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22635         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22636         * sysdeps/tile/math_private.h (__fegetround): New inline function.
22637         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
22638         __fegetround and define as weak alias of __fegetround.  Use
22639         libm_hidden_weak.
22640         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
22641         __fegetround instead of fegetround.
22643         [BZ #17782]
22644         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
22645         Condition macro definition on [__USE_MISC].
22647         [BZ #17781]
22648         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
22649         (struct sigaction): Change type of sa_flags field to int.
22651         [BZ #17780]
22652         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
22653         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
22654         __glibc_reserved0.
22656         * nptl/version.c (banner): Use single year in copyright notice.
22658         * NEWS: Update copyright dates.
22659         * catgets/gencat.c (print_version): Likewise.
22660         * csu/version.c (banner): Likewise.
22661         * debug/catchsegv.sh: Likewise.
22662         * debug/pcprofiledump.c (print_version): Likewise.
22663         * debug/xtrace.sh (do_version): Likewise.
22664         * elf/ldconfig.c (print_version): Likewise.
22665         * elf/ldd.bash.in: Likewise.
22666         * elf/pldd.c (print_version): Likewise.
22667         * elf/sotruss.sh: Likewise.
22668         * elf/sprof.c (print_version): Likewise.
22669         * iconv/iconv_prog.c (print_version): Likewise.
22670         * iconv/iconvconfig.c (print_version): Likewise.
22671         * locale/programs/locale.c (print_version): Likewise.
22672         * locale/programs/localedef.c (print_version): Likewise.
22673         * login/programs/pt_chown.c (print_version): Likewise.
22674         * malloc/memusage.sh (do_version): Likewise.
22675         * malloc/memusagestat.c (print_version): Likewise.
22676         * malloc/mtrace.pl: Likewise.
22677         * manual/libc.texinfo: Likewise.
22678         * nptl/version.c (banner): Likewise.
22679         * nscd/nscd.c (print_version): Likewise.
22680         * nss/getent.c (print_version): Likewise.
22681         * nss/makedb.c (print_version): Likewise.
22682         * posix/getconf.c (main): Likewise.
22683         * scripts/test-installation.pl: Likewise.
22684         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22686 2015-01-02  Will Newton  <will.newton@linaro.org>
22688         * sysdeps/arm/armv7/configure: Removed.
22689         * sysdeps/arm/armv7/configure.ac: Likewise.
22691 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
22693         * All files with FSF copyright notices: Update copyright dates
22694         using scripts/update-copyrights.
22695         * intl/plural.c: Regenerated.
22696         * locale/programs/charmap-kw.h: Likewise.
22697         * locale/programs/locfile-kw.h: Likewise.
22699 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22701         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
22703 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
22705         [BZ #17748]
22706         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
22707         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
22708         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22709         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
22710         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22711         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
22712         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22713         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
22714         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22715         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22716         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22717         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22718         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22719         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22720         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
22721         libm_hidden_def.
22722         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
22723         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
22724         Likewise.
22725         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22726         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22727         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22728         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22729         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
22730         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22731         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
22732         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
22733         __fegetenv instead of fegetenv.
22734         (libc_feholdsetround_noex_ctx): Likewise.
22736 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
22738         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
22739         (Elf_MIPS_ABIFlags_v0): New structure.
22740         (EF_MIPS_FP64): Define.
22741         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
22742         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
22743         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
22744         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
22745         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
22746         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
22747         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
22748         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
22749         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
22750         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
22751         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
22752         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
22753         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
22754         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
22755         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
22756         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
22757         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
22758         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
22759         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
22760         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
22761         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
22762         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
22763         field.
22764         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
22765         EF_MIPS_FP64.
22766         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
22767         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
22768         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
22769         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
22770         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
22771         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
22772         * sysdeps/mips/tst-abi-interlink.c: Likewise.
22773         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
22774         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
22775         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
22776         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
22777         record the current FP ABI extension.
22778         (mips-mode-switch): Define to show if kernel headers support mode
22779         switching.
22780         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22781         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
22782         supported SYSV ABI version to 3.
22783         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
22784         feature.
22786 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22787             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22789         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
22790         path.
22791         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
22793 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
22795         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
22796         __fegetround and redefine to call __fegetround.  Remove condition
22797         on [!__NO_MATH_INLINES].
22798         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
22799         function.
22800         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
22801         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22802         Remove macro.
22803         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
22804         instead of <fenv_libc.h>.
22805         (__llrintl): Call fegetround instead of __fegetround.
22806         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
22807         instead of <fenv_libc.h>.
22808         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
22809         (__lrintl): Call fegetround instead of __fegetround.
22810         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
22811         instead of <fenv_libc.h>.
22812         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
22813         (__rintl): Call fegetround instead of __fegetround.
22815 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22817         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
22818         arrays.
22820 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
22822         [BZ #17775]
22823         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
22824         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
22825         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
22827 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22829         * sysdeps/i386/tls-macros.h: Include <features.h>.
22830         (TLS_LE): Use non-PIC version for GCC >= 5.0.
22831         (TLS_IE): Likewise.
22832         (TLS_LD): Likewise.
22833         (TLS_GD): Likewise.
22834         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
22835         define for GCC >= 5.0.
22837 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
22839         * math/test-fenv.c (test_single_exception, set_single_exc,
22840         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
22841         feexcp_mask_test, feenable_test, fe_single_test): Add
22842         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
22843         case where they are not used.
22844         * math/libm-test.inc: Likewise.
22845         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
22846         unused in the absence of FP rounding/exception support.
22847         * stdio-common/tst-printf-round.c: Likewise.
22848         * stdlib/tst-strtod-round.c: Likewise.
22849         * stdlib/tst-strtod-underflow.c: Likewise.
22851 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
22853         [BZ #17723]
22854         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
22855         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
22856         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22857         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22858         libm_hidden_weak.
22859         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
22860         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22861         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
22862         libm_hidden_def.
22863         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22864         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22865         libm_hidden_weak.
22866         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
22867         Likewise.
22868         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
22869         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22870         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22871         libm_hidden_weak.
22872         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22873         libm_hidden_def.
22874         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22875         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
22876         (__feraiseexcept): Likewise.
22877         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22878         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22879         libm_hidden_weak.
22880         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22881         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22882         libm_hidden_def.
22883         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
22884         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
22885         Use libm_hidden_def.
22886         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
22887         libm_hidden_def.
22888         (feraiseexcept): Define as weak not strong alias.  Use
22889         libm_hidden_weak.
22890         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
22891         New inline function.  Factored out of ...
22892         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
22893         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
22894         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
22895         feraiseexcept.
22896         * math/w_acos.c (__acos): Likewise.
22897         * math/w_asin.c (__asin): Likewise.
22898         * math/w_ilogb.c (__ilogb): Likewise.
22899         * math/w_j0.c (y0): Likewise.
22900         * math/w_j1.c (y1): Likewise.
22901         * math/w_jn.c (yn): Likewise.
22902         * math/w_log.c (__log): Likewise.
22903         * math/w_log10.c (__log10): Likewise.
22904         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
22905         * sysdeps/aarch64/fpu/math_private.h
22906         (libc_feupdateenv_test_aarch64): Likewise.
22907         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22908         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
22909         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
22910         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22911         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22912         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22913         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
22914         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22915         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22916         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22918 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
22920         [BZ #17732]
22921         * io/test-utime.c (main): Replace %ld with %jd and cast to
22922         intmax_t.
22923         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
22924         * nptl/tst-mutex5.c: Include <stdint.h>.
22925         (do_test): Replace %ld with %jd and cast to intmax_t.
22926         * posix/tst-regex.c (run_test): Likewise.
22927         (run_test_backwards): Likewise.
22928         * rt/tst-clock.c: Include <stdint.h>.
22929         (clock_test): Replace %ld with %jd and cast to intmax_t.
22930         * rt/tst-cpuclock1.c: Include <stdint.h>.
22931         (do_test): Replace %lu with %ju and cast to uintmax_t.
22932         * rt/tst-cpuclock2.c: Include <stdint.h>.
22933         (do_test): Replace %lu with %ju and cast to uintmax_t.
22934         * rt/tst-mqueue1.c: Include <stdint.h>.
22935         (check_attrs): Replace %ld with %jd and cast to intmax_t.
22936         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
22937         intmax_t.
22938         * rt/tst-mqueue4.c (do_test): Likewise.
22939         * rt/tst-timer4.c: Include <stdint.h>.
22940         (check_ts): Replace %ld with %jd and cast to intmax_t.
22941         (do_test): Likewise.
22942         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
22943         and cast to intmax_t.
22944         * sysdeps/pthread/tst-timer.c (main): Likewise.
22945         * time/clocktest.c (main): Likewise.
22946         * time/tst-posixtz.c (do_test): Likewise.
22947         * timezone/tst-timezone.c (main): Likewise.
22949 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22950             H.J. Lu  <hongjiu.lu@intel.com>
22952         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
22953         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
22954         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
22955         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
22956         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
22957         version if bit_Fast_Unaligned_Load is set.
22958         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22959         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22960         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22961         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22962         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22963         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22964         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22965         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
22966         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
22967         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
22968         to 4.
22969         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
22970         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
22971         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
22972         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
22974 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
22976         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
22977         instead of #if to avoid a Wundef warning.
22978         * stdlib/tst-limits.c (do_test): Likewise.
22980         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
22981         parallel other exception macros.
22982         (fegetenv): Convert from macro to extern inline so that it applies
22983         retroactively to inline functions already seen by the compiler.
22984         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
22986         * posix/Makefile (before-compile): Use $(objpfx) for
22987         posix-conf-vars-def.h.
22989 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22991         * posix/getconf.c (main): Use size_t for type of I.
22992         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
22993         NSPEC.
22995         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
22996         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
22997         * posix/posix-envs.def: Likewise.
22998         * sysdeps/posix/sysconf.c: Likewise.
22999         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
23000         (specs): Remove array.
23001         * scripts/gen-posix-conf-vars.awk: Support generation of specs
23002         array.
23004         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
23005         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
23006         (__sysconf): Use CONF_IS_* macros.
23008         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
23009         ($(objpfx)posix-conf-vars-def.h): New target.
23010         * posix/posix-conf-vars.list: New file.
23011         * posix/posix-conf-vars.h: New file.
23012         * posix/confstr.c: Include posix-conf-vars.h.
23013         (confstr): Use CONF_IS_* macros.
23014         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
23015         CONF_IS_* macros.
23016         * scripts/gen-posix-conf-vars.awk: New file.
23018 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
23020         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
23021         fegetround): Add no-op macros to avoid linknamespace issues.
23023         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
23024         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
23026         * sysdeps/unix/sysv/linux/tile/sysdep.h
23027         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
23028         assembly-specific section to avoid a redefinition warning.
23030         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
23031         long before casting to pointer to avoid a cast warning.
23033 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
23035         * sysdeps/tile/tilegx/Implies: New file.
23037 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
23039         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
23041 2014-12-23  Florian Weimer  <fweimer@redhat.com>
23043         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
23045 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23047         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
23048         not define.
23049         * sysdeps/unix/sysv/linux/utimes.c: Do not include
23050         <kernel-features.h>.
23051         (__utimes) [__NR_utimes]: Make code unconditional.
23052         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
23053         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23054         (__ASSUME_UTIMES): Do not undefine.
23055         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23056         (__ASSUME_UTIMES): Likewise.
23057         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23058         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
23059         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
23060         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
23062 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
23064         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
23066 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
23068         [BZ #17747]
23069         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
23070         alias to weak alias for j0l, y0l.
23071         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
23072         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
23074         [BZ #17746]
23075         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
23076         conversion.
23078 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
23080         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
23081         to zero if not already defined.
23083 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23085         [BZ #17724]
23086         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
23087         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
23088         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
23089         (char *) casts added.
23090         * sysdeps/ieee754/k_standardf.c: New file.
23091         * sysdeps/ieee754/k_standardl.c: Likewise.
23092         * math/Makefile (libm-support): Remove k_standard.
23093         (libm-calls): Add k_standard.
23095 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23097         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23098         Optimize to avoid an unnecessary FPCR read.
23100 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23102         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
23103         Optimize to reduce FPCR/FPSR accesses.
23105 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23107         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
23108         Call libc_fetestexcept_aarch64.
23110 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23112         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
23113         Call libc_fesetround_aarch64.
23115 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23117         [BZ #17733]
23118         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
23119         (__bind): Do not define as weak alias.
23120         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
23121         define.
23122         (__getsockname): Do not define as weak alias.
23124 2014-12-22  Will Newton  <will.newton@linaro.org>
23126         * manual/install.texi: Document that we require bison 2.7
23127         or above.
23128         * INSTALL: Regenerate.
23129         * configure.ac: Use AC_CHECK_PROG_VER instead of
23130         AC_PATH_PROG when checking for bison and check for
23131         version 2.7 or above.
23132         * configure: Regenerate.
23134 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
23136         [BZ #17745]
23137         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
23138         * sysdeps/tile/ffsll.c (ffsll): To here.
23140         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
23142 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
23144         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
23145         if not defined.
23146         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
23147         definition.
23148         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23149         hidden ___tls_get_addr.
23150         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23151         hidden __tls_get_addr.
23152         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
23153         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
23154         Likewise.
23156 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
23158         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
23159         _dl_init call.
23161 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
23163         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
23164         from "call _dl_init@PLT".
23165         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
23167 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
23169         * manual/search.texi: (Array Sort Function): Clarify stable sorting
23170         guarantees.
23172 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
23174         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
23176 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
23178         [BZ #17744]
23179         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
23180         strnlen.
23182 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
23184         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
23185         of multu on MIPSr6.
23186         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
23187         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
23188         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
23189         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
23190         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
23192 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
23194         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
23195         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
23196         (PTR_SUBU): Use subu for mips32r6/mips64r6.
23197         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
23198         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
23199         mips32r6/mips64r6.
23200         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
23202 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
23204         * string/strncat.c (STRNCAT): Simplify implementation.
23206 2014-12-19  David S. Miller  <davem@davemloft.net>
23208         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
23209         access the quad as both a long double and as a series of 4 words.
23211         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
23212         link_map->l_info array access.
23214 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
23216         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
23218         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
23219         * math/atest-exp2.c (TIMEOUT): Likewise.
23220         * math/atest-sincos.c (TIMEOUT): Likewise.
23222 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23224         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
23225         -Wno-error with -fno-builtin-lround.
23227 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23229         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
23230         Contains futex constants and functions moved over from ...
23231         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
23232         <lowlevellock-futex.h>.
23233         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
23234         (lll_timedwait_tid): Add comments and parentheses around macro
23235         arguments.
23237 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23239         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
23240         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
23241         (__lll_private_flag): Remove.
23242         (lll_futex_wait): Likewise.
23243         (lll_futex_timed_wait): Likewise.
23244         (lll_futex_wake): Likewise.
23245         (lll_futex_requeue): Likewise.
23246         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
23247         (__lll_timedwait_tid): Spell out argument names.
23248         (lll_timedwait_tid): Add comments and parentheses around macro
23249         arguments.
23250         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
23251         LLL_SHARED and LLL_PRIVATE usable from assembly code.
23253 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23255         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
23256         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
23257         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23258         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
23259         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
23260         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
23261         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
23262         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
23263         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
23264         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
23265         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
23266         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
23267         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
23268         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
23269         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
23270         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
23271         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
23272         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
23273         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
23275 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23277         * sysdeps/x86_64/x32/Makefile: New file.
23279 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23281         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
23282         1L with (mp_limb_t) 1.
23284 2014-12-17  Roland McGrath  <roland@hack.frob.com>
23286         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
23287         * nptl/libc_pthread_init.c: ... here.
23288         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
23289         * nptl/register-atfork.c: ... here.
23291         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
23292         Use pthread_sigmask rather than INTERNAL_SYSCALL.
23293         Use assert_perror to check its return value.
23294         (__gai_create_helper_thread): Likewise.
23296         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
23298         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
23300 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
23302         [BZ #17725]
23303         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
23304         __profil_counter.
23305         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
23306         Likewise.
23307         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
23308         Likewise.
23309         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
23310         Likewise.
23311         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
23312         (profil_counter): Likewise.
23313         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
23314         (profil_counter): Likewise.
23315         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
23316         Likewise.
23317         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
23318         Likewise.
23319         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
23320         (profil_counter): Likewise.
23321         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
23322         Likewise.
23323         [!__profil_counter] (profil_counter): Define as weak alias of
23324         __profil_counter.
23325         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
23326         (profil_counter): Rename to __profil_counter.
23327         [!__profil_counter] (profil_counter): Define as weak alias of
23328         __profil_counter.
23329         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
23330         (profil_counter): Rename to __profil_counter.
23331         [!__profil_counter] (profil_counter): Define as weak alias of
23332         __profil_counter.
23333         * sysdeps/posix/profil.c: Update comment referring to
23334         profil_counter.
23335         (__profil): Use __profil_counter instead of profil_counter.
23336         * sysdeps/posix/sprofil.c (profil_counter): Rename to
23337         __profil_counter.  Use __profil_counter_ushort and
23338         __profil_counter_uint in definitions.
23339         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
23340         instead of profil_counter_uint and profil_counter_ushort.
23342         [BZ #17722]
23343         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
23344         define as weak alias of __inet_makeaddr.
23345         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
23346         as weak alias of __inet_addr.
23347         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
23348         as weak alias of __inet_pton.  Use libc_hidden_weak.
23349         * include/arpa/inet.h (__inet_pton): Declare.  Use
23350         libc_hidden_proto.
23351         (inet_makeaddr): Don't use libc_hidden_proto.
23352         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
23353         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
23354         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
23355         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
23356         Remove variable.
23357         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
23358         (test-xfail-POSIX/time.h/linknamespace): Likewise.
23360 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
23362         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
23364 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23366         * stdio-common/bug-vfprintf-nargs.c (do_test):
23367         Cast value to intptr_t to avoid format warning
23368         for usage with PRIdPTR printing macro.
23370 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23372         * libio/tst-widetext.c (do_test):
23373         Use format type %td instead of %Zd for ptrdiff_t
23374         in order to avoid format warning.
23376 2014-12-17  Andreas Schwab  <schwab@suse.de>
23378         * nscd/mem.c (gc): Add size_t cast to match printf format.
23380 2014-12-16  Roland McGrath  <roland@hack.frob.com>
23382         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
23383         (init): Apply PTR_MANGLE to pointers before storing them.
23384         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
23385         before using them.
23387 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
23389         [BZ #17719]
23390         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
23391         define as weak alias of __memrchr.
23392         (__memrchr): Do not define as strong alias of memrchr.
23393         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
23394         Remove variable.
23395         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
23396         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
23397         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
23399         [BZ #17717]
23400         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
23401         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
23402         (if_indextoname): Rename to __if_indextoname and define as weak
23403         alias of __if_indextoname.  Use libc_hidden_weak.
23404         (if_freenameindex): Rename to __if_freenameindex and define as
23405         weak alias of __if_freenameindex.
23406         (if_nameindex): Rename to __if_nameindex and define as weak alias
23407         of __if_nameindex.
23408         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
23409         __if_nametoindex and define as weak alias of __if_nametoindex.
23410         Use libc_hidden_weak.
23411         (if_freenameindex): Rename to __if_freenameindex and define as
23412         weak alias of __if_freenameindex.
23413         (if_nameindex): Rename to __if_nameindex and define as weak alias
23414         of __if_nameindex.
23415         (if_indextoname): Rename to __if_indextoname and define as weak
23416         alias of __if_indextoname.  Use libc_hidden_weak.
23417         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
23418         __if_nametoindex and define as weak alias of __if_nametoindex.
23419         Use libc_hidden_weak.
23420         (if_freenameindex): Rename to __if_freenameindex and define as
23421         weak alias of __if_freenameindex.  Use libc_hidden_weak.
23422         (if_nameindex_netlink): Use __if_freenameindex instead of
23423         if_freenameindex.
23424         (if_nameindex): Rename to __if_nameindex and define as weak alias
23425         of __if_nameindex.  Use libc_hidden_weak.
23426         (if_indextoname): Rename to __if_indextoname and define as weak
23427         alias of __if_indextoname.  Use libc_hidden_weak.
23428         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
23429         libc_hidden_proto.
23430         [!_ISOMAC] (__if_freenameindex): Likewise.
23431         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
23432         if_nametoindex.
23433         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
23434         variable.
23435         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
23436         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
23437         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
23438         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
23439         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
23440         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
23441         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
23443         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
23444         Remove variable.
23445         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
23446         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
23448 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23450         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
23451         subscript above bounds'
23453         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
23454         bounds.
23456 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
23458         * libio/tst-fopenloc.c: Use test-skeleton.c.
23460         * stdlib/tst-bsearch.c: Use test-skeleton.c.
23461         (entry): Rename to ITEM.
23462         (do_test, comp): Adjust.
23464         * stdio-common/tst-fseek.c: Use test-skeleton.c.
23466 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23468         * string/tester.c: Include <libc-internal.h>.
23469         (test_memset): Ignore -Wmemset-transposed-args.
23471 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23473         * misc/tst-mntent2.c (do_test): Fix warning.
23475 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23477         * elf/tst-unique4lib.cc(a): Mark as used.
23479 2014-12-16  Florian Weimer  <fweimer@redhat.com>
23481         [BZ #17630]
23482         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
23483         names.
23485 2014-12-16  Allan McRae  <allan@archlinux.org>
23487         * stdio-common/Makefile (tests): Re-add bug26.
23489 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
23491         [BZ #17657]
23492         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
23493         static array.
23495 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
23497         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
23498         (__lll_lock_wait): Likewise.
23499         (__lll_timedlock_wait): Likewise.
23500         (__lll_timedwait_tid): Likewise.
23501         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
23502         (__lll_robust_timedlock_wait): Likewise.
23503         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
23504         (lll_cond_trylock): Likewise.
23505         (__lll_lock): Likewise.
23506         (__lll_robust_lock): Likewise.
23507         (__lll_cond_lock): Likewise.
23508         (lll_robust_cond_lock): Likewise.
23509         (__lll_timedlock): Likewise.
23510         (__lll_robust_timedlock): Likewise.
23511         (__lll_unlock): Likewise.
23512         (__lll_robust_unlock): Likewise.
23513         (lll_wait_tid): Likewise.
23514         (lll_timedwait_tid): Likewise.
23516 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23518         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
23520 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23522         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
23524 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
23526         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
23527         * stdio-common/tst-sprintf.c: Likewise.
23529 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23531         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
23533 2014-12-15  Jeff Law  <law@redhat.com>
23535         [BZ #16617]
23536         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
23537         on the heap.  (CVE-2012-3406)
23538         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
23539         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
23540         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
23542 2014-12-15  Will Newton  <will.newton@linaro.org>
23544         * manual/install.texi: Bump required version of texinfo
23545         to 4.7 from 4.5.
23546         * INSTALL: Regenerated.
23547         * configure.ac: Check for makeinfo version 4.7 and above.
23548         * configure: Regenerated.
23550 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23552         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
23553         PREFIX, string constant to insert between directory and name.
23554         * sysdeps/posix/shm_open.c: Update caller.
23555         * sysdeps/posix/shm_unlink.c: Likewise.
23556         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
23557         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
23558         (SEM_SHM_PREFIX): New macro.
23559         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
23560         [$(have-thread-library) = no].
23561         * nptl/Makefile (libpthread-routines): Add shm-directory.
23562         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
23563         * sysdeps/nptl/shm-directory.h: New file.
23564         * sysdeps/posix/shm-directory.c
23565         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
23566         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
23567         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
23568         INTERNAL_SYSCALL.
23569         (__where_is_shmfs): Function removed.
23570         (mountpoint, defaultmount, defaultdir, __namedsem_once):
23571         Variables removed.
23572         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
23573         Use SHM_GET_NAME.
23574         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
23576         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
23577         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
23578         unconditional for use inside libpthread.
23579         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
23581 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23583         * nptl/pthread_getaffinity.c: New file.
23584         * nptl/pthread_setaffinity.c: New file.
23585         * nptl/pthread_getname.c: New file.
23586         * nptl/pthread_setname.c: New file.
23588         * nptl/pthread_create.c (START_THREAD_DEFN)
23589         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
23591 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23592             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23594         * resolv/res_send.c (send_vc): Disable warning resplen may
23595         be used uninitialized.
23597 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23599         * nptl/tst-mutex6.c
23600         (ATTR_NULL): New define checks ATTR against NULL.
23601         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
23602         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
23604 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
23606         [BZ #17581]
23607         * malloc/hooks.c
23608         (mem2mem_check): Revert my previous change.
23609         (malloc_check_get_size): Revert my previous change.
23610         (mem2chunk_check): Revert my previous change.
23612 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23614         * sysdeps/posix/shm-directory.c: New file.
23615         * sysdeps/posix/shm-directory.h: New file.
23616         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
23617         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
23618         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
23619         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
23620         Transmute EPERM to EACCES.
23621         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
23622         from ...
23623         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
23624         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
23626 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23628         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
23629         pointer and cast to uintptr_t.
23630         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
23631         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
23632         Add cast to avoid warning.
23633         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
23635 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
23637         * nptl/semaphore.h: Move to ...
23638         * sysdeps/pthread/semaphore.h: ... here.
23639         * Makefile (installed-headers): Change nptl/semaphore.h to
23640         sysdeps/pthread/semaphore.h.
23642 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23644         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
23645         generated error format strings.
23647         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
23648         -Wformat-extra-args warnings for scanf formats.
23649         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
23650         test of zero-length format (duh).
23651         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
23652         corner-case scanf format test.
23653         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
23654         generated fprintf format string.
23655         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
23656         corner-case sprintf format tests.
23657         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
23658         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
23659         -Wformat-extra-args warnings throughout.
23660         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
23661         (CFLAGS-scanf4.c): Likewise.
23662         (CFLAGS-scanf7.c): Likewise.
23663         (CFLAGS-tst-sprintf.c): Likewise.
23664         (CFLAGS-tst-printf.c): Likewise.
23665         (CFLAGS-tst-printfsz.c): Likewise.
23667 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
23669         * include/cpio.h: New file.
23670         * include/fmtmsg.h: Likewise.
23672         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
23673         corresponding format argument to size_t.
23674         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
23675         arguments.
23676         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
23677         corresponding format argument to size_t.
23678         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
23679         arguments.
23680         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
23681         corresponding format argument to size_t.
23682         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
23683         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
23684         (CFLAGS-tst-mbswcs2.c): Likewise.
23685         (CFLAGS-tst-mbswcs3.c): Likewise.
23686         (CFLAGS-tst-mbswcs4.c): Likewise.
23687         (CFLAGS-tst-mbswcs5.c): Likewise.
23688         (CFLAGS-tst-trans.c): Likewise.
23690 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23692         * posix/regexbug1.c (main): Use "%s" format with regerror results,
23693         rather than assuming they won't contain any '%'s.
23695 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
23697         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
23698         inhibit_loop_to_libcall to avoid recursive calls.
23699         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
23700         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
23702 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
23704         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
23705         prototype.
23707 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
23709         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
23710         integer value instead of boolean.
23712 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
23714         * malloc/malloc.c: Fix powerof2 check.
23716 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23718         * locale/programs/locfile.h (maybe_swap_uint32):
23719         Remove inline and add unused attribute.
23721 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23723         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23724         Truncating assembler expression to a .long expression.
23726 2014-12-11  Andreas Schwab  <schwab@suse.de>
23728         * elf/rtld.c (struct map_args): Constify str member.
23729         (do_preload): Constify fname argument.
23731 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23733         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
23734         constants definition.
23736 2014-12-11  Andreas Schwab  <schwab@suse.de>
23738         [BZ #16657]
23739         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
23740         FORCE_ELISION instead of DO_ELISION.
23741         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
23742         Remove.
23743         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
23744         Likewise.
23746         * iconvdata/gconv-modules: Remove duplicate entry.
23748 2014-12-11  Will Newton  <will.newton@linaro.org>
23750         Merge gettext 0.19.3 into intl/.
23752         This involves a number of cosmetic changes to comments
23753         and ANSI function definitions and prototypes throughout
23754         all the files. The gettext copyright header is used but
23755         with the date ranges taken from the glibc copy.
23757         * NEWS: Add gettext merge to 2.21.
23758         * intl/bindtextdom.c: Switch to gettext copyright.
23759         Use ANSI definitions and prototypes.
23760         Use gl_* locking primitives rather than __libc_* ones.
23761         Use __builtin_expect rather than __glibc_likely/unlikely.
23762         * intl/dcgettext.c: Switch to gettext copyright.
23763         Use ANSI definitions and prototypes.
23764         * intl/dcigettext.c: Switch to gettext copyright.
23765         Use ANSI definitions and prototypes.
23766         (INTDIV0_RAISES_SIGFPE): New define.
23767         Use gl_* locking primitives rather than __libc_* ones.
23768         Include eval-plural.h instead of plural-eval.c.
23769         Use __builtin_expect rather than __glibc_likely/unlikely.
23770         * intl/dcngettext.c: Switch to gettext copyright.
23771         Use ANSI definitions and prototypes.
23772         * intl/dgettext.c: Likewise.
23773         * intl/dngettext.c: Likewise.
23774         * intl/plural-eval.c: Renamed to...
23775         * intl/eval-plural.h: ...this.
23776         * intl/explodename.c: Switch to gettext copyright.
23777         Use ANSI definitions and prototypes.
23778         (_nl_explode_name): Use strchr instead of __rawmemchr.
23779         * intl/finddomain.c: Switch to gettext copyright.
23780         Use ANSI definitions and prototypes.
23781         Use gl_* locking primitives rather than __libc_* ones.
23782         (_nl_find_domain): Use malloc rather than alloca for
23783         allocation of temporary locale name.
23784         * intl/gettext.c: Switch to gettext copyright.
23785         Use ANSI definitions and prototypes.
23786         * intl/gettextP.h: Switch to gettext copyright.
23787         Use ANSI definitions and prototypes.
23788         Use gl_* locking primitives rather than __libc_* ones.
23789         * intl/gmo.h: Switch to gettext copyright.
23790         (struct sysdep_string): Move struct segment_pair outside of
23791         struct definition.
23792         * intl/hash-string.c: Use ANSI definitions and prototypes.
23793         * intl/hash-string.h: Switch to gettext copyright.
23794         Use ANSI definitions and prototypes.
23795         * intl/l10nflist.c: Switch to gettext copyright.
23796         Use ANSI definitions and prototypes.
23797         (_nl_normalize_codeset): Avoid integer overflow.
23798         * intl/loadinfo.h: Switch to gettext copyright.
23799         Use ANSI definitions and prototypes.
23800         (LIBINTL_DLL_EXPORTED): New define.
23801         (PATH_SEPARATOR): New define.
23802         * intl/loadmsgcat.c: Switch to gettext copyright.
23803         * intl/localealias.c: Switch to gettext copyright.
23804         Use ANSI definitions and prototypes.
23805         (_nl_expand_alias): Use PATH_SEPARATOR.
23806         * intl/ngettext.c: Switch to gettext copyright.
23807         Use ANSI definitions and prototypes.
23808         * intl/plural-exp.c: Likewise.
23809         * intl/plural-exp.h: Switch to gettext copyright.
23810         Use ANSI definitions and prototypes.
23811         (struct expression): Move definition of enum operator outside
23812         of struct definition.
23813         * intl/plural.c: Regenerate.
23814         * intl/plural.y: Switch to gettext copyright.
23815         Use ANSI definitions and prototypes.
23816         Port to bison 3.0.
23817         * intl/textdomain.c: Switch to gettext copyright.
23818         Use ANSI definitions and prototypes.
23819         Use gl_* locking primitives rather than __libc_* ones.
23821 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
23823         * debug/warning-nop.c: Add used atrribute.
23825 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23827         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
23829         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
23830         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
23831         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
23833 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23834             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23836         [BZ #17634]
23837         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
23838         Undefine after defining function.  Define as weak alias of
23839         __wcschr.  Use libc_hidden_weak.
23840         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
23841         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
23842         (libc_hidden_def): Also define __GI___wcschr alias.
23843         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
23844         __wcschr and define as weak alias of __wcschr.
23845         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
23846         __wcschr.
23847         [!WCSCHR] (DEFAULT_WCSCHR): Define.
23848         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
23849         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
23850         libc_hidden_weak.  Do not use libc_hidden_def.
23851         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
23852         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
23853         __GI___wcschr alias.
23854         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
23855         [IS_IN (libc)] (wcschr): Define as macro expanding to
23856         __redirect_wcschr.
23857         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
23858         [IS_IN (libc)] (__wcschr_power6): Likewise.
23859         [IS_IN (libc)] (__wcschr_power7): Likewise.
23860         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
23861         instead of wcschr.
23862         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
23863         __libc_wcschr.
23864         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
23865         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
23866         __wcschr and define as weak alias of __wcschr.  Use
23867         libc_hidden_builtin_def.
23868         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
23869         as weak alias of __wcschr.  Use libc_hidden_weak.
23870         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
23871         wcschr.
23872         * time/era.c (_nl_init_era_entries): Likewise.
23873         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
23874         variable.
23875         (test-xfail-XPG3/time.h/linknamespace): Likewise.
23876         (test-xfail-XPG4/time.h/linknamespace): Likewise.
23878 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23880         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
23881         format for long int variable.
23883 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
23885         [BZ #10672]
23886         * manual/search.texi: (Array Sort Function): Remove claim how to make
23887         qsort stable.
23889 2014-12-10  Andreas Schwab  <schwab@suse.de>
23891         [BZ #12847]
23892         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
23893         user-controlled locks.
23895 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
23897         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
23898         register.
23900 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23902         * configure.ac (--disable-werror): New configure option.
23903         (enable_werror): New AC_SUBST.
23904         * configure: Regenerated.
23905         * config.make.in (enable-werror): New variable.
23906         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
23907         -Wno-error=undef.
23908         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
23909         * manual/install.texi (Configuring and compiling): Document
23910         --disable-werror.
23911         * INSTALL: Regenerated.
23912         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
23913         (CFLAGS-tst-chk2.c): Likewise.
23914         (CFLAGS-tst-chk3.c): Likewise.
23915         (CFLAGS-tst-chk4.cc): Likewise.
23916         (CFLAGS-tst-chk5.cc): Likewise.
23917         (CFLAGS-tst-chk6.cc): Likewise.
23918         (CFLAGS-tst-lfschk1.c): Likewise.
23919         (CFLAGS-tst-lfschk2.c): Likewise.
23920         (CFLAGS-tst-lfschk3.c): Likewise.
23921         (CFLAGS-tst-lfschk4.cc): Likewise.
23922         (CFLAGS-tst-lfschk5.cc): Likewise.
23923         (CFLAGS-tst-lfschk6.cc): Likewise.
23925         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
23926         (main): Disable -Wdeprecated-declarations around calls to
23927         register_printf_function.
23929         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
23930         (do_test): Disable -Wdiv-by-zero around some calls to
23931         fwrite_unlocked and fread_unlocked.
23933         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
23934         (DIAG_POP_NEEDS_COMMENT): Likewise.
23935         (_DIAG_STR1): Likewise.
23936         (_DIAG_STR): Likewise.
23937         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
23938         * stdio-common/bug21.c: Include <libc-internal.h>.
23939         (do_test): Disable -Wformat around call to sscanf.
23940         * stdio-common/scanf14.c: Include <libc-internal.h>.
23941         (main): Disable -Wformat around some calls to scanf functions.
23943 2014-12-09  Torvald Riegel  <triegel@redhat.com>
23945         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
23947 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23949         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
23950         stack variable alignment.
23952 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
23954         [BZ #17682]
23955         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
23956         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
23957         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
23958         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
23959         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
23960         __getrlimit instead of getrlimit.
23961         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
23962         __gettimeofday instead of gettimeofday.
23963         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23964         Likewise.
23965         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23966         Likewise.
23967         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23968         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
23969         Remove variable.
23970         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
23971         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
23973 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23975         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
23976         for wide-character tests.
23978 2014-12-04  Roland McGrath  <roland@hack.frob.com>
23980         * io/openat64.c: #include <libc-internal.h>
23981         (__openat64): Prototypify.  Use ignore_value on MODE.
23982         * io/openat.c: Likewise.
23983         * misc/reboot.c: #include <libc-internal.h>
23984         (reboot): Prototypify.  Use ignore_value on HOWTO.
23985         * misc/ptrace.c: #include <libc-internal.h>
23986         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
23988 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
23990         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
23991         XPG4, UNIX98 and XOPEN2K.
23992         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
23993         Remove variable.
23994         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
23996 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23998         * libio/fileops.c: Use ISO C style for function definitions.
23999         * libio/iofopen.c: Likewise.
24000         * libio/wfileops.c: Likewise.
24002         [BZ #17653]
24003         * libio/fileops.c (_IO_new_file_underflow): Unset cached
24004         offset on EOF.
24005         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
24006         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
24007         (fgets_func): Function pointer to fgets and fgetws.
24008         (do_ftell_test): Add test to verify ftell value after read
24009         EOF.
24010         (do_test): Set fgets_func.
24012         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
24013         O_TRUNC flag for w and w+ modes.
24014         (do_rewind_test): Likewise.
24015         (do_ftell_test): Likewise.
24016         (do_write_test): Likewise.
24018         [BZ #17647]
24019         * libio/fileops.c (do_ftell): Seek only when there are
24020         unflushed writes.
24021         * libio/wfileops.c (do_ftell_wide): Likewise.
24022         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
24023         test case.
24024         (do_one_test): Call it.
24026 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
24028         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
24029         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
24030         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
24031         Remove variable.
24032         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
24033         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
24034         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
24036 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
24038         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
24039         Remove variable.
24040         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
24042         [BZ #17668]
24043         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
24044         as weak alias of __getifaddrs.  Use libc_hidden_weak.
24045         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24046         __freeifaddrs.  Use libc_hidden_weak.
24047         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
24048         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
24049         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24050         __freeifaddrs.  Use libc_hidden_weak.
24051         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
24052         __getifaddrs and define as weak alias of __getifaddrs.  Use
24053         libc_hidden_weak.
24054         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24055         __freeifaddrs.  Use libc_hidden_weak.
24056         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
24057         Remove variable.
24058         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
24059         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
24061 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
24063         [BZ #17601]
24064         * sysdeps/mips/start.S (__start): Use indirect jump to call
24065         __libc_start_main.
24067 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
24069         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
24071         * nptl/tst-mutex1.c: Include <stdbool.h>.
24072         [!ATTR] (ATTR_NULL): New macro.
24073         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
24074         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
24075         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
24077         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
24078         to char *.
24080         [BZ #17665]
24081         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
24082         Change conditional to [__USE_MISC].
24084         [BZ #17664]
24085         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
24086         fgets_unlocked.
24087         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
24088         __fgets_unlocked.
24089         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
24090         fgets_unlocked.
24091         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
24092         Remove variable.
24093         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
24094         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
24095         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
24096         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
24097         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
24098         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
24099         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
24100         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
24101         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
24103         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
24105 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24107         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24108         Remove strpbrk objects.
24109         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24110         (__libc_ifunc_impl_list): Remove strpbrk implementation.
24111         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
24112         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
24113         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
24114         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
24116         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24117         Remove strcspn objects.
24118         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24119         (__libc_ifunc_impl_list): Remove strcspn implementation.
24120         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
24121         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
24122         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
24123         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
24125         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24126         Remove strspn objetcs.
24127         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24128         (__libc_ifunc_impl_list): Remove strspn implementation.
24129         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
24130         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24131         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
24132         * sysdeps/powerpc/powerpc64/strspn.S: New file.
24134 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
24136         [BZ #17581]
24137         * malloc/hooks.c
24138         (mem2mem_check): Add a terminator to the chain of checking blocks.
24139         (malloc_check_get_size): Use it here.
24140         (mem2chunk_check): Ditto.
24142 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24144         * sysdeps/powerpc/powerpc64/strtok.S: New file.
24145         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
24147 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
24149         * bits/ioctl-types.h: Indent preprocessor directives correctly.
24151         * nptl/nptl-init.c: Include libc-internal.h.
24152         (__pthread_initialize_minimal_internal): Use ROUND_UP.
24154         * elf/ldconfig.c (search_dir): Expand comment.
24156 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
24158         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
24159         variable.
24160         (linknamespace-symlist-stdlibs-tests): Likewise.
24161         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
24162         instead of $(objpfx)symlist-stdlibs.
24163         (linknamespace-libs-isoc): New variable.
24164         (linknamespace-libs): Use $(linknamespace-libs-isoc).
24165         (linknamespace-libs-ISO): New variable.
24166         (linknamespace-libs-ISO99): Likewise.
24167         (linknamespace-libs-ISO11): Likewise.
24168         (linknamespace-libs-XPG3): Likewise.
24169         (linknamespace-libs-XPG4): Likewise.
24170         (linknamespace-libs-POSIX): Likewise.
24171         (linknamespace-libs-UNIX98): Likewise.
24172         (linknamespace-libs-XOPEN2K): Likewise.
24173         (linknamespace-libs-POSIX2008): Likewise.
24174         (linknamespace-libs-XOPEN2K8): Likewise.
24175         ($(objpfx)symlist-stdlibs): Replace by
24176         $(linknamespace-symlist-stdlibs-tests).  Use
24177         $(linknamespace-libs-$*) as set of libraries.
24178         ($(linknamespace-header-tests)): Update dependencies.  Use
24179         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
24180         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
24181         * conform/linknamespace.pl: Remove comment about considering
24182         definitions of symbols from irrelevant libraries.
24184 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
24186         [BZ #13862]
24187         * elf/dl-tls.c: Include <atomic.h>.
24188         (oom): Remove #ifdef SHARED/#endif.
24189         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
24190         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
24191         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
24192         big enough.
24193         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
24194         * nptl/Makefile (tests): Add tst-stack4.
24195         (modules-names): Add tst-stack4mod.
24196         ($(objpfx)tst-stack4): New.
24197         (tst-stack4mod.sos): Likewise.
24198         ($(objpfx)tst-stack4.out): Likewise.
24199         ($(tst-stack4mod.sos)): Likewise.
24200         (clean): Likewise.
24201         * nptl/tst-stack4.c: New file.
24202         * nptl/tst-stack4mod.c: Likewise.
24204 2014-11-27  J. Brown  <jb999@gmx.de>
24206         * sysdeps/x86/bits/string.h: Add recent CPUs.
24208 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
24210         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
24211         sigblock.
24213         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
24214         feof.
24216         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
24217         variable.
24219 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
24221         * nscd/connections.c: Include libc-internal.h because of macro
24222         usage ignore_value.
24224 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24226         * string/bits/string3.h (__warn_memset_zero_len): Don't
24227         declare for gcc newer than 5.0.
24228         (memset): Don't test for zero-length __LEN for gcc newer than
24229         5.0.
24231 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
24233         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
24234         size_t for %zu format.
24236         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
24237         difference, not %ju.
24239 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
24241         * include/libc-internal.h (ignore_value): New macro.
24242         * nscd/connections.c (restart): Wrap calls to setuid and setgid
24243         with ignore_value.
24245         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
24246         definition.
24248         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
24249         pthread_cleanup_push to void *.
24251         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
24252         Undefine.
24254         [BZ #16619]
24255         [BZ #16740]
24256         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
24257         instead of 1L << 52.
24259         * libio/bug-rewind.c (do_test): Check fwscanf return values.
24260         * libio/bug-rewind2.c (do_test): Likewise.
24262         * debug/test-stpcpy_chk-ifunc.c: Remove file.
24263         * debug/test-strcpy_chk-ifunc.c: Likewise.
24264         * wcsmbs/test-wcschr-ifunc.c: Likewise.
24265         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24266         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24267         * wcsmbs/test-wcslen-ifunc.c: Likewise.
24268         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24269         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24270         * Rules [$(multi-arch) = no] (tests): Do not filter out
24271         $(tests-ifunc).
24272         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
24273         * debug/Makefile (tests-ifunc): Remove variable.
24274         (tests): Do not add $(tests-ifunc).
24275         * wcsmbs/Makefile (tests-ifunc): Remove variable.
24276         (tests): Do not add $(tests-ifunc).
24277         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
24278         [TEST_IFUNC]: Remove conditionals.
24279         * string/test-string.h (TEST_IFUNC): Remove macro.
24280         [TEST_IFUNC]: Remove conditionals.
24282         * string/test-strchr.c [!WIDE] (L): New macro.
24283         [WIDE] (L): Likewise.
24284         (check1): Use CHAR instead of char.  Use L on string and character
24285         constants.
24287 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
24289         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
24290         tests.
24291         * sysdeps/powerpc/bits/atomic.h
24292         (__arch_atomic_exchange_and_add_32_acq): Add definition.
24293         (__arch_atomic_exchange_and_add_32_rel): Likewise.
24294         (atomic_exchange_and_add_acq): Likewise.
24295         (atomic_exchange_and_add_rel): Likewise.
24296         * sysdeps/powerpc/powerpc32/bits/atomic.h
24297         (__arch_atomic_exchange_and_add_64_acq): Add definition.
24298         (__arch_atomic_exchange_and_add_64_rel): Likewise.
24299         * sysdeps/powerpc/powerpc64/bits/atomic.h
24300         (__arch_atomic_exchange_and_add_64_acq): Add definition.
24301         (__arch_atomic_exchange_and_add_64_rel): Likewise.
24303 2014-11-26  Torvald Riegel  <triegel@redhat.com>
24305         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
24306         Change synchronization of __sched_fifo_min_prio and
24307         __sched_fifo_max_prio.
24308         * nptl/pthread_mutexattr_getprioceiling.c
24309         (pthread_mutexattr_getprioceiling): Likewise.
24310         * nptl/pthread_mutexattr_setprioceiling.c
24311         (pthread_mutexattr_setprioceiling): Likewise.
24312         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24313         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
24314         Likewise.
24316 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
24318         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
24319         void.
24321 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
24323         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
24324         third argument const.
24326 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
24328         fnmatch: work around GCC compiler warning bug with uninit var
24329         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
24330         This works around a bug with x86-64 GCC 4.9.2 and earlier
24331         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
24332         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
24333         used uninitialized in this function [-Wmaybe-uninitialized]".
24335 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
24337         * posix/bug-regex31.c (main): Return RES not 0.
24339 2014-11-25  Anton Blanchard <anton@samba.org>
24341         * sysdeps/powerpc/bits/atomic.h
24342         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
24344 2014-11-24  Sterling Augustine  <saugustine@google.com>
24346         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
24348 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
24350         [BZ #17608]
24351         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
24353 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
24355         [BZ #17633]
24356         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
24357         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
24358         variable.
24359         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24360         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24362 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
24364         * string/strncpy.c (strncpy): Improve performance by using memset.
24366 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
24368         * string/strcpy.c (strcpy):
24369         Improve performance by using strlen and memcpy.
24371 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
24373         * string/strcoll_l.c (get_next_seq): __always_inline.
24374         * string/strcoll_l.c (do_compare): __always_inline.
24376 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24378         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
24379         defined.
24380         * include/mqueue.h: Likewise.
24381         * include/stdlib.h: Likewise.
24383         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
24384         (get_null_defines): Adjust.
24385         * sunrpc/Makefile: Adjust comment.
24386         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
24387         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
24388         (CFLAGS-interp.c): Likewise.
24389         (CFLAGS-ldconfig.c): Likewise.
24390         (CPPFLAGS-.os): Likewise.
24391         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24392         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24393         * extra-modules.mk (extra-modules.mk): Likewise.
24394         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
24395         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
24396         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
24397         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
24398         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
24399         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
24400         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
24401         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
24402         * iconvdata/Makefile (CPPFLAGS): Likewise.
24403         (cpp-srcs-left): Add libof for all iconvdata routines.
24404         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
24405         * include/assert.h: Likewise.
24406         * include/ctype.h: Likewise.
24407         * include/errno.h: Likewise.
24408         * include/libc-symbols.h: Likewise.
24409         * include/math.h: Likewise.
24410         * include/netdb.h: Likewise.
24411         * include/resolv.h: Likewise.
24412         * include/stdio.h: Likewise.
24413         * include/stdlib.h: Likewise.
24414         * include/string.h: Likewise.
24415         * include/sys/stat.h: Likewise.
24416         * include/wctype.h: Likewise.
24417         * intl/l10nflist.c: Likewise.
24418         * libidn/idn-stub.c: Likewise.
24419         * libio/libioP.h: Likewise.
24420         * nptl/libc_multiple_threads.c: Likewise.
24421         * nptl/pthreadP.h: Likewise.
24422         * posix/regex_internal.h: Likewise.
24423         * resolv/res_hconf.c: Likewise.
24424         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
24425         * sysdeps/arm/memmove.S: Likewise.
24426         * sysdeps/arm/sysdep.h: Likewise.
24427         * sysdeps/generic/_itoa.h: Likewise.
24428         * sysdeps/generic/symbol-hacks.h: Likewise.
24429         * sysdeps/gnu/errlist.awk: Likewise.
24430         * sysdeps/gnu/errlist.c: Likewise.
24431         * sysdeps/i386/i586/memcpy.S: Likewise.
24432         * sysdeps/i386/i586/memset.S: Likewise.
24433         * sysdeps/i386/i686/memcpy.S: Likewise.
24434         * sysdeps/i386/i686/memmove.S: Likewise.
24435         * sysdeps/i386/i686/mempcpy.S: Likewise.
24436         * sysdeps/i386/i686/memset.S: Likewise.
24437         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24438         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24439         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
24440         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
24441         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24442         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24443         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
24444         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24445         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24446         * sysdeps/i386/i686/multiarch/memcpy-ssse3.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-c.c: Likewise.
24454         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
24455         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
24456         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24457         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24458         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24459         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24460         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24461         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24462         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24463         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
24464         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24465         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
24466         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24467         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24468         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24469         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24470         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24471         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24472         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24473         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24474         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24475         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24476         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24477         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24478         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24479         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24480         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24481         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24482         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24483         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
24484         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
24485         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24486         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24487         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24488         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
24489         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
24490         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24491         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24492         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
24493         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24494         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
24495         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
24496         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24497         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24498         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24499         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
24500         * sysdeps/nptl/bits/libc-lock.h: Likewise.
24501         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24502         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
24503         * sysdeps/posix/closedir.c: Likewise.
24504         * sysdeps/posix/opendir.c: Likewise.
24505         * sysdeps/posix/readdir.c: Likewise.
24506         * sysdeps/posix/rewinddir.c: Likewise.
24507         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
24508         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
24509         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24510         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24511         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24512         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
24513         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
24514         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
24515         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
24516         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
24517         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
24518         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
24519         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
24520         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
24521         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
24522         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
24523         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
24524         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
24525         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
24526         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
24527         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
24528         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
24529         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
24530         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
24531         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
24532         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
24533         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
24534         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
24535         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
24536         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
24537         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
24538         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
24539         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
24540         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
24541         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
24542         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
24543         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24544         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24545         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
24546         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
24547         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
24548         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
24549         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
24550         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24551         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24552         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
24553         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
24554         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
24555         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
24556         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
24557         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
24558         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
24559         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
24560         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
24561         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
24562         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
24563         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
24564         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
24565         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
24566         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
24567         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24568         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
24569         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
24570         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
24571         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
24572         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24573         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
24574         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
24575         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
24576         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
24577         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24578         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
24579         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
24580         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
24581         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
24582         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
24583         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
24584         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
24585         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24586         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
24587         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
24588         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24589         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
24590         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
24591         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24592         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
24593         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
24594         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24595         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24596         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24597         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
24598         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
24599         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
24600         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24601         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24602         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
24603         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24604         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24605         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
24606         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
24607         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24608         * sysdeps/unix/alpha/sysdep.S: Likewise.
24609         * sysdeps/unix/alpha/sysdep.h: Likewise.
24610         * sysdeps/unix/make-syscalls.sh: Likewise.
24611         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24612         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24613         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24614         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
24615         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24616         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
24617         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
24618         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24619         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24620         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
24621         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24622         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24623         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24624         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24625         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24626         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24627         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24628         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24629         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24630         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24631         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
24632         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24633         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24634         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24635         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24636         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24637         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24640         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
24641         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24642         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24643         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24644         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24645         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24646         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24647         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24648         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24649         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24650         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24651         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24652         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24653         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24654         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24655         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24656         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24657         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24658         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24659         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24660         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24661         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24662         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24663         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24664         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24665         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
24666         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24667         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24668         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24669         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
24670         * sysdeps/x86_64/memcpy.S: Likewise.
24671         * sysdeps/x86_64/memmove.c: Likewise.
24672         * sysdeps/x86_64/memset.S: Likewise.
24673         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
24674         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24675         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24676         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
24677         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
24678         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24679         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24680         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24681         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24682         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24683         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24684         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24685         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
24686         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24687         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24688         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
24689         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24690         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24691         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24692         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24693         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
24694         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24695         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24696         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24697         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24698         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24699         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24700         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
24701         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24702         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24703         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
24704         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24705         * sysdeps/x86_64/strcmp.S: Likewise.
24707         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
24709         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
24710         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
24711         * elf/rtld-Rules: Likewise.
24712         * elf/setup-vdso.h: Likewise.
24713         * include/assert.h: Likewise.
24714         * include/bits/stdlib-float.h: Likewise.
24715         * include/errno.h: Likewise.
24716         * include/sys/stat.h: Likewise.
24717         * include/unistd.h: Likewise.
24718         * sysdeps/aarch64/setjmp.S: Likewise.
24719         * sysdeps/alpha/setjmp.S: Likewise.
24720         * sysdeps/arm/__longjmp.S: Likewise.
24721         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
24722         * sysdeps/arm/setjmp.S: Likewise.
24723         * sysdeps/arm/sysdep.h: Likewise.
24724         * sysdeps/generic/_itoa.h: Likewise.
24725         * sysdeps/generic/dl-sysdep.h: Likewise.
24726         * sysdeps/generic/ldsodefs.h: Likewise.
24727         * sysdeps/i386/dl-tls.h: Likewise.
24728         * sysdeps/i386/setjmp.S: Likewise.
24729         * sysdeps/m68k/setjmp.c: Likewise.
24730         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
24731         * sysdeps/mach/hurd/opendir.c: Likewise.
24732         * sysdeps/posix/getcwd.c: Likewise.
24733         * sysdeps/posix/opendir.c: Likewise.
24734         * sysdeps/posix/profil.c: Likewise.
24735         * sysdeps/powerpc/dl-procinfo.h: Likewise.
24736         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24737         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24738         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24739         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24740         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
24741         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
24742         * sysdeps/s390/dl-tls.h: Likewise.
24743         * sysdeps/s390/s390-32/setjmp.S: Likewise.
24744         * sysdeps/s390/s390-64/setjmp.S: Likewise.
24745         * sysdeps/sh/sh3/setjmp.S: Likewise.
24746         * sysdeps/sh/sh4/setjmp.S: Likewise.
24747         * sysdeps/unix/alpha/sysdep.h: Likewise.
24748         * sysdeps/unix/arm/sysdep.S: Likewise.
24749         * sysdeps/unix/i386/sysdep.S: Likewise.
24750         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24751         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
24752         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24753         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24754         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24755         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24756         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
24757         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24758         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24759         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24760         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
24761         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24762         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24765         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24766         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24767         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24768         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24769         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24770         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24771         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24772         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24773         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24774         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24775         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24776         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24777         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24778         * sysdeps/x86_64/setjmp.S: Likewise.
24780         * include/math.h: Use IS_IN instead of IS_IN_libm.
24781         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
24782         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24783         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24784         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
24785         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24786         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24787         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24788         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24789         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24790         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24791         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
24792         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
24793         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
24794         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
24795         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
24796         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
24797         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24798         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
24799         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24800         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
24801         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
24802         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
24803         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
24804         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
24805         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
24806         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
24807         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
24808         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
24809         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
24810         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
24811         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
24812         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24813         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
24815         Likewise.
24816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
24817         Likewise.
24818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
24819         Likewise.
24820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
24821         Likewise.
24822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
24823         Likewise.
24824         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24825         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
24826         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24827         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24828         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24829         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
24831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
24832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
24833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
24834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
24835         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
24836         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
24837         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24838         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24839         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24840         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24841         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24842         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24843         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24844         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
24845         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
24846         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
24847         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
24848         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
24849         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24850         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
24852         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
24853         * nptl/pthreadP.h: Likewise.
24854         * nptl_db/structs.def: Likewise.
24855         * sysdeps/arm/sysdep.h: Likewise.
24856         * sysdeps/nptl/bits/libc-lock.h: Likewise.
24857         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24858         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
24859         * sysdeps/unix/alpha/sysdep.h: Likewise.
24860         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24861         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24862         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24863         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24864         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24865         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24866         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24867         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24868         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24869         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24870         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24871         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24872         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24873         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24876         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24877         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24878         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24879         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24880         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24881         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24882         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24883         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24884         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
24885         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24887         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
24888         * nptl/pthreadP.h: Likewise.
24889         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24890         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24891         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24892         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24893         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24894         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24895         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24896         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24897         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24898         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24899         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24900         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
24902         Likewise.
24903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
24904         Likewise.
24905         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24906         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24907         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24908         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24909         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24910         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24911         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24912         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24914         * dlfcn/dladdr.c: Use IS_IN.
24915         * dlfcn/dladdr1.c: Likewise.
24916         * dlfcn/dlclose.c: Likewise.
24917         * dlfcn/dlerror.c: Likewise.
24918         * dlfcn/dlinfo.c: Likewise.
24919         * dlfcn/dlmopen.c: Likewise.
24920         * dlfcn/dlopen.c: Likewise.
24921         * dlfcn/dlsym.c: Likewise.
24922         * dlfcn/dlvsym.c: Likewise.
24924         * include/ifaddrs.h: Use IS_IN.
24925         * inet/check_pf.c: Likewise.
24926         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24927         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
24929         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
24930         IS_IN_ldconfig.
24931         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
24932         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
24934         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
24935         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
24936         IS_IN (libc).
24938         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
24940         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
24941         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24942         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24943         * include/libc-symbols.h (IS_IN_LIB): New macro.
24944         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
24945         * include/netdb.h: Likewise.
24946         * include/stap-probe.h: Remove all uses of IN_LIB.
24948         * Makeconfig (module-cppflags-real): Define MODULE_NAME
24949         instead of IN_MODULE.
24950         * include/libc-symbols.h (IN_MODULE): Define using
24951         MODULE_NAME.
24952         (PASTE_NAME, PASTE_NAME1): New macros.
24953         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
24954         of IN_LIB.
24955         (STAP_PROBE_ASM): Likewise.
24957 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24959         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
24960         __mach_init in dlopened libc.
24962 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
24964         * sysdeps/arm/preconfigure.ac: Delete EABI check.
24965         * sysdeps/arm/preconfigure: Regenerate.
24967 2014-11-21  Roland McGrath  <roland@hack.frob.com>
24969         * nptl/pthread_create.c (__pthread_create_2_1): Set
24970         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
24971         when copying values from IATTR into PD.
24973 2014-11-21  Will Newton  <will.newton@linaro.org>
24974             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
24976         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
24977         Refactor inline-asm.  Also add comment.
24979         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
24980         ElfW macro instead of hardcoded Elf64 types.
24981         (la_aarch64_gnu_pltenter): Likewise.
24982         * sysdeps/aarch64/dl-machine.h
24983         (elf_machine_runtime_setup): Use ElfW(Addr).
24985         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
24986         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
24987         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
24988         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
24989         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
24990         (R_AARCH64_TLS_DTPMOD64): Rename to ..
24991         (R_AARCH64_TLS_DTPMOD): This.
24992         (R_AARCH64_TLS_DTPREL64): Rename to ...
24993         (R_AARCH64_TLS_DTPREL): This.
24994         (R_AARCH64_TLS_TPREL64): Rename to ...
24995         (R_AARCH64_TLS_TPREL): This.
24996         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
24997         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
24998         R_AARCH64_TLS_TPREL64.
24999         (elf_machine_rela): Likewise.
25001 2014-11-21  Torvald Riegel  <triegel@redhat.com>
25003         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
25004         by setting it to 0.  64b atomics are not supported currently.
25006 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25008         [BZ #16469]
25009         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
25010         search domain names.
25012 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25014         [BZ #16469]
25015         * NEWS: Update.
25016         * resolv/res_query.c (__libc_res_nquerydomain): Retain
25017         trailing dot.
25018         * posix/tst-getaddrinfo5.c: New.
25019         * posix/Makefile (tests): Add it.
25021 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25023         [BZ #14498]
25024         * NEWS: Fixed.
25025         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
25026         after parsing line but before break_if_match.
25027         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
25028         if there is a protocol mismatch.
25030 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
25032         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
25033         because the potential race is on the user-supplied stream.
25035 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25037         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
25038         string literal if not passed a buffer.
25039         * manual/job.texi (ctermid): Update reasoning, note deviation
25040         from posix, suggest mtasurace when not passed a buffer, for
25041         future non-preliminary safety notes.
25043 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25045         * manual/users.texi (cuserid): Fix MT-Safety note for the case
25046         of not passing it a buffer.
25047         Reported by Peng Haitao.
25049 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25051         * manual/Makefile ($(objpfx)stamp-summary): Require
25052         check-safety.sh to pass.
25053         * manual/check-safety.sh: Wish for verification that every
25054         @deftypefn and @deftypefun is followed by a @safety remark.
25056 2014-11-20  Roland McGrath  <roland@hack.frob.com>
25058         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
25060         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
25061         PTHREAD_CANCEL_ASYNCHRONOUS.
25062         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
25063         send SIGCANCEL.
25065         * nptl/default-sched.h: New file.
25066         * sysdeps/unix/sysv/linux/default-sched.h: New file.
25067         * nptl/pthread_create.c: Include it.
25068         (__pthread_create_2_1): Use collect_default_sched instead of making
25069         Linux syscalls here directly.
25071 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25073         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
25074         __pthread_once): Use C11 atomics.
25076 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25078         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
25080 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25082         * include/atomic.h (__atomic_link_error, __atomic_check_size,
25083         atomic_thread_fence_acquire, atomic_thread_fence_release,
25084         atomic_thread_fence_seq_cst, atomic_load_relaxed,
25085         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
25086         atomic_compare_exchange_weak_relaxed,
25087         atomic_compare_exchange_weak_acquire,
25088         atomic_compare_exchange_weak_release,
25089         atomic_exchange_acquire, atomic_exchange_release,
25090         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
25091         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
25092         atomic_fetch_and_acquire,
25093         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
25095 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25097         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
25098         USE_ATOMIC_COMPILER_BUILTINS): Define.
25099         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
25100         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25101         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
25102         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25103         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
25104         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25105         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
25106         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25107         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
25108         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25109         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
25110         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25111         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
25112         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25113         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
25114         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25115         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25116         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25117         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25118         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25119         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
25120         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25121         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25122         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25123         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
25124         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25125         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25126         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25127         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
25128         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25129         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
25130         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25131         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
25132         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25133         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
25134         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25135         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
25136         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25137         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
25138         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25140 2014-11-19  Roland McGrath  <roland@hack.frob.com>
25142         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
25143         the sched_priority value here.  It was already checked when the user
25144         called pthread_attr_setschedparam.
25146         * nptl/tst-bad-schedattr.c: New file.
25147         * nptl/Makefile (tests): Add it.
25149 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
25150             Florian Weimer  <fweimer@redhat.com>
25151             Joseph Myers  <joseph@codesourcery.com>
25152             Adam Conrad  <adconrad@0c3.net>
25153             Andreas Schwab  <schwab@suse.de>
25154             Brooks  <bmoses@google.com>
25156         [BZ #17625]
25157         * wordexp-test.c (__dso_handle): Add prototype.
25158         (__register_atfork): Likewise.
25159         (__app_register_atfork): New function.
25160         (registered_forks): New global.
25161         (register_fork): New function.
25162         (test_case): Add 3 new tests for WRDE_CMDSUB.
25163         (main): Call __app_register_atfork.
25164         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
25165         fork count is non-zero fail the test.
25166         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
25167         is set.
25168         (parse_dollars): Remove check for WRDE_NOCMD.
25169         (parse_dquote): Likewise.
25171 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25173         * Makeconfig (built-modules): List non-library modules to be
25174         built.
25175         (module-cppflags): Include libc-modules.h for
25176         everything except shlib-versions.v.i.
25177         (CPPFLAGS): Use it.
25178         (before-compile): Add libc-modules.h.
25179         ($(common-objpfx)libc-modules.h,
25180         $(common-objpfx)libc-modules.stmp): New targets.
25181         (common-generated): Add libc-modules.h and libc-modules.stmp.
25182         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
25183         * include/libc-symbols.h: Don't include libc-modules.h.
25184         * include/libc-modules.h: Remove file.
25185         * scripts/gen-libc-modules.awk: New script to generate
25186         libc-modules.h.
25187         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
25188         Depend on libc-modules.stmp.
25190         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
25192         * Makeconfig (in-module): Get value of libof set for the
25193         translation unit.
25194         (CPPFLAGS): Use $(in-module).
25195         * Makerules: Don't suffix routine names for nonlib.
25196         * include/libc-modules.h: New file.
25197         * include/libc-symbols.h: Include libc-modules.h
25198         (IS_IN): New macro to replace IS_IN_* macros.
25199         * elf/Makefile: Set libof-* for each routine.
25200         * elf/rtld-Rules: Likewise.
25201         * extra-modules.mk: Likewise.
25202         * iconv/Makefile: Likewise.
25203         * iconvdata/Makefile: Likewise.
25204         * locale/Makefile: Likewise.
25205         * malloc/Makefile: Likewise.
25206         * nss/Makefile: Likewise.
25207         * sysdeps/gnu/Makefile: Likewise.
25208         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
25209         * sysdeps/unix/sysv/linux/Makefile: Likewise.
25210         * sysdeps/s390/s390-64/Makefile: Likewise.
25211         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
25212         CPPFLAGS for nscd instead of nonlib.
25214 2014-11-18  Roland McGrath  <roland@hack.frob.com>
25216         * nptl/createthread.c: New file.
25218         * nptl/createthread.c: Moved ...
25219         * sysdeps/unix/sysv/linux/createthread.c: ... here.
25221         * nptl/createthread.c: Add proper top-line comment.
25222         (do_clone): Folded into ...
25223         (create_thread): ... here.  Take new arguments STOPPED_START and
25224         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
25225         increment __nptl_threads, do event-reporting logic, do
25226         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
25227         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
25228         resource cleanup if sched_setaffinity or sched_setscheduler fails,
25229         just send SIGCANCEL.
25230         * nptl/pthread_create.c: Forward-declare create_thread before
25231         including createthread.c.
25232         (start_thread): Use new macro START_THREAD_DEFN to replace defining
25233         declaration, and new macro START_THREAD_SELF to replace argument.
25234         Remove return statement.
25235         (report_thread_creation): New function.
25236         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
25237         synchronization logic, and __nptl_nthreads increment here, around
25238         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
25239         PD->parent_cancelhandling here, before create_thread.  When
25240         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
25241         __deallocate_stack, and ENOMEM translation here.
25243 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
25245         [BZ #17616]
25246         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
25247         (mptwo): Rename to __mptwo.
25248         (__inv): Use __mptwo instead of mptwo.
25249         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
25250         (mptwo): Rename to __mptwo.
25251         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
25252         of mpone and __mptwo instead of mptwo.
25253         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
25254         instead of mpone.
25255         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25256         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
25257         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
25258         of mpone and __mptwo instead of mptwo.
25259         (__mpranred): Use __mpone instead of mpone.
25260         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
25261         variable.
25262         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25263         (test-xfail-ISO99/math.h/linknamespace): Likewise.
25264         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25265         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25266         (test-xfail-ISO11/math.h/linknamespace): Likewise.
25267         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25268         (test-xfail-XPG3/math.h/linknamespace): Likewise.
25269         (test-xfail-XPG4/math.h/linknamespace): Likewise.
25270         (test-xfail-POSIX/math.h/linknamespace): Likewise.
25271         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25272         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25273         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25274         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25275         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25276         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25277         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25278         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25279         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25280         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25282 2014-11-18  Tom de Vries  <tom@codesoucery.com>
25284         * manual/signal.texi (Primitives Interrupted by Signals): In section,
25285         replace BSD Handler xref with BSD Signal Handling.
25287 2014-11-17  Richard Henderson  <rth@redhat.com>
25289         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
25290         (_FP_PACK_RAW_2): Remove.
25291         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
25292         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
25293         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
25294         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
25295         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
25296         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
25297         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
25298         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
25299         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
25300         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
25301         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
25302         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
25303         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
25304         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
25305         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
25306         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
25308 2014-11-14  Roland McGrath  <roland@hack.frob.com>
25310         * signal/signal.h [__USE_MISC]
25311         (struct sigvec): Remove type.
25312         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
25313         (sigvec): Remove declaration.
25314         * sysdeps/posix/sigvec.c: Moved ...
25315         * signal/sigvec.c: ... here, replacing old file.
25316         (struct sigvec): New type, copied from old signal.h definition.
25317         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
25318         (__sigvec): Convert definition to prototype.
25319         (sigvec): Replace weak_alias with compat_symbol.
25320         * signal/Versions (libc: GLIBC_2.21): New version set.
25321         * include/signal.h: Remove __sigvec declaration.
25322         * sysdeps/unix/bsd/sigvec.c: Remove file.
25323         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
25324         * manual/signal.texi (BSD Handler): Remove subsection.
25325         Move siginterrupt up to ...
25326         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
25327         (Blocking in BSD): Fold subsection into its parent.
25328         * NEWS: Mention sigvec removal.
25330 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
25332         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
25333         (DLA_FMS): Make definition conditional only on [__FMA4__].
25334         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
25335         definition.
25337         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
25338         Make definition conditional only on [PROF].
25339         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
25340         definition.
25341         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
25342         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
25344         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
25345         !__GNUC__].
25346         * include/signal.h (__sigpause): Move declaration above call to
25347         libc_hidden_proto.
25348         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
25349         variable.
25350         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25351         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25353 2014-11-14  David S. Miller  <davem@davemloft.net>
25355         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
25356         Define before including <string/memcpy.c> and <string/mempcpy.c>.
25358 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
25360         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
25361         * configure: Regenerated.
25362         * manual/install.texi (Tools for Compilation): Document a
25363         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
25364         compiler verified to work.
25365         * INSTALL: Regenerated.
25367         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
25368         redeclare with asm name.
25369         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
25370         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
25371         including <string.h>.
25372         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25373         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
25374         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25375         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
25376         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25377         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25378         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25380 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
25382         * stdlib/strtol.c (__strtol): Use prototype definition.
25384         [BZ #17594]
25385         * stdlib/strtol.c (SYM__): New macro.
25386         (SYM__1): Likewise.
25387         (__strtol): Likewise.
25388         (strtol): Rename to __strtol and define as weak alias of
25389         __strtol.  Use libc_hidden_weak.
25391 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25393         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
25394         Use numbered labels in inline assembly.
25396 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25398         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
25399         Add setjmp LIBC_PROBE.
25400         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
25401         Likewise.
25402         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
25403         Add longjmp, longjmp_target LIBC_PROBE.
25404         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
25405         Likewise.
25407 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25409         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25410         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
25411         to get rid of unused variable warning.
25413 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25415         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
25416         Check for unwind_backtrace ==  NULL only in SHARED case.
25417         (__backchain_backtrace): Compile only in SHARED case.
25418         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
25419         Likewise.
25420         (__backchain_backtrace): Declare as static.
25422 2014-11-12  Roland McGrath  <roland@hack.frob.com>
25424         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
25425         (__libc_multiple_threads_ptr): Variable moved ...
25426         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
25428 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
25430         * conform/GlibcConform.pm: New file.
25431         * conform/conformtest.pl: Use GlibcConform module.
25432         * conform/linknamespace.pl: New file.
25433         * conform/list-header-symbols.pl: Likewise.
25434         * conform/Makefile (linknamespace-symlists-base): New variable.
25435         (linknamespace-symlists-tests): Likewise.
25436         (linknamespace-header-base): Likewise.
25437         (linknamespace-header-tests): Likewise.
25438         (tests-special): Add new tests.
25439         ($(linknamespace-symlists-tests)): New rule.
25440         (linknamespace-libs): New variable.
25441         ($(objpfx)symlist-stdlibs): New rule.
25442         ($(linknamespace-header-tests)): Likewise.
25443         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
25444         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
25445         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
25446         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
25447         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
25448         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
25449         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
25450         (test-xfail-ISO/math.h/linknamespace): Likewise.
25451         (test-xfail-ISO/signal.h/linknamespace): Likewise.
25452         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
25453         (test-xfail-ISO/time.h/linknamespace): Likewise.
25454         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25455         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
25456         (test-xfail-ISO99/math.h/linknamespace): Likewise.
25457         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25458         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
25459         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25460         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25461         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25462         (test-xfail-ISO11/math.h/linknamespace): Likewise.
25463         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25464         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
25465         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25466         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25467         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
25468         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
25469         (test-xfail-XPG3/math.h/linknamespace): Likewise.
25470         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
25471         (test-xfail-XPG3/search.h/linknamespace): Likewise.
25472         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
25473         (test-xfail-XPG3/time.h/linknamespace): Likewise.
25474         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
25475         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25476         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25477         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
25478         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
25479         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25480         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
25481         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
25482         (test-xfail-XPG4/math.h/linknamespace): Likewise.
25483         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
25484         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25485         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25486         (test-xfail-XPG4/search.h/linknamespace): Likewise.
25487         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25488         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
25489         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
25490         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
25491         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
25492         (test-xfail-XPG4/time.h/linknamespace): Likewise.
25493         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
25494         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25495         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
25496         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
25497         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
25498         (test-xfail-POSIX/math.h/linknamespace): Likewise.
25499         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
25500         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
25501         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25502         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25503         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
25504         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
25505         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25506         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
25507         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
25508         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25509         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25510         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25511         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
25512         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
25513         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25514         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25515         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25516         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
25517         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25518         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25519         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25520         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
25521         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25522         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
25523         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
25524         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25525         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25526         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25527         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25528         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25529         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25530         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
25531         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
25532         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25533         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
25534         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25535         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
25536         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25537         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25538         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25539         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
25540         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25541         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25542         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25543         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
25544         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
25545         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
25546         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25547         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
25548         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
25549         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25550         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
25551         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
25552         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25553         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25554         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25555         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25556         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25557         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25558         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25559         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25560         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25561         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25562         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
25563         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25564         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25565         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
25566         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25567         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25568         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25569         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25570         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25571         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25572         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25573         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
25574         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25575         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
25576         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25577         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25578         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25579         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25580         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
25581         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25582         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25583         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
25584         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25585         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25586         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
25587         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25588         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25589         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25590         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25591         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25592         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25593         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25594         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
25595         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
25596         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25597         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
25598         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25599         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25600         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
25601         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25602         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25603         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
25605         [BZ #17589]
25606         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
25607         of fgets_unlocked.
25609         [BZ #17585]
25610         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
25611         (memmem): Rename to __memmem and define as weak alias of
25612         __memmem.  Use libc_hidden_weak.
25613         (__memmem): Use libc_hidden_def.
25614         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
25615         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
25616         memmem.
25618         [BZ #17582]
25619         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
25620         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
25621         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
25622         and define as weak alias of __fgets_unlocked.  Use
25623         libc_hidden_weak.
25624         (__fgets_unlocked): Use libc_hidden_def.
25625         * include/stdio.h (__fgets_unlocked): Declare.  Use
25626         libc_hidden_proto.
25627         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
25628         __fgets_unlocked instead of fgets_unlocked.
25629         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
25630         (GET_NPROCS_CONF_PARSER): Likewise.
25631         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
25632         (GET_NPROCS_CONF_PARSER): Likewise.
25634         [BZ #17574]
25635         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
25636         weak alias of __wmemset.  Use libc_hidden_weak.
25637         (__wmemset): Use libc_hidden_def.
25638         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
25639         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
25640         of wmemset.
25642         [BZ #17573]
25643         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
25644         with asm name __mempcpy.
25645         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
25647         [BZ #17572]
25648         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
25649         and define as weak alias of __rawmemchr.
25650         (__rawmemchr): Do not define as strong alias of rawmemchr.
25652         [BZ #17571]
25653         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
25654         alias of __qsort_r.
25655         (qsort): Call __qsort_r instead of qsort_r.
25656         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
25657         (__qsort_r): Declare.  Call libc_hidden_proto.
25658         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
25659         instead of qsort_r.
25660         * nscd/gai.c (__qsort_r): Define to qsort_r.
25661         * posix/tst-rfc3484.c (__qsort_r): Likewise.
25662         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
25663         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
25665         [BZ #17570]
25666         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
25667         define as weak alias of __malloc_info.
25669         [BZ #17584]
25670         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
25671         as weak alias of __rewinddir.  Don't use libc_hidden_def.
25672         (__rewinddir): Use libc_hidden_def.
25673         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
25674         as weak alias of __rewinddir.  Don't use libc_hidden_def.
25675         (__rewinddir): Use libc_hidden_def.
25676         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
25677         weak alias of __rewinddir.  Don't use libc_hidden_def.
25678         (__rewinddir): Use libc_hidden_def.
25679         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
25680         (__rewinddir): Use libc_hidden_proto.
25681         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
25682         rewinddir.
25683         (__getcwd): Use __rewinddir instead of rewinddir.
25685         [BZ #17583]
25686         * libio/fileno.c (fileno): Rename to __fileno and define as weak
25687         alias of __fileno.  Use libc_hidden_weak.
25688         (__fileno): Use libc_hidden_def.
25689         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
25690         * libio/ftello.c (ftello): Rename to __ftello and define as weak
25691         alias of __ftello.
25692         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
25693         __ftello.
25694         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
25695         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
25696         libc_hidden_def.
25697         (fread_unlocked): Don't use libc_hidden_ver.
25698         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
25699         and define as weak alias of __fread_unlocked.  Don't use
25700         libc_hidden_def.
25701         (__fread_unlocked): Use libc_hidden_def.
25702         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
25703         (ftello): Don't use libc_hidden_proto.
25704         (__ftello): Declare.  Use libc_hidden_proto.
25705         (fread_unlocked): Don't use libc_hidden_proto.
25706         (__fread_unlocked): Declare.  Use libc_hidden_proto.
25707         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
25708         and __ftello instead of fileno, fread_unlocked and ftello.
25710 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25712         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
25713         GOT12.
25714         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25715         Likewise.
25716         (_dl_start_user): Likewise.
25717         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
25719 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
25720             Siddhesh Poyarekar  <siddhesh@redhat.com>
25722         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
25723         Move argv and envp down instead of moving argc up.
25724         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
25726 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
25728         [BZ #17506]
25729         * test-skeleton.c (main): Return successful if one of
25730         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
25731         * string/tst-strcoll-overflow.c: Define expected status.
25733 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
25735         [BZ #17475]
25736         * locale/iso-639.def: Define Bhili and Tulu language codes.
25738 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
25740         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
25742 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
25744         [BZ #17555]
25745         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
25747 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25749         * configure.ac: Updated check of minimal required version to
25750         2.22.
25751         * manual/install.texi (Tools for Compilation): Updated version
25752         number.
25753         * configure: Regenerated.
25754         * INSTALL: Likewise.
25756 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
25758         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
25759         __tls_get_addr.
25761 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
25763         * include/sys/wait.h (__libc_waitpid): Remove declaration.
25764         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
25765         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25766         libc_hidden_weak.
25767         (waitpid): Define as alias of __waitpid.
25768         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
25769         __waitpid.
25770         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25771         libc_hidden_weak.
25772         (waitpid): Define as alias of __waitpid.
25773         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
25774         __libc_waitpid alias.
25775         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
25776         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
25777         Likewise.
25778         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
25779         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
25780         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
25781         alias.
25782         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
25783         __waitpid.
25784         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25785         libc_hidden_weak.
25786         (waitpid): Define as alias of __waitpid.
25788 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
25790         * manual/llio.texi: Add comment that write safety has been
25791         fixed in Linux.
25793         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
25794         (localplt-build-dso): Add elf/ld.so.
25795         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
25796         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
25797         and free for ld.so.
25798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
25799         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
25800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
25801         Likewise.
25802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
25803         Likewise.
25804         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
25805         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
25806         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
25807         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
25808         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
25809         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
25810         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
25811         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
25812         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
25813         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
25814         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
25816 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
25818         [BZ #14132]
25819         * include/libc-symbols.h (INTUSE): Remove macro.
25820         (INTDEF): Likewise.
25821         (INTVARDEF): Likewise.
25822         (_INTVARDEF): Likewise.
25823         (INTDEF2): Likewise.
25824         (INTVARDEF2): Likewise.
25825         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
25826         rtld_hidden_def instead of INTVARDEF.
25827         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
25828         (_dl_starting_up_internal): Remove declaration.
25829         (_dl_starting_up): Use rtld_hidden_proto.
25830         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
25831         declaration.
25832         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
25833         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
25834         _dl_starting_up.
25835         * elf/dl-writev.h (_dl_writev): Likewise.
25836         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
25837         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
25838         _dl_starting_up_internal.
25840 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25842         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
25843         test-skeleton.c.
25845 2014-11-05  Will Newton  <will.newton@linaro.org>
25847         * benchtests/Makefile: (bench-malloc): Add malloc thread
25848         scalability benchmark.
25849         * benchtests/bench-malloc-threads.c: New file.
25851 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
25853         * sysdeps/aarch64/strchrnul.S: New file.
25855 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25857         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
25858         definition.
25859         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
25860         Likwise.
25861         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
25862         Likewise.
25863         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
25864         Likewise.
25865         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
25866         Likewise.
25867         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
25868         Likewise.
25870 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
25872         * catgets/test-gencat.c: Use test-skeleton.c.
25873         * catgets/tst-catgets.c: Likewise.
25874         * csu/tst-empty.c: Likewise.
25875         * elf/tst-audit2.c: Likewise.
25876         * elf/tst-global1.c: Likewise.
25877         * elf/tst-pathopt.c: Likewise.
25878         * elf/tst-piemod1.c: Likewise.
25879         * elf/tst-tls10.c: Likewise.
25880         * elf/tst-tls11.c: Likewise.
25881         * elf/tst-tls12.c: Likewise.
25882         * gnulib/tst-gcc.c: Likewise.
25883         * iconvdata/tst-e2big.c: Likewise.
25884         * iconvdata/tst-loading.c: Likewise.
25885         * iconv/tst-iconv1.c: Likewise.
25886         * iconv/tst-iconv2.c: Likewise.
25887         * inet/test-inet6_opt.c: Likewise.
25888         * inet/tst-gethnm.c: Likewise.
25889         * inet/tst-network.c: Likewise.
25890         * inet/tst-ntoa.c: Likewise.
25891         * intl/tst-codeset.c: Likewise.
25892         * intl/tst-gettext2.c: Likewise.
25893         * intl/tst-gettext3.c: Likewise.
25894         * intl/tst-ngettext.c: Likewise.
25895         * intl/tst-translit.c: Likewise.
25896         * io/test-stat.c: Likewise.
25897         * libio/test-fmemopen.c: Likewise.
25898         * libio/tst-freopen.c: Likewise.
25899         * libio/tst-sscanf.c: Likewise.
25900         * libio/tst-ungetwc1.c: Likewise.
25901         * libio/tst-ungetwc2.c: Likewise.
25902         * libio/tst-widetext.c: Likewise.
25903         * localedata/tst-ctype.c: Likewise.
25904         * localedata/tst-digits.c: Likewise.
25905         * localedata/tst-leaks.c: Likewise.
25906         * localedata/tst-mbswcs1.c: Likewise.
25907         * localedata/tst-mbswcs2.c: Likewise.
25908         * localedata/tst-mbswcs3.c: Likewise.
25909         * localedata/tst-mbswcs4.c: Likewise.
25910         * localedata/tst-mbswcs5.c: Likewise.
25911         * localedata/tst-setlocale.c: Likewise.
25912         * localedata/tst-trans.c: Likewise.
25913         * localedata/tst-wctype.c: Likewise.
25914         * localedata/tst-xlocale1.c: Likewise.
25915         * login/tst-grantpt.c: Likewise.
25916         * malloc/tst-calloc.c: Likewise.
25917         * malloc/tst-malloc.c: Likewise.
25918         * malloc/tst-mallocstate.c: Likewise.
25919         * malloc/tst-mcheck.c: Likewise.
25920         * malloc/tst-mtrace.c: Likewise.
25921         * malloc/tst-obstack.c: Likewise.
25922         * math/atest-exp2.c: Likewise.
25923         * math/atest-exp.c: Likewise.
25924         * math/atest-sincos.c: Likewise.
25925         * math/test-matherr.c: Likewise.
25926         * math/test-misc.c: Likewise.
25927         * math/test-powl.c: Likewise.
25928         * math/tst-definitions.c: Likewise.
25929         * misc/tst-dirname.c: Likewise.
25930         * misc/tst-efgcvt.c: Likewise.
25931         * misc/tst-fdset.c: Likewise.
25932         * misc/tst-hsearch.c: Likewise.
25933         * misc/tst-mntent2.c: Likewise.
25934         * nptl/tst-sem7.c: Likewise.
25935         * nptl/tst-sem8.c: Likewise.
25936         * nptl/tst-sem9.c: Likewise.
25937         * nss/test-netdb.c: Likewise.
25938         * posix/tst-fnmatch.c: Likewise.
25939         * posix/tst-getlogin.c: Likewise.
25940         * posix/tst-gnuglob.c: Likewise.
25941         * posix/tst-mmap.c: Likewise.
25942         * pwd/tst-getpw.c: Likewise.
25943         * resolv/tst-inet_ntop.c: Likewise.
25944         * rt/tst-timer.c: Likewise.
25945         * stdio-common/test-fseek.c: Likewise.
25946         * stdio-common/test-popen.c: Likewise.
25947         * stdio-common/test-vfprintf.c: Likewise.
25948         * stdio-common/tst-cookie.c: Likewise.
25949         * stdio-common/tst-fileno.c: Likewise.
25950         * stdio-common/tst-gets.c: Likewise.
25951         * stdio-common/tst-obprintf.c: Likewise.
25952         * stdio-common/tst-perror.c: Likewise.
25953         * stdio-common/tst-sprintf2.c: Likewise.
25954         * stdio-common/tst-sprintf3.c: Likewise.
25955         * stdio-common/tst-sprintf.c: Likewise.
25956         * stdio-common/tst-swprintf.c: Likewise.
25957         * stdio-common/tst-tmpnam.c: Likewise.
25958         * stdio-common/tst-unbputc.c: Likewise.
25959         * stdio-common/tst-wc-printf.c: Likewise.
25960         * stdlib/tst-environ.c: Likewise.
25961         * stdlib/tst-fmtmsg.c: Likewise.
25962         * stdlib/tst-limits.c: Likewise.
25963         * stdlib/tst-rand48-2.c: Likewise.
25964         * stdlib/tst-rand48.c: Likewise.
25965         * stdlib/tst-random2.c: Likewise.
25966         * stdlib/tst-random.c: Likewise.
25967         * stdlib/tst-strtol.c: Likewise.
25968         * stdlib/tst-strtoll.c: Likewise.
25969         * stdlib/tst-tls-atexit.c: Likewise.
25970         * stdlib/tst-xpg-basename.c: Likewise.
25971         * string/test-ffs.c: Likewise.
25972         * string/tst-bswap.c: Likewise.
25973         * string/tst-inlcall.c: Likewise.
25974         * string/tst-strtok.c: Likewise.
25975         * string/tst-strxfrm.c: Likewise.
25976         * sysdeps/x86_64/tst-audit10.c: Likewise.
25977         * sysdeps/x86_64/tst-audit3.c: Likewise.
25978         * sysdeps/x86_64/tst-audit4.c: Likewise.
25979         * sysdeps/x86_64/tst-audit5.c: Likewise.
25980         * time/tst-ftime_l.c: Likewise.
25981         * time/tst-getdate.c: Likewise.
25982         * time/tst-mktime3.c: Likewise.
25983         * time/tst-mktime.c: Likewise.
25984         * time/tst-posixtz.c: Likewise.
25985         * time/tst-strptime2.c: Likewise.
25986         * time/tst-strptime3.c: Likewise.
25987         * wcsmbs/tst-btowc.c: Likewise.
25988         * wcsmbs/tst-mbrtowc.c: Likewise.
25989         * wcsmbs/tst-mbsrtowcs.c: Likewise.
25990         * wcsmbs/tst-wchar-h.c: Likewise.
25991         * wcsmbs/tst-wcpncpy.c: Likewise.
25992         * wcsmbs/tst-wcrtomb.c: Likewise.
25993         * wcsmbs/tst-wcsnlen.c: Likewise.
25994         * wcsmbs/tst-wcstof.c: Likewise.
25996 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
25998         [BZ #14132]
25999         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
26000         INTDEF.
26001         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
26002         declaration.
26003         (_dl_mcount): Use rtld_hidden_proto.
26004         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
26005         _dl_mcount.
26006         * elf/rtld.c (_rtld_global_ro): Likewise.
26008         [BZ #14132]
26009         * elf/dl-init.c (_dl_init): Don't use INTDEF.
26010         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
26011         of _dl_init_internal.
26012         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
26013         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
26014         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
26015         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
26016         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
26017         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
26018         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
26019         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
26020         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
26021         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
26022         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
26023         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
26024         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26025         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26026         * sysdeps/tile/dl-start.S (_start): Likewise.
26027         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
26028         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
26030         [BZ #14132]
26031         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
26032         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
26033         (rtld_progname): Make macro definition unconditional.
26034         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
26035         INTDEF.
26036         (dlmopen_doit): Do not use INTUSE with _dl_argv.
26037         (dl_main): Likewise.
26038         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26039         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
26040         instead of _dl_argv_internal.
26041         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
26042         __GI__dl_argv instead of INTUSE(_dl_argv).
26043         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
26044         __GI__dl_argv instead of _dl_argv_internal.
26046         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
26047         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
26048         macro.
26049         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
26050         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
26051         New macro.
26052         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
26053         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
26054         macro.
26055         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
26056         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
26058 2014-11-04  Andreas Schwab  <schwab@suse.de>
26060         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
26062 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26064         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
26065         mtvsrd instruction in binary form.
26067 2014-11-03  Andreas Schwab  <schwab@suse.de>
26069         [BZ #17522]
26070         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
26071         for less than MB_LEN_MAX use a local buffer of that size.
26072         * libio/tst-fputws.c: New file.
26073         * libio/Makefile (tests): Add tst-fputws.
26075 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
26077         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
26078         the size of the fpu_fr.fpu_dregs[] array.
26080 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
26082         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
26083         (__nanosleep): Do not define as alias.
26084         (nanosleep): Define as alias of __nanosleep.
26085         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
26086         __libc_nanosleep name.
26088 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
26090         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
26091         install.texi in comment.
26093 2014-10-31  Torvald Riegel  <triegel@redhat.com>
26095         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
26096         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
26097         ... add here and use lwsync or sync ...
26098         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
26099         ... and add here using lwsync.
26101 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
26103         * elf/dl-machine-reject-phdr.h: New file.
26104         * elf/dl-load.c: #include that.
26105         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
26106         if that returned true.
26108 2014-10-31  Roland McGrath  <roland@hack.frob.com>
26110         [BZ #17496]
26111         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
26112         gen-as-const-headers chunk.  Add a big scare comment after the last
26113         safe place to touch before-compile.
26115 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
26117         * manual/install.texi (Tools for Compilation): Update autoconf
26118         version requirements.
26119         * INSTALL: Regenerated.
26121         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
26122         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
26123         (__libc_pselect): Likewise.
26125         [BZ #14138]
26126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
26127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26131 2014-10-31  Torvald Riegel  <triegel@redhat.com>
26133         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
26134         correct barrier instruction.
26135         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
26136         Likewise.
26137         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
26138         Likewise.
26140 2014-10-30  Roland McGrath  <roland@hack.frob.com>
26142         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
26143         after defining inlines.  Instead, just use parens to defeat macro
26144         expansion of __isctype in its declaration.
26146 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
26148         * include/sys/uio.h (__libc_readv): Remove declaration.
26149         (__libc_writev): Likewise.
26150         * misc/readv.c (__libc_readv): Rename to __readv.
26151         (__readv): Do not define as alias.
26152         (readv): Define as alias of __readv.
26153         * misc/writev.c (__libc_writev): Rename to __writev.
26154         (__writev): Do not define as alias.
26155         (writev): Define as alias of __writev.
26156         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
26157         (__readv): Do not define as alias.
26158         (readv): Define unconditionally as alias of __readv.
26159         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
26160         (__writev): Do not define as alias.
26161         (writev): Define unconditionally as alias of __writev.
26162         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
26163         name.
26164         (writev): Do not define __libc_writev name.
26166 2014-10-30  Roland McGrath  <roland@hack.frob.com>
26168         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
26169         (convert_charseq): New function, broken out of ...
26170         (use_from_charmap): ... here.  Call it.
26171         (use_to_charmap): Use convert_charseq and free instead of duplicating
26172         its code with a variable-length stack struct.
26174 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
26176         * include/fcntl.h (__libc_creat): Remove declaration.
26177         * io/creat.c (__libc_creat): Rename to creat.
26178         (creat): Do not define as alias.
26179         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
26180         of creat instead of __libc_creat.
26181         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
26182         to creat.
26183         (creat): Do not define as alias.
26184         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
26185         __libc_creat.
26186         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
26187         __libc_creat name.
26188         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
26189         Likewise.
26191 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
26193         * manual/llio.texi: Add comments discussing why write() may be
26194         considered MT-unsafe on Linux.
26196 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
26198         * dl-load.c (local_strdup): Remove.
26199         (expand_dynamic_string_token): Use __strdup.
26200         (decompose_rpath): Likewise.
26201         (_dl_map_object): Likewise.
26203 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
26205         [BZ #14132]
26206         * sysdeps/generic/unwind-dw2-fde.c
26207         (__register_frame_info_bases_internal): Do not declare.
26208         (__register_frame_info_table_bases_internal): Likewise.
26209         (__deregister_frame_info_bases_internal): Likewise.
26210         (__register_frame_info_bases): Declare and use hidden_proto before
26211         definition.  Use hidden_def instead of INTDEF.
26212         (__register_frame_info_table_bases): Likewise.
26213         (__deregister_frame_info_bases): Likewise.
26214         (__register_frame_info): Do not use INTUSE.
26215         (__register_frame): Likewise.
26216         (__register_frame_info_table): Likewise.
26217         (__register_frame_table): Likewise.
26218         (__deregister_frame_info): Likewise.
26219         (__deregister_frame): Likewise.
26221 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
26223         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26224         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
26225         not undefine.
26226         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
26227         Likewise.
26228         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
26229         Likewise.
26231 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
26233         [BZ #14138]
26234         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
26235         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
26236         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
26237         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
26238         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
26239         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
26240         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
26241         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
26242         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
26243         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
26244         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
26245         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
26246         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
26247         syscall.
26248         (setfsuid): Likewise.
26249         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
26250         (setfsuid): Likewise.
26251         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
26252         (setfsuid): Likewise.
26253         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
26254         Likewise.
26255         (setfsuid): Likewise.
26256         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
26257         (setfsuid): Likewise.
26258         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
26259         Likewise.
26260         (setfsuid): Likewise.
26262 2014-10-27  Andreas Schwab  <schwab@suse.de>
26264         [BZ #17501]
26265         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
26266         check for Slow_SSE4_2 feature bit.
26267         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
26268         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26269         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
26270         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
26272 2014-10-24  Roland McGrath  <roland@hack.frob.com>
26274         * configure.ac: Validate compiler version with a empirical test of
26275         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
26276         $CC -v output.
26277         * configure: Regenerated.
26279         * inet/htons.c (htons): Prototypify.
26280         * inet/htonl.c (htonl): Likewise.
26282 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26284         * string/strncat.c (strncat): Improve performance by using strlen.
26286 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26288         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
26290 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26292         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
26293         Call libc_fetestexcept_aarch64.
26295 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26297         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
26298         Call libc_feholdexcept_aarch64.
26300 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26302         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
26303         Call get_rounding_mode.
26305 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26307         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26308         Simplify logic.
26310 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26312         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
26313         Simplify logic.
26315 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
26317         [BZ #14138]
26318         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
26319         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
26320         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
26321         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
26322         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
26323         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
26324         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
26325         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
26326         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
26327         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
26328         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26329         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
26330         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
26331         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
26332         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
26333         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
26334         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
26335         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
26336         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
26337         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
26338         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
26339         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
26340         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
26341         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
26342         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
26343         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
26344         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
26345         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
26346         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
26347         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
26348         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
26349         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
26350         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
26351         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
26352         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
26353         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
26354         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
26355         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
26356         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
26357         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
26358         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
26359         syscall.
26360         (geteuid): Likewise.
26361         (getgid): Likewise.
26362         (getuid): Likewise.
26363         (getresgid): Likewise.
26364         (getresuid): Likewise.
26365         (getgroups): Likewise.
26366         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
26367         (geteuid): Likewise.
26368         (getgid): Likewise.
26369         (getuid): Likewise.
26370         (getresgid): Likewise.
26371         (getresuid): Likewise.
26372         (getgroups): Likewise.
26373         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
26374         (geteuid): Likewise.
26375         (getgid): Likewise.
26376         (getuid): Likewise.
26377         (getresgid): Likewise.
26378         (getresuid): Likewise.
26379         (getgroups): Likewise.
26380         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
26381         Likewise.
26382         (geteuid): Likewise.
26383         (getgid): Likewise.
26384         (getuid): Likewise.
26385         (getresgid): Likewise.
26386         (getresuid): Likewise.
26387         (getgroups): Likewise.
26388         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
26389         (geteuid): Likewise.
26390         (getgid): Likewise.
26391         (getuid): Likewise.
26392         (getresgid): Likewise.
26393         (getresuid): Likewise.
26394         (getgroups): Likewise.
26395         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
26396         Likewise.
26397         (geteuid): Likewise.
26398         (getgid): Likewise.
26399         (getuid): Likewise.
26400         (getgroups): Likewise.
26402         [BZ #14138]
26403         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
26404         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
26405         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
26406         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26407         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
26408         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
26409         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
26410         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
26411         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
26412         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
26413         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
26414         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
26415         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
26416         __chown.
26417         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
26418         (lchown): Likewise.
26419         (fchown): Likewise.
26420         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
26421         Likewise.
26422         (lchown): Likewise.
26423         (fchown): Likewise.
26424         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
26425         (lchown): Likewise.
26426         (fchown): Likewise.
26427         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
26428         Likewise.
26429         (lchown): Likewise.
26430         (fchown): Likewise.
26432 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26434         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
26435         Simplify logic.
26437 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26439         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26440         Cleanup logic.
26442 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26444         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26445         Remove unused include.
26447 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26449         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
26450         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
26451         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
26452         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
26454 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
26455             Helge Deller <deller@gmx.de>
26457         [BZ #17508]
26458         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
26459         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
26460         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
26462 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
26464         [BZ #14132]
26465         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
26466         Remove macro definition.
26467         (__ashrdi3_v_glibc20): Likewise.
26468         (__lshrdi3_v_glibc20): Likewise.
26469         (__cmpdi2_v_glibc20): Likewise.
26470         (__ucmpdi2_v_glibc20): Likewise.
26471         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
26472         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26473         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26474         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26475         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26476         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
26478 2014-10-22  Roland McGrath  <roland@hack.frob.com>
26480         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
26481         old GNU extension [0] syntax.
26482         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
26483         alloca rather than an array member with variable length.
26484         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
26485         * nscd/nscd.c (invalidate_db): New function, broken out of ...
26486         (parse_opt): ... here.  Likewise use alloca there.
26487         Validate the -i argument before checking for rootness.
26488         (send_shutdown): New function, broken out of ...
26489         (parse_opt): ... here.
26491 2014-10-22  Roland McGrath  <roland@hack.frob.com>
26493         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
26494         macro to get at the _rt_local_ro field.
26495         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
26496         ([PIC] case) or _dl_hwcap ([!PIC] case).
26497         * sysdeps/arm/setjmp.S: Likewise.
26499         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
26500         * sysdeps/arm/configure.ac: New check to define it.
26501         * sysdeps/arm/configure: Regenerated.
26502         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
26503         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
26504         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
26505         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
26506         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
26507         Use move/movt pair instead of a load.
26508         (LDST_GLOBAL): Macro removed.
26509         (LDR_GLOBAL): New macro replaces it.
26510         (LDR_HIDDEN): New macro.
26511         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
26512         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
26514         * setjmp/tst-setjmp-static.c: New file.
26515         * setjmp/Makefile (tests): Add it.
26516         (tests-static): New variable.
26518 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
26520         [BZ #17485]
26521         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
26523 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
26525         [BZ #14132]
26526         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
26528 2014-10-21  Roland McGrath  <roland@hack.frob.com>
26530         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
26532 2014-10-20  Roland McGrath  <roland@hack.frob.com>
26534         * io/fts.c (dirent_not_directory): New function.
26535         (fts_build): Call it.
26537 2014-10-20  Roland McGrath  <roland@hack.frob.com>
26539         * nptl/version.c (__nptl_main): Use normal __write rather than
26540         INTERNAL_SYSCALL.
26541         (banner): Update copyright years.
26543         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
26544         gettimeofday.
26545         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26546         * nptl/pthread_cond_timedwait.c: Likewise.
26547         * nptl/pthread_mutex_timedlock.c: Likewise.
26548         * nptl/sem_timedwait.c: Likewise.
26550         * sysdeps/nptl/bits/libc-lock.h
26551         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
26552         (__libc_lock_init_recursive): Return void, not 0.
26553         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
26554         (__libc_rwlock_init): Likewise.
26555         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
26557 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26559         [BZ #15215]
26560         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
26561         (__pthread_once_slow): ... here.
26562         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
26563         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
26565 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26567         [BZ #15215]
26568         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
26569         __PTHREAD_ONCE_FORK_GEN_INCR): New.
26570         * sysdeps/nptl/fork.c (__libc_fork): Use them.
26571         * nptl/pthread_once.c (__pthread_once): Likewise.
26572         Update comments.
26574 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
26576         [BZ #14138]
26577         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
26578         name.
26579         (writev): Use __libc_writev as strong name.
26580         * sysdeps/unix/sysv/linux/readv.c: Remove file.
26581         * sysdeps/unix/sysv/linux/writev.c: Likewise.
26583 2014-10-17  Roland McGrath  <roland@hack.frob.com>
26585         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
26587         * sysdeps/i386/nptl/tls.h
26588         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
26589         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
26590         New macros.
26591         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
26592         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
26593         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
26594         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
26595         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
26596         Call CHECK_THREAD_SYSINFO instead of doing an assert.
26598         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26599         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
26600         on [__NR_futex].
26601         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
26602         broken out of ...
26603         (__pthread_mutex_init): ... here.  Call it.
26604         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
26605         Conditionalize PI cases on [__NR_futex].
26606         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
26607         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
26608         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
26610         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
26611         conditional on [SIGSETXID].
26612         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
26613         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
26614         is defined.  Likewise for SIGSETXID.
26615         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
26616         Conditionalize definitions on [SIGSETXID].
26617         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
26618         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
26619         unblocking on [SIGCANCEL].
26621         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
26622         [__NR_set_robust_list].
26624 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26626         * string/strcoll_l.c (get_next_seq): Fix up formatting.
26627         (do_compare): Likewise.
26629 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
26631         [BZ #15884]
26632         * string/strcoll_l.c: Don't include stdio.h.
26633         (coll_seq): Remove members idxarr and rulearr.
26634         (get_next_seq_cached): Remove function.
26635         (get_next_seq): Likewise.
26636         (get_next_seq_nocache): Rename to get_next_seq.
26637         (do_compare): Remove function.
26638         (do_compare_nocache): Rename to do_compare.
26639         (STRCOLL): Remove weight and rules cache.
26641 2014-10-16  Roland McGrath  <roland@hack.frob.com>
26643         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
26644         * sysdeps/arm/sfp-machine.h: ... to here.
26645         * sysdeps/arm/Implies: Remove arm/soft-fp.
26647 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
26649         * conform/data/sys/utsname.h-data (*_t): Allow.
26650         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
26651         [POSIX] (WEXITED): Do not expect constant.
26652         [POSIX] (WSTOPPED): Likewise.
26653         [POSIX] (WNOHANG): Likewise.
26654         [POSIX] (WNOWAIT): Likewise.
26655         [POSIX] (siginfo_t): Do not expect type or elements.
26656         [POSIX] (pid_t): Do not expect type.
26657         [POSIX] (signal.h): Do not allow header.
26658         [POSIX] (sys/resource.h): Likewise.
26659         [POSIX] (si_*): Do not allow pattern.
26660         [POSIX] (W*): Likewise.
26661         [POSIX] (P_*): Likewise.
26662         [POSIX] (BUS_*): Likewise.
26663         [POSIX] (CLD_*): Likewise.
26664         [POSIX] (FPE_*): Likewise.
26665         [POSIX] (ILL_*): Likewise.
26666         [POSIX] (POLL_*): Likewise.
26667         [POSIX] (SEGV_*): Likewise.
26668         [POSIX] (SI_*): Likewise.
26669         [POSIX] (TRAP_*): Likewise.
26670         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
26671         variable.
26673 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
26675         [BZ #12926]
26676         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
26677         infinite loop when __recvmsg returns 0.
26679 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
26681         * CANCEL-FCT-WAIVE: Remove file.
26682         * CANCEL-FILE-WAIVE: Likewise.
26684         [BZ #14132]
26685         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
26686         instead of INTVARDEF.
26687         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26688         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
26689         rtld_hidden_data_def instead of INTVARDEF.
26690         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26691         * elf/dl-deps.c (expand_dst): Likewise.
26692         * elf/dl-load.c (_dl_dst_count): Likewise.
26693         (_dl_dst_substitute): Likewise.
26694         (decompose_rpath): Likewise.
26695         (_dl_init_paths): Likewise.
26696         (open_path): Likewise.
26697         (_dl_map_object): Likewise.
26698         * elf/rtld.c (dl_main): Likewise.
26699         (process_dl_audit): Likewise.
26700         (process_envvars): Likewise.
26701         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
26702         Remove declaration.
26703         (__libc_enable_secure): Use rtld_hidden_proto.
26705 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26707         * elf/dl-load.c
26708         (add_path): New function broken out of _dl_rtld_di_serinfo.
26709         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
26711 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
26713         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
26714         parentheses around macro arguments.
26715         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
26716         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
26717         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
26718         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
26719         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
26720         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26721         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26722         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
26723         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
26724         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
26725         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
26726         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
26727         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
26728         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
26729         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
26730         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
26731         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
26732         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
26733         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
26734         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
26735         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
26736         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
26737         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
26738         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26739         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26740         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
26741         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
26742         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
26743         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
26744         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
26745         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
26746         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
26747         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
26748         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
26749         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
26750         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
26751         Likewise.
26752         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
26753         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26754         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26755         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
26756         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
26757         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
26758         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
26759         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
26760         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
26761         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
26762         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
26763         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
26764         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
26765         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
26766         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
26767         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26768         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26769         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
26770         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
26771         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
26772         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
26773         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
26774         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
26775         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
26776         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
26777         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
26778         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
26779         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
26780         (_FP_FRAC_SRS_1): Likewise.
26781         (_FP_FRAC_CLZ_1): Likewise.
26782         (_FP_MUL_MEAT_1_imm): Likewise.
26783         (_FP_MUL_MEAT_1_wide): Likewise.
26784         (_FP_MUL_MEAT_1_hard): Likewise.
26785         (_FP_SQRT_MEAT_1): Likewise.
26786         (_FP_FRAC_ASSEMBLE_1): Likewise.
26787         (_FP_FRAC_DISASSEMBLE_1): Likewise.
26788         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
26789         (__FP_CLZ_2): Likewise.
26790         (_FP_MUL_MEAT_2_wide): Likewise.
26791         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
26792         (_FP_MUL_MEAT_2_gmp): Likewise.
26793         (_FP_MUL_MEAT_2_120_240_double): Likewise.
26794         (_FP_SQRT_MEAT_2): Likewise.
26795         (_FP_FRAC_ASSEMBLE_2): Likewise.
26796         (_FP_FRAC_DISASSEMBLE_2): Likewise.
26797         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
26798         (_FP_FRAC_CLZ_4): Likewise.
26799         (_FP_MUL_MEAT_4_wide): Likewise.
26800         (_FP_MUL_MEAT_4_gmp): Likewise.
26801         (_FP_SQRT_MEAT_4): Likewise.
26802         (_FP_FRAC_ASSEMBLE_4): Likewise.
26803         (_FP_FRAC_DISASSEMBLE_4): Likewise.
26804         * soft-fp/op-common.h (_FP_CMP): Likewise.
26805         (_FP_CMP_EQ): Likewise.
26806         (_FP_CMP_UNORD): Likewise.
26807         (_FP_TO_INT): Likewise.
26808         (_FP_FROM_INT): Likewise.
26809         [!__FP_CLZ] (__FP_CLZ): Likewise.
26810         (_FP_DIV_HELP_imm): Likewise.
26811         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
26812         Likewise.
26813         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
26814         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
26815         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
26816         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
26817         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
26818         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26819         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26820         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
26821         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
26822         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
26823         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
26824         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
26825         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
26826         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
26827         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
26828         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
26829         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
26830         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
26831         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
26832         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
26833         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
26834         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
26835         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
26836         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26837         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26838         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
26839         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
26840         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
26841         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
26842         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
26843         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
26844         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
26845         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
26846         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
26847         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
26848         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
26849         (FP_UNPACK_RAW_SP): Likewise.
26850         (FP_PACK_RAW_S): Likewise.
26851         (FP_PACK_RAW_SP): Likewise.
26852         (FP_UNPACK_S): Likewise.
26853         (FP_UNPACK_SP): Likewise.
26854         (FP_UNPACK_SEMIRAW_S): Likewise.
26855         (FP_UNPACK_SEMIRAW_SP): Likewise.
26856         (FP_PACK_S): Likewise.
26857         (FP_PACK_SP): Likewise.
26858         (FP_PACK_SEMIRAW_S): Likewise.
26859         (FP_PACK_SEMIRAW_SP): Likewise.
26860         (_FP_SQRT_MEAT_S): Likewise.
26861         (FP_CMP_S): Likewise.
26862         (FP_CMP_EQ_S): Likewise.
26863         (FP_CMP_UNORD_S): Likewise.
26864         (FP_TO_INT_S): Likewise.
26865         (FP_FROM_INT_S): Likewise.
26867         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
26869         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
26870         (FP_EX_INVALID_IMZ): Likewise.
26871         (FP_EX_INVALID_IMZ_FMA): Likewise.
26872         (FP_EX_INVALID_ISI): Likewise.
26873         (FP_EX_INVALID_ZDZ): Likewise.
26874         (FP_EX_INVALID_IDI): Likewise.
26875         (FP_EX_INVALID_SQRT): Likewise.
26876         (FP_EX_INVALID_CVI): Likewise.
26877         (FP_EX_INVALID_VC): Likewise.
26878         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
26879         "invalid" exceptions.
26880         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
26881         (_FP_ADD_INTERNAL): Likewise.
26882         (_FP_MUL): Likewise.
26883         (_FP_FMA): Likewise.
26884         (_FP_DIV): Likewise.
26885         (_FP_CMP_CHECK_NAN): Likewise.
26886         (_FP_SQRT): Likewise.
26887         (_FP_TO_INT): Likewise.
26888         (FP_EXTEND): Likewise.
26890 2014-10-09  Allan McRae  <allan@archlinux.org>
26892         * po/fr.po: Update French translation from translation project.
26894 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
26896         [BZ #14132]
26897         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
26898         of INTDEF.
26899         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
26900         (__cxa_atexit): Use libc_hidden_proto.
26901         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
26903         [BZ #14132]
26904         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
26905         declaration.
26906         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
26907         [!_ISOMAC] (__iswspace_l_internal): Likewise.
26908         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
26909         [!_ISOMAC] (__iswctype_internal): Likewise.
26910         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
26911         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
26912         alias.
26913         (fcntl): Remove __fcntl_internal alias.
26914         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
26915         __connect_internal alias.
26916         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
26917         Likewise.
26919         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
26920         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
26921         FP_DENORM_ZERO.
26922         (_FP_CHECK_FLUSH_ZERO): New macro.
26923         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
26924         (_FP_CMP): Likewise.
26925         (_FP_CMP_EQ): Likewise.
26926         (_FP_TO_INT): Do not set inexact for subnormal arguments if
26927         FP_DENORM_ZERO.
26928         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
26929         (FP_TRUNC): Likewise.
26931         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
26932         treated as invalid conversion, not as normal exponent.
26934         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
26935         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
26936         (_FP_CMP_EQ): Likewise.
26937         (_FP_CMP_UNORD): Likewise.
26938         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
26939         (FP_CMP_EQ_D): Likewise.
26940         (FP_CMP_UNORD_D): Likewise.
26941         * soft-fp/extended.h (FP_CMP_E): Likewise.
26942         (FP_CMP_EQ_E): Likewise.
26943         (FP_CMP_UNORD_E): Likewise.
26944         * soft-fp/quad.h (FP_CMP_Q): Likewise.
26945         (FP_CMP_EQ_Q): Likewise.
26946         (FP_CMP_UNORD_Q): Likewise.
26947         * soft-fp/single.h (FP_CMP_S): Likewise.
26948         (FP_CMP_EQ_S): Likewise.
26949         (FP_CMP_UNORD_S): Likewise.
26950         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
26951         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
26952         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
26953         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
26954         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
26955         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
26956         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
26957         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
26958         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
26959         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
26960         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
26961         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
26962         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
26963         to FP_CMP_Q.
26964         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
26965         FP_CMP_Q.
26966         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
26967         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
26968         FP_CMP_EQ_Q.
26969         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
26970         FP_CMP_Q.
26971         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
26972         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
26973         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
26974         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
26975         FP_CMP_EQ_Q.
26976         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
26977         FP_CMP_Q.
26978         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
26979         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
26980         FP_CMP_EQ_Q.
26981         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
26982         FP_CMP_Q.
26983         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
26984         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
26985         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
26986         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
26987         FP_CMP_EQ_Q.
26989         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
26990         a subnormal result, set the underflow exception if trapping on
26991         underflow is enabled.
26992         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
26993         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
26994         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
26995         redefine to 0.
26996         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
26997         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26998         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26999         * soft-fp/extendxftf2.c (__extendxftf2): Use
27000         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
27002         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
27003         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
27004         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27005         FP_HANDLE_EXCEPTIONS.
27006         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
27007         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27008         FP_HANDLE_EXCEPTIONS.
27009         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
27010         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27011         FP_HANDLE_EXCEPTIONS.
27012         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
27013         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27014         FP_HANDLE_EXCEPTIONS.
27016 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
27018         [BZ #14132]
27019         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
27020         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
27021         use INTUSE.
27022         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
27023         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
27024         Remove alias.
27025         (__adjtimex): Define using libc_hidden_ver.
27026         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
27027         Remove declaration.
27028         (ntp_gettime): Call __adjtimex directly.
27029         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
27030         Remove declaration.
27031         (ntp_gettimex): Call __adjtimex directly.
27032         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
27033         __adjtimex_internal alias.
27035 2014-10-08  Roland McGrath  <roland@hack.frob.com>
27037         [BZ #17460]
27038         * nscd/nscd.c (more_help): Rewrite list of tables collection
27039         using xstrdup and asprintf.
27041         * nscd/nscd_conf.c: Remove local xstrdup declaration.
27043 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27044             Roland McGrath  <roland@hack.frob.com>
27046         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
27047         (do_lookup_unique): ... local function 'enter' here; update callers.
27049 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
27051         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
27052         compat_symbol calls on [SHARED].
27053         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
27054         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
27055         Remove.
27056         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27057         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
27058         (oldsetrlimit): Remove.
27059         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27061         (lchown): New syscall entry.
27062         (oldsetrlimit): Remove.
27063         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27064         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
27065         (oldsetrlimit): Remove.
27066         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27068         [BZ #14138]
27069         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
27070         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
27071         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
27072         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
27073         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
27074         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
27075         (fchown): Likewise.
27076         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
27077         (fchown): Likewise.
27078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
27079         Likewise.
27081 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27083         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
27084         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
27085         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
27086         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
27087         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
27088         Likewise.
27089         (__old_sem_post): Likewise.
27091 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
27093         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
27094         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
27095         HAVE_CLOCK_GETTIME_VSYSCALL macros.
27096         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
27097         Use INLINE_VSYSCALL macro.
27098         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
27099         __vdso_clock_gettime.
27100         * sysdeps/unix/sysv/linux/tile/init-first.c
27101         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
27102         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
27103         __vdso_clock_gettime.
27105         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
27106         to set up frame more cleanly.
27108         * sysdeps/tile/memcmp.c: New file.
27110         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
27112         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
27113         * sysdeps/tile/tilegx/strcasestr.c: New file.
27114         * sysdeps/tile/tilegx/strnlen.c: New file.
27115         * sysdeps/tile/tilegx/strstr.c: New file.
27117         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
27119 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
27121         * nptl/tst-setuid3.c: Write errors to stdout.
27123 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27125         * elf/dl-deps.c
27126         (preload): New functions broken out of _dl_map_object_deps.
27127         (_dl_map_object_deps):  Remove a nested function. Update call sites.
27129 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
27131         [BZ #14138]
27132         * sysdeps/unix/sysv/linux/execve.c: Remove file.
27133         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
27135 2014-10-01  Steve Ellcey  <sellcey@mips.com>
27137         * sysdeps/mips/strcmp.S: New.
27139 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
27141         [BZ #14138]
27142         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
27143         (linkat): Likewise.
27144         (mkdirat): Likewise.
27145         (readlinkat): Likewise.
27146         (renameat): Likewise.
27147         (symlinkat): Likewise.
27148         (unlinkat): Likewise.
27149         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
27150         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
27151         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
27152         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
27153         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
27154         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
27155         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
27157 2014-09-30  Will Newton  <will.newton@linaro.org>
27159         * math/math.h: Define long double math functions if
27160         _LIBC_TEST is defined.
27161         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
27163         * localedata/Makefile: Move assignment to tests-special
27164         into an ifdef testing run-built-tests.
27165         * timezone/Makefile: Likewise.
27167 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
27169         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
27170         with $(BASH) not $(SHELL).
27172 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
27173             Matthew LeGendre  <legendre1@llnl.gov>
27175         [BZ #17411]
27176         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
27177         l_reloc_result.
27179 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27181         * stdio-common/printf_fp.c
27182         (hack_digit): New function, broken out of ...
27183         (__printf_fp): ... local function here.  Update call sites.
27184         hack_digit now takes an additional parameter that is a pointer
27185         to a struct of the referenced locals.  Those locals moved inside
27186         the struct and references updated.
27188 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
27190         * aclocal.m4: Require autoconf 2.69.
27191         * configure: Regenerated.
27192         * sysdeps/aarch64/configure: Likewise.
27193         * sysdeps/alpha/configure: Likewise.
27194         * sysdeps/arm/armv7/configure: Likewise.
27195         * sysdeps/arm/configure: Likewise.
27196         * sysdeps/ia64/configure: Likewise.
27197         * sysdeps/mach/configure: Likewise.
27198         * sysdeps/mips/configure: Likewise.
27199         * sysdeps/s390/configure: Likewise.
27200         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
27201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
27203         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
27204         file.
27205         * sysdeps/ia64/configure.ac: Likewise.
27207 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
27209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
27210         specify symbol version for ld.so.  Do not include entry for
27211         libpthread.
27212         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27213         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27214         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27216         [BZ #14171]
27217         * Makeconfig [$(build-shared) = yes]
27218         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
27219         makefiles.
27220         [$(build-shared) = yes && $(soversions.mk-done) = t]
27221         ($(common-objpfx)gnu/lib-names.h): Remove rule.
27222         [$(build-shared) = yes && $(soversions.mk-done) = t]
27223         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
27224         to Makerules.
27225         [$(build-shared) = yes && $(soversions.mk-done) = t]
27226         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
27227         here.
27228         [$(build-shared) = yes && $(soversions.mk-done) = t]
27229         (common-generated): Don't append gnu/lib-names.h and
27230         gnu/lib-names.stmp here.
27231         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
27232         (lib-names-h-abi): New variable.
27233         [$(build-shared) = yes && $(soversions.mk-done) = t]
27234         (lib-names-stmp-abi): Likewise.
27235         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27236         abi-variants] (before-compile): Append
27237         $(common-objpfx)$(lib-names-h-abi).
27238         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27239         abi-variants] (common-generated): Append gnu/lib-names.h.
27240         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27241         abi-variants] (install-others-nosubdir): Depend on
27242         $(inst_includedir)/$(lib-names-h-abi).
27243         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27244         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
27245         [$(build-shared) = yes && $(soversions.mk-done) = t]
27246         ($(common-objpfx)$(lib-names-h-abi)): New rule.
27247         [$(build-shared) = yes && $(soversions.mk-done) = t]
27248         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
27249         [$(build-shared) = yes && $(soversions.mk-done) = t]
27250         (common-generated): Append $(lib-names-h-abi) and
27251         $(lib-names-stmp-abi).
27252         * scripts/lib-names.awk: Do not handle multi being set.
27253         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
27254         Remove variable.
27255         (abi-lp64_be-ld-soname): Likewise.
27256         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
27257         Likewise.
27258         (abi-hard-ld-soname): Likewise.
27259         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
27260         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
27261         Remove variable.
27262         (abi-o32_hard-ld-soname): Likewise.
27263         (abi-o32_soft_2008-ld-soname): Likewise.
27264         (abi-o32_hard_2008-ld-soname): Likewise.
27265         (abi-n32_soft-ld-soname): Likewise.
27266         (abi-n32_hard-ld-soname): Likewise.
27267         (abi-n32_soft_2008-ld-soname): Likewise.
27268         (abi-n32_hard_2008-ld-soname): Likewise.
27269         (abi-n64_soft-ld-soname): Likewise.
27270         (abi-n64_hard-ld-soname): Likewise.
27271         (abi-n64_soft_2008-ld-soname): Likewise.
27272         (abi-n64_hard_2008-ld-soname): Likewise.
27273         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
27274         Likewise.
27275         (abi-64-v2-ld-soname): Likewise.
27276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
27277         ld.so entries.
27278         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
27279         variable.
27280         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
27281         entry.
27282         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
27283         variable.
27284         (abi-64-ld-soname): Likewise.
27285         (abi-x32-ld-soname): Likewise.
27286         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
27287         entry.
27288         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27290 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
27292         [BZ #14138]
27293         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
27294         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
27295         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
27296         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
27297         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
27298         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
27299         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
27300         syscall entry for GLIBC_2.2 symbol version.
27301         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
27302         Likewise.
27303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27304         (setrlimit): Likewise.
27305         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
27306         Likewise.
27308 2014-09-23  Will Newton  <will.newton@linaro.org>
27310         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
27311         _LINUX_ARM_SYSDEP_H include guard too.
27312         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
27313         define.
27315 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27317         * sysdeps/unix/sysv/linux/eventfd.c:
27318         Make first argument unsigned.
27319         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
27320         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
27322 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
27324         [BZ #16852]
27325         * socket/recvmmsg.c (recvmmsg): Drop const argument.
27326         * socket/sys/socket.h: Likewise.
27327         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
27329 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27331         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
27333 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
27335         * time/tst-ftime.c: New test.
27336         * time/Makefile (tests): Add tst-ftime.
27338 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
27340         * soft-fp/extended.h: Fix comment formatting.
27341         * soft-fp/op-1.h: Likewise.
27342         * soft-fp/op-2.h: Likewise.
27343         * soft-fp/op-4.h: Likewise.
27344         * soft-fp/op-8.h: Likewise.
27345         * soft-fp/op-common.h: Likewise.
27346         * soft-fp/soft-fp.h: Likewise.
27348         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
27350 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
27352         [BZ #6652]
27353         * Makeconfig (soversions-default-setname): Remove variable.
27354         ($(common-objpfx)soversions.i): Don't pass default_setname to
27355         soversions.awk.
27356         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
27357         oldest_abi to abi-versions.awk.
27358         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
27359         * config.make.in (oldest-abi): Remove variable.
27360         * configure.ac (--enable-oldest-abi): Remove configure option.
27361         * configure: Regenerated.
27362         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
27363         text.
27364         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
27365         * scripts/soversions.awk: Do not handle default_setname variable.
27366         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
27367         variable.
27368         * sysdeps/mach/hurd/configure: Regenerated.
27369         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
27370         variable.
27371         * sysdeps/unix/sysv/linux/configure: Regenerated.
27373 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27375         * elf/Makefile (CFLAGS-interp.c): Remove.
27376         ($(elf-objpfx)runtime-linker.h): Generate header with linker
27377         path string.
27378         * elf/interp.c: Include generated runtime-linker.h
27380         * Makerules (lib%.so): Don't include $(+interp) in
27381         prerequisites.
27382         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
27383         * dlfcn/eval.c: Remove file.
27385         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
27386         macros.
27388         [BZ #17266]
27389         * misc/sys/cdefs.h: Define __extern_always_inline for clang
27390         4.2 and newer.
27392         [BZ #17370]
27393         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
27395 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27396             Jakub Jelinek  <jakub@redhat.com>
27398         [BZ #17266]
27399         * libio/stdio.h: Check definition of __fortify_function
27400         instead of __extern_always_inline to include bits/stdio2.h.
27401         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
27402         check if __extern_always_inline is defined.
27403         [__USE_MISC || __USE_XOPEN]: Likewise.
27404         [__USE_ISOC99] Likewise.
27405         * misc/sys/cdefs.h (__fortify_function): Define only if
27406         __extern_always_inline is defined.
27407         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
27408         __extern_always_inline and __extern_inline only for g++-4.3
27409         and newer or a compatible gcc.
27411 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
27413         [BZ #17371]
27414         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27415         last change to handle zero prefix length.
27417 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27419         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
27420         _SC_REGEX_VERSION.
27422         * posix/getconf.c (vars): Add _POSIX_IPV6 and
27423         _POSIX_RAW_SOCKETS.
27425 2014-09-13  Allan McRae  <allan@archlinux.org>
27427         * po/ru.po: Update Russian translation from translation project.
27429 2014-09-12  Roland McGrath  <roland@hack.frob.com>
27431         * locale/programs/locale.c (show_locale_vars): Inline local function
27432         into its sole call site.  Clean up some style nits.
27433         (print_item): New function, broken out of ...
27434         (show_info): ... local function here.  Clean up style nits.
27436         * locale/programs/ld-ctype.c (set_one_default): New function, broken
27437         out of ...
27438         (set_class_defaults): ... local function set_default here.
27439         Define set_default as a macro locally to pass constant parameters.
27440         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
27441         rather than a shared local.
27443         * stdlib/rpmatch.c (try): New function, broken out of ...
27444         (rpmatch): ... local function here.  Also, prototypify definition.
27446 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
27448         * scripts/soversions.awk: Do not handle configuration names.
27449         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
27450         vendor and os variables to soversions.awk.
27451         * configure.ac: Do not modify gnu-* host_os.
27452         * configure: Regenerated
27453         * shlib-versions: Remove first column with configuration names.
27454         * nptl/shlib-versions: Likewise.
27455         * nptl_db/shlib-versions: Likewise.
27456         * sysdeps/hppa/shlib-versions: Likewise.
27457         * sysdeps/m68k/shlib-versions: Likewise.
27458         * sysdeps/mach/hurd/shlib-versions: Likewise.
27459         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
27460         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
27461         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
27462         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
27463         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
27464         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
27465         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
27466         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
27467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27468         Likewise.
27469         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27470         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27471         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27472         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27473         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27474         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
27475         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27476         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
27479         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
27480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
27481         Regenerated.
27482         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
27483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27484         Condition symbol version definitions on [HAVE_ELFV2_ABI].
27486         * shlib-versions: Remove OS-specific entries.  Moved to files in
27487         sysdeps.
27488         * sysdeps/mach/hurd/shlib-versions: New file.
27489         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27491         * nptl/shlib-versions: Remove architecture-specific entries.
27492         Moved to files in sysdeps.
27493         * shlib-versions: Likewise.
27494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
27495         file.
27496         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27497         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27498         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27499         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27501         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
27502         (UDP_NO_CHECK6_RX): Likewise.
27504 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27506         * sysdeps/posix/sysconf.c (__sysconf): Spell
27507         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
27509 2014-08-12  Florian Weimer  <fweimer@redhat.com>
27511         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
27512         loading.
27513         * iconv/Versions (__gconv_transliterate): Export for use from
27514         gconv modules.
27515         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
27516         (struct __gconv_trans_data, __gconv_trans_fct,
27517         __gconv_trans_context_fct, __gconv_trans_query_fct,
27518         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
27519         definitions.
27520         (struct __gconv_step_data): Remove __trans member.
27521         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
27522         longer hidden.  Remove unused trans_data argument.
27523         * iconv/gconv_int.h (struct trans_struct): Remove definition.
27524         (__gconv_translit_find): Remove declaration.
27525         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
27526         prototype.
27527         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
27528         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
27529         trans_data argument.  Add hidden definition.
27530         (__gconv_translit_find): Remove.
27531         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
27532         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
27533         * iconv/skeleton.c: Remove transliteration initialization.
27534         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
27535         __gconv_step_data initialization.
27536         * libio/iofwide.c (__libio_translit_): Remove.
27537         (_IO_fwide): Adjust struct __gconv_step_data initialization.
27538         * wcsmbs/btowc.c (__btowc): Likewise.
27539         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27540         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27541         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27542         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27543         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
27544         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27545         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27546         * wcsmbs/wctob.c (wctob): Likewise.
27548 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27550         [BZ #16194]
27551         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
27552         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
27553         register usage.
27554         * sysdeps/x86/Makefile: Adjust.
27556 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27557             Roland McGrath  <roland@hack.frob.com>
27559         * locale/weight.h: Add include guard.
27560         (findidx): Make static rather than auto; take new parameters
27561         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
27562         * locale/weightwc.h: Likewise.
27563         * posix/fnmatch_loop.c
27564         (FCT): Change type of EXTRA from int32_t to wint_t.
27565         Don't include either header inside the function.
27566         Call FINDIDX rather than findidx, and pass new arguments.
27567         #undef FINDIDX at the end of the file.
27568         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
27569         FINDIDX before including fnmatch_loop.c for the non-wide version.
27570         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
27571         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
27572         for the wide version.
27573         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
27574         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
27575         Pass new arguments to findidx.
27576         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
27577         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
27578         Don't #include it inside the function.  Pass new arguments to findidx.
27579         * posix/regex_internal.h
27580         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
27581         (re_string_elem_size_at): Don't #include it inside the function.
27582         Pass new arguments to findidx.
27583         * string/strcoll_l.c: #include WEIGHT_H at top level.
27584         (get_next_seq): Don't #include it inside the function.
27585         Pass new arguments to findidx.
27586         (get_next_seq_nocache): Likewise.
27587         * string/strxfrm_l.c: #include WEIGHT_H at top level.
27588         (STRXFRM): Don't #include it inside the function.
27589         Pass new arguments to findidx.
27591 2014-09-11  Florian Weimer  <fweimer@redhat.com>
27593         [BZ #17344]
27594         * malloc/malloc.c (unlink): Turn asserts into a call to
27595         malloc_printerr.
27597 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
27599         [BZ #17370]
27600         * libio/wfileops (do_ftell_wide): Free OUT.
27602 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
27604         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
27606 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27608         [BZ #17363]
27609         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
27610         group if the current group is empty.
27612 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27614         * benchtests/bench-memset.c (test_main): Add more test from size
27615         from 32 to 512 bytes.
27616         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27617         Add POWER8 memset object.
27618         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27619         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
27620         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
27621         implementation.
27622         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
27623         Likewise.
27624         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
27625         multiarch POWER8 memset optimization.
27626         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
27627         POWER8 memset optimization.
27629         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27630         Remove bzero multiarch objects.
27631         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
27632         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
27633         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
27634         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
27635         Remove define.
27636         [__bzero]: Redefine to specific name.
27637         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27638         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27639         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
27640         define.
27641         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27642         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27644 2014-09-10  Florian Weimer  <fweimer@redhat.com>
27646         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
27647         warnings into errors.
27649         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
27650         __cxa_thread_atexit_impl prototype.
27652 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27654         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
27655         Fix capitalization of error message.
27657 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27659         * sysdeps/mips/preconfigure: Modify ABI tests.
27661 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
27663         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
27665 2014-09-07  Roland McGrath  <roland@hack.frob.com>
27666             Carlos O'Donell  <carlos@systemhalted.org>
27668         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
27669         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
27670         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
27671         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
27672         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
27673         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
27674         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
27675         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
27676         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
27677         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
27678         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
27679         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
27680         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
27681         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
27682         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
27683         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
27684         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
27685         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
27686         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
27687         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
27688         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
27689         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
27690         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
27691         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
27692         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
27693         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
27694         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
27695         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
27696         Deconditionalize the code that was previously under [RESET_PID].
27697         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
27698         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
27699         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
27700         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
27701         include sysdep.h.
27703 2014-09-08  Allan McRae  <allan@archlinux.org>
27705         * version.h (RELEASE): Set to "development".
27706         (VERSION): Set to "2.20.90"
27708 2014-09-07  Allan McRae  <allan@archlinux.org
27710         * version.h (RELEASE): Set to "stable".
27711         (VERSION): Set to "2.20"
27712         * include/features.h (__GLIBC_MINOR__): Set to 20.
27714         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
27715         Liebler.
27717         * po/ko.po: Update Korean translation from translation project.
27719 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
27721         [BZ #17354]
27722         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
27723         macro for handling signed relocations.
27725 2014-09-03  Florian Weimer  <fweimer@redhat.com>
27727         [BZ #17325]
27728         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
27729         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
27730         assert.
27731         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
27732         * iconvdata/ibm935.c (BODY): Likewise.
27733         * iconvdata/ibm937.c (BODY): Likewise.
27734         * iconvdata/ibm939.c (BODY): Likewise.
27735         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
27736         assert.
27737         * iconvdata/Makefile (iconv-test.out): Pass module list to test
27738         script.
27739         * iconvdata/run-iconv-test.sh: New test loop for checking for
27740         decoder crashers.
27742 2014-09-02  Khem Raj  <raj.khem@gmail.com>
27744         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
27745         libm_hidden_ver.
27747 2014-09-01  Allan McRae  <allan@archlinux.org>
27749         * po/eo.po: Update Esperanto translation from translation project.
27751         * po/ca.po: Update Catalan translation from translation project.
27753 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27755         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
27756         __proc_dostop call.
27758 2014-08-27  Mark Wielaard  <mjw@redhat.com>
27760         [BZ #17319]
27761         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
27762         to call set_thread_area instead of hand written asm.
27763         (__NR_set_thread_area): Removed define.
27764         (TLS_FLAG_WRITABLE): Likewise.
27765         (__ASSUME_SET_THREAD_AREA): Remove check.
27766         (TLS_EBX_ARG): Remove define.
27767         (TLS_LOAD_EBX): Likewise.
27769 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27771         Simplify atomicity of socket creation in bind.
27773         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
27774         looking up the name after linking the file.
27776 2014-08-27  Allan McRae  <allan@archlinux.org>
27778         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27780 2014-08-26  Florian Weimer  <fweimer@redhat.com>
27782         [BZ #17187]
27783         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
27784         trans_compare, open_translit, __gconv_translit_find):
27785         Remove module loading code.
27787 2014-08-26  Allan McRae  <allan@archlinux.org>
27789         * po/vi.po: Update Vietnamese translation from translation project.
27791         * po/uk.po: Update Ukrainian translation from translation project.
27793         * po/fr.po: Update French translation from translation project.
27795         * po/ru.po: Update Russian translation from translation project.
27797         * po/pl.po: Update Polish translation from translation project.
27799         * po/cs.po: Update Czech translation from translation project.
27801         * po/de.po: Update German translation from translation project.
27803         * po/bg.po: Update Bulgarian translation from translation project.
27805         * po/sv.po: Update Sweedish translation from translation project.
27807         * po/nl.po: Update Dutch translation from translation project.
27809         * po/es.po: Update Spanish translation from translation project.
27811 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27813         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
27815         * catgets/Makefile (CPPFLAGS-gencat): Remove.
27816         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
27817         (CPPFLAGS-iconvconfig): Likewise.
27818         * timezone/Makefile (CPPFLAGS-zic): Likewise.
27820         * include/libc-symbols.h: Remove unnecessary check for
27821         NOT_IN_libc.
27822         * nptl/pthreadP.h: Likewise.
27823         * sysdeps/aarch64/setjmp.S: Likewise.
27824         * sysdeps/alpha/setjmp.S: Likewise.
27825         * sysdeps/arm/sysdep.h: Likewise.
27826         * sysdeps/i386/setjmp.S: Likewise.
27827         * sysdeps/m68k/setjmp.c: Likewise.
27828         * sysdeps/posix/getcwd.c: Likewise.
27829         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27830         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27831         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27832         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27833         * sysdeps/sh/sh3/setjmp.S: Likewise.
27834         * sysdeps/sh/sh4/setjmp.S: Likewise.
27835         * sysdeps/unix/alpha/sysdep.h: Likewise.
27836         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27837         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27838         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27839         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27842         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27843         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27844         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27845         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27846         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27847         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27848         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27849         * sysdeps/x86_64/setjmp.S: Likewise.
27851 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
27853         [BZ #17263]
27854         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
27855         <stdint.h>.
27856         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
27857         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
27859 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27861         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
27863         [BZ #17262]
27864         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
27865         and __x86_64__ when disabling x87 inline functions.
27867 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
27869         [BZ #17259]
27870         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
27871         asm statement with __cpuid_count.
27873 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
27875         * configure.ac: Change __ehdr_start code to dereference the struct.
27876         Run readelf on the output to look for relocations.
27877         * configure: Regenerated.
27879 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
27881         [BZ #17261]
27882         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
27883         value to 0.
27884         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
27886 2014-08-12  Roland McGrath  <roland@hack.frob.com>
27888         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
27890 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
27892         [BZ #16892]
27893         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
27894         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
27896 2014-08-12  Sean Anderson  <seanga2@gmail.com>
27898         * malloc/malloc.c: Fix typo in comment.
27900 2014-08-09  Allan McRae  <allan@archlinux.org>
27902         * Regenerate libc.po.
27904 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
27906         * intl/tst-gettext2.sh: Check every lang file for creation.
27908 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
27910         * sysdeps/aarch64/fpu/math_private.h
27911         (libc_feholdsetround_noex_aarch64_ctx): New function.
27913 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
27915         * sysdeps/arm/armv6/strcpy.S (strcpy):
27916         Fix performance issue in misaligned cases.
27918 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27920         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
27921         Move definition from termios.h.
27922         (struct termio): Likewise.
27923         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27924         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27925         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27926         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27927         Likewise.
27928         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
27929         Move definition to ioctl-types.h
27930         (struct termio): Likewise.
27931         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27932         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27933         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27934         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27935         Likewise.
27937 2014-08-05  Richard Henderson  <rth@redhat.com>
27939         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
27940         exceptions.
27941         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
27942         Add fraiseexcpt.
27943         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
27944         Use __feraiseexcept.
27945         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
27946         Protect libm symbols with IS_IN_libm.
27948         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
27950 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
27952         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
27954 2014-08-04  Will Newton  <will.newton@linaro.org>
27956         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
27957         file.
27959 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
27961         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
27962         variants for each function.
27964 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27966         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
27967         appended ...
27968         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
27969         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
27970         appended ...
27971         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
27972         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
27973         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
27974         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
27975         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
27976         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
27977         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
27978         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
27979         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
27980         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
27981         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
27982         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
27983         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
27984         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
27985         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
27986         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
27987         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
27988         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
27989         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
27990         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
27991         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
27992         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
27993         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
27994         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
27995         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
27996         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
27997         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
27998         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
27999         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
28000         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
28001         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
28002         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
28003         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
28004         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
28005         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
28006         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
28007         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
28008         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
28009         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
28010         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
28011         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
28012         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
28013         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
28014         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
28015         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
28016         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
28017         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
28018         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
28019         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
28020         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
28021         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
28022         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
28023         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
28024         Update #include.
28025         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
28026         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
28028 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28030         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
28031         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
28032         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
28033         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
28034         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
28035         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
28037 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28039         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
28040         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
28041         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28042         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
28044 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28046         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
28047         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
28048         (__libc_vfork): Define function under this name.
28049         (__vfork): Define as an alias.
28050         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
28051         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
28053 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28055         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
28056         that was previously under [RESET_PID].
28057         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
28059 2014-08-04  Andreas Schwab  <schwab@suse.de>
28061         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
28063 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
28065         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
28066         (main): Likewise.
28068 2014-08-01  Roland McGrath  <roland@hack.frob.com>
28070         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
28072 2014-08-01  Richard Henderon  <rth@redhat.com>
28074         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
28075         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
28076         typo in exact zero test.
28077         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28078         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28079         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28081 2014-08-01  Roland McGrath  <roland@hack.frob.com>
28083         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
28084         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
28085         * sysdeps/arm/sysdep.h: ... here.
28086         [!__ASSEMBLER__]: Include <stdint.h>.
28088 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28090         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
28091         (HAVE_WCTYPE_H): Likewise.
28092         (HAVE_ISWCTYPE): Likewise.
28093         (ENABLE_NLS): Likewise.
28094         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
28095         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
28097         * posix/regex_internal.c: Check if DEBUG is defined and is
28098         set.
28100         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
28101         (HAVE_MBSRTOWCS): Likewise.
28102         * posix/fnmatch.c: Include string.h unconditionally.
28104 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
28106         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
28107         reversal.
28109 2014-07-31  Roland McGrath  <roland@hack.frob.com>
28111         * sysdeps/generic/safe-fatal.h: New file.
28112         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
28113         * nptl/forward.c: Include it.
28114         (__pthread_unwind): Use __safe_fatal as default action, rather
28115         than a bogus use of INTERNAL_SYSCALL that could never work.
28117         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
28118         * configure.ac (libc_cv_builtin_trap): New test.
28119         * configure: Regenerated.
28120         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
28121         (ABORT_INSTRUCTION): Define using __builtin_trap.
28123         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
28124         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
28125         * sysdeps/nptl/nptl-signals.h: New file.
28126         * nptl/pthreadP.h: Include <nptl-signals.h>.
28128 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
28130         * sysdeps/s390/s390-64/utf16-utf32-z9.c
28131         (ONE_DIRECTION): Define.
28132         * sysdeps/s390/s390-64/utf8-utf16-z9.c
28133         (ONE_DIRECTION): Define.
28134         * sysdeps/s390/s390-64/utf8-utf32-z9.c
28135         (ONE_DIRECTION): Define.
28137 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
28139         * sysdeps/s390/Makefile: Delete file.
28140         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
28141         * sysdeps/s390/__longjmp.c: Delete file.
28142         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
28143         Remove fields __flags and __reserved.
28144         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
28145         and add versioning.
28146         * sysdeps/s390/rtld-__longjmp.c: Delete file.
28147         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
28148         * sysdeps/s390/rtld-setjmp.S: Likewise.
28149         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
28150         * sysdeps/s390/s390-32/__longjmp.c: ... here.
28151         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
28152         * sysdeps/s390/s390-32/setjmp.S: ... here.
28153         Add versioning.
28154         (__sigsetjmp): Remove setting __flags field.
28155         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
28156         * sysdeps/s390/s390-64/__longjmp.c: ... here.
28157         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
28158         * sysdeps/s390/s390-64/setjmp.S: ... here.
28159         Add versioning.
28160         (__sigsetjmp): Remove setting __flags field.
28161         * sysdeps/s390/setjmp.S: Delete file.
28162         * sysdeps/s390/sigjmp.c: Likewise.
28163         * sysdeps/s390/v1-longjmp.c: Likewise.
28164         * sysdeps/s390/v1-setjmp.h: Likewise.
28165         * sysdeps/s390/v1-sigjmp.c: Likewise.
28166         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
28167         Remove v1-longjmp_chk.
28168         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
28169         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
28170         Include debug/longjmp_chk.c and add versioning.
28171         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
28172         Include nptl/pt-longjmp.c and add versioning.
28173         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
28174         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
28175         Include __longjmp.c.
28176         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
28177         Move to ...
28178         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
28179         (__getcontext): Remove setting __flags field.
28180         Add versioning.
28181         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28182         Don't restore upper high grps.
28183         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
28184         Likewise.
28185         (__swapcontext): Remove setting uc_flags field.
28186         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
28187         Delete file.
28188         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
28189         Include __longjmp.c.
28190         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
28191         Move to ...
28192         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
28193         (__getcontext): Remove setting __flags field.
28194         Add versioning.
28195         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
28196         (__swapcontext): Remove setting uc_flags field.
28197         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
28198         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
28199         Remove fields uc_high_gprs and __reserved.
28200         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
28201         New file with reverted content.
28202         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
28203         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
28204         Regenerated.
28205         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
28206         Regenerated.
28208 2014-07-31  Andreas Schwab  <schwab@suse.de>
28210         * config.h.in (HAVE_IFUNC): Define to 0.
28211         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
28212         definedness.
28214 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
28216         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28217         memmove-avx-unaligned, memcpy-avx-unaligned and
28218         mempcpy-avx-unaligned.
28219         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28220         Add tests for AVX memcpy functions.
28221         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
28222         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
28223         memcpy_chk.
28224         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
28225         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
28226         memmove_chk.
28227         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
28228         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
28229         mempcpy_chk.
28230         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
28231         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
28232         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
28234 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28236         [BZ #17213]
28237         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
28238         powerpc64le.
28240 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
28242         [BZ #16839]
28243         * manual/llio.texi: Add section about open file description locks.
28244         * manual/examples/ofdlocks.c: Example of open file description
28245         lock usage.
28246         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
28247         F_OFD_SETLK, and F_OFD_SETLKW.
28249 2014-07-23  Allan McRae  <allan@archlinux.org>
28251         * po/es.po: Update Spanish translation from translation project.
28253 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
28255         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
28257 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
28259         [BZ #17078]
28260         * sysdeps/arm/dl-machine.h (elf_machine_rela)
28261         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
28262         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
28264 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
28266         [BZ #17088]
28267         * math/fesetenv.c (__fesetenv)
28268         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
28269         * math/feupdateenv.c (__feupdateenv)
28270         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
28272         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
28273         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28274         (__ASSUME_SOCKETCALL): Do not define.
28276         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
28277         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
28278         (__ASSUME_SOCKETCALL): Do not define.
28279         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
28280         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28281         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28282         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28283         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28284         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
28285         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28286         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28288         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
28289         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
28290         (__ASSUME_SOCKETCALL): Do not define.
28291         (__ASSUME_IPC64): Define unconditionally.
28292         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28293         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28294         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28295         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28296         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
28297         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28298         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
28299         Likewise.
28301         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
28302         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
28303         (__ASSUME_SOCKETCALL): Do not define.
28304         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
28305         (__ASSUME_FUTEX_LOCK_PI): Likewise.
28306         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28307         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
28308         (__ASSUME_REQUEUE_PI): Define unconditionally.
28309         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
28310         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
28311         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28312         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
28313         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28314         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28316         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
28317         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
28318         (__ASSUME_SOCKETCALL): Do not define.
28319         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
28320         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28321         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28322         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
28323         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28324         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28326         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
28327         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
28328         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28329         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
28330         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28331         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
28332         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28333         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
28334         (__ASSUME_GETCPU_SYSCALL): Likewise.
28336         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
28337         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
28338         cases for individual architectures.
28339         * sysdeps/gnu/configure: Regenerated.
28340         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
28341         LIBC_SLIBDIR_RTLDDIR.
28342         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
28343         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
28344         LIBC_SLIBDIR_RTLDDIR.
28345         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
28346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
28347         LIBC_SLIBDIR_RTLDDIR.
28348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28349         Regenerated.
28350         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
28351         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
28352         file.
28353         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
28354         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
28355         file.
28356         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
28357         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
28358         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
28359         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
28361         * sysdeps/aarch64/shlib-versions: Move to ...
28362         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
28363         * sysdeps/alpha/shlib-versions: Move to ...
28364         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
28365         * sysdeps/arm/shlib-versions: Move to ...
28366         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
28367         * sysdeps/hppa/shlib-versions: Move all contents except for
28368         libgcc_s entry to ...
28369         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
28370         entry from ...
28371         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
28372         * sysdeps/ia64/shlib-versions: Move to ...
28373         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
28374         entry from ...
28375         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
28376         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
28377         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
28378         * sysdeps/microblaze/shlib-versions: Move to ...
28379         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
28380         * sysdeps/mips/shlib-versions: Move to ...
28381         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
28382         entry from ...
28383         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
28384         * sysdeps/tile/shlib-versions: Move to ...
28385         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
28386         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
28387         from ...
28388         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
28389         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
28390         entry from ...
28391         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
28393 2014-07-17  Will Newton  <will.newton@linaro.org>
28395         * sysdeps/arm/bits/atomic.h
28396         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
28397         (__arch_compare_and_exchange_bool_16_int): Likewise.
28398         (__arch_compare_and_exchange_bool_64_int): Likewise.
28400         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
28401         into an #else block.
28403 2014-07-16  Roland McGrath  <roland@hack.frob.com>
28405         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
28406         just Linux configurations.  Test empirically that the compiler sets
28407         __ARM_EABI__, rather than using the tuple to decide.
28408         * sysdeps/arm/preconfigure: Regenerated.
28409         * sysdeps/unix/sysv/linux/arm/configure: File removed.
28410         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
28411         contents appended ...
28412         * sysdeps/arm/configure.ac: ... here.
28413         * sysdeps/arm/configure: Regenerated.
28415 2014-07-15  Roland McGrath  <roland@hack.frob.com>
28417         * nptl/pthread_kill.c: New file.
28418         * nptl/pthread_sigmask.c: New file.
28419         * nptl/pthread_sigqueue.c: New file.
28421         * sysdeps/nptl/lowlevellock.h: New file.
28422         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
28423         * sysdeps/nptl/lowlevellock-futex.h: New file.
28425         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
28426         Remove dead declarations.
28428 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
28430         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
28431         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
28432         config-cflags-avx2.
28433         * sysdeps/x86_64/configure.ac: Likewise.
28434         * sysdeps/i386/configure: Regenerated.
28435         * sysdeps/x86_64/configure: Likewise.
28436         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28437         memset-avx2 only if config-cflags-avx2 is yes.
28438         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28439         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
28440         defined.
28441         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
28442         only if HAVE_AVX2_SUPPORT is defined.
28443         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28445 2014-07-14  Alan Modra  <amodra@gmail.com>
28447         [BZ #17153]
28448         * elf/elf.h (DT_PPC64_NUM): Correct value.
28449         * NEWS: Add to fixed bug list.
28451 2014-07-13  Jim Meyering  <meyering@fb.com>
28453         [BZ 17150]
28454         regex: don't deref NULL upon heap allocation failure
28455         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
28456         failure in one more place.
28457         To trigger the segfault, configure grep -with-included-regex,
28458         build it, and run these commands:
28459         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
28461 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
28463         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28465 2014-07-11  Richard Henderson  <rth@redhat.com>
28467         * sysdeps/aarch64/libm-test-ulps: Update.
28469 2014-07-10  Florian Weimer  <fweimer@redhat.com>
28471         [BZ #17135]
28472         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
28473         * nptl/allocatestack.c (__nptl_setxid_error): New function.
28474         (__nptl_setxid): Initialize error member.  Call
28475         __nptl_setxid_error.
28476         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
28477         * nptl/descr.h (struct xid_command): Add error member.
28478         * nptl/tst-setuid3.c: New file.
28479         * nptl/Makefile (tests): Add it.
28481 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28483         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
28484         New define.
28485         (__lll_trylock): Use __lll_base_trylock.
28486         (__lll_cond_trylock): Likewise.
28488 2014-07-10  Roland McGrath  <roland@hack.frob.com>
28490         * nptl/pthread_create.c (start_thread): Use atomic_or and
28491         lll_futex_wake directly rather than lll_robust_dead.
28492         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28493         (lll_robust_dead): Macro removed.
28494         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
28495         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28496         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28497         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28498         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28499         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28500         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28501         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28502         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28503         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28504         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28505         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28506         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28507         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28508         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28510         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
28511         Use atomic_compare_and_exchange_val_acq directly rather than
28512         lll_robust_trylock.
28513         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28514         (__lll_robust_trylock, lll_robust_trylock): Removed.
28515         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28516         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28517         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28518         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28519         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28520         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28521         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28522         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28523         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28524         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28525         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28526         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28527         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28528         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28530 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28532         * manual/locale.texi (Locale Names): New section documenting
28533         locale name syntax.  Adjust menu and node chaining accordingly.
28534         (Choosing Locale): Reference Locale Names, Locale Categories.
28535         Mention setting LC_ALL=C.  Reflect that name syntax is now
28536         documented.
28537         (Locale Categories): New section title.  Reference Locale Names.
28538         LC_ALL is an environment variable, but not a category.
28539         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
28540         description, now in Locale Name.  Reference that section.  Locale
28541         name syntax is now documented.
28543 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28545         [BZ #17137]
28546         * locale/findlocale.c (name_present, valid_locale_name): New
28547         functions.
28548         (_nl_find_locale): Use the loc_name variable to store name
28549         candidates.  Call name_present and valid_locale_name to check and
28550         validate locale names.  Return an error if the locale is invalid.
28552 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28554         * locale/setlocale.c (setlocale): Use strdup for allocating
28555         composite name copy.
28557 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28559         Sync up with gnulib.
28560         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
28561         [!_LIBC && ENABLE_NLS]: Include gettext.h.
28562         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
28563         and _GL_ARG_NONNULL.
28564         [USE_UNLOCKED_IO]: Include unlocked-io.h.
28565         [!_LIBC]: Include code for Windows and Cygwin.
28566         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
28567         Include prototype for int strerror_r.
28568         [!_LIBC] (is_open): New function.
28569         (flush_stdout): New function.
28570         (print_errno_message): Use it.
28571         (error): Likewise.
28572         (error_at_line): Likewise.
28573         (error_tail) Add function attribute macros.  Use
28574         __builtin_expect.
28576         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
28578         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
28580         * io/ftw.c: Include sys/param.h unconditionally.
28582         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
28584         [BZ #17125]
28585         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
28586         libc_freeres_ptr.
28587         (freecache): New function to free CACHE on exit.
28589         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
28590         initialization.
28592 2014-07-09  David S. Miller  <davem@davemloft.net>
28594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28596         * sysdeps/sparc/nptl/internaltypes.h: Delete.
28597         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
28598         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
28599         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
28600         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
28601         * sysdeps/sparc/nptl/sem_init.c: Likewise.
28602         * sysdeps/sparc/nptl/sem_post.c: Likewise.
28603         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
28604         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
28605         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
28606         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
28607         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
28608         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
28610 2014-07-09  Andreas Schwab  <schwab@suse.de>
28612         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
28613         output.
28614         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
28615         (do_test): Likewise.
28617         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28619 2014-07-09  Will Newton  <will.newton@linaro.org>
28621         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
28622         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
28623         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28624         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28625         * sysdeps/hppa/start.S (_start): Likewise.
28627 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
28629         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
28631         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
28632         defined.
28634 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28636         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
28637         after checking that it is non-NULL.
28639         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
28641 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28643         * sysdeps/powerpc/memmove.c: Remove file.
28644         * sysdeps/powerpc/powerpc32/power4/memcopy.h
28645         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
28646         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
28647         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
28648         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
28649         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
28650         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
28651         string memmove instead of removed powerpc one.
28653         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28654         [weak_alias]: Fix compiler warning due trailing data.
28655         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
28656         [weak_alias]: Likewise.
28657         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
28658         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
28660         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28661         (__libc_ifunc_impl_list): Add memmove functions.
28663 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28665         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
28666         Remove code.
28667         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
28668         Likewise.
28669         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
28670         Likewise.
28671         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
28672         Likewise.
28673         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
28674         Likewise.
28675         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
28676         Likewise.
28677         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
28678         Likewise.
28679         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
28680         Likewise.
28681         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
28682         Likewise.
28683         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
28684         Likewise.
28685         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
28686         Likewise.
28687         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
28688         Likewise.
28689         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
28690         Likewise.
28691         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
28692         Likewise.
28693         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
28694         Likewise.
28695         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
28696         Likewise.
28697         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
28698         Likewise.
28700 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28702         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
28703         to avoid alignment traps in non-cacheable memory.
28704         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28706         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
28707         multiarch objects.
28708         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
28709         file: multiarch power7 memmove.
28710         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
28711         multiarch default memmove.
28712         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
28713         multiarch memove for powerpc32/power4.
28715         * string/bcopy.c: Use full path to include memmove.c.
28716         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
28717         multiarch objects.
28718         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
28719         bcopy for powerpc64.
28720         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
28721         bcopy for powerpc64.
28722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
28723         and memmove implementations.
28724         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
28725         optimized multiarch memmove for POWER7/powerpc64.
28726         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
28727         default multiarch memmove for powerpc64.
28728         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
28729         multiarch for powerpc64.
28730         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
28731         for POWER7/powerpc64.
28732         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
28733         memmove for POWER7/powerpc64.
28735         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
28736         glibc default one.
28738         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
28739         __ELF_NATIVE_CLASS equal to 64.
28741 2014-07-07  Roland McGrath  <roland@hack.frob.com>
28743         * sysdeps/nptl/lowlevellock.h: File removed.
28745         * NEWS: NPTL is no longer an add-on!
28746         * nptl/internaltypes.h: Moved ...
28747         * sysdeps/nptl/internaltypes.h: ... here.
28748         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
28749         * sysdeps/nptl/fork.c: Likewise.
28750         * sysdeps/nptl/gai_misc.h: Likewise.
28751         * sysdeps/nptl/librt-cancellation.c: Likewise.
28752         * sysdeps/nptl/jmp-unwind.c: Likewise.
28753         * sysdeps/nptl/setxid.h: Likewise.
28754         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
28755         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
28756         * sysdeps/unix/sysv/linux/arm/Implies: New file.
28757         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
28758         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
28759         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
28760         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
28761         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
28762         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
28763         * sysdeps/unix/sysv/linux/mips/Implies: New file.
28764         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
28765         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
28766         * sysdeps/unix/sysv/linux/sh/Implies: New file.
28767         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
28768         * sysdeps/unix/sysv/linux/tile/Implies: New file.
28769         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
28770         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
28771         * nptl/Makeconfig: Moved ...
28772         * sysdeps/nptl/Makeconfig: ... here.
28773         * nptl/configure: File removed.
28774         * nptl/ANNOUNCE: File removed.
28775         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
28776         * sysdeps/unix/sysv/linux/configure: Regenerated.
28778         * nptl/Makefile (routines): Add libc_pthread_init,
28779         libc_multiple_threads, register-atfork and unregister-atfork.
28780         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
28781         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
28782         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
28783         pthread-pi-defines.sym, structsem.sym.
28784         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
28785         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
28786         [$(subdir) = nptl] (tests): Add tst-setgetname.
28787         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
28788         * sysdeps/unix/sysv/linux/sigaction.c: Just include
28789         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
28790         [!LIBC_SIGACTION]: Remove aliases.
28791         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
28792         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
28793         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
28794         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
28795         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
28796         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
28797         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28798         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28799         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28800         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
28801         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
28802         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
28803         __libc_allocate_rtsig_private.
28804         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
28805         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
28806         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
28807         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
28808         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
28809         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
28810         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
28811         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
28812         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
28813         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
28814         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
28815         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
28816         * nptl/internaltypes.h: ... here.
28817         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
28818         * sysdeps/nptl/jmp-unwind.c: ... here.
28819         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
28820         * nptl/libc-lowlevellock.c: ... here.
28821         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
28822         * nptl/libc_multiple_threads.c: ... here.
28823         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
28824         * nptl/libc_pthread_init.c: ... here.
28825         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
28826         * nptl/lowlevelbarrier.sym: ... here.
28827         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
28828         * nptl/lowlevelcond.sym: ... here.
28829         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
28830         * nptl/lowlevellock.c: ... here.
28831         * nptl/lowlevellock.h: Moved ...
28832         * sysdeps/nptl/lowlevellock.h: ... here.
28833         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
28834         * nptl/lowlevelrobustlock.c: ... here.
28835         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
28836         * nptl/lowlevelrobustlock.sym: ... here.
28837         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
28838         * nptl/lowlevelrwlock.sym: ... here.
28839         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
28840         * nptl/pt-fork.c: ... here.
28841         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
28842         * nptl/pthread-pi-defines.sym: ... here.
28843         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
28844         * nptl/pthread_attr_getaffinity.c: ... here.
28845         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
28846         * nptl/pthread_attr_setaffinity.c: ... here.
28847         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
28848         * nptl/pthread_mutex_cond_lock.c: ... here.
28849         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
28850         Update #include.
28851         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
28852         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
28853         * nptl/pthread_once.c: ... here, replacing old file.
28854         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
28855         * nptl/pthread_yield.c: ... here.
28856         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
28857         * nptl/register-atfork.c: ... here.
28858         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
28859         * nptl/sem_post.c: ... here.
28860         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
28861         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
28862         * nptl/sem_timedwait.c: ... here.
28863         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
28864         * nptl/sem_trywait.c: ... here.
28865         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
28866         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
28867         * nptl/sem_wait.c: ... here.
28868         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
28869         * nptl/structsem.sym: ... here.
28870         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
28871         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
28872         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
28873         * nptl/unregister-atfork.c: ... here.
28874         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
28875         * nptl/unwindbuf.sym: ... here.
28876         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
28877         * sysdeps/nptl/fork.c: ... here.
28878         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
28879         * sysdeps/nptl/fork.h: ... here.
28880         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
28881         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
28882         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
28883         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
28884         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
28885         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
28886         * sysdeps/unix/sysv/linux/getpid.c: ... here.
28887         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
28888         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
28889         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
28890         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
28891         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
28892         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
28893         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
28894         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
28895         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
28896         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
28897         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
28898         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
28899         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
28900         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
28901         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
28902         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
28903         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
28904         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
28905         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
28906         * sysdeps/unix/sysv/linux/raise.c: ... here.
28907         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
28908         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
28909         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
28910         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
28911         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
28912         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
28913         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
28914         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
28915         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
28916         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
28917         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
28918         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
28919         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
28920         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
28921         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
28923 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28925         * sysdeps/generic/memcopy.h: Add comment for
28926         MEMCPY_OK_FOR_FWD_MEMMOVE.
28928 2014-07-04  Will Newton  <will.newton@linaro.org>
28930         * string/memchr.c: Merge from gnulib.
28931         [_LIBC]: Remove conditionals.
28932         (__ptr_t): Remove define.
28933         (LONG_MAX_32_BITS): Likewise.
28934         (LONG_MAX): Likewise.
28935         (MEMCHR): Use ANSI prototype and optimize algorithm.
28937         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
28939 2014-07-03  Roland McGrath  <roland@hack.frob.com>
28941         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
28942         (lll_futex_timed_wait_bitset): Fix syscall argument count.
28944         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
28945         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
28946         in a bare environment with no <stdlib.h> installed.
28947         * sysdeps/nptl/configure: Regenerated.
28949         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
28951         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
28952         AC_EGREP_CPP for kernel header checks, so they only succeed if
28953         including <linux/version.h> actually works right.
28954         * sysdeps/unix/sysv/linux/configure: Regenerated.
28956         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
28957         value so it's not diagnosed as unused.
28959         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
28960         thing) with "ifeq ($(subdir),rt)".
28962 2014-07-03  Richard Henderson  <rth@redhat.com>
28964         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
28965         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
28966         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
28968         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
28969         (math_force_eval): New.
28971         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
28972         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
28974         * sysdeps/alpha/fpu/s_round.c: Remove file.
28975         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
28977         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
28978         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
28979         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
28980         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
28981         (_dl_start, print_statistics): Likewise.
28982         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
28983         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
28985         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28986         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28987         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28988         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28989         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28990         (HP_SMALL_TIMING_AVAIL): Define.
28991         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28992         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28993         (HP_SMALL_TIMING_AVAIL): Define.
28994         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28995         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28997         * sysdeps/aarch64/hp-timing.h: New file.
28999         * sysdeps/generic/hp-timing.h: Remove dead comment.
29000         * sysdeps/generic/hp-timing-common.h: New file.
29001         * sysdeps/alpha/hp-timing.h: Include it.
29002         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
29003         * sysdeps/i386/i686/hp-timing.h: Likewise.
29004         * sysdeps/ia64/hp-timing.h: Likewise.
29005         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29006         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29007         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29008         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29009         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
29010         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
29011         (hp_timing_t): New.
29013         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
29014         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
29015         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
29016         * elf/rtld.c (_dl_start_final): Likewise.
29017         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
29018         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29019         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29020         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29021         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29022         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29023         (HP_TIMING_DIFF_INIT): Remove.
29024         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29025         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
29026         (HP_TIMING_DIFF_INIT): Remove.
29027         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29028         * sysdeps/i386/i686/hp-timing.c: Remove file.
29029         * sysdeps/x86_64/hp-timing.c: Remove file.
29030         * sysdeps/ia64/hp-timing.c: Remove file.
29031         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
29032         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
29033         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
29034         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
29036         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
29037         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
29038         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
29039         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29040         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29041         (HP_TIMING_ACCUM): Remove.
29042         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29043         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
29044         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29046         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
29047         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
29048         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
29049         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
29050         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
29051         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29052         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
29053         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29055         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
29057 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
29059         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
29061 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29063         Sync up with gettext.
29064         * intl/loadmsgcat.c: Define O_BINARY if not defined.
29065         [_MSC_VER]: Include malloc.h
29066         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
29067         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
29068         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
29069         TEMP_FAILURE_RETRY.  Cast return of alloca.
29070         [!_LIBC] Call gl_rwlock_init.
29071         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
29073 2014-07-02  Roland McGrath  <roland@hack.frob.com>
29075         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
29076         before checking its value.
29078 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29080         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
29082         * debug/memcpy_chk.c: Don't include pagecopy.h.
29083         * debug/mempcpy_chk.c: Likewise.
29084         * string/memcpy.c: Likewise.
29085         * string/memmove.c: Likewise.
29086         * sysdeps/powerpc/memmove.c: Likewise.
29087         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
29088         definition of PAGE_COPY_FWD_MAYBE here...
29089         * sysdeps/generic/pagecopy.h: ... from here.
29090         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
29092 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29093             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29095         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
29096         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
29097         optimizations.
29098         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29099         (__libc_ifunc_impl_list): Likewise.
29100         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
29101         multiarch strcat for PPC64.
29102         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
29103         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
29105 2014-07-02  Roland McGrath  <roland@hack.frob.com>
29107         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
29109 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29111         * intl/loadmsgcat.c: Remove declaration of
29112         get_sysdep_segment_value.
29113         (get_sysdep_segment_value): Use ISO C style.
29114         (_nl_load_domain): Use ISO C style.  Get rid of redundant
29115         semicolon.  Fix typo and formatting in comment.
29116         (_nl_unload_domain): Use ISO C style.
29118         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
29120 2014-07-02  Will Newton  <will.newton@linaro.org>
29122         * malloc/obstack.c: Merge from gnulib master.
29123         [HAVE_CONFIG_H]: Remove conditional code.
29124         [!_LIBC]: Include config.h.
29125         [!ELIDE_CODE]: Don't include inttypes.h, include
29126         stdint.h unconditionally.
29127         (print_and_abort): Mark as _Noreturn.
29128         (_obstack_allocated_p): Mark as __attribute_pure__.
29129         (obstack_free): Rename to __obstack_free.
29130         [!__attribute__]: Remove conditional code.
29131         * malloc/obstack.h: Merge from gnulib master.
29132         [__cplusplus]: Move conditional down.
29133         [!__attribute_pure__]: Define __attribute_pure__ here
29134         if it is not already defined.
29135         (_obstack_memory_used): Mark as __attribute_pure__.
29136         [!__obstack_free]: Define as obstack_free.
29137         [__GNUC__]: Remove check for ancient NeXT gcc.
29139 2014-07-02  Will Newton  <will.newton@linaro.org>
29140             Paul Eggert  <eggert@cs.ucla.edu>
29142         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
29144 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29146         * resolv/gethnamaddr.c: Add comment warning that the file is
29147         not maintained.
29149 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
29151         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
29152         entries.
29154         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
29155         entry for aio_cancel and aio_cancel64.
29156         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
29157         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
29158         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
29159         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
29160         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
29161         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
29162         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
29163         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
29164         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
29165         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
29166         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
29167         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
29168         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
29170 2014-07-01  Roland McGrath  <roland@hack.frob.com>
29172         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
29173         * nptl/pthread_mutex_lock.c: Likewise.
29174         * nptl/pthread_mutex_timedlock.c: Likewise.
29175         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
29177 2014-07-01  Richard henderson  <rth@redhat.com>
29179         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
29180         (__isnan, __isnanl): Remove.
29181         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
29183         * sysdeps/alpha/fpu/libm-test-ulps: Update.
29185 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
29187         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29189 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29191         * resolv/nss_dns/dns-host.c (getanswer_r)
29192         [MULTI_PTRS_ARE_ALIASES]: Remove code.
29194 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
29196         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29197         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
29198         undefine.
29199         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
29200         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
29202 2014-07-01  Roland McGrath <roland@hack.frob.com>
29204         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
29205         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
29207         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
29208         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
29210         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
29211         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
29212         ... here.
29213         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
29214         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
29216         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
29217         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
29218         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
29219         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
29221         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
29222         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
29223         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
29224         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
29225         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
29226         Moved ...
29227         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
29228         ... here.
29229         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
29230         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
29231         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
29232         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
29233         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
29234         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
29235         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
29236         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
29237         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
29238         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
29239         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
29240         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
29241         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
29242         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
29243         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
29244         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
29245         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
29246         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
29247         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
29248         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
29249         ... here.
29250         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
29251         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
29252         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
29253         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
29254         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
29255         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
29256         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
29257         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
29259 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
29261         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
29262         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
29263         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
29264         Add sysdep.
29266 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29268         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29270 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
29272         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29273         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29275         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
29277         * sysdeps/arm/libm-test-ulps: Regenerated.
29279 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
29280             Roland McGrath <roland@hack.frob.com>
29282         * test-skeleton.c (signal_handler): Kill the whole process group
29283         before killing the child individually.
29284         (main): Report any failure on `setpgid'.
29286 2014-06-30  Roland McGrath  <roland@hack.frob.com>
29288         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
29289         from _TLS_H to _ARM_NPTL_TLS_H.
29290         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
29291         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
29293 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
29295         [BZ #16539]
29296         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
29297         (__expm1l): Return argument unchanged when small but not
29298         subnormal.
29300         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
29301         include macro name.
29302         (_FP_UNPACK_RAW_1_P): Likewise.
29303         (_FP_PACK_RAW_1): Likewise.
29304         (_FP_PACK_RAW_1_P): Likewise.
29305         (_FP_MUL_MEAT_1_wide): Likewise.
29306         (_FP_MUL_MEAT_DW_1_hard): Likewise.
29307         (_FP_MUL_MEAT_1_hard): Likewise.
29308         (_FP_DIV_MEAT_1_imm): Likewise.
29309         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
29310         (_FP_DIV_MEAT_1_udiv): Likewise.
29311         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
29312         (_FP_UNPACK_RAW_2): Likewise.
29313         (_FP_UNPACK_RAW_2_P): Likewise.
29314         (_FP_PACK_RAW_2): Likewise.
29315         (_FP_PACK_RAW_2_P): Likewise.
29316         (_FP_MUL_MEAT_DW_2_wide): Likewise.
29317         (_FP_MUL_MEAT_2_wide): Likewise.
29318         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
29319         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29320         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
29321         (_FP_MUL_MEAT_2_gmp): Likewise.
29322         (_FP_DIV_MEAT_2_udiv): Likewise.
29323         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
29324         (_FP_FRAC_SRL_4): Likewise.
29325         (_FP_FRAC_SRST_4): Likewise.
29326         (_FP_FRAC_SRS_4): Likewise.
29327         (_FP_UNPACK_RAW_4): Likewise.
29328         (_FP_UNPACK_RAW_4_P): Likewise.
29329         (_FP_PACK_RAW_4): Likewise.
29330         (_FP_PACK_RAW_4_P): Likewise.
29331         (_FP_MUL_MEAT_DW_4_wide): Likewise.
29332         (_FP_MUL_MEAT_4_wide): Likewise.
29333         (_FP_MUL_MEAT_4_gmp): Likewise.
29334         (umul_ppppmnnn): Likewise.
29335         (_FP_DIV_MEAT_4_udiv): Likewise.
29336         (__FP_FRAC_ADD_4): Likewise.
29337         (__FP_FRAC_SUB_3): Likewise.
29338         (__FP_FRAC_SUB_4): Likewise.
29339         (__FP_FRAC_DEC_3): Likewise.
29340         (__FP_FRAC_DEC_4): Likewise.
29341         (__FP_FRAC_ADDI_4): Likewise.
29342         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
29343         (_FP_FRAC_SRL_8): Likewise.
29344         (_FP_FRAC_SRS_8): Likewise.
29346         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
29347         include macro name.
29348         (FP_UNPACK_RAW_EP): Likewise.
29349         (FP_PACK_RAW_E): Likewise.
29350         (FP_PACK_RAW_EP): Likewise.
29351         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
29352         (_FP_ISSIGNAN): Likewise.
29353         (_FP_ADD_INTERNAL): Likewise.
29354         (_FP_FMA): Likewise.
29355         (_FP_CMP): Likewise.
29356         (_FP_SQRT): Likewise.
29357         (_FP_TO_INT): Likewise.
29358         (_FP_FROM_INT): Likewise.
29359         (FP_EXTEND): Likewise.
29360         (_FP_DIV_MEAT_N_loop): Likewise.
29362 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
29364         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
29365         throughout.
29367 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
29369         [BZ #17097]
29370         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
29371         result with correct sign in case of exponents that produce
29372         overflow except for X very close to 1.
29374 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
29376         mktime: merge #if/#ifdef usage from glibc
29377         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
29378         as that works with both Glibc's and Gnulib's style.
29379         See thread starting at Siddhesh Poyarekar's bug report at:
29380         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
29382 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29384         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
29385         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
29386         * sysdeps/tile/tilegx/memmove.c: Remove file.
29388 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
29390         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
29391         abi-name definition.
29392         * scripts/soversions.awk: Do not handle or generate ABI lines.
29393         * shlib-versions: Remove ABI entries.
29394         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
29395         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
29397 2014-06-27  Roland McGrath  <roland@hack.frob.com>
29399         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
29400         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
29401         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
29402         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
29403         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
29404         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
29405         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
29406         Moved ...
29407         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
29408         ... here.
29409         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
29410         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
29411         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
29412         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
29413         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
29414         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
29415         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
29416         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
29417         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
29418         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
29419         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
29420         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
29421         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
29422         Moved ...
29423         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
29424         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
29425         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
29426         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
29427         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
29428         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
29429         Moved ...
29430         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
29431         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
29432         Moved ...
29433         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
29434         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
29435         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
29436         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
29437         Moved ...
29438         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
29439         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
29440         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
29441         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
29442         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
29443         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
29444         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
29445         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
29446         Moved ...
29447         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
29448         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
29449         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
29450         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
29451         Moved ...
29452         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
29453         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
29454         Moved ...
29455         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
29456         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
29457         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
29458         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
29459         Moved ...
29460         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
29461         ... here.
29462         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
29463         Identical file removed.
29464         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
29465         Moved ...
29466         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
29467         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
29468         Identical file removed.
29469         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
29470         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
29471         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
29472         Moved ...
29473         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
29474         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
29475         Identical file removed.
29476         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
29477         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
29478         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
29479         Identical file removed.
29480         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
29481         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
29482         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
29483         Identical file removed.
29484         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
29485         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
29486         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
29487         Identical file removed.
29488         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
29489         Moved ...
29490         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
29491         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
29492         Identical file removed.
29493         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
29494         Moved ...
29495         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
29496         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
29497         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
29498         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
29499         Identical file removed.
29500         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
29501         Moved ...
29502         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
29503         ... here.
29504         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
29505         Identical file removed.
29506         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
29507         Moved ...
29508         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
29509         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
29510         Identical file removed.
29511         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
29512         Moved ...
29513         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
29514         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
29515         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
29516         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
29517         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
29518         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
29519         Moved ...
29520         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
29521         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
29522         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
29524         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
29525         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
29526         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
29527         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
29528         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
29530 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
29532         [BZ #17092]
29533         * nscd/nscd.c (monitor_child): Return exit status of child
29534         instead of return value from wait syscall.
29536 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
29538         * configure.ac (libc_commonpagesize): Remove variable.
29539         (libc_relro_required): Likewise.
29540         (libc_cv_z_relro): Remove configure test.
29541         * configure: Regenerated.
29542         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
29543         variable.
29544         (libc_relro_required): Likewise.
29545         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
29546         (libc_relro_required): Likewise.
29547         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
29548         (libc_relro_required): Likewise.
29549         * sysdeps/arm/preconfigure: Regenerated.
29550         * sysdeps/ia64/preconfigure: Remove file.
29551         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
29552         variable.
29553         (libc_relro_required): Likewise.
29555         [BZ #16561]
29556         [BZ #16562]
29557         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
29558         (__ieee754_yn): Set FE_TONEAREST mode internally and then
29559         recompute overflowing results in original rounding mode.
29560         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
29561         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
29562         recompute overflowing results in original rounding mode.
29563         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
29564         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29565         recompute overflowing results in original rounding mode.
29566         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
29567         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29568         recompute overflowing results in original rounding mode.
29569         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
29570         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29571         recompute overflowing results in original rounding mode.
29572         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
29573         (libc_feholdsetround_ctx): New macro.
29574         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
29575         * sysdeps/i386/fpu/libm-test-ulps: Update.
29576         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
29578 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29580         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
29581         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
29582         corresponding .cpsetup call.
29584 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29586         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
29587         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
29588         * sysdeps/arm/Makefile [$(subdir) = csu]
29589         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
29590         (static-only-routines): Add aeabi_read_tp here.
29591         (shared-only-routines): Add libc-aeabi_read_tp here.
29592         (CFLAGS-libc-start.c): Add -fexceptions here.
29593         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
29594         (sysdep_routines, static-only-routines, shared-only-routines):
29595         Don't add to these here.
29596         (CFLAGS-libc-start.c): Likewise.
29598         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
29599         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29600         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
29601         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29602         * sysdeps/arm/Makefile [$(subdir) = rt]
29603         (librt-sysdep_routines, librt-shared-only-routines):
29604         Append rt-aeabi_unwind_cpp_pr1 here.
29605         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
29606         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
29607         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
29608         (libpthread-sysdep_routines, libpthread-shared-only-routines):
29609         Append nptl-aeabi_unwind_cpp_pr1 here.
29610         (tests): Filter out tst-cleanupx4 here.
29611         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
29612         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
29613         Don't do those here.
29615 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29617         * scripts/list-sources.sh: Do not handle ports specially.
29619 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29621         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
29622         * sysdeps/arm/feupdateenv.c: Likewise.
29624         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
29626 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29628         * manual/texinfo.tex: Update to version 2014-05-05.10 with
29629         trailing whitespace removed.
29630         * scripts/config.guess: Update to version 2014-03-23.
29631         * scripts/config.sub: Update to version 2014-05-01
29632         * scripts/install-sh: Update to version 2013-12-25.23.
29633         * scripts/move-if-change: Update from gnulib.
29635 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29637         * debug/memmove_chk.c: Remove pagecopy.h include.
29639 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
29641         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
29642         identical to gnulib mktime.
29644 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29646         * configure.ac: Do not test for machine being rs6000.  Do not test
29647         for powerpc*-*soft.
29648         * configure: Regenerated.
29650         [BZ #11505]
29651         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
29652         test.
29653         * configure: Regenerated.
29654         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
29655         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
29656         Remove configure test.
29657         * sysdeps/arm/configure: Regenerated.
29658         * sysdeps/nptl/configure.ac: Do not check
29659         libc_cv_asm_cfi_directives.
29660         * sysdeps/nptl/configure: Regenerated.
29661         * sysdeps/x86_64/nptl/configure.ac: Remove file.
29662         * sysdeps/x86_64/nptl/configure: Remove generated file.
29663         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
29664         unconditional.
29665         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
29667 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29669         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
29670         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
29671         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
29672         it is defined.
29674         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
29675         instead of whether it is defined.
29676         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
29677         * sysdeps/hppa/dl-machine.h: Likewise.
29678         * sysdeps/ia64/dl-machine.h: Likewise.
29679         * sysdeps/m68k/dl-machine.h: Likewise.
29680         * sysdeps/microblaze/dl-machine.h: Likewise.
29681         * sysdeps/mips/dl-machine.: Likewise.
29682         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29683         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29684         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29685         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29686         * sysdeps/sh/dl-machine.h: Likewise.
29687         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29688         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29689         * sysdeps/tile/dl-machine.h: Likewise.
29690         * sysdeps/x86_64/dl-machine.h: Likewise.
29692         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
29693         code.
29694         (verify_persistent_db): Likewise.
29696 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29698         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
29699         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
29700         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
29701         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
29702         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29703         Moved ...
29704         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
29705         ... here.
29706         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
29707         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
29708         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
29709         Identical file removed.
29710         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
29711         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
29712         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
29713         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
29714         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
29715         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
29716         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
29717         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
29718         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
29719         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
29720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29721         Moved ...
29722         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
29723         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
29724         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
29725         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
29726         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
29727         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29728         Moved ...
29729         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
29730         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
29731         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
29732         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
29733         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
29734         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29735         Identical file removed.
29736         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
29737         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
29738         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
29739         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
29740         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29741         Moved ...
29742         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
29743         ... here.
29744         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
29745         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
29746         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
29747         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
29748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
29749         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
29750         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
29751         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
29752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
29753         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
29754         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29755         Moved ...
29756         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
29757         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
29758         Moved ...
29759         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
29760         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
29761         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
29762         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29763         Moved ...
29764         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
29765         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
29766         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
29768         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
29769         folded into ...
29770         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
29771         * sysdeps/unix/sysv/linux/s390/Versions
29772         (libpthread: GLIBC_2.19): New version set.
29773         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
29774         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
29775         (librt: GLIBC_2.3.3): New version set.
29776         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
29777         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
29778         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
29779         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
29780         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
29781         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
29782         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
29783         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
29784         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
29785         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
29786         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
29787         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
29788         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
29789         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
29790         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
29791         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
29792         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
29793         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
29794         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
29795         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
29796         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
29797         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
29798         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
29799         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
29800         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
29801         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
29802         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
29803         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
29804         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
29805         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
29806         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
29807         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
29808         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
29809         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
29810         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
29811         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
29812         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
29813         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
29814         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
29815         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
29816         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
29817         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
29818         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
29819         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
29820         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
29822         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
29823         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
29824         (__libc_vfork): Define the function under this name.
29825         [!NOT_IN_libc] (__vfork): Make this an alias.
29826         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29827         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
29828         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
29829         (__libc_vfork): Define the function under this name.
29830         [!NOT_IN_libc] (__vfork): Make this an alias.
29831         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29832         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
29833         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
29834         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
29835         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
29836         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29838         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
29839         code that was previously under [RESET_PID].
29840         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
29841         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
29842         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
29844         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
29845         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
29846         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
29847         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
29848         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
29849         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
29850         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
29851         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
29852         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
29853         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
29854         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
29855         Moved ...
29856         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
29857         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
29858         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
29859         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
29860         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
29861         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
29862         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
29863         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
29864         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
29865         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
29866         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
29867         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
29868         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
29869         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
29870         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
29871         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
29872         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
29873         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
29874         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
29875         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
29876         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
29877         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
29878         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
29879         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
29880         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
29881         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
29882         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
29883         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
29884         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
29886 2014-06-25  Roland McGrath  <roland@hack.frob.com>
29888         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
29889         that was previously under [RESET_PID].
29890         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
29892 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29894         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
29895         not undefine and redefine.
29896         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
29897         [O_CLOEXEC]: Make code unconditional.
29898         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
29899         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
29900         <kernel-features.h>.
29901         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
29902         conditional variable definition.
29903         (shm_open) [O_CLOEXEC]: Make code unconditional.
29904         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
29905         code.
29907         * configure.ac (USE_REGPARMS): Don't define here.
29908         * configure: Regenerated.
29909         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
29910         * sysdeps/i386/configure: Regenerated.
29912         * nptl/createthread.c: Don't include kernel-features.h.
29913         * nptl/pthread_cancel.c: Likewise.
29914         * nptl/pthread_condattr_setclock.c: Likewise.
29915         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
29916         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
29917         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
29918         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
29919         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
29920         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
29921         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
29922         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
29923         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
29924         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
29925         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
29926         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
29927         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
29928         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
29929         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
29930         * nscd/gai.c: Likewise.
29931         * nss/nss_db/db-open.c: Likewise.
29932         * sysdeps/generic/ldsodefs.h: Likewise.
29933         * sysdeps/sh/nptl/tls.h: Likewise.
29934         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
29935         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
29936         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
29937         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
29938         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
29939         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
29940         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
29941         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29942         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29943         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
29944         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
29945         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29946         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
29947         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
29948         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
29949         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
29950         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
29951         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
29952         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
29953         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
29954         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
29955         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
29956         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
29957         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
29958         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
29959         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
29960         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
29961         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
29962         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
29963         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
29964         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
29965         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
29966         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
29967         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29968         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29969         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
29970         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29971         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
29972         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
29973         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
29974         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29975         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
29976         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
29977         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29978         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
29979         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
29980         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
29981         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
29982         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
29983         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
29984         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
29985         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
29986         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
29987         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
29988         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
29989         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29990         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29991         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
29992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
29994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
29995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
29996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
29997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
29998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
29999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
30000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
30003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
30004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
30005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
30006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
30012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
30013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
30014         * sysdeps/unix/sysv/linux/pread.c: Likewise.
30015         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
30016         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
30017         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
30018         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
30019         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
30020         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
30021         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
30022         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
30023         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
30024         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
30025         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
30026         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
30027         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
30028         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
30029         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
30030         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30031         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
30032         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
30033         * sysdeps/unix/sysv/linux/system.c: Likewise.
30034         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
30035         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
30036         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
30037         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
30038         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30039         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
30040         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30042         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
30043         * configure: Regenerated.
30044         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
30046         * configure.ac (base_machine): Do not set specially for particular
30047         machines here.
30048         * configure: Regenerated.
30049         * sysdeps/powerpc/preconfigure: Move machine and base_machine
30050         settings from configure.ac.
30051         * sysdeps/i386/preconfigure: New file.
30052         * sysdeps/s390/preconfigure: Likewise.
30053         * sysdeps/sh/preconfigure: Likewise.
30054         * sysdeps/sparc/preconfigure: Likewise.
30056 2014-06-25  Roland McGrath  <roland@hack.frob.com>
30058         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
30059         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
30060         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
30061         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
30062         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
30063         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
30064         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
30065         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
30066         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
30067         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
30068         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
30069         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
30070         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
30071         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
30072         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
30073         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
30074         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
30075         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
30076         * sysdeps/sparc/sparc64/Makefile: ... appended here.
30078         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
30079         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
30080         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
30081         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
30082         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
30083         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
30084         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
30085         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
30086         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
30087         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
30088         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
30089         * sysdeps/sparc/sparc32/sem_post.c: ... here.
30090         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
30091         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
30092         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
30093         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
30094         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
30095         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
30096         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
30097         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
30098         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
30099         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
30100         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
30101         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
30102         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
30103         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
30104         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
30105         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
30106         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
30107         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
30108         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
30109         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
30110         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
30111         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
30112         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
30113         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
30114         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
30115         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
30117         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
30118         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
30119         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
30120         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
30121         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30122         Moved ...
30123         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
30124         ... here.
30125         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
30126         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
30127         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
30128         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
30129         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
30130         Moved ...
30131         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
30132         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
30133         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
30134         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
30135         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
30136         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
30137         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
30138         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30139         Moved ...
30140         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
30141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30142         Moved ...
30143         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
30144         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
30145         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
30146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30147         Moved ...
30148         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
30149         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
30150         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
30151         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
30152         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
30153         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
30154         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
30155         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
30156         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
30157         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30158         Moved ...
30159         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
30160         ... here.
30161         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
30162         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
30163         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
30164         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
30165         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
30166         Moved ...
30167         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
30168         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
30169         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
30170         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
30171         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
30172         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
30173         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
30174         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30175         Moved ...
30176         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
30177         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30178         Moved ...
30179         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
30180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
30181         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
30182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30183         Moved ...
30184         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
30185         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
30186         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
30187         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
30188         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
30190 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30192         * timezone/checktab.awk: Update from tzcode 2014e.
30193         * timezone/private.h: Likewise.
30194         * timezone/tzfile.h: Likewise.
30195         * timezone/zdump.c: Likewise.
30196         * timezone/zic.c: Likewise.
30198         * sysdeps/unix/sysv/linux/kernel-features.h
30199         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
30200         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
30201         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
30202         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30203         Remove conditional code.
30205 2014-06-25  Will Newton  <will.newton@linaro.org>
30207         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
30208         (_dl_arm_cap_flags): Add HWCAP2 values.
30209         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
30210         (_DL_HWCAP_COUNT): Increase to 37.
30211         (_DL_HWCAP_LAST): New define.
30212         (_DL_HWCAP2_LAST): New define.
30213         (_dl_procinfo): Add support for printing
30214         AT_HWCAP2 entries.
30215         (_dl_string_hwcap): Use _dl_hwcap_string.
30217 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30219         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30221 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30223         * README: Do not mention ports directory.
30225         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
30226         Remove macro.
30227         * sysdeps/unix/sysv/linux/futimes.c: Do not include
30228         <kernel-features.h>.
30229         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
30230         conditional variable definition.
30231         (__futimes): Update comment.
30232         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
30233         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
30235         [BZ #16560]
30236         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
30237         arguments close to 0.
30238         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
30239         Likewise.
30240         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
30241         Likewise.
30242         * math/auto-libm-test-in: Add more tests of exp10.
30243         * math/auto-libm-test-out: Regenerated.
30244         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30246         * sysdeps/unix/sysv/linux/kernel-features.h
30247         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
30248         * sysdeps/unix/sysv/linux/readv.c: Do not include
30249         <kernel-features.h>.
30250         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30251         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30252         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30253         unconditional.
30254         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30255         conditional code.
30256         * sysdeps/unix/sysv/linux/writev.c: Do not include
30257         <kernel-features.h>.
30258         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30259         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30260         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30261         unconditional.
30262         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30263         conditional code.
30265 2014-06-25  Will Newton  <will.newton@linaro.org>
30267         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
30268         comment changes throughout the file.  Remove checks
30269         for HAVE_*_H definitions that are not required.
30270         (__gen_tempname): Call abort if an unknown kind value is
30271         passed.
30273 2014-06-25  Andreas Schwab  <schwab@suse.de>
30275         [BZ #17086]
30276         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
30277         scalbln, scalblnf, scalblnl in libc.
30279 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30281         [BZ #17086]
30282         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
30283         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30284         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30286 2014-06-24  Roland McGrath  <roland@hack.frob.com>
30288         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
30289         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
30290         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
30291         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
30292         Update #include.
30293         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
30294         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
30295         Update #include.
30296         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
30297         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
30298         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
30299         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
30300         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
30301         * sysdeps/x86/bits/pthreadtypes.h: ... here.
30302         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
30303         * sysdeps/x86/bits/semaphore.h: ... here.
30304         * sysdeps/x86/nptl/elide.h: Moved ...
30305         * sysdeps/x86/elide.h: ... here.
30306         * sysdeps/x86_64/nptl/Implies: File removed.
30307         * sysdeps/i386/nptl/Implies: File removed.
30309 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
30311         [BZ #16539]
30312         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
30313         return the argument for normal arguments with exponent below -64.
30314         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
30315         Likewise.
30316         * math/auto-libm-test-in: Add another test of expm1.
30317         * math/auto-libm-test-out: Regenerated.
30319         [BZ #16287]
30320         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
30321         calling __erfcl for arguments at least 16.
30322         * math/auto-libm-test-in: Add more tests of erf.
30323         * math/auto-libm-test-out: Regenerated.
30325         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
30326         individual architectures.
30327         * sysdeps/unix/sysv/linux/configure: Regenerated.
30328         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
30329         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
30330         * sysdeps/unix/sysv/linux/powerpc/configure.ac
30331         (ldd_rewrite_script): Define variable.
30332         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
30334         file.
30335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
30336         generated file.
30337         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
30338         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
30339         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
30340         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
30341         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
30342         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
30343         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
30344         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
30346 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30348         [BZ #17084]
30349         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
30350         Rename member __data.d to __data.__elision_data.
30352 2014-06-24  Wilco  <wdijkstr@arm.com>
30354         * NEWS: Add 16918 to fixed bug list.
30356 2014-06-24  Wilco  <wdijkstr@arm.com>
30358         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
30360 2014-06-24  Wilco  <wdijkstr@arm.com>
30362         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
30363         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
30364         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
30365         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
30366         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
30367         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
30368         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
30369         Use _FPU_MASK_RM.
30371 2014-06-24  Wilco  <wdijkstr@arm.com>
30373         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
30375 2014-06-24  Wilco  <wdijkstr@arm.com>
30377         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
30378         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
30379         * sysdeps/arm/fesetround.c (fesetround): Remove space.
30380         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
30382 2014-06-24  Wilco  <wdijkstr@arm.com>
30384         [BZ #16918]
30385         * sysdeps/arm/feupdateenv.c (feupdateenv):
30386         Rewrite to reduce FPSCR accesses and fix return value.
30388 2014-06-24  Wilco  <wdijkstr@arm.com>
30390         * sysdeps/arm/fclrexcpt.c (feclearexcept):
30391         Optimize to avoid unnecessary FPSCR writes.
30392         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
30393         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
30394         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
30395         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
30397 2014-06-24  Wilco  <wdijkstr@arm.com>
30399         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
30400         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
30401         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
30402         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
30403         Call libc_fetestexcept_vfp.
30404         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
30405         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
30406         __SOFTFP__ ifdef so that they can be built for softfp.
30408 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30410         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
30411         argument type signed char.
30413         * Makerules (check-abi): Dump diff of symlist if the test
30414         fails.
30416 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30418         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
30419         using abort.
30421         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
30422         Remove unused variable ST.
30424 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
30426         [BZ #16354]
30427         [BZ #17061]
30428         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
30429         small arguments before calling __expm1.
30430         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
30431         small arguments before calling __expm1f.
30432         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
30433         small arguments before calling __expm1l.
30434         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
30435         Likewise.
30436         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
30437         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
30438         spurious underflow for some cosh tests.
30439         * math/auto-libm-test-out: Regenerated.
30440         * sysdeps/i386/fpu/libm-test-ulps: Update.
30442         [BZ #17050]
30443         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
30444         (__ieee754_y1): Set errno if return value overflows.
30445         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
30446         (__ieee754_y1f): Set errno if return value overflows.
30447         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
30448         (__ieee754_y1l): Set errno if return value overflows.
30449         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
30450         (__ieee754_y1l): Set errno if return value overflows.
30451         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
30452         * math/auto-libm-test-out: Regenerated.
30454         * math/gen-auto-libm-tests.c: Document use of
30455         ignore-zero-inf-sign.
30456         (input_flag_type): Add value flag_ignore_zero_inf_sign.
30457         (input_flags): Add ignore-zero-inf-sign.
30458         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
30459         * math/gen-libm-test.pl (generate_testfile): Handle
30460         ignore-zero-inf-sign.
30461         * math/auto-libm-test-in: Mark some cpow tests with
30462         ignore-zero-inf-sign and some with xfail-rounding.
30463         * math/auto-libm-test-out: Regenerated.
30464         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
30465         * sysdeps/i386/fpu/libm-test-ulps: Update.
30466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30468         [BZ #16315]
30469         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
30470         overflowing or underflowing operations take place with sign of
30471         result.
30472         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30473         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30474         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
30475         (__ieee754_pow): Recompute overflowing and underflowing results in
30476         original rounding mode.
30477         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
30478         (__powl_helper): Allow negative argument X and scale negated value
30479         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
30480         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
30481         overflowing or underflowing operations take place with sign of
30482         result.
30483         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
30484         Include <math.h>.
30485         * math/auto-libm-test-in: Add more tests of pow.
30486         * math/auto-libm-test-out: Regenerated.
30487         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
30488         (pow_tonearest_test_data): Remove.
30489         (pow_test_tonearest): Likewise.
30490         (pow_towardzero_test_data): Likewise.
30491         (pow_test_towardzero): Likewise.
30492         (pow_downward_test_data): Likewise.
30493         (pow_test_downward): Likewise.
30494         (pow_upward_test_data): Likewise.
30495         (pow_test_upward): Likewise.
30496         (main): Don't call removed functions.
30497         * sysdeps/i386/fpu/libm-test-ulps: Update.
30498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30500 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
30503         Moved ...
30504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
30505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30506         Moved ...
30507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
30508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30509         Moved ...
30510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
30511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30512         Moved ...
30513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
30514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30515         File removed.
30516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30517         File removed.
30518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
30519         File removed.
30520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
30521         File removed.
30522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
30523         File removed.
30524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
30525         File removed.
30526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
30527         File removed.
30528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30529         File removed.
30530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
30531         File removed.
30532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30533         File removed.
30534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
30535         File removed.
30536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
30537         File removed.
30538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
30539         Moved ...
30540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
30541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
30542         Moved ...
30543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
30544         ... here.
30545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
30546         Moved ...
30547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
30548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
30549         Moved ...
30550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
30551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
30552         Moved ...
30553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
30554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
30555         Moved ...
30556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
30557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
30558         Moved ...
30559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
30560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
30561         Moved ...
30562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
30563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
30564         Moved ...
30565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
30566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
30567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
30568         ... here.
30569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
30570         Moved ...
30571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
30572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30573         Moved ...
30574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
30575         ... here.
30576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
30577         Moved ...
30578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30579         ... here.
30580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30581         Moved ...
30582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
30583         ... here.
30584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30585         Moved ...
30586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
30587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
30588         Moved ...
30589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
30590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
30591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
30592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
30593         Moved ...
30594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
30595         ... here.
30596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30597         Moved ...
30598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
30599         ... here.
30600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
30601         Moved ...
30602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
30603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30604         Moved ...
30605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
30606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
30607         Moved ...
30608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
30609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30610         Moved ...
30611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
30612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
30613         Moved ...
30614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
30615         ... here.
30616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30617         Moved ...
30618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
30619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
30620         Moved ...
30621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
30622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30623         Moved ...
30624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
30625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
30626         Moved ...
30627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
30628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
30629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
30630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
30631         Moved ...
30632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
30633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30634         Moved ...
30635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
30636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
30637         Moved ...
30638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
30639         ... here.
30640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30641         Moved ...
30642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
30643         ... here.
30644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
30645         Moved ...
30646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
30647         ... here.
30648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30649         Moved ...
30650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
30651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
30652         Moved ...
30653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
30654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30655         Moved ...
30656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
30657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
30658         Moved ...
30659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
30660         ... here.
30661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30662         Moved ...
30663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
30664         ... here.
30665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
30666         Moved ...
30667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
30668         ... here.
30669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30670         Moved ...
30671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
30672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30673         Moved ...
30674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
30676 2014-06-23  Will Newton  <will.newton@linaro.org>
30677             Wilco  <wdijkstr@arm.com>
30679         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
30680         implementation.  Include get-rounding-mode.h.
30681         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
30682         [!libc_feholdsetround_noex_ctx]: Define
30683         libc_feholdsetround_noex_ctx.
30684         [!libc_feholdsetround_noexf_ctx]: Define
30685         libc_feholdsetround_noexf_ctx.
30686         [!libc_feholdsetround_noexl_ctx]: Define
30687         libc_feholdsetround_noexl_ctx.
30688         (libc_feholdsetround_ctx): New function.
30689         (libc_feresetround_ctx): New function.
30690         (libc_feholdsetround_noex_ctx): New function.
30691         (libc_feresetround_noex_ctx): New function.
30693 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30695         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
30696         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
30697         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
30698         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
30699         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
30700         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
30702         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
30703         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
30704         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
30705         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
30706         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
30707         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
30708         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
30709         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
30710         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
30711         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
30712         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
30713         Moved ...
30714         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
30715         ... here.
30716         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
30717         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
30718         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
30719         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
30720         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
30721         Moved ...
30722         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
30723         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
30724         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
30725         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
30726         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
30727         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
30728         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
30729         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
30730         Moved ...
30731         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
30732         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
30733         Moved ...
30734         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
30735         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
30736         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
30737         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
30738         Moved ...
30739         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
30740         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
30741         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
30742         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
30743         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
30744         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
30745         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
30746         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
30747         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
30748         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
30749         Moved ...
30750         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
30751         ... here.
30752         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
30753         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
30754         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
30755         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
30756         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
30757         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
30758         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
30759         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
30760         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
30761         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
30762         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
30763         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
30764         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
30765         Moved ...
30766         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
30767         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
30768         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
30769         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
30770         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
30771         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
30772         Moved ...
30773         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
30774         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
30775         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
30776         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
30777         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
30779         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
30780         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
30781         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
30782         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
30783         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
30784         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
30785         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
30786         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
30787         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
30788         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
30789         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
30790         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
30791         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
30792         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
30793         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
30794         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
30795         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
30796         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
30797         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
30798         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
30799         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
30800         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
30801         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
30802         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
30803         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
30804         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
30805         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
30806         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
30808 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
30810         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30811         (FALLOC_FL_COLLAPSE_RANGE): New macro.
30812         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
30813         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
30814         (IPV6_PMTUDISC_INTERFACE): Likewise.
30815         (IPV6_PMTUDISC_OMIT): Likewise.
30817 2014-06-23  Andreas Schwab  <schwab@suse.de>
30819         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
30820         Remove unused errout label.
30822 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30824         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
30825         macro: hardware supports Vector Crypto instructions.
30827 2014-06-23  Will Newton  <will.newton@linaro.org>
30829         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
30830         rather than __builtin_expect.
30832         * elf/dl-lookup.c (undefined_msg): Remove variable.
30833         (_dl_lookup_symbol_x): Replace undefined_msg with string
30834         literal.
30836         * elf/dl-lookup.c (do_lookup_unique): New function.
30837         (do_lookup_x): Move STB_GNU_UNIQUE handling code
30838         to a separate function.
30840 2014-06-23  Andreas Schwab  <schwab@suse.de>
30842         [BZ #17079]
30843         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
30844         before reading the next line.
30846 2014-06-23  Will Newton  <will.newton@linaro.org>
30848         * test-skeleton.c (signal_handler): Use printf and %m
30849         rather than perror.  Use printf rather than fprintf to
30850         stderr.  Use puts rather than fputs to stderr.
30851         (main): Likewise.
30853 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
30855         * nscd/nscd.c (thread_info_t): Remove typedef.
30856         (thread_info): Remove variable.
30858 2014-06-21  Allan McRae  <allan@archlinux.org>
30860         * NEWS: Mention CVE-2014-4043.
30862 2014-06-20  Roland McGrath  <roland@hack.frob.com>
30864         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
30865         * nptl/smp.h: ... here.
30867         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
30869         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
30870         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
30871         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
30872         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
30874         * nptl/allocatestack.c: Include <stack-aliasing.h>.
30875         * nptl/stack-aliasing.h: New file.
30876         * sysdeps/i386/i686/stack-aliasing.h: New file.
30877         * sysdeps/i386/i686/nptl/Makefile: File removed.
30878         * sysdeps/x86_64/stack-aliasing.h: New file.
30879         * sysdeps/x86_64/nptl/Makefile
30880         (CFLAGS-pthread_create.c): Variable removed.
30882         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
30883         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
30884         old file.
30885         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
30886         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
30887         old file.
30889 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
30891         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30892         (__ASSUME_SIGFRAME_V2): Remove macro.
30893         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
30894         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
30895         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
30896         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
30897         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
30898         Declare as function.  Remove conditional macro definitions.
30899         (__default_rt_sa_restorer): Likewise.
30900         (__default_sa_restorer_v1): Remove declaration.
30901         (__default_sa_restorer_v2): Likewise.
30902         (__default_rt_sa_restorer_v1): Likewise.
30903         (__default_rt_sa_restorer_v2): Likewise.
30904         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
30905         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
30906         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
30908 2014-06-20  Roland McGrath  <roland@hack.frob.com>
30910         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
30911         (libpthread-routines): Add sysdep.
30912         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
30913         * sysdeps/unix/sysv/linux/sparc/Versions
30914         (libpthread: GLIBC_2.3.3): New version set.
30915         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
30916         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
30917         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
30918         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
30919         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
30920         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
30921         Moved ...
30922         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
30923         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
30924         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
30925         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
30926         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
30927         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
30928         * sysdeps/sparc/nptl/sem_init.c: ... here.
30929         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
30930         * sysdeps/sparc/nptl/sem_post.c: ... here.
30931         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
30932         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
30933         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
30934         * sysdeps/sparc/nptl/sem_wait.c: ... here.
30935         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
30936         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
30937         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
30938         (libpthread-routines): Add cpu_relax.
30939         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
30940         File removed.
30941         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
30942         (librt: GLIBC_2.3.3): New version set.
30943         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
30944         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
30945         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
30946         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
30947         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
30948         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
30949         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
30950         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
30951         Moved ...
30952         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
30953         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
30954         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
30955         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
30956         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
30957         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
30958         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
30959         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
30960         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
30961         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
30962         Moved ...
30963         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
30964         Update #include.
30965         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
30966         Moved ...
30967         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
30968         Update #include.
30969         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
30970         Moved ...
30971         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
30972         Update #include.
30973         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
30974         Moved ...
30975         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
30976         Update #include.
30977         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
30978         Moved ...
30979         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
30980         Update #include.
30981         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
30982         Moved ...
30983         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
30984         Update #include.
30985         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
30986         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
30987         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
30988         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
30989         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
30990         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
30991         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
30992         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
30993         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
30994         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
30995         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
30996         Moved ...
30997         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
30998         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
30999         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
31000         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
31001         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
31003 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31005         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
31006         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
31007         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
31008         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
31009         * nscd/nscd.c: Likewise.
31010         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
31011         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
31012         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
31013         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
31015         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
31016         <kernel-features.h>.
31017         (init_mq_netlink): Remove conditional have_sock_cloexec
31018         definitions.  Remove code conditional on have_sock_cloexec < 0.
31019         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
31020         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
31021         * sysdeps/unix/sysv/linux/opensock.c: Do not include
31022         <kernel-features.h>.
31023         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
31024         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
31026 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
31028         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31029         Add tests for memset_chk and memset.
31031         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
31032         with AVX2_Usable.
31034 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
31036         [BZ #16046]
31037         * elf/tst-dl-iter-static.c: New file.
31038         * elf/Makefile (tests-static): Add tst-dl-iter-static.
31040         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
31041         error.
31043 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31045         * sysdeps/unix/sysv/linux/kernel-features.h
31046         (__ASSUME_F_GETOWN_EX): Remove macro.
31047         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
31048         <kernel-features.h>.
31049         (miss_F_GETOWN_EX): Remove variable or macro.
31050         (do_fcntl): Do not check miss_F_GETOWN_EX.
31051         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
31053         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
31054         Remove macro.
31055         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
31056         [!__ASSUME_AT_RANDOM]: Remove conditional code.
31057         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
31059         * sysdeps/unix/sysv/linux/kernel-features.h
31060         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
31061         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
31062         [ADJ_OFFSET_SS_READ]: Make code unconditional.
31063         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
31065 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
31067         [BZ #17075]
31068         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
31069         Fix calculation of the symbol's value.
31070         * sysdeps/arm/tst-armtlsdescloc.c: New file.
31071         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
31072         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
31073         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
31074         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
31075         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
31076         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
31077         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
31078         (modules-names): Add `tst-armtlsdescmod',
31079         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
31080         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
31081         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31082         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
31083         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
31084         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31085         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
31086         ($(objpfx)tst-armtlsdescloc): New dependency.
31087         ($(objpfx)tst-armtlsdescextnow): Likewise.
31088         ($(objpfx)tst-armtlsdescextlazy): Likewise.
31089         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
31090         TLS scheme support.
31091         * sysdeps/arm/configure: Regenerate.
31093 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31095         * include/fcntl.h (__atfct_seterrno): Remove prototype.
31096         (__atfct_seterrno_2): Likewise.
31097         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
31098         <kernel-features.h>.
31099         (__ASSUME_ATFCTS): Do not undefine and redefine.
31100         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
31101         (__have_atfcts): Remove conditional definition.
31102         (__fxstatat([__NR_fstatat64]: Make code unconditional.
31103         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
31104         unreachable if [__ASSUME_ATFCTS].
31105         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
31106         not undefine and redefine.
31107         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
31108         <kernel-features.h>.
31109         (faccessat) [__NR_faccessat]: Make code unconditional.
31110         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
31111         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
31112         <kernel-features.h>.
31113         (fchmodat) [__NR_fchmodat]: Make code unconditional.
31114         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
31115         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
31116         <kernel-features.h>.
31117         (fchownat) [__NR_fchownat]: Make code unconditional.
31118         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
31119         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
31120         <kernel-features.h>.
31121         (futimesat) [__NR_futimesat]: Make code unconditional.
31122         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
31123         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31124         <kernel-features.h>.
31125         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
31126         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31127         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31128         <kernel-features.h>.
31129         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
31130         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31131         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
31132         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31133         <kernel-features.h>.
31134         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
31135         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31136         * sysdeps/unix/sysv/linux/linkat.c: Do not include
31137         <kernel-features.h>.
31138         (linkat) [__NR_linkat]: Make code unconditional.
31139         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31140         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
31141         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
31142         <kernel-features.h>.
31143         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
31144         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31145         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
31146         <kernel-features.h>.
31147         (mkdirat) [__NR_mkdirat]: Make code unconditional.
31148         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
31149         * sysdeps/unix/sysv/linux/openat.c: Do not include
31150         <kernel-features.h>.
31151         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
31152         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
31153         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
31154         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
31155         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
31156         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
31157         <kernel-features.h>.
31158         (readlinkat) [__NR_readlinkat]: Make code unconditional.
31159         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
31160         result of INLINE_SYSCALL directly, not via int variable.
31161         * sysdeps/unix/sysv/linux/renameat.c: Do not include
31162         <kernel-features.h>.
31163         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
31164         (renameat) [__NR_renameat]: Make code unconditional.
31165         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
31166         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
31167         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
31168         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
31169         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
31170         (__ASSUME_ATFCTS): Do not undefine and redefine.
31171         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
31172         <kernel-features.h>.
31173         (symlinkat) [__NR_symlinkat]: Make code unconditional.
31174         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31175         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
31176         <kernel-features.h>.
31177         (unlinkat) [__NR_unlinkat]: Make code unconditional.
31178         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31179         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
31180         (__ASSUME_ATFCTS): Do not undefine and redefine.
31181         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31182         <kernel-features.h>.
31183         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
31184         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31185         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31186         <kernel-features.h>.
31187         (__xmknodat) [__NR_mknodat]: Make code unconditional.
31188         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
31190 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
31192         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
31194 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
31196         [BZ #17069]
31197         * posix/regcomp.c (parse_reg_exp): Deallocate partially
31198         constructed tree before returning error.
31199         * posix/bug-regexp36.c: Expand test case.
31201 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
31203         [BZ #6803]
31204         * math/libm-test.inc (scalbln_test_date):
31205         Add errno expectations.
31206         * math/w_scalblnf.c: New File.
31207         Add wrapper which checks for setting errno to ERANGE.
31208         Add weak_alias for corresponding scalbln function.
31209         * math/w_scalbln.c: Likewise.
31210         * math/w_scalblnl.c: Likewise.
31211         * math/Makefile (libm-calls): Add w_scalbln.
31212         * sysdeps/ieee754/flt-32/s_scalblnf.c:
31213         Remove weak_alias for corresponding scalbln function.
31214         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31215         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
31216         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31217         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31218         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
31219         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
31220         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
31221         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
31222         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
31223         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
31224         Remove long_double_symbol for scalblnl function in libm, libc.
31225         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
31226         Add wrapper which checks for setting errno to ERANGE.
31227         Add long_double_symbol for scalblnl function in libm, libc.
31228         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
31229         Remove long_double_symbol for scalblnl in libm.
31230         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
31231         Add wrapper which checks for setting errno to ERANGE.
31232         Add long_double_symbol for scalblnl function in libm.
31233         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
31234         Do not use wrapper because of own implementation.
31236 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
31238         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
31239         3 bytes for __pad1 for x32.
31240         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
31242 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
31243             H.J. Lu  <hongjiu.lu@intel.com>
31245         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
31246         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
31247         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31248         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31249         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
31251 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
31253         [BZ #17069]
31254         * posix/regcomp.c (parse_expression): Deallocate partially
31255         constructed tree before returning error.
31256         * posix/Makefile.c (tests): Add bug-regex36.
31257         (generated): Add bug-regex36.mtrace.
31258         (tests-special): Add $(objpfx)bug-regex36-mem.out
31259         (bug-regex36-ENV): New variable.
31260         ($(objpfx)bug-regex36-mem.out): New rule.
31261         * posix/bug-regex36.c: New file.
31263 2014-06-19  Will Newton  <will.newton@linaro.org>
31265         * malloc/malloc.c (systrim): If extra is zero then return
31266         early.
31268 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31270         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
31272 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
31274         * sysdeps/aarch64/strchr.S: New file.
31276 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
31278         [BZ #17022]
31279         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
31280         from arguments -2 or below.
31281         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
31282         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
31284 2014-06-18  Andreas Schwab  <schwab@suse.de>
31286         [BZ #17062]
31287         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
31288         of a bracket expr not to run off the end of the string.
31289         * posix/Makefile (tests): Add tst-fnmatch3.
31290         * posix/tst-fnmatch3.c: New file.
31292 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
31294         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
31295         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31296         [$(cross-compiling) = no]: Likewise.
31297         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31298         [$(cross-compiling) = no]: Likewise.
31300 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31302         [BZ #17031]
31303         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
31304         double, adjusted for any remainder from the high double.
31305         * math/libm-test.inc (nearbyint): Add tests.
31306         (rint): Likewise.
31308 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31310         * nptl/sysdeps/powerpc/Makefile: Moved ...
31311         * sysdeps/powerpc/nptl/Makefile: ... here.
31312         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
31313         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
31314         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
31315         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
31316         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
31317         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
31318         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
31319         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
31320         * nptl/sysdeps/powerpc/tls.h: Moved ...
31321         * sysdeps/powerpc/nptl/tls.h: ... here.
31323 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
31325         [BZ #16681]
31326         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
31327         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
31328         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
31329         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
31330         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
31331         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
31332         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
31333         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
31334         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
31336 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
31338         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31340 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
31342         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
31343         defined operator.
31345         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
31346         $TIMEOUTFACTOR.
31348 2014-06-16  Florian Weimer  <fweimer@redhat.com>
31350         [BZ #17058]
31351         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
31352         non-executed part of the test.
31354 2014-06-16  Andreas Schwab  <schwab@suse.de>
31356         * string/bits/string2.h (strdup, strndup): Update feature guard.
31358 2014-06-14  David S. Miller  <davem@davemloft.net>
31360         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31362 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
31364         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
31365         that was previously under [RESET_PID].
31366         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
31368         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
31369         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
31370         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
31371         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31372         (__libc_vfork): New strong alias.
31373         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
31375 2014-06-14 Andi Kleen  <ak@linux.intel.com>
31377         * sysdeps/generic/elide.h: New file.
31379 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31381         * Makefile (installed-headers): Adjust path of pthread.h header.
31383 2014-06-13  Roland McGrath  <roland@hack.frob.com>
31385         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
31386         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
31387         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
31388         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
31390         * nptl/sysdeps/s390/Makefile: Moved ...
31391         * sysdeps/s390/nptl/Makefile: ... here.
31392         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
31393         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
31394         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
31395         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
31396         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
31397         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
31398         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
31399         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
31400         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
31401         * sysdeps/s390/nptl/pthreaddef.h: ... here.
31402         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
31403         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
31404         * nptl/sysdeps/s390/tls.h: Moved ...
31405         * sysdeps/s390/nptl/tls.h: ... here.
31407         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
31408         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
31410 2014-06-13  David S. Miller  <davem@davemloft.net>
31412         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
31413         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
31414         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
31415         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
31416         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
31417         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
31418         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
31419         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
31420         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
31421         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
31422         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
31423         Remove RESET_PID cpp guards.
31424         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
31425         Remove RESET_PID cpp guards.
31426         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
31428 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
31430         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
31431         __sp to uintptr_t.
31433 2014-06-13  Andi Kleen  <ak@linux.intel.com>
31435         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
31436         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
31437         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
31438         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
31439         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
31440         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
31441         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
31442         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
31443         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
31444         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
31445         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
31446         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
31447         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
31448         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
31449         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
31450         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
31451         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
31452         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
31453         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
31454         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
31456         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
31457         (pthread_rwlock_rdlock): Add elision.
31458         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
31459         (pthread_rwlock_wrlock): Add elision.
31460         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
31461         (pthread_rwlock_trywrlock): Add elision.
31462         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
31463         (pthread_rwlock_tryrdlock): Add elision.
31464         * nptl/pthread_rwlock_unlock.c: Include elide.h.
31465         (pthread_rwlock_tryrdlock): Add elision unlock.
31466         * nptl/sysdeps/pthread/pthread.h:
31467         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
31468         (PTHREAD_RWLOCK_INITIALIZER,
31469         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
31470         Handle new elision field.
31471         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
31472         * sysdeps/arm/nptl/bits/pthreadtypes.h
31473         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31474         * sysdeps/sh/nptl/bits/pthreadtypes.h
31475         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31476         * sysdeps/tile/nptl/bits/pthreadtypes.h
31477         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31478         * sysdeps/a/nptl/bits/pthreadtypes.h
31479         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31480         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
31481         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31482         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
31483         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31484         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
31485         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31486         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
31487         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31488         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
31489         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31490         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
31491         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31492         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
31493         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31494         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
31495         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31496         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
31497         (elision_init): Set try_xbegin to zero when no RTM.
31498         * sysdeps/x86/nptl/bits/pthreadtypes.h
31499         (pthread_rwlock_t): Change __pad1 to __rwelision.
31500         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31502 2014-06-13  Andi Kleen  <ak@linux.intel.com>
31504         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
31505         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
31506         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
31507         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
31509 2014-06-13  Meador Inge  <meadori@codesourcery.com>
31511         [BZ #16996]
31512         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
31513         that the cached result has been set before returning it.
31515 2014-06-12  Roland McGrath  <roland@hack.frob.com>
31517         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
31518         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
31519         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
31520         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
31521         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
31522         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
31524         * nptl/sysdeps/sparc/Makefile: Moved ...
31525         * sysdeps/sparc/nptl/Makefile: ... here.
31526         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
31527         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
31528         * nptl/sysdeps/sparc/tls.h: Moved ...
31529         * sysdeps/sparc/nptl/tls.h: ... here.
31530         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
31531         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
31532         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
31533         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
31534         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
31535         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
31536         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
31537         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
31538         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
31539         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
31540         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
31541         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
31542         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
31543         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
31544         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
31545         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
31546         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
31547         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
31548         Update #include.
31549         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
31550         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
31551         Update #include.
31552         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
31553         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
31554         Update #include.
31555         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
31556         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
31557         Update #include.
31559         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31561         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
31562         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
31564         * sysdeps/pthread/posix-timer.h: Include <list.h>.
31565         (struct list_links): Type removed.
31566         (struct thread_node, struct timer_node): Replace struct list_links
31567         with struct list_head.
31568         (list_unlink_ip): Likewise.
31569         * sysdeps/pthread/timer_routines.c
31570         (timer_free_list, thread_free_list, thread_active_list): Likewise.
31571         (list_append, list_insbefore): Likewise.
31572         (list_init): Function removed.
31573         (thread_init, init_module): Use INIT_LIST_HEAD instead.
31574         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
31575         * sysdeps/pthread/Makefile: ... here, new file.
31577         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
31578         * sysdeps/nptl/Implies: ... here.
31579         * sysdeps/unix/sysv/linux/Implies: Add nptl.
31580         * nptl/sysdeps/pthread/list.h: Moved ...
31581         * include/list.h: ... here.
31582         * nptl/sysdeps/pthread/createthread.c: Moved ...
31583         * nptl/createthread.c: ... here.
31584         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
31585         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
31586         * nptl/pt-longjmp.c: ... here.
31587         * nptl/sysdeps/pthread/Makefile: Moved ...
31588         * sysdeps/nptl/Makefile: ... here.
31589         * nptl/sysdeps/pthread/Subdirs: Moved ...
31590         * sysdeps/nptl/Subdirs: ... here.
31591         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
31592         * sysdeps/nptl/aio_misc.h: ... here.
31593         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
31594         * sysdeps/nptl/bits/libc-lock.h: ... here.
31595         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
31596         * sysdeps/nptl/bits/libc-lockP.h: ... here.
31597         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
31598         * sysdeps/nptl/bits/stdio-lock.h: ... here.
31599         * nptl/sysdeps/pthread/configure: Moved ...
31600         * sysdeps/nptl/configure: ... here.
31601         * nptl/sysdeps/pthread/configure.ac: Moved ...
31602         * sysdeps/nptl/configure.ac: ... here.
31603         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
31604         * sysdeps/nptl/gai_misc.h: ... here.
31605         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
31606         * sysdeps/nptl/librt-cancellation.c: ... here.
31607         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
31608         * sysdeps/nptl/malloc-machine.h: ... here.
31609         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
31610         * sysdeps/nptl/pthread-functions.h: ... here.
31611         * nptl/sysdeps/pthread/pthread.h: Moved ...
31612         * sysdeps/nptl/pthread.h: ... here.
31613         * nptl/sysdeps/pthread/setxid.h: Moved ...
31614         * sysdeps/nptl/setxid.h: ... here.
31615         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
31616         * sysdeps/nptl/sigfillset.c: ... here.
31617         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
31618         * sysdeps/nptl/tcb-offsets.h: ... here.
31619         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
31620         * sysdeps/nptl/tst-mqueue8x.c: ... here.
31621         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
31622         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
31623         * nptl/sysdeps/pthread/allocalim.h: Moved ...
31624         * sysdeps/pthread/allocalim.h: ... here.
31625         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
31626         * sysdeps/pthread/bits/sigthread.h: ... here.
31627         * nptl/sysdeps/pthread/flockfile.c: Moved ...
31628         * sysdeps/pthread/flockfile.c: ... here.
31629         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
31630         * sysdeps/pthread/ftrylockfile.c: ... here.
31631         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
31632         * sysdeps/pthread/funlockfile.c: ... here.
31633         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
31634         * sysdeps/pthread/posix-timer.h: ... here.
31635         * nptl/sysdeps/pthread/timer_create.c: Moved ...
31636         * sysdeps/pthread/timer_create.c: ... here.
31637         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
31638         * sysdeps/pthread/timer_delete.c: ... here.
31639         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
31640         * sysdeps/pthread/timer_getoverr.c: ... here.
31641         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
31642         * sysdeps/pthread/timer_gettime.c: ... here.
31643         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
31644         * sysdeps/pthread/timer_routines.c: ... here.
31645         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
31646         * sysdeps/pthread/timer_settime.c: ... here.
31647         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
31648         * sysdeps/pthread/tst-timer.c: ... here.
31649         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
31650         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
31652         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
31653         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
31655         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
31656         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
31657         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
31658         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
31659         Update #include target.
31660         * nptl/sysdeps/i386/i686/Makefile: Moved ...
31661         * sysdeps/i386/i686/nptl/Makefile: ... here.
31662         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
31663         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
31664         Update #include target.
31665         * nptl/sysdeps/i386/i686/tls.h: Moved ...
31666         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
31667         * nptl/sysdeps/i386/Makefile: Moved ...
31668         * sysdeps/i386/nptl/Makefile: ... here.
31669         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
31670         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
31671         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
31672         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
31673         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
31674         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
31675         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
31676         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
31677         * sysdeps/i386/nptl/pthreaddef.h: ... here.
31678         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
31679         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
31680         * nptl/sysdeps/i386/tls.h: Moved ...
31681         * sysdeps/i386/nptl/tls.h: ... here.
31683         * sysdeps/sh/Makefile [$(subdir) = csu]
31684         (gen-as-const-headers): Add tcb-offsets.sym.
31685         * nptl/sysdeps/sh/Makefile: File removed.
31686         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
31687         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
31688         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
31689         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
31690         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
31691         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
31692         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
31693         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
31694         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
31695         * sysdeps/sh/nptl/pthreaddef.h: ... here.
31696         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
31697         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
31698         * nptl/sysdeps/sh/tls.h: Moved ...
31699         * sysdeps/sh/nptl/tls.h: ... here.
31700         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
31701         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
31702         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
31703         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
31704         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
31705         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
31706         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
31707         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
31708         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
31709         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
31710         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
31711         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
31712         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
31713         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
31714         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
31715         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
31716         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
31717         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
31718         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
31719         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
31720         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
31721         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
31722         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
31723         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
31724         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
31725         Moved ...
31726         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
31727         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
31728         Moved ...
31729         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
31730         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
31731         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
31732         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
31733         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
31734         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
31735         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
31736         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
31737         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
31738         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
31739         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
31740         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
31741         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
31742         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
31743         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
31744         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
31745         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
31746         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
31747         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
31749 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31751         * posix/spawn_faction_addopen.c: Include string.h.
31753 2014-06-11  Roland McGrath  <roland@hack.frob.com>
31755         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
31756         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
31757         * nptl/sysdeps/x86_64/Makefile: Moved ...
31758         * sysdeps/x86_64/nptl/Makefile: ... here.
31759         * nptl/sysdeps/x86_64/configure: Moved ...
31760         * sysdeps/x86_64/nptl/configure: ... here.
31761         * nptl/sysdeps/x86_64/configure.ac: Moved ...
31762         * sysdeps/x86_64/nptl/configure.ac: ... here.
31763         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
31764         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
31765         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
31766         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
31767         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
31768         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
31769         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
31770         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
31771         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
31772         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
31773         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
31774         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
31775         * nptl/sysdeps/x86_64/tls.h: Moved ...
31776         * sysdeps/x86_64/nptl/tls.h: ... here.
31777         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
31778         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
31779         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
31780         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
31782         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
31784 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31786         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31788 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
31790         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
31791         type.
31792         [POSIX] (off_t): Likewise.
31793         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
31794         [POSIX] (S_ISBLK): Require macro.
31795         [POSIX] (S_ISCHR): Likewise.
31796         [POSIX] (S_ISDIR): Likewise.
31797         [POSIX] (S_ISFIFO): Likewise.
31798         [POSIX] (S_ISREG): Likewise.
31799         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
31800         optional-macro.
31801         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
31802         type.
31803         [POSIX] (time_t): Likewise.
31804         [POSIX] (timer_t): Likewise.
31806 2014-06-11  Florian Weimer  <fweimer@redhat.com>
31808         [BZ #17048]
31809         * posix/spawn_int.h (struct __spawn_action): Make the path string
31810         non-const to support deallocation.
31811         * posix/spawn_faction_addopen.c
31812         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
31813         * posix/spawn_faction_destroy.c
31814         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
31815         path in all spawn_do_open actions.
31816         * posix/tst-spawn.c (do_test): Exercise the copy operation in
31817         posix_spawn_file_actions_addopen.
31819 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
31821         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
31822         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
31823         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
31824         conditional code always true.
31825         (__libc_vfork): New alias.
31827 2014-06-11  Roland McGrath  <roland@hack.frob.com>
31829         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31830         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
31832         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
31834         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31835         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
31837         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31838         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
31840         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31841         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
31843 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31845         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
31846         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
31847         multiarch strcmp for PPC64.
31848         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
31849         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
31850         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
31851         multiarch optimizations.
31852         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31853         (__libc_ifunc_impl_list): Likewise.
31855 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31857         * benchtests/scripts/validate_benchout.py: New script.
31858         * benchtests/Makefile (bench-func): Call it.
31859         * benchtests/scripts/benchout.schema.json: New file.
31861 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
31863         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
31864         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
31865         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
31866         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
31867         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
31868         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
31869         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
31870         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
31871         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
31872         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
31873         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
31874         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
31875         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
31876         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
31877         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
31878         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
31879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
31880         Moved ...
31881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
31882         ... here.
31883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
31884         Moved ...
31885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
31886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
31887         Moved ...
31888         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
31889         ... here.
31890         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
31891         Moved ...
31892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
31893         ... here.
31894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
31895         Moved ...
31896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
31897         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
31898         Moved ...
31899         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
31900         ... here.
31901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
31902         Moved ...
31903         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
31904         ... here.
31905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
31906         Moved ...
31907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
31908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
31909         Moved ...
31910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
31911         ... here.
31912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
31913         Moved ...
31914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
31915         ... here.
31916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
31917         Moved ...
31918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
31919         ... here.
31920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
31921         Moved ...
31922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
31923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
31924         Moved ...
31925         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
31926         ... here.
31927         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
31928         Moved ...
31929         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
31930         ... here.
31931         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
31932         Moved ...
31933         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
31934         ... here.
31935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
31936         Moved ...
31937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
31938         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
31939         Moved ...
31940         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
31941         ... here.
31942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
31943         Moved ...
31944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
31945         ... here.
31946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
31947         Moved ...
31948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
31949         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
31950         Moved ...
31951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
31952         ... here.
31953         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
31954         Moved ...
31955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
31956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
31957         Moved ...
31958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
31959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
31960         Moved ...
31961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
31962         ... here.
31963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
31964         Moved ...
31965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
31966         ... here.
31967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
31968         Moved ...
31969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
31970         ... here.
31971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
31972         Moved ...
31973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
31974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
31975         Moved ...
31976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
31977         ... here.
31978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
31979         Moved ...
31980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
31981         ... here.
31982         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
31983         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
31984         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
31985         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
31986         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
31987         Moved ...
31988         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
31989         ... here.
31990         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
31991         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
31992         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
31993         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
31994         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
31995         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
31996         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
31997         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
31998         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
31999         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
32000         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
32001         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
32002         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
32003         Moved ...
32004         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
32005         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
32006         Moved ...
32007         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
32008         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
32009         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
32010         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
32011         Moved ...
32012         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
32013         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
32014         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
32015         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
32016         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
32017         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
32018         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
32020 2014-06-10  Wilco  <wdijkstr@arm.com>
32022         * math/test-fenv-return.c: New file.
32023         * math/Makefile: Add new test test-fenv-return.
32025 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
32027         [BZ #17042]
32028         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
32029         when x - 1 is zero.
32030         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
32031         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
32032         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
32033         0.0L for an argument of 1.0L.
32034         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
32035         Likewise.
32036         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
32037         value when x - 1 is zero.
32038         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
32039         * sysdeps/i386/fpu/libm-test-ulps: Update.
32040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32042 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
32044         [BZ #15119]
32045         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
32047 2014-06-09  Roland McGrath  <roland@hack.frob.com>
32049         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
32050         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
32052 2014-06-09  Roland McGrath  <roland@hack.frob.com>
32054         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32055         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
32057         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32058         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
32060         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32061         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
32063         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32064         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
32066         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
32067         if not already defined.
32068         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
32069         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
32070         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
32071         (TLS_INIT_TP): Use it.
32072         (TLS_DEFINE_INIT_TP): New macro.
32073         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
32075 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
32077         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
32078         constant.
32079         [POSIX] (IXANY): Likewise.
32080         [POSIX] (OLCUC): Likewise.
32081         [POSIX || POSIX2008] (CBAUD): Do not allow.
32082         [POSIX || POSIX2008] (DEFECHO): Likewise.
32083         [POSIX || POSIX2008] (ECHOCTL): Likewise.
32084         [POSIX || POSIX2008] (ECHOKE): Likewise.
32085         [POSIX || POSIX2008] (ECHOPRT): Likewise.
32086         [POSIX || POSIX2008] (EXTA): Likewise.
32087         [POSIX || POSIX2008] (EXTB): Likewise.
32088         [POSIX || POSIX2008] (FLUSHO): Likewise.
32089         [POSIX || POSIX2008] (LOBLK): Likewise.
32090         [POSIX || POSIX2008] (PENDIN): Likewise.
32091         [POSIX || POSIX2008] (SWTCH): Likewise.
32092         [POSIX || POSIX2008] (VDISCARD): Likewise.
32093         [POSIX || POSIX2008] (VDSUSP): Likewise.
32094         [POSIX || POSIX2008] (VLNEXT): Likewise.
32095         [POSIX || POSIX2008] (VREPRINT): Likewise.
32096         [POSIX || POSIX2008] (VSTATUS): Likewise.
32097         [POSIX || POSIX2008] (VWERASE): Likewise.
32098         (B*): Change to B[0123456789]*.
32099         * conform/data/time.h-data [POSIX || UNIX98]
32100         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
32101         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32102         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
32103         [POSIX] (tm_*): Do not allow.
32105 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
32107         * Makefile (install): Don't set LANGUAGE.
32108         * Makefile.in (install): Likewise.
32109         * assert/Makefile (test-assert-ENV): Remove variable.
32110         (test-assert-perr-ENV): Likewise.
32111         * elf/Makefile (neededtest4-ENV): Likewise.
32112         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32113         [$(cross-compiling) = no]: Don't set LANGUAGE.
32114         * io/ftwtest-sh (LANG): Remove variable.
32115         * libio/Makefile (tst-widetext-ENV): Likewise.
32116         * manual/install.texi (Running make install): Don't refer to
32117         environment settings for make install.
32118         * INSTALL: Regenerated.
32119         * nptl/tst-tls6.sh: Don't set LANG.
32120         * posix/globtest.sh (LANG): Remove variable.
32121         * string/Makefile (tester-ENV): Likewise.
32122         (inl-tester-ENV): Likewise.
32123         (noinl-tester-ENV): Likewise.
32124         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32125         [$(cross-compiling) = no]: Don't set LANGUAGE.
32126         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
32127         without explicit environment settings.
32129 2014-06-06  Roland McGrath  <roland@hack.frob.com>
32131         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
32132         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
32133         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
32134         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
32136 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
32138         * crypt/crypt-private.h [DOS]: Add some includes taken from the
32139         other files in the crypt directory.
32140         * crypt/crypt.c: Remove duplicate includes.
32141         * crypt/crypt-entry.c: Likewise.
32142         * crypt/crypt_util.c: Likewise.
32144 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
32146         * Makeconfig (run-program-env): New variable.
32147         (run-program-prefix-before-env): Likewise.
32148         (run-program-prefix-after-env): Likewise.
32149         (run-program-prefix): Define in terms of new variables.
32150         (built-program-cmd-before-env): New variable.
32151         (built-program-cmd-after-env): Likewise.
32152         (built-program-cmd): Define in terms of new variables.
32153         (test-program-prefix-before-env): New variable.
32154         (test-program-prefix-after-env): Likewise.
32155         (test-program-prefix): Define in terms of new variables.
32156         (test-program-cmd-before-env): New variable.
32157         (test-program-cmd-after-env): Likewise.
32158         (test-program-cmd): Define in terms of new variables.
32159         * Rules (make-test-out): Use $(run-program-env).
32160         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
32161         (help): Do not mention environment variables.  Mention
32162         --timeoutfactor option.
32163         (timeoutfactor): New variable.
32164         (blacklist_exports): Remove function.
32165         (exports): Remove variable.
32166         (command): Do not include ${exports}.
32167         * manual/install.texi (Configuring and compiling): Do not mention
32168         test wrappers preserving environment variables.  Mention that last
32169         assignment to a variable must take precedence.
32170         * INSTALL: Regenerated.
32171         * benchtests/Makefile (run-bench): Use $(run-program-env).
32172         * catgets/Makefile ($(objpfx)test1.cat): Use
32173         $(built-program-cmd-before-env), $(run-program-env) and
32174         $(built-program-cmd-after-env).
32175         ($(objpfx)test2.cat): Do not specify environment variables
32176         explicitly.
32177         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
32178         $(run-program-env) and $(built-program-cmd-after-env).
32179         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
32180         $(run-program-env) and $(test-program-cmd-after-env).
32181         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
32182         explicitly.
32183         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
32184         run_program_env and test_program_cmd_after_env arguments.
32185         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
32186         * elf/tst-pathopt.sh: Use run_program_env argument.
32187         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
32188         $(test-wrapper-env) and $(run-program-env).
32189         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
32190         run_program_env arguments.
32191         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
32192         * intl/Makefile ($(objpfx)tst-gettext.out): Use
32193         $(test-program-prefix-before-env), $(run-program-env) and
32194         $(test-program-prefix-after-env).
32195         ($(objpfx)tst-gettext2.out): Likewise.
32196         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
32197         run_program_env and test_program_prefix_after_env arguments.
32198         * intl/tst-gettext2.sh: Likewise.
32199         * intl/tst-gettext4.sh: Do not set environment variables
32200         explicitly.
32201         * intl/tst-gettext6.sh: Likewise.
32202         * intl/tst-translit.sh: Likewise.
32203         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
32204         $(test-program-prefix-before-env), $(run-program-env) and
32205         $(test-program-prefix-after-env).
32206         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
32207         run_program_env and test_program_prefix_after_env arguments.
32208         * math/Makefile (run-regen-ulps): Use $(run-program-env).
32209         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
32210         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
32211         explicitly with each use of ${test_wrapper_env}.
32212         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
32213         $(test-program-prefix-before-env), $(run-program-env) and
32214         $(test-program-prefix-after-env).
32215         * posix/tst-getconf.sh: Do not set environment variables
32216         explicitly.
32217         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
32218         run_program_env and test_program_prefix_after_env arguments.
32219         * stdio-common/tst-printf.sh: Do not set environment variables
32220         explicitly.
32221         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
32222         $(test-program-prefix-before-env), $(run-program-env) and
32223         $(test-program-prefix-after-env).
32224         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
32225         run_program_env and test_program_prefix_after_env arguments.
32226         Split $test calls into $test_pre and $test.
32227         * timezone/Makefile (build-testdata): Use
32228         $(built-program-cmd-before-env), $(run-program-env) and
32229         $(built-program-cmd-after-env).
32231 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32233         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
32234         strlen for non SHARED builds.
32236 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32238         * nptl/allocatestack.c (check_list): Inlined function...
32239         (__reclaim_stacks): ... here.
32241 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
32243         [BZ #15698]
32244         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
32245         memory overrun.
32247 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
32249         * Rules (make-test-out): Include
32250         LOCPATH=$(common-objpfx)localedata in default environment.
32251         * debug/Makefile (tst-chk1-ENV): Remove variable.
32252         (tst-chk2-ENV): Likewise.
32253         (tst-chk3-ENV): Likewise.
32254         (tst-chk4-ENV): Likewise.
32255         (tst-chk5-ENV): Likewise.
32256         (tst-chk6-ENV): Likewise.
32257         (tst-lfschk1-ENV): Likewise.
32258         (tst-lfschk2-ENV): Likewise.
32259         (tst-lfschk3-ENV): Likewise.
32260         (tst-lfschk4-ENV): Likewise.
32261         (tst-lfschk5-ENV): Likewise.
32262         (tst-lfschk6-ENV): Likewise.
32263         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
32264         (tst-iconv7-ENV): Likewise.
32265         * intl/Makefile (LOCPATH-ENV): Likewise.
32266         (tst-codeset-ENV): Likewise.
32267         (tst-gettext3-ENV): Likewise.
32268         (tst-gettext5-ENV): Likewise.
32269         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
32270         (tst-fopenloc-ENV): Likewise.
32271         (tst-fgetws-ENV): Remove variable.
32272         (tst-ungetwc1-ENV): Likewise.
32273         (tst-ungetwc2-ENV): Likewise.
32274         (bug-ungetwc2-ENV): Likewise.
32275         (tst-swscanf-ENV): Likewise.
32276         (bug-ftell-ENV): Likewise.
32277         (tst-fgetwc-ENV): Likewise.
32278         (tst-fseek-ENV): Likewise.
32279         (tst-ftell-partial-wide-ENV): Likewise.
32280         (tst-ftell-active-handler-ENV): Likewise.
32281         (tst-ftell-append-ENV): Likewise.
32282         * posix/Makefile (tst-fnmatch-ENV): Likewise.
32283         (tst-regexloc-ENV): Likewise.
32284         (bug-regex1-ENV): Likewise.
32285         (tst-regex-ENV): Likewise.
32286         (tst-regex2-ENV): Likewise.
32287         (bug-regex5-ENV): Likewise.
32288         (bug-regex6-ENV): Likewise.
32289         (bug-regex17-ENV): Likewise.
32290         (bug-regex18-ENV): Likewise.
32291         (bug-regex19-ENV): Likewise.
32292         (bug-regex20-ENV): Likewise.
32293         (bug-regex22-ENV): Likewise.
32294         (bug-regex23-ENV): Likewise.
32295         (bug-regex25-ENV): Likewise.
32296         (bug-regex26-ENV): Likewise.
32297         (bug-regex30-ENV): Likewise.
32298         (bug-regex32-ENV): Likewise.
32299         (bug-regex33-ENV): Likewise.
32300         (bug-regex34-ENV): Likewise.
32301         (bug-regex35-ENV): Likewise.
32302         (tst-rxspencer-ENV): Likewise.
32303         (tst-rxspencer-no-utf8-ENV): Likewise.
32304         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
32305         (tst-sscanf-ENV): Likewise.
32306         (tst-swprintf-ENV): Likewise.
32307         (tst-swscanf-ENV): Likewise.
32308         (test-vfprintf-ENV): Likewise.
32309         (scanf13-ENV): Likewise.
32310         (bug14-ENV): Likewise.
32311         (tst-grouping-ENV): Likewise.
32312         * stdlib/Makefile (tst-strtod-ENV): Likewise.
32313         (tst-strtod3-ENV): Likewise.
32314         (tst-strtod4-ENV): Likewise.
32315         (tst-strtod5-ENV): Likewise.
32316         (testmb2-ENV): Likewise./
32317         * string/Makefile (tst-strxfrm-ENV): Likewise.
32318         (tst-strxfrm2-ENV): Likewise.
32319         (bug-strcoll1-ENV): Likewise.
32320         (test-strcasecmp-ENV): Likewise.
32321         (test-strncasecmp-ENV): Likewise.
32322         * time/Makefile (tst-strptime-ENV): Likewise.
32323         (tst-ftime_l-ENV): Likewise.
32324         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
32325         (tst-mbrtowc-ENV): Likewise.
32326         (tst-wcrtomb-ENV): Likewise.
32327         (tst-mbrtowc2-ENV): Likewise.
32328         (tst-c16c32-1-ENV): Likewise.
32329         (tst-mbsnrtowcs-ENV): Likewise.
32331 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
32333         * manual/resource.texi (How to get information about the memory
32334         subsystem?): Fix typo.
32335         Reported by Peon de la Parra Ivan <peon@keba.com>
32337 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
32339         [BZ #16882]
32340         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
32341         (pthread_spin_lock): Branch out of spin loop to proper location.
32342         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
32343         (pthread_spin_lock): Likewise.
32345         * nptl/tst-spin4.c: New test.
32346         * nptl/Makefile (tests): Add tst-spin4.
32348 2014-06-03  Andreas Schwab  <schwab@suse.de>
32350         [BZ #15946]
32351         * resolv/res_send.c (send_dg): Reload file descriptor after
32352         calling reopen.
32354 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
32356         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32358 2014-06-03  Richard Henderson  <rth@redhat.com>
32360         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
32361         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
32362         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
32363         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
32364         in the SAVE_PID block.
32365         (__libc_vfork): New alias.
32366         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
32368         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
32369         child in registers, not on the stack.  Remove RESET_PID conditionals.
32370         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
32372 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32374         * sysdeps/aarch64/libm-test-ulps: Regenerate.
32376 2014-06-03  Wilco  <wdijkstr@arm.com>
32378         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
32379         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
32380         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32381         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
32382         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
32383         Likewise.
32385 2014-06-03  Wilco  <wdijkstr@arm.com>
32387         * sysdeps/aarch64/fpu/math_private.h
32388         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
32389         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
32390         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
32391         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32392         Fix declarations.
32394 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32396         * crypt/crypt-private.h: Include ufc-crypt.h.
32397         (__b64_from_24bit): Declare extern.
32398         * crypt/crypt_util.c(__b64_from_24bit): New function.
32399         (b64t): New static const variable.
32400         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
32401         (b64t): Remove variable.
32402         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
32403         * crypt/sha256-crypt.c: Include crypt-private.h.
32404         (b64t): Remove variable.
32405         (__sha256_crypt_r): Remove b64_from_24bit and replace
32406         with __b64_from_24bit.
32407         * crypt/sha512-crypt.c: Likewise.
32409 2014-06-02  Roland McGrath  <roland@hack.frob.com>
32411         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
32412         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
32413         Label the code __libc_vfork rather than __vfork.
32414         [!NOT_IN_libc] (vfork): Define as weak alias.
32415         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
32416         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
32417         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
32419 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32421         * malloc/malloc.c (malloc_info): Fix format specifier for
32422         n_mmaps.
32424 2014-06-02  Wilco  <wdijkstr@arm.com>
32426         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
32427         FPCR write.
32429 2014-06-02  Wilco  <wdijkstr@arm.com>
32431         [BZ #17009]
32432         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
32433         Rewrite to reduce FPCR/FPSR accesses.
32435 2014-06-01  David S. Miller  <davem@davemloft.net>
32437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32439 2014-05-31  David S. Miller  <davem@davemloft.net>
32441         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
32442         to occur in round to nearest mode when |x| >= 2.0
32444 2014-05-30  Richard Henderson  <rth@twiddle.net>
32446         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
32447         (PSEUDO_RET_NOERRNO): Remove.
32448         (ret): Don't redefine.
32449         (ret_NOERRNO): Define in terms of ret.
32450         (ret_ERRVAL): Likewise.
32452         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
32453         use of PSEUDO_RET; perform the error check directly.
32455 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
32457         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
32458         with __int128_t.
32460 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32462         * malloc/malloc (malloc_info): Fix formatting.
32464 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32465             Roland McGrath  <roland@hack.frob.com>
32467         * malloc/malloc (malloc_info): Also print mmapped statistics.
32469 2014-05-30  Roland McGrath  <roland@hack.frob.com>
32471         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
32472         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
32474 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
32476         * malloc/malloc.c (malloc_info): Inline mi_arena.
32478 2014-05-29  Richard Henderson  <rth@twiddle.net>
32480         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
32481         Remove comma before expanding ASM_ARGS_##nr.
32482         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
32483         Make _x0 a strict output; make _x8 a strict input; adjust expansion
32484         of ASM_ARGS_##nr.
32485         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
32486         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
32487         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
32488         (ASM_ARGS_1): Add leading comma.
32490         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
32491         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
32492         to __errno_location.
32493         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
32494         Remove the expected plt for __errno_location.
32496         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32497         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
32498         call to __read_tp.
32500         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32501         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
32502         it and break it down.
32503         (DOCARGS_0, DOCARGS_1): Do nothing.
32504         (DOCARGS_2): Update to store into the new stack frame.
32505         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
32506         (UNDOCARGS_1): Update to restore from the new stack frame.
32507         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
32508         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
32510         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32511         (SINGLE_THREAD_P): New parameter for result regno.
32512         (PSEUDO): Update to match; use cbz instead of beq.
32514         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32515         Use ENTRY to define the _nocancel entry point.  Share the syscall
32516         and syscall error check paths with the cancel path.
32517         (PSEUDO_END): New.
32519         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
32520         whitespace; tabs before and after asm mnemonics.
32522 2014-05-29  Eric Wong  <normalperson@yhbt.net>
32524         [BZ #15132]
32525         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32526         Call fstat64 or stat64 internally, depending on arguments passed.
32527         Replace stat buffer argument with file descriptor argument.
32528         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
32529         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32530         Pass fd to __internal_statvfs instead of calling fstat64.
32531         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
32532         Pass fd to __internal_statvfs64 instead of calling fstat64.
32533         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
32534         Pass -1 to __internal_statvfs instead of calling stat64.
32535         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
32536         Pass -1 to __internal_statvfs64 instead of calling stat64.
32538 2014-05-28  Roland McGrath  <roland@hack.frob.com>
32540         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
32541         that was previously under [RESET_PID].
32542         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
32544         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
32545         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
32547 2014-05-27  Roland McGrath  <roland@hack.frob.com>
32549         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
32551         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
32552         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
32554 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
32556         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
32558 2014-05-27  Andreas Schwab  <schwab@suse.de>
32560         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
32561         TLS_INIT_TP macro.
32562         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
32563         * elf/rtld.c (init_tls, dl_main): Likewise.
32564         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
32565         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
32566         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
32567         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
32568         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
32569         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
32570         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
32571         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
32572         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
32573         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
32574         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
32575         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
32576         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
32577         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
32578         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
32579         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
32580         * sysdeps/generic/tls.h: Update description.
32582 2014-05-27  Will Newton  <will.newton@linaro.org>
32584         [BZ #16990]
32585         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
32586         and restore r2 rather than just restoring.
32588 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32590         [BZ #16724]
32591         * libio/tst-ftell-append.c: New test case.
32592         * libio/Makefile (tests): Add test case.
32593         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
32594         append mode.
32595         * libio/wfileops.c (do_ftell_wide): Likewise.
32597 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32599         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32601         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
32602         ...
32603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
32604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32605         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
32606         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
32607         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
32608         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
32609         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
32610         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
32611         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
32612         Moved ...
32613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
32614         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
32615         Moved ...
32616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
32617         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
32618         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
32619         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
32620         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
32621         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
32622         ...
32623         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
32624         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
32625         Moved ...
32626         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
32627         here.
32628         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
32629         ...
32630         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
32631         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
32632         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
32634         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
32635         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
32636         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
32637         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
32639         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
32640         merge into ...
32641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
32642         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
32643         ...
32644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
32645         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
32646         ...
32647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
32648         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32649         Moved ...
32650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
32651         here.
32652         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32653         Moved ...
32654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
32655         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32656         Moved ...
32657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
32659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
32660         conditional [RESET_PID].
32661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
32662         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
32663         removed.
32664         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
32665         removed.
32667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
32668         <tcb-offsets.h>.
32669         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32670         (__libc_vfork): New strong alias.
32671         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
32672         removed.
32673         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
32674         Removed.
32676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
32677         <tcb-offsets.h>.
32678         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
32679         (__libc_vfork): New strong alias.
32680         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
32681         removed.
32682         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
32683         removed.
32685 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
32687         * malloc/malloc.c (mi_arena): New function.
32688         (malloc_info): Remove nested function mi_arena. Call non-nosted
32689         function mi_arena.
32691 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32693         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
32694         by insrwi.
32695         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32696         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32697         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
32698         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
32699         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
32700         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
32701         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
32703 2014-05-26  Andreas Schwab  <schwab@suse.de>
32705         [BZ #16984]
32706         * locale/programs/repertoire.c (repertoire_read): Add slash
32707         between I18NPATH element and file name.
32708         * locale/programs/locfile.c (locfile_read): Likewise.
32710 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32712         * nptl/pthread_mutexattr_settype.c
32713         (__pthread_mutexattr_settype):
32714         Disable lock elision for PTHREAD_MUTEX_NORMAL.
32716 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32718         * nptl/tst-mutex5 (do_test):
32719         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
32721 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32723         * benchtests/README: Document 'init' directive.
32724         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
32725         BENCH_INIT.
32726         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
32727         (parse_file): Recognize 'init' directive.
32729 2014-05-26  Kyle McMartin  <kyle@redhat.com>
32731         [BZ #16796]
32732         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
32733         alignment of struct pthread.
32735 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32737         [BZ #16878]
32738         * nscd/netgroupcache.c (addgetnetgrentX): Look for
32739         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32740         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
32741         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32743 2014-05-25  Richard Henderson  <rth@twiddle.net>
32745         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32746         (SINGLE_THREAD_P_PIC): Remove.
32747         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
32748         (SINGLE_THREAD_P_PIC): Remove.
32750         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
32751         branch to syscall error ...
32752         (PSEUDO): ... here.
32753         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
32754         from __local_syscall_error to .Lsyscall_error.
32755         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
32756         (SYSCALL_ERROR): Update label name.
32758         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32759         Do not use DOARGS/UNDOARGS.
32760         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
32761         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
32762         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
32763         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
32764         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
32766         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
32767         block comment.
32769         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
32770         define if !NOT_IN_libc.
32771         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
32772         define with non-default symbol versions.
32774 2014-05-23  Richard Henderson  <rth@twiddle.net>
32776         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
32777         (vfork, __vfork): Define via compat_symbol.
32779         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
32780         [!HAVE_IFUNC] (vfork_compat): Remove.
32781         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
32783 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
32785         [BZ #16978]
32786         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
32787         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
32788         variable.
32790 2014-05-23  Richard Henderson  <rth@twiddle.net>
32792         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
32793         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
32794         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
32795         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
32797         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
32798         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
32799         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
32800         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
32801         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
32802         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
32803         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
32804         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
32805         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
32806         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
32807         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
32808         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
32809         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
32810         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
32811         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
32812         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
32813         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
32814         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
32815         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
32816         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
32817         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
32818         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
32819         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
32820         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
32821         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
32822         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
32823         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
32824         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
32825         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
32826         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
32827         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
32828         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
32829         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
32830         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
32831         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
32832         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
32833         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
32834         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
32835         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
32836         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
32837         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
32838         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
32839         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
32840         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
32841         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
32842         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
32843         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
32844         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
32845         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
32846         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
32847         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
32848         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
32849         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
32850         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
32851         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
32852         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
32854         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
32855         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
32856         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
32857         before exiting on error.
32858         (__libc_vfork): New strong alias.
32859         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
32860         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
32862         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
32863         that was previously under [RESET_PID].
32864         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
32866         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
32868 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
32870         [BZ #16977]
32871         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
32872         value when x - 1 is zero.
32873         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
32874         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
32875         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
32876         0.0L for an argument of 1.0L.
32877         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
32878         Likewise.
32879         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
32880         value when x - 1 is zero.
32881         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
32882         * sysdeps/i386/fpu/libm-test-ulps: Update.
32883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32885 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
32887         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
32888         alphasort and versionsort.
32890 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32892         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
32893         macro.
32894         [copysignf]: Likewise.
32896 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32898         * crypt/md5-crypt.c: Fix formatting.
32900 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32902         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
32903         (b64_from_24bit): New function.
32905 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32907         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
32908         libc_hidden_builtin_def to ifunc.
32909         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
32910         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
32912 2014-05-21  Roland McGrath  <roland@hack.frob.com>
32914         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
32915         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
32917 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
32919         * nscd/Depend (linuxthreads): Remove.
32920         (nptl): Add.
32921         * resolv/Depend (linuxthreads): Remove.
32922         * rt/Depend (linuxthreads): Remove.
32924         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
32925         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
32926         $(common-objpfx)elf/.
32927         (link-libc-before-gnulib): Likewise.
32928         (elfobjdir): Remove variable.
32929         * Makefile (install): Use $(elf-objpfx) instead of
32930         $(common-objpfx)elf/.
32931         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
32932         $(elfobjdir)/.
32933         (link-libc-deps): Likewise.
32934         ($(common-objpfx)libc.so): Likewise.
32935         ($(common-objpfx)linkobj/libc.so): Likewise.
32936         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
32937         instead of $(common-objpfx)elf/.
32938         (symbolic-link-list): Likewise.
32939         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32940         [$(cross-compiling) = no]: Likewise.
32941         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
32942         $(elfobjdir)/.
32943         (static-gnulib-arch): Likewise.
32944         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32945         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
32946         $(common-objpfx)elf/.
32948 2014-05-21  Richard Henderson  <rth@redhat.com>
32950         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32951         (SINGLE_THREAD_P): Use the correct width load.  Fold
32952         into the ldr offset.
32954         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
32955         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
32957 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
32959         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
32960         (libgcc_s_resume): Use __attribute_used__.
32961         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
32962         Likewise.
32964 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32966         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
32967         optimization when used with float constants.
32969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32971 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
32973         [BZ #16915]
32974         * locale/nl_langinfo_l.c: Make direct reference to every
32975         _nl_current_CATEGORY symbol.
32976         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
32977         (tests-static): Add tst-langinfo-static.
32978         (tests-special): Add tst-langinfo-static.out.
32979         ($(objpfx)tst-langinfo.out): Redirect output.
32980         ($(objpfx)tst-langinfo-static.out): New.
32981         * localedata/tst-langinfo.sh: Send output to stdout.
32982         * localedata/tst-langinfo-static.c: New file.
32984         [BZ #16965]
32985         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
32986         when the shift amount is modulo the limb size.
32988 2014-05-20  Richard Henderson  <rth@redhat.com>
32990         [BZ #16967]
32991         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
32992         Change type of sa_flags from unsigned int to int.
32994         [BZ #16966]
32995         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
32997         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
32999 2014-05-20  Will Newton  <will.newton@linaro.org>
33001         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33002         Test the return value of the system call in the nocancel case.
33004 2014-05-20  Will Newton  <will.newton@linaro.org>
33005             Yvan Roux  <yvan.roux@linaro.org>
33007         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
33008         #include of asm/ptrace.h.
33009         (PTRACE_GET_THREAD_AREA): Remove #undef.
33010         (PTRACE_GETHBPREGS): Likewise.
33011         (PTRACE_SETHBPREGS): Likewise.
33012         (struct user_regs_struct): New structure.
33013         (struct user_fpsimd_struct): New structure.
33014         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
33015         #include of asm/ptrace.h and second #include of sys/user.h.
33016         (PTRACE_GET_THREAD_AREA): Remove #undef.
33017         (PTRACE_GETHBPREGS): Likewise.
33018         (PTRACE_SETHBPREGS): Likewise.
33019         (ELF_NGREG): Use new struct user_regs_struct.
33020         (elf_fpregset_t): Use new struct user_fpsimd_struct.
33022 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33024         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
33025         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
33027 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
33029         [BZ #16958]
33030         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
33031         membar to avoid block loads/stores to overlap previous stores.
33033 2014-05-17  Richard Henderson  <rth@redhat.com>
33035         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
33036         Create the __##syscall_name##_nocancel entry point.
33037         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
33038         Remove; let the sysdep-cancel.h code create it.
33040 2014-05-17  David S. Miller  <davem@davemloft.net>
33042         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
33043         Protect with __USE_GNU.
33044         (TIOCSET_TEMPT): Likewise.
33045         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33046         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
33047         these are already provided in bits/ioctl-types.h
33049 2014-05-16  Roland McGrath  <roland@hack.frob.com>
33051         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
33052         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
33054         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
33055         Use wait4 regardless of [__NR_waitpid].
33057 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
33059         PR libgcc/60166
33060         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
33061         (_FP_NANSIGN_Q): Set the quiet bit.
33063 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
33065         * benchtests/Makefile
33066         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
33067         not $(common-objpfx)math/libm.so.
33068         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
33069         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
33070         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
33071         $(common-objpfx)dlfcn/libdl.so.
33072         ($(objpfx)tst-audit8): Depend on $(libm), not
33073         $(common-objpfx)math/libm.so.
33074         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
33075         not $(common-objpfx)dlfcn/libdl.so.
33076         * math/Makefile
33077         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33078         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
33079         [$(build-shared) = yes].
33080         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
33081         $(common-objpfx)nptl/libpthread.so.
33082         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
33083         $(common-objpfx)math/libm.so$(libm.so-version) or
33084         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
33085         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
33086         $(common-objpfx)dlfcn/libdl.so.
33087         * setjmp/Makefile (link-libm): Remove variable.
33088         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
33089         * stdio-common/Makefile (link-libm): Remove variable.
33090         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
33091         * stdlib/Makefile (link-libm): Remove variable.
33092         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
33093         ($(objpfx)tst-strtod-round): Likewise.
33094         ($(objpfx)tst-tininess): Likewise.
33095         ($(objpfx)tst-strtod-underflow): Likewise.
33096         ($(objpfx)tst-strtod6): Likewise.
33097         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
33098         $(libdl), not $(common-objpfx)nptl/libpthread.so and
33099         $(common-objpfx)dlfcn/libdl.so.
33101 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33103         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
33104         BSD terminal modes definitions.
33106 2014-05-16  Roland McGrath  <roland@hack.frob.com>
33108         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
33109         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
33111         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
33112         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
33113         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
33114         Don't do #include_next.
33115         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
33116         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
33117         Don't do #include_next.
33118         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
33119         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
33120         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
33121         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
33123 2014-05-16  Allan McRae  <allan@archlinux.org>
33125         * po/sv.po: Update Swedish translation from translation project.
33127         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
33128         in sed expression.
33130 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
33132         [BZ #16917]
33133         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
33134         errno if the TIOCGPTN ioctl fails with an error different than
33135         EINVAL.
33136         * login/tst-ptsname.c: New file.
33137         * login/Makefile (tests): Add tst-ptsname.
33139         [BZ #16943]
33140         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
33141         and prlimit64.
33143 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33145         [BZ #16849]
33146         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
33147         herrno to return EAI_AGAIN.
33149 2014-05-14  Roland McGrath  <roland@hack.frob.com>
33151         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
33152         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
33153         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
33154         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
33155         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
33156         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
33157         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
33158         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
33159         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
33160         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
33161         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
33162         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
33163         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
33164         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
33165         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
33166         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
33167         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
33168         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
33169         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
33170         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
33171         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
33172         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
33173         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
33174         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
33175         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
33176         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
33177         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
33178         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
33179         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
33180         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
33181         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
33182         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
33183         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
33184         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
33185         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33186         Moved ...
33187         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
33188         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
33189         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
33190         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
33191         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
33192         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
33193         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
33194         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
33195         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
33196         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
33197         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
33198         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
33199         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
33200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
33201         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
33202         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
33203         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
33204         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
33205         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
33206         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
33207         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
33208         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
33209         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
33210         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
33211         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
33212         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
33213         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
33214         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33215         Moved ...
33216         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
33217         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
33218         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
33219         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
33220         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
33221         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
33222         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
33223         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
33224         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
33225         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
33226         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
33227         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
33228         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
33229         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
33230         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
33231         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
33232         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
33233         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
33234         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
33235         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33236         Moved ...
33237         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
33238         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
33239         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
33241         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
33242         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
33243         (libpthread-sysdep_routines): Add elision-related stuff here instead.
33244         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
33245         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
33246         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
33247         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
33248         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
33249         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
33250         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
33251         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
33252         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
33253         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
33254         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
33255         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
33256         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
33257         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
33258         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
33259         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
33260         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
33261         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
33262         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
33263         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
33264         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
33265         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
33266         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
33267         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
33268         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
33269         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
33270         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
33271         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
33273         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
33274         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
33276         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
33277         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
33278         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
33279         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
33280         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
33281         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
33282         Moved ...
33283         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
33284         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
33285         Moved ...
33286         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
33287         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
33288         Moved ...
33289         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
33290         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
33291         Moved ...
33292         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
33293         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
33294         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
33295         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
33296         Moved ...
33297         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
33298         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
33299         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
33300         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
33301         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
33302         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
33303         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
33304         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
33305         Moved ...
33306         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
33307         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33308         Moved ...
33309         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33310         ... here.
33311         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
33312         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
33313         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
33314         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
33315         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33316         Moved ...
33317         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33318         ... here.
33319         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
33320         Moved ...
33321         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
33322         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
33323         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
33324         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
33325         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
33326         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
33327         Moved ...
33328         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
33329         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
33330         Moved ...
33331         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
33332         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
33333         Moved ...
33334         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
33335         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
33336         Moved ...
33337         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
33338         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
33339         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
33340         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
33341         Moved ...
33342         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
33343         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
33344         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
33345         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
33346         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
33347         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
33348         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
33349         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
33350         Moved ...
33351         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
33352         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33353         Moved ...
33354         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33355         ... here.
33356         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
33357         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
33358         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
33359         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
33360         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33361         Moved ...
33362         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33363         ... here.
33364         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
33365         Moved ...
33366         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
33367         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
33368         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
33369         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
33370         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
33371         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
33372         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
33373         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
33374         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
33375         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
33376         Moved ...
33377         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
33378         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
33379         Moved ...
33380         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
33381         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
33382         Moved ...
33383         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
33384         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
33385         Moved ...
33386         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
33387         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
33388         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
33389         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
33390         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
33391         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
33392         Moved ...
33393         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
33394         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
33395         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
33396         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
33397         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
33398         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
33399         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
33400         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
33401         Moved ...
33402         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
33403         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33404         Moved ...
33405         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33406         ... here.
33407         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
33408         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
33409         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
33410         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
33411         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33412         Moved ...
33413         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33414         ... here.
33415         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
33416         Moved ...
33417         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
33418         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
33419         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
33420         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
33421         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
33422         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
33423         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
33424         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
33425         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
33426         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
33427         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
33429         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
33430         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
33432         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
33433         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
33435         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
33436         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
33437         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
33438         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
33439         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
33440         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
33441         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
33442         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
33443         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
33444         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
33445         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
33446         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
33447         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
33448         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
33449         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
33450         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
33451         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
33452         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
33453         Moved ...
33454         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
33455         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
33456         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
33457         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
33458         Moved ...
33459         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
33460         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
33461         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
33462         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
33463         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
33464         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
33465         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
33466         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
33467         Moved ...
33468         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
33469         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
33470         Moved ...
33471         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
33472         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
33473         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
33474         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
33475         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
33476         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
33477         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
33478         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
33479         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
33480         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
33481         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
33482         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
33483         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
33484         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
33485         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
33486         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
33487         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
33489         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
33490         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
33491         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
33492         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
33493         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
33495         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
33496         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
33497         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
33498         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
33499         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
33500         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
33501         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
33502         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
33503         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
33504         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
33506         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
33507         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
33509         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
33510         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
33511         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
33512         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
33513         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
33514         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
33515         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
33516         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
33517         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
33518         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
33519         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
33520         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
33521         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
33522         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
33523         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
33524         Update #include.
33525         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
33526         Likewise.
33527         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33528         Likewise.
33529         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33530         Likewise.
33531         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33532         Likewise.
33533         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
33534         Likewise.
33535         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
33536         Likewise.
33537         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33538         Likewise.
33539         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
33540         Likewise.
33541         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
33542         Likewise.
33543         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
33544         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
33545         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
33546         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
33547         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
33548         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
33549         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
33550         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
33551         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
33552         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
33553         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
33554         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
33555         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
33556         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
33557         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
33559         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
33560         that was previously under [RESET_PID].
33561         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33562         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
33563         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
33565         * sysdeps/i386/nptl/Implies: New file.
33566         * sysdeps/x86_64/nptl/Implies: New file.
33567         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
33568         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
33569         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
33570         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
33572         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
33573         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33574         (__libc_vfork): New strong alias.
33575         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
33576         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
33578         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
33579         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33580         (__libc_vfork): New strong alias.
33581         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
33582         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
33584         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
33585         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33586         (__libc_vfork): New strong alias.
33587         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
33588         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
33589         * nptl/pt-vfork.c: New file.
33590         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
33591         (libpthread: GLIBC_2.20): New version set (empty).
33593 2014-05-14  Will Newton  <will.newton@linaro.org>
33595         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
33596         rather than #if.
33598 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33600         [BZ #16564]
33601         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
33602         arguments with exponent 65 or above.
33603         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
33604         arguments 0x1p113L or above.
33605         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
33606         to arguments 0x1p107L or above.
33607         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
33608         positive arguments with exponent 65 or above.
33609         * math/auto-libm-test-in: Add more tests of log1p.
33610         * math/auto-libm-test-out: Regenerated.
33612         [BZ #16928]
33613         * math/s_cacos.c (__cacos): Ensure zero real part of result from
33614         non-finite arguments is +0.
33615         * math/s_cacosf.c (__cacosf): Likewise.
33616         * math/s_cacosl.c (__cacosl): Likewise.
33617         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
33618         * sysdeps/i386/fpu/libm-test-ulps: Update.
33619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33621         [BZ #16927]
33622         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
33623         value.
33624         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
33625         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
33626         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
33627         for explicit high bit of mantissa when testing for argument equal
33628         to 1.
33629         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
33630         * sysdeps/i386/fpu/libm-test-ulps: Update.
33631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33633         [BZ #16516]
33634         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
33635         (__erf): Scale by 16 instead of 8 in potentially underflowing
33636         case.  Ensure exception if result actually underflows.
33637         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
33638         (__erff): Scale by 16 instead of 8 in potentially underflowing
33639         case.  Ensure exception if result actually underflows.
33640         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
33641         (efx8): Remove variable.
33642         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33643         case.  Ensure exception if result actually underflows.
33644         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
33645         (efx8): Remove variable.
33646         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33647         case.  Ensure exception if result actually underflows.
33648         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
33649         (efx8): Remove variable.
33650         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33651         case.  Ensure exception if result actually underflows.
33652         * math/auto-libm-test-in: Add more tests of erf.
33653         * math/auto-libm-test-out: Regenerated.
33655 2014-05-14  Andreas Schwab  <schwab@suse.de>
33657         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
33658         Remove code conditionalized on USE___THREAD.
33660         * config.h.in (HAVE_PT_CHOWN): Define as 0.
33661         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
33662         not definedness.
33664 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33666         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
33667         Define unconditionally.
33668         (__ASSUME_O_CLOEXEC): Likewise.
33669         (__ASSUME_SOCK_CLOEXEC): Likewise.
33670         (__ASSUME_IN_NONBLOCK): Likewise.
33671         (__ASSUME_PIPE2): Likewise.
33672         (__ASSUME_EVENTFD2): Likewise.
33673         (__ASSUME_SIGNALFD4): Likewise.
33674         (__ASSUME_DUP3): Likewise.
33675         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33676         (__ASSUME_DUP3): Do not define.
33677         (__ASSUME_EVENTFD2): Likewise.
33678         (__ASSUME_IN_NONBLOCK): Likewise.
33679         (__ASSUME_O_CLOEXEC): Likewise.
33680         (__ASSUME_PIPE2): Likewise.
33681         (__ASSUME_SIGNALFD4): Likewise.
33682         (__ASSUME_SOCK_CLOEXEC): Likewise.
33683         (__ASSUME_UTIMES): Undefine.
33684         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33685         (__ASSUME_UTIMES): Do not define.
33686         (__ASSUME_O_CLOEXEC): Likewise.
33687         (__ASSUME_SOCK_CLOEXEC): Likewise.
33688         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
33689         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
33690         0x020621].
33691         (__ASSUME_PIPE2): Likewise.
33692         (__ASSUME_EVENTFD2): Likewise.
33693         (__ASSUME_SIGNALFD4): Likewise.
33694         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
33695         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
33696         Do not define.
33697         (__ASSUME_EVENTFD2): Likewise.
33698         (__ASSUME_SIGNALFD4): Likewise.
33699         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33700         (__ASSUME_32BITUIDS): Likewise.
33701         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33702         (__ASSUME_IPC64): Likewise.
33703         (__ASSUME_ST_INO_64_BIT): Likewise.
33704         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
33705         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
33706         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33707         (__ASSUME_UTIMES): Do not define.
33708         (__ASSUME_PSELECT): Likewise.
33709         (__ASSUME_PPOLL): Likewise.
33710         (__ASSUME_O_CLOEXEC): Likewise.
33711         (__ASSUME_SOCK_CLOEXEC): Likewise.
33712         (__ASSUME_IN_NONBLOCK): Likewise.
33713         (__ASSUME_PIPE2): Likewise.
33714         (__ASSUME_EVENTFD2): Likewise.
33715         (__ASSUME_SIGNALFD4): Likewise.
33716         (__ASSUME_DUP3): Likewise.
33717         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33718         (__ASSUME_UTIMES): Likewise.
33719         (__ASSUME_O_CLOEXEC): Likewise.
33720         (__ASSUME_SOCK_CLOEXEC): Likewise.
33721         (__ASSUME_IN_NONBLOCK): Likewise.
33722         (__ASSUME_PIPE2): Likewise.
33723         (__ASSUME_EVENTFD2): Likewise.
33724         (__ASSUME_SIGNALFD4): Likewise.
33725         (__ASSUME_DUP3): Likewise.
33726         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33727         (__ASSUME_UTIMES): Likewise.
33728         (__ASSUME_O_CLOEXEC): Likewise.
33729         (__ASSUME_SOCK_CLOEXEC): Likewise.
33730         (__ASSUME_IN_NONBLOCK): Likewise.
33731         (__ASSUME_PIPE2): Likewise.
33732         (__ASSUME_EVENTFD2): Likewise.
33733         (__ASSUME_SIGNALFD4): Likewise.
33734         (__ASSUME_DUP3): Likewise.
33735         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
33736         Likewise.
33737         (__ASSUME_UTIMES): Likewise.
33738         (__ASSUME_EVENTFD2): Likewise.
33739         (__ASSUME_SIGNALFD4): Likewise.
33740         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33741         (__ASSUME_O_CLOEXEC): Likewise.
33742         (__ASSUME_SOCK_CLOEXEC): Likewise.
33743         (__ASSUME_IN_NONBLOCK): Likewise.
33744         (__ASSUME_PIPE2): Likewise.
33745         (__ASSUME_EVENTFD2): Likewise.
33746         (__ASSUME_SIGNALFD4): Likewise.
33747         (__ASSUME_DUP3): Likewise.
33748         (__ASSUME_UTIMES): Undefine.
33750         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
33751         feclearexcept.  Remove symbol versioning code.
33752         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
33753         symbol versioning code.
33754         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
33755         symbol versioning code.
33756         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
33757         feupdateenv.  Remove symbol versioning code.
33758         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
33759         fegetexceptflag.  Remove symbol versioning code.
33760         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
33761         fesetexceptflag.  Remove symbol versioning code.
33762         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
33763         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
33764         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
33765         (__posix_fadvise64_l32): Remove prototype.
33766         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
33767         code.
33769 2014-05-13  Roland McGrath  <roland@hack.frob.com>
33771         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
33772         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
33773         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
33774         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
33776 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
33778         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
33779         current working directory
33781 2014-05-13  Roland McGrath  <roland@hack.frob.com>
33783         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
33784         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
33785         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
33786         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
33787         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
33788         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
33789         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
33790         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
33791         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
33792         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
33793         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
33794         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
33795         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
33796         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
33797         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
33798         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
33799         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
33800         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
33801         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
33802         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
33803         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
33804         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
33805         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
33806         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
33807         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
33808         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
33809         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
33810         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
33811         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
33812         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
33813         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
33814         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
33815         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
33816         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
33817         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
33818         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
33819         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
33820         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
33821         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
33822         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
33823         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
33824         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
33826         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
33827         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
33829         * sysdeps/unix/sysv/linux/arm/Makefile
33830         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
33831         Add rt-aeabi_unwind_cpp_pr1.
33832         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
33833         Add nptl-aeabi_unwind_cpp_pr1.
33834         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
33835         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
33836         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
33837         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
33838         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
33839         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
33841         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
33842         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
33843         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
33844         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
33846         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
33847         Deconditionalize the code that was previously under [RESET_PID].
33848         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
33850         * sysdeps/generic/exit-thread.h: New file.
33851         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
33852         * include/unistd.h (__exit_thread): Remove declaration.
33853         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
33854         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
33855         * csu/libc-start.c: Include <exit-thread.h>.
33856         (LIBC_START_MAIN): Pass no argument to __exit_thread.
33857         * nptl/pthread_create.c: Include <exit-thread.h>.
33858         (start_thread): Call __exit_thread in place of __exit_thread_inline.
33859         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
33860         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
33861         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
33862         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
33863         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
33864         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
33865         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
33866         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
33867         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
33868         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
33869         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
33870         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
33871         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
33872         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
33873         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
33874         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
33876 2014-05-13  Andreas Schwab  <schwab@suse.de>
33878         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
33880 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
33882         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
33883         (__ASSUME_UTIMES): Do not condition on kernel version.
33884         (__ASSUME_PSELECT): Define unconditionally.
33885         (__ASSUME_PPOLL): Likewise.
33886         (__ASSUME_ATFCTS): Likewise.
33887         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
33888         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
33889         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
33890         (__ASSUME_UTIMENSAT): Define unconditionally.
33891         (__ASSUME_PRIVATE_FUTEX): Likewise.
33892         (__ASSUME_FALLOCATE): Likewise.
33893         (__ASSUME_O_CLOEXEC): Likewise.
33894         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
33895         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
33896         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
33897         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
33898         (__ASSUME_IN_NONBLOCK): Likewise.
33899         (__ASSUME_PIPE2): Likewise.
33900         (__ASSUME_EVENTFD2): Likewise.
33901         (__ASSUME_SIGNALFD4): Likewise.
33902         (__ASSUME_DUP3): Likewise.
33903         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33904         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
33905         (__ASSUME_AT_RANDOM): Likewise.
33906         (__ASSUME_PREADV): Likewise.
33907         (__ASSUME_PWRITEV): Likewise.
33908         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
33909         (__ASSUME_F_GETOWN_EX): Define unconditionally.
33910         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
33911         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33912         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
33913         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33914         (__ASSUME_O_CLOEXEC): Define unconditionally.
33915         (__ASSUME_PSELECT): Do not undefine conditionally.
33916         (__ASSUME_PPOLL): Likewise.
33917         (__ASSUME_ATFCTS): Likewise.
33918         (__ASSUME_SET_ROBUST_LIST): Likewise.
33919         (__ASSUME_UTIMENSAT): Likewise.
33920         (__ASSUME_FDATASYNC): Define unconditionally.
33921         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33922         (__ASSUME_SIGFRAME_V2): Likewise.
33923         )__ASSUME_EVENTFD2): Likewise.
33924         (__ASSUME_SIGNALFD4): Likewise.
33925         (__ASSUME_PSELECT): Do not undefine conditionally.
33926         (__ASSUME_PPOLL): Likewise.
33927         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33928         (__ASSUME_PSELECT): Define unconditionally.
33929         (__ASSUME_PPOLL): Likewise.
33930         (__ASSUME_O_CLOEXEC): Likewise.
33931         (__ASSUME_SOCK_CLOEXEC): Likewise.
33932         (__ASSUME_IN_NONBLOCK): Likewise.
33933         (__ASSUME_PIPE2): Likewise.
33934         (__ASSUME_EVENTFD2): Likewise.
33935         (__ASSUME_SIGNALFD4): Likewise.
33936         (__ASSUME_DUP3): Likewise.
33937         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33938         (__ASSUME_O_CLOEXEC): Likewise.
33939         (__ASSUME_SOCK_CLOEXEC): Likewise.
33940         (__ASSUME_IN_NONBLOCK): Likewise.
33941         (__ASSUME_PIPE2): Likewise.
33942         (__ASSUME_EVENTFD2): Likewise.
33943         (__ASSUME_SIGNALFD4): Likewise.
33944         (__ASSUME_DUP3): Likewise.
33945         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33946         (__ASSUME_EVENTFD2): Likewise.
33947         (__ASSUME_SIGNALFD4): Likewise.
33948         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33950 2014-05-12  Andreas Schwab  <schwab@suse.de>
33952         [BZ #16932]
33953         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
33954         (_nss_nis_gethostbyname4_r): Return error if item length is larger
33955         than maximum RPC packet size.
33956         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
33957         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
33958         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
33959         (_nss_nis_getservbyport_r): Likewise.
33961 2014-05-12  Will Newton  <will.newton@linaro.org>
33963         * malloc/Makefile (tests): Add tst-mallopt.
33964         * malloc/tst-mallopt.c: New file.
33966 2014-05-09  Roland McGrath  <roland@hack.frob.com>
33968         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
33969         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
33971 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33973         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
33974         (tst-tlsmod6.so): Likewise.
33976 2014-05-09  Roland McGrath  <roland@hack.frob.com>
33978         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
33980 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
33982         [BZ #16064]
33983         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
33984         and <dl-procinfo.h>.
33985         (__fegetenv): Save SSE state in envp->__eip if supported.
33986         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
33987         envp->__eip if supported.
33988         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
33989         and <dl-procinfo.h>.
33990         (__fesetenv): Always set __eip, __cs_selector, __opcode,
33991         __data_offset and __data_selector in environment to 0.  Set SSE
33992         state if supported.
33993         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
33994         test-fenv-sse.
33995         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
33996         -mfpmath=sse.
33997         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
33999 2014-05-09  Will Newton  <will.newton@linaro.org>
34001         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
34002         and libc_relro_required for ARM.
34003         * sysdeps/arm/preconfigure: Regenerate.
34005 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
34006             Stefan Liebler  <stli@linux.vnet.ibm.com>
34008         * config.make.in (enable-lock-elision): New Makefile variable.
34009         * configure.ac: Likewise.
34010         * configure: Regenerate.
34011         * sysdeps/s390/configure.ac:
34012         Add check for gcc transactions support.
34013         * sysdeps/s390/configure: Regenerate.
34014         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
34015         Build elision files if enabled.
34016         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
34017         Add lock elision support for s390.
34018         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
34019         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
34020         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
34021         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
34022         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
34023         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
34024         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
34025         Likewise.
34026         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
34027         Likewise.
34028         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
34029         Likewise.
34030         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
34031         Likewise.
34032         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
34033         (__lll_timedlock_elision, __lll_lock_elision)
34034         (__lll_unlock_elision, __lll_trylock_elision)
34035         (lll_timedlock_elision, lll_lock_elision)
34036         (lll_unlock_elision, lll_trylock_elision): Add.
34037         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34038         (pthread_mutex_t): Add lock elision support for s390.
34040 2014-05-14  Wilco  <wdijkstr@arm.com>
34042         * sysdeps/arm/fclrexcpt.c: Cleanup.
34043         * sysdeps/arm/fedisblxcpt.c: Cleanup.
34044         * sysdeps/arm/feenablxcpt.c: Cleanup.
34045         * sysdeps/arm/fegetenv.c: Cleanup.
34046         * sysdeps/arm/fegetexcept.c: Cleanup.
34047         * sysdeps/arm/fegetround.c: Cleanup.
34048         * sysdeps/arm/feholdexcpt.c: Cleanup.
34049         * sysdeps/arm/fesetenv.c: Cleanup.
34050         * sysdeps/arm/fesetround.c: Cleanup.
34051         * sysdeps/arm/feupdateenv.c: Cleanup.
34052         * sysdeps/arm/fgetexcptflg.c: Cleanup.
34053         * sysdeps/arm/fraiseexcpt.c: Cleanup.
34054         * sysdeps/arm/fsetexcptflg.c: Cleanup.
34055         * sysdeps/arm/ftestexcept.c: Cleanup.
34056         * sysdeps/arm/get-rounding-mode.h: Cleanup.
34057         * sysdeps/arm/setfpucw.c: Cleanup.
34059 2014-05-09  Will Newton  <will.newton@linaro.org>
34061         * sysdeps/arm/armv7/strcmp.S: New file.
34062         * NEWS: Mention addition of ARMv7 optimized strcmp.
34064 2014-05-08  Roland McGrath  <roland@hack.frob.com>
34066         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
34067         look for %.ac rather than %.in.
34069         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
34070         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
34071         * sysdeps/mach/hurd/configure: Regenerated.
34072         * sysdeps/unix/sysv/linux/configure: Regenerated.
34074         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
34076 2014-05-07  Steve Ellcey  <sellcey@mips.com>
34078         [BZ# 16922]
34079         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
34080         (LONG_SUB): Ditto.
34081         (PTR_SUB): Ditto.
34083 2014-05-07  Andreas Schwab  <schwab@suse.de>
34085         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
34086         when skipping over non-matching result from nscd.
34088 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
34090         [BZ #16876]
34091         * nptl/sockperf.c (client): Check socket return value.
34093         [BZ #16877]
34094         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
34095         nscd security class.
34097 2014-05-06  Roland McGrath  <roland@hack.frob.com>
34099         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
34100         * sysdeps/arm/unwind.h: ... here.
34102 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
34104         [BZ# 16916]
34105         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
34106         Define.
34108 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34110         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
34111         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
34112         multiarch strncpy for PPC64.
34113         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
34114         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
34115         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
34116         multiarch optimizations.
34117         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34118         (__libc_ifunc_impl_list): Likewise.
34119         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
34120         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
34121         multiarch stpncpy for PPC64.
34122         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
34123         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
34125 2014-05-06  Andreas Schwab  <schwab@suse.de>
34127         [BZ #16912]
34128         * gmon/mcount.c (_MCOUNT_DECL): Use
34129         atomic_compare_and_exchange_bool_acq instead of
34130         catomic_compare_and_exchange_bool_acq.
34132 2014-05-05  Roland McGrath  <roland@hack.frob.com>
34134         * elf/Makefile (others, install-bin): Remove pldd.
34135         (pldd-modules): Variable removed.
34136         ($(objpfx)pldd): Target removed.
34137         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
34138         (others, install-bin): Append pldd here.
34139         ($(objpfx)pldd): New target.
34141         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
34142         to 0, so the first #if test emitted later doesn't see it undefined.
34143         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
34144         * sysdeps/gnu/errlist.c: Regenerated.
34146 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34148         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
34149         [libc_hidden_builtin_def]: Define to empty value.
34150         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
34151         [libc_hidden_builtin_def]: Likewise.
34152         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
34153         [libc_hidden_builtin_def]: Likewise.
34154         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
34155         [libc_hidden_builtin_def]: Likewise.
34156         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
34157         __redirect_memcpy and define ifunc as default hidden symbol.
34158         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
34159         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
34161 2014-05-04  Adam Conrad  <adconrad@0c3.net>
34163         * locale/iso-4217.def: Reintroduce XDR currency.
34165 2014-05-04  Allan McRae  <allan@archlinux.org>
34167         * po/eo.po: Update Esperanto translation from translation project.
34169 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
34171         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
34172         and FEATURE_INDEX_MAX to 1.
34173         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
34175 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34177         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
34178         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
34179         * iconvdata/big5.c (ONE_DIRECTION): Define.
34180         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
34181         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
34182         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
34183         * iconvdata/cp932.c (ONE_DIRECTION): Define.
34184         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
34185         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
34186         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
34187         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
34188         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
34189         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
34190         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
34191         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
34192         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
34193         * iconvdata/gbk.c (ONE_DIRECTION): Define.
34194         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
34195         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
34196         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
34197         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
34198         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
34199         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
34200         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
34201         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
34202         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
34203         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
34204         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
34205         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
34206         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
34207         * iconvdata/iso646.c (ONE_DIRECTION): Define.
34208         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
34209         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
34210         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
34211         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
34212         * iconvdata/johab.c (ONE_DIRECTION): Define.
34213         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
34214         * iconvdata/sjis.c (ONE_DIRECTION): Define.
34215         * iconvdata/t.61.c (ONE_DIRECTION): Define.
34216         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
34217         * iconvdata/tscii.c (ONE_DIRECTION): Define.
34218         * iconvdata/uhc.c (ONE_DIRECTION): Define.
34219         * iconvdata/unicode.c (ONE_DIRECTION): Define.
34220         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
34221         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
34222         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
34224 2014-05-01  Roland McGrath  <roland@hack.frob.com>
34226         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
34227         (_IO_JUMPS_OFFSET): Define to 0.
34229         * nptl/sysdeps/pthread/bits/libc-lock.h
34230         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34231         (__libc_lock_define_initialized_recursive): Always define using
34232         initializer.  Modern compilers treat uninitialized (implicit zero) and
34233         explicit zero initializers the same (i.e. put the datum in bss).
34235 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34237         * nscd/nscd-client.h: Include <string.h>.
34239 2014-05-01  David S. Miller  <davem@davemloft.net>
34241         [BZ #16885]
34242         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
34243         multiple zero bytes exist at the end of a string.
34244         Reported by Aurelien Jarno <aurelien@aurel32.net>
34246         * string/test-strcmp.c (check): Add explicit test for situations where
34247         there are multiple zero bytes after the first.
34249 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34251         [BZ #16890]
34252         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
34253         when compiling wprintf.
34254         * stdio-common/tstdiomisc.c (t3): New function.
34255         (main): Call it.
34257 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34259         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
34260         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
34261         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
34262         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
34264 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34266         * stdlib/longlong.h: Updated from GCC.
34268 2014-05-01  Will Newton  <will.newton@linaro.org>
34269             Bernard Ogden  <bernie.ogden@linaro.org>
34271         * NEWS: Update fixed bug list.
34273         [BZ #15119]
34274         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
34276 2014-04-30  David S. Miller  <davem@davemloft.net>
34278         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
34279         (libc_feholdexcept_setround_sparc_ctx): New function.
34280         (libc_fesetenv_sparc_ctx): Likewise.
34281         (libc_feupdateenv_sparc_ctx): Likewise.
34282         (libc_feholdsetround_sparc_ctx): Likewise.
34283         (libc_feholdexcept_setround_ctx): Define.
34284         (libc_feholdexcept_setroundf_ctx): Likewise.
34285         (libc_feholdexcept_setroundl_ctx): Likewise.
34286         (libc_fesetenv_ctx): Likewise.
34287         (libc_fesetenvf_ctx): Likewise.
34288         (libc_fesetenvl_ctx): Likewise.
34289         (libc_feupdateenv_ctx): Likewise.
34290         (libc_feupdateenvf_ctx): Likewise.
34291         (libc_feupdateenvl_ctx): Likewise.
34292         (libc_feresetround_ctx): Likewise.
34293         (libc_feresetroundf_ctx): Likewise.
34294         (libc_feresetroundl_ctx): Likewise.
34295         (libc_feholdsetround_ctx): Likewise.
34296         (libc_feholdsetroundf_ctx): Likewise.
34297         (libc_feholdsetroundl_ctx): Likewise.
34299         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34300         with __USE_GNU instead of XOPEN cpp guards.
34302         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
34303         0.
34305         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34306         with XOPEN cpp guards.
34308 2014-04-30  Julian Brown  <julian@codesourcery.com>
34310         [BZ #16888]
34311         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
34312         handling.
34314 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
34316         [BZ #9894]
34317         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
34318         Change to 2.6.32.
34319         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
34320         * sysdeps/unix/sysv/linux/configure: Regenerated.
34321         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
34322         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
34323         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
34324         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
34325         * README: Update reference to required Linux kernel version.
34326         * manual/install.texi (Linux): Update reference to required Linux
34327         kernel headers version.
34328         * INSTALL: Regenerated.
34330         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
34331         header inclusion.
34332         [POSIX] (limits.h): Likewise.
34333         [POSIX] (math.h): Likewise.
34334         [POSIX] (sys/wait.h): Likewise.
34335         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
34336         function.
34337         [POSIX] (stddef.h): Do not allow header inclusion.
34339 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34341         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
34343 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
34345         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
34346         Return immediately after lll_futex_wake.
34348 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34350         [BZ #16791]
34351         * nscd/nscd-client.h (datahead_init_common): Initialize entire
34352         structure.
34353         (datahead_init_pos): Call datahead_init_common early.
34354         (datahead_init_neg): Likewise.
34356         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
34357         datahead_init_neg): New functions.
34358         * nscd/aicache.c (addhstaiX): Use them.
34359         * nscd/grpcache.c (cache_addgr): Likewise.
34360         * nscd/hstcache.c (cache_addhst): Likewise.
34361         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34362         * nscd/netgroupcache.c (do_notfound): Likewise.
34363         (addgetnetgrentX): Likewise.
34364         (addinnetgrX): Likewise.
34365         * nscd/pwdcache.c (cache_addpw): Likewise.
34366         * nscd/servicescache.c (cache_addserv): Likewise.
34368 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34369             Atsushi Onoe  <atsushi@onoe.org>
34371         [BZ #14308]
34372         [BZ #12994]
34373         [BZ #13651]
34374         * resolv/res_query.c (__libc_res_nsearch): Return if at least
34375         one response is valid.
34376         * resolv/res_send.c (send_dg): Check for validity of other
34377         response if the current response is a referral.
34379 2014-04-29  Steve Ellcey  <sellcey@mips.com>
34381         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
34383 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
34385         [BZ #16823]
34386         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
34387         Always divide by positive zero when computing -Inf result.
34388         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34389         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
34391 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34393         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
34394         FPSCR if value do not change.
34395         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34396         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
34397         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34398         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
34399         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
34400         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
34401         function.
34403 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
34405         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
34406         * sysdeps/unix/sysv/linux/hppa: Move directory from
34407         ports/systeps/unix/sysv/linux/hppa.
34408         * README: Update listing for hppa-*-linux-gnu.
34410 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
34412         [BZ #16754]
34413         * manual/stdio.texi (Hook functions): Fix types of stream hook
34414         functions.
34415         [BZ #16854]
34416         * socket/sys/socket.h: Fix typo in comment.
34418 2014-04-28  Wilco  <wdijkstr@arm.com>
34420         * sysdeps/arm/fenv_private.h: New file.
34421         * sysdeps/arm/math_private.h: New file.
34422         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
34424 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
34426         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
34427         with __int128_t.
34428         (La_x86_64_retval): Likewise.
34430 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
34432         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
34433         fpsr if value didn't change.
34434         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
34435         to fpcr if value didn't change.
34436         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
34437         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
34438         fpsr or fpcr if value didn't change.
34439         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
34440         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
34441         fpcr if value didn't change.
34442         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
34443         to fpsr if value didn't change.
34445 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34447         * nptl/tst-sem3.c: Use test-skeleton.c
34448         (main): Rename to do_test.  Use return instead of
34449         exit.
34450         * nptl/tst-sem4.c: Use test-skeleton.c
34451         (main): Rename to do_test.
34453 2014-04-22  David S. Miller  <davem@davemloft.net>
34455         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34456         (struct sigaction): New struct member __glibc_reserved0, change
34457         type of sa_flags to int.
34459 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
34461         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
34462         (COUNT_LEADING_ZEROS_0): Define for AArch64.
34464 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34466         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
34467         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
34469 2014-04-22  Will Newton  <will.newton@linaro.org>
34470             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
34472         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
34473         (__longjmp): Add longjmp and longjmp_target SystemTap
34474         probes.
34475         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
34476         (__sigsetjmp): Add setjmp SystemTap probe.
34478 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
34480         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
34481         match manual order.
34483 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34485         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
34487         * sysdeps/powerpc/fpu/fenv_private.h
34488         (libc_feholdexcept_setroundl_ctx): Define to
34489         libc_feholdexcept_setround_ppc_ctx.
34490         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
34491         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
34492         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
34493         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
34495 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
34497         * sysdeps/aarch64/math-tests.h: New file.
34499 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
34501         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
34502         New.
34503         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34504         Check and set bit_AVX2_Usable.
34505         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
34506         macro.
34507         (bit_AVX2): Likewise.
34508         (index_AVX2_Usable): Likewise.
34509         (CPUID_AVX2): Likewise.
34510         (HAS_AVX2): Likewise.
34512 2014-04-17  Will Newton  <will.newton@linaro.org>
34514         * manual/setjmp.texi (System V contexts): Add note that
34515         calling setcontext on a context created by a call to a
34516         signal handler is undefined.  Update text to note that
34517         setcontext from a signal handler is possible but not
34518         recommended.
34520         [BZ #16629]
34521         * stdlib/tst-setcontext.c: Include signal.h.
34522         (main): Check that the signal stack before and
34523         after swapcontext is the same.
34525         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
34526         Re-implement to restore registers in user code and avoid
34527         rt_sigreturn system call.
34529 2014-04-17  Wilco  <wdijkstr@arm.com>
34531         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
34532         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
34533         * math/test-fenv.c: Skip exception trap tests on targets which only
34534         support non-stop mode.
34536 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
34537             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34539         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
34540         (libc_feholdsetround_aarch64_ctx)
34541         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
34542         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
34543         (libc_feresetround_ctx, libc_feresetroundf_ctx)
34544         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
34545         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
34546         (libc_feresetround_noexl_ctx): Define.
34548 2014-04-16  Richard Henderson  <rth@redhat.com>
34550         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
34552         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
34553         unwind tables.
34555         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
34556         const from the non-libc, non-ldso copy.
34558         * sysdeps/alpha/libm-test-ulps: Regenerate.
34560 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
34561             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34563         * sysdeps/aarch64/fpu/math_private.h: New file.
34565 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34567         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34569 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
34571         [BZ #16275]
34572         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
34573         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
34574         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
34575         Intel MPX bound registers before _dl_profile_fixup.
34576         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
34577         registers after _dl_profile_fixup.  Save and restore bound
34578         registers bnd0/bnd1 when calling _dl_call_pltexit.
34579         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
34580         (LR_BND_OFFSET): Likewise.
34581         (LRV_BND0_OFFSET): Likewise.
34582         (LRV_BND1_OFFSET): Likewise.
34584 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34586         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
34587         to...
34588         * sysdeps/mach/hurd/i386/tls.h: ... here.
34589         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
34590         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
34591         fields.
34593 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34595         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
34597 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34599         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34601 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34603         [BZ #14770]
34604         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
34605         * sysdeps/s390/configure: Regenerate.
34607         [BZ #16824]
34608         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
34609         Set round-to-nearest internally to reduce error accumulation.
34611 2014-04-16  Alan Modra  <amodra@gmail.com>
34613         [BZ #16740]
34614         [BZ #16619]
34615         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
34616         * math/libm-test.inc (frexp_test_data): Add tests.
34617         * NEWS: Update fixed bug list.
34619 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34621         * benchtests/Makefile: Depend on libraries in build directory.
34622         (bench-math): Separate out math tests.
34623         (bench-pthread): Separate out pthread tests.
34624         (bench): Include math and pthread tests.
34626 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
34628         [BZ #16831]
34629         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
34630         _dl_debug_initialize.
34632         * configure.ac: Remove SELinux header check.
34633         * configure: Regenerate.
34634         * nscd/selinux.c (perms): Array of const char* to permission names.
34635         (nscd_request_avc_has_perm): Call security_deny_unknown to find
34636         default policy. Call string_to_security_class and string_to_av_perm to
34637         translate strings. Enforce default policy and call avs_has_perm with
34638         results of translated strings.
34640 2014-04-13  David S. Miller  <davem@davemloft.net>
34642         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34644 2014-04-12  Allan McRae  <allan@archlinux.org>
34646         [BZ #16838]
34647         * manual/string.texi (Collation Functions): Fix qsort argument
34648         order in example.
34649         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34651 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
34653         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
34654         Make the test a no-op if there are no exceptions defined.
34656 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
34658         * elf/Makefile (tests): make tst-dlopen-aout conditional on
34659         enable-hardcoded-path-in-tests
34661 2014-04-11  Will Newton  <will.newton@linaro.org>
34663         * benchtests/Makefile (extra-objs): Add json-lib.o.
34664         (bench-func): Tidy up JSON output.
34665         * benchtests/bench-skeleton.c: Include json-lib.h.
34666         (main): Use JSON library functions to do output of
34667         benchmark results.
34668         * benchtests/bench-timing-type.c (main): Output the
34669         timing type simply, leaving formatting to the user.
34670         * benchtests/json-lib.c: New file.
34671         * benchtests/json-lib.h: Likewise.
34673 2014-04-11  Torvald Riegel  <triegel@redhat.com>
34675         [BZ #15215]
34676         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
34677         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
34678         memory barriers.  Add comments.
34679         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
34680         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
34681         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
34682         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
34683         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
34684         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
34686 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34688         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
34689         * sysdeps/s390/s390-64/configure.ac: ... this ...
34690         * sysdeps/s390/configure.ac: ... to here.
34691         * sysdeps/s390/s390-32/configure: Delete file.
34692         * sysdeps/s390/s390-64/configure: Delete file.
34693         * sysdeps/s390/configure: Regenerate.
34695 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
34697         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
34699 2014-04-11  Will Newton  <will.newton@linaro.org>
34701         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
34702         to zero if it is not defined elsewhere.  (mtrim): Test
34703         the value of MALLOC_DEBUG with #if rather than #ifdef.
34705 2014-04-10 Torvald Riegel  <triegel@redhat.com>
34707         * benchtests/pthread_once-inputs: New file.
34708         * benchtests/pthread_once-source.c: New file.
34709         * benchtests/README: Update documentation.
34711 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
34712             H.J. Lu  <hongjiu.lu@intel.com>
34714         [BZ #16275]
34715         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
34716         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
34717         * sysdeps/x86_64/configure: Regenerated.
34718         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
34719         macro.
34720         (REGISTER_SAVE_RAX): Likewise.
34721         (REGISTER_SAVE_RCX): Likewise.
34722         (REGISTER_SAVE_RDX): Likewise.
34723         (REGISTER_SAVE_RSI): Likewise.
34724         (REGISTER_SAVE_RDI): Likewise.
34725         (REGISTER_SAVE_R8): Likewise.
34726         (REGISTER_SAVE_R9): Likewise.
34727         (REGISTER_SAVE_BND0): Likewise.
34728         (REGISTER_SAVE_BND1): Likewise.
34729         (REGISTER_SAVE_BND2): Likewise.
34730         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
34731         bound registers when calling _dl_fixup.
34733 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34735         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
34736         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
34737         of its definition.
34738         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
34739         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
34740         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
34741         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
34742         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
34743         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
34744         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
34746 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
34748         [BZ #15514]
34749         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
34750         pathconf(_PC_NAME_MAX).
34752 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34754         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
34755         Remove macro usage.
34756         (__PTHREAD_SPINS): Move definition to ...
34757         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34758         (__PTHREAD_SPINS): ... here.
34759         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34760         (__PTHREAD_SPIN): Likewise.
34761         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
34762         (__PTHREAD_SPIN): Likewise.
34763         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
34764         (__PTHREAD_SPIN): Likewise.
34765         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
34766         (__PTHREAD_SPIN): Likewise.
34767         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34768         (__PTHREAD_SPIN): Likewise.
34769         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34770         (__PTHREAD_SPIN): Likewise.
34771         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
34772         (__PTHREAD_SPIN): Likewise.
34773         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34774         (__PTHREAD_SPIN): Likewise.
34775         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34776         (__PTHREAD_SPIN): Likewise.
34777         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34778         (__PTHREAD_SPIN): Likewise.
34779         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34780         (__PTHREAD_SPIN): Likewise.
34781         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
34782         (__PTHREAD_SPIN): Likewise.
34784         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
34785         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
34786         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
34787         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
34788         imply folder.
34789         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
34790         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
34791         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
34792         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
34793         correct imply path.
34794         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
34795         strlen symbol for non multi-arch builds.
34796         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
34797         missing hidden_def and weak_alias.
34799 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
34801         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
34803 2014-04-07  Will Newton  <will.newton@linaro.org>
34805         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
34806         and contents.  [!_LIBC] Remove #ifndef and contents.
34807         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
34808         * string/memccpy.c (__memccpy): Use ANSI prototype.
34809         * string/memfrob.c (memfrob): Likewise.
34810         * string/strcoll.c (STRCOLL): Likewise.
34811         * string/strlen.c (strlen): Likewise.
34812         * string/strtok.c (STRTOK): Likewise.
34813         * string/strcat.c: Remove unused #include of memcopy.h.
34814         (strcat): Use ANSI prototype.
34815         * string/strchr.c: Remove unused #include of memcopy.h.
34816         (strchr): Use ANSI prototype.
34817         * string/strcmp.c: Remove unused #include of memcopy.h.
34818         (strcmp): Use ANSI prototype.
34819         * string/strcpy.c: Remove unused #include of memcopy.h.
34820         (strcpy): Use ANSI prototype.
34822 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34824         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
34825         * config.make.in (config-extra-cppflags): Set it from
34826         libc_extra_cppflags.
34827         * configure.ac (libc_extra_cflags): Make it accumulate over
34828         configure fragments.
34829         (libc_extra_cppflags): New flag.
34830         * configure. Regenerate.
34831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
34832         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
34833         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
34834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
34836         [BZ #16815]
34837         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
34838         result for FE_DOWNWARD rounding mode.
34839         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
34840         Likewise.
34841         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34843 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
34845         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
34846         in function argument name.
34848 2014-04-03  David Svoboda  <svoboda@cert.org>
34850         [BZ #5666]
34851         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
34852         explicitly.
34854 2014-04-03  Roland McGrath  <roland@hack.frob.com>
34856         * elf/dl-unmap-segments.h: New file.
34857         * sysdeps/generic/ldsodefs.h
34858         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
34859         * elf/dl-close.c: Include <dl-unmap-segments.h>.
34860         * elf/dl-fptr.c: Likewise.
34861         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
34862         * sysdeps/aarch64/tlsdesc.c: Likewise.
34863         * sysdeps/arm/tlsdesc.c: Likewise.
34864         * sysdeps/i386/tlsdesc.c: Likewise.
34865         * sysdeps/tile/dl-runtime.c: Likewise.
34866         * sysdeps/x86_64/tlsdesc.c: Likewise.
34867         * elf/dl-load.h: New file.
34868         * elf/dl-load.c: Include it.
34869         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
34870         Macros moved to dl-load.h.
34871         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
34872         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
34873         Use _dl_unmap_segments in place of __munmap.
34874         Break out segment-mapping loop into ...
34875         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
34877 2014-04-03  Will Newton  <will.newton@linaro.org>
34879         * elf/dl-lookup.c (do_lookup_x): Remove comment
34880         referring to nested function and move variable
34881         declarations down to before first use.
34883 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
34885         [BZ #16799]
34886         [BZ #16800]
34887         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
34888         with 0 numerator.
34889         * math/s_catanf.c (__catanf): Likewise.
34890         * math/s_catanh.c (__catanh): Likewise.
34891         * math/s_catanhf.c (__catanhf): Likewise.
34892         * math/s_catanhl.c (__catanhl): Likewise.
34893         * math/s_catanl.c (__catanl): Likewise.
34894         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
34895         by positive zero when computing -Inf result.
34896         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
34897         (catanh_test): Likewise.
34898         * sysdeps/i386/fpu/libm-test-ulps: Update.
34899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34901         [BZ #16789]
34902         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
34903         instead of using underflowing value in computing result.
34904         * math/s_clog10.c (__clog10): Likewise.
34905         * math/s_clog10f.c (__clog10f): Likewise.
34906         * math/s_clog10l.c (__clog10l): Likewise.
34907         * math/s_clogf.c (__clogf): Likewise.
34908         * math/s_clogl.c (__clogl): Likewise.
34909         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
34910         (clog10_test): Likewise.
34911         * sysdeps/i386/fpu/libm-test-ulps: Update.
34912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34914 2014-04-02  Alan Modra  <amodra@gmail.com>
34916         [BZ #16739]
34917         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
34918         output when value is near a power of two.  Use int64_t for lx and
34919         remove casts.  Use decimal rather than hex exponent constants.
34920         Don't use long double multiplication when double will suffice.
34921         * math/libm-test.inc (nextafter_test_data): Add tests.
34922         * NEWS: Add 16739 and 16786 to bug list.
34924         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
34926         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
34928 2014-04-01  Will Newton  <will.newton@linaro.org>
34930         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
34931         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
34933 2014-04-01  Florian Weimer  <fweimer@redhat.com>
34935         [BZ #13347]
34936         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
34937         * nptl/tst-setuid2.c: New file.
34938         * nptl/Makefile (xtests): Add tst-setuid2.
34940 2014-04-01  Alan Modra  <amodra@gmail.com>
34942         [BZ #16786]
34943         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
34945 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
34947         [BZ #6803]
34948         [BZ #6804]
34949         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
34950         set errno as appropriate.
34951         * math/w_scalbf.c (__scalbf): Likewise.
34952         * math/w_scalbl.c (__scalbl): Likewise.
34953         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
34954         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
34955         * math/libm-test.inc (scalb_test_data): Add errno expectations.
34956         Add more NaN tests.
34958         [BZ #16349]
34959         * math/w_atan2.c: Include <errno.h>.
34960         (__atan2): Set errno for result underflowing to zero.
34961         * math/w_atan2f.c: Include <errno.h>.
34962         (__atan2f): Set errno for result underflowing to zero.
34963         * math/w_atan2l.c: Include <errno.h>.
34964         (__atan2l): Set errno for result underflowing to zero.
34965         * math/auto-libm-test-in: Don't allow missing errno for some atan2
34966         tests.
34967         * math/auto-libm-test-out: Regenerated.
34969 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34971         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
34972         Encode instruction correctly in little endian.
34973         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
34974         Likewise.
34975         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
34976         Likewise.
34977         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
34978         Likewise.
34979         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
34980         Likewise.
34982 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
34984         [BZ #9894]
34985         * sysdeps/unix/sysv/linux/kernel-features.h
34986         [__sparc__ && !__arch64__ && !__sparc_v9__]
34987         (__ASSUME_SET_ROBUST_LIST): Do not define.
34988         [__sparc__ && !__arch64__ && !__sparc_v9__]
34989         (__ASSUME_FUTEX_LOCK_PI): Likewise.
34990         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
34991         Likewise.
34992         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34993         (__ASSUME_FUTEX_LOCK_PI): Undefine.
34994         (__ASSUME_REQUEUE_PI): Likewise.
34995         (__ASSUME_SET_ROBUST_LIST): Likewise.
34996         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34997         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
34998         Undefine.
34999         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35000         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
35001         Likewise.
35002         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
35003         Likewise.
35004         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
35005         Likewise.
35006         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35007         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
35008         Undefine.
35009         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
35010         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
35011         Likewise.
35013         [BZ #16648]
35014         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35015         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
35016         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
35018 2014-03-31  Will Newton  <will.newton@linaro.org>
35020         * benchtests/Makefile (bench): Add ffs and ffsll to list
35021         of tests.
35022         * benchtests/ffs-inputs: New file.
35023         * benchtests/ffsll-inputs: Likewise.
35025 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
35027         [BZ #16770]
35028         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
35029         too large before casting to int.
35030         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
35031         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
35032         * math/libm-test.inc (scalb_test_data): Add more tests.
35034 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35036         * benchtests/Makefile (DETAILED_OPT): New make option.
35037         (bench-func): Run benchmark program with -d if DETAILED_OPT is
35038         set.
35039         * benchtests/bench-skeleton.c: Include stdbool.h.
35040         (main): Store and print timings per input.
35041         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
35042         member to each argument value.
35043         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
35044         (_print_arg_data): Initialize per-input timing to 0.
35046         * benchtests/Makefile (timing-type): New binary.
35047         (bench-clean): Also remove bench-timing-type.
35048         (bench): New target for timing-type.
35049         (bench-func): Print output in JSON format.
35050         * benchtests/bench-skeleton.c (main): Print output in JSON
35051         format.
35052         * benchtests/bench-timing-type.c: New file.
35053         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
35054         (TIMING_PRINT_STATS): Remove.
35055         * benchtests/scripts/bench.py (_print_arg_data): Store variant
35056         name separately.
35058         * benchtests/bench-modf.c: Remove.
35059         * benchtests/modf-inputs: New inputs file.
35061 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
35063         [BZ #16362]
35064         * math/s_clog10.c (M_PI_LOG10E): New macro.
35065         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
35066         imaginary parts are 0.
35067         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
35068         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
35069         imaginary parts are 0.
35070         * math/s_clog10l.c (M_PI_LOG10El): New macro.
35071         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
35072         imaginary parts are 0.
35073         * math/libm-test.inc (clog10_test_data): Update expected results
35074         for when real and imaginary parts are 0.
35076 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
35078         * elf/dl-load.c: Finish conversion of __builtin_expect into
35079         __glibc_{un}likely.
35081 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
35083         [BZ #16348]
35084         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
35085         1+x for argument with exponent below -67.
35086         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
35087         Likewise.
35088         * math/auto-libm-test-in: Add more tests of exp.
35089         * math/auto-libm-test-out: Regenerated.
35091 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35093         [BZ #16759]
35094         * inet/getnetgrent_r.c (get_nonempty_val): New function.
35095         (nscd_getnetgrent): Use it.
35097         [BZ #16760]
35098         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
35099         of stpcpy.
35101 2014-03-27  Andi Kleen  <ak@linux.intel.com>
35103         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
35104         (lll_robust_lock, lll_cond_lock, lll_timedlock)
35105         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35106         (lll_robust_unlock): Remove out of line section. Use cfi
35107         intrinsics.
35108         (LLL_STUB_UNWIND_INFO*): Remove.
35109         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
35110         (lll_robust_lock, lll_cond_lock, lll_timedlock)
35111         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35112         (lll_robust_unlock): Remove out of line section. Use cfi
35113         intrinsics.
35114         (LLL_STUB_UNWIND_INFO*): Remove.
35116 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35118         [BZ #16758]
35119         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
35120         blank values.
35122 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
35124         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
35126 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
35128         [BZ #16198]
35129         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
35130         fnstenv.
35131         * math/test-fenv-preserve.c: New file.
35132         * math/Makefile (tests): Add test-fenv-preserve.
35134 2014-03-26  Will Newton <will.newton@linaro.org>
35136         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
35138 2014-03-25  Roland McGrath  <roland@hack.frob.com>
35140         * scripts/versionlist.awk: Partition the version sets and emit all
35141         GLIBC_* (sorted) before all others (sorted).
35143 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
35145         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
35146         GLIBC_2.2.5 version.
35148 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35150         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
35151         calls.
35153         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
35154         previous change.
35156         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35158 2014-03-25  Andreas Schwab  <schwab@suse.de>
35160         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
35161         label to be used after in6ailist is initialized.
35163 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35165         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35166         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35168 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
35170         [BZ #16357]
35171         [BZ #16599]
35172         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
35173         min_plus_half.
35174         (fp_formats): Update initializers.
35175         (init_fp_formats): Initialize new field.
35176         (output_for_one_input_case): Allow underflow for results up to
35177         min_plus_half.
35178         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
35179         * math/auto-libm-test-in: Don't mark some underflows from asin and
35180         atanh as spurious.
35181         * math/auto-libm-test-out: Regenerated.
35182         * sysdeps/i386/fpu/libm-test-ulps: Update.
35183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35185 2014-03-25  Andreas Schwab  <schwab@suse.de>
35187         * libio/Makefile (tst-ftell-partial-wide-ENV)
35188         (tst-ftell-active-handler-ENV): Define.
35190 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
35192         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
35194 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
35196         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
35198 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
35200         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
35201         * sysdeps/x86_64/fpu/multiarch/e_exp.c
35202         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
35204 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
35206         [BZ #16634]
35207         * elf/dl-load.c (open_verify): Add mode parameter.
35208         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
35209         (open_path): Change from boolean 'secure' to complete flag 'mode'
35210         (_dl_map_object): Adjust.
35211         * elf/Makefile (tests): Add tst-dlopen-aout.
35212         * elf/tst-dlopen-aout.c: New test.
35214 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
35216         [BZ #16714]
35217         * sysdeps/unix/sysv/linux/s390/bits/stat.h
35218         (struct stat): Rename member pad0 to __glibc_reserved0.
35220         [BZ #16712]
35221         * sysdeps/s390/s390-32/bits/wordsize.h
35222         (__WORDSIZE32_SIZE_ULONG): New define.
35223         * sysdeps/s390/s390-64/bits/wordsize.h
35224         (__WORDSIZE32_SIZE_ULONG): Likewise.
35225         * sysdeps/generic/stdint.h (SIZE_MAX):
35226         Define as UL if __WORDSIZE32_SIZE_ULONG.
35228         [BZ #16713]
35229         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
35230         (__glibc_reserved0): New variable.
35231         (sa_flags): Change type to int.
35233         * posix/Makefile (before-compile): Use += before-compile instead
35234         of a :=.
35236         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35237         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35239 2014-03-20  Andreas Schwab  <schwab@suse.de>
35241         [BZ #16743]
35242         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
35243         non-matching result from nscd.
35245 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35247         * scripts/bench.py: Moved to ...
35248         * benchtests/scripts/bench.py: ... here.
35249         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
35251 2014-03-24  Andreas Schwab  <schwab@suse.de>
35253         [BZ #16002]
35254         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
35255         alloca_account and account alloca use for struct in6ailist.
35257 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
35259         [BZ #16284]
35260         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
35261         rounding mode to recompute results that overflow to infinity or
35262         underflow to zero.
35263         * math/auto-libm-test-in: Don't mark tests as expected to fail for
35264         bug 16284.
35265         * math/auto-libm-test-out: Regenerated.
35266         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
35267         (ccosh_test): Likewise.
35268         (csin_test_data): Use plus_oflow.
35269         (csin_test): Use ALL_RM_TEST.
35270         (csinh_test_data): Use plus_oflow.
35271         (csinh_test): Use ALL_RM_TEST.
35272         * sysdeps/i386/fpu/libm-test-ulps: Update.
35273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35275 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
35277         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
35278         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
35279         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
35281         [BZ #16731]
35282         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
35283         when x - 1 is zero.
35284         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
35285         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
35286         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
35287         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
35288         argument is 1.
35289         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
35290         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
35291         zero.
35292         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
35293         * sysdeps/i386/fpu/libm-test-ulps: Update.
35294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35296 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35298         * scripts/bench.pl: Remove file.
35299         * scripts/bench.py: New benchmark script.
35300         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
35301         * benchtests/README: Mention python dependency.
35302         * scripts/pylintrc: New file.
35303         * scripts/pylint: New file.
35305         * bits/mathdef.h: Use #ifdef instead of #if.
35306         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
35307         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35308         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
35309         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35310         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
35311         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35313 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35314             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35316         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
35317         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
35318         and strpbrk-ppc64 objects.
35319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35320         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
35321         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
35322         multiarch strpbrk for POWER7.
35323         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
35324         multiarch strpbrk for PPC64.
35325         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
35326         ifunc selector.
35327         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
35328         strpbrk for POWER7.
35330 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
35332         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
35333         (atan_test): Likewise.
35334         (atanh_test_data): Use NO_TEST_INLINE for two tests.
35335         (atanh_test): Use ALL_RM_TEST.
35336         (atan2_test_data): Likewise.
35337         (cabs_test): Likewise.
35338         (cacosh_test): Likewise.
35339         (carg_test): Likewise.
35340         (casin_test): Likewise.
35341         (casinh_test): Likewise.
35342         (cbrt_test): Likewise.
35343         (csqrt_test): Likewise.
35344         (erf_test): Likewise.
35345         (erfc_test): Likewise.
35346         (pow10_test): Likewise.
35347         (exp2_test): Likewise.
35348         (hypot_test): Likewise.
35349         (j0_test): Likewise.
35350         (j1_test): Likewise.
35351         (lgamma_test): Likewise.
35352         (gamma_test): Likewise.
35353         (sincos_test): Likewise.
35354         (tanh_test): Likewise.
35355         (y0_test): Likewise.
35356         (y1_test): Likewise.
35357         * sysdeps/i386/fpu/libm-test-ulps: Update.
35358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35360 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35362         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
35363         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
35364         and strcspn-ppc64 objects.
35365         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35366         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
35367         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
35368         multiarch strcspn for POWER7.
35369         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
35370         multiarch strcspn for PPC64.
35371         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
35372         ifunc selector.
35373         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
35374         strcspn for POWER7.
35376 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
35378         * math/gen-libm-test.pl (generate_testfile): Expect only function
35379         name as argument to AUTO_TESTS_* and pass results for all rounding
35380         modes to parse_args.
35381         (parse_auto_input): Separate inputs of automatic tests from
35382         outputs before storing in %auto_tests.
35383         * math/libm-test.inc (acos_test_data): Update call to
35384         AUTO_TESTS_f_f.
35385         (acos_test): Use ALL_RM_TEST.
35386         (acos_tonearest_test_data): Remove.
35387         (acos_test_tonearest): Likewise.
35388         (acos_towardzero_test_data): Likewise.
35389         (acos_test_towardzero): Likewise.
35390         (acos_downward_test_data): Likewise.
35391         (acos_test_downward): Likewise.
35392         (acos_upward_test_data): Likewise.
35393         (acos_test_upward): Likewise.
35394         (acosh_test_data): Update call to AUTO_TESTS_f_f.
35395         (asin_test_data): Likewise.
35396         (asin_test): Use ALL_RM_TEST.
35397         (asin_tonearest_test_data): Remove.
35398         (asin_test_tonearest): Likewise.
35399         (asin_towardzero_test_data): Likewise.
35400         (asin_test_towardzero): Likewise.
35401         (asin_downward_test_data): Likewise.
35402         (asin_test_downward): Likewise.
35403         (asin_upward_test_data): Likewise.
35404         (asin_test_upward): Likewise.
35405         (asinh_test_data): Update call to AUTO_TESTS_f_f.
35406         (atan_test_data): Likewise.
35407         (atanh_test_data): Likewise.
35408         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
35409         (cabs_test_data): Update call to AUTO_TESTS_c_f.
35410         (carg_test_data): Likewise.
35411         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
35412         (ccos_test_data): Update call to AUTO_TESTS_c_c.
35413         (ccosh_test_data): Likewise.
35414         (cexp_test_data): Likewise.
35415         (clog_test_data): Likewise.
35416         (clog10_test_data): Likewise.
35417         (cos_test_data): Update call to AUTO_TESTS_f_f.
35418         (cos_test): Use ALL_RM_TEST.
35419         (cos_tonearest_test_data): Remove.
35420         (cos_test_tonearest): Likewise.
35421         (cos_towardzero_test_data): Likewise.
35422         (cos_test_towardzero): Likewise.
35423         (cos_downward_test_data): Likewise.
35424         (cos_test_downward): Likewise.
35425         (cos_upward_test_data): Likewise.
35426         (cos_test_upward): Likewise.
35427         (cosh_test_data): Update call to AUTO_TESTS_f_f.
35428         (cosh_test): Use ALL_RM_TEST.
35429         (cosh_tonearest_test_data): Remove.
35430         (cosh_test_tonearest): Likewise.
35431         (cosh_towardzero_test_data): Likewise.
35432         (cosh_test_towardzero): Likewise.
35433         (cosh_downward_test_data): Likewise.
35434         (cosh_test_downward): Likewise.
35435         (cosh_upward_test_data): Likewise.
35436         (cosh_test_upward): Likewise.
35437         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
35438         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
35439         (ctan_test_data): Likewise.
35440         (ctan_test): Use ALL_RM_TEST.
35441         (ctan_tonearest_test_data): Remove.
35442         (ctan_test_tonearest): Likewise.
35443         (ctan_towardzero_test_data): Likewise.
35444         (ctan_test_towardzero): Likewise.
35445         (ctan_downward_test_data): Likewise.
35446         (ctan_test_downward): Likewise.
35447         (ctan_upward_test_data): Likewise.
35448         (ctan_test_upward): Likewise.
35449         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
35450         (ctanh_test): Use ALL_RM_TEST.
35451         (ctanh_tonearest_test_data): Remove.
35452         (ctanh_test_tonearest): Likewise.
35453         (ctanh_towardzero_test_data): Likewise.
35454         (ctanh_test_towardzero): Likewise.
35455         (ctanh_downward_test_data): Likewise.
35456         (ctanh_test_downward): Likewise.
35457         (ctanh_upward_test_data): Likewise.
35458         (ctanh_test_upward): Likewise.
35459         (erf_test_data): Update call to AUTO_TESTS_f_f.
35460         (erfc_test_data): Likewise.
35461         (exp_test_data): Likewise.
35462         (exp_test): Use ALL_RM_TEST.
35463         (exp_tonearest_test_data): Remove.
35464         (exp_test_tonearest): Likewise.
35465         (exp_towardzero_test_data): Likewise.
35466         (exp_test_towardzero): Likewise.
35467         (exp_downward_test_data): Likewise.
35468         (exp_test_downward): Likewise.
35469         (exp_upward_test_data): Likewise.
35470         (exp_test_upward): Likewise.
35471         (exp10_test_data): Update call to AUTO_TESTS_f_f.
35472         (exp10_test): Use ALL_RM_TEST.
35473         (exp10_tonearest_test_data): Remove.
35474         (exp10_test_tonearest): Likewise.
35475         (exp10_towardzero_test_data): Likewise.
35476         (exp10_test_towardzero): Likewise.
35477         (exp10_downward_test_data): Likewise.
35478         (exp10_test_downward): Likewise.
35479         (exp10_upward_test_data): Likewise.
35480         (exp10_test_upward): Likewise.
35481         (exp2_test_data): Update call to AUTO_TESTS_f_f.
35482         (expm1_test_data): Likewise.
35483         (expm1_test): Use ALL_RM_TEST.
35484         (expm1_tonearest_test_data): Remove.
35485         (expm1_test_tonearest): Likewise.
35486         (expm1_towardzero_test_data): Likewise.
35487         (expm1_test_towardzero): Likewise.
35488         (expm1_downward_test_data): Likewise.
35489         (expm1_test_downward): Likewise.
35490         (expm1_upward_test_data): Likewise.
35491         (expm1_test_upward): Likewise.
35492         (fma_test_data): Update call to AUTO_TESTS_fff_f.
35493         (fma_test): Use ALL_RM_TEST.
35494         (fma_towardzero_test_data): Remove.
35495         (fma_test_towardzero): Likewise.
35496         (fma_downward_test_data): Likewise.
35497         (fma_test_downward): Likewise.
35498         (fma_upward_test_data): Likewise.
35499         (fma_test_upward): Likewise.
35500         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
35501         (j0_test_data): Update call to AUTO_TESTS_f_f.
35502         (j1_test_data): Likewise.
35503         (jn_test_data): Update call to AUTO_TESTS_if_f.
35504         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
35505         (log_test_data): Update call to AUTO_TESTS_f_f.
35506         (log10_test_data): Likewise.
35507         (log1p_test_data): Likewise.
35508         (log2_test_data): Likewise.
35509         (pow_test_data): Update call to AUTO_TESTS_ff_f.
35510         (pow_tonearest_test_data): Likewise.
35511         (sin_test_data): Update call to AUTO_TESTS_f_f.
35512         (sin_test): Use ALL_RM_TEST.
35513         (sin_tonearest_test_data): Remove.
35514         (sin_test_tonearest): Likewise.
35515         (sin_towardzero_test_data): Likewise.
35516         (sin_test_towardzero): Likewise.
35517         (sin_downward_test_data): Likewise.
35518         (sin_test_downward): Likewise.
35519         (sin_upward_test_data): Likewise.
35520         (sin_test_upward): Likewise.
35521         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
35522         (sinh_test_data): Update call to AUTO_TESTS_f_f.
35523         (sinh_test): Use ALL_RM_TEST.
35524         (sinh_tonearest_test_data): Remove.
35525         (sinh_test_tonearest): Likewise.
35526         (sinh_towardzero_test_data): Likewise.
35527         (sinh_test_towardzero): Likewise.
35528         (sinh_downward_test_data): Likewise.
35529         (sinh_test_downward): Likewise.
35530         (sinh_upward_test_data): Likewise.
35531         (sinh_test_upward): Likewise.
35532         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
35533         (sqrt_test): Use ALL_RM_TEST.
35534         (sqrt_tonearest_test_data): Remove.
35535         (sqrt_test_tonearest): Likewise.
35536         (sqrt_towardzero_test_data): Likewise.
35537         (sqrt_test_towardzero): Likewise.
35538         (sqrt_downward_test_data): Likewise.
35539         (sqrt_test_downward): Likewise.
35540         (sqrt_upward_test_data): Likewise.
35541         (sqrt_test_upward): Likewise.
35542         (tan_test_data): Update call to AUTO_TESTS_f_f.
35543         (tan_test): Use ALL_RM_TEST.
35544         (tan_tonearest_test_data): Remove.
35545         (tan_test_tonearest): Likewise.
35546         (tan_towardzero_test_data): Likewise.
35547         (tan_test_towardzero): Likewise.
35548         (tan_downward_test_data): Likewise.
35549         (tan_test_downward): Likewise.
35550         (tan_upward_test_data): Likewise.
35551         (tan_test_upward): Likewise.
35552         (tanh_test_data): Update call to AUTO_TESTS_f_f.
35553         (tgamma_test_data): Likewise.
35554         (y0_test_data): Likewise.
35555         (y1_test_data): Likewise.
35556         (yn_test_data): Update call to AUTO_TESTS_if_f.
35557         (main): Do not call removed functions.
35559 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35561         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
35562         (ldexp_test_data): Remove.
35563         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
35564         scalbn_test_data.
35565         (scalb_test): Use ALL_RM_TEST.
35567 2014-03-19  Andreas Schwab  <schwab@suse.de>
35569         * nscd/nscd.service: Also invalidate netgroup cache on reload.
35571 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35573         [BZ #16649]
35574         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35575         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
35576         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
35577         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35578         (__ASSUME_PREADV): Undefine.
35579         (__ASSUME_PWRITEV): Likewise.
35581 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35583         * bits/mman-linux.h: Add comment about non-Linux use.
35584         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
35585         bits/mman-linux.h resting place.
35587         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
35588         * bits/mman-linux.h: ... here.
35590 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35592         * conform/conformtest.pl: Add standard definition when calling C
35593         preprocessor on data files.
35594         (checknamespace): Remove unused variable.
35596 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35598         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
35599         minus_oflow, plus_uflow and minus_uflow in expected results.
35600         * math/libm-test.inc (scalbn_test_data): Add more tests of
35601         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
35602         minus_uflow.
35603         (scalbn_test): Use ALL_RM_TEST.
35604         (scalbln_test_data): Add more tests of negative arguments.  Use
35605         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
35606         (scalbln_test): Use ALL_RM_TEST.
35608 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35610         * scripts/abilist.awk: Ignore symbols marked with .hidden.
35612 2014-03-18  Will Newton  <will.newton@linaro.org>
35614         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
35615         inaccurate comment.
35617 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35619         * Makerules [!subdir] (check-abi): Exit with error status if a
35620         test failed.
35622 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
35624         * math/libm-test.inc (nearbyint_test_data): Include all tests used
35625         for rint.  Include results for all rounding modes.
35626         (nearbyint_test): Use ALL_RM_TEST.
35627         (rint_test_data): Include all tests used for nearbyint.
35629 2014-03-17  Will Newton  <will.newton@linaro.org>
35631         * nptl/sysdeps/pthread/pthread.h: Revert previous
35632         change.
35634         * sysdeps/generic/ldsodefs.h: Revert previous
35635         change.
35637         * libio/genops.c: Revert previous change.
35638         * libio/libioP.h: Likewise.
35639         * stdio-common/vfprintf.c: Likewise.
35641         * sysdeps/generic/math_private.h: Revert previous
35642         change.
35644         * sysdeps/generic/math_private.h: Check whether
35645         HAVE_RM_CTX is defined with #ifdef rather
35646         than #if.
35648         * argp/argp-fmtstream.h: Check whether
35649         __STRICT_ANSI__ is defined with #ifdef rather
35650         than #if.
35651         * argp/argp.h: Likewise.
35653         * libio/genops.c: Check whether
35654         _IO_JUMPS_OFFSET is defined with #ifdef rather
35655         than #if.
35656         * libio/libioP.h: Likewise.
35657         * stdio-common/vfprintf.c: Likewise.
35659         * sysdeps/generic/ldsodefs.h: Check whether
35660         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
35661         than #if.
35663         * nptl/sysdeps/pthread/pthread.h: Check
35664         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
35665         its value.
35667 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35669         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
35670         setting O_APPEND.
35671         * libio/tst-ftell-active-handler.c (do_append_test): Add a
35672         test case.
35674         [BZ #16680]
35675         * libio/fileops.c (_IO_file_open): Seek to end of file but
35676         don't cache the offset.
35677         (get_file_offset): Remove function.
35678         (do_ftell): Use cached offset when available.
35679         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
35680         don't cache the offset.
35681         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
35682         case.
35683         (do_one_test): Call it.
35684         (do_ftell_test): Fix up expected old offset for a+ mode.
35685         * libio/wfileops.c (do_ftell_wide): Used cached offset when
35686         available.
35688         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
35689         up test status with function return status.
35690         (do_write_test): Likewise.
35691         (do_append_test): Likewise.
35693         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
35694         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
35695         Remove.
35697 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
35699         * math/gen-libm-test.pl (parse_args): Handle results specified for
35700         each rounding mode separately.
35701         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
35702         tests and results from lrint_tonearest_test_data,
35703         lrint_towardzero_test_data, lrint_downward_test_data and
35704         lrint_upward_test_data.
35705         (lrint_test): Use ALL_RM_TEST.
35706         (lrint_tonearest_test_data): Remove.
35707         (lrint_test_tonearest): Likewise.
35708         (lrint_towardzero_test_data): Likewise.
35709         (lrint_test_towardzero): Likewise.
35710         (lrint_downward_test_data): Likewise.
35711         (lrint_test_downward): Likewise.
35712         (lrint_upward_test_data): Likewise.
35713         (lrint_test_upward): Likewise.
35714         (llrint_test_data): Merge in per-rounding-mode tests and results
35715         from llrint_tonearest_test_data, llrint_towardzero_test_data,
35716         llrint_downward_test_data and llrint_upward_test_data.
35717         (llrint_test): Use ALL_RM_TEST.
35718         (llrint_tonearest_test_data): Remove.
35719         (llrint_test_tonearest): Likewise.
35720         (llrint_towardzero_test_data): Likewise.
35721         (llrint_test_towardzero): Likewise.
35722         (llrint_downward_test_data): Likewise.
35723         (llrint_test_downward): Likewise.
35724         (llrint_upward_test_data): Likewise.
35725         (llrint_test_upward): Likewise.
35726         (rint_test_data): Merge in per-rounding-mode tests and results
35727         from rint_tonearest_test_data, rint_towardzero_test_data,
35728         rint_downward_test_data and rint_upward_test_data.  Add
35729         per-rounding-mode results for tests not in those arrays.
35730         (rint_test): Use ALL_RM_TEST.
35731         (rint_tonearest_test_data): Remove.
35732         (rint_test_tonearest): Likewise.
35733         (rint_towardzero_test_data): Likewise.
35734         (rint_test_towardzero): Likewise.
35735         (rint_downward_test_data): Likewise.
35736         (rint_test_downward): Likewise.
35737         (rint_upward_test_data): Likewise.
35738         (rint_test_upward): Likewise.
35739         (main): Don't call removed functions.
35741 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35743         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
35744         "Compiled on ..." crapola.  It is anti-useful.
35746 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
35748         * scripts/evaluate-test.sh: Handle fourth argument to determine
35749         whether test run should stop on failure.
35750         * Makeconfig (stop-on-test-failure): New variable.
35751         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
35752         $(stop-on-test-failure).
35753         * Makefile (tests): Give a summary of results from testing and
35754         exit with failure status if they include an ERROR or FAIL.
35755         (xtests): Likewise.
35756         * manual/install.texi (Configuring and compiling): Mention
35757         stop-on-test-failure=y.
35758         * INSTALL: Regenerated.
35760 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35762         * scripts/versionlist.awk: New file.
35763         * Makerules [$(build-shared) = yes]
35764         (postclean-generated): Add Versions.def, not Versions.def.v and
35765         Versions.def.v.i.
35766         ($(common-objpfx)Versions.def.v.i): Target removed.
35767         ($(common-objpfx)Versions.def): New target.
35768         ($(common-objpfx)Versions.all): Depend on that rather that
35769         $(common-objpfx)Versions.def.v.
35770         * Versions.def: File removed.
35772         * Makeconfig (+gccwarn): Add -Wundef.
35773         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
35774         a dl-sysdep.h breaking its contract.
35775         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
35776         * include/stackinfo.h: New file.
35777         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
35778         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
35779         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
35780         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
35781         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
35782         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
35783         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35784         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35785         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35786         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35787         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35788         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
35789         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35790         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35791         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35793 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35795         [BZ #16707]
35796         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
35797         implementation.
35798         * math/libm-test.inc (round_test_data): Add more tests.
35800         [BZ #16706]
35801         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
35802         implementation.
35803         * math/libm-test.inc (nearbyint_test_data): Add more tests.
35805         [BZ #16701]
35806         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
35807         implementation.
35808         * math/libm-test.inc (ceil_test_data): Add more tests.
35810         * math/libm-test.inc (trunc_test_data): Add more tests related to
35811         BZ#16414.
35813 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35815         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
35816         with #if rather than #ifdef.
35817         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
35819 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
35821         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
35822         first.  Disable AVX-512 GCC support if assembler doesn't support
35823         it.
35824         * sysdeps/x86_64/configure: Regenerated.
35826 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
35828         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
35829         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
35830         (__old_pthread_attr_setstack): Likewise.
35831         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
35832         [!_STACK_GROWS_DOWN]: Likewise.
35834 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
35836         * config.make.in (have-bash2): Delete.
35837         * configure.ac (libc_cv_have_bash2): Delete.
35838         * configure: Regenerate.
35839         * elf/Makefile (common-ldd-rewrite): Rename to ...
35840         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
35841         (sh-ldd-rewrite): Delete.
35842         (bash-ldd-rewrite): Delete.
35843         (have-bash2): Delete checks.
35844         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
35845         ldd-rewrite.
35847         * config.make.in (have-ksh): Delete.
35848         (KSH): Delete.
35849         * configure.ac (libc_cv_have_ksh): Delete.
35850         * configure: Regenerate.
35852         * elf/Makefile: Delete $(have-ksh) check.
35853         ($(objpfx)sotruss): Change KSH to BASH.
35854         * elf/sotruss.ksh: Rename to ...
35855         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
35856         function style to match POSIX.  Drop ksh vim mode setting.
35858         * manual/time.texi (Specifying the Time Zone with TZ): Change
35859         Tuesday to Thursday.
35861         * debug/tst-longjmp_chk2.c: Update header comment.
35862         (stackoverflow_handler): Add comment.  Call assert on pass value.
35864 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
35866         [BZ #16194]
35867         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
35868         (HAVE_AVX512_ASM_SUPPORT): Likewise.
35869         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
35870         (La_x86_64_vector): Add zmm.
35871         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
35872         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
35873         ($(objpfx)tst-audit10): New target.
35874         ($(objpfx)tst-audit10.out): Likewise.
35875         (tst-audit10-ENV): New.
35876         (AVX512-CFLAGS): Likewise.
35877         (CFLAGS-tst-audit10.c): Likewise.
35878         (CFLAGS-tst-auditmod10a.c): Likewise.
35879         (CFLAGS-tst-auditmod10b.c): Likewise.
35880         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
35881         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
35882         * sysdeps/x86_64/configure: Regenerated.
35883         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
35884         AVX-512 zmm register support.
35885         (_dl_x86_64_save_sse): Likewise.
35886         (_dl_x86_64_restore_sse): Likewise.
35887         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
35888         size vector registers.
35889         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
35890         (ZMM_SIZE): Likewise.
35891         * sysdeps/x86_64/tst-audit10.c: New file.
35892         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
35893         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
35895 2014-03-13  Roland McGrath  <roland@hack.frob.com>
35897         * configure.ac (HAVE_EHDR_START): New check.
35898         * configure: Regenerated.
35899         * config.h.in (HAVE_EHDR_START): New #undef.
35900         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
35901         assuming the lowest-addressed segment maps the start of the file.
35903 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
35905         * INSTALL: Regenerated.
35907 2014-03-13  Will Newton  <will.newton@linaro.org>
35909         * manual/setjmp.texi (System V contexts): Improve
35910         clarity and grammar of documentation.
35912 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
35914         [BZ #16381]
35915         * elf/Makefile (tests): Add tst-pie2.
35916         (tests-pie): Add tst-pie2.
35917         * elf/tst-pie2.c: New file.
35918         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
35919         for ET_EXEC.
35920         * elf/rtld.c (map_doit): Load executable as lt_executable.
35921         (dl_main): Likewise.
35923 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
35925         [BZ #16642]
35926         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35927         (__ASSUME_PSELECT): Undefine.
35929 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35931         [BZ #16689]
35932         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
35933         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
35934         static build.
35935         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
35936         selector for static builds.
35938 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35940         [BZ #16695]
35941         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
35942         key in the buffer.
35944 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35946         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
35947         IFUNC selector for static builds.
35949 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
35951         * sysdeps/mips/math_private.h [__mips_hard_float]
35952         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
35953         libc_feresetround_mips_ctx.
35954         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
35955         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
35956         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
35958         [BZ #16677]
35959         * math/s_nextafter.c (__nextafter): Do not return value from
35960         overflowing computation.
35961         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35962         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
35963         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35964         Likewise.
35965         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
35966         Likewise.
35967         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35968         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
35970 2014-03-11  Roland McGrath  <roland@hack.frob.com>
35972         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
35973         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
35974         Move sfi_sp use from the load-multiple (that no longer sets sp) to
35975         the new mov targetting sp.
35977 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35979         [BZ #16683]
35980         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
35981         Define it for static builds as well.
35982         (NO_BZERO_IMPL): Likewise.
35984 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35986         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
35987         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
35988         multiarch strspn for PPC64.
35989         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
35990         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
35991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35992         (__libc_ifunc_impl_list): Likewise.
35993         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
35994         multiarch optimizations
35995         * string/strspn.c (strspn): Using macro to redefine symbol name.
35997 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35998             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36000         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
36001         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
36002         multiarch strncat for PPC64.
36003         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
36004         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
36005         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36006         (__libc_ifunc_impl_list): Likewise.
36007         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
36008         multiarch optimizations
36010 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36012         [BZ #16639]
36013         * nscd/nscd.service: Make service type forking.
36015 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36017         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
36018         sign in non default rounding modes.
36019         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
36021 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
36023         * math/libm-test.inc (ALL_RM_TEST): New macro.
36024         (ceil_test): Use ALL_RM_TEST.
36025         (cimag_test): Likewise.
36026         (conj_test): Likewise.
36027         (copysign_test): Likewise.
36028         (cproj_test): Likewise.
36029         (creal_test): Likewise.
36030         (fabs_test): Likewise.
36031         (floor_test): Likewise.
36032         (fmax_test): Likewise.
36033         (fmin_test): Likewise.
36034         (fmod_test): Likewise.
36035         (fpclassify_test): Likewise.
36036         (frexp_test): Likewise.
36037         (ilogb_test): Likewise.
36038         (isfinite_test): Likewise.
36039         (finite_test): Likewise.
36040         (isgreater_test): Likewise.
36041         (isgreaterequal_test): Likewise.
36042         (isinf_test): Likewise.
36043         (isless_test): Likewise.
36044         (islessequal_test): Likewise.
36045         (islessgreater_test): Likewise.
36046         (isnan_test): Likewise.
36047         (isnormal_test): Likewise.
36048         (issignaling_test): Likewise.
36049         (isunordered_test): Likewise.
36050         (logb_test): Likewise.
36051         (logb_downward_test_data): Remove.
36052         (logb_test_downward): Likewise.
36053         (lround_test): Use ALL_RM_TEST.
36054         (llround_test): Likewise.
36055         (modf_test): Likewise.
36056         (nexttoward_test): Likewise.
36057         (remainder_test): Likewise.
36058         (drem_test): Likewise.
36059         (remainder_tonearest_test_data): Likewise.
36060         (remainder_test_tonearest): Likewise.
36061         (drem_test_tonearest): Likewise.
36062         (remainder_towardzero_test_data): Likewise.
36063         (remainder_test_towardzero): Likewise.
36064         (drem_test_towardzero): Likewise.
36065         (remainder_downward_test_data): Likewise.
36066         (remainder_test_downward): Likewise.
36067         (drem_test_downward): Likewise.
36068         (remainder_upward_test_data): Likewise.
36069         (remainder_test_upward): Likewise.
36070         (drem_test_upward): Likewise.
36071         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
36072         (round_test): Use ALL_RM_TEST.
36073         (signbit_test): Likewise.
36074         (trunc_test): Likewise.
36075         (significand_test): Likewise.
36076         (main): Don't call removed functions.
36078 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
36080         [BZ #16674]
36081         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
36082         || __USE_XOPEN2K8].
36083         (ILL_ILLOPN): Likewise.
36084         (ILL_ILLADR): Likewise.
36085         (ILL_ILLTRP): Likewise.
36086         (ILL_PRVOPC): Likewise.
36087         (ILL_PRVREG): Likewise.
36088         (ILL_COPROC): Likewise.
36089         (ILL_BADSTK): Likewise.
36090         (FPE_INTDIV): Likewise.
36091         (FPE_INTOVF): Likewise.
36092         (FPE_FLTDIV): Likewise.
36093         (FPE_FLTOVF): Likewise.
36094         (FPE_FLTUND): Likewise.
36095         (FPE_FLTRES): Likewise.
36096         (FPE_FLTINV): Likewise.
36097         (FPE_FLTSUB): Likewise.
36098         (SEGV_MAPERR): Likewise.
36099         (SEGV_ACCERR): Likewise.
36100         (BUS_ADRALN): Likewise.
36101         (BUS_ADRERR): Likewise.
36102         (BUS_OBJERR): Likewise.
36103         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36104         (TRAP_TRACE): Likewise.
36105         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36106         __USE_XOPEN2K8].
36107         (CLD_KILLED): Likewise.
36108         (CLD_DUMPED): Likewise.
36109         (CLD_TRAPPED): Likewise.
36110         (CLD_STOPPED): Likewise.
36111         (CLD_CONTINUED): Likewise.
36112         (POLL_IN): Likewise.
36113         (POLL_OUT): Likewise.
36114         (POLL_MSG): Likewise.
36115         (POLL_ERR): Likewise.
36116         (POLL_PRI): Likewise.
36117         (POLL_HUP): Likewise.
36118         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
36119         Likewise.
36120         (ILL_ILLOPN): Likewise.
36121         (ILL_ILLADR): Likewise.
36122         (ILL_ILLTRP): Likewise.
36123         (ILL_PRVOPC): Likewise.
36124         (ILL_PRVREG): Likewise.
36125         (ILL_COPROC): Likewise.
36126         (ILL_BADSTK): Likewise.
36127         (FPE_INTDIV): Likewise.
36128         (FPE_INTOVF): Likewise.
36129         (FPE_FLTDIV): Likewise.
36130         (FPE_FLTOVF): Likewise.
36131         (FPE_FLTUND): Likewise.
36132         (FPE_FLTRES): Likewise.
36133         (FPE_FLTINV): Likewise.
36134         (FPE_FLTSUB): Likewise.
36135         (SEGV_MAPERR): Likewise.
36136         (SEGV_ACCERR): Likewise.
36137         (BUS_ADRALN): Likewise.
36138         (BUS_ADRERR): Likewise.
36139         (BUS_OBJERR): Likewise.
36140         (BUS_MCEERR_AR): Likewise.
36141         (BUS_MCEERR_AO): Likewise.
36142         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36143         (TRAP_TRACE): Likewise.
36144         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36145         __USE_XOPEN2K8].
36146         (CLD_KILLED): Likewise.
36147         (CLD_DUMPED): Likewise.
36148         (CLD_TRAPPED): Likewise.
36149         (CLD_STOPPED): Likewise.
36150         (CLD_CONTINUED): Likewise.
36151         (POLL_IN): Likewise.
36152         (POLL_OUT): Likewise.
36153         (POLL_MSG): Likewise.
36154         (POLL_ERR): Likewise.
36155         (POLL_PRI): Likewise.
36156         (POLL_HUP): Likewise.
36157         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
36158         (ILL_ILLOPN): Likewise.
36159         (ILL_ILLADR): Likewise.
36160         (ILL_ILLTRP): Likewise.
36161         (ILL_PRVOPC): Likewise.
36162         (ILL_PRVREG): Likewise.
36163         (ILL_COPROC): Likewise.
36164         (ILL_BADSTK): Likewise.
36165         (FPE_INTDIV): Likewise.
36166         (FPE_INTOVF): Likewise.
36167         (FPE_FLTDIV): Likewise.
36168         (FPE_FLTOVF): Likewise.
36169         (FPE_FLTUND): Likewise.
36170         (FPE_FLTRES): Likewise.
36171         (FPE_FLTINV): Likewise.
36172         (FPE_FLTSUB): Likewise.
36173         (SEGV_MAPERR): Likewise.
36174         (SEGV_ACCERR): Likewise.
36175         (BUS_ADRALN): Likewise.
36176         (BUS_ADRERR): Likewise.
36177         (BUS_OBJERR): Likewise.
36178         (BUS_MCEERR_AR): Likewise.
36179         (BUS_MCEERR_AO): Likewise.
36180         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36181         (TRAP_TRACE): Likewise.
36182         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36183         __USE_XOPEN2K8].
36184         (CLD_KILLED): Likewise.
36185         (CLD_DUMPED): Likewise.
36186         (CLD_TRAPPED): Likewise.
36187         (CLD_STOPPED): Likewise.
36188         (CLD_CONTINUED): Likewise.
36189         (POLL_IN): Likewise.
36190         (POLL_OUT): Likewise.
36191         (POLL_MSG): Likewise.
36192         (POLL_ERR): Likewise.
36193         (POLL_PRI): Likewise.
36194         (POLL_HUP): Likewise.
36195         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
36196         Likewise.
36197         (ILL_ILLOPN): Likewise.
36198         (ILL_ILLADR): Likewise.
36199         (ILL_ILLTRP): Likewise.
36200         (ILL_PRVOPC): Likewise.
36201         (ILL_PRVREG): Likewise.
36202         (ILL_COPROC): Likewise.
36203         (ILL_BADSTK): Likewise.
36204         (ILL_BADIADDR): Likewise.
36205         (ILL_BREAK): Likewise.
36206         (FPE_INTDIV): Likewise.
36207         (FPE_INTOVF): Likewise.
36208         (FPE_FLTDIV): Likewise.
36209         (FPE_FLTOVF): Likewise.
36210         (FPE_FLTUND): Likewise.
36211         (FPE_FLTRES): Likewise.
36212         (FPE_FLTINV): Likewise.
36213         (FPE_FLTSUB): Likewise.
36214         (FPE_DECOVF): Likewise.
36215         (FPE_DECDIV): Likewise.
36216         (FPE_DECERR): Likewise.
36217         (FPE_INVASC): Likewise.
36218         (FPE_INVDEC): Likewise.
36219         (SEGV_MAPERR): Likewise.
36220         (SEGV_ACCERR): Likewise.
36221         (SEGV_PSTKOVF): Likewise.
36222         (BUS_ADRALN): Likewise.
36223         (BUS_ADRERR): Likewise.
36224         (BUS_OBJERR): Likewise.
36225         (BUS_MCEERR_AR): Likewise.
36226         (BUS_MCEERR_AO): Likewise.
36227         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36228         (TRAP_TRACE): Likewise.
36229         (TRAP_BRANCH): Likewise.
36230         (TRAP_HWBKPT): Likewise.
36231         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36232         __USE_XOPEN2K8].
36233         (CLD_KILLED): Likewise.
36234         (CLD_DUMPED): Likewise.
36235         (CLD_TRAPPED): Likewise.
36236         (CLD_STOPPED): Likewise.
36237         (CLD_CONTINUED): Likewise.
36238         (POLL_IN): Likewise.
36239         (POLL_OUT): Likewise.
36240         (POLL_MSG): Likewise.
36241         (POLL_ERR): Likewise.
36242         (POLL_PRI): Likewise.
36243         (POLL_HUP): Likewise.
36244         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
36245         (ILL_ILLOPN): Likewise.
36246         (ILL_ILLADR): Likewise.
36247         (ILL_ILLTRP): Likewise.
36248         (ILL_PRVOPC): Likewise.
36249         (ILL_PRVREG): Likewise.
36250         (ILL_COPROC): Likewise.
36251         (ILL_BADSTK): Likewise.
36252         (FPE_INTDIV): Likewise.
36253         (FPE_INTOVF): Likewise.
36254         (FPE_FLTDIV): Likewise.
36255         (FPE_FLTOVF): Likewise.
36256         (FPE_FLTUND): Likewise.
36257         (FPE_FLTRES): Likewise.
36258         (FPE_FLTINV): Likewise.
36259         (FPE_FLTSUB): Likewise.
36260         (SEGV_MAPERR): Likewise.
36261         (SEGV_ACCERR): Likewise.
36262         (BUS_ADRALN): Likewise.
36263         (BUS_ADRERR): Likewise.
36264         (BUS_OBJERR): Likewise.
36265         (BUS_MCEERR_AR): Likewise.
36266         (BUS_MCEERR_AO): Likewise.
36267         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36268         (TRAP_TRACE): Likewise.
36269         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36270         __USE_XOPEN2K8].
36271         (CLD_KILLED): Likewise.
36272         (CLD_DUMPED): Likewise.
36273         (CLD_TRAPPED): Likewise.
36274         (CLD_STOPPED): Likewise.
36275         (CLD_CONTINUED): Likewise.
36276         (POLL_IN): Likewise.
36277         (POLL_OUT): Likewise.
36278         (POLL_MSG): Likewise.
36279         (POLL_ERR): Likewise.
36280         (POLL_PRI): Likewise.
36281         (POLL_HUP): Likewise.
36282         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
36283         (ILL_ILLOPN): Likewise.
36284         (ILL_ILLADR): Likewise.
36285         (ILL_ILLTRP): Likewise.
36286         (ILL_PRVOPC): Likewise.
36287         (ILL_PRVREG): Likewise.
36288         (ILL_COPROC): Likewise.
36289         (ILL_BADSTK): Likewise.
36290         (FPE_INTDIV): Likewise.
36291         (FPE_INTOVF): Likewise.
36292         (FPE_FLTDIV): Likewise.
36293         (FPE_FLTOVF): Likewise.
36294         (FPE_FLTUND): Likewise.
36295         (FPE_FLTRES): Likewise.
36296         (FPE_FLTINV): Likewise.
36297         (FPE_FLTSUB): Likewise.
36298         (SEGV_MAPERR): Likewise.
36299         (SEGV_ACCERR): Likewise.
36300         (BUS_ADRALN): Likewise.
36301         (BUS_ADRERR): Likewise.
36302         (BUS_OBJERR): Likewise.
36303         (BUS_MCEERR_AR): Likewise.
36304         (BUS_MCEERR_AO): Likewise.
36305         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36306         (TRAP_TRACE): Likewise.
36307         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36308         __USE_XOPEN2K8].
36309         (CLD_KILLED): Likewise.
36310         (CLD_DUMPED): Likewise.
36311         (CLD_TRAPPED): Likewise.
36312         (CLD_STOPPED): Likewise.
36313         (CLD_CONTINUED): Likewise.
36314         (POLL_IN): Likewise.
36315         (POLL_OUT): Likewise.
36316         (POLL_MSG): Likewise.
36317         (POLL_ERR): Likewise.
36318         (POLL_PRI): Likewise.
36319         (POLL_HUP): Likewise.
36320         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
36321         (ILL_ILLOPN): Likewise.
36322         (ILL_ILLADR): Likewise.
36323         (ILL_ILLTRP): Likewise.
36324         (ILL_PRVOPC): Likewise.
36325         (ILL_PRVREG): Likewise.
36326         (ILL_COPROC): Likewise.
36327         (ILL_BADSTK): Likewise.
36328         (FPE_INTDIV): Likewise.
36329         (FPE_INTOVF): Likewise.
36330         (FPE_FLTDIV): Likewise.
36331         (FPE_FLTOVF): Likewise.
36332         (FPE_FLTUND): Likewise.
36333         (FPE_FLTRES): Likewise.
36334         (FPE_FLTINV): Likewise.
36335         (FPE_FLTSUB): Likewise.
36336         (SEGV_MAPERR): Likewise.
36337         (SEGV_ACCERR): Likewise.
36338         (BUS_ADRALN): Likewise.
36339         (BUS_ADRERR): Likewise.
36340         (BUS_OBJERR): Likewise.
36341         (BUS_MCEERR_AR): Likewise.
36342         (BUS_MCEERR_AO): Likewise.
36343         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36344         (TRAP_TRACE): Likewise.
36345         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36346         __USE_XOPEN2K8].
36347         (CLD_KILLED): Likewise.
36348         (CLD_DUMPED): Likewise.
36349         (CLD_TRAPPED): Likewise.
36350         (CLD_STOPPED): Likewise.
36351         (CLD_CONTINUED): Likewise.
36352         (POLL_IN): Likewise.
36353         (POLL_OUT): Likewise.
36354         (POLL_MSG): Likewise.
36355         (POLL_ERR): Likewise.
36356         (POLL_PRI): Likewise.
36357         (POLL_HUP): Likewise.
36358         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
36359         (ILL_ILLOPN): Likewise.
36360         (ILL_ILLADR): Likewise.
36361         (ILL_ILLTRP): Likewise.
36362         (ILL_PRVOPC): Likewise.
36363         (ILL_PRVREG): Likewise.
36364         (ILL_COPROC): Likewise.
36365         (ILL_BADSTK): Likewise.
36366         (ILL_DBLFLT): Likewise.
36367         (ILL_HARDWALL): Likewise.
36368         (FPE_INTDIV): Likewise.
36369         (FPE_INTOVF): Likewise.
36370         (FPE_FLTDIV): Likewise.
36371         (FPE_FLTOVF): Likewise.
36372         (FPE_FLTUND): Likewise.
36373         (FPE_FLTRES): Likewise.
36374         (FPE_FLTINV): Likewise.
36375         (FPE_FLTSUB): Likewise.
36376         (SEGV_MAPERR): Likewise.
36377         (SEGV_ACCERR): Likewise.
36378         (BUS_ADRALN): Likewise.
36379         (BUS_ADRERR): Likewise.
36380         (BUS_OBJERR): Likewise.
36381         (BUS_MCEERR_AR): Likewise.
36382         (BUS_MCEERR_AO): Likewise.
36383         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36384         (TRAP_TRACE): Likewise.
36385         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36386         __USE_XOPEN2K8].
36387         (CLD_KILLED): Likewise.
36388         (CLD_DUMPED): Likewise.
36389         (CLD_TRAPPED): Likewise.
36390         (CLD_STOPPED): Likewise.
36391         (CLD_CONTINUED): Likewise.
36392         (POLL_IN): Likewise.
36393         (POLL_OUT): Likewise.
36394         (POLL_MSG): Likewise.
36395         (POLL_ERR): Likewise.
36396         (POLL_PRI): Likewise.
36397         (POLL_HUP): Likewise.
36398         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
36399         (ILL_ILLOPN): Likewise.
36400         (ILL_ILLADR): Likewise.
36401         (ILL_ILLTRP): Likewise.
36402         (ILL_PRVOPC): Likewise.
36403         (ILL_PRVREG): Likewise.
36404         (ILL_COPROC): Likewise.
36405         (ILL_BADSTK): Likewise.
36406         (FPE_INTDIV): Likewise.
36407         (FPE_INTOVF): Likewise.
36408         (FPE_FLTDIV): Likewise.
36409         (FPE_FLTOVF): Likewise.
36410         (FPE_FLTUND): Likewise.
36411         (FPE_FLTRES): Likewise.
36412         (FPE_FLTINV): Likewise.
36413         (FPE_FLTSUB): Likewise.
36414         (SEGV_MAPERR): Likewise.
36415         (SEGV_ACCERR): Likewise.
36416         (BUS_ADRALN): Likewise.
36417         (BUS_ADRERR): Likewise.
36418         (BUS_OBJERR): Likewise.
36419         (BUS_MCEERR_AR): Likewise.
36420         (BUS_MCEERR_AO): Likewise.
36421         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36422         (TRAP_TRACE): Likewise.
36423         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36424         __USE_XOPEN2K8].
36425         (CLD_KILLED): Likewise.
36426         (CLD_DUMPED): Likewise.
36427         (CLD_TRAPPED): Likewise.
36428         (CLD_STOPPED): Likewise.
36429         (CLD_CONTINUED): Likewise.
36430         (POLL_IN): Likewise.
36431         (POLL_OUT): Likewise.
36432         (POLL_MSG): Likewise.
36433         (POLL_ERR): Likewise.
36434         (POLL_PRI): Likewise.
36435         (POLL_HUP): Likewise.
36436         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
36437         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36439         [BZ #16670]
36440         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
36441         before #include of <time.h>.
36442         [!__USE_XOPEN2K] (__need_timespec): Likewise.
36443         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
36444         (test-xfail-UNIX98/sched.h/conform): Likewise.
36446 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36448         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
36449         error absence of trapping exception support.
36450         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36452 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
36454         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
36455         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
36456         * timezone/Makefile (testdata): Move definition above include of
36457         Rules.
36458         (test-zones): New variable.
36459         (tests-special): Add zone files.
36460         (build-testdata): Use $(evaluate-test).
36462         * elf/Makefile (tests-special): Rename tests to end with .out.
36463         ($(objpfx)noload-mem): Likewise.
36464         ($(objpfx)tst-leaks1-mem): Likewise.
36465         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
36466         * iconv/Makefile (xtests-special): Change test-iconvconfig to
36467         $(objpfx)test-iconvconfig.out.
36468         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
36469         set -e inside subshell and redirect output to file.
36470         * iconvdata/Makefile (generated): Rename tests to end with .out.
36471         Correct type.
36472         (tests-special): Rename tests to end with .out.
36473         ($(objpfx)mtrace-tst-loading): Likewise.
36474         * intl/Makefile (generated): Likewise.
36475         (tests-special): Likewise.
36476         ($(objpfx)mtrace-tst-gettext): Likewise.
36477         * misc/Makefile (generated): Likewise.
36478         (tests-special): Likewise.
36479         ($(objpfx)tst-error1-mem): Likewise.
36480         * nptl/Makefile (tests-special): Likewise.
36481         ($(objpfx)tst-stack3-mem): Likewise.
36482         (generated): Likewise.
36483         * posix/Makefile (generated): Likewise.
36484         (tests-special): Likewise.
36485         (xtests-special): Likewise.
36486         ($(objpfx)tst-fnmatch-mem): Likewise.
36487         ($(objpfx)bug-regex2-mem): Likewise.
36488         ($(objpfx)bug-regex14-mem): Likewise.
36489         ($(objpfx)bug-regex21-mem): Likewise.
36490         ($(objpfx)bug-regex31-mem): Likewise.
36491         ($(objpfx)tst-vfork3-mem): Likewise.
36492         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
36493         ($(objpfx)tst-pcre-mem): Likewise.
36494         ($(objpfx)tst-boost-mem): Likewise.
36495         ($(objpfx)bug-ga2-mem): Likewise.
36496         ($(objpfx)bug-glob2-mem): Likewise.
36497         * resolv/Makefile (generate): Likewise.
36498         (tests-special): Likewise.
36499         (xtests-special): Likewise.
36500         (generated): Likewise.
36501         ($(objpfx)mtrace-tst-leaks): Likewise.
36502         ($(objpfx)mtrace-tst-leaks2): Likewise.
36504         * scripts/merge-test-results.sh: New file.
36505         * Makefile (tests-special-notdir): New variable.
36506         (tests): Run merge-test-results.sh.
36507         (xtests): Likewise.
36508         * Rules (tests-special-notdir): New variable.
36509         (xtests-special-notdir): Likewise.
36510         (tests): Run merge-test-results.sh
36511         (xtests): Likewise.
36513         * Makeconfig (test-xfail-name): New variable.
36514         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
36515         compute variable name for expected failures.
36516         * conform/Makefile (conformtest-headers-data): New variable.
36517         (conformtest-standards): Likewise.
36518         (conformtest-headers-ISO): Likewise.
36519         (conformtest-headers-ISO99): Likewise.
36520         (conformtest-headers-ISO11): Likewise.
36521         (conformtest-headers-POSIX): Likewise.
36522         (conformtest-headers-XPG3): Likewise.
36523         (conformtest-headers-XPG4): Likewise.
36524         (conformtest-headers-UNIX98): Likewise.
36525         (conformtest-headers-XOPEN2K): Likewise.
36526         (conformtest-headers-POSIX2008): Likewise.
36527         (conformtest-headers-XOPEN2K8): Likewise.
36528         (conformtest-header-list-base): Likewise.
36529         (conformtest-header-list-tests): Likewise.
36530         (conformtest-header-base): Likewise.
36531         (conformtest-header-tests): Likewise.
36532         (tests-special): Add $(conformtest-header-list-tests).  If
36533         [$(fast-check) && !$(cross-compiling)], add
36534         $(conformtest-header-tests) instead of
36535         $(objpfx)run-conformtest.out.
36536         (generated): Add $(conformtest-header-list-base).  If
36537         [$(fast-check) && !$(cross-compiling)], add
36538         $(conformtest-header-base).  Remove previous setting.
36539         ($(conformtest-header-list-tests)): New target.
36540         (test-xfail-run-conformtest): Remove variable.
36541         ($(objpfx)run-conformtest.out): Remove target.
36542         (test-xfail-ISO11/complex.h/conform): New variable.
36543         (test-xfail-ISO11/stdalign.h/conform): Likewise.
36544         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
36545         (test-xfail-XPG3/varargs.h/conform): Likewise.
36546         (test-xfail-XPG4/varargs.h/conform): Likewise.
36547         (test-xfail-UNIX98/varargs.h/conform): Likewise.
36548         (test-xfail-XPG4/ndbm.h/conform): Likewise.
36549         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
36550         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
36551         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
36552         (test-xfail-XPG3/fcntl.h/conform): Likewise.
36553         (test-xfail-XPG3/ftw.h/conform): Likewise.
36554         (test-xfail-XPG3/grp.h/conform): Likewise.
36555         (test-xfail-XPG3/langinfo.h/conform): Likewise.
36556         (test-xfail-XPG3/limits.h/conform): Likewise.
36557         (test-xfail-XPG3/pwd.h/conform): Likewise.
36558         (test-xfail-XPG3/search.h/conform): Likewise.
36559         (test-xfail-XPG3/signal.h/conform): Likewise.
36560         (test-xfail-XPG3/stdio.h/conform): Likewise.
36561         (test-xfail-XPG3/stdlib.h/conform): Likewise.
36562         (test-xfail-XPG3/string.h/conform): Likewise.
36563         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
36564         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
36565         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
36566         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
36567         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
36568         (test-xfail-XPG3/sys/types.h/conform): Likewise.
36569         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
36570         (test-xfail-XPG3/termios.h/conform): Likewise.
36571         (test-xfail-XPG3/time.h/conform): Likewise.
36572         (test-xfail-XPG3/unistd.h/conform): Likewise.
36573         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
36574         (test-xfail-XPG4/fcntl.h/conform): Likewise.
36575         (test-xfail-XPG4/langinfo.h/conform): Likewise.
36576         (test-xfail-XPG4/netdb.h/conform): Likewise.
36577         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
36578         (test-xfail-XPG4/signal.h/conform): Likewise.
36579         (test-xfail-XPG4/stdio.h/conform): Likewise.
36580         (test-xfail-XPG4/stdlib.h/conform): Likewise.
36581         (test-xfail-XPG4/stropts.h/conform): Likewise.
36582         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
36583         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
36584         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
36585         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
36586         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
36587         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
36588         (test-xfail-XPG4/sys/time.h/conform): Likewise.
36589         (test-xfail-XPG4/sys/types.h/conform): Likewise.
36590         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
36591         (test-xfail-XPG4/termios.h/conform): Likewise.
36592         (test-xfail-XPG4/ucontext.h/conform): Likewise.
36593         (test-xfail-XPG4/unistd.h/conform): Likewise.
36594         (test-xfail-XPG4/utmpx.h/conform): Likewise.
36595         (test-xfail-POSIX/sched.h/conform): Likewise.
36596         (test-xfail-POSIX/signal.h/conform): Likewise.
36597         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36598         (test-xfail-POSIX/tar.h/conform): Likewise.
36599         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
36600         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
36601         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
36602         (test-xfail-UNIX98/netdb.h/conform): Likewise.
36603         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
36604         (test-xfail-UNIX98/sched.h/conform): Likewise.
36605         (test-xfail-UNIX98/signal.h/conform): Likewise.
36606         (test-xfail-UNIX98/stdio.h/conform): Likewise.
36607         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
36608         (test-xfail-UNIX98/stropts.h/conform): Likewise.
36609         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
36610         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
36611         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
36612         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
36613         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
36614         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
36615         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
36616         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
36617         (test-xfail-UNIX98/unistd.h/conform): Likewise.
36618         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
36619         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
36620         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
36621         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
36622         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
36623         (test-xfail-XOPEN2K/math.h/conform): Likewise.
36624         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
36625         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
36626         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
36627         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
36628         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
36629         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
36630         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
36631         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
36632         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
36633         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
36634         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
36635         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
36636         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
36637         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
36638         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
36639         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
36640         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
36641         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
36642         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
36643         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
36644         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
36645         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
36646         (test-xfail-POSIX2008/signal.h/conform): Likewise.
36647         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
36648         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
36649         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
36650         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
36651         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
36652         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
36653         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
36654         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
36655         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
36656         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
36657         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
36658         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
36659         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
36660         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
36661         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
36662         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
36663         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
36664         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
36665         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
36666         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
36667         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
36668         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
36669         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
36670         (conformtest-cc-flags): Likewise.
36671         ($(conformtest-header-tests): New target.
36672         * conform/check-header-lists.sh: New file.
36673         * conform/run-conformtest.sh: Remove.
36675         * conform/conformtest.pl: Allow ' and \ in values given for
36676         constants.
36677         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
36678         inclusion.
36679         [POSIX] (sys/types.h): Likewise.
36680         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
36681         inclusion.
36682         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
36683         inclusion.
36684         * conform/data/signal.h-data (SIGIO): Remove expectation.
36685         [XPG3] (SIGBUS): Do not expect.
36686         [POSIX || XPG3] (SIGPOLL): Likewise.
36687         [POSIX || XPG3] (SIGPROF): Likewise.
36688         [POSIX || XPG3] (SIGSYS): Likewise.
36689         [XPG3] (SIGTRAP): Likewise.
36690         [POSIX || XPG3] (SIGURG): Likewise.
36691         [POSIX || XPG3] (SIGVTALRM): Likewise.
36692         [POSIX || XPG3] (SIGXCPU): Likewise.
36693         [POSIX || XPG3] (SIGXFSZ): Likewise.
36694         [POSIX] (SA_SIGINFO): Expect.
36695         [XPG3] (siginfo_t): Do not expect type or contents.
36696         [POSIX] (si_pid): Do not expect element.
36697         [POSIX] (si_uid): Likewise.
36698         [POSIX] (si_addr): Likewise.
36699         [POSIX] (si_status): Likewise.
36700         [POSIX] (si_band): Likewise.
36701         [XPG4] (si_value): Likewise.
36702         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
36703         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
36704         [POSIX || XPG3] (ILL_ILLADR): Likewise.
36705         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
36706         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
36707         [POSIX || XPG3] (ILL_PRVREG): Likewise.
36708         [POSIX || XPG3] (ILL_COPROC): Likewise.
36709         [POSIX || XPG3] (ILL_BADSTK): Likewise.
36710         [POSIX || XPG3] (FPE_INTDIV): Likewise.
36711         [POSIX || XPG3] (FPE_INTOVF): Likewise.
36712         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
36713         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
36714         [POSIX || XPG3] (FPE_FLTUND): Likewise.
36715         [POSIX || XPG3] (FPE_FLTRES): Likewise.
36716         [POSIX || XPG3] (FPE_FLTINV): Likewise.
36717         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
36718         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
36719         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
36720         [POSIX || XPG3] (BUS_ADRALN): Likewise.
36721         [POSIX || XPG3] (BUS_ADRERR): Likewise.
36722         [POSIX || XPG3] (BUS_OBJERR): Likewise.
36723         [POSIX || XPG3] (CLD_EXITED): Likewise.
36724         [POSIX || XPG3] (CLD_KILLED): Likewise.
36725         [POSIX || XPG3] (CLD_DUMPED): Likewise.
36726         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
36727         [POSIX || XPG3] (CLD_STOPPED): Likewise.
36728         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
36729         [POSIX || XPG3] (POLL_IN): Likewise.
36730         [POSIX || XPG3] (POLL_OUT): Likewise.
36731         [POSIX || XPG3] (POLL_MSG): Likewise.
36732         [POSIX || XPG3] (POLL_ERR): Likewise.
36733         [POSIX || XPG3] (POLL_PRI): Likewise.
36734         [POSIX || XPG3] (POLL_HUP): Likewise.
36735         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
36736         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
36737         (SIG*): Do not allow.
36738         [XPG3] (si_*): Likewise.
36739         [XPG3] (SI_*): Likewise.
36740         [XPG3 || XPG4] (sigev_*): Likewise.
36741         [XPG3 || XPG4] (SIGEV_*): Likewise.
36742         [XPG3 || XPG4] (sival_*): Likewise.
36743         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
36744         [POSIX || XPG3] (BUS_*): Likewise.
36745         [POSIX || XPG3] (CLD_*): Likewise.
36746         [POSIX || XPG3] (FPE_*): Likewise.
36747         [POSIX || XPG3] (ILL_*): Likewise.
36748         [POSIX || XPG3] (POLL_*): Likewise.
36749         [POSIX || XPG3] (SEGV_*): Likewise.
36750         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
36751         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
36752         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
36753         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
36754         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
36755         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
36756         Specify type and value.
36757         (TVERSLEN): Likewise.
36758         (REGTYPE): Likewise.
36759         (AREGTYPE): Likewise.
36760         (LNKTYPE): Likewise.
36761         (SYMTYPE): Likewise.
36762         (CHRTYPE): Likewise.
36763         (BLKTYPE): Likewise.
36764         (DIRTYPE): Likewise.
36765         (FIFOTYPE): Likewise.
36766         (CONTTYPE): Likewise.
36767         (TSUID): Likewise.
36768         (TSGID): Likewise.
36769         (TSVTX): Likewise.
36770         (TUREAD): Likewise.
36771         (TUWRITE): Likewise.
36772         (TUEXEC): Likewise.
36773         (TGREAD): Likewise.
36774         (TGWRITE): Likewise.
36775         (TGEXEC): Likewise.
36776         (TOREAD): Likewise.
36777         (TOWRITE): Likewise.
36778         (TOEXEC): Likewise.
36779         [POSIX] (TSVTX): Expect constant.
36781 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
36783         * Makefile (tests): Change dependencies to ....
36784         (tests-special): ... additions to this variable.
36785         (tests): Depend on $(tests-special).
36786         * Makerules (check-abi-list): New variable.
36787         (check-abi): Depend on $(check-abi-list).
36788         [$(subdir) = elf] (tests-special): Add
36789         $(objpfx)check-abi-libc.out.
36790         [$(build-shared) = yes && subdir] (tests-special): Add
36791         $(check-abi-list).
36792         [$(build-shared) = yes && subdir] (tests): Do not depend on
36793         check-abi.
36794         * Rules (tests): Depend on $(tests-special).
36795         (xtests): Depend on $(xtests-special).
36796         * catgets/Makefile (tests): Change dependencies to ....
36797         (tests-special): ... additions to this variable.
36798         * conform/Makefile (tests): Change dependencies to ....
36799         (tests-special): ... additions to this variable.
36800         * elf/Makefile (tests): Change dependencies to ....
36801         (tests-special): ... additions to this variable.
36802         * grp/Makefile (tests): Change dependencies to ....
36803         (tests-special): ... additions to this variable.
36804         * iconv/Makefile (xtests): Change dependencies to ....
36805         (xtests-special): ... additions to this variable.
36806         * iconvdata/Makefile (tests): Change dependencies to ....
36807         (tests-special): ... additions to this variable.
36808         * intl/Makefile (tests): Change dependencies to ....
36809         (tests-special): ... additions to this variable.  Also add
36810         $(objpfx)tst-gettext.out.
36811         * io/Makefile (tests): Change dependencies to ....
36812         (tests-special): ... additions to this variable.
36813         * libio/Makefile (tests): Change dependencies to ....
36814         (tests-special): ... additions to this variable.
36815         * malloc/Makefile (tests): Change dependencies to ....
36816         (tests-special): ... additions to this variable.
36817         * misc/Makefile (tests): Change dependencies to ....
36818         (tests-special): ... additions to this variable.
36819         * nptl/Makefile (tests): Change dependencies to ....
36820         (tests-special): ... additions to this variable.
36821         * nptl_db/Makefile (tests): Change dependencies to ....
36822         (tests-special): ... additions to this variable.
36823         * posix/Makefile (tests): Change dependencies to ....
36824         (tests-special): ... additions to this variable.
36825         (xtests): Change dependencies to ....
36826         (xtests-special): ... additions to this variable.
36827         * resolv/Makefile (tests): Change dependencies to ....
36828         (tests-special): ... additions to this variable.
36829         (xtests): Change dependencies to ....
36830         (xtests-special): ... additions to this variable.
36831         * stdio-common/Makefile (tests): Change dependencies to ....
36832         (tests-special): ... additions to this variable.
36833         (do-tst-unbputc): Remove target.
36834         (do-tst-printf): Likewise.
36835         * stdlib/Makefile (tests): Change dependencies to ....
36836         (tests-special): ... additions to this variable.
36837         * string/Makefile (tests): Change dependencies to ....
36838         (tests-special): ... additions to this variable.
36839         * sysdeps/x86/Makefile (tests): Change dependencies to ....
36840         (tests-special): ... additions to this variable.
36842         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
36843         whole file.
36844         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
36845         whole file.
36846         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
36847         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
36849         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
36850         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
36851         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
36852         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
36853         * conform/data/libgen.h-data [XPG3]: Likewise.
36854         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
36855         * conform/data/ndbm.h-data [XPG3]: Likewise.
36856         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36857         * conform/data/netdb.h-data [XPG3]: Likewise.
36858         * conform/data/netinet/in.h-data [XPG3]: Likewise.
36859         * conform/data/poll.h-data [XPG3]: Likewise.
36860         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36861         * conform/data/strings.h-data [XPG3]: Likewise.
36862         * conform/data/stropts.h-data [XPG3]: Likewise.
36863         * conform/data/sys/mman.h-data [XPG3]: Likewise.
36864         * conform/data/sys/resource.h-data [XPG3]: Likewise.
36865         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
36866         Likewise.
36867         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
36868         * conform/data/sys/time.h-data [XPG3]: Likewise.
36869         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
36870         * conform/data/sys/uio.h-data [XPG3]: Likewise.
36871         * conform/data/sys/un.h-data [XPG3]: Likewise.
36872         * conform/data/syslog.h-data [XPG3]: Likewise.
36873         * conform/data/ucontext.h-data [XPG3]: Likewise.
36874         * conform/data/utmpx.h-data [XPG3]: Likewise.
36875         * conform/data/varargs.h-data [UNIX98]: Enable file.
36877         * manual/Makefile (INSTALL_INFO): Remove variable setting.
36879         * math/libm-test.inc (struct test_f_f_data): Move expected results
36880         into structure for each rounding mode.
36881         (struct test_ff_f_data): Likewise.
36882         (struct test_ff_f_data_nexttoward): Likewise.
36883         (struct test_fi_f_data): Likewise.
36884         (struct test_fl_f_data): Likewise.
36885         (struct test_if_f_data): Likewise.
36886         (struct test_fff_f_data): Likewise.
36887         (struct test_c_f_data): Likewise.
36888         (struct test_f_f1_data): Likewise.
36889         (struct test_fF_f1_data): Likewise.
36890         (struct test_ffI_f1_data): Likewise.
36891         (struct test_c_c_data): Likewise.
36892         (struct test_cc_c_data): Likewise.
36893         (struct test_f_i_data): Likewise.
36894         (struct test_ff_i_data): Likewise.
36895         (struct test_f_l_data): Likewise.
36896         (struct test_f_L_data): Likewise.
36897         (struct test_fFF_11_data): Likewise.
36898         (RM_): New macro.
36899         (RM_FE_DOWNWARD): Likewise.
36900         (RM_FE_TONEAREST): Likewise.
36901         (RM_FE_TOWARDZERO): Likewise.
36902         (RM_FE_UPWARD): Likewise.
36903         (RUN_TEST_LOOP_f_f): Update references to expected results.
36904         (RUN_TEST_LOOP_2_f): Likewise.
36905         (RUN_TEST_LOOP_fff_f): Likewise.
36906         (RUN_TEST_LOOP_c_f): Likewise.
36907         (RUN_TEST_LOOP_f_f1): Likewise.
36908         (RUN_TEST_LOOP_fF_f1): Likewise.
36909         (RUN_TEST_LOOP_fI_f1): Likewise.
36910         (RUN_TEST_LOOP_ffI_f1): Likewise.
36911         (RUN_TEST_LOOP_c_c): Likewise.
36912         (RUN_TEST_LOOP_cc_c): Likewise.
36913         (RUN_TEST_LOOP_f_i): Likewise.
36914         (RUN_TEST_LOOP_f_i_tg): Likewise.
36915         (RUN_TEST_LOOP_ff_i_tg): Likewise.
36916         (RUN_TEST_LOOP_f_b): Likewise.
36917         (RUN_TEST_LOOP_f_b_tg): Likewise.
36918         (RUN_TEST_LOOP_f_l): Likewise.
36919         (RUN_TEST_LOOP_f_L): Likewise.
36920         (RUN_TEST_LOOP_fFF_11): Likewise.
36921         * math/gen-libm-test.pl (parse_args): Output four copies of
36922         expected results for each test.
36924         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36925         (__ASSUME_UTIMES): Remove.
36926         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36927         (__ASSUME_UTIMES): Likewise.
36929         * math/gen-auto-libm-tests.c: Update comment on output format.
36930         (output_for_one_input_case): Generate before-rounding and
36931         after-rounding information as conditions on output flags not
36932         floating-point format.
36933         * math/auto-libm-test-out: Regenerated.
36934         * math/gen-libm-test.pl (cond_value): New function.
36935         (or_cond_value): Use cond_value.
36936         (generate_testfile): Handle conditional exceptions.
36938 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
36940         * math/libm-test.inc (max_valid_error): New variable.
36941         (init_max_error): Take new argument specifying whether function
36942         results are exactly determined.  Set max_valid_error and bound
36943         other variables for errors based on this argument.
36944         (set_max_error): Do not record results above max_valid_error.
36945         (check_float_internal): Only accept errors of up to 0.5ulps if
36946         also at most max_valid_error.
36947         (START): Take new argument EXACT and pass it to init_max_error.
36948         (acos_test): Update call to START.
36949         (acos_test_tonearest): Likewise.
36950         (acos_test_towardzero): Likewise.
36951         (acos_test_downward): Likewise.
36952         (acos_test_upward): Likewise.
36953         (acosh_test): Likewise.
36954         (asin_test): Likewise.
36955         (asin_test_tonearest): Likewise.
36956         (asin_test_towardzero): Likewise.
36957         (asin_test_downward): Likewise.
36958         (asin_test_upward): Likewise.
36959         (asinh_test): Likewise.
36960         (atan_test): Likewise.
36961         (atanh_test): Likewise.
36962         (atan2_test): Likewise.
36963         (cabs_test): Likewise.
36964         (cacos_test): Likewise.
36965         (cacosh_test): Likewise.
36966         (carg_test): Likewise.
36967         (casin_test): Likewise.
36968         (casinh_test): Likewise.
36969         (catan_test): Likewise.
36970         (catanh_test): Likewise.
36971         (cbrt_test): Likewise.
36972         (ccos_test): Likewise.
36973         (ccosh_test): Likewise.
36974         (ceil_test): Likewise.
36975         (cexp_test): Likewise.
36976         (cimag_test): Likewise.
36977         (clog_test): Likewise.
36978         (clog10_test): Likewise.
36979         (conj_test): Likewise.
36980         (copysign_test): Likewise.
36981         (cos_test): Likewise.
36982         (cos_test_tonearest): Likewise.
36983         (cos_test_towardzero): Likewise.
36984         (cos_test_downward): Likewise.
36985         (cos_test_upward): Likewise.
36986         (cosh_test): Likewise.
36987         (cosh_test_tonearest): Likewise.
36988         (cosh_test_towardzero): Likewise.
36989         (cosh_test_downward): Likewise.
36990         (cosh_test_upward): Likewise.
36991         (cpow_test): Likewise.
36992         (cproj_test): Likewise.
36993         (creal_test): Likewise.
36994         (csin_test): Likewise.
36995         (csinh_test): Likewise.
36996         (csqrt_test): Likewise.
36997         (ctan_test): Likewise.
36998         (ctan_test_tonearest): Likewise.
36999         (ctan_test_towardzero): Likewise.
37000         (ctan_test_downward): Likewise.
37001         (ctan_test_upward): Likewise.
37002         (ctanh_test): Likewise.
37003         (ctanh_test_tonearest): Likewise.
37004         (ctanh_test_towardzero): Likewise.
37005         (ctanh_test_downward): Likewise.
37006         (ctanh_test_upward): Likewise.
37007         (erf_test): Likewise.
37008         (erfc_test): Likewise.
37009         (exp_test): Likewise.
37010         (exp_test_tonearest): Likewise.
37011         (exp_test_towardzero): Likewise.
37012         (exp_test_downward): Likewise.
37013         (exp_test_upward): Likewise.
37014         (exp10_test): Likewise.
37015         (exp10_test_tonearest): Likewise.
37016         (exp10_test_towardzero): Likewise.
37017         (exp10_test_downward): Likewise.
37018         (exp10_test_upward): Likewise.
37019         (pow10_test): Likewise.
37020         (exp2_test): Likewise.
37021         (expm1_test): Likewise.
37022         (expm1_test_tonearest): Likewise.
37023         (expm1_test_towardzero): Likewise.
37024         (expm1_test_downward): Likewise.
37025         (expm1_test_upward): Likewise.
37026         (fabs_test): Likewise.
37027         (fdim_test): Likewise.
37028         (floor_test): Likewise.
37029         (fma_test): Likewise.
37030         (fma_test_towardzero): Likewise.
37031         (fma_test_downward): Likewise.
37032         (fma_test_upward): Likewise.
37033         (fmax_test): Likewise.
37034         (fmin_test): Likewise.
37035         (fmod_test): Likewise.
37036         (fpclassify_test): Likewise.
37037         (frexp_test): Likewise.
37038         (hypot_test): Likewise.
37039         (ilogb_test): Likewise.
37040         (isfinite_test): Likewise.
37041         (finite_test): Likewise.
37042         (isgreater_test): Likewise.
37043         (isgreaterequal_test): Likewise.
37044         (isinf_test): Likewise.
37045         (isless_test): Likewise.
37046         (islessequal_test): Likewise.
37047         (islessgreater_test): Likewise.
37048         (isnan_test): Likewise.
37049         (isnormal_test): Likewise.
37050         (issignaling_test): Likewise.
37051         (isunordered_test): Likewise.
37052         (j0_test): Likewise.
37053         (j1_test): Likewise.
37054         (jn_test): Likewise.
37055         (ldexp_test): Likewise.
37056         (lgamma_test): Likewise.
37057         (gamma_test): Likewise.
37058         (lrint_test): Likewise.
37059         (lrint_test_tonearest): Likewise.
37060         (lrint_test_towardzero): Likewise.
37061         (lrint_test_downward): Likewise.
37062         (lrint_test_upward): Likewise.
37063         (llrint_test): Likewise.
37064         (llrint_test_tonearest): Likewise.
37065         (llrint_test_towardzero): Likewise.
37066         (llrint_test_downward): Likewise.
37067         (llrint_test_upward): Likewise.
37068         (log_test): Likewise.
37069         (log10_test): Likewise.
37070         (log1p_test): Likewise.
37071         (log2_test): Likewise.
37072         (logb_test): Likewise.
37073         (logb_test_downward): Likewise.
37074         (lround_test): Likewise.
37075         (llround_test): Likewise.
37076         (modf_test): Likewise.
37077         (nearbyint_test): Likewise.
37078         (nextafter_test): Likewise.
37079         (nexttoward_test): Likewise.
37080         (pow_test): Likewise.
37081         (pow_test_tonearest): Likewise.
37082         (pow_test_towardzero): Likewise.
37083         (pow_test_downward): Likewise.
37084         (pow_test_upward): Likewise.
37085         (remainder_test): Likewise.
37086         (drem_test): Likewise.
37087         (remainder_test_tonearest): Likewise.
37088         (drem_test_tonearest): Likewise.
37089         (remainder_test_towardzero): Likewise.
37090         (drem_test_towardzero): Likewise.
37091         (remainder_test_downward): Likewise.
37092         (drem_test_downward): Likewise.
37093         (remainder_test_upward): Likewise.
37094         (drem_test_upward): Likewise.
37095         (remquo_test): Likewise.
37096         (rint_test): Likewise.
37097         (rint_test_tonearest): Likewise.
37098         (rint_test_towardzero): Likewise.
37099         (rint_test_downward): Likewise.
37100         (rint_test_upward): Likewise.
37101         (round_test): Likewise.
37102         (scalb_test): Likewise.
37103         (scalbn_test): Likewise.
37104         (scalbln_test): Likewise.
37105         (signbit_test): Likewise.
37106         (sin_test): Likewise.
37107         (sin_test_tonearest): Likewise.
37108         (sin_test_towardzero): Likewise.
37109         (sin_test_downward): Likewise.
37110         (sin_test_upward): Likewise.
37111         (sincos_test): Likewise.
37112         (sinh_test): Likewise.
37113         (sinh_test_tonearest): Likewise.
37114         (sinh_test_towardzero): Likewise.
37115         (sinh_test_downward): Likewise.
37116         (sinh_test_upward): Likewise.
37117         (sqrt_test): Likewise.
37118         (sqrt_test_tonearest): Likewise.
37119         (sqrt_test_towardzero): Likewise.
37120         (sqrt_test_downward): Likewise.
37121         (sqrt_test_upward): Likewise.
37122         (tan_test): Likewise.
37123         (tan_test_tonearest): Likewise.
37124         (tan_test_towardzero): Likewise.
37125         (tan_test_downward): Likewise.
37126         (tan_test_upward): Likewise.
37127         (tanh_test): Likewise.
37128         (tgamma_test): Likewise.
37129         (trunc_test): Likewise.
37130         (y0_test): Likewise.
37131         (y1_test): Likewise.
37132         (yn_test): Likewise.
37133         (significand_test): Likewise.
37135         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
37136         individual tests in comment.
37137         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
37138         (prev_max_error): New variable.
37139         (prev_real_max_error): Likewise.
37140         (prev_imag_max_error): Likewise.
37141         (compare_ulp_data): Don't refer to test names in comment.
37142         (find_test_ulps): Remove function.
37143         (find_function_ulps): Likewise.
37144         (find_complex_function_ulps): Likewise.
37145         (init_max_error): Take function name as argument.  Look up ulps
37146         for that function.
37147         (print_ulps): Remove function.
37148         (print_max_error): Use prev_max_error instead of calling
37149         find_function_ulps.
37150         (print_complex_max_error): Use prev_real_max_error and
37151         prev_imag_max_error instead of calling find_complex_function_ulps.
37152         (check_float_internal): Take max_ulp parameter instead of calling
37153         find_test_ulps.  Don't call print_ulps.
37154         (check_float): Update call to check_float_internal.
37155         (check_complex): Update calls to check_float_internal.
37156         (START): Pass argument to init_max_error.
37157         * math/gen-libm-test.pl (%results): Don't include "kind"
37158         information.
37159         (parse_ulps): Don't handle ulps of individual tests.
37160         (print_ulps_file): Likewise.
37161         (output_ulps): Likewise.
37162         * math/README.libm-test: Update.
37163         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
37164         individual tests.
37165         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
37166         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
37167         * sysdeps/arm/libm-test-ulps: Likewise.
37168         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
37169         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
37170         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
37171         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
37172         * sysdeps/microblaze/libm-test-ulps: Likewise.
37173         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
37174         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
37175         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37176         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
37177         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37178         * sysdeps/sh/libm-test-ulps: Likewise.
37179         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37180         * sysdeps/tile/libm-test-ulps: Likewise.
37181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37183 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
37185         * math/libm-test.inc (print_complex_max_error): Check separately
37186         whether real and imaginary errors are within allowed range and
37187         pass 0 to print_complex_function_ulps instead of value within
37188         allowed range.
37190 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37192         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
37193         formatting.
37194         (get_handles_fopen): Likewise.
37195         (do_write_test): Likewise.
37197         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
37199         * libio/fileops.c (do_ftell): Use cached offset when
37200         available.
37201         * libio/iofwide.c (do_ftell_wide): Likewise.
37202         * libio/iofdopen.c (_IO_new_fdopen): Don't use
37203         _IO_file_attach.
37204         * libio/wfileops.c (_IO_fwide): Don't cache offset.
37206         [BZ #16532]
37207         * libio/libioP.h (get_file_offset): New function.
37208         * libio/fileops.c (get_file_offset): Likewise.
37209         (do_ftell): Likewise.
37210         (_IO_new_file_seekoff): Split out ftell logic.
37211         * libio/wfileops.c (do_ftell_wide): Likewise.
37212         (_IO_wfile_seekoff): Split out ftell logic.
37213         * libio/tst-ftell-active-handler.c: New test case.
37214         * libio/Makefile (tests): Add it.
37216 2014-03-03  Roland McGrath  <roland@hack.frob.com>
37218         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
37219         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
37221 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
37223         [BZ #16639]
37224         * nscd/connections.c (nscd_init): Call do_exit.
37225         (start_threads): Call do_exit and notify_parent.
37226         (begin_drop_privileges): Call do_exit.
37227         (finish_drop_privileges): Likewise.
37228         * nscd/selinux.c (preserve_capabilities): Likewise.
37229         (install_real_capabilities): Likewise.
37230         (nscd_selinux_enabled): Likewise.
37231         (avc_create_thread): Likewise.
37232         (avc_alloc_lock): Likewise.
37233         (nscd_avc_init): Likewise.
37234         * nscd/nscd.c (parent_fd): New static variable.
37235         (main): Create a pipe between parent and child processes.
37236         Skip closing parent_fd.
37237         (monitor_child): New function.
37238         (do_exit): Likewise.
37239         (notify_parent): Likewise.
37240         * nscd/nscd.h (notify_parent): Likewise.
37241         (do_exit): Likewise.
37243 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
37245         * malloc/malloc.c (__libc_calloc): Revert last change.
37247 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37249         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37251 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37253         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
37254         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
37255         implementation.
37256         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37257         (__libc_ifunc_impl_list): Likewise.
37258         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
37259         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
37260         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
37261         * string/strrchr.c: Define STRRCHR.
37263 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
37265         * benchtest/bench-strtok.c (simple_strtok): Delete.
37266         (strtok_string): Use as benchmark.
37267         * string/strtok (STRTOK): New macro.
37269 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
37271         * manual/threads.texi: Add header and standard comments to all
37272         functions.
37274         * elf/dl-lookup.c (check_match): New function.
37275         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
37276         (do_lookup_x): Remove nested function check_match. Use non-nested
37277         function check_match.
37279 2014-02-28  Roland McGrath  <roland@hack.frob.com>
37281         * csu/Makefile (generated, before-compile): Use += rather than =.
37282         * catgets/Makefile (generated, generated-dirs): Likewise.
37283         * debug/Makefile (generated): Likewise.
37284         * dlfcn/Makefile (generated): Likewise.
37285         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
37286         * iconvdata/Makefile (before-compile, generated): Likewise.
37287         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
37288         * libio/Makefile (generated): Likewise.
37289         * malloc/Makefile (generated): Likewise.
37290         * manual/Makefile (generated, generated-dirs): Likewise.
37291         * misc/Makefile (generated): Likewise.
37292         * posix/Makefile (generated): Likewise.
37293         * resolv/Makefile (generated): Likewise.
37294         * sunrpc/Makefile (generated, generated-dirs): Likewise.
37295         * timezone/Makefile (generated, generated-dirs): Likewise.
37297         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
37299 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37301         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
37302         power8 implementation.
37303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
37304         file: POWER8 llround ifunc implementation.
37305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
37306         (__lllround): Add POWER8 implementation.
37307         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
37308         POWER8 llround implementation.
37310         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
37311         power8 implementation.
37312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
37313         file: POWER8 llrint ifunc implementation.
37314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
37315         Add POWER8 implementation.
37316         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
37317         POWER8 llrint implementation.
37319         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
37320         power8 implementation.
37321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
37322         file: POWER8 finite ifunc implementation.
37323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
37324         Add POWER8 implementation.
37325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
37326         Likewise.
37327         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
37328         POWER8 finite implementation.
37329         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
37331         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
37332         power8 implementation.
37333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
37334         file: POWER8 isinf ifunc implementation.
37335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
37336         POWER8 implementation.
37337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
37338         Likewise.
37339         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
37340         isinf implementation.
37341         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
37343         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
37344         (INIT_ARCH): Add hwcap2 initialization.
37345         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
37346         power8 implementation.
37347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
37348         file: POWER8 isnan ifunc implementation.
37349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
37350         POWER8 implementation.
37351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
37352         Likewise.
37353         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
37354         isnan implementation.
37355         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
37357 2014-02-27  Joey Ye  <joey.ye@arm.com>
37359         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
37360         (_FP_NANFRAC_Q): Set to zero.
37362 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37364         [BZ #16623]
37365         * math/auto-libm-test-in: New test inputs.
37366         * math/auto-libm-test-out: Regenerate.
37367         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
37368         and DA.
37369         (__cos): Likewise.
37370         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37372 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
37374         * scripts/evaluate-test.sh: Take new argument indicating whether
37375         failure is expected.
37376         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
37377         indicating whether failure is expected.
37378         * conform/Makefile (test-xfail-run-conformtest): New variable.
37379         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
37380         level.
37381         * posix/Makefile (test-xfail-annexc): New variable.
37382         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
37384 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
37386         * argp/Makefile: Include Makeconfig immediately after defining
37387         subdir.
37388         * assert/Makefile: Likewise.
37389         * benchtests/Makefile: Likewise.
37390         * catgets/Makefile: Likewise.
37391         * conform/Makefile: Likewise.
37392         * crypt/Makefile: Likewise.
37393         * csu/Makefile: Likewise.
37394         (all): Remove target.
37395         * ctype/Makefile: Include Makeconfig immediately after defining
37396         subdir.
37397         * debug/Makefile: Likewise.
37398         * dirent/Makefile: Likewise.
37399         * dlfcn/Makefile: Likewise.
37400         * gmon/Makefile: Likewise.
37401         * gnulib/Makefile: Likewise.
37402         * grp/Makefile: Likewise.
37403         * gshadow/Makefile: Likewise.
37404         * hesiod/Makefile: Likewise.
37405         * hurd/Makefile: Likewise.
37406         (all): Remove target.
37407         * iconvdata/Makefile: Include Makeconfig immediately after
37408         defining subdir.
37409         * inet/Makefile: Likewise.
37410         * intl/Makefile: Likewise.
37411         * io/Makefile: Likewise.
37412         * libio/Makefile: Likewise.
37413         (all): Remove target.
37414         * locale/Makefile: Include Makeconfig immediately after defining
37415         subdir.
37416         * login/Makefile: Likewise.
37417         * mach/Makefile: Likewise.
37418         (all): Remove target.
37419         * malloc/Makefile: Include Makeconfig immediately after defining
37420         subdir.
37421         (all): Remove target.
37422         * manual/Makefile: Include Makeconfig immediately after defining
37423         subdir.
37424         * math/Makefile: Likewise.
37425         * misc/Makefile: Likewise.
37426         * nis/Makefile: Likewise.
37427         * nss/Makefile: Likewise.
37428         * po/Makefile: Likewise.
37429         (all): Remove target.
37430         * posix/Makefile: Include Makeconfig immediately after defining
37431         subdir.
37432         * pwd/Makefile: Likewise.
37433         * resolv/Makefile: Likewise.
37434         * resource/Makefile: Likewise.
37435         * rt/Makefile: Likewise.
37436         * setjmp/Makefile: Likewise.
37437         * shadow/Makefile: Likewise.
37438         * signal/Makefile: Likewise.
37439         * socket/Makefile: Likewise.
37440         * soft-fp/Makefile: Likewise.
37441         * stdio-common/Makefile: Likewise.
37442         * stdlib/Makefile: Likewise.
37443         * streams/Makefile: Likewise.
37444         * string/Makefile: Likewise.
37445         * sunrpc/Makefile: Likewise.
37446         (all): Remove target.
37447         * sysvipc/Makefile: Include Makeconfig immediately after defining
37448         subdir.
37449         * termios/Makefile: Likewise.
37450         * time/Makefile: Likewise.
37451         * timezone/Makefile: Likewise.
37452         (all): Remove target.
37453         * wcsmbs/Makefile: Include Makeconfig immediately after defining
37454         subdir.
37455         * wctype/Makefile: Likewise.
37457 2014-02-26  Steve Ellcey  <sellcey@mips.com>
37459         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
37460         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
37461         (libc_feholdexcept_setround_mips): Ditto.
37462         (libc_feholdsetround): New.
37463         (libc_feholdsetroundf): New.
37464         (libc_feholdsetroundl): New.
37465         (libc_feupdateenv_test_mips): New.
37466         (libc_feupdateenv_test): New.
37467         (libc_feupdateenv_testf): New.
37468         (libc_feupdateenv_testl): New.
37469         (libc_feresetround): New.
37470         (libc_feresetroundf): New.
37471         (libc_feresetroundl): New.
37472         (libc_fetestexcept_mips): New.
37473         (libc_fetestexcept): New.
37474         (libc_fetestexceptf): New.
37475         (libc_fetestexceptl): New.
37476         (HAVE_RM_CTX): New.
37477         (libc_feholdexcept_setround_mips_ctx): New.
37478         (libc_feholdexcept_setround_ctx): New.
37479         (libc_feholdexcept_setroundf_ctx): New.
37480         (libc_feholdexcept_setroundl_ctx): New.
37481         (libc_fesetenv_mips_ctx): New.
37482         (libc_fesetenv_ctx): New.
37483         (libc_fesetenv_ctxf): New.
37484         (libc_fesetenv_ctxl): New.
37485         (libc_feupdateenv_mips_ctx): New.
37486         (libc_feupdateenv_ctx): New.
37487         (libc_feupdateenvf_ctx): New.
37488         (libc_feupdateenvl_ctx): New.
37489         (libc_feholdsetround_mips_ctx): New.
37490         (libc_feholdsetround_ctx): New.
37491         (libc_feholdsetroundf_ctx): New.
37492         (libc_feholdsetroundl_ctx): New.
37493         (libc_feresetround_mips_ctx): New.
37494         (libc_feresetround_ctx): New.
37495         (libc_feresetroundf_ctx): New.
37496         (libc_feresetroundl_ctx): New.
37498 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
37500         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
37502         * manual/ipc.texi: New file.
37503         * manual/Makefile (chapters): Add ipc.
37504         * manual/job.texi: Add "Inter-Process Communication" to next.
37505         * manual/process.texi: Add "Inter-Process Communication" to prev.
37507 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37509         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37511 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
37513         * malloc/malloc.c (__libc_calloc): Simplify implementation.
37515         * manual/arith.texi: Fix spaces after sentences.
37516         * manual/charset.texi: Likewise.
37517         * manual/errno.texi: Likewise.
37518         * manual/install.texi: Likewise.
37519         * manual/llio.texi: Likewise.
37520         * manual/locale.texi: Likewise.
37521         * manual/maint.texi: Likewise.
37522         * manual/math.texi: Likewise.
37523         * manual/memory.texi: Likewise.
37524         * manual/message.texi: Likewise.
37525         * manual/probes.texi: Likewise.
37526         * manual/resource.texi: Likewise.
37527         * manual/signal.texi: Likewise.
37528         * manual/socket.texi: Likewise.
37529         * manual/stdio.texi: Likewise.
37530         * manual/string.texi: Likewise.
37531         * manual/time.texi: Likewise.
37532         * manual/users.texi: Likewise.
37534 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
37536         [BZ #16632]
37537         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
37538         _DEFAULT_SOURCE is defined.
37540 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
37541             Carlos O'Donell  <carlos@redhat.com>
37543         [BZ #16613]
37544         * elf/dl-tls.c (_dl_count_modids): New function.
37545         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
37546         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
37547         audit library and increment generation counter.
37548         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
37549         * elf/tst-audit9.c: New file.
37550         * elf/tst-auditmod9a.c: New file.
37551         * elf/tst-auditmod9b.c: New file.
37552         * elf/Makefile: Add rules to build and run tst-audit9.
37554 2014-02-25  Florian Weimer  <fweimer@redhat.com>
37556         [BZ #15347]
37557         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
37559 2014-02-25  Will Newton  <will.newton@linaro.org>
37561         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
37562         (__longjmp): Restore sp and lr before restoring callee
37563         saved registers.  Add longjmp and longjmp_target
37564         SystemTap probe point.
37565         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
37566         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
37567         Define to zero to match jmpbuf layout.
37568         * sysdeps/arm/setjmp.S: Include stap-probe.h.
37569         (__sigsetjmp): Save sp and lr before saving callee
37570         saved registers.  Add setjmp SystemTap probe point.
37572 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
37574         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37576 2014-02-24  Andreas Schwab  <schwab@suse.de>
37578         [BZ #15804]
37579         * elf/pldd.c (wait_for_ptrace_stop): New function.
37580         (main): Call it after attaching.
37582 2014-02-22  Roland McGrath  <roland@hack.frob.com>
37584         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
37585         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
37586         Versions files is now verboten.
37587         * hurd/Versions (libc: GLIBC_2.0):
37588         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
37589         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
37590         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
37591         * mach/Versions: Likewise.
37593         * csu/Versions: Remove unused %include.
37594         * resolv/Versions: Likewise.
37596 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
37598         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
37599         ($(objpfx)check-local-headers.out): Likewise.
37600         ($(objpfx)begin-end-check.out): Likewise.
37601         * Makerules (check-abi-%.out): Likewise.
37602         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
37603         ($(objpfx)test2.cat): Likewise.
37604         ($(objpfx)de/libc.cat): Likewise.
37605         ($(objpfx)test-gencat.out): Likewise.
37606         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
37607         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
37608         ($(objpfx)noload-mem): Likewise.
37609         ($(objpfx)tst-pathopt.out): Likewise.
37610         ($(objpfx)tst-rtld-load-self.out): Likewise.
37611         ($(objpfx)tst-array1-cmp.out): Likewise.
37612         ($(objpfx)tst-array1-static-cmp.out): Likewise.
37613         ($(objpfx)tst-array2-cmp.out): Likewise.
37614         ($(objpfx)tst-array3-cmp.out): Likewise.
37615         ($(objpfx)tst-array4-cmp.out): Likewise.
37616         ($(objpfx)tst-array5-cmp.out): Likewise.
37617         ($(objpfx)tst-array5-static-cmp.out): Likewise.
37618         ($(objpfx)check-textrel.out): Likewise.
37619         ($(objpfx)check-execstack.out): Likewise.
37620         ($(objpfx)check-localplt.out): Likewise.
37621         ($(objpfx)order2-cmp.out): Likewise.
37622         ($(objpfx)tst-leaks1-mem): Likewise.
37623         ($(objpfx)tst-leaks1-static-mem): Likewise.
37624         ($(objpfx)tst-initorder-cmp.out): Likewise.
37625         ($(objpfx)tst-initorder2-cmp.out): Likewise.
37626         ($(objpfx)tst-unused-dep.out): Likewise.
37627         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
37628         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37629         * iconv/Makefile (test-iconvconfig): Likewise.
37630         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
37631         ($(objpfx)iconv-test.out): Likewise.
37632         ($(objpfx)tst-tables.out): Likewise.
37633         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
37634         ($(objpfx)tst-gettext.out): Likewise.
37635         ($(objpfx)tst-translit.out): Likewise.
37636         ($(objpfx)tst-gettext2.out): Likewise.
37637         ($(objpfx)tst-gettext4.out): Likewise.
37638         ($(objpfx)tst-gettext6.out): Likewise.
37639         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
37640         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37641         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
37642         ($(objpfx)tst-fopenloc-mem.out): Likewise.
37643         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37644         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
37645         * posix/Makefile ($(objpfx)globtest.out): Likewise.
37646         ($(objpfx)wordexp-tst.out): Likewise.
37647         ($(objpfx)annexc.out): Likewise.
37648         ($(objpfx)tst-fnmatch-mem): Likewise.
37649         ($(objpfx)bug-regex2-mem): Likewise.
37650         ($(objpfx)bug-regex14-mem): Likewise.
37651         ($(objpfx)bug-regex21-mem): Likewise.
37652         ($(objpfx)bug-regex31-mem): Likewise.
37653         ($(objpfx)tst-vfork3-mem): Likewise.
37654         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37655         ($(objpfx)tst-pcre-mem): Likewise.
37656         ($(objpfx)tst-boost-mem): Likewise.
37657         ($(objpfx)tst-getconf.out): Likewise.
37658         ($(objpfx)bug-ga2-mem): Likewise.
37659         ($(objpfx)bug-glob2-mem): Likewise.
37660         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
37661         ($(objpfx)mtrace-tst-leaks2): Likewise.
37662         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
37663         ($(objpfx)tst-printf.out): Likewise.
37664         ($(objpfx)tst-setvbuf1.out): Likewise.
37665         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
37666         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
37667         ($(objpfx)tst-fmtmsg.out): Likewise.
37668         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
37669         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
37671         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
37672         * bits/sigaction.h [__USE_MISC]: Likewise.
37673         * bits/waitstatus.h: Update #endif comments.
37674         * ctype/ctype.h: Likewise.
37675         * dirent/dirent.h: Likewise.
37676         [__USE_MISC]: Remove redundant conditionals.
37677         * grp/grp.h: Update #endif comments.
37678         [__USE_GNU]: Remove redundant conditionals.
37679         [__USE_MISC]: Likewise.
37680         * inet/netinet/in.h [__USE_GNU]: Likewise.
37681         * io/sys/stat.h [__USE_MISC]: Likewise.
37682         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
37683         * libio/bits/stdio.h: Update #endif comments.
37684         [__USE_MISC]: Remove redundant conditionals.
37685         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
37686         * libio/stdio.h: Update #endif comments.
37687         [__USE_MISC]: Remove redundant conditionals.
37688         * math/bits/math-finite.h [__USE_MISC]: Likewise.
37689         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
37690         * math/math.h: Update #else and #endif comments.
37691         [__USE_MISC]: Remove redundant conditionals.
37692         * misc/sys/uio.h: Update #endif comments.
37693         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
37694         * posix/glob.h [__USE_MISC]: Likewise.
37695         * posix/sys/types.h: Update #endif comments.
37696         [__USE_MISC]: Remove redundant conditionals.
37697         * posix/sys/wait.h: Update #endif comments.
37698         [__USE_MISC]: Remove redundant conditionals.
37699         * posix/unistd.h: Update #endif comments.
37700         [__USE_MISC]: Remove redundant conditionals.
37701         * pwd/pwd.h [__USE_GNU]: Likewise.
37702         [__USE_MISC]: Likewise.
37703         * resolv/netdb.h [__USE_GNU]: Likewise.
37704         * signal/signal.h: Update #endif comments.
37705         [__USE_MISC]: Remove redundant conditionals.
37706         * stdlib/stdlib.h: Update #else and #endif comments.
37707         [__USE_MISC]: Remove redundant conditionals.
37708         [__USE_GNU]: Likewise.
37709         * string/bits/string2.h [__USE_MISC]: Likewise.
37710         * string/string.h: Update #endif comments.
37711         [__USE_MISC]: Remove redundant conditionals.
37712         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
37713         Likewise.
37714         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
37715         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
37716         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
37717         Likewise.
37718         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
37719         Likewise.
37720         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
37721         comments.
37722         [__USE_MISC]: Remove redundant conditionals.
37723         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
37724         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
37725         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
37726         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
37727         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
37728         Likewise.
37729         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
37730         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
37731         Likewise.
37732         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
37733         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
37734         Likewise.
37735         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
37736         Likewise.
37737         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
37738         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
37739         Likewise.
37740         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
37741         Likewise.
37742         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
37743         * sysdeps/x86/bits/string.h: Update #endif comments.
37744         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
37745         conditionals.
37746         * time/sys/time.h: Update #endif comments.
37747         * time/time.h: Likewise.
37748         [__USE_MISC]: Remove redundant conditionals.
37750 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
37752         [BZ #16600]
37753         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
37755 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
37757         * Versions.def (librt): Add GLIBC_2.17.
37759 2014-02-21  Adam Conrad  <adconrad@0c3.net>
37761         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
37762         synonym for _SYS_AUXV_H to allow direct inclusion.
37763         * sysdeps/sparc/bits/hwcap.h: Likewise.
37764         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
37765         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
37766         * sysdeps/sparc/sysdep.h: Likewise.
37768 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37770         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
37772 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37774         * benchtests/bench-strrchr.c: Print length instead of position.
37776 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
37778         [BZ #16611]
37779         * sysdeps/unix/sysv/linux/kernel-features.h
37780         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
37781         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
37782         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
37783         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
37784         Likewise.
37785         [__i386__ || __powerpc__ || __sh__ || __sparc__]
37786         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37787         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
37788         (__ASSUME_SENDMMSG): Define instead of using previous
37789         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
37790         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37791         (__ASSUME_SENDMMSG_SYSCALL): Define.
37792         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37793         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
37794         Likewise.
37795         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37796         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37797         Likewise.
37798         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37799         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37800         Likewise.
37801         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
37802         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37803         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37804         [__ASSUME_SENDMMSG]: Change conditionals to
37805         [__ASSUME_SENDMMSG_SOCKETCALL].
37806         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37807         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
37808         Define.
37809         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37810         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
37811         Likewise.
37812         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
37813         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37814         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37815         [!__ASSUME_SENDMMSG]: Change conditional to
37816         [!__ASSUME_SENDMMSG_SOCKETCALL].
37817         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37818         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37819         Define.
37821         [BZ #16610]
37822         * sysdeps/unix/sysv/linux/kernel-features.h
37823         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
37824         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
37825         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
37826         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
37827         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37828         [__i386__ || __sparc__]
37829         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37830         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
37831         (__ASSUME_RECVMMSG): Define instead of using previous
37832         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
37833         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37834         (__ASSUME_RECVMMSG_SYSCALL): Define.
37835         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37836         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37837         Likewise.
37838         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37839         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37840         Likewise.
37841         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37842         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37843         Likewise.
37844         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
37845         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37846         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37847         [__ASSUME_RECVMMSG]: Change condition to
37848         [__ASSUME_RECVMMSG_SOCKETCALL].
37849         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37850         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37851         Define.
37852         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37853         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37854         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37855         Likewise.
37856         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
37857         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37858         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37859         [!__ASSUME_RECVMMSG]: Change condition to
37860         [!__ASSUME_RECVMMSG_SOCKETCALL].
37861         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37862         (__ASSUME_RECVMMSG_SYSCALL): Define.
37864         [BZ #16609]
37865         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
37866         __powerpc__ || __s390__ || __sh__ || __sparc__]
37867         (__ASSUME_SOCKETCALL): Define.
37868         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
37869         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
37870         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
37871         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
37872         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37873         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
37874         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
37875         (__ASSUME_ACCEPT4): Define instead of using previous
37876         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
37877         __powerpc__ || __sparc__ || __s390__)] condition.
37878         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37879         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37880         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
37881         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37882         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37883         [!__ASSUME_ACCEPT4]: Change condition to
37884         [!__ASSUME_ACCEPT4_SOCKETCALL].
37885         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37886         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
37887         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
37888         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37889         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
37890         __ASSUME_ACCEPT4_SYSCALL.
37891         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
37892         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
37893         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37894         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
37895         __ASSUME_ACCEPT4_SYSCALL.
37896         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
37897         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37898         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37899         [__ASSUME_ACCEPT4]: Change condition to
37900         [__ASSUME_ACCEPT4_SOCKETCALL].
37901         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37902         (__ASSUME_SOCKETCALL): Define.
37903         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
37904         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37905         (__ASSUME_SOCKETCALL): Define.
37906         (__ASSUME_ACCEPT4): Remove.
37907         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
37908         Define.
37909         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37910         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
37911         Likewise.
37912         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37913         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37915         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
37916         macro.
37917         (HWCAP_ARM_LPAE): Likewise.
37918         (HWCAP_ARM_EVTSTRM): Likewise.
37919         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
37920         Add vpfd32, lpae and evtstrm.
37921         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
37922         Increase to 22.
37924 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
37926         * math/auto-libm-test-in: Add tests of clog10.
37927         * math/auto-libm-test-out: Regenerated.
37928         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
37929         * sysdeps/i386/fpu/libm-test-ulps: Update.
37930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37932 2014-02-18  Andreas Schwab  <schwab@suse.de>
37934         [BZ #16574]
37935         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
37936         Store non-zero if the second buffer was newly allocated.
37937         (send_dg): Likewise.
37938         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
37939         to send_vc and send_dg.
37940         (res_nsend): Pass NULL for ansp2_malloced.
37941         * resolv/res_query.c (__libc_res_nquery): Add parameter
37942         answerp2_malloced and pass it down to __libc_res_nsend.
37943         (res_nquery): Pass additional NULL to __libc_res_nquery.
37944         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
37945         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
37946         second answer buffer if answerp2_malloced was set.
37947         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
37948         (__libc_res_nquerydomain): Add parameter
37949         answerp2_malloced and pass it down to __libc_res_nquery.
37950         (res_nquerydomain): Pass additional NULL to
37951         __libc_res_nquerydomain.
37952         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
37953         additional NULL to __libc_res_nsend and __libc_res_nquery.
37954         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
37955         additional NULL to __libc_res_nsearch.
37956         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
37957         parameter of __libc_res_nsearch to check for separately allocated
37958         second buffer.
37959         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
37960         __libc_res_nquery.
37961         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
37962         additional NULL to __libc_res_nquery.
37963         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
37964         __libc_res_nsearch.
37965         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
37966         * include/resolv.h: Update prototypes of __libc_res_nquery,
37967         __libc_res_nsearch, __libc_res_nsend.
37969 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
37971         * math/auto-libm-test-in: Add tests of fma.
37972         * math/auto-libm-test-out: Regenerated.
37973         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
37974         (fma_towardzero_test_data): Likewise.
37975         (fma_downward_test_data): Likewise.
37976         (fma_upward_test_data): Likewise.
37977         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
37978         mpc_mode.
37979         (rounding_modes): Add values for new field.
37980         (func_calc_method): Add value mpfr_fff_f.
37981         (func_calc_desc): Add mpfr_fff_f union field.
37982         (test_function): Add field exact_args.
37983         (FUNC): Add macro argument EXACT_ARGS.
37984         (FUNC_mpfr_f_f): Update call to FUNC.
37985         (FUNC_mpfr_f_f): Likewise.
37986         (FUNC_mpfr_ff_f): Likewise.
37987         (FUNC_mpfr_if_f): Likewise.
37988         (FUNC_mpc_c_f): Likewise.
37989         (FUNC_mpc_c_c): Likewise.
37990         (test_functions): Add fma.  Update calls to FUNC.
37991         (handle_input_arg): Add argument exact_args.
37992         (add_test): Update call to handle_input_arg.
37993         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
37994         (output_for_one_input_case): Update call to calc_generic_results.
37995         Recalculate exact zero results in each rounding mode.
37997         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
37998         non-negative before setting low bit.
37999         * math/auto-libm-test-in: Mark one asin test possibly having
38000         spurious underflow.
38001         * math/auto-libm-test-out: Regenerated.
38002         * sysdeps/i386/fpu/libm-test-ulps: Update.
38003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38005 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
38007         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
38008         * sysdeps/unix/sysv/linux/microblaze: Move directory from
38009         ports/sysdeps/unix/sysv/linux/microblaze.
38010         * README: Add missing listing for microblaze*-*-linux-gnu.
38012 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
38014         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
38015         duplicate code
38017 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
38019         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
38020         * sysdeps/unix/sysv/linux/ia64: Move directory from
38021         ports/sysdeps/unix/sysv/linux/ia64.
38022         * README: Update listing for ia64-*-linux-gnu.
38024 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
38025             Joseph Myers  <joseph@codesourcery.com>
38027         * Makeconfig (test-name): New variable.
38028         (evaluate-test): Likewise.
38029         * Makerules (do-test-clean): Remove .test-result files.
38030         (common-mostlyclean): Likewise.
38031         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
38032         * scripts/evaluate-test.sh: New file.
38034 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
38036         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
38037         separate $(objpfx)tst-fopenloc-cmp.out and
38038         $(objpfx)tst-fopenloc-mem.out targets.
38039         (tests): Update dependencies.
38040         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
38041         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
38042         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
38043         (tst-rxspencer-no-utf8-ARGS): New variable.
38044         (tst-rxspencer-no-utf8-ENV): Likewise.
38045         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
38046         instead of $(objpfx)tst-rxspencer-mem.
38047         ($(objpfx)tst-rxspencer-mem): Change target to
38048         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
38049         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
38050         * posix/tst-rxspencer-no-utf8.c: New file.
38052         * elf/Makefile ($(objpfx)order.out): Remove rule.
38053         [$(run-built-tests) = yes] (tests): Depend on
38054         $(objpfx)order-cmp.out.
38055         ($(objpfx)order-cmp.out): New rule.
38056         [$(run-built-tests) = yes] (tests): Depend on
38057         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
38058         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
38059         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
38060         $(objpfx)tst-array5-static-cmp.out.
38061         ($(objpfx)tst-array1.out): Remove rule.
38062         ($(objpfx)tst-array1-cmp.out): New rule.
38063         ($(objpfx)tst-array1-static.out): Remove rule.
38064         ($(objpfx)tst-array1-static-cmp.out): New rule.
38065         ($(objpfx)tst-array2.out): Remove rule.
38066         ($(objpfx)tst-array2-cmp.out): New rule.
38067         ($(objpfx)tst-array3.out): Remove rule.
38068         ($(objpfx)tst-array3-cmp.out): New rule.
38069         ($(objpfx)tst-array4.out): Remove rule.
38070         ($(objpfx)tst-array4-cmp.out): New rule.
38071         ($(objpfx)tst-array5.out): Remove rule.
38072         ($(objpfx)tst-array5-cmp.out): New rule.
38073         ($(objpfx)tst-array5-static.out): Remove rule.
38074         ($(objpfx)tst-array5-static-cmp.out): New rule.
38075         [$(run-built-tests) = yes] (tests): Depend on
38076         $(objpfx)order2-cmp.out.
38077         ($(objpfx)order2.out): Remove rule.
38078         ($(objpfx)order2-cmp.out): New rule.
38079         ($(objpfx)tst-initorder.out): Remove rule.
38080         [$(run-built-tests) = yes] (tests): Depend on
38081         $(objpfx)tst-initorder-cmp.out.
38082         ($(objpfx)tst-initorder-cmp.out): New rule.
38083         ($(objpfx)tst-initorder2.out): Remove rule.
38084         [$(run-built-tests) = yes] (tests): Depend on
38085         $(objpfx)tst-initorder2-cmp.out.
38086         ($(objpfx)tst-initorder2-cmp.out): New rule.
38087         [$(run-built-tests) = yes] (tests): Depend on
38088         $(objpfx)tst-unused-dep-cmp.out.
38089         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
38090         ($(objpfx)tst-unused-dep-cmp.out): New rule.
38091         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
38092         on $(objpfx)tst-setvbuf1-cmp.out.
38093         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
38094         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
38095         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
38096         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
38097         ($(objpfx)tst-svc.out): Remove rule.
38098         ($(objpfx)tst-svc-cmp.out): New rule.
38100 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
38102         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
38103         * ctype/ctype.h [__USE_MISC]: Likewise.
38104         * dirent/dirent.h [__USE_MISC]: Likewise.
38105         * grp/grp.h [__USE_MISC]: Likewise.
38106         * io/fcntl.h [__USE_MISC]: Likewise.
38107         * io/sys/stat.h [__USE_MISC]: Likewise.
38108         * libio/stdio.h [__USE_MISC]: Likewise.
38109         * posix/unistd.h [__USE_MISC]: Likewise.
38110         * pwd/pwd.h [__USE_MISC]: Likewise.
38111         * stdlib.h [__USE_MISC]: Likewise.
38112         * string/bits/string2.h [__USE_MISC]: Likewise.
38113         * string/string.h [__USE_MISC]: Likewise.
38114         * time/time.h [__USE_MISC]: Likewise.
38116 2014-02-13  Andreas Schwab  <schwab@suse.de>
38118         [BZ #16574]
38119         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
38120         second answer buffer if it was separately allocated.
38122 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
38124         * sysdeps/mips/math-tests.h: Include <features.h>.
38125         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38126         (ROUNDING_TESTS_long_double): Do not define.
38127         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38128         (EXCEPTION_TESTS_long_double): Likewise.
38129         * sysdeps/mips/mips64/libm-test-ulps: Update.
38131         * include/features.h (__USE_BSD): Remove macro definitions.
38132         (__USE_SVID): Likewise.
38133         (_BSD_SOURCE): Likewise.
38134         (_SVID_SOURCE): Likewise.
38135         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
38136         from definition of _DEFAULT_SOURCE.
38137         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
38138         [_DEFAULT_SOURCE].
38139         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
38140         * bits/mman.h [__USE_BSD]: Likewise.
38141         * bits/termios.h [__USE_BSD]: Likewise.
38142         * bits/waitstatus.h [__USE_BSD]: Likewise.
38143         * ctype/ctype.h [__USE_SVID]: Likewise.
38144         * dirent/dirent.h [__USE_BSD]: Likewise.
38145         * grp/grp.h [__USE_SVID]: Likewise.
38146         [__USE_BSD]: Likewise.
38147         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
38148         * io/fcntl.h [__USE_BSD]: Likewise.
38149         * io/ftw.h [__USE_BSD]: Likewise.
38150         * io/sys/stat.h [__USE_BSD]: Likewise.
38151         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
38152         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
38153         * libio/stdio.h [__USE_SVID]: Likewise.
38154         [__USE_BSD]: Likewise.
38155         * math/math.h [__USE_SVID]: Likewise.
38156         [__USE_BSD]: Likewise.
38157         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
38158         * misc/bits/syslog.h [__USE_BSD]: Likewise.
38159         * misc/search.h [__USE_SVID]: Likewise.
38160         * misc/sys/mman.h [__USE_BSD]: Likewise.
38161         * misc/sys/syslog.h [__USE_BSD]: Likewise.
38162         * misc/sys/uio.h [__USE_BSD]: Likewise.
38163         * posix/bits/unistd.h [__USE_BSD]: Likewise.
38164         * posix/glob.h [__USE_BSD]: Likewise.
38165         * posix/regex.h [__USE_BSD]: Likewise.
38166         * posix/sys/types.h [__USE_BSD]: Likewise.
38167         [__USE_SVID]: Likewise.
38168         * posix/sys/utsname.h [__USE_SVID]: Likewise.
38169         * posix/sys/wait.h [__USE_BSD]: Likewise.
38170         [__USE_SVID]: Likewise.
38171         * posix/unistd.h [__USE_BSD]: Likewise.
38172         [__USE_SVID]: Likewise.
38173         * pwd/pwd.h [__USE_SVID]: Likewise.
38174         * resolv/netdb.h [__USE_BSD]: Likewise.
38175         * setjmp/setjmp.h [__USE_BSD]: Likewise.
38176         * signal/signal.h [__USE_BSD]: Likewise.
38177         [__USE_SVID]: Likewise.
38178         * socket/sys/socket.h [__USE_BSD]: Likewise.
38179         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
38180         * stdlib/stdlib.h [__USE_BSD]: Likewise.
38181         [__USE_SVID]: Likewise.
38182         * string/bits/string2.h [__USE_BSD]: Likewise.
38183         [__USE_SVID]: Likewise.
38184         * string/bits/string3.h [__USE_BSD]: Likewise.
38185         * string/endian.h [__USE_BSD]: Likewise.
38186         * string/string.h [__USE_SVID]: Likewise.
38187         [__USE_BSD]: Likewise.
38188         * string/strings.h [__USE_BSD]: Likewise.
38189         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
38190         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
38191         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
38192         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
38193         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
38194         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
38195         Likewise.
38196         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
38197         Likewise.
38198         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
38199         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
38200         Likewise.
38201         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
38202         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
38203         Likewise.
38204         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
38205         Likewise.
38206         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
38207         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
38208         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
38209         Likewise.
38210         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
38211         Likewise.
38212         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
38213         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
38214         * termios/termios.h [__USE_BSD]: Likewise.
38215         * time/sys/time.h [__USE_BSD]: Likewise.
38216         * time/time.h [__USE_BSD]: Likewise.
38217         [__USE_SVID]: Likewise.
38219         * Makefile (subdir_targets): Remove subdir_lint.out.
38221         * stdio-common/Makefile (do-tst-unbputc): Remove target.
38222         (do-tst-printf): Likewise.
38223         (tests): Depend directly on $(objpfx)tst-unbputc.out and
38224         $(objpfx)tst-printf.out.
38226         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
38228         * Makerules (check-abi-%): Change target to
38229         $(objpfx)check-abi-%.out.
38230         (check-abi target): Update dependencies.
38231         (check-abi-pattern variable): Redirect output of diff to $@.
38232         (check-abi variable): Likewise.
38233         * elf/Makefile (check-abi): Update dependencies.
38235         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
38236         unused.
38237         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
38238         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
38239         subnormal range.
38240         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
38241         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
38242         value has largest subnormal exponent.
38243         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
38244         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
38245         * sysdeps/aarch64/soft-fp/sfp-machine.h
38246         (_FP_TININESS_AFTER_ROUNDING): New macro.
38247         * sysdeps/alpha/soft-fp/sfp-machine.h
38248         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38249         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38250         Likewise.
38251         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
38252         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38253         * sysdeps/mips/soft-fp/sfp-machine.h
38254         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38255         * sysdeps/powerpc/soft-fp/sfp-machine.h
38256         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38257         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38258         Likewise.
38259         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38260         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38261         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38262         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38263         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38264         Likewise.
38266 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
38268         [BZ #16545]
38269         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
38270         model 1.
38272 2014-02-12  Richard Henderson  <rth@redhat.com>
38274         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
38275         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
38276         * sysdeps/unix/sysv/linux/alpha: Move directory from
38277         ports/sysdeps/unix/sysv/linux/alpha.
38278         * README: Update listing for alpha-*-linux-gnu.
38280 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
38282         * include/features.h: Update comment documenting feature test
38283         macros.
38284         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
38285         _DEFAULT_SOURCE.
38286         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
38287         (_SVID_SOURCE): Likewise.
38288         (_DEFAULT_SOURCE): Update description of default features.
38289         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
38290         with _GNU_SOURCE.
38291         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
38292         (S_ISVTX): Likewise.
38293         * manual/math.texi (Mathematical Constants): Likewise.
38294         * manual/signal.texi (Interrupted Primitives): Likewise.
38295         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
38296         * math/test-matherr.c (_SVID_SOURCE): Do not define.
38297         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
38298         Don't refer to _SVID_SOURCE in warning text.
38300         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38302         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
38303         already defined.
38304         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
38305         * sysdeps/mips/dl-lookup.c: Remove.
38306         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
38308 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38310         [BZ #16447]
38311         * math/auto-libm-test-in: Add testcase for expl.
38312         * math/auto-libm-test-out: Regenerate.
38313         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
38314         calculation of unsafe.
38315         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
38317 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38319         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
38320         * sysdeps/unix/sysv/linux/aarch64: Move directory from
38321         ports/sysdeps/unix/sysv/linux/aarch64.
38322         * README: Update listing for aarch64*-*-linux-gnu.
38324 2014-02-11  Will Newton  <will.newton@linaro.org>
38326         * manual/probes.texi (Mathematical Function Probes): Use
38327         "triggered" instead of "hit".
38329         * manual/probes.texi (Internal Probes): Add documentation
38330         of setjmp, longjmp and longjmp_target probes.
38332         * include/stap-probe.h: Add comment about probe argument
38333         format.
38335         * malloc/mtrace.c (attribute_hidden): Remove unused macro
38336         definition.  (tr_where, tr_freehook, tr_mallochook,
38337         tr_reallochook, tr_memalignhook): Use ANSI protoype.
38339 2014-02-11  David S. Miller  <davem@davemloft.net>
38341         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
38342         processing int_tests.
38344 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
38346         * sysdeps/mips: Move directory from ports/sysdeps/mips.
38347         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
38348         * sysdeps/unix/sysv/linux/mips: Move directory from
38349         ports/sysdeps/unix/sysv/linux/mips.
38350         * README: Update listing for mips-*-linux-gnu and
38351         mips64-*-linux-gnu.
38353 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
38355         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
38356         * sysdeps/unix/sysv/linux/m68k: Move directory from
38357         ports/sysdeps/unix/sysv/linux/m68k.
38358         * README: Update listing for m68k-*-linux-gnu.
38360 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
38362         * sysdeps/tile: Move directory from ports/sysdeps/tile.
38363         * sysdeps/unix/sysv/linux/generic: Move directory from
38364         ports/sysdeps/unix/sysv/linux/generic.
38365         * sysdeps/unix/sysv/linux/tile: Move directory from
38366         ports/sysdeps/unix/sysv/linux/tile.
38367         * README: Update listing for tile*-*-linux-gnu.
38369 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
38371         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
38372         __builtin_expect.
38373         * benchtests/bench-memmem.c (simple_memmem): Likewise.
38374         * catgets/open_catalog.c (__open_catalog): Likewise.
38375         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
38376         * debug/confstr_chk.c: Likewise.
38377         * debug/fread_chk.c (__fread_chk): Likewise.
38378         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
38379         * debug/getgroups_chk.c: Likewise.
38380         * debug/mbsnrtowcs_chk.c: Likewise.
38381         * debug/mbsrtowcs_chk.c: Likewise.
38382         * debug/mbstowcs_chk.c: Likewise.
38383         * debug/memcpy_chk.c: Likewise.
38384         * debug/memmove_chk.c: Likewise.
38385         * debug/mempcpy_chk.c: Likewise.
38386         * debug/memset_chk.c: Likewise.
38387         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
38388         * debug/strcat_chk.c (__strcat_chk): Likewise.
38389         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
38390         * debug/strncat_chk.c (__strncat_chk): Likewise.
38391         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
38392         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
38393         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
38394         * debug/wcpncpy_chk.c: Likewise.
38395         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
38396         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
38397         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
38398         * debug/wcsncpy_chk.c: Likewise.
38399         * debug/wcsnrtombs_chk.c: Likewise.
38400         * debug/wcsrtombs_chk.c: Likewise.
38401         * debug/wcstombs_chk.c: Likewise.
38402         * debug/wmemcpy_chk.c: Likewise.
38403         * debug/wmemmove_chk.c: Likewise.
38404         * debug/wmempcpy_chk.c: Likewise.
38405         * debug/wmemset_chk.c: Likewise.
38406         * dirent/scandirat.c (SCANDIRAT): Likewise.
38407         * dlfcn/dladdr1.c (dladdr1): Likewise.
38408         * dlfcn/dladdr.c (dladdr): Likewise.
38409         * dlfcn/dlclose.c (dlclose_doit): Likewise.
38410         * dlfcn/dlerror.c (__dlerror): Likewise.
38411         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
38412         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
38413         * dlfcn/dlopen.c (dlopen_doit): Likewise.
38414         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
38415         * dlfcn/dlsym.c (dlsym_doit): Likewise.
38416         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
38417         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
38418         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
38419         Likewise.
38420         * elf/dl-conflict.c: Likewise.
38421         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
38422         * elf/dl-dst.h: Likewise.
38423         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
38424         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
38425         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
38426         * elf/dl-init.c (call_init, _dl_init): Likewise.
38427         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
38428         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
38429         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
38430         Likewise.
38431         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
38432         Likewise.
38433         * elf/dl-minimal.c (__libc_memalign): Likewise.
38434         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
38435         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
38436         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
38437         * elf/dl-sym.c (do_sym): Likewise.
38438         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
38439         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
38440         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
38441         * elf/dl-writev.h (_dl_writev): Likewise.
38442         * elf/ldconfig.c (search_dir): Likewise.
38443         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
38444         (dl_main): Likewise.
38445         * elf/setup-vdso.h (setup_vdso): Likewise.
38446         * grp/compat-initgroups.c (compat_call): Likewise.
38447         * grp/fgetgrent.c (fgetgrent): Likewise.
38448         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
38449         * grp/putgrent.c (putgrent): Likewise.
38450         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38451         Likewise.
38452         * hurd/hurdinit.c: Likewise.
38453         * iconvdata/8bit-gap.c (struct): Likewise.
38454         * iconvdata/ansi_x3.110.c : Likewise.
38455         * iconvdata/big5.c : Likewise.
38456         * iconvdata/big5hkscs.c : Likewise.
38457         * iconvdata/cp1255.c: Likewise.
38458         * iconvdata/cp1258.c : Likewise.
38459         * iconvdata/cp932.c : Likewise.
38460         * iconvdata/euc-cn.c: Likewise.
38461         * iconvdata/euc-jisx0213.c : Likewise.
38462         * iconvdata/euc-jp.c: Likewise.
38463         * iconvdata/euc-jp-ms.c : Likewise.
38464         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
38465         * iconvdata/gb18030.c : Likewise.
38466         * iconvdata/gbbig5.c (const): Likewise.
38467         * iconvdata/gbgbk.c: Likewise.
38468         * iconvdata/gbk.c : Likewise.
38469         * iconvdata/ibm1364.c : Likewise.
38470         * iconvdata/ibm930.c : Likewise.
38471         * iconvdata/ibm932.c: Likewise.
38472         * iconvdata/ibm933.c : Likewise.
38473         * iconvdata/ibm935.c : Likewise.
38474         * iconvdata/ibm937.c : Likewise.
38475         * iconvdata/ibm939.c : Likewise.
38476         * iconvdata/ibm943.c: Likewise.
38477         * iconvdata/iso_11548-1.c: Likewise.
38478         * iconvdata/iso-2022-cn.c : Likewise.
38479         * iconvdata/iso-2022-cn-ext.c : Likewise.
38480         * iconvdata/iso-2022-jp-3.c: Likewise.
38481         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
38482         * iconvdata/iso-2022-kr.c : Likewise.
38483         * iconvdata/iso646.c (gconv_end): Likewise.
38484         * iconvdata/iso_6937-2.c : Likewise.
38485         * iconvdata/iso_6937.c : Likewise.
38486         * iconvdata/iso8859-1.c: Likewise.
38487         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
38488         * iconvdata/shift_jisx0213.c : Likewise.
38489         * iconvdata/sjis.c : Likewise.
38490         * iconvdata/t.61.c : Likewise.
38491         * iconvdata/tcvn5712-1.c : Likewise.
38492         * iconvdata/tscii.c: Likewise.
38493         * iconvdata/uhc.c : Likewise.
38494         * iconvdata/unicode.c (gconv_end): Likewise.
38495         * iconvdata/utf-16.c (gconv_end): Likewise.
38496         * iconvdata/utf-32.c (gconv_end): Likewise.
38497         * iconvdata/utf-7.c (base64): Likewise.
38498         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
38499         * iconv/gconv_close.c (__gconv_close): Likewise.
38500         * iconv/gconv_open.c (__gconv_open): Likewise.
38501         * iconv/gconv_simple.c (internal_ucs4_loop_single)
38502         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
38503         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
38504         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
38505         (ucs4le_internal_loop_single): Likewise.
38506         * iconv/iconv.c (iconv): Likewise.
38507         * iconv/iconv_close.c: Likewise.
38508         * iconv/loop.c (SINGLE): Likewise.
38509         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
38510         * include/atomic.h: Likewise.
38511         * inet/inet6_option.c (option_alloc): Likewise.
38512         * intl/bindtextdom.c (set_binding_values): Likewise.
38513         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
38514         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
38515         * intl/localealias.c (read_alias_file): Likewise.
38516         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
38517         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
38518         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
38519         * libio/fmemopen.c (fmemopen): Likewise.
38520         * libio/iofgets.c (_IO_fgets): Likewise.
38521         * libio/iofgets_u.c (fgets_unlocked): Likewise.
38522         * libio/iofgetws.c (fgetws): Likewise.
38523         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
38524         * libio/iogetdelim.c (_IO_getdelim): Likewise.
38525         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
38526         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
38527         * locale/findlocale.c (_nl_find_locale): Likewise.
38528         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
38529         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
38530         Likewise.
38531         * locale/setlocale.c (setlocale): Likewise.
38532         * login/programs/pt_chown.c (main): Likewise.
38533         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
38534         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
38535         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
38536         (mmap, mmap64, mremap, munmap): Likewise.
38537         * math/e_exp2l.c: Likewise.
38538         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
38539         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
38540         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
38541         * math/s_catan.c (__catan): Likewise.
38542         * math/s_catanf.c (__catanf): Likewise.
38543         * math/s_catanh.c (__catanh): Likewise.
38544         * math/s_catanhf.c (__catanhf): Likewise.
38545         * math/s_catanhl.c (__catanhl): Likewise.
38546         * math/s_catanl.c (__catanl): Likewise.
38547         * math/s_ccosh.c (__ccosh): Likewise.
38548         * math/s_ccoshf.c (__ccoshf): Likewise.
38549         * math/s_ccoshl.c (__ccoshl): Likewise.
38550         * math/s_cexp.c (__cexp): Likewise.
38551         * math/s_cexpf.c (__cexpf): Likewise.
38552         * math/s_cexpl.c (__cexpl): Likewise.
38553         * math/s_clog10.c (__clog10): Likewise.
38554         * math/s_clog10f.c (__clog10f): Likewise.
38555         * math/s_clog10l.c (__clog10l): Likewise.
38556         * math/s_clog.c (__clog): Likewise.
38557         * math/s_clogf.c (__clogf): Likewise.
38558         * math/s_clogl.c (__clogl): Likewise.
38559         * math/s_csin.c (__csin): Likewise.
38560         * math/s_csinf.c (__csinf): Likewise.
38561         * math/s_csinh.c (__csinh): Likewise.
38562         * math/s_csinhf.c (__csinhf): Likewise.
38563         * math/s_csinhl.c (__csinhl): Likewise.
38564         * math/s_csinl.c (__csinl): Likewise.
38565         * math/s_csqrt.c (__csqrt): Likewise.
38566         * math/s_csqrtf.c (__csqrtf): Likewise.
38567         * math/s_csqrtl.c (__csqrtl): Likewise.
38568         * math/s_ctan.c (__ctan): Likewise.
38569         * math/s_ctanf.c (__ctanf): Likewise.
38570         * math/s_ctanh.c (__ctanh): Likewise.
38571         * math/s_ctanhf.c (__ctanhf): Likewise.
38572         * math/s_ctanhl.c (__ctanhl): Likewise.
38573         * math/s_ctanl.c (__ctanl): Likewise.
38574         * math/w_pow.c: Likewise.
38575         * math/w_powf.c: Likewise.
38576         * math/w_powl.c: Likewise.
38577         * math/w_scalb.c (sysv_scalb): Likewise.
38578         * math/w_scalbf.c (sysv_scalbf): Likewise.
38579         * math/w_scalbl.c (sysv_scalbl): Likewise.
38580         * misc/error.c (error_tail): Likewise.
38581         * misc/pselect.c (__pselect): Likewise.
38582         * nis/nis_callback.c (__nis_create_callback): Likewise.
38583         * nis/nis_call.c (__nisfind_server): Likewise.
38584         * nis/nis_creategroup.c (nis_creategroup): Likewise.
38585         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
38586         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
38587         * nis/nis_getservlist.c (nis_getservlist): Likewise.
38588         * nis/nis_lookup.c (nis_lookup): Likewise.
38589         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
38590         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
38591         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
38592         * nis/nis_xdr.c (xdr_endpoint): Likewise.
38593         * nis/nss_compat/compat-grp.c (getgrent_next_file)
38594         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
38595         * nis/nss_compat/compat-initgroups.c (add_group)
38596         (internal_getgrent_r): Likewise.
38597         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
38598         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
38599         * nis/nss_compat/compat-spwd.c (getspent_next_file)
38600         (internal_getspnam_r): Likewise.
38601         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
38602         (_nss_nis_getaliasbyname_r): Likewise.
38603         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
38604         (_nss_nis_getntohost_r): Likewise.
38605         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
38606         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
38607         (_nss_nis_getgrgid_r): Likewise.
38608         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
38609         (internal_nis_gethostent_r, internal_gethostbyname2_r)
38610         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
38611         (_nss_nis_gethostbyname4_r): Likewise.
38612         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
38613         (initgroups_netid): Likewise.
38614         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
38615         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
38616         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
38617         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
38618         (_nss_nis_getprotobynumber_r): Likewise.
38619         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
38620         (_nss_nis_getsecretkey): Likewise.
38621         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
38622         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
38623         (_nss_nis_getpwuid_r): Likewise.
38624         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
38625         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
38626         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
38627         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
38628         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
38629         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
38630         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
38631         Likewise.
38632         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
38633         (_nss_nisplus_getntohost_r): Likewise.
38634         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
38635         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
38636         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
38637         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
38638         Likewise.
38639         * nis/nss_nisplus/nisplus-initgroups.c
38640         (_nss_nisplus_initgroups_dyn): Likewise.
38641         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
38642         (_nss_nisplus_getnetbyaddr_r): Likewise.
38643         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
38644         (_nss_nisplus_getprotobynumber_r): Likewise.
38645         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
38646         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
38647         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
38648         Likewise.
38649         * nis/nss_nisplus/nisplus-service.c
38650         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
38651         (_nss_nisplus_getservbyport_r): Likewise.
38652         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
38653         (_nss_nisplus_getspnam_r): Likewise.
38654         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
38655         Likewise.
38656         * nscd/aicache.c (addhstaiX): Likewise.
38657         * nscd/cache.c (cache_search, prune_cache): Likewise.
38658         * nscd/connections.c (register_traced_file, send_ro_fd)
38659         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
38660         (main_loop_epoll): Likewise.
38661         * nscd/grpcache.c (addgrbyX): Likewise.
38662         * nscd/hstcache.c (addhstbyX): Likewise.
38663         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38664         * nscd/mem.c (gc, mempool_alloc): Likewise.
38665         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
38666         (addinnetgrX): Likewise.
38667         * nscd/nscd-client.h (__nscd_acquire_maplock)
38668         (__nscd_drop_map_ref): Likewise.
38669         * nscd/nscd_getai.c (__nscd_getai): Likewise.
38670         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38671         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
38672         Likewise.
38673         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
38674         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
38675         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
38676         (__nscd_get_map_ref): Likewise.
38677         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
38678         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
38679         Likewise.
38680         * nscd/pwdcache.c (addpwbyX): Likewise.
38681         * nscd/selinux.c (preserve_capabilities): Likewise.
38682         * nscd/servicescache.c (addservbyX): Likewise.
38683         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
38684         * posix/fnmatch.c (fnmatch): Likewise.
38685         * posix/getopt.c (_getopt_internal_r): Likewise.
38686         * posix/glob.c (glob, glob_in_dir): Likewise.
38687         * posix/wordexp.c (exec_comm_child): Likewise.
38688         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
38689         (getanswer_r, gaih_getanswer_slice): Likewise.
38690         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
38691         * resolv/res_init.c: Likewise.
38692         * resolv/res_mkquery.c (res_nmkquery): Likewise.
38693         * resolv/res_query.c (__libc_res_nquery): Likewise.
38694         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
38695         Likewise.
38696         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
38697         * stdio-common/perror.c (perror): Likewise.
38698         * stdio-common/printf_fp.c (___printf_fp): Likewise.
38699         * stdio-common/tmpnam.c (tmpnam): Likewise.
38700         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
38701         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
38702         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
38703         Likewise.
38704         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
38705         * stdlib/putenv.c (putenv): Likewise.
38706         * stdlib/setenv.c (__add_to_environ): Likewise.
38707         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
38708         * stdlib/strtol_l.c (INTERNAL): Likewise.
38709         * string/memmem.c (memmem): Likewise.
38710         * string/strerror.c (strerror): Likewise.
38711         * string/strnlen.c (__strnlen): Likewise.
38712         * string/test-memmem.c (simple_memmem): Likewise.
38713         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
38714         * sunrpc/pm_getport.c (__get_socket): Likewise.
38715         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
38716         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
38717         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
38718         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
38719         Likewise.
38720         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
38721         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
38722         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38723         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
38724         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38725         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
38726         Likewise.
38727         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
38728         Likewise.
38729         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38730         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38731         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38732         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38733         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
38734         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
38735         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
38736         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
38737         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38738         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
38739         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38740         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
38741         Likewise.
38742         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
38743         Likewise.
38744         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
38745         Likewise.
38746         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
38747         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38748         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
38749         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
38750         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
38751         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
38752         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38753         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
38754         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
38755         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
38756         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
38757         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38758         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
38759         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
38760         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38761         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38762         Likewise.
38763         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
38764         Likewise.
38765         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
38766         Likewise.
38767         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
38768         Likewise.
38769         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38770         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38771         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
38772         Likewise.
38773         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
38774         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
38775         * sysdeps/posix/opendir.c (__opendirat): Likewise.
38776         * sysdeps/posix/sleep.c: Likewise.
38777         * sysdeps/posix/tempname.c: Likewise.
38778         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
38779         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38780         Likewise.
38781         * sysdeps/powerpc/powerpc32/dl-machine.h
38782         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
38783         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
38784         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38785         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
38786         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
38787         Likewise.
38788         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
38789         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
38790         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38791         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
38792         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38793         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
38794         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
38795         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
38796         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38797         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
38798         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
38799         (elf_machine_lazy_rel): Likewise.
38800         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
38801         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
38802         (elf_machine_lazy_rel): Likewise.
38803         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
38804         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
38805         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
38806         * sysdeps/unix/grantpt.c (grantpt): Likewise.
38807         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
38808         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
38809         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
38810         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38811         Likewise.
38812         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
38813         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
38814         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
38815         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
38816         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38817         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38818         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
38819         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
38820         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
38821         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38822         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
38823         Likewise.
38824         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
38825         (__posix_fallocate64_l64): Likewise.
38826         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
38827         (posix_fallocate): Likewise.
38828         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
38829         Likewise.
38830         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38831         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
38832         (getifaddrs_internal): Likewise.
38833         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
38834         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
38835         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
38836         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
38837         * sysdeps/unix/sysv/linux/posix_fallocate64.c
38838         (__posix_fallocate64_l64): Likewise.
38839         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
38840         Likewise.
38841         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
38842         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
38843         (__get_clockfreq): Likewise.
38844         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
38845         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
38846         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
38847         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38848         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38849         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
38850         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
38851         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
38852         Likewise.
38853         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
38854         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
38855         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
38856         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
38857         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38858         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
38859         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
38860         Likewise.
38861         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38862         (posix_fallocate): Likewise.
38863         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38864         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
38865         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
38866         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
38867         (elf_machine_rela, elf_machine_rela_relative)
38868         (elf_machine_lazy_rel): Likewise.
38869         * time/asctime.c (asctime_internal): Likewise.
38870         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
38871         * time/tzset.c (__tzset_parse_tz): Likewise.
38872         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38873         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
38874         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
38875         * wcsmbs/wcsmbsload.h: Likewise.
38877         [BZ #15894]
38878         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
38880         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
38881         (arena_get2): Remove THREAD_STATS conditionals.
38882         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
38883         (__malloc_stats, int): Likewise.
38885 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
38887         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
38888         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
38890         * manual/setjmp.texi: Fix typos/grammar errors.
38892         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
38893         Only return early when n is <= 0.  Delete unused return statement.
38895         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
38896         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
38897         * debug/tst-longjmp_chk3.c: New file.
38899         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
38900         (test_main): Replace code with set_fortify_handler call.
38901         * debug/test-strcpy_chk.c: Likewise.
38902         * debug/tst-chk1.c: Likewise.
38903         * debug/tst-longjmp_chk.c: Likewise.
38904         * test-skeleton.c: Include fcntl.h & paths.h
38905         (set_fortify_handler): Define.
38907         * debug/tst-longjmp_chk.c: Add header comment and include
38908         ../test-skeleton.c.
38909         (do_test): Mark static.
38910         (TEST_FUNCTION): Define.
38912         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
38913         (IP_PMTUDISC_INTERFACE): Likewise.
38914         (IP_MULTICAST_IF): Likewise.
38915         (IP_MULTICAST_TTL): Likewise.
38916         (IP_MULTICAST_LOOP): Likewise.
38917         (IP_ADD_MEMBERSHIP): Likewise.
38918         (IP_DROP_MEMBERSHIP): Likewise.
38919         (IP_UNBLOCK_SOURCE): Likewise.
38920         (IP_BLOCK_SOURCE): Likewise.
38921         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
38922         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
38923         (IP_MSFILTER): Likewise.
38924         (MCAST_JOIN_GROUP): Likewise.
38925         (MCAST_BLOCK_SOURCE): Likewise.
38926         (MCAST_UNBLOCK_SOURCE): Likewise.
38927         (MCAST_LEAVE_GROUP): Likewise.
38928         (MCAST_JOIN_SOURCE_GROUP): Likewise.
38929         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
38930         (MCAST_MSFILTER): Likewise.
38931         (IP_MULTICAST_ALL): Likewise.
38932         (IP_UNICAST_IF): Likewise.
38934         * timezone/Makefile: Delete $(have-ksh) check.
38935         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
38936         * timezone/tzselect.ksh: Add +x mode bits.
38938         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
38939         (ANON_INODE_FS_MAGIC): Likewise.
38940         (BDEVFS_MAGIC): Likewise.
38941         (BINFMTFS_MAGIC): Likewise.
38942         (BTRFS_TEST_MAGIC): Likewise.
38943         (CRAMFS_MAGIC_WEND): Likewise.
38944         (DEBUGFS_MAGIC): Likewise.
38945         (ECRYPTFS_SUPER_MAGIC): Likewise.
38946         (EXT3_SUPER_MAGIC): Likewise.
38947         (EXT4_SUPER_MAGIC): Likewise.
38948         (FUTEXFS_SUPER_MAGIC): Likewise.
38949         (HOSTFS_SUPER_MAGIC): Likewise.
38950         (HUGETLBFS_MAGIC): Likewise.
38951         (MINIX3_SUPER_MAGIC): Likewise.
38952         (MTD_INODE_FS_MAGIC): Likewise.
38953         (NILFS_SUPER_MAGIC): Likewise.
38954         (OPENPROM_SUPER_MAGIC): Likewise.
38955         (PIPEFS_MAGIC): Likewise.
38956         (PSTOREFS_MAGIC): Likewise.
38957         (QNX6_SUPER_MAGIC): Likewise.
38958         (RAMFS_MAGIC): Likewise.
38959         (REISERFS_SUPER_MAGIC_STRING): Likewise.
38960         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
38961         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
38962         (SECURITYFS_MAGIC): Likewise.
38963         (SELINUX_MAGIC): Likewise.
38964         (SMACK_MAGIC): Likewise.
38965         (SOCKFS_MAGIC): Likewise.
38966         (SQUASHFS_MAGIC): Likewise.
38967         (STACK_END_MAGIC): Likewise.
38968         (TMPFS_MAGIC): Likewise.
38969         (USBDEVICE_SUPER_MAGIC): Likewise.
38970         (V9FS_MAGIC): Likewise.
38971         (XENFS_SUPER_MAGIC): Likewise.
38972         (CRAMFS_MAGIC): Fix typo in comment.
38973         (EXT2_SUPER_MAGIC): Update comment.
38974         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
38976 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
38978         * sysdeps/arm: Move directory from ports/sysdeps/arm.
38979         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
38980         * sysdeps/unix/sysv/linux/arm: Move directory from
38981         ports/sysdeps/unix/sysv/linux/arm.
38982         * README: Update listing for arm-*-linux-gnueabi.
38984         * README: Remove mention of am33.
38986 2014-02-07  Roland McGrath  <roland@hack.frob.com>
38988         * bits/sigset.h (__sigemptyset): Use a statement expression rather
38989         than the comma operator, to avoid "rhs of comma has no effect"
38990         compiler warnings.
38991         (__sigfillset, __sigandset, __sigorset): Likewise.
38992         * include/signal.h (__sigemptyset): Likewise.
38993         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
38995 2014-02-07  Allan McRae  <allan@archlinux.org>
38997         * version.h (RELEASE): Set to "development".
38998         (VERSION): Set to "2.19.90"
38999         * NEWS: Add 2.20 section.
39001 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
39003         [BZ #16529]
39004         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
39006 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39008         * manual/contrib.texi: Update entry for Carlos O'Donell,
39009         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
39011 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
39013         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
39015         * sysdeps/unix/sysv/linux/kernel-features.h
39016         [__LINUX_KERNEL_VERSION >= 0x020621]
39017         (__ASSUME_PROC_PID_TASK_COMM): Define.
39019 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39021         [BZ #16398]
39022         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
39023         conversion when destination buffer does not have enough space.
39024         * libio/tst-ftell-partial-wide.c: New test case.
39025         * libio/Makefile (tests): Add tst-ftell-partial-wide.
39027         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
39028         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
39029         Leonard and Allan McRae.
39031 2014-02-04  David S. Miller  <davem@davemloft.net>
39033         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
39034         32-bit.
39036 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
39039         New file
39040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
39041         New file
39042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
39043         New file.
39044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
39045         New file.
39046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
39047         New file.
39048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
39049         New file.
39050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
39051         New file.
39052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
39053         New file.
39054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
39055         New file.
39056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
39057         New file.
39058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
39059         New file.
39060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
39061         New file.
39062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
39063         New file.
39065 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39067         * nptl/shlib-versions: Change powerpc*le start to 2.17.
39068         * shlib-versions: Likewise.
39070 2014-02-04  Roland McGrath  <roland@hack.frob.com>
39071             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39073         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
39074         (abilist-pattern): New variable, set to %-le.abilist.
39076         * Makerules (abilist-pattern): New variable.
39077         (vpath): Use $(abilist-pattern) in place of %.abilist.
39078         (check-abi-% pattern rule): Likewise.
39079         (check-abi, update-abi): Likewise.
39081 2014-02-04  Eric Wong  <normalperson@yhbt.net>
39083         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39085 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
39087         * manual/startup.texi: Add next, previous, and top entries for
39088         the `Program Arguments' and `Environment Variables' nodes.
39090 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
39092         * manual/macros.texi: Add comments before MTASC-safety macros.
39094         * manual/users.texi: Document MTASC-safety properties.
39096         * manual/threads.texi (pthread_key_create, pthread_key_delete)
39097         (pthread_getspecific, pthread_setspecific): Format with
39098         @deftypefun, and add @safety note.
39099         * manual/signal.texi: Move comments that analyze the above
39100         functions to their home place.
39102 2014-02-03  Allan McRae  <allan@archlinux.org>
39104         * po/sl.po: Update Slovenian translation from translation project.
39106 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
39108         * manual/time.texi (timegm): Add missing blank after @c.
39109         Reported by Joseph Myers <joseph@codesourcery.com>.
39111 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
39113         * manual/check-safety.sh: New.
39114         * manual/Makefile ($(objpfx)stamp-summary): Run it.
39116         * manual/terminal.texi: Document MTASC-safety properties.
39118         * manual/filesys.texi: Document MTASC-safety properties.
39120         * manual/errno.texi: Document MTASC-safety properties.
39122         * manual/intro.texi: Document safety identifiers and
39123         conditionals.
39125         * manual/string.texi (wcstok): Fix prototype.
39126         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
39128         * manual/time.texi: Document MTASC-safety properties.
39130         * manual/string.texi: Document MTASC-safety properties.
39132         * manual/threads.texi: Document MTASC-safety properties.
39134         * manual/stdio.texi: Document MTASC-safety properties.
39136         * manual/syslog.texi: Document MTASC-safety properties.
39138         * manual/sysinfo.texi: Document MTASC-safety properties.
39140         * manual/startup.texi: Document MTASC-safety properties.
39142         * manual/socket.texi: Document MTASC-safety properties.
39144         * manual/signal.texi: Document MTASC-safety properties.
39146 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
39148         * manual/setjmp.texi: Document MTASC-safety properties.
39150         * manual/search.texi: Document MTASC-safety properties.
39152         * manual/resource.texi: Document MTASC-safety properties.
39154         * manual/process.texi: Document MTASC-safety properties.
39156         * manual/platform.texi: Document MTASC-safety properties.
39158         * manual/pipe.texi: Document MTASC-safety properties.
39160         * manual/pattern.texi: Document MTASC-safety properties.
39162         * manual/message.texi: Document MTASC-safety properties.
39164         [BZ #12751]
39165         * manual/memory.texi: Document MTASC-safety properties.
39167         * manual/math.texi: Document MTASC-safety properties.
39169         * manual/locale.texi: Document MTASC-safety properties.
39171         * manual/llio.texi: Document MTASC-safety properties.
39173         * manual/libdl.texi: New.
39175         * manual/lang.texi: Document MTASC-safety properties.
39177         * manual/job.texi: Document MTASC-safety properties.
39179         * manual/getopt.texi: Document MTASC-safety properties.
39181         * manual/ctype.texi: Document MTASC-safety properties.
39183 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
39185         [BZ #16046]
39186         * csu/libc-tls.c (static_map): Remove variable.
39187         (__libc_setup_tls): Use main executable's link map for TLS data.
39188         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
39189         casing for LM_ID_BASE and GL(dl_nns).
39190         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
39191         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
39192         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
39193         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
39194         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
39195         member.
39196         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
39197         l_phnum members.
39199 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
39201         * manual/debug.texi: Document MTASC-safety properties.
39203 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
39205         [BZ #16510]
39206         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
39207         of __x86_64__ when disabling x87 inline functions.
39209 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
39211         * manual/charset.texi: Document MTASC-safety properties.
39213         * manual/crypt.texi: Document MTASC-safety properties.
39215         * manual/conf.texi: Document MTASC-safety properties.
39217         * manual/arith.texi: Document MTASC-safety properties.
39219         * manual/argp.texi: Document MTASC-safety properties.
39221         * manual/macros.texi: Introduce macros to document multi
39222         thread, asynchronous signal and asynchronous cancellation
39223         safety properties.
39224         * manual/intro.texi: Introduce the properties themselves.
39226 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39228         * sysdeps/sh/sh4/Makefile: New file.
39230 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
39232         * math/gen-libm-test.pl ($srcdir): New variable.
39233         ($auto_input): Use it.
39235 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39237         [BZ #16506]
39238         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
39239         access beyond array bounds when parsing netgroups file.
39241         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
39242         the old buffer before realloc.
39244 2014-01-27  Allan McRae  <allan@archlinux.org>
39246         * po/fr.po: Update French translation from translation project.
39248 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39250         * sysdeps/sh/libm-test-ulps: Regenerate.
39252 2014-01-24  David S. Miller  <davem@davemloft.net>
39254         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
39256 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39258         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
39259         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
39261 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39263         [BZ #16474]
39264         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
39265         string pointers after reallocation.
39267 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39269         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
39270         __SH4A__ instead of __SH_FPU_ANY__.
39272 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39274         * sysdeps/sh/fpu_control.h: New file.
39275         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
39276         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
39277         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
39278         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
39279         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
39280         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
39281         * sysdeps/sh/sys/ucontext.h: Remove.
39282         * sysdeps/sh/sys: Remove directory.
39284 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39286         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
39287         s390/sys/ucontext.h.
39288         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
39289         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
39291 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
39293         [BZ #15605]
39294         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
39296 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39298         [BZ#16431]
39299         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39300         Adjust the vDSO correctly for internal calls.
39301         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
39303 2014-01-20  Allan McRae  <allan@archlinux.org>
39305         * po/ca.po: Update Catalan translation from translation project.
39307 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
39309         * sysdeps/s390/sotruss-lib.c: New file.
39311 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39313         [BZ#16430]
39314         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
39315         (__GI___gettimeofday): Alias for a different internal symbol to avoid
39316         local calls issues by not having a PLT stub required for IFUNC calls.
39317         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
39319 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
39321         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
39322         * math/test-fpucw-static.c: Likewise.
39324 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39326         [BZ #16453]
39327         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
39329 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39331         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
39332         implementation for powerpc.
39334 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
39336         [BZ #14782]
39337         * sysdeps/posix/system.c (__libc_system): Do not enable
39338         asynchronous cancellation.
39340 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39342         [BZ #16427]
39343         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
39344         handling only for numbers special also in the IEEE case.
39346 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39348         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39350 2014-01-11  Allan McRae  <allan@archlinux.org>
39352         * po/bg.po: Update Bulgarian translation from translation project.
39354         * po/de.po: Update German translation from translation project.
39356 2014-01-10  Roland McGrath  <roland@hack.frob.com>
39358         * sysdeps/generic/gcc-compat.h: New file.
39360 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39362         * benchtests/asin-inputs: Correct slow inputs.
39363         * benchtests/acos-inputs: Likewise.
39365 2014-01-10  Allan McRae  <allan@archlinux.org>
39367         * po:sv.po: Update Swedish translation from translation project.
39369         * po/vi.po: Update Vietnamese translation from translation project.
39371         * po/eo.po: Update Esperanto translation from translation project.
39373         * po/cs.po: Update Czech translation from translation project.
39375         * po/nl.po: Update Dutch translation from translation project.
39377         * po/pl.po: Update Polish translation from translation project.
39379         * po/ru.po: Update Russian translation from translation project.
39381         * po/uk.po: Update Ukrainian translation from translation project.
39383 2014-01-08  Brooks Moses  <bmoses@google.com>
39385         * elf/dl-load.c: Fix comment typo.
39387 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
39389         * po/header.pot: Rename to...
39390         * po/pot.header: ... this.
39391         * po/Makefile: Use pot.header.
39393 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
39394             Maxim Kuvyrkov  <maxim@kugelworks.com>
39396         [BZ #16394]
39397         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
39398         SRC and DEST against LEN.
39400 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39402         [BZ #16414]
39403         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
39404         implementation.
39405         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
39407 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39409         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39411 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
39413         [BZ #16408]
39414         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
39415         for large positive arguments.
39417 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
39419         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39421         * math/auto-libm-test-in: Mark various tests with
39422         xfail-rounding:ldbl-128ibm.
39423         * math/auto-libm-test-out: Regenerated.
39425         [BZ #16407]
39426         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
39427         Increase overflow threshold.
39429 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
39431         [BZ #14286]
39432         * stdio-common/vfprintf.c: Check for integer overflow.
39434 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39436         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
39437         the first argument and return value of __tls_get_addr_internal.
39439 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39441         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
39442         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
39444 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39446         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
39447         * sysdeps/s390/rtld-global-offsets.sym: New file.
39448         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
39449         GLIBC_2.19 symbol.
39450         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
39451         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
39452         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
39453         ... this.
39454         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
39455         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
39456         ... this.
39457         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39458         Regenerate.
39459         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39460         Regenerate.
39461         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
39462         halfs of GPRs for high_gprs contexts.
39463         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
39464         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
39465         field.
39466         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
39467         uc_flags field.
39468         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
39469         64 bit versions:
39470         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
39471         for high GPRs (uc_high_gprs) and for future extensions
39472         (__reserved).
39473         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
39474         for future extensions (__reserved).
39475         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
39476         64 bit versions:
39477         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
39478         SC_HIGHGPRS offset definition.
39479         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
39480         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
39482         * Versions.def: Add GLIBC_2.19 for libpthread.
39483         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
39484         siglongjmp for libpthread with GLIBC_2.19 symver.
39485         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
39486         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
39487         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
39488         * sysdeps/s390/__longjmp.c: New file.
39489         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
39490         * sysdeps/s390/longjmp.c: New file.
39491         * sysdeps/s390/setjmp.S: New file.
39492         * sysdeps/s390/sigjmp.S: New file.
39493         * sysdeps/s390/v1-longjmp.c: New file.
39494         * sysdeps/s390/v1-setjmp.h: New file.
39495         * sysdeps/s390/v1-sigjmp.c: New file.
39496         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
39497         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
39498         GLIBC_2.19 version.
39499         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
39500         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
39501         versioned symbols for ____longjmp_chk.
39502         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
39503         Likewise.
39504         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39505         Regenerate.
39506         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39507         Regenerate.
39508         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39509         Regenerate.
39510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39511         Regenerate.
39512         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
39513         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
39514         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
39515         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
39516         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
39517         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
39518         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
39519         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
39520         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
39521         * sysdeps/s390/rtld-__longjmp.c: New file.
39522         * sysdeps/s390/rtld-setjmp.S: New file.
39524 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
39526         [BZ #16400]
39527         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39528         Return -__logl (x) for small positive arguments without evaluating
39529         a polynomial.
39531 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
39533         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
39534         Rename to ...
39535         (__ptrace_peeksiginfo_args): ... this.
39536         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39537         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39538         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39540 2014-01-06  Allan McRae  <allan@archlinux.org>
39542         * inet/netinet/in.h: Fix typo in comment.
39544 2014-01-05  Andreas Jaeger  <aj@suse.de>
39546         * sysdeps/i386/fpu/libm-test-ulps: Update.
39548 2014-01-05  Allan McRae  <allan@archlinux.org>
39550         * po/libc.pot: Regenerated.
39552         * malloc/memusagestat.c: Fix gettext call formatting.
39554 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
39556         * nscd/nscd.c: Improve usage() output.
39558 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
39560         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
39561         * sysdeps/unix/sysv/linux/configure: Regenerated.
39562         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
39563         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
39565 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39567         [BZ #16390]
39568         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39569         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
39571 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39573         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
39574         extra tokens at end of #undef directive.
39575         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
39576         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
39577         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
39579 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39581         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39583         * math/auto-libm-test-in: Mark various tests with
39584         xfail-rounding:ldbl-128ibm.
39585         * math/auto-libm-test-out: Regenerated.
39587 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
39589         [BZ #16386]
39590         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
39591         numbers with subnormal high part when calculating exponent.
39593         [BZ #16385]
39594         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
39595         fabs.
39597         [BZ #16384]
39598         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
39599         M_LN2l.
39600         (__ieee754_acoshl): Use __log1pl not __log1p.
39602 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
39604         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
39605         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
39606         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
39607         (grow_heap, heap_trim, _int_new_arena, get_free_list)
39608         (reused_arena, arena_get2): Convert to GNU style.
39609         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
39610         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
39611         (memalign_check, __malloc_set_state): Likewise.
39612         * malloc/mallocbug.c (main): Likewise.
39613         * malloc/malloc.c (__malloc_assert, malloc_init_state)
39614         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
39615         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
39616         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
39617         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
39618         (__posix_memalign, malloc_info): Likewise.
39619         * malloc/malloc.h: Likewise.
39620         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
39621         (mallochook, memalignhook, reallochook, mabort): Likewise.
39622         * malloc/mcheck.h: Likewise.
39623         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
39624         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
39625         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
39626         * malloc/morecore.c (__default_morecore): Likewise.
39627         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
39628         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
39629         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
39630         (print_and_abort): Likewise.
39631         * malloc/obstack.h: Likewise.
39632         * malloc/set-freeres.c (__libc_freeres): Likewise.
39633         * malloc/tst-mallocstate.c (main): Likewise.
39634         * malloc/tst-mtrace.c (main): Likewise.
39635         * malloc/tst-realloc.c (do_test): Likewise.
39637 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39639         [BZ #16366]
39640         * nscd/netgroupcache.c (do_notfound): New function.
39641         (addgetnetgrentX): Use it.
39643         [BZ # 16365]
39644         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
39645         NSS_STATUS_NOTFOUND.
39647 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
39649         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
39650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39652 2014-01-01  Allan McRae  <allan@archlinux.org>
39654         * scripts/update-copyrights: Update configure input file suffix.
39656         * NEWS: Update copyright year.
39657         * catgets/gencat.c: Likewise.
39658         * csu/version.c: Likewise.
39659         * debug/catchsegv.sh: Likewise.
39660         * debug/pcprofiledump.c: Likewise.
39661         * debug/xtrace.sh: Likewise.
39662         * elf/ldconfig.c: Likewise.
39663         * elf/ldd.bash.in: Likewise.
39664         * elf/pldd.c: Likewise.
39665         * elf/sotruss.ksh: Likewise.
39666         * elf/sprof.c: Likewise.
39667         * iconv/iconv_prog.c: Likewise.
39668         * iconv/iconvconfig.c: Likewise.
39669         * locale/programs/locale.c: Likewise.
39670         * locale/programs/localedef.c: Likewise.
39671         * login/programs/pt_chown.c: Likewise.
39672         * malloc/memusage.sh: Likewise.
39673         * malloc/memusagestat.c: Likewise.
39674         * malloc/mtrace.pl: Likewise.
39675         * manual/libc.texinfo: Likewise.
39676         * nscd/nscd.c: Likewise.
39677         * nss/getent.c: Likewise.
39678         * nss/makedb.c: Likewise.
39679         * posix/getconf.c: Likewise.
39680         * scripts/test-installation.pl: Likewise.
39682         * All files with FSF copyright notices: Update copyright dates
39683         using scripts/update-copyrights.
39684         * intl/plural.c: Regenerated.
39685         * locale/programs/charmap-kw.h: Likewise.
39686         * locale/programs/locfile-kw.h: Likewise.
39688 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
39690         * sysdeps/unix/sysv/linux/configure: Regenerated.
39691         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
39692         the linux/fanotify.h header.
39693         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
39694         HAVE_LINUX_FANOTIFY_H is defined.
39696 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39698         * benchtests/cos-inputs: New inputs.
39699         * benchtests/sin-inputs: Likewise.
39701         * benchtests/atan-inputs: New inputs. Fix name of multiple
39702         precision fallback inputs.
39704         * benchtests/atanh-inputs: New inputs.
39705         * benchtests/tanh-inputs: Likewise.
39707         * benchtests/acosh-inputs: New inputs.
39708         * benchtests/asinh-inputs: Likewise.
39710         * benchtests/cosh-inputs: New inputs.
39711         * benchtests/sinh-inputs: Likewise.
39713         * benchtests/acos-inputs: Add more inputs.
39714         * benchtests/asin-inputs: Likewise.
39716 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
39718         [BZ #16375]
39719         * manual/arith.texi: Fix spelling.
39720         * manual/charset.texi: Likewise.
39721         * manual/errno.texi: Likewise.
39722         * manual/filesys.texi: Likewise.
39723         * manual/lang.texi: Likewise.
39724         * manual/llio.texi: Likewise.
39725         * manual/locale.texi: Likewise.
39726         * manual/message.texi: Likewise.
39727         * manual/resource.texi: Likewise.
39728         * manual/search.texi: Likewise.
39729         * manual/setjmp.texi: Likewise.
39730         * manual/stdio.texi: Likewise.
39731         * manual/string.texi: Likewise.
39732         * manual/sysinfo.texi: Likewise.
39733         * manual/time.texi: Likewise.
39735 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
39737         * po/sl.po: New file.
39739 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
39741         * .gitignore: Add core/.gdbinit/.gdb_history.
39743 2013-12-27  Allan McRae  <allan@archlinux.org>
39745         [BZ #16369]
39746         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
39747         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
39749 2013-12-24  Brooks Moses  <bmoses@google.com>
39751         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
39752         all compilers that claim C++98 compliance, not just GCC.
39753         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39754         Likewise.
39756 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
39758         * NEWS: Restore accidentally deleted bug-fix entries.
39760 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
39761             Ondřej Bílka  <neleai@seznam.cz>
39763         [BZ #15073]
39764         * malloc/malloc.c (_int_free): Perform sanity check only if we
39765         have_lock.
39767 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
39769         [BZ #12986]
39770         * manual/stdio.texi (String Input Conversions): Clarify that character
39771         classes are not supported.
39773 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39775         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39777 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
39779         [BZ #16337]
39780         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39781         Calculate results for small negative arguments directly rather
39782         than using reflection formula with special underflow handling.
39784         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
39785         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
39786         sysdeps/unix/bsd/bsd4.4/syscalls.list.
39787         (fchflags): Likewise.
39788         (revoke): Likewise.
39789         (setlogin): Likewise.
39790         (sigaltstack): Likewise.
39791         (wait4): Likewise.
39792         (sigblock): Remove.
39793         (sigsetmask): Likewise.
39794         (wait3): Likewise.
39795         (waitpid): Likewise.
39796         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
39797         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
39798         file.
39799         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
39800         * sysdeps/unix/bsd/Makefile: ... here.
39801         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
39802         * sysdeps/unix/bsd/Versions: ... here.
39803         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
39804         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
39805         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
39806         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
39807         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
39808         * sysdeps/unix/bsd/sigblock.c: ... here.
39809         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
39810         * sysdeps/unix/bsd/sigsetmask.c: ... here.
39811         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
39812         * sysdeps/unix/bsd/sigvec.c: ... here.
39813         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
39814         * sysdeps/unix/bsd/tcdrain.c: ... here.
39815         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
39816         * sysdeps/unix/bsd/tcgetattr.c: ... here.
39817         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
39818         * sysdeps/unix/bsd/tcsetattr.c: ... here.
39819         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
39820         * sysdeps/unix/bsd/wait.c: ... here.
39821         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
39822         * sysdeps/unix/bsd/wait3.c: ... here.
39823         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
39824         * sysdeps/unix/bsd/waitpid.c: ... here.
39826 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
39828         [BZ #16356]
39829         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
39830         round-to-nearest for [!USE_AS_EXPM1L].
39831         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
39832         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
39833         more tests of exp and exp10.  Expect some exp10 tests to miss
39834         exceptions or fail in directed rounding modes.
39835         * math/auto-libm-test-out: Regenerated.
39836         * math/libm-test.inc (exp10_tonearest_test_data): New array.
39837         (exp10_test_tonearest): New function.
39838         (exp10_towardzero_test_data): New array.
39839         (exp10_test_towardzero): New function.
39840         (exp10_downward_test_data): New array.
39841         (exp10_test_downward): New function.
39842         (exp10_upward_test_data): New array.
39843         (exp10_test_upward): New function.
39844         (main): Call the new functions.
39845         * sysdeps/i386/fpu/libm-test-ulps: Update.
39846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39848 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
39850         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
39851         asinh, atan, atan2, atanh, cbrt, cos and cosh.
39852         * math/auto-libm-test-out: Regenerated.
39853         * math/libm-test.inc (acosh_test_data): Add more tests.
39854         (atanh_test_data): Likewise.
39855         (ceil_test_data): Likewise.
39856         (copysign_test_data): Likewise.
39857         * sysdeps/i386/fpu/libm-test-ulps: Update.
39858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39860         * timezone/checktab.awk: Update from tzcode 2013i.
39861         * timezone/private.h: Likewise.
39862         * timezone/scheck.c: Likewise.
39863         * timezone/tzfile.h: Likewise.
39864         * timezone/tzselect.ksh: Likewise.
39865         * timezone/zdump.c: Likewise.
39866         * timezone/zic.c: Likewise.
39868         * math/auto-libm-test-in: Add tests of cpow.
39869         * math/auto-libm-test-out: Regenerated.
39870         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
39871         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39872         mpc_cc_c.
39873         (func_calc_desc): Add mpc_cc_c union field.
39874         (test_functions): Add cpow.
39875         (special_fill_2pi): New function.
39876         (special_real_inputs): Add 2pi.
39877         (calc_generic_results): Handle mpc_cc_c.
39878         * sysdeps/i386/fpu/libm-test-ulps: Update.
39879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39881         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
39882         csqrt, ctan and ctanh.
39883         * math/auto-libm-test-out: Regenerated.
39884         * math/libm-test.inc (TEST_COND_x86_64): New macro.
39885         (TEST_COND_x86): Likewise.
39886         (ccos_test_data): Use AUTO_TESTS_c_c.
39887         (ccosh_test_data): Likewise.
39888         (cexp_test_data): Likewise.
39889         (clog_test_data): Likewise.
39890         (csqrt_test_data): Likewise.
39891         (ctan_test_data): Likewise.
39892         (ctan_tonearest_test_data): Likewise.
39893         (ctan_towardzero_test_data): Likewise.
39894         (ctan_downward_test_data): Likewise.
39895         (ctan_upward_test_data): Likewise.
39896         (ctanh_test_data): Likewise.
39897         (ctanh_tonearest_test_data): Likewise.
39898         (ctanh_towardzero_test_data): Likewise.
39899         (ctanh_downward_test_data): Likewise.
39900         (ctanh_upward_test_data): Likewise.
39901         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39902         mpc_c_c.
39903         (func_calc_desc): Add mpc_c_c union field.
39904         (FUNC_mpc_c_c): New macro.
39905         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
39906         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
39907         ctanh.
39908         (special_fill_min_subnorm_p120): New function.
39909         (special_real_inputs): Add min_subnorm_p120.
39910         (calc_generic_results): Handle mpc_c_c.
39911         * sysdeps/i386/fpu/libm-test-ulps: Update.
39912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39914 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39916         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
39917         (do_sin_slow): New functions.
39918         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
39919         (cslow2, csloww1, csloww2): Use the new functions.
39921         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
39922         Use M to change sign of result instead of X.  Assume X is
39923         positive.
39924         (csloww1): Likewise.
39925         (__sin): Adjust.
39926         (__cos): Adjust.
39928         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
39929         arguments A and DA.
39930         (__sin): Adjust.
39931         (__cos): Likewise.
39933         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
39934         (__cos): Likewise.
39935         (sloww1): Don't adjust sign of DX.
39936         (csloww1): Likewise.
39937         (sloww2): Use X directly and don't adjust sign of DX.
39938         (csloww2): Likewise.
39940 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39942         * math/auto-libm-test-in: Add tests of cabs and carg.
39943         * math/auto-libm-test-out: Regenerated.
39944         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
39945         (carg_test_data): Likewise.
39946         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39947         mpc_c_f.
39948         (func_calc_desc): Add mpc_c_f union field.
39949         (test_functions): Add cabs and carg.
39950         (calc_generic_results): Handle mpc_c_f.
39952         * sysdeps/powerpc/powerpc32/libgcc-compat.S
39953         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
39954         as a macro and a compat symbol.
39955         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
39956         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
39957         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
39958         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
39959         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
39960         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
39961         not use .hidden.
39962         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
39963         Likewise.
39964         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
39965         Likewise.
39966         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
39967         Likewise.
39968         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
39969         Likewise.
39970         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
39971         Likewise.
39972         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
39973         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
39974         from GLIBC_2.3.2.
39976 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39980 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39982         * manual/texinfo.tex: Update to version 2013-11-26.10 with
39983         trailing whitespace removed.
39984         * scripts/config.guess: Update to version 2013-11-29.
39985         * scripts/config.sub: Update to version 2013-10-01.
39987         * math/auto-libm-test-in: Add tests of sincos.
39988         * math/auto-libm-test-out: Regenerated.
39989         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
39990         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39991         mpfr_f_11.
39992         (func_calc_desc): Add mpfr_f_11 union field.
39993         (test_functions): Add sincos.
39994         (calc_generic_results): Handle mpfr_f_11.
39995         * sysdeps/i386/fpu/libm-test-ulps: Update.
39996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39998 2013-12-19  Andreas Schwab  <schwab@suse.de>
40000         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
40001         CALL_MCOUNT.
40002         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40003         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
40004         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
40006 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40008         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
40009         * sysdeps/i386/fpu/libm-test-ulps: Update.
40010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40012         [BZ #16293]
40013         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
40014         round-to-nearest mode when using frndint.
40015         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
40016         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40017         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
40018         Likewise.
40019         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
40020         sinh test to fail.
40021         * math/auto-libm-test-out: Regenerated.
40022         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
40023         (TEST_COND_x86): Likewise.
40024         (expm1_tonearest_test_data): New array.
40025         (expm1_test_tonearest): New function.
40026         (expm1_towardzero_test_data): New array.
40027         (expm1_test_towardzero): New function.
40028         (expm1_downward_test_data): New array.
40029         (expm1_test_downward): New function.
40030         (expm1_upward_test_data): New array.
40031         (expm1_test_upward): New function.
40032         (main): Run the new test functions.
40033         * sysdeps/i386/fpu/libm-test-ulps: Update.
40034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40036         * include/features.h: Update comment documenting feature test
40037         macros.  Mention _DEFAULT_SOURCE in comment.
40038         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
40039         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
40040         _BSD_SOURCE and _SVID_SOURCE.
40041         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
40042         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
40043         !_SVID_SOURCE]: Likewise.
40044         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40045         (__USE_POSIX_IMPLICITLY): Define.
40046         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40047         (_POSIX_SOURCE): Undefine and redefine.
40048         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40049         (_POSIX_C_SOURCE): Likewise.
40050         * manual/creature.texi (_DEFAULT_SOURCE): Document.
40051         (Feature Test Macros): Update documentation of default features.
40053 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40055         * benchtests/Makefile: Add bench-strtok.
40056         * benchtests/bench-strtok.c: New file: strtok benchtest.
40058 2013-12-19  Allan McRae  <allan@archlinux.org>
40060         * manual/install.texi: Suppress menu for plain text output.
40061         * INSTALL: Regenerated.
40063 2013-12-18  Brooks Moses  <bmoses@google.com>
40065         [BZ #15846]
40066         * misc/getauxval.c: Include errno.h.
40067         (__getauxval): Set errno to ENOENT if the requested type is not
40068         found.
40069         * misc/sys/auxv.h (getauxval): Document that it may set errno;
40070         don't declare with __attribute_const__.
40071         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
40072         * manual/startup.texi: Document that getauxval sets errno.
40074 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
40076         * math/auto-libm-test-in: Add tests of jn and yn.
40077         * math/auto-libm-test-out: Regenerated.
40078         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
40079         (yn_test_data): Likewise.
40080         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40081         mpfr_if_f.
40082         (func_calc_desc): Add mpfr_if_f union field.
40083         (FUNC_mpfr_if_f): New macro.
40084         (test_functions): Add jn and yn.
40085         (calc_generic_results): Assert type of second input for
40086         mpfr_ff_f.  Handle mpfr_if_f.
40087         (output_for_one_input_case): Disable all checking for arguments
40088         fitting floating-point types in case of an integer argument.
40089         * sysdeps/i386/fpu/libm-test-ulps: Update.
40090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40093         Don't expect fegetround reference in libm.so.
40095 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40097         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
40098         $(config-cflags-nofma).
40100 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
40102         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
40103         * math/auto-libm-test-out: Regenerated.
40105         [BZ #16338]
40106         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
40107         to determine exponent and adjust argument to have exponent of -1.
40108         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
40109         log2.
40110         * math/auto-libm-test-out: Regenerated.
40111         * sysdeps/i386/fpu/libm-test-ulps: Update.
40112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40114 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
40116         * manual/probes.texi: Remove cases when per-thread arenas are
40117         disabled.
40119 2013-12-18  Andreas Schwab  <schwab@suse.de>
40121         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
40122         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
40123         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
40124         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
40125         * sysdeps/i386/i686/multiarch/Makefile: Update.
40126         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
40128 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40130         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
40131         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
40133 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
40135         [BZ #15968]
40136         Support TZ transition times < 00:00:00.
40137         This is needed for version-3 tz-format files; it supports time
40138         stamps past 2037 for America/Godthab (the only entry in the tz
40139         database for which this change is relevant).
40140         * manual/time.texi (TZ Variable): Document transition times
40141         from -167:59:59 through -00:00:01.
40142         * time/tzset.c (tz_rule): Time of day is now signed.
40143         (__tzset_parse_tz): Parse negative time of day.
40145         Document TZ transition times >= 25:00:00.
40146         * manual/time.texi (TZ Variable): Document transition times from
40147         25:00:00 through 167:59:59.  These are already supported, and this
40148         support will help with version-3 tz-format files.
40150         * manual/time.texi (TZ Variable): Modernize North America example
40151         to reflect current (i.e., 2007-and-later) daylight saving rules.
40153         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
40155 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40157         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
40158         * sysdeps/unix/bsd/bits/stat.h: Likewise.
40159         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
40160         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40161         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
40162         * sysdeps/unix/bsd/bsdstat.h: Likewise.
40163         * sysdeps/unix/bsd/clock.c: Likewise.
40164         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
40165         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
40166         * sysdeps/unix/bsd/init-posix.c: Likewise.
40167         * sysdeps/unix/bsd/poll.c: Likewise.
40168         * sysdeps/unix/bsd/ptsname.c: Likewise.
40169         * sysdeps/unix/bsd/seekdir.c: Likewise.
40170         * sysdeps/unix/bsd/setegid.c: Likewise.
40171         * sysdeps/unix/bsd/seteuid.c: Likewise.
40172         * sysdeps/unix/bsd/setgid.c: Likewise.
40173         * sysdeps/unix/bsd/setrgid.c: Likewise.
40174         * sysdeps/unix/bsd/setruid.c: Likewise.
40175         * sysdeps/unix/bsd/setsid.c: Likewise.
40176         * sysdeps/unix/bsd/setuid.c: Likewise.
40177         * sysdeps/unix/bsd/sigaction.c: Likewise.
40178         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
40179         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
40180         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
40181         * sysdeps/unix/bsd/telldir.c: Likewise.
40182         * sysdeps/unix/bsd/times.c: Likewise.
40183         * sysdeps/unix/bsd/usleep.c: Likewise.
40185         * misc/Makefile (install-lib): Remove libbsd-compat.a.
40186         ($(objpfx)libbsd-compat.a): Remove rule.
40188         * include/features.h (__FAVOR_BSD): Do not define.
40189         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
40190         features conflicting with POSIX.
40191         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
40192         (_BSD_SOURCE): Remove description of not being a subset of other
40193         feature test macros.
40194         * manual/job.texi (getpgrp): Do not document BSD version.
40195         (getpgid): Do not document by reference to BSD getpgrp.
40196         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
40197         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
40198         * signal/signal.h [__FAVOR_BSD]: Likewise.
40199         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
40200         instead of making contents conditional on [__FAVOR_BSD].
40201         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
40203 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40205         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40207 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40209         [BZ #16314]
40210         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
40211         values below 2**-450, not 2**-500.
40212         * math/auto-libm-test-in: Don't allow spurious underflow from
40213         hypot.
40214         * math/auto-libm-test-out: Regenerated.
40216         [BZ #16316]
40217         [BZ #16330]
40218         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
40219         values of ha and hb and sort them after adjusting subnormal
40220         arguments.
40221         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
40222         Likewise.
40223         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
40224         values of ea and eb and sort them after adjusting subnormal
40225         arguments.
40226         * math/auto-libm-test-in: Do not expect some hypot tests of
40227         subnormals to fail.  Add more hypot tests.
40228         * math/auto-libm-test-out: Regenerated.
40230 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40232         [BZ #13304]
40233         * sysdeps/sh/s_fma.c: New file.
40234         * sysdeps/sh/s_fmaf.c: New file.
40235         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
40236         version.
40237         * sysdeps/sh/Implies: Add sh/soft-fp.
40239 2013-12-16  Roland McGrath  <roland@hack.frob.com>
40241         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
40242         level of indirection to members `objname', `errstring', `malloced'.
40243         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
40244         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
40245         it as the __longjmp argument (just pass 1 instead).
40246         (_dl_catch_error): Initialize C with argument pointers and address of
40247         volatile local ERRCODE rather than copying values out of C at return.
40249 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
40251         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
40252         * math/auto-libm-test-out: Regenerated.
40253         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
40254         (hypot_test_data): Likewise.
40255         (pow_test_data): Likewise.
40256         (pow_tonearest_test_data): Likewise.
40257         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40258         mpfr_ff_f.
40259         (func_calc_desc): Add mpfr_ff_f union field.
40260         (FUNC_mpfr_ff_f): New macro.
40261         (test_functions): Add atan2, hypot and pow.
40262         (special_fill_min): New function.
40263         (special_fill_minus_min): Likewise.
40264         (special_fill_min_subnorm): Likewise.
40265         (special_fill_minus_min_subnorm): Likewise.
40266         (special_real_inputs): Add min, -min, min_subnorm and
40267         -min_subnorm.
40268         (calc_generic_results): Handle mpfr_ff_f.
40269         * sysdeps/i386/fpu/libm-test-ulps: Update.
40270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40272 2013-12-16  Will Newton  <will.newton@linaro.org>
40274         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
40275         (Aligned Memory Blocks): Add documentation for aligned_alloc
40276         and suggest it as an alternative to posix_memalign.
40277         (Hooks for Malloc): Document __memalign_hook is also called
40278         for aligned_alloc.  (Summary of Malloc): Add summary for
40279         aligned alloc.  Document __memalign_hook is also called
40280         for aligned_alloc.
40282 2013-12-16  Will Newton  <will.newton@linaro.org>
40284         * manual/memory.texi (Malloc Examples): Clarify default
40285         alignment documentation.  Suggest posix_memalign rather
40286         than memalign or valloc.
40287         (Aligned Memory Blocks): Remove suggestion to use memalign
40288         or valloc.  Remove obsolete comment about BSD.
40289         Document memalign errno values and mark the function obsolete.
40290         Document posix_memalign returned error codes.  Mark valloc
40291         as obsolete.  (Hooks for Malloc): __memalign_hook is also
40292         called for posix_memalign and valloc.
40293         (Summary of Malloc): Add posix_memalign to function summary.
40294         __memalign_hook is also called for posix_memalign and valloc.
40296 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40298         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
40299         TAYLOR_SIN.
40300         (__sin): Adjust.
40301         (__cos): Likewise.
40302         (sloww): Use mynumber union.  Expand ternary operator into
40303         if-else statements.
40304         (cslow): use mynumber union.
40306 2013-12-16  Allan McRae  <allan@archlinux.org>
40308         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
40309         * configure: Regenerated.
40311         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
40313         [BZ #14120]
40314         * configure.ac: Added --enable-maintainer-mode. Check for
40315         autoconf when enabled.
40316         * configure: Regenerated.
40318         * nscd/nscd.service: New file.
40319         * nscd/nscd.tmpfiles: New file.
40321 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
40323         [BZ #12100]
40324         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
40325         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
40326         * sysdeps/x86_64/multiarch/strstr.c: ... here.
40327         (strstr): Add __strstr_sse2_unaligned ifunc.
40328         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
40329         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
40330         (strcasestr): Remove __strcasestr_sse42 ifunc.
40331         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
40332         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
40333         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40335 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40337         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
40338         * sysdeps/sh/bits/fenv.h: ... here.
40339         * sysdeps/sh/sh4/fpu/bits: Remove directory.
40341 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40343         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
40345         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
40346         hypotf multiarch implementations.
40347         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
40348         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
40349         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
40350         multiarch hypot for PPC64.
40351         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
40352         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
40353         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
40354         multiarch hypotf for PPC64.
40356         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
40357         modff multiarch implementations.
40358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
40359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
40360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
40361         multiarch modf for PPC64.
40362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
40363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
40364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
40365         multiarch modff for PPC64.
40367         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
40368         and logl multiarch implementations.
40369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
40370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
40371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
40372         multiarch logb for PPC64.
40373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
40374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
40375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
40376         multiarch logb for PPC64.
40377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
40378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
40379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
40380         multiarch logb for PPC64.
40382         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
40383         isinff multiarch implementation.
40384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
40385         file.
40386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
40387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
40388         multiarch isinf for PPC64.
40389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
40390         file.
40391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
40392         multiarch isinff for PPC64.
40394         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
40395         finitef multiarch implementation.
40396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
40397         file.
40398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
40399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
40400         multiarch finite for PPC64.
40401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
40402         file.
40403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
40404         multiarch finitef for PPC64.
40406         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
40407         lrint multiarch implementation.
40408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
40409         file.
40410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
40411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
40412         multiarch llrint for PPC64.
40413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
40414         multiarch lrint for PPC64.
40416         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
40417         copysignf multiarch implementation.
40418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
40419         file.
40420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
40421         file.
40422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
40423         multiarch copysign for PPC64.
40424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
40425         multiarch copysignf for PPC64.
40427         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
40428         multiarch implementation.
40429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
40430         file.
40431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
40432         file.
40433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
40434         file.
40435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
40436         file.
40437         multiarch llround for PPC64.
40438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
40439         multiarch trunc for PPC64.
40440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
40441         multiarch truncf for PPC64.
40443         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
40444         multiarch implementation.
40445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
40446         file.
40447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
40448         file.
40449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
40450         file.
40451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
40452         file.
40453         multiarch llround for PPC64.
40454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
40455         multiarch round for PPC64.
40456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
40457         multiarch roundf for PPC64.
40459         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
40460         multiarch implementation.
40461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
40462         file.
40463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
40464         file.
40465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
40466         file.
40467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
40468         file.
40469         multiarch llround for PPC64.
40470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
40471         multiarch floor for PPC64.
40472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
40473         multiarch floorf for PPC64.
40475         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
40476         multiarch implementation.
40477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
40478         file.
40479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
40480         file.
40481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
40482         file.
40483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
40484         file.
40485         multiarch llround for PPC64.
40486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
40487         multiarch ceil for PPC64.
40488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
40489         multiarch ceilf for PPC64.
40491         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40492         multiarch implementation.
40493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
40494         file.
40495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
40496         file.
40497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
40498         file.
40499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
40500         multiarch llround for PPC64.
40501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
40502         multiarch lround for PPC64.
40504         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40505         multiarch implementation.
40506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
40507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
40508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
40509         file.
40510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
40511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
40512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
40513         multiarch isnan for PPC64.
40514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
40515         multiarch isnanf for PPC64.
40517         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
40518         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
40519         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
40520         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
40521         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
40522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
40524         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
40525         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40526         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40527         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40529         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
40530         multiarch implementations.
40531         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40532         (__libc_ifunc_impl_list): Likewise.
40533         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
40534         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
40535         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
40536         multiarch stpcpy for PPC64.
40538         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
40539         multiarch implementations.
40540         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40541         (__libc_ifunc_impl_list): Likewise.
40542         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
40543         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
40544         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
40545         multiarch strcpy for PPC64.
40547         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
40548         redefine function name.
40549         (_wordcopy_fwd_dest_aligned): Likewise.
40550         (_wordcopy_bwd_aligned): Likewise.
40551         (_wordcopy_bwd_dest_aligned): Likewise.
40552         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
40553         multiarch implementations.
40554         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40555         (__libc_ifunc_impl_list): Likewise.
40556         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
40557         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
40558         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
40559         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
40560         multiarch wcscpy for PPC64.
40562         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
40563         multiarch implementations.
40564         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40565         (__libc_ifunc_impl_list): Likewise.
40566         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
40567         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
40568         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
40569         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
40570         multiarch wcscpy for PPC64.
40572         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
40573         multiarch implementations.
40574         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40575         (__libc_ifunc_impl_list): Likewise.
40576         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
40577         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
40578         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
40579         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
40580         multiarch wcsrchr for PPC64.
40582         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
40583         multiarch implementations.
40584         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40585         (__libc_ifunc_impl_list): Likewise.
40586         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
40587         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
40588         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
40589         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
40590         multiarch wcschr for PPC64.
40592         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
40593         multiarch implementations.
40594         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40595         (__libc_ifunc_impl_list): Likewise.
40596         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
40597         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
40598         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
40599         multiarch strchrnul for PPC64.
40601         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
40602         implementations.
40603         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40604         (__libc_ifunc_impl_list): Likewise.
40605         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
40606         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
40607         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
40608         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
40609         strchr for PPC64.
40611         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
40612         implementations.
40613         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40614         (__libc_ifunc_impl_list): Likewise.
40615         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
40616         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
40617         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
40618         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
40619         strncmp for PPC64.
40621         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
40622         multiarch implementations.
40623         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40624         (__libc_ifunc_impl_list): Likewise.
40625         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
40626         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
40627         strncasecmp for PPC64.
40628         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
40629         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
40630         multiarch strncasecmp_l for PPC64.
40632         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
40633         multiarch implementations.
40634         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40635         (__libc_ifunc_impl_list): Likewise.
40636         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
40637         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
40638         multiarch strcasecmp for PPC64.
40639         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
40640         file.
40641         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
40642         multiarch strcasecmp_l for PPC64.
40644         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
40645         implementations.
40646         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40647         (__libc_ifunc_impl_list): Likewise.
40648         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
40649         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
40650         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
40651         strnlen for PPC64.
40653         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
40654         implementations.
40655         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40656         (__libc_ifunc_impl_list): Likewise.
40657         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
40658         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
40659         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
40660         strlen for PPC64.
40662         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
40663         implementations.
40664         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40665         (__libc_ifunc_impl_list): Likewise.
40666         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
40667         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
40668         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
40669         rawmemrchr for PPC64.
40671         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
40672         implementation.
40673         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40674         (__libc_ifunc_impl_list): Likewise.
40675         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
40676         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
40677         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
40678         memrchr for PPC64.
40680         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
40681         implementation.
40682         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40683         (__libc_ifunc_impl_list): Likewise.
40684         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
40685         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
40686         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
40687         memchr for PPC64.
40689         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
40690         implementation.
40691         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40692         (__libc_ifunc_impl_list): Likewise.
40693         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
40694         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
40695         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
40696         mempcpy for PPC64.
40698         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
40699         avoid cretion of __bzero symbol.
40700         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
40701         Likewise.
40702         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
40703         Likewise.
40704         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
40705         Likewise.
40706         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
40707         multiarch implementations.
40708         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40709         (__libc_ifunc_impl_list): Likewise.
40710         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
40711         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
40712         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
40713         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
40714         bzero for PPC32.
40715         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
40716         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
40717         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
40718         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
40719         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
40720         memset for PPC64.
40721         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
40723         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
40724         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
40725         implementations.
40726         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40727         (__libc_ifunc_impl_list): Likewise.
40728         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
40729         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
40730         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
40731         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
40732         memcmp for PPC64.
40734         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
40735         multiarch for POWER/PPC64.
40736         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
40737         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
40738         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
40739         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
40740         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
40741         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
40742         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
40743         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
40744         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
40745         memcpy for PPC64.
40747         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
40748         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
40749         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
40750         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
40751         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
40752         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
40753         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
40754         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
40755         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
40756         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
40757         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
40758         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
40759         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
40760         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
40761         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
40762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
40763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
40764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
40765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
40766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
40767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
40768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
40770 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40772         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
40774 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40776         * benchtests/Makefile (bench): Add exp2 and log2.
40777         (LDLIBS-bench-exp2): Add -lm.
40778         (LDLIBS-bench-log2): Likewise.
40779         * benchtests/exp2-inputs: New inputs file.
40780         * benchtests/log2-inputs: New inputs file.
40781         * benchtests/log-inputs: Add new inputs.
40782         * benchtests/tan-inputs: Likewise.
40784 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40786         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
40787         definition...
40788         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
40789         (csloww2): ... from here.
40791         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
40792         instead of structures.
40793         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
40794         (POLYNOMIAL): Likewise.
40795         (TAYLOR_SLOW): Likewise.
40796         (__sin): Likewise.
40797         (__cos): Likewise.
40798         (slow1): Likewise.
40799         (slow2): Likewise.
40800         (sloww): Likewise.
40801         (sloww1); Likewise.
40802         (sloww2): Likewise.
40803         (bsloww1): Likewise.
40804         (bsloww2): Likewise.
40805         (cslow2): Likewise.
40806         (csloww): Likewise.
40807         (csloww1): Likewise.
40808         (csloww2): Likewise.
40810 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
40812         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
40813         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
40814         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
40815         * malloc/hooks.c (realloc_check): Likewise.
40817         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
40818         * malloc/arena.c: Remove PER_THREAD conditional.
40819         [!PER_THREAD]: Remove code.
40820         (ptmalloc_unlock_all2): Likewise.
40821         (ptmalloc_init): Likewise.
40822         (_int_new_arena): Likewise.
40823         (arena_get2): Likewise.
40824         * malloc/hooks.c (__malloc_get_state): Likewise.
40825         (__malloc_set_state): Likewise.
40826         * malloc/malloc.c: Likewise.
40827         (struct malloc_state): Likewise.
40828         (struct malloc_par): Likewise.
40829         (__libc_realloc): Likewise.
40830         (__libc_mallopt): Likewise.
40832 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40834         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
40836 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
40838         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
40839         macro to a function.  Check for zero perturb_byte.
40840         (_int_malloc, _int_free): Remove zero perturb_byte checks.
40842         * malloc/malloc.c: (force_reg): Remove.
40843         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
40844         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
40845         force_reg by atomic_forced_read.
40846         * malloc/arena.c (ptmalloc_init): Likewise.
40847         * malloc/hooks.c (top_check): Likewise.
40849 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40853 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
40855         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40857 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
40859         * math/auto-libm-test-in: Add tests of lgamma.
40860         * math/auto-libm-test-out: Regenerated.
40861         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
40862         (M_LOG_2_SQRT_PIl): Likewise.
40863         (lgamma_test_data): Use AUTO_TESTS_f_f1.
40864         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40865         mpfr_f_f1.
40866         (func_calc_desc): Add mpfr_f_f1 union field.
40867         (ARGS1): New macro.
40868         (ARGS2): Likewise.
40869         (ARGS3): Likewise.
40870         (ARGS4): Likewise.
40871         (RET1): Likewise.
40872         (RET2): Likewise.
40873         (CALC): Likewise.
40874         (FUNC): Likewise.
40875         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
40876         (test_functions): Add lgamma.
40877         (calc_generic_results): Handle mpfr_f_f1.
40878         * sysdeps/i386/fpu/libm-test-ulps: Update.
40879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40881 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40883         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
40884         __mpn_add_n for PowerPC64/POWER7.
40885         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
40886         __mpn_sub_n for PowerPC64/POWER7.
40888         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
40889         __mpn_addmul_1 for PowerPC64.
40890         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
40891         __mpn_submul_1 for PowerPC64.
40892         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
40893         for PowerPC64.
40894         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
40895         for PowerPC64.
40897 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
40899         [BZ #15089]
40900         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
40902 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40904         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
40906         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
40907         add multiarch folders.
40908         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
40909         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
40910         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
40911         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
40912         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
40913         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
40914         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
40915         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
40916         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
40917         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
40918         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
40919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
40920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
40921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
40922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
40923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
40924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
40926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
40927         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
40928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
40929         New file.
40930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
40931         New file.
40932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
40933         multiarch __ieee754_hypot for PowerPC32.
40934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
40935         New file.
40936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
40937         New file.
40938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
40939         multiarch __ieee754_hypotf for PowerPC32.
40941         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
40942         long_double_symbol only if __logbl is defined.
40943         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
40944         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
40945         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
40946         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
40947         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
40948         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
40949         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
40950         path for implementation.
40951         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
40952         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
40953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
40954         logb, and logbl multiarch implementations for PowerPC32.
40955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
40956         file.
40957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
40958         file.
40959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
40960         multiarch logb for PowerPC32.
40961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
40962         file.
40963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
40964         file.
40965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
40966         multiarch logbf for PowerPC32.
40967         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
40968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
40969         file.
40970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
40971         multiarch logbl implementation for PowerPC32.
40973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
40974         and modff multiarch implementations.
40975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
40976         New file.
40977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
40978         New file.
40979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
40980         multiarch modf for PowerPC32.
40981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
40982         New file.
40983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
40984         New file.
40985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
40986         multiarch modff for PowerPC32.
40988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
40989         and lrintf multiarch implementations.
40990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
40991         New file.
40992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
40993         New file.
40994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
40995         multiarch lrint for PowerPC32.
40996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
40997         file: multiarch lrintf for PowerPC32.
40999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
41000         and lroundf multiarch implementations.
41001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
41002         New file.
41003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
41004         New file.
41005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
41006         New file.
41007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
41008         multiarch lround for PowerPC32.
41009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
41010         file: multiarch lroundf for PowerPC32.
41012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41013         copysign and copysignf multiarch implementations.
41014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
41015         New file.
41016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
41017         New file.
41018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
41019         file: multiarch copysign for PowerPC32.
41020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
41021         file: multiarch copysignf for PowerPC32.
41023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
41024         and truncf multiarch implementations.
41025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
41026         New file.
41027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
41028         file.
41029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
41030         multiarch trunc for PowerPC32.
41031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
41032         New file.
41033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
41034         New file.
41035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
41036         multiarch truncf for PowerPC32.
41038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
41039         and roundf multiarch implementations.
41040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
41041         New file.
41042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
41043         file.
41044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
41045         multiarch round for PowerPC32.
41046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
41047         New file.
41048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
41049         New file.
41050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
41051         multiarch roundf for PowerPC32.
41053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
41054         and floorf multiarch implementations.
41055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
41056         New file.
41057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
41058         file.
41059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
41060         multiarch floor for PowerPC32.
41061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
41062         New file.
41063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
41064         New file.
41065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
41066         multiarch floorf for PowerPC32.
41068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
41069         and ceilf multiarch implementations.
41070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
41071         New file.
41072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
41073         file.
41074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
41075         multiarch ceil for PowerPC32.
41076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
41077         New file.
41078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
41079         file.
41080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
41081         multiarch ceilf for PowerPC32.
41083         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
41084         is defined.
41085         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
41086         FINITEF is defined.
41087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
41088         and finitef multiarch implementations.
41089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
41090         New file.
41091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
41092         file.
41093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
41094         multiarch finite for PowerPC32.
41095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
41096         New file.
41097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
41098         file: multiarch finitef for PowerPC32.
41100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
41101         and isinff multiarch implementations.
41102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
41103         file.
41104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
41105         file.
41106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
41107         multiarch isinf for PowerPC32.
41108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
41109         New file.
41110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
41111         multiarch isinff for PowerPC32.
41113         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
41114         alias when __isnan is defined.
41115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
41116         and isnanf multiarch implementations.
41117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
41118         file.
41119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
41120         file.
41121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
41122         file.
41123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
41124         file.
41125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
41126         multiarch isnan for PowerPC32.
41127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
41128         New file.
41129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
41130         New file.
41131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
41132         multiarch isnanf for PowerPC32.
41134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
41135         and sqrtf multiarch implementations.
41136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
41137         file.
41138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
41139         file.
41140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
41141         multiarch sqrt for PowerPC32.
41142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
41143         file.
41144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
41145         file.
41146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
41147         multiarch sqrtf for PowerPC32.
41149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
41150         and llroundf multiarch implementations.
41151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
41152         New file.
41153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
41154         New file.
41155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
41156         New file.
41157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
41158         file: multiarch llround for PowerPC32.
41159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
41160         file: multiarch llroundf for PowerPC32.
41162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
41163         multiarch PowerPC32 fpu implementations.
41164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
41165         New file.
41166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
41167         New file.
41168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
41169         multiarch llrint for PowerPC32.
41170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
41171         New file.
41172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
41173         New file.
41174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
41175         file.
41177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
41179         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
41180         file.
41181         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
41182         file.
41183         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
41184         file.
41185         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
41186         multiarch wordcopy for PPC32.
41187         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
41188         wordcopy objects.
41189         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41190         (__libc_ifunc_impl_list): Likewise.
41191         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
41192         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
41193         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
41194         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
41195         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
41196         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
41198         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
41199         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
41200         file.
41201         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
41202         file.
41203         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
41204         file.
41205         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
41206         multiarch wcscpy for PPC32.
41207         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
41208         multiarch objects.
41209         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41210         (__libc_ifunc_impl_list): Likewise.
41211         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
41212         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
41213         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
41214         sysdeps/powerpc/power6/wcscpy.c.
41216         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
41217         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
41218         file.
41219         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
41220         file.
41221         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
41222         file.
41223         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
41224         multiarch wcsrchr for PPC32.
41225         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
41226         multiarch objects.
41227         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41228         (__libc_ifunc_impl_list): Likewise.
41229         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
41230         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
41231         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
41232         sysdeps/powerpc/power6/wcsrchr.c.
41234         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
41235         file.
41236         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
41237         file.
41238         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
41239         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
41240         multiarch wcschr for PPc32.
41241         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
41242         multiarch objects.
41243         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41244         (__libc_ifunc_impl_list): Likewise.
41245         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
41246         * sysdeps/powerpc/power6/wcschr.c: ... to here.
41247         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
41248         sysdeps/powerpc/power6/wcschr.c.
41250         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
41251         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
41252         file.
41253         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
41254         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
41255         file: multiarch strchr for PPC32.
41256         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
41257         multiarch objects.
41258         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41259         (__libc_ifunc_impl_list): Likewise.
41261         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
41262         name.
41263         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
41264         file.
41265         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
41266         file.
41267         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
41268         multiarch strchrnul for PPC32.
41269         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
41270         multiarch objects.
41271         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41272         (__libc_ifunc_impl_list): Likewise.
41274         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
41275         file.
41276         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
41277         multiarch strncasecmp for PPC32.
41278         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
41279         file.
41280         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
41281         multiarch strncasecmp_l for PPC32.
41282         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
41283         strncasecmp multiarch objects.
41284         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41285         (__libc_ifunc_impl_list): Likewise.
41287         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
41288         file.
41289         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
41290         multiarch strncasecmp for PPC32.
41291         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
41292         New file.
41293         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
41294         multiarch strcasecmp_l for PPC32.
41295         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
41296         multiarch objects.
41297         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41298         (__libc_ifunc_impl_list): Likewise.
41300         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
41301         file.
41302         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
41303         file.
41304         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
41305         multiarch strncmp for PPC32.
41306         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
41307         multiarch objects.
41308         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41309         (__libc_ifunc_impl_list): Likewise.
41311         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
41312         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
41313         file.
41314         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
41315         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
41316         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
41317         multiarch objects.
41318         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41319         (__libc_ifunc_impl_list): Likewise.
41321         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
41322         file.
41323         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
41324         file.
41325         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
41326         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
41327         multiarch objects.
41328         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41329         (__libc_ifunc_impl_list): Likewise.
41331         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
41332         file.
41333         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
41334         file.
41335         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
41336         multiarch rawmemchr for PPC32.
41337         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
41338         multiarch objects.
41339         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41340         (__libc_ifunc_impl_list): Likewise.
41342         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
41343         file.
41344         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
41345         file.
41346         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
41347         file: memrchr multiarch for PPC32.
41348         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
41349         multiarch objects.
41350         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41351         (__libc_ifunc_impl_list): Likewise.
41353         * string/memchr.c (__memchr): Using macro to redefine symbol name.
41354         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
41355         file.
41356         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
41357         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
41358         multiarch memchr for PPC32.
41359         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
41360         multiarch objects.
41361         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41362         (__libc_ifunc_impl_list): Likewise.
41364         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
41365         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
41366         file.
41367         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
41368         file.
41369         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
41370         file: multiarch mempcpy for PPC32.
41371         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
41372         multiarch objects.
41373         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41374         (__libc_ifunc_impl_list): Likewise.
41376         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
41377         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
41378         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
41379         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
41380         multiarch bzero for PPC32.
41381         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
41382         file.
41383         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
41384         file.
41385         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
41386         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
41387         file: multiarch memset for PPC32.
41388         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
41389         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
41390         memset multiarch objects.
41391         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41392         (__libc_ifunc_impl_list): Likewise.
41394         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
41395         file.
41396         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
41397         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
41398         memcmp for PPC32.
41399         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
41400         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
41401         multiarch objects.
41402         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41403         (__libc_ifunc_impl_list): Likewise.
41405         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
41406         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
41407         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
41408         file.
41409         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
41410         file.
41411         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
41412         file.
41413         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
41414         multiarch memcpy for PPC32.
41415         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
41416         multiarch objects.
41417         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41418         (__libc_ifunc_impl_list): Likewise.
41420         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
41421         support multiarch for POWER/PPC32.
41422         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
41423         Likewise.
41424         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
41425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
41426         Implies file to make multiarch folder appers before the fpu and
41427         default folder for power4 configuration.
41429 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41431         * scripts/bench.pl: Append volatile keyword to type.
41433 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41435         * sysdeps/sh/sotruss-lib.c: New file.
41436         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
41438 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41442 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
41444         [BZ #6810]
41445         * math/w_tgamma.c: Include <errno.h>.
41446         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
41447         * math/w_tgammaf.c: Include <errno.h>.
41448         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
41449         * math/w_tgammal.c: Include <errno.h>.
41450         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
41451         * math/auto-libm-test-in: Do not allow missing errno on tgamma
41452         underflow.  Add more tgamma tests.
41453         * math/auto-libm-test-out: Regenerated.
41454         * sysdeps/i386/fpu/libm-test-ulps: Update.
41455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41457         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
41458         sin, sinh, tan, tanh, tgamma, y0 and y1.
41459         * math/auto-libm-test-out: Regenerated.
41460         * math/libm-test.inc (TEST_COND_x86_64): New macro.
41461         (TEST_COND_x86): Likewise.
41462         (M_E2l): Remove macro.
41463         (M_E3l): Likewise.
41464         (M_2_SQRT_PIl): Likewise.
41465         (M_SQRT_PIl): Likewise.
41466         (M_1_DIV_El): Likewise.
41467         (log_test_data): Use AUTO_TESTS_f_f.
41468         (log10_test_data): Likewise.
41469         (log1p_test_data): Likewise.
41470         (log2_test_data): Likewise.
41471         (sin_test_data): Likewise.
41472         (sin_tonearest_test_data): Likewise.
41473         (sin_towardzero_test_data): Likewise.
41474         (sin_downward_test_data): Likewise.
41475         (sin_upward_test_data): Likewise.
41476         (sinh_test_data): Likewise.
41477         (sinh_tonearest_test_data): Likewise.
41478         (sinh_towardzero_test_data): Likewise.
41479         (sinh_downward_test_data): Likewise.
41480         (sinh_upward_test_data): Likewise.
41481         (tan_test_data): Likewise.
41482         (tan_tonearest_test_data): Likewise.
41483         (tan_towardzero_test_data): Likewise.
41484         (tan_downward_test_data): Likewise.
41485         (tan_upward_test_data): Likewise.
41486         (tanh_test_data): Likewise.
41487         (tgamma_test_data): Likewise.
41488         (y0_test_data): Likewise.
41489         (y1_test_data): Likewise.
41490         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
41491         (special_real_inputs): Add pi/4.
41492         * sysdeps/i386/fpu/libm-test-ulps: Update.
41493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41495 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41497         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
41498         "longjmp_target" static probes.
41499         (__longjmp): Rename to __longjmp_symbol.
41500         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41501         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
41502         on which longjmp to generate.
41503         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41504         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
41505         probe.
41506         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41507         (__sigjmp_save): Rename to __sigjmp_save_symbol.
41508         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41509         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
41510         and __sigjmp_save_symbol based on which sigsetjmp to generated.
41511         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
41513         __longjmp_symbol based on which __longjmp to generate.
41514         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
41515         probe.
41516         (setjmp): Rename to setjmp_symbol.
41517         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41518         (_setjmp): Rename to _setjmp_symbol.
41519         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41520         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
41521         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
41522         which setjmp to generate.
41523         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
41524         "longjmp_target" static probes.
41526 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41528         * benchtests/README: Add note about output arguments.
41529         * benchtests/bench-sincos.c: Remove file.
41530         * benchtests/sincos-inputs: New file.
41531         * scripts/bench.pl: Identify output arguments and define
41532         static variables for them.
41534         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
41536         [BZ #15941]
41537         * Makefile (INSTALL): Add install-plain.texi as the primary
41538         dependency.
41539         * manual/install-plain.texi: New file.
41540         * manual/install.texi: Include node directive only for
41541         non-plaintext output.
41543 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
41545         * stdlib/longlong.h: Update from GCC.
41547         [BZ #6807]
41548         [BZ #15901]
41549         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
41550         * math/w_j0f.c (y0f): Likewise.
41551         * math/w_j0l.c (__y0l): Likewise.
41552         * math/w_j1.c (y1): Likewise.
41553         * math/w_j1f.c (y1f): Likewise.
41554         * math/w_j1l.c (__y1l): Likewise.
41555         * math/w_jn.c (yn): Likewise.
41556         * math/w_jnf.c (ynf): Likewise.
41557         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
41558         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
41559         value for Bessel function domain errors outside _SVID_ mode.
41560         Adjust sign of return value for yn (negative integer, 0).
41561         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
41562         by zero in return for negative x and set sign appropriately for
41563         negative n.
41564         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
41565         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41566         * math/libm-test.inc (y0_test_data): Add more tests and adjust
41567         expectations in error cases.
41568         (y1_test_data): Likewise.
41569         (yn_test_data): Likewise.
41570         * sysdeps/i386/fpu/libm-test-ulps: Update.
41571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41573 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41575         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
41576         "64" to "64-v1".  Add "64-v2".
41577         (abi-64-options): Rename to ...
41578         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
41579         (abi-64-condition): Rename to ...
41580         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
41581         (abi-64-ld-soname): Rename to ...
41582         (abi-64-v1-ld-soname): ... this.
41583         (abi-64-v2-options): Define.
41584         (abi-64-v2-condition): Likewise.
41585         (abi-64-v2-ld-soname): Likewise.
41586         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
41587         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
41588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
41589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
41590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
41592 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41593             Alan Modra  <amodra@gmail.com>
41595         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
41596         New versions for use with the ELFv2 ABI.
41597         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
41598         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
41599         declaration.
41600         (struct La_ppc64v2_retval): Likewise.
41601         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
41602         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
41603         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
41604         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
41605         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
41606         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41607         Do not save or restore CR.
41608         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
41609         (_dl_profile_resolve): Do no save or restore CR.  Support extended
41610         return values for ELFv2 ABI.  Fix location of FPR return registers.
41611         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
41612         updated values for _CALL_ELF == 2.
41613         (La_regs, La_retval, int_retval): Likewise.
41615 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41617         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
41618         (FRAME_MIN_SIZE_PARM): Likewise.
41619         (FRAME_BACKCHAIN): Likewise.
41620         (FRAME_CR_SAVE): Likewise.
41621         (FRAME_LR_SAVE): Likewise.
41622         (FRAME_TOC_SAVE): Likewise.
41623         (FRAME_PARM_SAVE): Likewise.
41624         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
41625         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
41626         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41627         (call_mcount_parm_offset): New macro.
41628         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
41629         (PROF): Use symbolic stack frame offsets.
41630         (TAIL_CALL_SYSCALL_ERROR): Likewise.
41631         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
41632         Redefine in terms of FRAME_MIN_SIZE.
41633         (_dl_runtime_resolve): Use symbolic stack frame offsets.
41634         (_dl_profile_resolve): Likewise.  Update comment.
41635         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
41636         symbols stack frame offsets.
41637         (__sigsetjmp): Likewise.
41638         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
41639         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
41640         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
41641         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
41643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
41644         (FRAME_BACKCHAIN): Remove.
41645         (FRAME_CR_SAVE): Likewise.
41646         (FRAME_LR_SAVE): Likewise.
41647         (FRAME_COMPILER_DW): Likewise.
41648         (FRAME_LINKER_DW): Likewise.
41649         (FRAME_TOC_SAVE): Likewise.
41650         (FRAME_PARM_SAVE): Likewise.
41651         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
41652         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
41653         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
41655         (CHECK_SP): Use symbolic stack frame offsets.
41656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
41657         zone" instead of caller's parameter save area for temp storage.
41658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41659         Likewise.  Also, use symbolic stack frame offsets.
41660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
41661         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
41662         our own stack frame instead of the caller's.
41663         (__socket): Use symbolic stack frame offsets.
41665 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41666             Alan Modra  <amodra@gmail.com>
41668         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
41669         Define.
41670         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
41671         (PPC64_LOCAL_ENTRY_OFFSET): Define.
41672         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
41673         New function.
41674         (elf_machine_fixup_plt): Call it.
41675         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
41676         reloc arguments.
41677         (elf_machine_rela): Update call to elf_machine_plt_conflict.
41678         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41679         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
41680         r2 before calling target.
41682 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41683             Alan Modra  <amodra@gmail.com>
41685         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
41686         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
41687         versions of macros to support ELFv2 ABI.
41688         (LOCALENTRY): New macro.
41689         (ENTRY, EALIGN): Use it.
41690         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
41691         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
41692         fall through into ENTRY entry point.
41693         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
41694         Only define if _CALL_ELF != 2.
41696         (elf_machine_matches_host): Verify ABI version matches.
41697         (RTLD_START): Use LOCALENTRY.
41698         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
41699         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
41700         (PLT_ENTRY_WORDS): New macro.
41701         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
41702         (elf_machine_runtime_setup): Support ELFv2 ABI.
41703         (elf_machine_fixup_plt): Likewise.
41704         (elf_machine_plt_conflict): Likewise.
41705         (resolve_ifunc): Likewise.
41706         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41707         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
41708         Likewise.
41709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
41710         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
41711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41712         (makecontext): Support ELFv2 ABI.
41713         * elf/elf.h (EF_PPC64_ABI): Define.
41715 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41717         * sysdeps/powerpc/powerpc64/sysdep.h
41718         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
41719         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
41720         (ENTRY) [ASSEMBLER]: ... but instead here ...
41721         (EALIGN) [ASSEMBLER]: ... and here.
41722         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
41723         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
41724         (ENTRY_2) [!ASSEMBLER]: Use it.
41725         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
41726         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
41727         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41728         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
41729         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
41730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
41731         Use PPC64_LOAD_FUNCPTR.
41733         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
41735 2013-12-04  Alan Modra  <amodra@gmail.com>
41737         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
41738         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
41739         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
41740         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
41742         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
41743         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
41744         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
41745         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
41746         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
41747         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
41749 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41752         (__makecontext): Fix incorrect CFI when backtracing out of
41753         context created via makecontext.
41754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
41755         (__setcontext): Fix incorrect CFI during switch to new context.
41756         (__novec_setcontext): Likewise.
41758 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
41760         [BZ #4772]
41761         * time/strptime_l.c (__strptime_internal): Allow modifiers
41762         in strptime.
41763         * time/tst-strptime.c (day_tests): Add testcase.
41765 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41767         * scripts/bench.pl: Skip over blank lines.
41769 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
41771         [BZ #926]
41772         * manual/time.texi (Calendar Time): Clarify what timezone functions
41773         use.
41775 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41779 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
41781         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
41782         implementation.
41783         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
41784         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
41785         * debug/memset_chk.c (__memset_chk): Likewise.
41786         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
41787         * debug/strncpy_chk.c: Likewise.
41789 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
41791         [BZ #15268]
41792         [BZ #15425]
41793         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
41794         (__ieee754_exp): For possibly underflowing results, check size of
41795         result and force underflow exception if required.
41796         * math/auto-libm-test-in: Add more tests of exp.
41797         * math/auto-libm-test-out: Regenerated.
41798         * sysdeps/i386/fpu/libm-test-ulps: Update.
41799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41801         [BZ #16283]
41802         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
41803         * math/w_exp2f.c (__exp2f): Likewise.
41804         * math/w_exp2l.c (__exp2l): Likewise.
41805         * math/auto-libm-test-in: Do not allow missing errno on exp2
41806         underflow.
41807         * math/auto-libm-test-out: Regenerated.
41809 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
41811         [BZ #16274]
41812         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
41813         handle filename validation.
41814         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
41815         (do_open): Delete.
41817 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
41819         [BZ #6786]
41820         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
41821         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
41822         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
41823         <float.h>.
41824         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
41825         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
41826         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41827         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
41828         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41829         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
41830         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41831         * math/auto-libm-test-in: Don't allow missing errno from erfc.
41832         Add more erfc tests.
41833         * math/auto-libm-test-out: Regenerated.
41834         * sysdeps/i386/fpu/libm-test-ulps: Update.
41835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41837         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
41838         exp2, expm1, j0 and j1.
41839         * math/auto-libm-test-out: Regenerated.
41840         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
41841         (erfc_test_data): Likewise.
41842         (exp_test_data): Likewise.
41843         (exp_tonearest_test_data): Likewise.
41844         (exp_towardzero_test_data): Likewise.
41845         (exp_downward_test_data): Likewise.
41846         (exp_upward_test_data): Likewise.
41847         (exp10_test_data): Likewise.
41848         (exp2_test_data): Likewise.
41849         (expm1_test_data): Likewise.
41850         (j0_test_data): Likewise.
41851         (j1_test_data): Likewise.
41852         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
41853         (input_flag_type): Add flag_xfail_rounding.
41854         (input_flags): Add xfail-rounding.
41855         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
41856         (output_for_one_input_case): Handle flag_xfail_rounding.
41857         * sysdeps/i386/fpu/libm-test-ulps: Update.
41858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41860 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
41862         [BZ #16289]
41863         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
41864         division by 0.
41866 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41868         [BZ #16195]
41869         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
41870         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
41871         (STAP_PROBE0): New macro.
41872         (STAP_PROBE1): Likewise.
41873         (STAP_PROBE2): Likewise.
41874         (STAP_PROBE3): Likewise.
41875         (STAP_PROBE4): Likewise.
41877 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
41879         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
41881 2013-12-02  Steve Ellcey  <sellcey@mips.com>
41883         * benchtests/Makefile (bench): Add sqrt.
41884         (LDLIBS-bench-sqrt): New.
41885         * benchtests/sqrt-input: New.
41887 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
41889         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
41890         (GAIH_EAI): Likewise.
41891         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
41892         (gaih_inet): Likewise.
41893         (getaddrinfo): Don't use GAIH_EAI.
41895         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
41896         (struct gaih): Remove definition.
41898 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41900         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
41901         Use HERRNOP directly.
41903 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41905         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41907 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
41909         * math/gen-auto-libm-tests.c (test_functions): Add more
41910         single-argument functions.
41911         (special_fill_pi_2): New function.
41912         (special_fill_minus_pi_2): Likewise.
41913         (special_fill_pi_6): Likewise.
41914         (special_fill_minus_pi_6): Likewise.
41915         (special_fill_pi_3): Likewise.
41916         (special_fill_2pi_3): Likewise.
41917         (special_fill_e): Likewise.
41918         (special_fill_1_e): Likewise.
41919         (special_fill_e_minus_1): Likewise.
41920         (special_real_inputs): Add more special inputs.
41921         (output_for_one_input_case): Do not require ERANGE on underflow to
41922         zero if round-to-nearest result does not underflow to zero, unless
41923         exact results required.
41924         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
41925         atan, atanh, cbrt, cos and cosh.
41926         * math/auto-libm-test-out: Regenerated.
41927         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
41928         (acos_tonearest_test_data): Likewise.
41929         (acos_towardzero_test_data): Likewise.
41930         (acos_downward_test_data): Likewise.
41931         (acos_upward_test_data): Likewise.
41932         (acosh_test_data): Likewise.
41933         (asin_test_data): Likewise.
41934         (asin_tonearest_test_data): Likewise.
41935         (asin_towardzero_test_data): Likewise.
41936         (asin_upward_test_data): Likewise.
41937         (asinh_test_data): Likewise.
41938         (atan_test_data): Likewise.
41939         (atanh_test_data): Likewise.
41940         (cbrt_test_data): Likewise.
41941         (cos_test_data): Likewise.
41942         (cos_tonearest_test_data): Likewise.
41943         (cos_towardzero_test_data): Likewise.
41944         (cos_downward_test_data): Likewise.
41945         (cos_upward_test_data): Likewise.
41946         (cosh_test_data): Likewise.
41947         (cosh_tonearest_test_data): Likewise.
41948         (cosh_towardzero_test_data): Likewise.
41949         (cosh_downward_test_data): Likewise.
41950         (cosh_upward_test_data): Likewise.
41951         * sysdeps/i386/fpu/libm-test-ulps: Update.
41952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41954 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
41956         [BZ #6787]
41957         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
41958         * math/w_exp10f.c (__exp10f): Likewise.
41959         * math/w_exp10l.c (__exp10l): Likewise.
41960         * math/libm-test.inc (exp10_test_data): Add more tests and expect
41961         errno settings in existing tests.
41963         [BZ #14032]
41964         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
41965         precision control set to double precision.
41966         * sysdeps/i386/fpu/w_sqrt.c: New file.
41967         * math/auto-libm-test-in: Add more tests.
41968         * math/auto-libm-test-out: Update.
41970         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
41971         (sqrt_test_tonearest): New function.
41972         (sqrt_towardzero_test_data): New variable.
41973         (sqrt_test_towardzero): New function.
41974         (sqrt_downward_test_data): New variable.
41975         (sqrt_test_downward): New function.
41976         (sqrt_upward_test_data): New variable.
41977         (sqrt_test_upward): New function.
41978         (main): Call the new functions.
41980         * math/gen-auto-libm-tests.c: New file.
41981         * math/auto-libm-test-in: Likewise.
41982         * math/auto-libm-test-out: New generated file.
41983         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
41984         variables.
41985         (%beautify): Add generated representations of zero.
41986         (top level): Set $auto_input and call parse_auto_input.
41987         (beautify): Remove trailing "f" from hex float constants.
41988         (parse_args): Handle XFAIL_TEST.
41989         (convert_condition): New function.
41990         (or_value): Likewise.
41991         (or_cond_value): Likewise.
41992         (generate_testfile): Handle AUTO_TESTS_* lines.
41993         (parse_auto_input): New function.
41994         * math/libm-test.inc (XFAIL_TEST): New macro.
41995         (ERRNO_UNCHANGED): Update value.
41996         (ERRNO_EDOM): Likewise.
41997         (ERRNO_ERANGE): Likewise.
41998         (IGNORE_RESULT): Likewise.
41999         (TEST_COND_flt_32): New macro.
42000         (TEST_COND_dbl_64): Likewise.
42001         (TEST_COND_ldbl_96_intel): Likewise.
42002         (TEST_COND_ldbl_96_m68k): Likewise.
42003         (TEST_COND_ldbl_128): Likewise.
42004         (TEST_COND_ldbl_128ibm): Likewise.
42005         (TEST_COND_long32): Likewise.
42006         (TEST_COND_long64): Likewise.
42007         (TEST_COND_before_rounding): Likewise.
42008         (TEST_COND_after_rounding): Likewise.
42009         (enable_test): Handle XFAIL_TEST flag.
42010         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
42011         with finite results.
42012         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
42013         auto-libm-test-out.
42015 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42016             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42018         [BZ #16214]
42019         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
42020         __tls_get_addr_internal instead of __tls_get_offset in order to
42021         avoid GOT pointer dependency.  Make rtld export
42022         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
42023         __tls_get_addr since we are a __tls_get_offset platform.
42024         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
42025         GOT pointer being set up before.
42026         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
42028 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
42030         * manual/math.texi (Errors in Math Functions): Document accuracy
42031         goals.
42033         [BZ #15004]
42034         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
42035         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
42036         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42037         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42038         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42039         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42040         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42041         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42042         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42043         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42044         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42045         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42046         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42047         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42048         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42049         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42051         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
42052         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
42053         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
42054         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
42055         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
42056         Likewise.
42057         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
42058         Likewise.
42059         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
42060         Likewise.
42061         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
42062         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
42063         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
42064         atomic-feupdateenv and flt-rounds.
42065         * sysdeps/powerpc/nofpu/Versions (libc): Add
42066         __atomic_feholdexcept, __atomic_feclearexcept,
42067         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
42068         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
42069         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
42070         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
42071         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
42072         here.
42073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
42074         Update.
42076         * manual/arith.texi (FP Exceptions): Document that exceptions may
42077         not be raised when matherr is used.
42078         (Math Error Reporting): Document overflow in directed rounding
42079         modes.  Document that errno may not be set when finite values are
42080         returned on overflow.  Document intent to set errno on underflow
42081         only for underflow to zero.
42083         [BZ #16271]
42084         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
42085         round-to-nearest then adjust result for other rounding modes.
42086         * include/fenv.h (fegetround): Use libm_hidden_proto.
42087         * math/fegetround.c (fegetround): Use libm_hidden_def.
42088         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
42089         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
42090         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42091         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
42092         Likewise.
42093         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
42094         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42095         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
42096         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
42098 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42100         [BZ #16077]
42101         * nss/Versions (libnss_files): Add
42102         _nss_files_gethostbyname3_r.
42103         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
42104         New function.
42105         (HOST_DB_LOOKUP): Remove macro.
42106         (_nss_files_gethostbyname_r): Implement function without the
42107         HOST_DB_LOOKUP macro.
42108         (_nss_files_gethostbyname2_r): Likewise.
42110 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
42112         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
42114 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
42116         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
42117         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
42118         warning.
42120 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42122         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
42123         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
42124         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42125         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
42126         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
42127         __fe_nomask_env_priv and attribute_hidden.
42128         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
42129         (libc_feupdateenv_test_ppc): Likewise.
42130         (libc_feresetround_ppc): Likewise.
42131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42132         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
42133         compat_symbol macro.
42134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42135         (__fe_nomask_env): Likewise.
42136         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
42138 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42140         * string/Makefile: Remove ifunc tests.
42141         * string/test-string.h: Define TEST_IFUNC.
42142         * string/test-bcopy-ifunc.c: Remove.
42143         * string/test-bzero-ifunc.c: Likewise.
42144         * string/test-memccpy-ifunc.c: Likewise.
42145         * string/test-memchr-ifunc.c: Likewise.
42146         * string/test-memcmp-ifunc.c: Likewise.
42147         * string/test-memcpy-ifunc.c: Likewise.
42148         * string/test-memmem-ifunc.c: Likewise.
42149         * string/test-memmove-ifunc.c: Likewise.
42150         * string/test-mempcpy-ifunc.c: Likewise.
42151         * string/test-memrchr-ifunc.c: Likewise.
42152         * string/test-memset-ifunc.c: Likewise.
42153         * string/test-rawmemchr-ifunc.c: Likewise.
42154         * string/test-stpcpy-ifunc.c: Likewise.
42155         * string/test-stpncpy-ifunc.c: Likewise.
42156         * string/test-strcasecmp-ifunc.c: Likewise.
42157         * string/test-strcasestr-ifunc.c: Likewise.
42158         * string/test-strcat-ifunc.c: Likewise.
42159         * string/test-strchr-ifunc.c: Likewise.
42160         * string/test-strchrnul-ifunc.c: Likewise.
42161         * string/test-strcmp-ifunc.c: Likewise.
42162         * string/test-strcpy-ifunc.c: Likewise.
42163         * string/test-strcspn-ifunc.c: Likewise.
42164         * string/test-strlen-ifunc.c: Likewise.
42165         * string/test-strncasecmp-ifunc.c: Likewise.
42166         * string/test-strncat-ifunc.c: Likewise.
42167         * string/test-strncmp-ifunc.c: Likewise.
42168         * string/test-strncpy-ifunc.c: Likewise.
42169         * string/test-strnlen-ifunc.c: Likewise.
42170         * string/test-strpbrk-ifunc.c: Likewise.
42171         * string/test-strrchr-ifunc.c: Likewise.
42172         * string/test-strspn-ifunc.c: Likewise.
42173         * string/test-strstr-ifunc.c: Likewise.
42175 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42177         * benchtests/Makefile: Remove ifunc tests.
42178         * benchtests/bench-string.h: Define TEST_IFUNC.
42179         * benchtests/bench-bcopy-ifunc.c: Remove.
42180         * benchtests/bench-bzero-ifunc.c: Likewise.
42181         * benchtests/bench-memccpy-ifunc.c: Likewise.
42182         * benchtests/bench-memchr-ifunc.c: Likewise.
42183         * benchtests/bench-memcmp-ifunc.c: Likewise.
42184         * benchtests/bench-memcpy-ifunc.c: Likewise.
42185         * benchtests/bench-memmem-ifunc.c: Likewise.
42186         * benchtests/bench-memmove-ifunc.c: Likewise.
42187         * benchtests/bench-mempcpy-ifunc.c: Likewise.
42188         * benchtests/bench-memrchr-ifunc.c: Likewise.
42189         * benchtests/bench-memset-ifunc.c: Likewise.
42190         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
42191         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
42192         * benchtests/bench-stpcpy-ifunc.c: Likewise.
42193         * benchtests/bench-stpncpy-ifunc.c: Likewise.
42194         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
42195         * benchtests/bench-strcasestr-ifunc.c: Likewise.
42196         * benchtests/bench-strcat-ifunc.c: Likewise.
42197         * benchtests/bench-strchr-ifunc.c: Likewise.
42198         * benchtests/bench-strchrnul-ifunc.c: Likewise.
42199         * benchtests/bench-strcmp-ifunc.c: Likewise.
42200         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
42201         * benchtests/bench-strcpy-ifunc.c: Likewise.
42202         * benchtests/bench-strcspn-ifunc.c: Likewise.
42203         * benchtests/bench-strlen-ifunc.c: Likewise.
42204         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
42205         * benchtests/bench-strncat-ifunc.c: Likewise.
42206         * benchtests/bench-strncmp-ifunc.c: Likewise.
42207         * benchtests/bench-strncpy-ifunc.c: Likewise.
42208         * benchtests/bench-strnlen-ifunc.c: Likewise.
42209         * benchtests/bench-strpbrk-ifunc.c: Likewise.
42210         * benchtests/bench-strrchr-ifunc.c: Likewise.
42211         * benchtests/bench-strsep-ifunc.c: Likewise.
42212         * benchtests/bench-strspn-ifunc.c: Likewise.
42213         * benchtests/bench-strstr-ifunc.c: Likewise.
42215 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42217         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
42219 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42221         * resolv/netdb.h: Use __glibc_reserved instead __unused.
42222         * rt/aio.h: Likewise.
42223         * sysdeps/gnu/bits/utmp.h: Likewise.
42224         * sysdeps/gnu/bits/utmpx.h: Likewise.
42225         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
42226         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
42227         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
42228         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
42229         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
42230         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
42231         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
42232         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
42233         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
42234         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
42235         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
42236         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
42237         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
42238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
42239         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
42240         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
42241         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
42242         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
42243         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
42244         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
42245         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
42246         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
42247         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
42248         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42249         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
42250         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42251         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
42252         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
42253         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
42254         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
42255         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
42256         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
42257         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
42258         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
42259         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
42260         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
42261         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
42262         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
42263         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
42264         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
42265         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
42266         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
42268 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
42270         [BZ #16245]
42271         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
42272         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
42274 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
42276         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
42277         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
42278         Likewise.
42280 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42282         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
42283         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
42284         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
42285         (__fesetround): Remove define.
42286         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
42287         rounding and exceptions handling.
42288         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
42289         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
42290         (__fe_nomask_env): Likewise.
42291         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
42292         __fegetround instead of fegetround.
42293         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42294         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
42296 2013-11-21  Roland McGrath  <roland@hack.frob.com>
42298         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
42299         it's there.
42301         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
42303 2013-11-21  Meador Inge  <meadori@codesourcery.com>
42305         [BZ #11157]
42306         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
42307         (encrypt_r): Likewise.
42308         * malloc/obstack.h (obstack_free): Likewise.
42309         * posix/unistd.h (encrypt): Likewise.
42311 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
42313         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
42314         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
42315         DL_CALL_DT_FINI() that call the functions directly.
42316         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
42317         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
42318         * elf/dl-fini.c: Likewise.
42320 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
42322         * malloc/hooks.c (memalign_check): Add alignment rounding.
42323         * malloc/malloc.c (_mid_memalign): New function.
42324         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
42325         Implement by calling _mid_memalign.
42326         * manual/probes.texi (Memory Allocation Probes): Remove
42327         memory_valloc_retry and memory_pvalloc_retry.
42329 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42331         * locale/programs/locarchive.c (open_archive): Add const
42332         qualifier to ARCHIVEFNAME and copy default fname to
42333         DEFAULT_FNAME.
42335         [BZ #15601]
42336         * libio/tst-widetext.input: Rename Oriya to Odia.
42337         * locale/iso-639.def: Likewise.
42339         * manual/probes.texi (Mathematical Function Probes): Add
42340         documentation for sin, cos, asin and acos probes.
42341         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
42342         (__sin32): Add slowasin probe.
42343         (__cos32): Add slowacos probe.
42344         (__mpsin): Add slowsin probe.
42345         (__mpcos): Add slowcos probe.
42347 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
42349         [BZ #15483]
42350         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
42351         thread-local __sim_exceptions_thread and global
42352         __sim_exceptions_global.
42353         (__sim_disabled_exceptions): Change to thread-local
42354         __sim_disabled_exceptions_thread and global
42355         __sim_disabled_exceptions_global.
42356         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42357         and global __sim_round_mode_global.
42358         (__simulate_exceptions): Use thread-local floating-point state and
42359         set global state from it as needed.
42360         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
42361         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
42362         __sim_round_mode_thread.
42363         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
42364         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
42365         and global __sim_exceptions_global.
42366         (__sim_disabled_exceptions): Change to thread-local
42367         __sim_disabled_exceptions_thread and global
42368         __sim_disabled_exceptions_global.
42369         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42370         and global __sim_round_mode_global.
42371         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
42372         (SIM_SET_GLOBAL): Likewise.
42373         * sysdeps/powerpc/soft-fp/sfp-machine.h
42374         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
42375         __sim_round_mode_thread.
42376         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
42377         __sim_disabled_exceptions_thread.
42378         (__sim_exceptions): Change to __sim_exceptions_thread.
42379         (__sim_disabled_exceptions): Change to
42380         __sim_disabled_exceptions_thread.
42381         (__sim_round_mode): Change to __sim_round_mode_thread.
42382         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
42383         thread-local floating-point state and set global state from it as
42384         needed.
42385         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
42386         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
42387         (__sim_disabled_exceptions): Remove extern declaration.
42388         (feenableexcept): Use thread-local floating-point state and set
42389         global state from it as needed.
42390         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
42391         extern declaration.
42392         (__sim_disabled_exceptions): Likewise.
42393         (__sim_round_mode): Likewise.
42394         (__fegetenv): Use thread-local floating-point state.
42395         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
42396         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42397         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
42398         floating-point state and set global state from it as needed.
42399         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
42400         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
42401         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
42402         Likewise.
42403         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
42404         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
42405         Likewise.
42406         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
42407         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
42408         Use __sim_round_mode_thread.
42409         * math/test-fenv-tls.c: New file.
42410         * math/Makefile (tests): Add test-fenv-tls.
42411         ($(objpfx)test-fenv-tls): Depend on
42412         $(common-objpfx)nptl/libpthread.so.
42414 2013-11-19  Andreas Schwab  <schwab@suse.de>
42416         * locale/programs/locale.c (show_info): Decode wordarray elements.
42417         * locale/categories.def (LC_MONETARY): Add element for
42418         _NL_MONETARY_CRNCYSTR.
42419         * locale/C-monetary.c (conversion_rate): New variable.
42420         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
42421         element.
42423 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
42425         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
42426         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
42428 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
42430         * elf/Makefile (tst-auxv): New test.
42431         * elf/tst-auxv.c: New
42432         * elf/rtld.c (dl_main): Adjust AT_EXECFN
42434 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
42436         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
42437         (hidden_proto): Caller changed.
42438         (hidden_tls_proto): New macro.
42439         (libc_hidden_tls_proto): Likewise.
42440         (rtld_hidden_tls_proto): Likewise.
42441         (libm_hidden_tls_proto): Likewise.
42442         (libresolv_hidden_tls_proto): Likewise.
42443         (librt_hidden_tls_proto): Likewise.
42444         (libdl_hidden_tls_proto): Likewise.
42445         (libnss_files_hidden_tls_proto): Likewise.
42446         (libnsl_hidden_tls_proto): Likewise.
42447         (libnss_nisplus_hidden_tls_proto): Likewise.
42448         (libutil_hidden_tls_proto): Likewise.
42450 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
42452         [BZ #10253]
42453         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
42454         (decompose_rpath): Defer expansion to fillin_rpath.
42455         (_dl_init_paths): Pass linkmap to fillin_rpath.
42457 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42459         * benchtests/Makefile: Add strsep.
42460         * benchtests/bench-strsep.c: New file: strsep benchtest.
42461         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
42463 2013-11-18  Andreas Schwab  <schwab@suse.de>
42465         * locale/programs/locale.c (show_info) [case byte]: Check for
42466         '\377' instead of '\177'.
42467         * locale/C-monetary.c (not_available): Always use "\377".
42468         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
42469         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
42470         detect unavailable sign_posn locale elements.
42471         * locale/localeconv.c (__localeconv): For grouping and
42472         mon_grouping handle "\177" and "\377" like no grouping.
42473         (INT_ELEM): New macro.  Use it to set all numeric members.
42474         * locale/programs/ld-monetary.c (monetary_read)
42475         <tok_mon_grouping>: Normalize single -1 to the empty string.
42476         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
42477         Likewise.
42479 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
42481         [BZ #16055]
42482         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
42483         when we match (nil).
42484         * stdio-common/tst-sscanf.c (struct test): Add testcase.
42486 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
42488         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
42489         (NO_TEST_INLINE): Update value.
42490         (ERRNO_UNCHANGED): Likewise.
42491         (ERRNO_EDOM): Likewise.
42492         (ERRNO_ERANGE): Likewise.
42493         (IGNORE_RESULT): Likewise.
42494         (check_float_internal): Check signs of NaN results if
42495         TEST_NAN_SIGN used.
42496         (check_complex): Pass TEST_NAN_SIGN flag through to second
42497         check_float_internal call.
42498         (copysign_test_data): Add tests with quiet NaNs as second
42499         argument.  Use TEST_NAN_SIGN.
42500         (fabs_test_data): Add test of negative quiet NaN argument.  Use
42501         TEST_NAN_SIGN.
42502         (signbit_test_data): Add tests of quiet NaN argument.
42503         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
42505         * math/gen-libm-test.pl (show_exceptions): Take extra argument
42506         $ignore_result.
42507         (parse_args): Handle function results specified as IGNORE.
42508         * math/libm-test.inc (IGNORE_RESULT): New macro.
42509         (check_float_internal): Do not check numerical result if flag
42510         IGNORE_RESULT set.
42511         (check_complex): Pass through IGNORE_RESULT to second
42512         check_float_internal call.
42513         (check_int): Do not check numerical result if flag IGNORE_RESULT
42514         set.
42515         (check_long): Likewise.
42516         (check_bool): Likewise.
42517         (check_longlong): Likewise.
42518         (lrint_test_data): Add tests of infinite and NaN arguments.
42519         (lrint_tonearest_test_data): Likewise.
42520         (lrint_towardzero_test_data): Likewise.
42521         (lrint_downward_test_data): Likewise.
42522         (lrint_upward_test_data): Likewise.
42523         (llrint_test_data): Likewise.
42524         (llrint_tonearest_test_data): Likewise.
42525         (llrint_towardzero_test_data): Likewise.
42526         (llrint_downward_test_data): Likewise.
42527         (llrint_upward_test_data): Likewise.
42528         (lround_test_data): Likewise.
42529         (llround_test_data): Likewise.
42531         * math/libm-test.inc (NO_TEST_INLINE): New macro.
42532         (ERRNO_UNCHANGED): Update value.
42533         (ERRNO_EDOM): Likewise.
42534         (ERRNO_ERANGE): Likewise.
42535         (NO_TEST_INLINE_FLOAT): New macro.
42536         (NO_TEST_INLINE_DOUBLE): Likewise.
42537         (enable_test): New function.
42538         (RUN_TEST_f_f): Check enable_test before running test.
42539         (RUN_TEST_2_f): Likewise.
42540         (RUN_TEST_fff_f): Likewise.
42541         (RUN_TEST_c_f): Likewise.
42542         (RUN_TEST_f_f1): Likewise.
42543         (RUN_TEST_fF_f1): Likewise.
42544         (RUN_TEST_fI_f1): Likewise.
42545         (RUN_TEST_ffI_f1): Likewise.
42546         (RUN_TEST_c_c): Likewise.
42547         (RUN_TEST_cc_c): Likewise.
42548         (RUN_TEST_f_i): Likewise.
42549         (RUN_TEST_f_i_tg): Likewise.
42550         (RUN_TEST_ff_i_tg): Likewise.
42551         (RUN_TEST_f_b): Likewise.
42552         (RUN_TEST_f_b_tg): Likewise.
42553         (RUN_TEST_f_l): Likewise.
42554         (RUN_TEST_f_L): Likewise.
42555         (RUN_TEST_fFF_11): Likewise.
42556         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
42557         conditionals.
42558         (cosh_test_data): Likewise.
42559         (exp_test_data): Likewise.
42560         (expm1_test_data): Likewise.
42561         (hypot_test_data): Likewise.
42562         (pow_test_data): Likewise.
42563         (sinh_test_data): Likewise.
42564         (tanh_test_data): Likewise.
42565         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
42566         flags argument.
42568         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
42569         tests with quiet NaN input and output.
42570         (acosh_test_data): Likewise.
42571         (asin_test_data): Likewise.
42572         (asinh_test_data): Likewise.
42573         (atan_test_data): Likewise.
42574         (atanh_test_data): Likewise.
42575         (atan2_test_data): Likewise.
42576         (cbrt_test_data): Likewise.
42577         (cos_test_data): Likewise.
42578         (cosh_test_data): Likewise.
42579         (erf_test_data): Likewise.
42580         (erfc_test_data): Likewise.
42581         (exp_test_data): Likewise.
42582         (exp10_test_data): Likewise.
42583         (exp2_test_data): Likewise.
42584         (expm1_test_data): Likewise.
42585         (hypot_test_data): Likewise.
42586         (j0_test_data): Likewise.
42587         (j1_test_data): Likewise.
42588         (jn_test_data): Likewise.
42589         (lgamma_test_data): Likewise.
42590         (log_test_data): Likewise.
42591         (log10_test_data): Likewise.
42592         (log1p_test_data): Likewise.
42593         (log2_test_data): Likewise.
42594         (pow_test_data): Likewise.
42595         (scalb_test_data): Likewise.
42596         (sin_test_data): Likewise.
42597         (sincos_test_data): Likewise.
42598         (sinh_test_data): Likewise.
42599         (tan_test_data): Likewise.
42600         (tanh_test_data): Likewise.
42601         (tgamma_test_data): Likewise.
42602         (y0_test_data): Likewise.
42603         (y1_test_data): Likewise.
42604         (yn_test_data): Likewise.
42606         [BZ #16167]
42607         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
42608         argument being NaN and avoid computations with second argument in
42609         that case.
42610         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42611         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
42612         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42614 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
42616         * locale/iso-639.def: Add Chitwani Tharu (the).
42618 2013-11-14  Andreas Schwab  <schwab@suse.de>
42620         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
42621         word instead of empty string.
42623 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42626         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
42627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42628         (__fe_nomask_env): Likewise.
42630 2013-11-13  Steve Ellcey  <sellcey@mips.com>
42632         * benchtests/bench-timing.h: Include time.h.
42634 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
42636         [BZ #15997]
42637         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
42638         to 3.4.0 for x32.
42639         * sysdeps/unix/sysv/linux/configure: Regenerated.
42641 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
42643         [BZ #16151]
42644         * stdlib/strtod_l.c (round_and_return): Do not consider
42645         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
42646         exponent one less than half the least subnormal exponent.
42647         * stdlib/test-strtod-round-data: Add more tests.
42648         * stdlib/tst-strtod-round.c (tests): Regenerated.
42650 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42652         [BZ #14143]
42653         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
42654         (__fe_mask_env): Likewise.
42655         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
42656         libm_hidden_proto and add function prototype.
42657         (__fe_mask_env): Add function prototype.
42658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42659         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
42660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42661         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
42662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42663         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
42665 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42667         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
42668         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
42670 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42672         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
42673         of htab_find_slot().
42675 2013-11-11  David S. Miller  <davem@davemloft.net>
42677         [BZ #16150]
42678         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
42679         symbol in the non-vis3 case in static builds.
42680         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
42681         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
42682         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
42683         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
42685 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
42687         [BZ #387]
42688         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
42689         it is empty.
42691 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42693         * benchtests/Makefile: Add bench-strtod.
42694         * benchtests/bench-strtod.c: New file: strtod benchtest
42696 2013-11-11  Andreas Schwab  <schwab@suse.de>
42698         [BZ #16153]
42699         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
42700         terminating NUL in key length.
42702 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42704         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42705         Add artificial ODP entry for vDSO symbol for PPC64.
42706         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
42707         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
42709 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
42711         [BZ #15374]
42712         * nss/getent.c (services_keys): Recognize services starting with digit.
42714 2013-11-06  David S. Miller  <davem@davemloft.net>
42716         [BZ #15985]
42717         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
42718         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
42720 2013-11-06  Will Newton  <will.newton@linaro.org>
42722         * manual/memory.texi (Malloc Examples): Remove register
42723         keyword from examples.
42725 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
42727         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
42729 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
42731         [BZ #6981]
42732         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
42733         depending on [__GCC_IEC_559 > 0].
42734         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
42735         depending on [__GCC_IEC_559_COMPLEX > 0].
42737 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
42739         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
42740         to iso-639.def.
42742 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
42744         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
42746 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
42748         [BZ #16112]
42749         * malloc/malloc (malloc_info): Do not handle first bin as
42750         special case.
42752 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
42754         * locale/iso-639.def: Add Central Nahuatl (nhn).
42756 2013-11-01  Bruno Haible  <bruno@clisp.org>
42758         [BZ #7003]
42759         * manual/math.texi (BSD Random): Specify range upper bound as
42760         in POSIX.
42762 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
42764         * locale/iso-639.def: Add Meadow Mari (mhr).
42766 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
42768         [BZ #14752], [BZ #15763]
42769         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
42770         Validate name.
42771         * rt/tst_shm.c: Add test for escaping directory.
42773 2013-10-31  Andreas Schwab  <schwab@suse.de>
42775         [BZ #15917]
42776         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
42777         followed by 'x' as part of digit sequence.
42778         * stdio-common/tst-sscanf.c (double_tests2): New tests.
42780 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
42782         [BZ #16037]
42783         * configure.ac: allow GNU Make 4.0 and greater.
42784         * configure: Regenerated.
42786 2013-10-30  Will Newton  <will.newton@linaro.org>
42788         [BZ #16038]
42789         * malloc/hooks.c (memalign_check): Limit alignment to the
42790         maximum representable power of two.
42791         * malloc/malloc.c (__libc_memalign): Likewise.
42792         * malloc/tst-memalign.c (do_test): Add test for very
42793         large alignment values.
42794         * malloc/tst-posix_memalign.c (do_test): Likewise.
42796 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
42798         [BZ #11087]
42799         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
42800         (munmap_chunk): Likewise.
42801         (mremap_chunk): Likewise.
42803 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
42805         [BZ #15799]
42806         * stdlib/div.c (div): Remove obsolete code.
42807         * stdlib/ldiv.c (ldiv): Likewise.
42808         * stdlib/lldiv.c (lldiv): Likewise.
42810 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42812         [BZ #16071]
42813         * nss/nss_files/files-XXX.c (get_contents_ret): New
42814         enumerator.
42815         (get_contents): New function.
42816         (internal_getent): Use it.  Expand size of LINEBUFLEN.
42818 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
42820         * configure.in: Moved to ...
42821         * configure.ac: ... here. Change reference to configure.in
42822         to configure.ac.
42823         * sysdeps/arm/preconfigure.ac: ... here.
42824         configure.in to configure.ac.
42825         * sysdeps/gnu/configure.in: Moved to ...
42826         * sysdeps/gnu/configure.ac: ... here.
42827         * sysdeps/i386/configure.in: Moved to ...
42828         * sysdeps/i386/configure.ac: ... here.
42829         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
42830         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
42831         * sysdeps/mach/configure.in: Moved to ...
42832         * sysdeps/mach/configure.ac: ... here.
42833         * sysdeps/mach/hurd/configure.in: Moved to ...
42834         * sysdeps/mach/hurd/configure.ac: ... here.
42835         * sysdeps/powerpc/configure.in: Moved to ...
42836         * sysdeps/powerpc/configure.ac: ... here.
42837         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
42838         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
42839         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
42840         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
42841         * sysdeps/s390/s390-32/configure.in: Moved to ...
42842         * sysdeps/s390/s390-32/configure.ac: ... here.
42843         * sysdeps/s390/s390-64/configure.in: Moved to ...
42844         * sysdeps/s390/s390-64/configure.ac: ... here.
42845         * sysdeps/sh/configure.in: Moved to ...
42846         * sysdeps/sh/configure.ac: ... here.
42847         * sysdeps/sparc/configure.in: Moved to ...
42848         * sysdeps/sparc/configure.ac: ... here.
42849         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
42850         * sysdeps/unix/sysv/linux/configure.ac: ... here.
42851         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
42852         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
42853         * sysdeps/x86_64/configure.in: Moved to ...
42854         * sysdeps/x86_64/configure.ac: ... here.
42855         * sysdeps/x86_64/preconfigure.in: Moved to ...
42856         * sysdeps/x86_64/preconfigure.ac: ... here.
42857         * aclocal.m4: Change reference to configure.in to configure.ac.
42858         * config.h.in: Likewise.
42859         * manual/install.texi: Likewise.
42860         * manual/maint.texi: Likewise.
42861         * Makefile: Likewise.
42862         * malloc/Makefile: Likewise.
42863         * nscd/Makefile: Likewise.
42864         * Makeconfig: Change reference to configure.in and
42865         preconfigure.in to configure.ac and preconfigure.ac
42866         respectively.
42867         * INSTALL: Regenerated.
42868         * configure: Likewise.
42869         * sysdeps/gnu/configure: Likewise.
42870         * sysdeps/i386/configure: Likewise.
42871         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
42872         * sysdeps/mach/configure: Likewise.
42873         * sysdeps/mach/hurd/configure: Likewise.
42874         * sysdeps/powerpc/configure: Likewise.
42875         * sysdeps/powerpc/powerpc32/configure: Likewise.
42876         * sysdeps/powerpc/powerpc64/configure: Likewise.
42877         * sysdeps/s390/s390-32/configure: Likewise.
42878         * sysdeps/s390/s390-64/configure: Likewise.
42879         * sysdeps/sh/configure: Likewise.
42880         * sysdeps/sparc/configure: Likewise.
42881         * sysdeps/unix/sysv/linux/configure: Likewise.
42882         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
42883         * sysdeps/x86_64/configure: Likewise.
42884         * sysdeps/x86_64/preconfigure: Likewise.
42886 2013-10-29  Andreas Schwab  <schwab@suse.de>
42888         * stdio-common/Makefile (tst-swscanf-ENV): Define.
42890 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42892         * benchtests/pow-inputs: Add new inputs.
42894         * benchtests/exp-inputs: Add new inputs.
42896         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
42897         conditional check for return value.
42898         (__cos32): Likewise.
42900 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42902         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
42903         to provide a boost for large inputs with word alignment.
42904         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
42905         implementation based on optimized PPC64 strcpy.
42906         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
42907         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
42908         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
42909         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
42911 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42913         [BZ #2801]
42914         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
42916 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42918         [BZ #14876]
42919         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
42920         * time/tst-strptime.c (day_tests): Add testcase.
42922 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42924         [BZ #14029]
42925         * manual/pattern.texi: Acknowledge that fnmatch can fail.
42927 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
42929         [BZ #16074]
42930         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
42931         MAP_FAILED on error.
42933 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42935         [BZ #16072]
42936         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
42937         heap for large requests.
42939 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
42941         [BZ #9954]
42942         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
42943         result if the result has no associated interface.
42944         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
42945         interface for all 127.X.Y.Z addresses.
42947 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
42949         * locale/iso-639.def: Add Ligurian (lij)
42951 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
42953         [BZ #15825]
42954         * sunrpc/rpc_main.c: Document rpcgen -5.
42956 2013-10-19  Michael Stahl  <mstahl@redhat.com>
42958         * elf/rtld.c (do_preload): Print the reason why preloading failed.
42960 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
42962         [BZ #10278]
42963         * posix/glob.c: Match only directories when trailing slash is present.
42964         * posix/tst-gnuglob.c (my_opendir): Do not open files.
42965         (main): Add testcase.
42967 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
42969         [BZ #15670]
42970         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
42972 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
42974         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
42975         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
42976         AUTH_DES and cindex for FIPS 140-2.
42977         (DES Encryption): Add cindex FIPS 46-3.
42979         * locale/locarchive.h (struct locarhandle): Add fname.
42980         * locale/programs/localedef.c (main): Pass ARGV[remaining]
42981         if an optional argument was specified to --list-archive,
42982         otherwise NULL.
42983         * locale/programs/locarchive.c (show_archive_content): Take new
42984         argument fname and pass it via ah.fname to open_archive.
42985         * locale/programs/localedef.h: Update decl.
42986         (open_archive): If AH->fname is non-null, open that file
42987         rather than the default file name, and don't ignore ENOENT.
42988         (create_archive): Set AH.fname to NULL.
42989         (delete_locales_from_archive): Likewise.
42990         (add_locales_to_archive): Likewise.
42991         * locale/programs/locfile.c (write_all_categories): Likewise.
42993 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
42994             Aldy Hernandez  <aldyh@redhat.com>
42996         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
42997         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
42998         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
42999         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
43000         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
43001         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
43002         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
43003         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
43004         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
43005         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
43006         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
43007         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
43008         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
43009         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
43010         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
43011         Likewise.
43012         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
43013         Likewise.
43014         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
43015         Likewise.
43016         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
43017         Likewise.
43018         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
43019         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
43020         Likewise.
43021         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
43022         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
43023         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
43024         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
43025         Likewise.
43026         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
43027         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
43028         * sysdeps/powerpc/preconfigure: Likewise.
43029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
43030         Likewise.
43031         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
43032         Replace contents of file by #include of <fenv_libc.h>.
43033         * sysdeps/powerpc/soft-fp/sfp-machine.h
43034         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
43035         and <sys/prctl.h>.
43036         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
43037         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
43038         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
43039         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
43040         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
43041         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
43042         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
43043         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
43044         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
43045         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
43046         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
43047         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
43048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43049         Allow copysignl PLT reference to be missing.
43051 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
43052             Joseph Myers  <joseph@codesourcery.com
43054         [BZ #15948]
43055         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
43056         single character.
43057         (add_to_tablewc): Assert sequence of wide characters is nonempty.
43059 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43061         * elf/tst-tls-dlinfo.c: Don't include tls.h.
43062         * elf/tst-tls1.c: Likewise.
43063         * elf/tst-tls10.h: Likewise.
43064         * elf/tst-tls14.c: Likewise.
43065         * elf/tst-tls2.c: Likewise.
43066         * elf/tst-tls3.c: Likewise.
43067         * elf/tst-tls4.c: Likewise.
43068         * elf/tst-tls5.c: Likewise.
43069         * elf/tst-tls6.c: Likewise.
43070         * elf/tst-tls7.c: Likewise.
43071         * elf/tst-tls8.c: Likewise.
43072         * elf/tst-tls9.c: Likewise.
43073         * elf/tst-tlsmod1.c: Likewise.
43074         * elf/tst-tlsmod13.c: Likewise.
43075         * elf/tst-tlsmod13a.c: Likewise.
43076         * elf/tst-tlsmod14a.c: Likewise.
43077         * elf/tst-tlsmod16a.c: Likewise.
43078         * elf/tst-tlsmod16b.c: Likewise.
43079         * elf/tst-tlsmod2.c: Likewise.
43080         * elf/tst-tlsmod3.c: Likewise.
43081         * elf/tst-tlsmod4.c: Likewise.
43082         * elf/tst-tlsmod5.c: Likewise.
43083         * elf/tst-tlsmod6.c: Likewise.
43085 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
43087         [BZ #12486]
43088         * malloc/malloc.c: remove checks for statistics.
43090 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
43092         [BZ #15277]
43093         * inet/inet_net.c (inet_network): Detect additional invalid strings.
43094         * inet/tst-network.c: Add testcase.
43096 2013-10-17  Andreas Schwab  <schwab@suse.de>
43098         [BZ #15218]
43099         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
43100         to determine canonical name.
43102 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
43104         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
43105         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
43106         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43107         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43108         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43109         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43110         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43111         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43112         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43113         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43114         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43115         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43116         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43117         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43118         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43119         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43120         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43121         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43122         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43123         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43124         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43125         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43126         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43127         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
43128         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
43129         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43130         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43131         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
43132         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43133         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
43134         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43135         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43136         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43137         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43138         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43139         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43140         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43141         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43142         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43143         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43144         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43145         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43146         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43147         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43148         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43149         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43150         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43151         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43152         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43153         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43154         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43155         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43156         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43157         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43158         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43159         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43160         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43161         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43163 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
43165         [BZ #16041]
43166         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
43167         make result into a quiet NaN.
43169 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
43171         * soft-fp/adddf3.c: Fix horizontal whitespace.
43172         * soft-fp/addsf3.c: Likewise.
43173         * soft-fp/addtf3.c: Likewise.
43174         * soft-fp/divdf3.c: Likewise.
43175         * soft-fp/divsf3.c: Likewise.
43176         * soft-fp/divtf3.c: Likewise.
43177         * soft-fp/double.h: Likewise.
43178         * soft-fp/eqdf2.c: Likewise.
43179         * soft-fp/eqsf2.c: Likewise.
43180         * soft-fp/eqtf2.c: Likewise.
43181         * soft-fp/extenddftf2.c: Likewise.
43182         * soft-fp/extended.h: Likewise.
43183         * soft-fp/extendsfdf2.c: Likewise.
43184         * soft-fp/extendsftf2.c: Likewise.
43185         * soft-fp/extendxftf2.c: Likewise.
43186         * soft-fp/fixdfdi.c: Likewise.
43187         * soft-fp/fixdfsi.c: Likewise.
43188         * soft-fp/fixdfti.c: Likewise.
43189         * soft-fp/fixsfdi.c: Likewise.
43190         * soft-fp/fixsfsi.c: Likewise.
43191         * soft-fp/fixsfti.c: Likewise.
43192         * soft-fp/fixtfdi.c: Likewise.
43193         * soft-fp/fixtfsi.c: Likewise.
43194         * soft-fp/fixtfti.c: Likewise.
43195         * soft-fp/fixunsdfdi.c: Likewise.
43196         * soft-fp/fixunsdfsi.c: Likewise.
43197         * soft-fp/fixunsdfti.c: Likewise.
43198         * soft-fp/fixunssfdi.c: Likewise.
43199         * soft-fp/fixunssfsi.c: Likewise.
43200         * soft-fp/fixunssfti.c: Likewise.
43201         * soft-fp/fixunstfdi.c: Likewise.
43202         * soft-fp/fixunstfsi.c: Likewise.
43203         * soft-fp/fixunstfti.c: Likewise.
43204         * soft-fp/floatdidf.c: Likewise.
43205         * soft-fp/floatdisf.c: Likewise.
43206         * soft-fp/floatditf.c: Likewise.
43207         * soft-fp/floatsidf.c: Likewise.
43208         * soft-fp/floatsisf.c: Likewise.
43209         * soft-fp/floatsitf.c: Likewise.
43210         * soft-fp/floattidf.c: Likewise.
43211         * soft-fp/floattisf.c: Likewise.
43212         * soft-fp/floattitf.c: Likewise.
43213         * soft-fp/floatundidf.c: Likewise.
43214         * soft-fp/floatundisf.c: Likewise.
43215         * soft-fp/floatunditf.c: Likewise.
43216         * soft-fp/floatunsidf.c: Likewise.
43217         * soft-fp/floatunsisf.c: Likewise.
43218         * soft-fp/floatunsitf.c: Likewise.
43219         * soft-fp/floatuntidf.c: Likewise.
43220         * soft-fp/floatuntisf.c: Likewise.
43221         * soft-fp/floatuntitf.c: Likewise.
43222         * soft-fp/fmadf4.c: Likewise.
43223         * soft-fp/fmasf4.c: Likewise.
43224         * soft-fp/fmatf4.c: Likewise.
43225         * soft-fp/gedf2.c: Likewise.
43226         * soft-fp/gesf2.c: Likewise.
43227         * soft-fp/getf2.c: Likewise.
43228         * soft-fp/ledf2.c: Likewise.
43229         * soft-fp/lesf2.c: Likewise.
43230         * soft-fp/letf2.c: Likewise.
43231         * soft-fp/muldf3.c: Likewise.
43232         * soft-fp/mulsf3.c: Likewise.
43233         * soft-fp/multf3.c: Likewise.
43234         * soft-fp/negdf2.c: Likewise.
43235         * soft-fp/negsf2.c: Likewise.
43236         * soft-fp/negtf2.c: Likewise.
43237         * soft-fp/op-1.h: Likewise.
43238         * soft-fp/op-2.h: Likewise.
43239         * soft-fp/op-4.h: Likewise.
43240         * soft-fp/op-8.h: Likewise.
43241         * soft-fp/op-common.h: Likewise.
43242         * soft-fp/quad.h: Likewise.
43243         * soft-fp/single.h: Likewise.
43244         * soft-fp/soft-fp.h: Likewise.
43245         * soft-fp/sqrtdf2.c: Likewise.
43246         * soft-fp/sqrtsf2.c: Likewise.
43247         * soft-fp/sqrttf2.c: Likewise.
43248         * soft-fp/subdf3.c: Likewise.
43249         * soft-fp/subsf3.c: Likewise.
43250         * soft-fp/subtf3.c: Likewise.
43251         * soft-fp/truncdfsf2.c: Likewise.
43252         * soft-fp/trunctfdf2.c: Likewise.
43253         * soft-fp/trunctfsf2.c: Likewise.
43254         * soft-fp/trunctfxf2.c: Likewise.
43255         * soft-fp/unorddf2.c: Likewise.
43256         * soft-fp/unordsf2.c: Likewise.
43257         * soft-fp/unordtf2.c: Likewise.
43259 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
43261         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
43262         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
43264 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
43266         * elf/dl-libc.c: Clear initfini list after freeing.
43268 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
43270         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
43271         * soft-fp/addsf3.c: Likewise.
43272         * soft-fp/addtf3.c: Likewise.
43273         * soft-fp/divdf3.c: Likewise.
43274         * soft-fp/divsf3.c: Likewise.
43275         * soft-fp/divtf3.c: Likewise.
43276         * soft-fp/double.h: Likewise.
43277         * soft-fp/eqdf2.c: Likewise.
43278         * soft-fp/eqsf2.c: Likewise.
43279         * soft-fp/eqtf2.c: Likewise.
43280         * soft-fp/extenddftf2.c: Likewise.
43281         * soft-fp/extended.h: Likewise.
43282         * soft-fp/extendsfdf2.c: Likewise.
43283         * soft-fp/extendsftf2.c: Likewise.
43284         * soft-fp/extendxftf2.c: Likewise.
43285         * soft-fp/fixdfdi.c: Likewise.
43286         * soft-fp/fixdfsi.c: Likewise.
43287         * soft-fp/fixdfti.c: Likewise.
43288         * soft-fp/fixsfdi.c: Likewise.
43289         * soft-fp/fixsfsi.c: Likewise.
43290         * soft-fp/fixsfti.c: Likewise.
43291         * soft-fp/fixtfdi.c: Likewise.
43292         * soft-fp/fixtfsi.c: Likewise.
43293         * soft-fp/fixtfti.c: Likewise.
43294         * soft-fp/fixunsdfdi.c: Likewise.
43295         * soft-fp/fixunsdfsi.c: Likewise.
43296         * soft-fp/fixunsdfti.c: Likewise.
43297         * soft-fp/fixunssfdi.c: Likewise.
43298         * soft-fp/fixunssfsi.c: Likewise.
43299         * soft-fp/fixunssfti.c: Likewise.
43300         * soft-fp/fixunstfdi.c: Likewise.
43301         * soft-fp/fixunstfsi.c: Likewise.
43302         * soft-fp/fixunstfti.c: Likewise.
43303         * soft-fp/floatdidf.c: Likewise.
43304         * soft-fp/floatdisf.c: Likewise.
43305         * soft-fp/floatditf.c: Likewise.
43306         * soft-fp/floatsidf.c: Likewise.
43307         * soft-fp/floatsisf.c: Likewise.
43308         * soft-fp/floatsitf.c: Likewise.
43309         * soft-fp/floattidf.c: Likewise.
43310         * soft-fp/floattisf.c: Likewise.
43311         * soft-fp/floattitf.c: Likewise.
43312         * soft-fp/floatundidf.c: Likewise.
43313         * soft-fp/floatundisf.c: Likewise.
43314         * soft-fp/floatunsidf.c: Likewise.
43315         * soft-fp/floatunsisf.c: Likewise.
43316         * soft-fp/floatuntidf.c: Likewise.
43317         * soft-fp/floatuntisf.c: Likewise.
43318         * soft-fp/floatuntitf.c: Likewise.
43319         * soft-fp/fmadf4.c: Likewise.
43320         * soft-fp/fmasf4.c: Likewise.
43321         * soft-fp/fmatf4.c: Likewise.
43322         * soft-fp/gedf2.c: Likewise.
43323         * soft-fp/gesf2.c: Likewise.
43324         * soft-fp/getf2.c: Likewise.
43325         * soft-fp/ledf2.c: Likewise.
43326         * soft-fp/lesf2.c: Likewise.
43327         * soft-fp/letf2.c: Likewise.
43328         * soft-fp/muldf3.c: Likewise.
43329         * soft-fp/mulsf3.c: Likewise.
43330         * soft-fp/multf3.c: Likewise.
43331         * soft-fp/negdf2.c: Likewise.
43332         * soft-fp/negsf2.c: Likewise.
43333         * soft-fp/negtf2.c: Likewise.
43334         * soft-fp/op-1.h: Likewise.
43335         * soft-fp/op-2.h: Likewise.
43336         * soft-fp/op-4.h: Likewise.
43337         * soft-fp/op-8.h: Likewise.
43338         * soft-fp/op-common.h: Likewise.
43339         * soft-fp/quad.h: Likewise.
43340         * soft-fp/single.h: Likewise.
43341         * soft-fp/soft-fp.h: Likewise.
43342         * soft-fp/sqrtdf2.c: Likewise.
43343         * soft-fp/sqrtsf2.c: Likewise.
43344         * soft-fp/sqrttf2.c: Likewise.
43345         * soft-fp/subdf3.c: Likewise.
43346         * soft-fp/subsf3.c: Likewise.
43347         * soft-fp/subtf3.c: Likewise.
43348         * soft-fp/truncdfsf2.c: Likewise.
43349         * soft-fp/trunctfdf2.c: Likewise.
43350         * soft-fp/trunctfsf2.c: Likewise.
43351         * soft-fp/trunctfxf2.c: Likewise.
43352         * soft-fp/unorddf2.c: Likewise.
43353         * soft-fp/unordsf2.c: Likewise.
43354         * soft-fp/unordtf2.c: Likewise.
43356 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
43358         [BZ #15672]
43359         * misc/error.c (error_tail): Fix possible buffer overflow.
43361 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
43363         [BZ #13028]
43364         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
43365         address.
43367 2013-10-14  P. J. McDermott  <pj@pehjota.net>
43369         [BZ #832]
43370         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
43371         testing pipefail option.
43373 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
43375         * soft-fp/double.h: Indent preprocessor directives inside #if.
43376         * soft-fp/extended.h: Likewise.
43377         * soft-fp/op-2.h: Likewise.
43378         * soft-fp/op-4.h: Likewise.
43379         * soft-fp/op-common.h: Likewise.
43380         * soft-fp/quad.h: Likewise.
43381         * soft-fp/single.h: Likewise.
43382         * soft-fp/soft-fp.h: Likewise.
43384 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
43386         * iconv/iconv_prog.c: Fix typos.
43387         * stdio-common/psiginfo-data.h: Likewise.
43389 2013-10-12   Reuben Thomas <rrt@sc3d.org>
43391         [BZ #15764]
43392         * locale/setlocale.c: Fix typo.
43394 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
43396         [BZ #16036]
43397         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
43398         signaling NaN arguments.
43399         * soft-fp/unordsf2.c (__unordsf2): Likewise.
43400         * soft-fp/unordtf2.c (__unordtf2): Likewise.
43402         [BZ #14910]
43403         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
43404         unordered operands.
43405         * soft-fp/gesf2.c (__gesf2): Likewise.
43406         * soft-fp/getf2.c (__getf2): Likewise.
43407         * soft-fp/ledf2.c (__ledf2): Likewise.
43408         * soft-fp/lesf2.c (__lesf2): Likewise.
43409         * soft-fp/letf2.c (__letf2): Likewise.
43411         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
43412         * soft-fp/eqsf2.c (__eqsf2): Likewise.
43413         * soft-fp/eqtf2.c (__eqtf2): Likewise.
43414         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
43415         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
43416         * soft-fp/fixdfti.c (__fixdfti): Likewise.
43417         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
43418         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
43419         * soft-fp/fixsfti.c (__fixsfti): Likewise.
43420         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
43421         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
43422         * soft-fp/fixtfti.c (__fixtfti): Likewise.
43423         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
43424         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
43425         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
43426         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
43427         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
43428         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
43429         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
43430         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
43431         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
43432         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
43433         * soft-fp/floatdisf.c (__floatdisf): Likewise.
43434         * soft-fp/floatsisf.c (__floatsisf): Likewise.
43435         * soft-fp/floattidf.c (__floattidf): Likewise.
43436         * soft-fp/floattisf.c (__floattisf): Likewise.
43437         * soft-fp/floattitf.c (__floattitf): Likewise.
43438         * soft-fp/floatundidf.c (__floatundidf): Likewise.
43439         * soft-fp/floatundisf.c (__floatundisf): Likewise.
43440         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
43441         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
43442         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
43443         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
43444         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
43445         * soft-fp/gesf2.c (__gesf2): Likewise.
43446         * soft-fp/getf2.c (__getf2): Likewise.
43447         * soft-fp/ledf2.c (__ledf2): Likewise.
43448         * soft-fp/lesf2.c (__lesf2): Likewise.
43449         * soft-fp/letf2.c (__letf2): Likewise.
43451         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
43452         Undefine and redefine.
43453         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
43454         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
43455         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
43456         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
43457         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43458         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
43459         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43460         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
43461         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43462         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
43463         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43464         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
43465         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43466         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
43467         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43469         [BZ #16032]
43470         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
43471         without decrementing exponent if mantissa >= that for the
43472         denominator, not >.
43473         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
43474         denominator, not >.  Decrement exponent in < case instead of
43475         incrementing in >= case.
43476         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
43477         without decrementing exponent if mantissa >= that for the
43478         denominator, not >.
43480         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
43481         computing saturated result for unsigned overflow.
43483 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43484             Jeff Law  <law@redhat.com>
43486         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
43487         (atan2Mp): Add systemtap probe marker.
43488         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
43489         (__ieee754_log): Add systemtap probe marker.
43490         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
43491         (atanMp): Add systemtap probe marker.
43492         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
43493         (tanMp): Add systemtap probe marker.
43494         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
43495         (__slowexp): Add systemtap probe marker.
43496         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
43497         (__slowpow): Add systemtap probe marker.
43498         * manual/probes.texi: Document probes.
43500 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
43502         [BZ #15362]
43503         * libio/fileops.c (_IO_new_file_write): Return count of bytes
43504         written.
43505         (_IO_new_file_xsputn): Don't return EOF if nothing has been
43506         written.
43507         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
43508         written to buffer but not flushed.
43509         * libio/iofwrite_u.c:  Likewise.
43510         * libio/iopadn.c:  Return bytes returned even if EOF was
43511         encountered.
43512         * libio/iowpadn.c:  Likewise.
43513         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
43514         if _IO_padn does not write the whole buffer.
43515         [!COMPILE_WPRINTF] (PAD): Likewise.
43517 2013-10-10  David S. Miller  <davem@davemloft.net>
43519         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
43520         directory block.
43522 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43524         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
43525         instead of FSF address.
43526         * soft-fp/fixdfti.c: Likewise.
43527         * soft-fp/fixsfti.c: Likewise.
43528         * soft-fp/fixtfti.c: Likewise.
43529         * soft-fp/fixunsdfti.c: Likewise.
43530         * soft-fp/fixunssfti.c: Likewise.
43531         * soft-fp/fixunstfti.c: Likewise.
43532         * soft-fp/floattidf.c: Likewise.
43533         * soft-fp/floattisf.c: Likewise.
43534         * soft-fp/floattitf.c: Likewise.
43535         * soft-fp/floatuntidf.c: Likewise.
43536         * soft-fp/floatuntisf.c: Likewise.
43537         * soft-fp/floatuntitf.c: Likewise.
43538         * soft-fp/trunctfxf2.c: Likewise.
43540         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
43541         * soft-fp/fixdfti.c: Likewise.
43542         * soft-fp/fixsfti.c: Likewise.
43543         * soft-fp/fixtfti.c: Likewise.
43544         * soft-fp/fixunsdfti.c: Likewise.
43545         * soft-fp/fixunssfti.c: Likewise.
43546         * soft-fp/fixunstfti.c: Likewise.
43547         * soft-fp/floattidf.c: Likewise.
43548         * soft-fp/floattisf.c: Likewise.
43549         * soft-fp/floattitf.c: Likewise.
43550         * soft-fp/floatuntidf.c: Likewise.
43551         * soft-fp/floatuntisf.c: Likewise.
43552         * soft-fp/floatuntitf.c: Likewise.
43553         * soft-fp/trunctfxf2.c: Likewise.
43555 2013-10-10  David S. Miller  <davem@davemloft.net>
43557         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43559 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
43561         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43562         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
43563         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
43564         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
43565         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
43566         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
43567         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
43569         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
43570         for NaNs before doing comparisons on argument.
43571         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
43572         Likewise.
43574 2013-10-10  Will Newton  <will.newton@linaro.org>
43576         * malloc/hooks.c (memalign_check): Ensure the value of bytes
43577         passed to _int_memalign does not overflow.
43579 2013-10-10  Torvald Riegel  <triegel@redhat.com>
43581         * scripts/bench.pl: Add include-sources directive.
43582         * benchtests/README: Update documentation.
43584 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43586         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
43587         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
43588         instead of FP_INIT_ROUNDMODE.
43589         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
43590         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
43592         [BZ #16034]
43593         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
43594         copy class of input value.
43595         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
43596         not handle exceptions.
43597         * soft-fp/negsf2.c (__negsf2): Likewise.
43598         * soft-fp/negtf2.c (__negtf2): Likewise.
43599         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
43601 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
43603         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
43604         semicolon.  From Linux kernel.
43606 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
43608         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
43610 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
43612         [BZ #156]
43613         * manual/socket.texi: Added statement about buffer
43614         for gethostbyname2_r.
43616 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
43618         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
43619         Use .p2align directive instead, throughout.
43620         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43621         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43622         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
43623         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43624         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43625         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
43626         * sysdeps/x86_64/strchr.S: Likewise.
43627         * sysdeps/x86_64/strrchr.S: Likewise.
43629 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43631         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
43633         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
43635         * sysdeps/generic/math_private.h (__mpsin1): Remove
43636         declaration.
43637         (__mpcos1): Likewise.
43638         (__mpsin): New argument __range_reduce.
43639         (__mpcos): Likewise.
43640         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43641         (slow): Use __mpsin and __mpcos.
43642         (slow1): Likewise.
43643         (slow2): Likewise.
43644         (sloww): Likewise.
43645         (sloww1): Likewise.
43646         (sloww2): Likewise.
43647         (bsloww): Likewise.
43648         (bsloww1): Likewise.
43649         (bsloww2): Likewise.
43650         (cslow2): Likewise.
43651         (csloww): Likewise.
43652         (csloww1): Likewise.
43653         (csloww2): Likewise.
43654         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
43655         range_reduce.  Merge in __mpsin1.
43656         (__mpcos): Likewise.
43657         (__mpsin1): Remove.
43658         (__mpcos1): Likewise.
43660 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
43662         * locale/loadlocale.c (_nl_intern_locale_data): Use
43663         LOCFILE_ALIGNED_P.
43664         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
43665         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
43666         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
43667         obstack data is appropriately aligned.
43668         (obstack_int32_grow_fast): Likewise.
43669         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
43670         * locale/programs/locfile.c (add_locale_uint32): Likewise.
43671         (add_locale_uint32_array): Likewise.
43673 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43675         * benchtests/Makefile: Remove ARGLIST and RET variables.
43676         ($(objpfx)bench-%.c): Pass only function name to the script.
43677         * benchtests/README: Update documentation.
43678         * benchtests/acos-inputs: Add new directives.
43679         * benchtests/acosh-inputs: Likewise.
43680         * benchtests/asin-inputs: Likewise.
43681         * benchtests/asinh-inputs: Likewise.
43682         * benchtests/atan-inputs: Likewise.
43683         * benchtests/atanh-inputs: Likewise.
43684         * benchtests/cos-inputs: Likewise.
43685         * benchtests/cosh-inputs: Likewise.
43686         * benchtests/exp-inputs: Likewise.
43687         * benchtests/log-inputs: Likewise.
43688         * benchtests/pow-inputs: Likewise.
43689         * benchtests/rint-inputs: Likewise.
43690         * benchtests/sin-inputs: Likewise.
43691         * benchtests/sinh-inputs: Likewise.
43692         * benchtests/tan-inputs: Likewise.
43693         * benchtests/tanh-inputs: Likewise.
43694         * scripts/bench.pl: Add support for new directives.
43696 2013-10-07  Alan Modra  <amodra@gmail.com>
43698         * README: Fix careless merge.
43700 2013-10-05  Alan Modra  <amodra@gmail.com>
43702         * NEWS: Mention powerpc64le support and bugs fixed.
43703         * README: Both big-endian and little-endian powerpc64 supported.
43705 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43707         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
43708         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
43709         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
43710         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
43712 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
43714         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
43715         match prototype.
43717 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
43719         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
43720         Move -mhard-float appending from
43721         ports/sysdeps/powerpc/powerpc32/Makefile.
43722         [$(with-fp) = yes] (ASFLAGS): Likewise.
43723         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
43724         * sysdeps/powerpc/nofpu: Move directory from
43725         ports/sysdeps/powerpc/nofpu.
43726         * sysdeps/powerpc/soft-fp: Move directory from
43727         ports/sysdeps/powerpc/soft-fp.
43728         * sysdeps/powerpc/powerpc32/405: Move directory from
43729         ports/sysdeps/powerpc/powerpc32/405.
43730         * sysdeps/powerpc/powerpc32/440: Move directory from
43731         ports/sysdeps/powerpc/powerpc32/440.
43732         * sysdeps/powerpc/powerpc32/464: Move directory from
43733         ports/sysdeps/powerpc/powerpc32/464.
43734         * sysdeps/powerpc/powerpc32/476: Move directory from
43735         ports/sysdeps/powerpc/powerpc32/476.
43736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
43737         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
43738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
43739         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
43740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
43741         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
43742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
43743         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
43744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
43745         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
43746         * README: Update for powerpc-*-linux-gnu software floating point
43747         support in libc.
43749         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
43750         case to powerpc/powerpc32*.
43751         * sysdeps/unix/sysv/linux/configure: Regenerated.
43753         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
43754         (_FPU_MASK_OM): Define as 0x04.
43755         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
43756         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
43757         0x00c10080.
43758         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
43759         0x0000003c.
43760         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
43762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
43763         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43764         getcontext_e500.
43765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
43766         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43767         setcontext_e500.
43768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
43769         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
43770         and setcontext_e500.
43772 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
43774         * locale/iso-3166.def: Update iso-1366.def and related occurrences
43776 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43778         * manual/threads.texi (Default Thread Attributes): Fix typo.
43780 2013-10-04  Will Newton  <will.newton@linaro.org>
43782         * malloc/Makefile: Add tst-memalign.
43783         * malloc/tst-memalign.c: New file.
43785         * malloc/tst-posix_memalign.c: Add comments.
43786         (do_test): Add comments and call free on all potentially
43787         allocated pointers. Add space after cast.
43789         * malloc/tst-pvalloc.c: Add comments.
43790         (do_test): Add comments and call free on all potentially
43791         allocated pointers. Remove duplicate check for NULL pointer.
43792         Add space after cast.
43794         * malloc/tst-valloc.c: Add comments.
43795         (do_test): Add comments and call free on all potentially
43796         allocated pointers. Remove duplicate check for NULL pointer.
43797         Add space after cast.
43799 2013-10-04  Alan Modra  <amodra@gmail.com>
43801         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43802         Use stdint types in rather than __attribute__((mode())).
43803         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43805 2013-10-04  Alan Modra  <amodra@gmail.com>
43807         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43808         Correct handling of unaligned relocs for little-endian.
43809         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43811 2013-10-04  Alan Modra  <amodra@gmail.com>
43813         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
43814         * configure: Regenerate.
43815         * nptl/shlib-versions: Powerpc*le starts at 2.18.
43816         * shlib-versions: Likewise.
43818 2013-10-04  Alan Modra  <amodra@gmail.com>
43820         * string/tester.c (test_memrchr): Increment reported test cycle.
43822 2013-10-04  Alan Modra  <amodra@gmail.com>
43824         * string/test-memcpy.c (do_one_test): When reporting errors, print
43825         string address and don't overrun end of string.
43827 2013-10-04  Alan Modra  <amodra@gmail.com>
43829         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
43830         insrdi.  Make better use of reg selection to speed exit slightly.
43831         Schedule entry path a little better.  Remove useless "are we done"
43832         checks on entry to main loop.  Handle wrapping around zero address.
43833         Correct main loop count.  Handle single left-over word from main
43834         loop inline rather than by using loop_small.  Remove extra word
43835         case in loop_small caused by wrong loop count.  Add little-endian
43836         support.
43837         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
43838         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
43839         cache hint.
43840         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
43841         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
43842         support.  Avoid rlwimi.
43843         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
43845 2013-10-04  Alan Modra  <amodra@gmail.com>
43847         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
43848         insrdi.  Formatting.
43849         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
43850         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43851         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
43852         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
43853         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43854         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
43856 2013-10-04  Alan Modra  <amodra@gmail.com>
43858         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
43859         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43860         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
43861         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
43862         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
43863         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
43864         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43865         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43866         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
43867         use of regs.  Use power7 mtocrf.  Tidy function tails.
43869 2013-10-04  Alan Modra  <amodra@gmail.com>
43871         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
43872         Formatting.  Consistently use rXXX register defines or rN defines.
43873         Use early exit labels that avoid restoring unused non-volatile regs.
43874         Make cr field use more consistent with rWORDn compares.  Rename
43875         regs used as shift registers for unaligned loop, using rN defines
43876         for short lifetime/multiple use regs.
43877         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
43878         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
43879         addi 1,1,64 to pop stack frame.  Simplify return value code.
43880         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43882 2013-10-04  Alan Modra  <amodra@gmail.com>
43884         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
43885         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
43886         rather than rlwimi.
43887         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
43888         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
43889         little-endian support.  Correct typos.
43890         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
43891         rather than rlwimi.
43892         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
43893         in loop and entry code to keep "and." results.
43894         (strchr): Add little-endian support.  Comment.  Move cntlzd
43895         earlier in tail.
43896         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
43898 2013-10-04  Alan Modra  <amodra@gmail.com>
43900         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
43901         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
43902         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
43903         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
43905 2013-10-04  Alan Modra  <amodra@gmail.com>
43907         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
43908         (rTMP): Define as r11.
43909         (strcmp): Add little-endian support.  Optimise tail.
43910         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
43911         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
43912         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
43913         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43914         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
43915         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43916         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43918 2013-10-04  Alan Modra  <amodra@gmail.com>
43920         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
43921         little-endian support.  Remove unnecessary "are we done" tests.
43922         Handle "s" wrapping around zero and extremely large "size".
43923         Correct main loop count.  Handle single left-over word from main
43924         loop inline rather than by using small_loop.  Correct comments.
43925         Delete "zero" tail, use "end_max" instead.
43926         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
43928 2013-10-04  Alan Modra  <amodra@gmail.com>
43930         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
43931         support.  Don't branch over align.
43932         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
43933         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
43934         support.  Rearrange tmp reg use to suit.  Comment.
43935         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
43937 2013-10-04  Alan Modra  <amodra@gmail.com>
43939         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
43941 2013-10-04  Alan Modra  <amodra@gmail.com>
43943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
43944         conditional form of branch and link when obtaining pc.
43945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
43947 2013-10-04  Alan Modra  <amodra@gmail.com>
43949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
43950         HIWORD/LOWORD.
43951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
43952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
43954 2013-10-04  Alan Modra  <amodra@gmail.com>
43956         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
43957         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
43958         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43959         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
43960         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43961         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43962         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
43963         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43964         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43965         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
43967 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43968             Alistair Popple <alistair@ozlabs.au.ibm.com>
43969             Alan Modra <amodra@gmail.com>
43971         [BZ #15723]
43972         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
43973         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
43974         _dl_hwcap access for little-endian.
43975         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
43976         destroy vmx regs when saving unaligned.
43977         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
43978         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
43979         destroy vmx regs when saving unaligned.
43981 2013-10-04  Alan Modra  <amodra@gmail.com>
43983         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
43984         Don't use a union to pack hi/low value.
43986 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43988         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
43989         for little-endian.
43990         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
43991         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
43992         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
43993         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
43994         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
43996 2013-10-04  Alan Modra  <amodra@gmail.com>
43998         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
43999         constants to usual value for .cst8 section, and remove redundant
44000         high address load.
44001         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
44002         constant for 0x1p52.  Load little-endian words of double from
44003         correct stack offsets.
44005 2013-10-04  Alan Modra  <amodra@gmail.com>
44007         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
44008         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
44009         words of double from correct stack offsets.
44010         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
44011         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
44012         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
44013         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
44014         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
44015         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
44016         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
44017         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
44018         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
44019         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
44020         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
44021         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
44022         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44023         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44024         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44025         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
44026         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
44028 2013-10-04  Alan Modra  <amodra@gmail.com>
44030         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
44031         64-bit int/double union.
44032         (_FPU_SETCW): Likewise.
44033         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
44034         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
44036 2013-10-04  Alan Modra  <amodra@gmail.com>
44038         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
44039         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
44041 2013-10-04  Alan Modra  <amodra@gmail.com>
44043         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
44044         use vector int constants.
44045         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
44047 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44049         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
44050         array with long long.
44051         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
44052         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
44053         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
44054         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
44055         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
44056         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
44057         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
44058         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
44059         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
44060         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
44061         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
44062         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
44063         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
44065 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44067         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
44068         (__signbit): Likewise.  Correct for little-endian.
44069         (__signbitl): Call __signbit.
44070         (lrint): Correct for little-endian.
44071         (lrintf): Call lrint.
44073 2013-10-04  Alan Modra  <amodra@gmail.com>
44075         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
44076         union 32-bit int array member with 64-bit int array.
44077         (t515, tm256): Double rather than long double.
44078         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
44080 2013-10-04  Alan Modra  <amodra@gmail.com>
44082         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
44083         Delete.
44084         (IEEE854_LONG_DOUBLE_BIAS): Delete.
44085         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
44086         version of math_ldbl.h.
44088 2013-10-04  Alan Modra  <amodra@gmail.com>
44090         [BZ #15734], [BZ #15735]
44091         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
44092         all uses of ieee875 long double macros and unions.  Simplify test
44093         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
44094         ldbl_extract_mantissa value for ix,iy exponents.  Properly
44095         normalize after ldbl_extract_mantissa, and don't add hidden bit
44096         already handled.  Don't treat low word of ieee854 mantissa like
44097         low word of IBM long double and mask off bit when testing for
44098         zero.
44099         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
44100         all uses of ieee875 long double macros and unions.  Simplify tests
44101         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
44102         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
44103         two1022, instead use their values.  Recognise that tests for large
44104         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
44105         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
44106         Rewrite all uses of ieee875 long double macros and unions.  Simplify
44107         test for 0.0L and nan.  Correct negation.
44108         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
44109         ieee875 long double macros and unions.  Correct output for large
44110         magnitude x.  Correct absolute value calculation.
44111         (__erfcl): Likewise.
44112         * math/libm-test.inc: Add tests for errors discovered in IBM long
44113         double versions of fmodl, remainderl, erfl and erfcl.
44115 2013-10-04  Alan Modra  <amodra@gmail.com>
44117         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
44118         all uses of ieee854 long double macros and unions.  Simplify tests
44119         for long doubles that are fully specified by the high double.
44120         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
44121         Likewise.
44122         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
44123         Remove dead code too.
44124         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
44125         (__ieee754_ynl): Likewise.
44126         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
44127         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
44128         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
44129         Remove dead code too.
44130         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
44131         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
44132         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
44133         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
44134         Simplify.
44135         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
44136         Simplify.
44137         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
44138         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
44139         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
44140         Comment on variable precision.
44141         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
44142         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44143         Likewise.
44144         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
44145         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44146         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44147         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
44148         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
44150 2013-10-04  Alan Modra  <amodra@gmail.com>
44152         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
44153         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
44154         all uses of ieee854 long double macros and unions.
44155         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
44156         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44157         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
44158         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
44159         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
44160         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
44161         Likewise.
44162         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
44163         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44164         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
44165         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44166         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
44167         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
44168         Simplify sign and nan test too.
44169         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
44170         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
44171         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
44172         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
44173         Likewise.
44174         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
44175         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
44176         Likewise.
44177         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44178         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
44179         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
44180         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
44181         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
44182         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
44184 2013-10-04  Alan Modra  <amodra@gmail.com>
44186         * stdio-common/printf_size.c (__printf_size): Don't use
44187         union ieee854_long_double in fpnum union.
44188         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
44189         signbit macro to retrieve sign from long double.
44190         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
44191         retrieve sign from long double.
44192         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
44193         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
44194         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
44195         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44196         * math/test-misc.c (main): Don't use union ieee854_long_double.
44198 2013-10-04  Alan Modra  <amodra@gmail.com>
44200         [BZ #15680]
44201         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
44202         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
44203         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
44204         calculation.  Remove unnecessary test for denormal exponent.
44205         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
44206         Correct handling of denormals.  Avoid undefined shift behaviour.
44207         Correct normalisation of low mantissa when low double is denormal.
44208         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
44209         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
44210         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
44211         Correct normalisation of low mantissa.  Test for overflow of high
44212         mantissa and normalise.
44213         (ldbl_nearbyint): Use more readable constant for two52.
44214         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
44215         (__mpn_construct_long_double): Fix test for overflow of high
44216         mantissa and correct normalisation.  Avoid undefined shift.
44218 2013-10-04  Alan Modra  <amodra@gmail.com>
44220         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
44221         (union ibm_extended_long_double): Define as an array of ieee754_double.
44222         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
44223         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
44224         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
44225         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44226         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44227         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
44228         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44229         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
44230         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44231         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
44232         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44234 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
44236         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
44237         page size instead of calling getpagesize.
44239         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
44240         (LOCFILE_ALIGN_MASK): Likewise.
44241         (LOCFILE_ALIGN_UP): Likewise.
44242         (LOCFILE_ALIGNED_P): Likewise.
44243         * locale/programs/ld-collate.c (collate_output): Use the new
44244         macros instead of __alignof__ (int32_t).
44245         * locale/weight.h (findidx): Likewise.
44247 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
44249         [BZ #431]
44250         * manual/string.texi: Fix strncat and wcsncat.
44252 2013-10-03  Brooks Moses  <bmoses@google.com>
44254         [BZ #15915]
44255         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
44256         * Makerules: ...here, and adjust associated comments.
44258 2013-10-02  Will Newton  <will.newton@linaro.org>
44260         * malloc/Makefile: Add tst-pvalloc.
44261         * malloc/tst-pvalloc.c: New file.
44263 2013-10-02  Will Newton  <will.newton@linaro.org>
44265         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
44266         improve test coverage.
44268 2013-10-02  Will Newton  <will.newton@linaro.org>
44270         * malloc/Makefile: Add tst-posix_memalign.
44271         * malloc/tst-posix_memalign.c: New file.
44273 2013-10-01  Eric Blake  <eblake@redhat.com>
44275         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
44276         Use __THROWNL rather than __THROW on static functions.
44278 2013-09-30  Petr Machata  <pmachata@redhat.com>
44280         * elf/elf.h (R_AARCH64_ABS16): New macro.
44281         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
44282         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
44283         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
44284         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
44285         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
44286         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
44287         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
44288         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
44289         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
44290         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
44291         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
44292         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
44293         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
44294         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
44295         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
44296         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
44297         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
44298         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
44299         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
44300         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
44301         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
44302         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
44303         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
44304         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
44305         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
44306         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
44307         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
44308         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
44309         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
44310         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
44311         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
44312         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
44313         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
44314         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
44315         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
44316         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
44317         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
44318         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
44319         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
44320         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
44321         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
44322         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
44323         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
44324         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
44325         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
44326         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
44327         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
44328         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
44329         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
44330         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
44331         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
44332         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
44333         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
44334         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
44335         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
44336         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
44337         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
44338         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
44339         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
44340         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
44341         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
44342         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
44343         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
44344         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
44345         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
44346         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
44347         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
44348         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
44349         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
44350         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
44351         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
44352         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
44353         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
44354         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
44355         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
44356         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
44357         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
44358         (R_AARCH64_TLSDESC_LDR): Likewise.
44359         (R_AARCH64_TLSDESC_ADD): Likewise.
44360         (R_AARCH64_TLSDESC_CALL): Likewise.
44362 2013-09-30  Andreas Schwab  <schwab@suse.de>
44364         [BZ #15048]
44365         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
44366         the nss database lookup.
44367         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44368         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44370 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
44372         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
44374 2013-09-28  P. J. McDermott  <pj@pehjota.net>
44376         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
44377         ${Bash-specific parameter/pattern/string} parameter expansion.
44378         * sysdeps/unix/make-syscalls.sh: Likewise.
44380 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44382         * sysdeps/sh/stackguard-macros.h: New file.
44384 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
44386         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
44387         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
44388         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
44389         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
44390         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44391         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
44393 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44395         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
44396         Fix thread ID register.
44398 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
44400         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
44401         [POSIX || UNIX98]: Require rather than permitting all symbols from
44402         <time.h>.
44403         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
44404         element of struct sched_param.
44405         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
44406         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
44407         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
44408         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
44409         constant.
44411 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
44413         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
44414         argument calculation.
44416 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
44418         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
44419         Expect macro.
44420         [POSIX] (pthread_attr_t): Do not require type.
44421         [POSIX] (pthread_cond_t): Likewise.
44422         [POSIX] (pthread_condattr_t): Likewise.
44423         [POSIX] (pthread_key_t): Likewise.
44424         [POSIX] (pthread_mutex_t): Likewise.
44425         [POSIX] (pthread_mutexattr_t): Likewise.
44426         [POSIX] (pthread_once_t): Likewise.
44427         [POSIX] (pthread_t): Likewise.
44428         [POSIX-based standards] (pthread_atfork): Expect function.
44430 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
44431             Richard Sandiford  <richard@codesourcery.com>
44433         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
44434         (swap_endianness_p): New extern variable.
44435         (set_big_endian): New inline function.
44436         (maybe_swap_uint32): Likewise.
44437         (maybe_swap_uint32_array): Likewise.
44438         (maybe_swap_uint32_obstack): Likewise.
44439         * locale/programs/locfile.c: Include <stdbool.h>.
44440         (swap_endianness_p): New variable.
44441         (add_locale_uint32): Call maybe_swap_uint32.
44442         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
44443         (write_locale_data): Call maybe_swap_uint32_array.
44444         * locale/programs/ld-collate.c (obstack_int32_grow): Call
44445         maybe_swap_uint32.
44446         (obstack_int32_grow_fast): Likewise.
44447         (output_weightwc): Call maybe_swap_uint32_obstack.
44448         (collate_output): Likewise.
44449         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
44450         (OPT_LITTLE_ENDIAN): Likewise.
44451         (options): Add --little-endian and --big-endian options.
44452         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
44453         * locale/programs/locarchive.c: Include "locfile.h".
44454         (GET): New macro.
44455         (SET): Likewise.
44456         (INC): Likewise.
44457         (create_archive): Use the new macros to access fields of
44458         structures directly mapped from or written to locale archives.
44459         (oldlocrecentcmp): Likewise.
44460         (enlarge_archive): Likewise.
44461         (insert_name): Likewise.
44462         (add_alias): Likewise.
44463         (add_locale): Likewise.
44464         (delete_locales_from_archive): Likewise.
44465         (show_archive_content): Likewise.
44466         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
44467         locale data.
44469 2013-09-24  Roland McGrath  <roland@hack.frob.com>
44471         * manual/freemanuals.texi: Updated from (newly) canonical copy at
44472         http://www.gnu.org/doc/freemanuals.texi.
44473         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
44475 2013-09-24  Will Newton  <will.newton@linaro.org>
44477         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
44478         macro.
44480 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
44482         * locale/hashval.h (compute_hashval): Interpret bytes of key as
44483         unsigned char.
44485 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
44487         * manual/threads.texi (POSIX Threads): Fix a typo.
44489 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44491         [BZ #14547]
44492         * string/tst-strcoll-overflow.c: New test case.
44493         * string/Makefile (xtests): Add tst-strcoll-overflow.
44494         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
44495         cache if string sizes may cause integer overflow.
44497         [BZ #14547]
44498         * string/strcoll_l.c (coll_seq): New members rule, idx,
44499         save_idx and back_us.
44500         (get_next_seq_nocache): New function.
44501         (do_compare_nocache): New function.
44502         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
44503         when malloc fails.
44505 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
44507         [BZ #15754]
44508         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
44509         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
44510         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
44512         [BZ #15754]
44513         * elf/Makefile (tests): Add tst-ptrguard1.
44514         (tests-static): Add tst-ptrguard1-static.
44515         (tst-ptrguard1-ARGS): Define.
44516         (tst-ptrguard1-static-ARGS): Define.
44517         * elf/tst-ptrguard1.c: New file.
44518         * elf/tst-ptrguard1-static.c: New file.
44519         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
44520         * sysdeps/i386/stackguard-macros.h: Likewise.
44521         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44522         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44523         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44524         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44525         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44526         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44528 2013-09-23  Hector Marco  <hecmargi@upv.es>
44529             Ismael Ripoll  <iripoll@disca.upv.es>
44530             Carlos O'Donell  <carlos@redhat.com>
44532         [BZ #15754]
44533         * sysdeps/generic/stackguard-macros.h: Define
44534         __pointer_chk_guard_local and POINTER_CHK_GUARD.
44535         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
44536         Define __pointer_chk_guard_local.
44537         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
44538         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
44540 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
44542         [BZ #15859]
44543         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
44545 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
44547         * include/string.h (__ffs): Declare as hidden.
44548         * string/ffs.c (__ffs): Define as hidden.
44549         * sysdeps/i386/ffs.c (__ffs): Likewise.
44550         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
44551         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
44552         * sysdeps/s390/ffs.c (__ffs): Likewise.
44553         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
44555 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
44557         * NEWS: Mention malloc probes.
44559         * malloc/arena.c (new_heap): New memory_heap_new probe.
44560         (grow_heap): New memory_heap_more probe.
44561         (shrink_heap): New memory_heap_less probe.
44562         (heap_trim): New memory_heap_free probe.
44563         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
44564         (systrim): New memory_sbrk_less probe.
44565         * manual/probes.texi: Document them.
44567         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
44568         * manual/probes.texi: Document it.
44570         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
44571         (__libc_realloc): Add memory_realloc_retry probe.
44572         (__libc_memalign): Add memory_memalign_retry probe.
44573         (__libc_valloc): Add memory_valloc_retry probe.
44574         (__libc_pvalloc): Add memory_pvalloc_retry probe.
44575         (__libc_calloc): Add memory_calloc_retry probe.
44576         * manual/probes.texi: Document them.
44578         * malloc/arena.c (get_free_list): Add probe
44579         memory_arena_reuse_free_list.
44580         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
44581         and memory_arena_reuse.
44582         (arena_get2) [!PER_THREAD]: Likewise.
44583         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
44584         memory_arena_reuse_realloc.
44585         * manual/probes.texi: Document them.
44587         * malloc/malloc.c (__libc_free): Add
44588         memory_mallopt_free_dyn_thresholds probe.
44589         (__libc_mallopt): Add multiple memory_mallopt probes.
44590         * manual/probes.texi: Document them.
44592         * malloc/malloc.c: Include stap-probe.h.
44593         (__libc_mallopt): Add memory_mallopt probe.
44594         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
44595         * manual/probes.texi: New.
44596         * manual/Makefile (chapters): Add probes.
44597         * manual/threads.texi: Set next node.
44599 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
44601         [BZ #15963, #13985]
44602         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
44603         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
44604         Add `Chinese' to `nan' entry name.
44606 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44608         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
44609         (POLYNOMIAL): Likewise.
44610         (TAYLOR_SINCOS): Likewise.
44611         (TAYLOR_SLOW): Likewise.
44612         (__sin): Use TAYLOR_SINCOS.
44613         (__cos): Likewise.
44614         (slow): Use TAYLOR_SLOW.
44615         (sloww): Likewise.
44616         (bsloww): Likewise.
44617         (csloww): Likewise.
44619 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44621         * stdlib/strtod_l.c: Fix buffer overrun.
44623 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44625         * benchtests/Makefile (bench): Add sincos.
44626         * benchtests/bench-sincos.c: New file.
44628         * math/libm-test.inc (cos_test_data): New test inputs.
44629         (sin_test_data): Likewise.
44631         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
44632         macro.
44633         (__sin): Use it.
44634         (__cos): Likewise.
44635         (slow1): Likewise.
44636         (slow2): Likewise.
44637         (sloww1): Likewise.
44638         (sloww2): Likewise.
44639         (bsloww1): Likewise.
44640         (bsloww2): Likewise.
44641         (cslow2): Likewise.
44642         (csloww1): Likewise.
44643         (csloww2): Likewise.
44645         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
44646         function.
44647         (__sin): Use it.
44648         (__cos): Likewise.
44650         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
44651         gotos.
44652         (__cos): Likewise.
44654 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
44656         * config.h.in (HAVE_MIPS_NAN2008): New macro.
44657         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
44658         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
44659         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
44660         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
44661         * elf/cache.c (print_entry): Handle the new cache flags.
44663 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
44664             Aldy Hernandez  <aldyh@redhat.com>
44666         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
44667         Change condition to [_SOFT_FLOAT].
44668         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
44669         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
44670         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
44671         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
44672         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
44673         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
44674         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
44675         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
44676         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
44677         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
44678         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
44679         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
44680         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
44681         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
44682         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
44683         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
44684         declaration.
44686 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
44688         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
44689         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44690         (__longjmp): Use LOAD_GP to load saved GPRs.
44691         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
44692         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44693         (__sigsetjmp): Use SAVE_GP to save GPRs.
44695         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
44696         Do not append -msoft-float.
44697         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
44699 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44701         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
44703 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
44705         [BZ #15966]
44706         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
44707         (_FPU_GETCW): Use initial "__" on variable and field names but not
44708         on macro parameter name.
44709         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
44710         parentheses around reference to macro parameter.
44712 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
44714         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
44715         prototype.
44716         (ctype_startup): Use uint32_t in cast and sizeof for
44717         ctype->charnames.
44719 2013-09-11  Jia Liu  <proljc@gmail.com>
44721         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
44722         __daddr_t_defined.
44723         [__FreeBSD__]: Likewise.
44725 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
44727         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
44728         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
44729         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
44730         (strchr): Remove __strchr_sse42 ifunc selection.
44731         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
44732         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
44734 2013-09-11  Will Newton  <will.newton@linaro.org>
44736         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
44737         parameter to RES. Remove hardcoded 1000 value.
44738         * benchtests/bench-skeleton.c (main): Pass RES parameter
44739         to TIMING_INIT and multiply result by 1000.
44741 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44743         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44745 2013-09-11  Andreas Schwab  <schwab@suse.de>
44747         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
44748         if not defined.
44749         (O_TMPFILE) [__USE_GNU]: Define.
44750         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
44751         Define.
44753 2013-09-11  Will Newton  <will.newton@linaro.org>
44755         [BZ #15857]
44756         * malloc/malloc.c (__libc_memalign): Check the value of bytes
44757         does not overflow.
44759 2013-09-11  Will Newton  <will.newton@linaro.org>
44761         [BZ #15856]
44762         * malloc/malloc.c (__libc_valloc): Check the value of bytes
44763         does not overflow.
44765 2013-09-11  Will Newton  <will.newton@linaro.org>
44767         [BZ #15855]
44768         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
44769         does not overflow.
44771 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
44773         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
44774         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44775         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44776         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44777         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44779 2013-09-10  Allan McRae  <allan@archlinux.org>
44781         [BZ #15748]
44782         * manual/arith.texi (Parsing of Floats): Clarify
44783         cross-reference.
44785         [BZ #15849]
44786         * manual/install.texi (Running make install): Mention
44787         --enable-pt-chown.
44788         * INSTALL: Regenerated.
44790 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
44792         * csu/init-first.c (_init): Remove the !SHARED condition around
44793         FPU control word initialization.
44794         * elf/dl-support.c (_dl_fpu_control): New variable.
44795         (_dl_aux_init) <AT_FPUCW>: Initialize it.
44796         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
44797         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
44798         * math/test-fpucw-static.c: New file.
44799         * math/test-fpucw-ieee.c: New file.
44800         * math/test-fpucw-ieee-static.c: New file.
44801         * math/Makefile (tests): Add `test-fpucw-ieee' and
44802         `$(tests-static)'.
44803         (tests-static): New variable.
44804         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
44805         dependency to...
44806         [($(build-shared),yes)]
44807         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
44808         ... this.
44809         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
44810         New dependency.
44812 2013-09-09  Allan McRae  <allan@archlinux.org>
44814         [BZ #15939]
44815         * manual/string.texi (Collation Functions): Fix typo in
44816         strcoll example.
44817         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
44819         [BZ #15893]
44820         * stdlib/isomac.c (get_null_defines): Fix memory leak.
44822         [BZ #15892]
44823         * libio/memstream.c (open_memstream): Fix memory leak.
44824         * libio/wmemstream.c (open_wmemstream): Likewise.
44826         [BZ #15895]
44827         * nscd/netgroupcache.c: Fix nesting of ifdefs.
44829 2013-09-09  Will Newton  <will.newton@linaro.org>
44831         * malloc/Makefile: Add tst-realloc to tests.
44832         * malloc/tst-realloc.c: New file.
44834 2013-09-09  Allan McRae  <allan@archlinux.org>
44836         [BZ #15844]
44837         * COPYING: Update from GNU website to fix FSF address.
44838         * COPYING.LIB: Likewise.
44840 2013-09-06  David S. Miller  <davem@davemloft.net>
44842         * po/zh_TW.po: Update Chinese (traditional) translation from
44843         translation project.
44845 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
44846             Joseph Myers  <joseph@codesourcery.com>
44848         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
44849         "localeinfo.h".
44850         (obstack_chunk_alloc): New macro.
44851         (obstack_chunk_free): Likewise.
44852         (record_offset): New function.
44853         (init_locale_data): Likewise.
44854         (align_locale_data): Likewise.
44855         (add_locale_empty): Likewise.
44856         (add_locale_raw_data): Likewise.
44857         (add_locale_raw_obstack): Likewise.
44858         (add_locale_string): Likewise.
44859         (add_locale_wstring): Likewise.
44860         (add_locale_uint32): Likewise.
44861         (add_locale_uint32_array): Likewise.
44862         (add_locale_char): Likewise.
44863         (start_locale_structure): Likewise.
44864         (end_locale_structure): Likewise.
44865         (start_locale_prelude): Likewise.
44866         (end_locale_prelude): Likewise.
44867         (write_locale_data): Take locale_file structure rather than an
44868         iovec.
44869         * locale/programs/locfile.h: Include "obstack.h".
44870         (struct locale_file): Change to store locale file contents instead
44871         of header.
44872         (init_locale_data): New prototype.
44873         (align_locale_data): Likewise.
44874         (add_locale_empty): Likewise.
44875         (add_locale_raw_data): Likewise.
44876         (add_locale_raw_obstack): Likewise.
44877         (add_locale_string): Likewise.
44878         (add_locale_wstring): Likewise.
44879         (add_locale_uint32): Likewise.
44880         (add_locale_uint32_array): Likewise.
44881         (add_locale_char): Likewise.
44882         (start_locale_structure): Likewise.
44883         (end_locale_structure): Likewise.
44884         (start_locale_prelude): Likewise.
44885         (end_locale_prelude): Likewise.
44886         (write_locale_data): Update prototype.
44887         * locale/programs/3level.h (struct TABLE): Remove result field.
44888         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
44889         Use new locale_file interface.
44890         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
44891         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
44892         * locale/programs/ld-address.c (address_output): Use new
44893         locale_file interface.
44894         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
44895         NO_ADD_LOCALE.
44896         (collate_finish): Don't call collseq_table_finalize.
44897         (collate_output): Use new locale_file interface.
44898         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
44899         in file.
44900         (NO_FINALIZE): Change to NO_ADD_LOCALE.
44901         (TABLE): Move defines earlier in file.
44902         (ELEMENT): Likewise.
44903         (DEFAULT): Likewise.
44904         (wctrans_table_add): Move macro and inline function earlier in
44905         file.
44906         (struct wctype_table): Move type earlier in file.
44907         (add_locale_wctype_table): New static prototype.
44908         (struct locale_ctype_t): Use logical types instead of struct iovec
44909         pointers for members.
44910         (ctype_output): Use new locale_file interface.
44911         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
44912         new locale_file interface.
44913         (allocate_arrays): Update for use of new locale_file interface.
44914         * locale/programs/ld-identification.c (identification_output): Use
44915         new locale_file interface.
44916         * locale/programs/ld-measurement.c (measurement_output): Likewise.
44917         * locale/programs/ld-messages.c (messages_output): Likewise.
44918         * locale/programs/ld-monetary.c (monetary_output): Likewise.
44919         * locale/programs/ld-name.c (name_output): Likewise.
44920         * locale/programs/ld-numeric.c (numeric_output): Likewise.
44921         * locale/programs/ld-paper.c (paper_output): Likewise.
44922         * locale/programs/ld-telephone.c (telephone_output): Likewise.
44923         * locale/programs/ld-time.c (time_output): Likewise.
44925 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44927         * benchtests/Makefile: Add memrchr benchmark.
44928         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
44929         benchmark as memrchr.
44930         * benchtests/bench-memrchr-ifunc.c: New file.
44931         * benchtests/bench-memrchr.c: New file.
44933 2013-09-06   Will Newton  <will.newton@linaro.org>
44935         * benchtests/Makefile (string-bench): Add memcpy.
44937 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
44938             Cong Wang  <amwang@redhat.com>
44940         [BZ #15850]
44941         * sysdeps/unix/sysv/linux/bits/in.h
44942         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
44943         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
44944         before __USE_KERNEL_IPV6_DEFS uses.
44945         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
44946         IPPROTO_BEETPH.
44947         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
44948         sockaddr_in6, or ipv6_mreq.
44950 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44952         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
44953         memory access for final bytes in some large inputs.
44954         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
44956 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44958         * string/test-memrchr.c: New file.
44959         * string/test-memrchr-ifunc.c: New file.
44960         * string/Makefile: Add new memrchr testcase.
44962 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
44964         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
44965         fanotify_init returns EPERM.
44967 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
44969         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
44970         errors.
44971         (top level): Treat second token from macro or constant entries for
44972         allowed headers as allowed.
44973         * include/complex.h: Condition internal declarations on
44974         [!_ISOMAC].
44975         * include/fenv.h: Condition include of <stdbool.h> and internal
44976         declarations on [!_ISOMAC].
44978 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
44980         [BZ #15923]
44981         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
44983 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
44985         * configure.in (--enable-versioning): Remove configure option.
44986         (libc_cv_asm_symver_directive): Remove configure test.
44987         (libc_cv_ld_version_script_option): Likewise.
44988         (VERSIONING): Remove variable and AC_SUBST.
44989         (DO_VERSIONING): Remove AC_DEFINE.
44990         * configure: Regenerated.
44991         * config.h.in (DO_VERSIONING): Remove macro.
44992         * Makerules [$(versioning) = yes]: Change conditionals to
44993         [$(build-shared) = yes].
44994         * config.make.in (versioning): Remove variable.
44995         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
44996         [$(build-shared) = yes].
44997         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
44998         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
44999         * elf/Makefile [$(versioning) = yes]: Change conditionals to
45000         [$(build-shared) = yes].
45001         * extra-lib.mk [$(versioning) = yes]: Likewise.
45002         * hurd/Makefile [$(versioning) = yes]: Likewise.
45003         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
45004         [SHARED].
45005         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
45006         [SHARED].
45007         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45008         [SHARED && !NO_HIDDEN].
45009         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
45010         [SHARED].
45011         [SHARED && DO_VERSIONING]: Likewise..
45012         * libio/Makefile [$(versioning) = yes]: Change conditionals to
45013         [$(build-shared) = yes].
45014         * manual/install.texi (--disable-versioning): Remove
45015         documentation.
45016         * INSTALL: Regenerated.
45017         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
45018         to [SHARED].
45019         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
45020         [$(build-shared) = yes].
45021         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
45022         * sysdeps/i386/i686/multiarch/strstr-c.c
45023         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45024         [SHARED && !NO_HIDDEN].
45025         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
45026         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
45027         * sysdeps/powerpc/powerpc32/dl-machine.c
45028         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
45029         * sysdeps/powerpc/powerpc32/sysdep.h
45030         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
45031         to [SHARED && PIC && !NO_HIDDEN].
45032         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
45033         conditional to [SHARED].
45035 2013-09-04   Will Newton  <will.newton@linaro.org>
45037         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
45038         * benchtests/bench-string.h: Include bench-timing.h instead
45039         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
45040         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
45041         call to HP_TIMING_DIFF_INIT.
45042         * benchtests/bench-memccpy.c: Use bench-timing.h macros
45043         instead of hp-timing.h macros.
45044         * benchtests/bench-memchr.c: Likewise.
45045         * benchtests/bench-memcmp.c: Likewise.
45046         * benchtests/bench-memcpy.c: Likewise.
45047         * benchtests/bench-memmem.c: Likewise.
45048         * benchtests/bench-memmove.c: Likewise.
45049         * benchtests/bench-memset.c: Likewise.
45050         * benchtests/bench-rawmemchr.c: Likewise.
45051         * benchtests/bench-strcasecmp.c: Likewise.
45052         * benchtests/bench-strcasestr.c: Likewise.
45053         * benchtests/bench-strcat.c: Likewise.
45054         * benchtests/bench-strchr.c: Likewise.
45055         * benchtests/bench-strcmp.c: Likewise.
45056         * benchtests/bench-strcpy.c: Likewise.
45057         * benchtests/bench-strcpy_chk.c: Likewise.
45058         * benchtests/bench-strlen.c: Likewise.
45059         * benchtests/bench-strncasecmp.c: Likewise.
45060         * benchtests/bench-strncat.c: Likewise.
45061         * benchtests/bench-strncmp.c: Likewise.
45062         * benchtests/bench-strncpy.c: Likewise.
45063         * benchtests/bench-strnlen.c: Likewise.
45064         * benchtests/bench-strpbrk.c: Likewise.
45065         * benchtests/bench-strrchr.c: Likewise.
45066         * benchtests/bench-strspn.c: Likewise.
45067         * benchtests/bench-strstr.c: Likewise.
45069 2013-09-04  Will Newton  <will.newton@linaro.org>
45071         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
45073 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
45075         [BZ #15427]
45076         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
45077         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
45078         * math/libm-test.inc (lgamma_test_data): Add more tests.
45079         * sysdeps/i386/fpu/libm-test-ulps: Update.
45080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45082 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
45084         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
45085         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45086         Add ifunc.
45087         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45088         Add strcmp-sse2-unaligned
45089         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
45091 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
45093         * Versions.def (libc): Add GLIBC_2.19.
45095 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
45097         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
45098         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
45100 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
45102         [BZ #14155]
45103         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
45104         intermediate calculations in recurrence.
45105         (__ieee754_ynf): Likewise.
45106         * math/libm-test.inc (jn_test_data): Do not allow spurious
45107         underflow exception.  Add more tests.
45108         (yn_test_data): Add more tests.
45109         * sysdeps/i386/fpu/libm-test-ulps: Update.
45110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45112 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
45114         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
45116 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
45118         * csu/init-first.c: Fix then/than typos.
45119         * locale/programs/ld-collate.c: Likewise.
45120         * locale/programs/linereader.h: Likewise.
45121         * manual/charset.texi: Likewise.
45122         * manual/filesys.texi: Likewise.
45123         * manual/stdio.texi: Likewise.
45124         * manual/string.texi: Likewise.
45125         * stdlib/fmtmsg.c: Likewise.
45126         * sysdeps/i386/stpncpy.S: Likewise.
45127         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45128         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
45129         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45130         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45132 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
45134         * elf/dl-open.c: Fix typos.
45135         * iconvdata/gbbig5.c: Likewise.
45136         * iconvdata/iso-2022-jp.c: Likewise.
45137         * iconv/gconv_int.h: Likewise.
45138         * iconv/loop.c: Likewise.
45139         * nis/rpcsvc/nis.h: Likewise.
45140         * resolv/ns_name.c: Likewise.
45141         * stdio-common/vfscanf.c: Likewise.
45142         * streams/stropts.h: Likewise.
45143         * sunrpc/rpc_thread.c: Likewise.
45144         * sysdeps/i386/strpbrk.S: Likewise.
45145         * sysdeps/ieee754/k_standard.c: Likewise.
45146         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45147         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45148         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
45149         * sysdeps/mach/hurd/profil.c: Likewise.
45150         * sysdeps/s390/dl-procinfo.h: Likewise.
45151         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
45152         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45153         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
45154         * sysdeps/x86_64/dl-trampoline.S: Likewise.
45155         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45157 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
45159         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
45160         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
45162 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
45164         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
45165         aix specific files.
45166         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
45167         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
45168         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
45169         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
45170         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
45171         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
45172         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
45173         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
45175 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
45176             Roland McGrath  <roland@hack.frob.com>
45178         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
45179         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
45181 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45183         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
45184         __executable_start symbol instead of _start.
45186 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
45188         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
45189         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
45190         Move macros to...
45191         * sysdeps/gnu/ldsodefs.h: ... this new file.
45193         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
45194         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
45195         instead of ELFOSABI_LINUX.
45197         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
45198         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
45199         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
45200         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
45201         Likewise.
45202         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
45203         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
45204         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
45205         Likewise.
45206         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
45207         (ibm_extended_long_double): Add ieee_nan member.
45208         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
45209         (do_test): New function.
45211         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
45212         TEST_TRUNC.
45213         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
45214         functions, renamed from truncdfsf_test, trunctfsf_test,
45215         trunctfdf_test.
45216         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
45217         functions.
45218         (do_test): Run all these.
45220 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
45222         * argp/argp-help.c: Fix typos.
45223         * argp/argp-parse.c: Likewise.
45224         * debug/backtracesyms.c: Likewise.
45225         * elf/elf.h: Likewise.
45226         * malloc/malloc.c: Likewise.
45227         * nis/nis_print.c: Likewise.
45228         * resolv/res_comp.c: Likewise.
45229         * stdlib/stdlib.h: Likewise.
45230         * sunrpc/clnt_tcp.c: Likewise.
45231         * sunrpc/clnt_udp.c: Likewise.
45232         * sunrpc/clnt_unix.c: Likewise.
45233         * sysdeps/unix/bsd/ptsname.c: Likewise.
45234         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
45235         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
45236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
45237         Likewise.
45238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
45239         Likewise.
45240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
45241         Likewise.
45242         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45244 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45246         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
45247         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45249 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
45251         [BZ #15897]
45252         * dlfcn/Makefile (tests): Add bug-dl-leaf.
45253         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
45254         ($(objpfx)bug-dl-leaf): New rule.
45255         ($(objpfx)bug-dl-leaf.so): Likewise.
45256         ($(objpfx)bug-dl-leaf.out): Likewise.
45257         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
45258         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
45259         * dlfcn/bug-dl-leaf.c: New test.
45260         * dlfcn/bug-dl-leaf-lib.c: Likewise.
45261         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
45262         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
45263         (dlclose): Likewise.
45264         (dlmopen): Likewise.
45266 2013-08-27  Roland McGrath  <roland@hack.frob.com>
45268         * include/netdb.h [!_ISOMAC]:
45269         Don't include <tls.h>.
45270         (h_errno, __libc_h_errno): Move declaration and macros out of
45271         [_LIBC_REENTRANT].
45273         * include/resolv.h [_RESOLV_H_]:
45274         Don't include <tls.h>.
45275         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
45276         * resolv/res_libc.c: Don't include <tls.h>.
45277         (_res): Use __attribute__ ((nocommon)) in place of
45278         __attribute__ ((section (".bss"))).
45280         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
45281         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
45283         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
45285         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
45286         only under [SIOCGIFCONF && SIOCGIFNETMASK].
45288         * resolv/res_mkquery.c: Include <sys/time.h>.
45290         * inet/ifreq.c: Moved to ...
45291         * sysdeps/unix/ifreq.c: ... here.
45292         * inet/ifreq.c: New file, true stub version.
45294         * socket/sa_len.c: New file.
45295         * socket/Makefile (aux): Add it.
45296         * sysdeps/unix/sysv/linux/Makefile
45297         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
45298         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
45299         and #include <socket/sa_len.c>.
45300         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
45301         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
45303         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
45304         * bits/socket.h: ... here.
45306         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
45307         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
45308         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
45310 2013-08-27  Andreas Schwab  <schwab@suse.de>
45312         [BZ #15736]
45313         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
45314         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
45315         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
45316         * string/test-strcasecmp.c (test_main): Run tests in several
45317         locales.
45318         * string/test-strncasecmp.c (test_main): Likewise.
45320         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
45321         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
45322         to __strcasecmp_nonascii and __strncasecmp_nonascii.
45323         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
45324         (__strncasecmp_ssse3) [PIC]: Likewise.
45326 2013-08-26  Roland McGrath  <roland@hack.frob.com>
45328         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
45330         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
45331         instead of explicitly declaring xdecrypt.
45332         * nis/nss_nis/nis-publickey.c: Likewise.
45334 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45336         [BZ #15890]
45337         * nscd/aicache.c: Include res_hconf.h.
45338         (addhstaiX): Initialize res_hconf.
45340 2013-08-26  Andreas Schwab  <schwab@suse.de>
45342         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
45343         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
45345 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45347         * nscd/aicache.c (addhstaiX): Fix indentation.
45349 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
45351         * configure.ac: Quote $build_pt_chown test.
45352         * configure: Regenerated.
45354 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
45356         [BZ #15532]
45357         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
45358         * math/s_cexpf.c (__cexpf): Likewise.
45359         * math/s_cexpl.c (__cexpl): Likewise.
45360         * math/libm-test.inc (cexp_test_data): Correct expected return
45361         value for NaN + i0.  Add another test.
45363 2013-08-22  David S. Miller  <davem@davemloft.net>
45365         * po/ca.po: Update Catalan translation from translation project.
45366         * po/uk.po: Add Ukrainian translations from translation project.
45368 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
45370         [BZ #15797]
45371         * math/s_fdim.c (__fdim): Check for infinite arguments if result
45372         is infinite, not alongside NaN test.
45373         * math/s_fdimf.c (__fdimf): Likewise.
45374         * math/s_fdiml.c (__fdiml): Likewise.
45375         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
45376         errno is unchanged.
45378 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
45380         * argp/argp-help.c: Fix typos.
45381         * crypt/speeds.c: Likewise.
45382         * csu/check_fds.c: Likewise.
45383         * elf/dl-load.c: Likewise.
45384         * elf/dl-open.c: Likewise.
45385         * elf/reldep3.c: Likewise.
45386         * elf/reldep.c: Likewise.
45387         * elf/sprof.c: Likewise.
45388         * iconv/iconv_charmap.c: Likewise.
45389         * iconv/skeleton.c: Likewise.
45390         * iconv/strtab.c: Likewise.
45391         * io/lockf64.c: Likewise.
45392         * libio/libioP.h: Likewise.
45393         * resolv/gai_notify.c: Likewise.
45394         * resolv/ns_name.c: Likewise.
45395         * resolv/ns_samedomain.c: Likewise.
45396         * resolv/res_send.c: Likewise.
45397         * stdlib/random.c: Likewise.
45398         * sunrpc/rpc/xdr.h: Likewise.
45399         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
45400         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45401         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45402         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45403         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45404         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45405         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45406         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45407         * sysdeps/mach/hurd/check_fds.c: Likewise.
45408         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
45409         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45410         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45411         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
45412         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45413         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
45414         * sysdeps/pthread/aio_notify.c: Likewise.
45415         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
45416         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
45417         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
45418         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45419         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45421 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45423         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
45424         version if bit_Slow_SSE4_2 is set.
45425         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45426         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45428 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45430         [BZ #15867]
45431         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
45432         trampoline stack frame information.
45433         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
45434         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
45435         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
45436         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
45437         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
45438         * sysdeps/unix/sysv/linux/powerpc/init-first.c
45439         (_libc_vdso_platform_setup): Initialize the signal trampolines.
45440         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
45441         sa_flags value.
45442         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
45443         interrupting a syscall and set with option SA_SIGINFO.
45445 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
45447         [BZ #15531]
45448         * math/s_cproj.c (__cproj): Only return an infinity if one part of
45449         argument is infinite.
45450         * math/s_cprojf.c (__cprojf): Likewise.
45451         * math/s_cprojl.c (__cprojl): Likewise.
45452         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
45453         * math/libm-test.inc (cproj_test_data): Add more tests.
45455         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
45457         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
45458         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
45459         size.  Use __ffs to determine corresponding shift.
45461 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
45462             Roland McGrath  <roland@hack.frob.com>
45464         * Makefile (INSTALL): Remove trailing blank lines from output of
45465         makeinfo.
45467 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45469         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
45470         Align 32 bit compat elf_greg to 8 bytes.
45472 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
45474         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
45476 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45478         * string/strcoll_l.c (coll_seq): New structure.
45479         (get_next_seq_cached): New function.
45480         (get_next_seq): New function.
45481         (do_compare): New function.
45482         (STRCOLL): Use GNU style definition.  Simplify implementation
45483         by using get_next_seq, get_next_seq_cached and do_compare.
45485 2013-08-16  Florian Weimer  <fweimer@redhat.com>
45487         [BZ #14699]
45488         CVE-2013-4237
45489         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
45490         member.
45491         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
45492         member.
45493         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
45494         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
45495         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
45496         conditional.
45497         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
45498         GETDENTS_64BIT_ALIGNED.
45499         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45500         * manual/filesys.texi (Reading/Closing Directory): Document
45501         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
45502         strongly.
45503         * manual/conf.texi (Limits for Files): Add portability note to
45504         NAME_MAX, PATH_MAX.
45505         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
45507 2013-08-13  Andreas Schwab  <schwab@suse.de>
45509         [BZ #15749]
45510         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
45511         of fabs.
45512         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
45513         LDBL_MAX_EXP >= 16384]: Add tests for it.
45515 2013-08-12  David S. Miller  <davem@davemloft.net>
45517         * version.h (RELEASE): Set to "development".
45518         (VERSION): Set to "2.18.90".
45519         * NEWS: Add 2.19 section.
45521 2013-08-03  David S. Miller  <davem@davemloft.net>
45523         * po/ko.po: Update Korean translation from translation project.
45525 2013-08-01  David S. Miller  <davem@davemloft.net>
45527         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
45528         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
45529         Bilka.
45531 2013-07-30  David S. Miller  <davem@davemloft.net>
45533         * po/fr.po: Update French translation from translation project.
45535 2013-07-28  David S. Miller  <davem@davemloft.net>
45537         * po/cs.po: Update Czech translation from translation project.
45539         * po/sv.po: Update Swedish translation from translation project.
45541 2013-07-27  David S. Miller  <davem@davemloft.net>
45543         * po/eo.po: Update Esperanto translation from translation project.
45545         * po/vi.po: Update Vietnamese translation from translation project.
45547         * po/de.po: Update German translation from translation project.
45549 2013-07-26  David S. Miller  <davem@davemloft.net>
45551         * po/bg.po: Update Bulgarian translation from translation project.
45553         * po/nl.po: Update Dutch translation from translation project.
45554         * po/pl.po: Update Polish translation from translation project.
45555         * po/ru.po: Update Russian translation from translation project.
45557 2013-07-24  David S. Miller  <davem@davemloft.net>
45559         * po/libc.pot: Update.
45561 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45563         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
45564         variable page size.
45565         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
45566         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
45567         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
45569 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45571         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
45573 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45574             Andreas Schwab  <schwab@suse.de>
45575             Roland McGrath  <roland@hack.frob.com>
45576             Joseph Myers  <joseph@codesourcery.com>
45577             Carlos O'Donell  <carlos@redhat.com>
45579         [BZ #15755]
45580         * config.h.in: Define HAVE_PT_CHOWN.
45581         * config.make.in (build-pt-chown): New variable.
45582         * configure.in (--enable-pt_chown): New configure option.
45583         * configure: Regenerate.
45584         * login/Makefile: Include Makeconfig.  Build pt_chown only if
45585         build-pt-chown is enabled.
45586         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
45587         pt_chown to fix pty ownership.
45588         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
45589         CLOSE_ALL_FDS.
45590         * manual/install.texi (Configuring and compiling): Mention
45591         --enable-pt_chown. Add @findex for grantpt.
45592         * INSTALL: Regenerate.
45594 2013-07-20  David S. Miller  <davem@davemloft.net>
45596         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
45597         difference between 32-bit and 64-bit.
45599 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
45601         [BZ #15711]
45602         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
45603         Avoid system header dependency with -ffreestanding.
45604         ($(objpfx)bits/syscall%d): Likewise.
45606 2013-07-13  David S. Miller  <davem@davemloft.net>
45608         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
45609         underflows from atanl/atan2l due to bug 15319.
45610         (casinh_test_data): Likewise.
45612 2013-07-07  David S. Miller  <davem@davemloft.net>
45614         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
45616 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
45618         * sysdeps/i386/fpu/libm-test-ulps: Update.
45619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45621 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45623         * configure.in (--enable-lock-elision): Fix message text.
45624         * INSTALL: Regenerate.
45625         * configure: Regenerate.
45627 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45629         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45631 2013-07-03  Andreas Jaeger  <aj@suse.de>
45633         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
45634         define.
45635         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
45636         (ptrace_peeksiginfo_args): Add.
45637         (__ptrace_peeksiginfo_flags): Add.
45638         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45639         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45640         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45642 2013-07-03  Allan McRae  <allan@archlinux.org>
45644         * sysdeps/i386/fpu/libm-test-ulps: Update.
45646 2013-07-02  David S. Miller  <davem@davemloft.net>
45648         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45650 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
45652         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45654 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
45656         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45659 2013-07-02  Andi Kleen <ak@linux.intel.com>
45661         * config.h.in (ENABLE_LOCK_ELISION): Add.
45662         * configure.in (--enable-lock-elision): Add option.
45663         * manual/install.texi: Document --enable lock elision.
45664         * configure: Regenerate
45665         * INSTALL: Regenerate.
45667 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
45669         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
45670         SSE4.2 strcasecmp for libc.a.
45671         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45673 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
45675         [BZ #13304]
45676         * soft-fp/op-common.h (_FP_FMA): New macro.
45677         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
45678         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
45679         (_FP_MUL_MEAT_1_imm): ... here.
45680         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
45681         (_FP_MUL_MEAT_1_wide): ... here.
45682         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
45683         (_FP_MUL_MEAT_1_hard): ... here.
45684         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
45685         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
45686         (_FP_MUL_MEAT_2_wide): ... here.
45687         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
45688         (_FP_MUL_MEAT_2_wide_3mul): ... here.
45689         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
45690         (_FP_MUL_MEAT_2_gmp): ... here.
45691         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
45692         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
45693         (_FP_MUL_MEAT_4_wide): ... here.
45694         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
45695         (_FP_MUL_MEAT_4_gmp): ... here.
45696         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
45697         (_FP_WFRACBITS_DW_S): Likewise.
45698         (_FP_WFRACXBITS_DW_S): Likewise.
45699         (_FP_HIGHBIT_DW_S): Likewise.
45700         (FP_FMA_S): Likewise.
45701         (_FP_FRAC_HIGH_DW_S): Likewise.
45702         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
45703         (_FP_WFRACBITS_DW_D): Likewise.
45704         (_FP_WFRACXBITS_DW_D): Likewise.
45705         (_FP_HIGHBIT_DW_D): Likewise.
45706         (FP_FMA_D): Likewise.
45707         (_FP_FRAC_HIGH_DW_D): Likewise.
45708         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
45709         (_FP_WFRACBITS_DW_E): Likewise.
45710         (_FP_WFRACXBITS_DW_E): Likewise.
45711         (_FP_HIGHBIT_DW_E): Likewise.
45712         (FP_FMA_E): Likewise.
45713         (_FP_FRAC_HIGH_DW_E): Likewise.
45714         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
45715         (_FP_WFRACBITS_DW_Q): Likewise.
45716         (_FP_WFRACXBITS_DW_Q): Likewise.
45717         (_FP_HIGHBIT_DW_Q): Likewise.
45718         (FP_FMA_Q): Likewise.
45719         (_FP_FRAC_HIGH_DW_Q): Likewise.
45720         * soft-fp/fmasf4.c: New file.
45721         * soft-fp/fmadf4.c: Likewise.
45722         * soft-fp/fmatf4.c: Likewise.
45724 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45726         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45727         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
45728         Silvermont.
45729         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
45730         macro.
45731         (index_Slow_SSE4_2): Likewise.
45732         (index_Prefer_PMINUB_for_stringop): Likewise.
45733         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
45734         bit_Slow_SSE4_2 is set.
45735         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45736         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45738 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45740         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
45741         rtld_global._dl_hwcap2.
45742         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
45743         POWER8.
45744         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
45745         POWER8 feature descriptions defined in _dl_hwcap2.
45746         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
45747         string handling for POWER8 feature bits.
45748         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
45749         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
45750         _dl_powerpc_cap_flags.
45751         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
45752         * sysdeps/powerpc/rtld-global-offsets.sym
45753         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
45754         _dl_hwcap2 in the rtld_global_ro structure.
45756 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45758         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
45759         hardware capabilities in support of AT_HWCAP2.
45760         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
45761         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
45762         GLRO(dl_hwcap2).
45763         (_dl_show_auxv): Add support for calling _dl_procinfo to display
45764         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
45765         explicitly the unknown a_type display mechanism is used.
45766         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
45767         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
45768         struct member.
45769         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
45770         to macro prototype for AT_HWCAP2 support.
45771         * sysdeps/i386/dl-procinfo.h: Likewise.
45772         * sysdeps/s390/dl-procinfo.h: Likewise.
45773         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
45774         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
45775         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
45776         return -1 for unknown a_type display fallback.
45777         * sysdeps/sparc/dl-procinfo.h: Likewise.
45778         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
45779         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
45781 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
45783         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
45784         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
45786 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
45788         [BZ #12492]
45789         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
45790         mprotect making __stack_prot writable.
45792 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
45793             Joseph Myers  <joseph@codesourcery.com>
45795         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
45796         as being properly aligned.
45798 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
45800         * dlfcn/modstatic5.c: New file.
45801         * dlfcn/tststatic5.c: New file.
45802         * dlfcn/Makefile (tests): Add tststatic5.
45803         (tests-static): Likewise.
45804         (modules-names): Add modstatic5.
45805         (tststatic5-ENV): New variable.
45806         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
45808         [BZ #15022]
45809         * elf/dl-support.c (_dl_main_map): New variable.
45810         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
45811         (_dl_nns, _dl_load_adds): Set to 1.
45812         (_dl_initial_searchlist): Refer to _dl_main_map.
45813         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
45814         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
45815         call to _dl_get_origin.
45816         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
45817         around call_map.
45818         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
45819         * dlfcn/modstatic3.c: New file.
45820         * dlfcn/tststatic3.c: New file.
45821         * dlfcn/tststatic4.c: New file.
45822         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
45823         (tests-static): Likewise.
45824         (modules-names): Add modstatic3.
45825         (tststatic3-ENV, tststatic4-ENV): New variables.
45826         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
45827         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
45829 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
45831         * configure.in (CC): Require GCC version 4.4 or later.
45832         * configure: Regenerated.
45833         * manual/install.texi (Tools for Compilation): Update GCC version
45834         requirement.
45835         * INSTALL: Regenerated.
45837 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45839         [BZ #15674]
45840         * string/test-memcmp.c (check2): New.
45841         (main): Call check2.
45843         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
45845 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
45847         [BZ #15022]
45848         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
45849         over to...
45850         (dl_open_worker) [!SHARED]: ... here.
45852 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45854         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
45856 2013-06-25  Richard Henderson  <rth@redhat.com>
45858         * locale/programs/locarchive.c: Include <libc-internal.h>
45860 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
45862         * manual/texinfo.tex: Update to version 2013-06-21.17, with
45863         trailing whitespace removed.
45865 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
45867         [BZ #10283]
45868         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
45869         * locale/programs/locarchive.c: Include libc-mmap.h.
45870         (prepare_address_space): Take two new outputs (the mmap base and len).
45871         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
45872         values.
45873         (create_archive): Declare new mmap base and len values for
45874         prepare_address_space, and store the result in ah.
45875         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
45876         (enlarge_archive): If ah->mmap_base is not NULL, use that and
45877         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
45878         Declare new mmap base and len values for
45879         prepare_address_space, and store the result in new_ah.
45880         (open_archive): Declare new mmap base and len values for
45881         prepare_address_space, and store the result in ah.
45882         (close_archive): If ah->mmap_base is not NULL, use that and
45883         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
45884         * sysdeps/generic/libc-mmap.h: New file.
45886 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
45888         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
45889         (ALIGN_UP): Likewise.
45890         (PTR_ALIGN_DOWN): Likewise.
45891         (PTR_ALIGN_UP): Likewise.
45893 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45895         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
45896         entry mapped to PPC_PLATFORM_POWER8.
45897         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
45898         POWER8.
45899         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
45900         (_dl_string_platform): Add case for exporting platform position for
45901         POWER8.
45902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
45903         search path to sysdeps/powerpc/powerpc32/power8 directory.
45904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
45905         search path to sysdeps/powerpc/powerpc64/power8 directory.
45906         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
45907         power7 directories.
45908         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
45909         power7 directories.
45911 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45913         * INSTALL: Regenerate.
45915         * nscd/connections.c (nscd_init): Fix comment.
45917 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
45919         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
45921         [BZ #15667]
45922         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
45923         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
45925 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
45927         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
45928         DL_DST_REQ_STATIC.
45929         (DL_DST_REQ_STATIC): Remove macro.
45931 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
45933         [BZ #7006]
45934         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
45935         with a shift of 0 bits.
45937 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
45939         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
45940         $(tststatic-ENV).
45942 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45944         [BZ #15655]
45945         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
45947 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45949         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
45950         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
45951         accepts -fno-tree-loop-distribute-patterns.
45952         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
45953         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
45954         recursive call.
45955         * string/memset.c (memset): Likewise.
45956         * string/test-memmove.c (simple_memmove): Disable loop transformation
45957         to library calls.
45958         * string/test-memset.c (simple_memset): Likewise.
45959         * benchtests/bench-memmove.c (simple_memmove): Likewise.
45960         * benchtests/bench-memset.c (simple_memset): Likewise.
45961         * configure: Regenerated.
45963 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
45965         * math/test-misc.c (main): Ignore fesetround failure when failures
45966         of subsequent rounding tests would be ignored.
45968         [BZ #15654]
45969         * math/fedisblxcpt.c (fedisableexcept): Return 0.
45970         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
45971         * math/fegetenv.c (__fegetenv): Return 0.
45972         * math/fegetexcept.c (fegetexcept): Return 0.
45973         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
45974         FE_TONEAREST.
45975         * math/feholdexcpt.c (feholdexcept): Return 0.
45976         * math/fesetenv.c (__fesetenv): Return 0.
45977         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
45978         argument FE_TONEAREST.
45979         * math/feupdateenv.c (__feupdateenv): Return 0.
45980         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
45982 2013-06-18  Roland McGrath  <roland@hack.frob.com>
45984         * elf/rtld-Rules (rtld-compile-command.S): New variable.
45985         (rtld-compile-command.s, rtld-compile-command.c): New variables.
45986         ($(objpfx)rtld-%.os rules): Use them.
45988 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45990         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
45991         fields.
45993 2013-06-17  Roland McGrath  <roland@hack.frob.com>
45995         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
45996         length of target pattern, then descending length of dependency pattern.
45997         * configure.in (AWK): Require gawk 3.1.2 or newer.
45998         * manual/install.texi (Tools for Compilation): Say that we do.
45999         * configure: Regenerated.
46001         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
46002         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
46003         * scripts/sysd-rules.awk: ... this new script.
46004         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
46005         than a glob-style pattern.
46007 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
46009         * math/test-misc.c (main): Do not treat incorrectly rounded
46010         conversions as failure unless ROUNDING_TESTS passes.
46012 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
46014         [BZ #15631]
46015         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
46016         restore exception state around main square root computation, then
46017         check for inexactness explicitly.
46019         * math/libm-test.inc (fma_test_data): Add another test.
46021 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46023         * manual/threads.texi (Non-POSIX Extensions): New document
46024         node.  Document pthread_getattr_default_np and
46025         pthread_setattr_default_np.
46027         * Versions.def (libpthread): Add GLIBC_2.18.
46028         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
46029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46030         Likewise.
46031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46032         Likewise.
46033         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46034         Likewise.
46035         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46036         Likewise.
46037         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
46038         Likewise.
46039         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46040         Likewise.
46041         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46042         Likewise.
46043         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
46044         Likewise.
46045         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46046         Likewise.
46048 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46050         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46051         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
46053 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46054             H.J. Lu  <hjl.tools@gmail.com>
46056         [BZ #15627]
46057         * sysdeps/x86_64/rtld-memset.c: Remove file.
46058         * sysdeps/x86_64/rtld-memset.S: New file.
46060 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
46062         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
46063         (test_in_one_mode): Take arguments for whether the rounding mode
46064         is supported for each floating-point type.
46065         (do_test): Pass new arguments to test_in_one_mode using
46066         ROUNDING_TESTS.
46068 2013-06-13  Roland McGrath  <roland@hack.frob.com>
46070         * posix/tst-waitid.c (do_test): Distinguish different instances of
46071         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
46072         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
46073         before entering the kernel for waitpid.
46075 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46077         * NEWS: Fix note on clock function precision.  Text by Roland
46078         McGrath.
46080 2013-06-13  Roland McGrath  <roland@hack.frob.com>
46082         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
46083         it into place only when and if the sanity check passes.
46085 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
46087         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
46088         output for whether conversion result is exact.  Take argument
46089         indicating whether type is IBM long double.
46090         (round_for_all): Change need_exact field to ibm_ld.
46091         * stdlib/tst-strtod-round.c (struct exactness): New type.
46092         (struct test): Change bool ld_ok field to struct exactness exact.
46093         (TEST): Update all definitions for change to field.
46094         (tests): Regenerate array contents.
46095         (test_in_one_mode): Take pointer to new field instead of old ld_ok
46096         field value.  Check for IBM long double here.
46097         (do_test): Update calls to test_in_one_mode.
46099 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46101         [BZ #12515]
46102         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
46103         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
46105 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46107         [BZ #15605]
46108         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
46109         generated by the compiler on loop optimizations.
46110         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
46111         general definitions.
46113 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
46115         * math/bug-nextafter.c: Include <math-tests.h>.
46116         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46117         the relevant type.
46118         * math/bug-nexttoward.c: Include <math-tests.h>.
46119         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46120         the relevant type.
46121         * math/test-misc.c: Include <math-tests.h>.
46122         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46123         the relevant type.
46125 2013-06-12  Andreas Jaeger  <aj@suse.de>
46127         * po/ia.po: Update Interlingua translation from translation
46128         project.
46130 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46132         * include/fenv.h: Include stdbool.h.
46133         (struct rm_ctx): New structure.
46134         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
46135         Define macro.
46136         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
46137         (SET_RESTORE_ROUNDF): Likewise.
46138         (SET_RESTORE_ROUNDL): Likewise.
46139         (SET_RESTORE_ROUND_NOEX): Likewise.
46140         (SET_RESTORE_ROUND_NOEXF): Likewise.
46141         (SET_RESTORE_ROUND_NOEXL): Likewise.
46142         (SET_RESTORE_ROUND_53BIT): Likewise.
46143         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
46144         (libc_feresetround_noexf_ctx): Likewise.
46145         (libc_feresetround_noexl_ctx): Likewise.
46146         (libc_feholdsetround_53bit_ctx): Likewise.
46147         (libc_feresetround_53bit_ctx): Likewise.
46148         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
46149         (libc_feholdexcept_setround_sse_ctx): New function.
46150         (libc_fesetenv_sse_ctx): Likewise.
46151         (libc_feupdateenv_sse_ctx): Likewise.
46152         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
46153         (libc_feholdexcept_setround_387_ctx): Likewise.
46154         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
46155         (libc_feholdsetround_387_prec_ctx): Likewise.
46156         (libc_feholdsetround_387_ctx): Likewise.
46157         (libc_feholdsetround_387_53bit_ctx): Likewise.
46158         (libc_feholdsetround_sse_ctx): Likewise.
46159         (libc_feresetround_sse_ctx): Likewise.
46160         (libc_feresetround_387_ctx): Likewise.
46161         (libc_feupdateenv_387_ctx): Likewise.
46162         (libc_feholdexcept_setroundf_ctx): Define macro.
46163         (libc_fesetenvf_ctx): Likewise.
46164         (libc_feupdateenvf_ctx): Likewise.
46165         (libc_feholdsetroundf_ctx): Likewise.
46166         (libc_feresetroundf_ctx): Likewise.
46167         (libc_feholdexcept_setround_ctx): Likewise.
46168         (libc_fesetenv_ctx): Likewise.
46169         (libc_feupdateenv_ctx): Likewise.
46170         (libc_feholdsetround_ctx): Likewise.
46171         (libc_feresetround_ctx): Likewise.
46172         (libc_feholdexcept_setroundl_ctx): Likewise.
46173         (libc_feupdateenvl_ctx): Likewise.
46174         (libc_feholdsetroundl_ctx): Likewise.
46175         (libc_feresetroundl_ctx): Likewise.
46176         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
46177         (libc_feresetround_53bit_ctx): Likewise.
46179 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46181         * locale/iso-639.def: Convert to UTF-8.
46183 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
46185         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
46186         (EXCEPTION_TESTS_double): Likewise.
46187         (EXCEPTION_TESTS_long_double): Likewise.
46188         (EXCEPTION_TESTS): Likewise.
46189         * math/libm-test.inc (test_exceptions): Only test exceptions if
46190         EXCEPTION_TESTS (FLOAT).
46192 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46194         * benchtests/Makefile (string-bench): Add strcpy_chk and
46195         stpcpy_chk.
46196         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
46197         * benchtests/bench-stpcpy_chk.c: New file.
46198         * benchtests/bench-strcpy_chk-ifunc.c: New file.
46199         * benchtests/bench-strcpy_chk.c: New file.
46200         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
46201         code.
46202         (do_test): Likewise.
46204 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46206         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
46207         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
46208         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
46209         with tabs where appropriate.
46210         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
46211         dl-procinfo.h.
46212         [PPC_PLATFORM_PPC440]: Likewise.
46213         [PPC_PLATFORM_PPC464]: Likewise.
46214         [PPC_PLATFORM_PPC476]: Likewise.
46215         (_dl_string_platform): Add support for detecting ppc405, ppc440,
46216         ppc464, and ppc476 platform strings merging from ports/
46217         dl-procinfo.h.
46219 2013-06-11  Andreas Schwab  <schwab@suse.de>
46221         [BZ #14991]
46222         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
46223         (from_ucs4_idx): Regenerate.
46224         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
46225         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
46226         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
46227         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
46228         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
46229         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
46230         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
46231         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
46232         from FROM_LOOP and TO_LOOP specific macros.
46233         (BODY): Handle combining characters.
46234         * iconvdata/BIG5HKSCS.irreversible: Update.
46235         * iconvdata/BIG5HKSCS.precomposed: New file.
46236         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
46237         characters.
46238         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
46240 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46242         * include/sys/time.h: Fix indentation and add copyright header.
46244         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
46245         (do_test): Likewise.
46246         * string/test-memchr.c (do_one_test): Likewise.
46247         (do_test): Likewise.
46248         * string/test-memcmp.c (do_one_test): Likewise.
46249         (do_test): Likewise.
46250         * string/test-memcpy.c (do_one_test): Likewise.
46251         (do_test): Likewise.
46252         * string/test-memmem.c (do_one_test): Likewise.
46253         (do_test): Likewise.
46254         (do_random_tests): Likewise.
46255         * string/test-memmove.c (do_one_test): Likewise.
46256         (do_test): Likewise.
46257         * string/test-memset.c (do_one_test): Likewise.
46258         (do_test): Likewise.
46259         * string/test-rawmemchr.c (do_one_test): Likewise.
46260         (do_test): Likewise.
46261         * string/test-strcasecmp.c (do_one_test): Likewise.
46262         (do_test): Likewise.
46263         * string/test-strcasestr.c (do_one_test): Likewise.
46264         (do_test): Likewise.
46265         * string/test-strcat.c (do_one_test): Likewise.
46266         (do_test): Likewise.
46267         * string/test-strchr.c (do_one_test): Likewise.
46268         (do_test): Likewise.
46269         * string/test-strcmp.c (do_one_test): Likewise.
46270         (do_test): Likewise.
46271         * string/test-strcpy.c (do_one_test): Likewise.
46272         (do_test): Likewise.
46273         * string/test-string.h: Likewise.
46274         (test_init): Likewise.
46275         * string/test-strlen.c (do_one_test): Likewise.
46276         (do_test): Likewise.
46277         * string/test-strncasecmp.c (do_one_test): Likewise.
46278         (do_test): Likewise.
46279         * string/test-strncat.c (do_one_test): Likewise.
46280         (do_test): Likewise.
46281         * string/test-strncmp.c (do_one_test): Likewise.
46282         (do_test_limit): Likewise.
46283         (do_test): Likewise.
46284         * string/test-strncpy.c (do_one_test): Likewise.
46285         (do_test): Likewise.
46286         * string/test-strnlen.c (do_one_test): Likewise.
46287         (do_test): Likewise.
46288         * string/test-strpbrk.c (do_one_test): Likewise.
46289         (do_test): Likewise.
46290         * string/test-strrchr.c (do_one_test): Likewise.
46291         (do_test): Likewise.
46292         * string/test-strspn.c (do_one_test): Likewise.
46293         (do_test): Likewise.
46294         * string/test-strstr.c (do_one_test): Likewise.
46295         (do_test): Likewise.
46297         * benchtests/Makefile (string-bench): Add string benchmarks.
46298         * benchtests/bench-bcopy-ifunc.c: New file.
46299         * benchtests/bench-bcopy.c: New file.
46300         * benchtests/bench-bzero-ifunc.c: New file.
46301         * benchtests/bench-bzero.c: New file.
46302         * benchtests/bench-memccpy-ifunc.c: New file.
46303         * benchtests/bench-memccpy.c: New file.
46304         * benchtests/bench-memchr-ifunc.c: New file.
46305         * benchtests/bench-memchr.c: New file.
46306         * benchtests/bench-memcmp-ifunc.c: New file.
46307         * benchtests/bench-memcmp.c: New file.
46308         * benchtests/bench-memmem-ifunc.c: New file.
46309         * benchtests/bench-memmem.c: New file.
46310         * benchtests/bench-memmove-ifunc.c: New file.
46311         * benchtests/bench-memmove.c: New file.
46312         * benchtests/bench-mempcpy-ifunc.c: New file.
46313         * benchtests/bench-mempcpy.c: New file.
46314         * benchtests/bench-memset-ifunc.c: New file.
46315         * benchtests/bench-memset.c: New file.
46316         * benchtests/bench-rawmemchr-ifunc.c: New file.
46317         * benchtests/bench-rawmemchr.c: New file.
46318         * benchtests/bench-stpcpy-ifunc.c: New file.
46319         * benchtests/bench-stpcpy.c: New file.
46320         * benchtests/bench-stpncpy-ifunc.c: New file.
46321         * benchtests/bench-stpncpy.c: New file.
46322         * benchtests/bench-strcasecmp-ifunc.c: New file.
46323         * benchtests/bench-strcasecmp.c: New file.
46324         * benchtests/bench-strcasestr-ifunc.c: New file.
46325         * benchtests/bench-strcasestr.c: New file.
46326         * benchtests/bench-strcat-ifunc.c: New file.
46327         * benchtests/bench-strcat.c: New file.
46328         * benchtests/bench-strchr-ifunc.c: New file.
46329         * benchtests/bench-strchr.c: New file.
46330         * benchtests/bench-strchrnul-ifunc.c: New file.
46331         * benchtests/bench-strchrnul.c: New file.
46332         * benchtests/bench-strcmp-ifunc.c: New file.
46333         * benchtests/bench-strcmp.c: New file.
46334         * benchtests/bench-strcpy-ifunc.c: New file.
46335         * benchtests/bench-strcpy.c: New file.
46336         * benchtests/bench-strcspn-ifunc.c: New file.
46337         * benchtests/bench-strcspn.c: New file.
46338         * benchtests/bench-strlen-ifunc.c: New file.
46339         * benchtests/bench-strlen.c: New file.
46340         * benchtests/bench-strncasecmp-ifunc.c: New file.
46341         * benchtests/bench-strncasecmp.c: New file.
46342         * benchtests/bench-strncat-ifunc.c: New file.
46343         * benchtests/bench-strncat.c: New file.
46344         * benchtests/bench-strncmp-ifunc.c: New file.
46345         * benchtests/bench-strncmp.c: New file.
46346         * benchtests/bench-strncpy-ifunc.c: New file.
46347         * benchtests/bench-strncpy.c: New file.
46348         * benchtests/bench-strnlen-ifunc.c: New file.
46349         * benchtests/bench-strnlen.c: New file.
46350         * benchtests/bench-strpbrk-ifunc.c: New file.
46351         * benchtests/bench-strpbrk.c: New file.
46352         * benchtests/bench-strrchr-ifunc.c: New file.
46353         * benchtests/bench-strrchr.c: New file.
46354         * benchtests/bench-strspn-ifunc.c: New file.
46355         * benchtests/bench-strspn.c: New file.
46356         * benchtests/bench-strstr-ifunc.c: New file.
46357         * benchtests/bench-strstr.c: New file.
46359         * benchtests/Makefile: Disable parallel execution of targets.
46360         (string-bench): Add memcpy.
46361         (benchset): New variable to store a list of benchmark sets.
46362         (bench-func): Renamed from bench.
46363         (bench-set): New target.
46364         (bench): Depend on bench-func and bench-set.
46365         * benchtests/README: Add section on benchmark sets.
46366         * benchtests/bench-memcpy-ifunc.c: New file.
46367         * benchtests/bench-memcpy.c: New file.
46368         * benchtests/bench-string.h: New file.
46370 2013-06-11  Andreas Schwab  <schwab@suse.de>
46372         [BZ #15577]
46373         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
46374         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
46375         values in the triple.
46376         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
46377         terminator in the group key.
46379 2013-06-11  Andreas Jaeger  <aj@suse.de>
46381         * po/zh_TW.po: Update Chinese (traditional) translation from
46382         translation project.
46384 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46386         * include/time.h (__clock_gettime): Add libc_hidden_proto.
46387         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
46388         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
46389         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46390         (clock_getcpuclockid): Likewise.
46391         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
46392         Add weak_alias and libc_hidden_def.
46393         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
46394         * rt/clock_gettime.c (clock_gettime): Rename to
46395         __clock_gettime.  Add weak_alias and libc_hidden_def.
46396         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
46397         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
46398         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
46399         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
46400         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
46401         Likewise.
46402         * rt/clock_settime.c (clock_settime): Rename to
46403         __clock_settime.  Add weak_alias and libc_hidden_def.
46404         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
46406 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
46408         * mach/err_boot.sub: Remove trailing whitespace.
46409         * mach/err_ipc.sub: Likewise.
46410         * mach/err_mach.sub: Likewise.
46412         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
46413         (ROUNDING_TESTS_double): Likewise.
46414         (ROUNDING_TESTS_long_double): Likewise.
46415         (ROUNDING_TESTS): Likewise.
46416         * math/libm-test.inc: Include <math-tests.h>.
46417         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
46418         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46419         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46420         (IF_ROUND_INIT_FE_UPWARD): Likewise.
46422 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46424         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
46425         of assigning.
46427 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
46429         * sysdeps/gnu/errlist.awk: Do not generate space at end of
46430         otherwise empty TRANS lines.
46431         * sysdeps/gnu/errlist.c: Regenerated.
46433         * catgets/gencat.c (error_print): Use (void) in function
46434         definition.
46435         * crypt/crypt_util.c (__init_des): Likewise.
46436         * crypt/speeds.c (Stop): Likewise.
46437         (main): Likewise.
46438         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
46439         * inet/ruserpass.c (token): Likewise.
46440         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
46441         * intl/localealias.c (extend_alias_table): Likewise.
46442         * intl/plural-exp.c (init_germanic_plural): Likewise.
46443         * libio/fcloseall.c (__fcloseall): Likewise.
46444         * libio/genops.c (_IO_flush_all): Likewise.
46445         (_IO_flush_all_linebuffered): Likewise.
46446         (_IO_cleanup): Likewise.
46447         (_IO_iter_begin): Likewise.
46448         (_IO_iter_end): Likewise.
46449         (_IO_list_lock): Likewise.
46450         (_IO_list_unlock): Likewise.
46451         (_IO_list_resetlock): Likewise.
46452         * libio/getchar.c (getchar): Likewise.
46453         * libio/getchar_u.c (getchar_unlocked): Likewise.
46454         * libio/getwchar.c (getwchar): Likewise.
46455         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
46456         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
46457         * login/getpt.c (__getpt): Likewise.
46458         * login/tst-utmp.c (main): Likewise.
46459         * malloc/hooks.c (__malloc_check_init): Likewise.
46460         * malloc/malloc.c (__malloc_stats): Likewise.
46461         * malloc/mtrace.c (tr_break): Likewise.
46462         (mtrace): Likewise.
46463         (muntrace): Likewise.
46464         * misc/fstab.c (endfsent): Likewise.
46465         * misc/getclktck.c (__getclktck): Likewise.
46466         * misc/getdtsz.c (__getdtablesize): Likewise.
46467         * misc/gethostid.c (gethostid): Likewise.
46468         * misc/getpagesize.c (__getpagesize): Likewise.
46469         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
46470         (__get_nprocs): Likewise.
46471         (__get_phys_pages): Likewise.
46472         (__get_avphys_pages): Likewise.
46473         * misc/getttyent.c (getttyent): Likewise.
46474         (setttyent): Likewise.
46475         (endttyent): Likewise.
46476         * misc/getusershell.c (getusershell): Likewise.
46477         (endusershell): Likewise.
46478         (setusershell): Likewise.
46479         (initshells): Likewise.
46480         * misc/hsearch.c (__hdestroy): Likewise.
46481         * misc/sync.c (sync): Likewise.
46482         * misc/syslog.c (closelog_internal): Likewise.
46483         (closelog): Likewise.
46484         * misc/ttyslot.c (ttyslot): Likewise.
46485         * misc/vhangup.c (vhangup): Likewise.
46486         * posix/fork.c (__fork): Likewise.
46487         * posix/getegid.c (__getegid): Likewise.
46488         * posix/geteuid.c (__geteuid): Likewise.
46489         * posix/getgid.c (__getgid): Likewise.
46490         * posix/getpid.c (__getpid): Likewise.
46491         * posix/getppid.c (__getppid): Likewise.
46492         * posix/getuid.c (__getuid): Likewise.
46493         * posix/pause.c (pause): Likewise.
46494         * posix/setpgrp.c (setpgrp): Likewise.
46495         * posix/setsid.c (__setsid): Likewise.
46496         * posix/test-vfork.c (noop): Likewise.
46497         * resolv/gethnamaddr.c (_endhtent): Likewise.
46498         (_gethtent): Likewise.
46499         (ht_endhostent): Likewise.
46500         (gethostent): Likewise.
46501         (dns_service): Likewise.
46502         * stdlib/drand48.c (drand48): Likewise.
46503         * stdlib/lrand48.c (lrand48): Likewise.
46504         * stdlib/mrand48.c (mrand48): Likewise.
46505         * stdlib/rand.c (rand): Likewise.
46506         * stdlib/random.c (__random): Likewise.
46507         * stdlib/setenv.c (clearenv): Likewise.
46508         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
46509         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
46510         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
46511         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
46512         (__get_nprocs): Likewise.
46513         (__get_phys_pages): Likewise.
46514         (__get_avphys_pages): Likewise.
46515         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
46516         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
46517         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
46518         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
46519         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
46520         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
46521         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
46522         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
46523         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
46524         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
46525         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
46526         * sysdeps/mach/hurd/sync.c (sync): Likewise.
46527         * sysdeps/posix/clock.c (clock): Likewise.
46528         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
46529         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
46530         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
46531         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
46532         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
46533         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
46534         (__get_nprocs_conf): Likewise.
46535         (__get_phys_pages): Likewise.
46536         (__get_avphys_pages): Likewise.
46537         * time/clock.c (clock): Likewise.
46538         * time/tzset.c (__tzname_max): Likewise.
46540 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
46542         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
46543         (__bswap_32): Do not use "register".
46544         * crypt/crypt.c (_ufc_doit_r): Likewise.
46545         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46546         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46547         * gmon/gmon.c (__monstartup): Likewise.
46548         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
46549         * hurd/hurdmalloc.c (more_memory): Likewise.
46550         (malloc): Likewise.
46551         (free): Likewise.
46552         (realloc): Likewise.
46553         (malloc_fork_prepare): Likewise.
46554         (malloc_fork_parent): Likewise.
46555         (malloc_fork_child): Likewise.
46556         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
46557         (_svcauth_des): Likewise.
46558         * inet/inet_lnaof.c (inet_lnaof): Likewise.
46559         * inet/inet_net.c (inet_network): Likewise.
46560         * inet/inet_netof.c (inet_netof): Likewise.
46561         * inet/rcmd.c (__validuser2_sa): Likewise.
46562         * io/fts.c (fts_open): Likewise.
46563         (fts_load): Likewise.
46564         (fts_close): Likewise.
46565         (fts_read): Likewise.
46566         (fts_children): Likewise.
46567         (fts_build): Likewise.
46568         (fts_stat): Likewise.
46569         (fts_sort): Likewise.
46570         (fts_alloc): Likewise.
46571         (fts_lfree): Likewise.
46572         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
46573         (_IO_file_xsgetn): Likewise.
46574         (_IO_file_xsgetn_mmap): Likewise.
46575         * libio/iofopncook.c (_IO_cookie_read): Likewise.
46576         (_IO_cookie_write): Likewise.
46577         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
46578         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
46579         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
46580         * malloc/obstack.c (_obstack_begin): Likewise.
46581         (_obstack_begin_1): Likewise.
46582         (_obstack_newchunk): Likewise.
46583         (_obstack_allocated_p): Likewise.
46584         (obstack_free): Likewise.
46585         (_obstack_memory_used): Likewise.
46586         * misc/getttyent.c (getttynam): Likewise.
46587         (getttyent): Likewise.
46588         (skip): Likewise.
46589         (value): Likewise.
46590         * misc/getusershell.c (initshells): Likewise.
46591         * misc/syslog.c (__vsyslog_chk): Likewise.
46592         * misc/ttyslot.c (ttyslot): Likewise.
46593         * nis/nis_hash.c (__nis_hash): Likewise.
46594         * posix/fnmatch_loop.c (FCT): Likewise.
46595         * posix/getconf.c (print_all): Likewise.
46596         (main): Likewise.
46597         * posix/getopt.c (exchange): Likewise.
46598         * posix/glob.c (globfree): Likewise.
46599         (prefix_array): Likewise.
46600         (__glob_pattern_type): Likewise.
46601         * resolv/arpa/nameser.h (NS_GET16): Likewise.
46602         (NS_GET32): Likewise.
46603         (NS_PUT16): Likewise.
46604         (NS_PUT32): Likewise.
46605         * resolv/gethnamaddr.c (getanswer): Likewise.
46606         (gethostbyname2): Likewise.
46607         (gethostbyaddr): Likewise.
46608         (_gethtent): Likewise.
46609         (_gethtbyname2): Likewise.
46610         (_gethtbyaddr): Likewise.
46611         * resolv/ns_print.c (dst_s_get_int16): Likewise.
46612         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
46613         * resolv/res_init.c (__res_vinit): Likewise.
46614         (net_mask): Likewise.
46615         * resolv/res_mkquery.c (outchar): Likewise.
46616         (PRINT): Likewise.
46617         * stdio-common/printf_fp.c (outchar): Likewise.
46618         (PRINT): Likewise.
46619         * stdio-common/printf_fphex.c (outchar): Likewise.
46620         (PRINT): Likewise.
46621         * stdio-common/printf_size.c (outchar): Likewise.
46622         (PRINT): Likewise.
46623         * stdio-common/test_rdwr.c (main): Likewise.
46624         * stdio-common/tfformat.c (matches): Likewise.
46625         * stdio-common/vfprintf.c (outchar): Likewise.
46626         (printf_unknown): Likewise.
46627         (buffered_vfprintf): Likewise.
46628         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46629         * stdio-common/xbug.c (AppendToBuffer): Likewise.
46630         (ReadFile): Likewise.
46631         * stdlib/qsort.c (SWAP): Likewise.
46632         (_quicksort): Likewise.
46633         * stdlib/setenv.c (__add_to_environ): Likewise.
46634         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46635         * stdlib/strtol_l.c (__strtol_l): Likewise.
46636         * stdlib/tst-strtod.c (main): Likewise.
46637         * stdlib/tst-strtol.c (main): Likewise.
46638         * stdlib/tst-strtoll.c (main): Likewise.
46639         * string/bits/string2.h (__strcmp_cc): Likewise.
46640         (__strcmp_cg): Likewise.
46641         (__strcspn_c1): Likewise.
46642         (__strcspn_c2): Likewise.
46643         (__strcspn_c3): Likewise.
46644         (__strspn_c1): Likewise.
46645         (__strspn_c2): Likewise.
46646         (__strspn_c3): Likewise.
46647         (__strsep_1c): Likewise.
46648         (__strsep_2c): Likewise.
46649         (__strsep_3c): Likewise.
46650         * string/memccpy.c (__memccpy): Likewise.
46651         * string/stpcpy.c (__stpcpy): Likewise.
46652         * string/strcmp.c (strcmp): Likewise.
46653         * string/strrchr.c (strrchr): Likewise.
46654         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
46655         Likewise.
46656         * sysdeps/mach/hurd/getcwd.c
46657         (_hurd_canonicalize_directory_name_internal): Likewise.
46658         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
46659         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
46660         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
46661         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
46662         Likewise, in both definitions.
46663         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
46664         definitions.
46665         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
46666         64] (__bswap_64): Likewise.
46667         * time/test_time.c (main): Likewise.
46668         * time/tzfile.c (__tzfile_read): Likewise.
46669         (__tzfile_compute): Likewise.
46670         * time/tzset.c (__tzset_parse_tz): Likewise.
46671         (tzset_internal): Likewise.
46672         (compute_change): Likewise.
46673         * wcsmbs/wcscat.c (__wcscat): Likewise.
46674         * wcsmbs/wcschr.c (wcschr): Likewise.
46675         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
46676         * wcsmbs/wcscspn.c (wcscspn): Likewise.
46677         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
46678         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
46679         * wcsmbs/wcsspn.c (wcsspn): Likewise.
46680         * wcsmbs/wcsstr.c (wcsstr): Likewise.
46681         * wcsmbs/wmemchr.c (wmemchr): Likewise.
46682         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46683         * wcsmbs/wmemset.c (wmemset): Likewise.
46685 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
46687         * scripts/config.guess: Update to version 2013-05-16.
46688         * scripts/config.sub: Update to version 2013-04-24.
46689         * scripts/install-sh: Update to version 2011-11-20.07.
46690         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
46691         * scripts/move-if-change: Update to version 2012-01-06 07:23.
46693 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
46695         * debug/fgetws_u_chk.c: Fix leading whitespaces.
46696         * elf/sln.c: Likewise.
46697         * hurd/hurd/ioctl.h: Likewise.
46698         * hurd/hurdmalloc.c: Likewise.
46699         * hurd/xattr.c: Likewise.
46700         * include/shlib-compat.h: Likewise.
46701         * inet/ruserpass.c: Likewise.
46702         * libio/iofgets_u.c: Likewise.
46703         * libio/iofgetws_u.c: Likewise.
46704         * locale/programs/ld-identification.c: Likewise.
46705         * locale/programs/ld-time.c: Likewise.
46706         * mach/msg-destroy.c: Likewise.
46707         * nss/nss_files/files-netgrp.c: Likewise.
46708         * resolv/res_data.c: Likewise.
46709         * soft-fp/op-1.h: Likewise.
46710         * soft-fp/op-2.h: Likewise.
46711         * soft-fp/op-4.h: Likewise.
46712         * soft-fp/op-common.h: Likewise.
46713         * stdio-common/printf_fphex.c: Likewise.
46714         * stdlib/strtod_l.c: Likewise.
46715         * sunrpc/rpc/clnt.h: Likewise.
46716         * sysdeps/generic/framestate.c: Likewise.
46717         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46718         * sysdeps/i386/bsd-setjmp.S: Likewise.
46719         * sysdeps/i386/__longjmp.S: Likewise.
46720         * sysdeps/i386/setjmp.S: Likewise.
46721         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46722         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46723         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46724         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46725         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46726         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46727         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46728         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46729         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46730         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
46731         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46732         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46733         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46734         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46735         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46736         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46737         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46738         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
46739         * sysdeps/ieee754/support.c: Likewise.
46740         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46741         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
46742         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
46743         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
46744         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
46745         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
46746         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
46747         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
46748         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
46749         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
46750         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
46751         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
46752         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
46753         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
46754         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
46755         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
46756         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
46757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
46759 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
46761         * posix/transbug.c: Remove executable mode.
46763 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
46765         * crypt/speeds.c: Remove trailing whitespace.
46766         * dlfcn/default.c: Likewise.
46767         * elf/ifuncdep2.c: Likewise.
46768         * elf/ifuncmain1.c: Likewise.
46769         * elf/ifuncmain1vis.c: Likewise.
46770         * elf/testobj.h: Likewise.
46771         * elf/tst-stackguard1.c: Likewise.
46772         * gmon/sys/gmon.h: Likewise.
46773         * hurd/hurdmsg.c: Likewise.
46774         * hurd/new-fd.c: Likewise.
46775         * hurd/ports-get.c: Likewise.
46776         * iconvdata/ibm1008_420.c: Likewise.
46777         * inet/tst-getni1.c: Likewise.
46778         * inet/tst-getni2.c: Likewise.
46779         * libio/ioungetc.c: Likewise.
46780         * libio/wfiledoalloc.c: Likewise.
46781         * manual/libm-err-tab.pl: Likewise.
46782         * math/w_dremf.c: Likewise.
46783         * misc/ftruncate.c: Likewise.
46784         * posix/bug-glob2.c: Likewise.
46785         * posix/tst-pcre.c: Likewise.
46786         * posix/wait4.c: Likewise.
46787         * resolv/README: Likewise.
46788         * resolv/res_debug.h: Likewise.
46789         * resolv/tst-inet_ntop.c: Likewise.
46790         * setjmp/bug269-setjmp.c: Likewise.
46791         * soft-fp/extended.h: Likewise.
46792         * soft-fp/op-1.h: Likewise.
46793         * soft-fp/op-2.h: Likewise.
46794         * soft-fp/op-4.h: Likewise.
46795         * soft-fp/op-8.h: Likewise.
46796         * soft-fp/testit.c: Likewise.
46797         * stdio-common/bug16.c: Likewise.
46798         * stdlib/random.c: Likewise.
46799         * sunrpc/rpcsvc/rquota.x: Likewise.
46800         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
46801         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46802         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46803         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46804         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46805         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46806         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46807         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46808         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46809         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46810         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46811         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46812         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46813         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46814         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46815         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46816         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46817         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46818         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46819         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46820         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46821         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46822         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
46823         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46824         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46825         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46826         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46827         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46828         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46829         * sysdeps/ieee754/s_lib_version.c: Likewise.
46830         * sysdeps/mach/hurd/check_fds.c: Likewise.
46831         * sysdeps/mach/hurd/getsockname.c: Likewise.
46832         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
46833         * sysdeps/mach/hurd/recvfrom.c: Likewise.
46834         * sysdeps/powerpc/bits/link.h: Likewise.
46835         * sysdeps/powerpc/dl-procinfo.c: Likewise.
46836         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
46837         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
46838         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
46839         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
46840         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46841         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
46842         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
46843         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
46844         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46845         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
46846         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46847         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
46848         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46849         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46850         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46851         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46852         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46853         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46854         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46855         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46856         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
46857         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46858         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46859         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
46860         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46861         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46862         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46863         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46864         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46865         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46866         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46867         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46868         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46869         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
46870         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
46871         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
46872         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46873         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
46874         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
46875         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
46876         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
46877         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
46878         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
46879         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46880         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
46881         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
46882         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46883         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
46884         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
46885         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46886         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46887         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46888         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46889         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
46890         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
46891         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
46892         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46893         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
46894         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
46895         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
46896         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
46897         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
46898         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46899         * sysdeps/powerpc/sysdep.h: Likewise.
46900         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46901         * sysdeps/s390/s390-64/sub_n.S: Likewise.
46902         * sysdeps/sh/dl-trampoline.S: Likewise.
46903         * sysdeps/sh/memset.S: Likewise.
46904         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
46905         * sysdeps/sh/strlen.S: Likewise.
46906         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
46907         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
46908         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
46909         * sysdeps/sparc/sparc32/rem.S: Likewise.
46910         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
46911         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
46912         * sysdeps/sparc/sparc32/strchr.S: Likewise.
46913         * sysdeps/sparc/sparc32/udiv.S: Likewise.
46914         * sysdeps/sparc/sparc32/urem.S: Likewise.
46915         * sysdeps/sparc/sparc64/add_n.S: Likewise.
46916         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46917         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
46918         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
46919         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
46920         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
46921         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
46922         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
46923         * sysdeps/unix/bsd/times.c: Likewise.
46924         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
46925         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
46926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
46927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
46928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
46929         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
46930         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
46931         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
46932         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
46933         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
46934         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
46935         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
46936         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
46937         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46938         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
46939         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
46940         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
46941         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
46942         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
46943         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
46944         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
46945         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
46946         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46947         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
46948         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
46949         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
46950         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
46951         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46952         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
46953         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
46954         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
46955         * sysdeps/x86_64/strcspn.S: Likewise.
46957 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46959         * locale/C-translit.h: Revert #include <stdint.h> because this is a
46960         generated file.  Regenerate properly from gen-translit.pl.
46961         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
46962         locale/C-translit.h.
46964 2013-06-05  Andreas Schwab  <schwab@suse.de>
46966         [BZ #15100]
46967         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
46968         week as 6 instead of -1.
46969         * time/tst-strptime.c (day_tests): Add test case.
46971 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46973         * sysdeps/generic/math_private.h
46974         (libc_feholdexcept_setround_53bit): Replace with
46975         libc_feholdsetround_53bit.
46976         (libc_feupdateenv_53bit): Replace with
46977         libc_feresetround_53bit.
46978         (SET_RESTORE_ROUND_53BIT): Adjust.
46980 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46982         * string/test-strchrnul.c: Add copyright header.
46984         * posix/tst-getaddrinfo4.c: Increase test timeout.
46986 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
46988         [BZ #15536]
46989         * math/libm-test.inc (MAX_EXP): Remove
46990         (MIN_EXP): Define.
46991         (ulp): Use MIN_EXP - MANT_DIG.
46992         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
46994 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
46996         * po/be.po: Revert last change.
46997         * po/zh_CN.po: Likewise.
46998         * po/header.pot: Likewise.
47000 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
47002         * Makefile ($(common-objpfx)linkobj/libc.so): Define
47003         link-libc-deps to empty as target-specific variable.
47004         * Makerules (link-libc-args): New variable.
47005         (libc-for-link): Likewise.
47006         (link-libc-deps): Likewise.
47007         (lib%.so): Depend on $(link-libc-deps).  Link with
47008         $(link-libc-args).
47009         (build-module): Link with $(link-libc-args).
47010         (build-module-asneeded): Likewise.
47011         (build-module-helper-objlist): Filter out $(link-libc-deps) from
47012         list of objects.
47013         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
47014         target-specific variable.
47015         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
47016         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
47017         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
47018         libc.
47019         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
47020         libc and ld.so.
47021         ($(objpfx)libpcprofile.so): Likewise.
47022         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
47023         libc_nonshared.a.
47024         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
47025         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
47026         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
47027         $(link-libc-deps).
47028         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
47029         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
47030         * login/Makefile ($(objpfx)libutil.so): Likewise.
47031         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
47032         * math/Makefile ($(objpfx)libm.so): Likewise.
47033         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
47034         $(objpfx)libnsl.so): Define libc-for-link as target-specific
47035         variable instead of depending directly on libc.
47036         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
47037         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
47038         $(link-libc-deps).
47039         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
47040         libc.
47041         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
47042         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
47043         ($(objpfx)libanl.so): Likewise.
47044         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
47045         ld.so.
47046         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
47047         $(link-libc-deps).
47048         * sysdeps/i386/fpu/Makefile: Remove file.
47049         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
47050         ($(objpfx)libm.so): Remove dependency on ld.so.
47052 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
47054         [BZ # 15553]
47055         * nis/yp_xdr.c (XDRMAXNAME): Define.
47056         (XDRMAXRECORD): Define.
47057         (xdr_domainname): Use XDRMAXNAME.
47058         (xdr_mapname): Likewise.
47059         (xdr_peername): Likewise.
47060         (xdr_keydat): Use XDRMAXRECORD.
47061         (xdr_valdat): Likewise.
47063 2013-05-30  Jeff Law  <law@redhat.com>
47065         [BZ #14256]
47066         * manual/errno.texi (ESTALE): Update to account for more than
47067         just NFS file systems.
47068         * sysdeps/gnu/errlist.c: Regenerated.
47070 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47072         [BZ #15465]
47073         * elf/Makefile (tests): Add tst-null-argv.
47074         (modules-names):  Add tst-null-argv-lib.
47075         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
47076         (tst-null-argv-ENV): Set environment for tst-null-argv.
47077         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
47078         (RTLD_PROGNAME): New macro.
47079         * elf/tst-null-argv.c: New test case.
47080         * elf/tst-null-argv-lib.c: Library for test case.
47081         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
47082         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
47083         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
47084         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
47085         * elf/dl-init.c (call_init): Likewise.
47086         (_dl_init): Likewise.
47087         * elf/dl-load.c (print_search_path): Likewise.
47088         (_dl_map_object): Likewise.
47089         * elf/dl-lookup.c (do_lookup_x): Likewise.
47090         (add_dependency): Likewise.
47091         (_dl_lookup_symbol_x): Likewise.
47092         (_dl_debug_bindings): Likewise.
47093         * elf/dl-open.c (_dl_show_scope): Likewise.
47094         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
47095         * elf/dl-version.c (match_symbol): Likewise.
47096         (_dl_check_map_versions): Likewise.
47097         * elf/rtld.c (dl_main): Likewise.
47098         (print_unresolved): Use RTLD_PROGNAME.
47099         (print_missing_version): Likewise.
47100         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
47101         (elf_machine_rela): Likewise.
47102         * sysdeps/powerpc/powerpc32/dl-machine.c
47103         (__process_machine_rela): Likewise.
47104         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47105         Likewise.
47106         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47107         Likewise.
47108         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
47109         Likewise.
47110         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47111         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
47112         Likewise.
47113         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
47114         Likewise.
47115         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47117 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
47119         * po/be.po: Add descriptive title.
47120         * po/zh_CN.po: Likewise.
47121         * po/header.pot: Likewise.
47123 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
47125         * locale/programs/locarchive.c (create_archive): Inlucde fname in
47126         error message.
47127         (enlarge_archive): Likewise.
47129 2013-05-28  Ben North  <ben@redfrontdoor.org>
47131         * manual/arith.texi (frexp): It is the magnitude of the return
47132         value which lies in [0.5, 1), not the return value itself.
47134 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47136         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47138 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
47140         * stdio-common/bug26.c (main): Correct fscanf template.
47142         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
47143         declare _dl_skip_args.
47145         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
47146         Don't declare.
47148         * manual/platform.texi: Add missing @end deftypefun.
47150 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
47152         [BZ #15529]
47153         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
47154         bit of mantissa of 2^16382.
47155         * math/libm-test.inc (hypot_test_data): Add more tests.
47157         * math/libm-test.inc: Add drem and pow10 to list of tested
47158         functions.
47159         (pow10_test): New function.
47160         (drem_test): Likewise.
47161         (drem_test_tonearest): Likewise.
47162         (drem_test_towardzero): Likewise.
47163         (drem_test_downward): Likewise.
47164         (drem_test_upward): Likewise.
47165         (main): Call the new functions.
47167         * math/libm-test.inc (finite_test_data): Remove.
47168         (finite_test): Run tests from isfinite_test_data.
47169         (gamma_test_data): Remove.
47170         (gamma_test): Run tests from lgamma_test_data.
47171         * sysdeps/i386/fpu/libm-test-ulps: Update.
47172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47174 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47176         * manual/platform.texi: Add PowerPC PPR function set documentation.
47177         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
47178         implementation.
47180 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
47182         * math/libm-test.inc (MAX_EXP): Define.
47183         (ULPDIFF): Define.
47184         (ulp): New function.
47185         (check_float_internal): Use ULPDIFF.
47186         (cpow_test): Disable failing test.
47187         (check_ulp): Test ulp() implemetnation.
47188         (main): Call check_ulp before starting tests.
47190 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
47192         * math/gen-libm-test.pl (generate_testfile): Do not handle
47193         START_DATA and END_DATA.
47194         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
47195         END_DATA.
47196         (acos_tonearest_test_data): Likewise.
47197         (acos_towardzero_test_data): Likewise.
47198         (acos_downward_test_data): Likewise.
47199         (acos_upward_test_data): Likewise.
47200         (acosh_test_data): Likewise.
47201         (asin_test_data): Likewise.
47202         (asin_tonearest_test_data): Likewise.
47203         (asin_towardzero_test_data): Likewise.
47204         (asin_downward_test_data): Likewise.
47205         (asin_upward_test_data): Likewise.
47206         (asinh_test_data): Likewise.
47207         (atan_test_data): Likewise.
47208         (atanh_test_data): Likewise.
47209         (atan2_test_data): Likewise.
47210         (cabs_test_data): Likewise.
47211         (cacos_test_data): Likewise.
47212         (cacosh_test_data): Likewise.
47213         (carg_test_data): Likewise.
47214         (casin_test_data): Likewise.
47215         (casinh_test_data): Likewise.
47216         (catan_test_data): Likewise.
47217         (catanh_test_data): Likewise.
47218         (cbrt_test_data): Likewise.
47219         (ccos_test_data): Likewise.
47220         (ccosh_test_data): Likewise.
47221         (ceil_test_data): Likewise.
47222         (cexp_test_data): Likewise.
47223         (cimag_test_data): Likewise.
47224         (clog_test_data): Likewise.
47225         (clog10_test_data): Likewise.
47226         (conj_test_data): Likewise.
47227         (copysign_test_data): Likewise.
47228         (cos_test_data): Likewise.
47229         (cos_tonearest_test_data): Likewise.
47230         (cos_towardzero_test_data): Likewise.
47231         (cos_downward_test_data): Likewise.
47232         (cos_upward_test_data): Likewise.
47233         (cosh_test_data): Likewise.
47234         (cosh_tonearest_test_data): Likewise.
47235         (cosh_towardzero_test_data): Likewise.
47236         (cosh_downward_test_data): Likewise.
47237         (cosh_upward_test_data): Likewise.
47238         (cpow_test_data): Likewise.
47239         (cproj_test_data): Likewise.
47240         (creal_test_data): Likewise.
47241         (csin_test_data): Likewise.
47242         (csinh_test_data): Likewise.
47243         (csqrt_test_data): Likewise.
47244         (ctan_test_data): Likewise.
47245         (ctan_tonearest_test_data): Likewise.
47246         (ctan_towardzero_test_data): Likewise.
47247         (ctan_downward_test_data): Likewise.
47248         (ctan_upward_test_data): Likewise.
47249         (ctanh_test_data): Likewise.
47250         (ctanh_tonearest_test_data): Likewise.
47251         (ctanh_towardzero_test_data): Likewise.
47252         (ctanh_downward_test_data): Likewise.
47253         (ctanh_upward_test_data): Likewise.
47254         (erf_test_data): Likewise.
47255         (erfc_test_data): Likewise.
47256         (exp_test_data): Likewise.
47257         (exp_tonearest_test_data): Likewise.
47258         (exp_towardzero_test_data): Likewise.
47259         (exp_downward_test_data): Likewise.
47260         (exp_upward_test_data): Likewise.
47261         (exp10_test_data): Likewise.
47262         (exp2_test_data): Likewise.
47263         (expm1_test_data): Likewise.
47264         (fabs_test_data): Likewise.
47265         (fdim_test_data): Likewise.
47266         (finite_test_data): Likewise.
47267         (floor_test_data): Likewise.
47268         (fma_test_data): Likewise.
47269         (fma_towardzero_test_data): Likewise.
47270         (fma_downward_test_data): Likewise.
47271         (fma_upward_test_data): Likewise.
47272         (fmax_test_data): Likewise.
47273         (fmin_test_data): Likewise.
47274         (fmod_test_data): Likewise.
47275         (fpclassify_test_data): Likewise.
47276         (frexp_test_data): Likewise.
47277         (gamma_test_data): Likewise.
47278         (hypot_test_data): Likewise.
47279         (ilogb_test_data): Likewise.
47280         (isfinite_test_data): Likewise.
47281         (isgreater_test_data): Likewise.
47282         (isgreaterequal_test_data): Likewise.
47283         (isinf_test_data): Likewise.
47284         (isless_test_data): Likewise.
47285         (islessequal_test_data): Likewise.
47286         (islessgreater_test_data): Likewise.
47287         (isnan_test_data): Likewise.
47288         (isnormal_test_data): Likewise.
47289         (issignaling_test_data): Likewise.
47290         (isunordered_test_data): Likewise.
47291         (j0_test_data): Likewise.
47292         (j1_test_data): Likewise.
47293         (jn_test_data): Likewise.
47294         (ldexp_test_data): Likewise.
47295         (lgamma_test_data): Likewise.
47296         (lrint_test_data): Likewise.
47297         (lrint_tonearest_test_data): Likewise.
47298         (lrint_towardzero_test_data): Likewise.
47299         (lrint_downward_test_data): Likewise.
47300         (lrint_upward_test_data): Likewise.
47301         (llrint_test_data): Likewise.
47302         (llrint_tonearest_test_data): Likewise.
47303         (llrint_towardzero_test_data): Likewise.
47304         (llrint_downward_test_data): Likewise.
47305         (llrint_upward_test_data): Likewise.
47306         (log_test_data): Likewise.
47307         (log10_test_data): Likewise.
47308         (log1p_test_data): Likewise.
47309         (log2_test_data): Likewise.
47310         (logb_test_data): Likewise.
47311         (logb_downward_test_data): Likewise.
47312         (lround_test_data): Likewise.
47313         (llround_test_data): Likewise.
47314         (modf_test_data): Likewise.
47315         (nearbyint_test_data): Likewise.
47316         (nextafter_test_data): Likewise.
47317         (nexttoward_test_data): Likewise.
47318         (pow_test_data): Likewise.
47319         (pow_tonearest_test_data): Likewise.
47320         (pow_towardzero_test_data): Likewise.
47321         (pow_downward_test_data): Likewise.
47322         (pow_upward_test_data): Likewise.
47323         (remainder_test_data): Likewise.
47324         (remainder_tonearest_test_data): Likewise.
47325         (remainder_towardzero_test_data): Likewise.
47326         (remainder_downward_test_data): Likewise.
47327         (remainder_upward_test_data): Likewise.
47328         (remquo_test_data): Likewise.
47329         (rint_test_data): Likewise.
47330         (rint_tonearest_test_data): Likewise.
47331         (rint_towardzero_test_data): Likewise.
47332         (rint_downward_test_data): Likewise.
47333         (rint_upward_test_data): Likewise.
47334         (round_test_data): Likewise.
47335         (scalb_test_data): Likewise.
47336         (scalbn_test_data): Likewise.
47337         (scalbln_test_data): Likewise.
47338         (signbit_test_data): Likewise.
47339         (sin_test_data): Likewise.
47340         (sin_tonearest_test_data): Likewise.
47341         (sin_towardzero_test_data): Likewise.
47342         (sin_downward_test_data): Likewise.
47343         (sin_upward_test_data): Likewise.
47344         (sincos_test_data): Likewise.
47345         (sinh_test_data): Likewise.
47346         (sinh_tonearest_test_data): Likewise.
47347         (sinh_towardzero_test_data): Likewise.
47348         (sinh_downward_test_data): Likewise.
47349         (sinh_upward_test_data): Likewise.
47350         (sqrt_test_data): Likewise.
47351         (tan_test_data): Likewise.
47352         (tan_tonearest_test_data): Likewise.
47353         (tan_towardzero_test_data): Likewise.
47354         (tan_downward_test_data): Likewise.
47355         (tan_upward_test_data): Likewise.
47356         (tanh_test_data): Likewise.
47357         (tgamma_test_data): Likewise.
47358         (trunc_test_data): Likewise.
47359         (y0_test_data): Likewise.
47360         (y1_test_data): Likewise.
47361         (yn_test_data): Likewise.
47362         (significand_test_data): Likewise.
47364         * math/gen-libm-test.pl (@functions): Remove variable.
47365         (generate_testfile): Don't handle START and END lines.
47366         * math/libm-test.inc (START): New macro.
47367         (END): Likewise.
47368         (END_COMPLEX): Likewise.
47369         (acos_test): Use END macro without arguments.
47370         (acos_test_tonearest): Likewise.
47371         (acos_test_towardzero): Likewise.
47372         (acos_test_downward): Likewise.
47373         (acos_test_upward): Likewise.
47374         (acosh_test): Likewise.
47375         (asin_test): Likewise.
47376         (asin_test_tonearest): Likewise.
47377         (asin_test_towardzero): Likewise.
47378         (asin_test_downward): Likewise.
47379         (asin_test_upward): Likewise.
47380         (asinh_test): Likewise.
47381         (atan_test): Likewise.
47382         (atanh_test): Likewise.
47383         (atan2_test): Likewise.
47384         (cabs_test): Likewise.
47385         (cacos_test): Use END_COMPLEX macro without arguments.
47386         (cacosh_test): Likewise.
47387         (carg_test): Use END macro without arguments.
47388         (casin_test): Use END_COMPLEX macro without arguments.
47389         (casinh_test): Likewise.
47390         (catan_test): Likewise.
47391         (catanh_test): Likewise.
47392         (cbrt_test): Use END macro without arguments.
47393         (ccos_test): Use END_COMPLEX macro without arguments.
47394         (ccosh_test): Likewise.
47395         (ceil_test): Use END macro without arguments.
47396         (cexp_test): Use END_COMPLEX macro without arguments.
47397         (cimag_test): Use END macro without arguments.
47398         (clog_test): Use END_COMPLEX macro without arguments.
47399         (clog10_test): Likewise.
47400         (conj_test): Likewise.
47401         (copysign_test): Use END macro without arguments.
47402         (cos_test): Likewise.
47403         (cos_test_tonearest): Likewise.
47404         (cos_test_towardzero): Likewise.
47405         (cos_test_downward): Likewise.
47406         (cos_test_upward): Likewise.
47407         (cosh_test): Likewise.
47408         (cosh_test_tonearest): Likewise.
47409         (cosh_test_towardzero): Likewise.
47410         (cosh_test_downward): Likewise.
47411         (cosh_test_upward): Likewise.
47412         (cpow_test): Use END_COMPLEX macro without arguments.
47413         (cproj_test): Likewise.
47414         (creal_test): Use END macro without arguments.
47415         (csin_test): Use END_COMPLEX macro without arguments.
47416         (csinh_test): Likewise.
47417         (csqrt_test): Likewise.
47418         (ctan_test): Likewise.
47419         (ctan_test_tonearest): Likewise.
47420         (ctan_test_towardzero): Likewise.
47421         (ctan_test_downward): Likewise.
47422         (ctan_test_upward): Likewise.
47423         (ctanh_test): Likewise.
47424         (ctanh_test_tonearest): Likewise.
47425         (ctanh_test_towardzero): Likewise.
47426         (ctanh_test_downward): Likewise.
47427         (ctanh_test_upward): Likewise.
47428         (erf_test): Use END macro without arguments.
47429         (erfc_test): Likewise.
47430         (exp_test): Likewise.
47431         (exp_test_tonearest): Likewise.
47432         (exp_test_towardzero): Likewise.
47433         (exp_test_downward): Likewise.
47434         (exp_test_upward): Likewise.
47435         (exp10_test): Likewise.
47436         (exp2_test): Likewise.
47437         (expm1_test): Likewise.
47438         (fabs_test): Likewise.
47439         (fdim_test): Likewise.
47440         (finite_test): Likewise.
47441         (floor_test): Likewise.
47442         (fma_test): Likewise.
47443         (fma_test_towardzero): Likewise.
47444         (fma_test_downward): Likewise.
47445         (fma_test_upward): Likewise.
47446         (fmax_test): Likewise.
47447         (fmin_test): Likewise.
47448         (fmod_test): Likewise.
47449         (fpclassify_test): Likewise.
47450         (frexp_test): Likewise.
47451         (gamma_test): Likewise.
47452         (hypot_test): Likewise.
47453         (ilogb_test): Likewise.
47454         (isfinite_test): Likewise.
47455         (isgreater_test): Likewise.
47456         (isgreaterequal_test): Likewise.
47457         (isinf_test): Likewise.
47458         (isless_test): Likewise.
47459         (islessequal_test): Likewise.
47460         (islessgreater_test): Likewise.
47461         (isnan_test): Likewise.
47462         (isnormal_test): Likewise.
47463         (issignaling_test): Likewise.
47464         (isunordered_test): Likewise.
47465         (j0_test): Likewise.
47466         (j1_test): Likewise.
47467         (jn_test): Likewise.
47468         (ldexp_test): Likewise.
47469         (lgamma_test): Likewise.
47470         (lrint_test): Likewise.
47471         (lrint_test_tonearest): Likewise.
47472         (lrint_test_towardzero): Likewise.
47473         (lrint_test_downward): Likewise.
47474         (lrint_test_upward): Likewise.
47475         (llrint_test): Likewise.
47476         (llrint_test_tonearest): Likewise.
47477         (llrint_test_towardzero): Likewise.
47478         (llrint_test_downward): Likewise.
47479         (llrint_test_upward): Likewise.
47480         (log_test): Likewise.
47481         (log10_test): Likewise.
47482         (log1p_test): Likewise.
47483         (log2_test): Likewise.
47484         (logb_test): Likewise.
47485         (logb_test_downward): Likewise.
47486         (lround_test): Likewise.
47487         (llround_test): Likewise.
47488         (modf_test): Likewise.
47489         (nearbyint_test): Likewise.
47490         (nextafter_test): Likewise.
47491         (nexttoward_test): Likewise.
47492         (pow_test): Likewise.
47493         (pow_test_tonearest): Likewise.
47494         (pow_test_towardzero): Likewise.
47495         (pow_test_downward): Likewise.
47496         (pow_test_upward): Likewise.
47497         (remainder_test): Likewise.
47498         (remainder_test_tonearest): Likewise.
47499         (remainder_test_towardzero): Likewise.
47500         (remainder_test_downward): Likewise.
47501         (remainder_test_upward): Likewise.
47502         (remquo_test): Likewise.
47503         (rint_test): Likewise.
47504         (rint_test_tonearest): Likewise.
47505         (rint_test_towardzero): Likewise.
47506         (rint_test_downward): Likewise.
47507         (rint_test_upward): Likewise.
47508         (round_test): Likewise.
47509         (scalb_test): Likewise.
47510         (scalbn_test): Likewise.
47511         (scalbln_test): Likewise.
47512         (signbit_test): Likewise.
47513         (sin_test): Likewise.
47514         (sin_test_tonearest): Likewise.
47515         (sin_test_towardzero): Likewise.
47516         (sin_test_downward): Likewise.
47517         (sin_test_upward): Likewise.
47518         (sincos_test): Likewise.
47519         (sinh_test): Likewise.
47520         (sinh_test_tonearest): Likewise.
47521         (sinh_test_towardzero): Likewise.
47522         (sinh_test_downward): Likewise.
47523         (sinh_test_upward): Likewise.
47524         (sqrt_test): Likewise.
47525         (tan_test): Likewise.
47526         (tan_test_tonearest): Likewise.
47527         (tan_test_towardzero): Likewise.
47528         (tan_test_downward): Likewise.
47529         (tan_test_upward): Likewise.
47530         (tanh_test): Likewise.
47531         (tgamma_test): Likewise.
47532         (trunc_test): Likewise.
47533         (y0_test): Likewise.
47534         (y1_test): Likewise.
47535         (yn_test): Likewise.
47536         (significand_test): Likewise.
47538 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
47540         [BZ #15381]
47541         * libio/genops.c (_IO_no_init): Initialize wide struct info.
47543 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
47545         [BZ #14894]
47546         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
47547         __ppc_mdoio and __ppc_mdoom.
47548         * manual/platform.texi: Document new functions __ppc_yield,
47549         __ppc_mdoio and __ppc_mdoom.
47551 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
47553         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
47554         (main): Mention "tls" pseudo-hwcap is legacy.
47555         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
47557 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47559         * math/gen-libm-test.pl (parse_args): Output only string of
47560         arguments as text for test name, not full call or descriptions of
47561         tests for extra outputs.
47562         (generate_testfile): Do not pass function name to parse_args.
47563         Generate this_func variable from START.
47564         * math/libm-test.inc (struct test_f_f_data): Rename test_name
47565         field to arg_str.
47566         (struct test_ff_f_data): Likewise.
47567         (test_ff_f_data_nexttoward): Likewise.
47568         (struct test_fi_f_data): Likewise.
47569         (struct test_fl_f_data): Likewise.
47570         (struct test_if_f_data): Likewise.
47571         (struct test_fff_f_data): Likewise.
47572         (struct test_c_f_data): Likewise.
47573         (struct test_f_f1_data): Likewise.  Remove field extra_name.
47574         (struct test_fF_f1_data): Likewise.
47575         (struct test_ffI_f1_data): Likewise.
47576         (struct test_c_c_data): Rename test_name field to arg_str.
47577         (struct test_cc_c_data): Likewise.
47578         (struct test_f_i_data): Likewise.
47579         (struct test_ff_i_data): Likewise.
47580         (struct test_f_l_data): Likewise.
47581         (struct test_f_L_data): Likewise.
47582         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
47583         and extra2_name.
47584         (COMMON_TEST_SETUP): New macro.
47585         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
47586         (COMMON_TEST_CLEANUP): Likewise.
47587         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
47588         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
47589         macros.
47590         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
47591         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
47592         macros.
47593         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
47594         (RUN_TEST_fff_f): Take argument string.  Call new setup and
47595         cleanup macros.
47596         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
47597         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
47598         macros.
47599         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
47600         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
47601         macros.
47602         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47603         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
47604         cleanup macros.
47605         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47606         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
47607         cleanup macros.
47608         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47609         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
47610         cleanup macros.
47611         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47612         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
47613         macros.
47614         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
47615         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
47616         macros.
47617         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
47618         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
47619         macros.
47620         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
47621         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
47622         cleanup macros.
47623         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
47624         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
47625         cleanup macros.
47626         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
47627         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
47628         macros.
47629         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
47630         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
47631         cleanup macros.
47632         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
47633         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
47634         macros.
47635         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
47636         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
47637         macros.
47638         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
47639         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
47640         cleanup macros.
47641         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
47643 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
47645         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
47646         to _sifields.sigfault.
47647         (si_addr_lsb): Define new macro.
47648         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47649         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47650         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
47652 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
47654         [BZ #15441]
47655         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
47656         returns -1.
47657         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
47658         null return -1.
47659         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
47660         loading the domain.
47662 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47664         * math/gen-libm-test.pl (parse_args): Do not include expected
47665         result in test name.
47666         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
47667         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47668         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47669         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47670         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47673 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47675         * benchtests/Makefile: Sort function entries.
47677         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
47678         tanh, asinh, acosh, atanh.
47679         * benchtests/acos-inputs: New file.
47680         * benchtests/acosh-inputs: New file.
47681         * benchtests/asin-inputs: New file.
47682         * benchtests/asinh-inputs: New file.
47683         * benchtests/atanh-inputs: New file.
47684         * benchtests/cosh-inputs: New file.
47685         * benchtests/log-inputs: New file.
47686         * benchtests/sinh-inputs: New file.
47687         * benchtests/tanh-inputs: New file.
47689 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
47691         [BZ #15339]
47692         * posix/tst-getaddrinfo4.c: New test.
47693         * posix/Makefile (tests): Add it.
47695 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47697         [BZ #15339]
47698         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
47699         when no services were used.
47700         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
47701         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
47703 2013-05-21  Andreas Schwab  <schwab@suse.de>
47705         [BZ #15014]
47706         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
47707         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
47708         successful.
47709         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
47710         redundant variable declarations and reallocation of buffer when
47711         parsing as IPv6 address.  Always set NSS status when called from
47712         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
47713         buffer too small.  Correct computation of needed size.
47714         * nss/Makefile (tests): Add test-digits-dots.
47715         * nss/test-digits-dots.c: New test.
47717 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47719         * benchtests/Makefile: Remove instructions for adding
47720         benchmark tests.
47721         * benchtests/README: New file to explain how to execute and
47722         enhance the benchmark tests.
47724 2013-05-21  Andreas Schwab  <schwab@suse.de>
47726         [BZ #15493]
47727         * setjmp/Makefile (tests): Add tst-sigsetjmp.
47728         * setjmp/tst-sigsetjmp.c: New test.
47730 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
47732         * sysdeps/x86_64/memset.S (memset): New implementation.
47733         (__bzero): Likewise.
47734         (__memset_tail): New function.
47736 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
47738         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
47739         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
47740         __memcpy_sse2_unaligned ifunc selection.
47741         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47742         Add memcpy-sse2-unaligned.S.
47743         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47744         Add: __memcpy_sse2_unaligned.
47746 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
47748         [BZ #15490]
47749         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
47750         math_force_eval before restoring floating-point envrionment.
47751         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
47752         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
47753         Likewise.
47754         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
47755         <math_private.h>.
47756         (__nearbyintl): Use math_force_eval before restoring
47757         floating-point environment.
47758         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
47760         * math/gen-libm-test.pl (special_functions): Remove.
47761         (parse_args): Don't handle TEST_extra.  Handle functions with no
47762         return value.
47763         * math/libm-test.inc (struct test_sincos_data): Replace with
47764         struct test_fFF_11_data.
47765         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
47766         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
47767         (sincos_test_data): Change element type to struct
47768         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
47769         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
47770         RUN_TEST_LOOP_sincos.
47771         * math/README.libm-test: Don't mention special handling of
47772         individual functions.
47773         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
47774         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47775         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47776         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47777         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47780         * math/gen-libm-test.pl (get_variable): Remove function.
47781         (parse_args): Don't show pointer parameters to call in test
47782         names.  Use "extra output N" in test names for extra outputs
47783         rather than naming variables.
47785 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
47787         [BZ #15488]
47788         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
47789         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
47790         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
47791         double tests.
47792         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
47793         disable.
47794         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
47795         check_long_double.
47797         * math/gen-libm-test.pl (@tests): Remove variable.
47798         ($count): Likewise.
47799         (new_test): Remove function.
47800         (show_exceptions): New function.
47801         (special_functions): Use show_exceptions instead of new_test.
47802         (parse_args): Likewise.
47803         (generate_testfile): Pass only function name in generated call to
47804         print_max_error or print_complex_max_error.
47805         (get_ulps): Do not handle complex tests specially.
47806         (output_test): Rename to ...
47807         (get_all_ulps_for_test): ... this.  Return a string rather than
47808         printing to a file.  Require ulps to be present.
47809         (output_ulps): Generate arrays rather than #defines.
47810         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
47811         (struct ulp_data): New type.
47812         (BUILD_COMPLEX_ULP): Remove macro.
47813         (compare_ulp_data): New function.
47814         (find_ulps): Likewise.
47815         (find_test_ulps): Likewise.
47816         (find_function_ulps): Likewise.
47817         (find_complex_function_ulps): Likewise.
47818         (print_max_error): Determine allowed ulps using
47819         find_function_ulps.
47820         (print_complex_max_error): Determine allowed ulps using
47821         find_complex_function_ulps.
47822         (check_float_internal): Determine max ulps using find_test_ulps.
47823         (check_float): Do not take max_ulp parameter.  Update call to
47824         check_float_internal.
47825         (check_complex): Likewise.
47826         (check_int): Do not take max_ulp parameter.
47827         (check_long): Likewise.
47828         (check_bool): Likewise.
47829         (check_longlong): Likewise.
47830         (struct test_f_f_data): Remove max_ulp field.
47831         (struct test_ff_f_data): Likewise.
47832         (struct test_ff_f_data_nexttoward): Likewise.
47833         (struct test_fi_f_data): Likewise.
47834         (struct test_fl_f_data): Likewise.
47835         (struct test_if_f_data): Likewise.
47836         (struct test_fff_f_data): Likewise.
47837         (struct test_c_f_data): Likewise.
47838         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
47839         (struct test_fF_f1_data): Likewise.
47840         (struct test_ffI_f1_data): Likewise.
47841         (struct test_c_c_data): Remove max_ulp field.
47842         (struct test_cc_c_data): Likewise.
47843         (struct test_f_i_data): Likewise.
47844         (struct test_ff_i_data): Likewise.
47845         (struct test_f_l_data): Likewise.
47846         (struct test_f_L_data): Likewise.
47847         (struct test_sincos_data): Likewise.
47848         (RUN_TEST_f_f): Do not handle ulps.
47849         (RUN_TEST_LOOP_f_f): Likewise.
47850         (RUN_TEST_2_f): Likewise.
47851         (RUN_TEST_LOOP_2_f): Likewise.
47852         (RUN_TEST_fff_f): Likewise.
47853         (RUN_TEST_LOOP_fff_f): Likewise.
47854         (RUN_TEST_c_f): Likewise.
47855         (RUN_TEST_LOOP_c_f): Likewise.
47856         (RUN_TEST_f_f1): Likewise.
47857         (RUN_TEST_LOOP_f_f1): Likewise.
47858         (RUN_TEST_fF_f1): Likewise.
47859         (RUN_TEST_LOOP_fF_f1): Likewise.
47860         (RUN_TEST_fI_f1): Likewise.
47861         (RUN_TEST_LOOP_fI_f1): Likewise.
47862         (RUN_TEST_ffI_f1): Likewise.
47863         (RUN_TEST_LOOP_ffI_f1): Likewise.
47864         (RUN_TEST_c_c): Likewise.
47865         (RUN_TEST_LOOP_c_c): Likewise.
47866         (RUN_TEST_cc_c): Likewise.
47867         (RUN_TEST_LOOP_cc_c): Likewise.
47868         (RUN_TEST_f_i): Likewise.
47869         (RUN_TEST_LOOP_f_i): Likewise.
47870         (RUN_TEST_f_i_tg): Likewise.
47871         (RUN_TEST_LOOP_f_i_tg): Likewise.
47872         (RUN_TEST_ff_i_tg): Likewise.
47873         (RUN_TEST_LOOP_ff_i_tg): Likewise.
47874         (RUN_TEST_f_b): Likewise.
47875         (RUN_TEST_LOOP_f_b): Likewise.
47876         (RUN_TEST_f_b_tg): Likewise.
47877         (RUN_TEST_LOOP_f_b_tg): Likewise.
47878         (RUN_TEST_f_l): Likewise.
47879         (RUN_TEST_LOOP_f_l): Likewise.
47880         (RUN_TEST_f_L): Likewise.
47881         (RUN_TEST_LOOP_f_L): Likewise.
47882         (RUN_TEST_sincos): Likewise.
47883         (RUN_TEST_LOOP_sincos): Likewise.
47885 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
47887         [BZ #15480]
47888         [BZ #15485]
47889         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
47890         main case of finite arguments, set rounding mode to FE_TONEAREST
47891         and discard exceptions.
47892         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
47893         exceptions.
47894         (remainder_tonearest_test_data): New variable.
47895         (remainder_test_tonearest): New function.
47896         (remainder_towardzero_test_data): New variable.
47897         (remainder_test_towardzero): New function.
47898         (remainder_downward_test_data): New variable.
47899         (remainder_test_downward): New function.
47900         (remainder_upward_test_data): New variable.
47901         (remainder_test_upward): New function.
47902         (main): Call the new test functions.
47904         * math/libm-test.inc (struct test_f_f1_data): Remove field
47905         extra_init.
47906         (struct test_fF_f1_data): Likewise.
47907         (struct test_ffI_f1_data): Likewise.
47908         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
47909         based on value of EXTRA_EXPECTED.
47910         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47911         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
47912         EXTRA_VAR based on value of EXTRA_EXPECTED.
47913         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47914         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
47915         EXTRA_VAR based on value of EXTRA_EXPECTED.
47916         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47917         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
47918         EXTRA_VAR based on value of EXTRA_EXPECTED.
47919         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47920         * math/gen-libm-test.pl (parse_args): Don't output initializers
47921         for extra output values.
47923         * math/libm-test.inc (check_int): Expect result to be exactly
47924         equal to expected value and do not handle ulps.
47925         (check_long): Likewise.
47926         (check_longlong): Likewise.
47928         * math/libm-test.inc (ceil_test_data): Test for "inexact"
47929         exceptions.
47930         (cimag_test_data): Likewise.
47931         (conj_test_data): Likewise.
47932         (copysign_test_data): Likewise.
47933         (cproj_test_data): Likewise.
47934         (creal_test_data): Likewise.
47935         (fabs_test_data): Likewise.
47936         (fdim_test_data): Likewise.
47937         (finite_test_data): Likewise.
47938         (floor_test_data): Likewise.
47939         (fmax_test_data): Likewise.
47940         (fmin_test_data): Likewise.
47941         (fmod_test_data): Likewise.
47942         (fpclassify_test_data): Likewise.
47943         (frexp_test_data): Likewise.
47944         (ilogb_test_data): Likewise.
47945         (isfinite_test_data): Likewise.
47946         (isgreater_test_data): Likewise.
47947         (isgreaterequal_test_data): Likewise.
47948         (isinf_test_data): Likewise.
47949         (isless_test_data): Likewise.
47950         (islessequal_test_data): Likewise.
47951         (islessgreater_test_data): Likewise.
47952         (isnan_test_data): Likewise.
47953         (isnormal_test_data): Likewise.
47954         (issignaling_test_data): Likewise.
47955         (isunordered_test_data): Likewise.
47956         (ldexp_test_data): Likewise.
47957         (lrint_test_data): Likewise.
47958         (lrint_test_data) [TEST_FLOAT]: Disable one test.
47959         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
47960         (lrint_tonearest_test_data): Test for "inexact" exceptions.
47961         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47962         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
47963         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47964         test input.
47965         (lrint_towardzero_test_data): Test for "inexact" exceptions.
47966         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47967         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
47968         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
47969         that test input.
47970         (lrint_downward_test_data): Test for "inexact" exceptions.
47971         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47972         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
47973         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47974         test input.
47975         (lrint_upward_test_data): Test for "inexact" exceptions.
47976         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
47977         test input.
47978         (llrint_test_data): Test for "inexact" exceptions.
47979         (llrint_test_data) [TEST_FLOAT]: Disable one test.
47980         (llrint_tonearest_test_data): Test for "inexact" exceptions.
47981         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47982         (llrint_towardzero_test_data): Test for "inexact" exceptions.
47983         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47984         (llrint_downward_test_data): Test for "inexact" exceptions.
47985         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47986         (llrint_upward_test_data): Test for "inexact" exceptions.
47987         (logb_test_data): Likewise.
47988         (logb_downward_test_data): Likewise.
47989         (nextafter_test_data): Likewise.
47990         (nexttoward_test_data): Likewise.
47991         (remainder_test_data): Likewise.
47992         (remquo_test_data): Likewise.
47993         (scalbn_test_data): Likewise.
47994         (scalbln_test_data): Likewise.
47995         (signbit_test_data): Likewise.
47996         (sqrt_test_data): Likewise.
47997         (significand_test_data): Likewise.
47999 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48001         [BZ #15424]
48002         * benchtests/bench-modf.c (struct args): Mark arg0 as
48003         volatile.
48004         * scripts/bench.pl: Mark members of struct args as volatile.
48006 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48008         [BZ # 15497]
48009         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
48010         negative infinity on POWER6 or lower.
48011         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
48013 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
48015         [BZ #15442]
48016         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
48017         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
48018         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
48019         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
48020         (_FP_SETQNAN): New macro.
48021         (_FP_SETQNAN_SEMIRAW): Likewise.
48022         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
48023         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
48024         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
48025         (FP_EXTEND): Use _FP_FRAC_SNANP.
48026         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
48027         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
48028         into account.
48029         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48030         New macro.
48031         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48032         Likewise.
48034 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48036         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
48037         with DIVIDE_BY_ZERO_EXCEPTION.
48038         (gamma_test_data): Likewise.
48039         (lgamma_test_data): Likewise.
48040         (log_test_data): Likewise.
48041         (log10_test_data): Likewise.
48042         (log2_test_data): Likewise.
48043         (tgamma_test_data): Likewise.
48045         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
48046         (acos_test_tonearest): Likewise.
48047         (acos_test_towardzero): Likewise.
48048         (acos_test_downward): Likewise.
48049         (acos_test_upward): Likewise.
48050         (acosh_test): Likewise.
48051         (asin_test): Likewise.
48052         (asin_test_tonearest): Likewise.
48053         (asin_test_towardzero): Likewise.
48054         (asin_test_downward): Likewise.
48055         (asin_test_upward): Likewise.
48056         (asinh_test): Likewise.
48057         (atan_test): Likewise.
48058         (atanh_test): Likewise.
48059         (atan2_test): Likewise.
48060         (cabs_test): Likewise.
48061         (cacos_test): Likewise.
48062         (cacosh_test): Likewise.
48063         (casin_test): Likewise.
48064         (casinh_test): Likewise.
48065         (catan_test): Likewise.
48066         (catanh_test): Likewise.
48067         (cbrt_test): Likewise.
48068         (ccos_test): Likewise.
48069         (ccosh_test): Likewise.
48070         (cexp_test): Likewise.
48071         (clog_test): Likewise.
48072         (clog10_test): Likewise.
48073         (cos_test): Likewise.
48074         (cos_test_tonearest): Likewise.
48075         (cos_test_towardzero): Likewise.
48076         (cos_test_downward): Likewise.
48077         (cos_test_upward): Likewise.
48078         (cosh_test): Likewise.
48079         (cosh_test_tonearest): Likewise.
48080         (cosh_test_towardzero): Likewise.
48081         (cosh_test_downward): Likewise.
48082         (cosh_test_upward): Likewise.
48083         (cpow_test): Likewise.
48084         (csin_test): Likewise.
48085         (csinh_test): Likewise.
48086         (csqrt_test): Likewise.
48087         (ctan_test): Likewise.
48088         (ctan_test_tonearest): Likewise.
48089         (ctan_test_towardzero): Likewise.
48090         (ctan_test_downward): Likewise.
48091         (ctan_test_upward): Likewise.
48092         (ctanh_test): Likewise.
48093         (ctanh_test_tonearest): Likewise.
48094         (ctanh_test_towardzero): Likewise.
48095         (ctanh_test_downward): Likewise.
48096         (ctanh_test_upward): Likewise.
48097         (erf_test): Likewise.
48098         (erfc_test): Likewise.
48099         (exp_test): Likewise.
48100         (exp_test_tonearest): Likewise.
48101         (exp_test_towardzero): Likewise.
48102         (exp_test_downward): Likewise.
48103         (exp_test_upward): Likewise.
48104         (exp10_test): Likewise.
48105         (exp2_test): Likewise.
48106         (expm1_test): Likewise.
48107         (fmod_test): Likewise.
48108         (gamma_test): Likewise.
48109         (hypot_test): Likewise.
48110         (j0_test): Likewise.
48111         (j1_test): Likewise.
48112         (jn_test): Likewise.
48113         (lgamma_test): Likewise.
48114         (log_test): Likewise.
48115         (log10_test): Likewise.
48116         (log1p_test): Likewise.
48117         (log2_test): Likewise.
48118         (logb_test_downward): Likewise.
48119         (pow_test): Likewise.
48120         (pow_test_tonearest): Likewise.
48121         (pow_test_towardzero): Likewise.
48122         (pow_test_downward): Likewise.
48123         (pow_test_upward): Likewise.
48124         (remainder_test): Likewise.
48125         (remquo_test): Likewise.
48126         (sin_test): Likewise.
48127         (sin_test_tonearest): Likewise.
48128         (sin_test_towardzero): Likewise.
48129         (sin_test_downward): Likewise.
48130         (sin_test_upward): Likewise.
48131         (sincos_test): Likewise.
48132         (sinh_test): Likewise.
48133         (sinh_test_tonearest): Likewise.
48134         (sinh_test_towardzero): Likewise.
48135         (sinh_test_downward): Likewise.
48136         (sinh_test_upward): Likewise.
48137         (sqrt_test): Likewise.
48138         (tan_test): Likewise.
48139         (tan_test_tonearest): Likewise.
48140         (tan_test_towardzero): Likewise.
48141         (tan_test_downward): Likewise.
48142         (tan_test_upward): Likewise.
48143         (tanh_test): Likewise.
48144         (tgamma_test): Likewise.
48145         (y0_test): Likewise.
48146         (y1_test): Likewise.
48147         (yn_test): Likewise.
48149         * math/gen-libm-test.pl (adjust_arg): Remove function.
48150         (special_function): Remove argument $in_func.  Only handle
48151         generating output for tables of tests, not inside functions.
48152         (parse_args): Likewise.
48153         (generate_testfile): Remove variable $in_func.  Update call to
48154         parse_args.
48155         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
48156         (MINUS_ZERO_INIT): Rename macro to minus_zero.
48157         (PLUS_INFTY_INIT): Rename macro to plus_infty.
48158         (MINUS_INFTY_INIT): Rename macro to minus_infty.
48159         (QNAN_VALUE_INIT): Rename macro to qnan_value.
48160         (MAX_VALUE_INIT): Rename macro to max_value.
48161         (MIN_VALUE_INIT): Rename macro to min_value.
48162         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
48163         (plus_zero): Remove variable.
48164         (minus_zero): Likewise.
48165         (plus_infty): Likewise.
48166         (minus_infty): Likewise.
48167         (qnan_value): Likewise.
48168         (max_value): Likewise.
48169         (min_value): Likewise.
48170         (min_subnorm_value): Likewise.
48172 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48174         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
48175         uint64_t or uint32_t usage.
48176         * crypt/sha256-block.c: Likewise.
48177         * crypt/sha256-crypt.c: Likewise.
48178         * crypt/sha256.c: Likewise.
48179         * crypt/sha512-block.c: Likewise.
48180         * crypt/sha512-crypt.c: Likewise.
48181         * crypt/sha512.c: Likewise.
48182         * debug/backtrace-tst.c: Likewise.
48183         * debug/pcprofiledump.c: Likewise.
48184         * elf/cache.c: Likewise.
48185         * elf/dl-cache.c: Likewise.
48186         * elf/dl-misc.c: Likewise.
48187         * elf/dl-profile.c: Likewise.
48188         * elf/dl-support.c: Likewise.
48189         * elf/ldconfig.c: Likewise.
48190         * elf/sprof.c: Likewise.
48191         * iconv/dummy-repertoire.c: Likewise.
48192         * iconv/iconv_charmap.c: Likewise.
48193         * iconv/skeleton.c: Likewise.
48194         * iconvdata/8bit-generic.c: Likewise.
48195         * iconvdata/cp737.h: Likewise.
48196         * iconvdata/cp775.h: Likewise.
48197         * iconvdata/ibm1008.h: Likewise.
48198         * iconvdata/ibm1025.h: Likewise.
48199         * iconvdata/ibm1046.h: Likewise.
48200         * iconvdata/ibm1097.h: Likewise.
48201         * iconvdata/ibm1112.h: Likewise.
48202         * iconvdata/ibm1122.h: Likewise.
48203         * iconvdata/ibm1123.h: Likewise.
48204         * iconvdata/ibm1124.h: Likewise.
48205         * iconvdata/ibm1129.h: Likewise.
48206         * iconvdata/ibm1130.h: Likewise.
48207         * iconvdata/ibm1132.h: Likewise.
48208         * iconvdata/ibm1133.h: Likewise.
48209         * iconvdata/ibm1137.h: Likewise.
48210         * iconvdata/ibm1140.h: Likewise.
48211         * iconvdata/ibm1141.h: Likewise.
48212         * iconvdata/ibm1142.h: Likewise.
48213         * iconvdata/ibm1143.h: Likewise.
48214         * iconvdata/ibm1144.h: Likewise.
48215         * iconvdata/ibm1145.h: Likewise.
48216         * iconvdata/ibm1146.h: Likewise.
48217         * iconvdata/ibm1147.h: Likewise.
48218         * iconvdata/ibm1148.h: Likewise.
48219         * iconvdata/ibm1149.h: Likewise.
48220         * iconvdata/ibm1153.h: Likewise.
48221         * iconvdata/ibm1154.h: Likewise.
48222         * iconvdata/ibm1155.h: Likewise.
48223         * iconvdata/ibm1156.h: Likewise.
48224         * iconvdata/ibm1157.h: Likewise.
48225         * iconvdata/ibm1158.h: Likewise.
48226         * iconvdata/ibm1160.h: Likewise.
48227         * iconvdata/ibm1161.h: Likewise.
48228         * iconvdata/ibm1162.h: Likewise.
48229         * iconvdata/ibm1163.h: Likewise.
48230         * iconvdata/ibm1164.h: Likewise.
48231         * iconvdata/ibm1166.h: Likewise.
48232         * iconvdata/ibm1167.h: Likewise.
48233         * iconvdata/ibm12712.h: Likewise.
48234         * iconvdata/ibm1390.h: Likewise.
48235         * iconvdata/ibm1399.h: Likewise.
48236         * iconvdata/ibm16804.h: Likewise.
48237         * iconvdata/ibm4517.h: Likewise.
48238         * iconvdata/ibm4899.h: Likewise.
48239         * iconvdata/ibm4909.h: Likewise.
48240         * iconvdata/ibm4971.h: Likewise.
48241         * iconvdata/ibm5347.h: Likewise.
48242         * iconvdata/ibm803.h: Likewise.
48243         * iconvdata/ibm856.h: Likewise.
48244         * iconvdata/ibm901.h: Likewise.
48245         * iconvdata/ibm902.h: Likewise.
48246         * iconvdata/ibm9030.h: Likewise.
48247         * iconvdata/ibm9066.h: Likewise.
48248         * iconvdata/ibm921.h: Likewise.
48249         * iconvdata/ibm922.h: Likewise.
48250         * iconvdata/ibm9448.h: Likewise.
48251         * iconvdata/isiri-3342.h: Likewise.
48252         * iconvdata/jis0201.h: Likewise.
48253         * include/link.h: Likewise.
48254         * include/netdb.h: Likewise.
48255         * inet/check_native.c: Likewise.
48256         * inet/check_pf.c: Likewise.
48257         * inet/getipv4sourcefilter.c: Likewise.
48258         * inet/getnameinfo.c: Likewise.
48259         * inet/getsourcefilter.c: Likewise.
48260         * inet/htonl.c: Likewise.
48261         * inet/setipv4sourcefilter.c: Likewise.
48262         * inet/setsourcefilter.c: Likewise.
48263         * inet/test-inet6_opt.c: Likewise.
48264         * inet/tst-network.c: Likewise.
48265         * locale/C-collate.c: Likewise.
48266         * locale/C-ctype.c: Likewise.
48267         * locale/C-time.c: Likewise.
48268         * locale/C-translit.h: Likewise.
48269         * locale/loadarchive.c: Likewise.
48270         * locale/programs/3level.h: Likewise.
48271         * locale/programs/charmap.c: Likewise.
48272         * locale/programs/charmap.h: Likewise.
48273         * locale/programs/ld-address.c: Likewise.
48274         * locale/programs/ld-collate.c: Likewise.
48275         * locale/programs/ld-ctype.c: Likewise.
48276         * locale/programs/ld-identification.c: Likewise.
48277         * locale/programs/ld-measurement.c: Likewise.
48278         * locale/programs/ld-messages.c: Likewise.
48279         * locale/programs/ld-monetary.c: Likewise.
48280         * locale/programs/ld-name.c: Likewise.
48281         * locale/programs/ld-numeric.c: Likewise.
48282         * locale/programs/ld-paper.c: Likewise.
48283         * locale/programs/ld-telephone.c: Likewise.
48284         * locale/programs/ld-time.c: Likewise.
48285         * locale/programs/linereader.c: Likewise.
48286         * locale/programs/locale.c: Likewise.
48287         * locale/programs/locarchive.c: Likewise.
48288         * locale/programs/locfile.h: Likewise.
48289         * locale/programs/repertoire.c: Likewise.
48290         * locale/programs/simple-hash.c: Likewise.
48291         * locale/programs/simple-hash.h: Likewise.
48292         * malloc/memusage.c: Likewise.
48293         * malloc/memusagestat.c: Likewise.
48294         * nis/nis_defaults.c: Likewise.
48295         * nis/nis_hash.c: Likewise.
48296         * nis/nis_print.c: Likewise.
48297         * nis/nis_xdr.c: Likewise.
48298         * nscd/connections.c: Likewise.
48299         * nscd/hstcache.c: Likewise.
48300         * nscd/nscd_gethst_r.c: Likewise.
48301         * nscd/nscd_getserv_r.c: Likewise.
48302         * nscd/nscd_helper.c: Likewise.
48303         * nscd/servicescache.c: Likewise.
48304         * nss/makedb.c: Likewise.
48305         * nss/nss_db/db-XXX.c: Likewise.
48306         * nss/nss_db/db-initgroups.c: Likewise.
48307         * nss/nss_db/db-netgrp.c: Likewise.
48308         * nss/nss_files/files-network.c: Likewise.
48309         * nss/nss_files/files-parse.c: Likewise.
48310         * posix/bug-regex5.c: Likewise.
48311         * posix/fnmatch_loop.c: Likewise.
48312         * posix/regcomp.c: Likewise.
48313         * posix/regexec.c: Likewise.
48314         * posix/tst-rfc3484-2.c: Likewise.
48315         * posix/tst-rfc3484-3.c: Likewise.
48316         * posix/tst-rfc3484.c: Likewise.
48317         * resolv/nss_dns/dns-canon.c: Likewise.
48318         * resolv/nss_dns/dns-network.c: Likewise.
48319         * resolv/res_init.c: Likewise.
48320         * resolv/res_mkquery.c: Likewise.
48321         * resolv/tst-aton.c: Likewise.
48322         * stdlib/cxa_atexit.c: Likewise.
48323         * stdlib/cxa_finalize.c: Likewise.
48324         * stdlib/gen-fpioconst.c: Likewise.
48325         * stdlib/strtol_l.c: Likewise.
48326         * string/tst-endian.c: Likewise.
48327         * sunrpc/auth_des.c: Likewise.
48328         * sunrpc/clnt_udp.c: Likewise.
48329         * sunrpc/rtime.c: Likewise.
48330         * sunrpc/svcauth_des.c: Likewise.
48331         * sunrpc/xdr.c: Likewise.
48332         * sunrpc/xdr_intXX_t.c: Likewise.
48333         * sunrpc/xdr_rec.c: Likewise.
48334         * sysdeps/generic/ldconfig.h: Likewise.
48335         * sysdeps/generic/ldsodefs.h: Likewise.
48336         * sysdeps/generic/memusage.h: Likewise.
48337         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48338         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
48339         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
48340         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48341         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48342         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48343         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48344         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48345         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48346         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48347         * sysdeps/posix/getaddrinfo.c: Likewise.
48348         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48349         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48350         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48351         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48352         * sysdeps/powerpc/test-gettimebase.c: Likewise.
48353         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48354         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
48355         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
48356         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48357         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
48358         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48359         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48360         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
48361         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
48362         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
48363         * sysdeps/x86_64/dl-tls.h: Likewise.
48364         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
48365         * time/alt_digit.c: Likewise.
48366         * time/era.c: Likewise.
48367         * wcsmbs/tst-c16c32-1.c: Likewise.
48369 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48371         * math/libm-test.inc (struct test_sincos_data): New type.
48372         (RUN_TEST_LOOP_sincos): New macro.
48373         (sincos_test_data): New variable.
48374         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
48376 2013-05-16  Richard Henderson  <rth@redhat.com>
48378         * math/atest-exp2.c (LIMB64): New macro.
48379         (CONSTSZ): New macro.
48380         (mp_exp1, mp_exp_m1, mp_log2): New variables.
48381         (hexdig): Move ...
48382         (print_mpn_fp): ... to function scope.
48383         (read_mpn_hex): Remove.
48384         (get_log2): Remove.
48385         (exp2_mpn): Use mp_log2.
48386         (main): Use mp_exp1.
48388 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48390         * math/libm-test.inc: Remove comment about not testing "inexact"
48391         exceptions.
48392         (INEXACT_EXCEPTION): New macro.
48393         (NO_INEXACT_EXCEPTION): Likewise.
48394         (INVALID_EXCEPTION_OK): Update value.
48395         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48396         (OVERFLOW_EXCEPTION_OK): Likewise.
48397         (UNDERFLOW_EXCEPTION_OK): Likewise.
48398         (IGNORE_ZERO_INF_SIGN): Likewise.
48399         (ERRNO_UNCHANGED): Likewise.
48400         (ERRNO_EDOM): Likewise.
48401         (ERRNO_ERANGE): Likewise.
48402         (test_exceptions): Handle testing "inexact" exceptions.
48403         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
48404         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
48405         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
48406         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
48407         INEXACT_EXCEPTION.
48408         (rint_towardzero_test_data): Likewise.
48409         (rint_downward_test_data): Likewise.
48410         (rint_upward_test_data): Likewise.
48412         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
48413         with OVERFLOW_EXCEPTION.
48414         (exp10_test_data): Likewise.
48415         (exp2_test_data): Likewise.
48416         (expm1_test_data): Likewise.
48417         (lgamma_test_data): Likewise.
48418         (pow_test_data): Likewise.
48419         (tgamma_test_data): Likewise.
48420         (yn_test_data): Remove duplicate test of overflow.
48422         * math/libm-test.inc (struct test_cc_c_data): New type.
48423         (RUN_TEST_LOOP_cc_c): New macro.
48424         (cpow_test_data): New variable.
48425         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
48427         * math/libm-test.inc (struct test_f_L_data): New type.
48428         (RUN_TEST_LOOP_f_L): New macro.
48429         (llrint_test_data): New variable.
48430         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
48431         (llrint_tonearest_test_data): New variable.
48432         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
48433         (llrint_towardzero_test_data): New variable.
48434         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
48435         (llrint_downward_test_data): New variable.
48436         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
48437         (llrint_upward_test_data): New variable.
48438         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
48439         (llround_test_data): New variable.
48440         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
48442 2013-05-13  Peter Collingbourne  <pcc@google.com>
48444         * math/atest-exp2.c (get_log2): Remove const attribute.
48446 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
48448         * math/libm-test.inc (struct test_f_l_data): New type.
48449         (RUN_TEST_LOOP_f_l): New macro.
48450         (lrint_test_data): New variable.
48451         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
48452         (lrint_tonearest_test_data): New variable.
48453         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
48454         (lrint_towardzero_test_data): New variable.
48455         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
48456         (lrint_downward_test_data): New variable.
48457         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
48458         (lrint_upward_test_data): New variable.
48459         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
48460         (lround_test_data): New variable.
48461         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
48463 2013-05-15  Peter Collingbourne  <pcc@google.com>
48465         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
48466         (EXTRACT_WORDS64) Use where appropriate.
48467         (INSERT_WORDS64) Likewise.
48469         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
48470         constraints with x constraints.
48471         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
48473         * malloc/obstack.c (_obstack_compat): Add initializer.
48475 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
48477         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
48478         si_trapno and add si_addr_lsb to _sifields.sigfault.
48479         (si_trapno): Remove macro.
48480         (si_addr_lsb): Define new macro.
48481         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48483 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
48485         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
48486         instead of TEST_f_l.
48487         (llrint_test_tonearest): Likewise.
48488         (llrint_test_towardzero): Likewise.
48489         (llrint_test_downward): Likewise.
48490         (llrint_test_upward): Likewise.
48491         (llround_test): Likewise.
48493         * math/libm-test.inc (struct test_f_i_data): Add comment.
48494         (RUN_TEST_LOOP_f_b): New macro.
48495         (RUN_TEST_LOOP_f_b_tg): Likewise.
48496         (finite_test_data): New variable.
48497         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
48498         (isfinite_test_data): New variable.
48499         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48500         (isinf_test_data): New variable.
48501         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48502         (isnan_test_data): New variable.
48503         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48504         (isnormal_test_data): New variable.
48505         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48506         (issignaling_test_data): New variable.
48507         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48508         (signbit_test_data): New variable.
48509         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48511         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
48512         with INVALID_EXCEPTION.
48513         (acosh_test_data): Likewise.
48514         (asin_test_data): Likewise.
48515         (atanh_test_data): Likewise.
48516         (fmod_test_data): Likewise.
48517         (log_test_data): Likewise.
48518         (log10_test_data): Likewise.
48519         (log2_test_data): Likewise.
48520         (pow_test_data): Likewise.
48521         (sqrt_test_data): Likewise.
48522         (y0_test_data): Likewise.
48523         (y1_test_data): Likewise.
48524         (yn_test_data): Likewise.
48526         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
48527         function contents.
48529         * math/libm-test.inc (struct test_ff_i_data): New type.
48530         (RUN_TEST_LOOP_ff_i_tg): New macro.
48531         (isgreater_test_data): New variable.
48532         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48533         (isgreaterequal_test_data): New variable.
48534         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48535         (isless_test_data): New variable.
48536         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48537         (islessequal_test_data): New variable.
48538         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48539         (islessgreater_test_data): New variable.
48540         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48541         (isunordered_test_data): New variable.
48542         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48544 2013-05-14  David S. Miller  <davem@davemloft.net>
48546         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48548 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
48550         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
48552         * math/libm-test.inc (struct test_fF_f1_data): Change type of
48553         extra_test to int.
48554         (struct test_f_i_data): Change type of max_ulp to int.
48556         * math/libm-test.inc (test_ffI_f1_data): New type.
48557         (RUN_TEST_LOOP_ffI_f1): New macro.
48558         (remquo_test_data): New variable.
48559         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
48561         * setjmp/tst-setjmp-fp.c: New file.
48562         * setjmp/Makefile (tests): Add tst-setjmp-fp.
48563         (link-libm): New variable.
48564         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
48566         * math/libm-test.inc (struct test_f_i_data): New type.
48567         (RUN_TEST_LOOP_f_i): New macro.
48568         (RUN_TEST_LOOP_f_i_tg): Likewise.
48569         (fpclassify_test_data): New variable.
48570         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
48571         (ilogb_test_data): New variable.
48572         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
48574         * math/libm-test.inc (scalbln_test): Correct function name in END
48575         call.
48577         * math/libm-test.inc (struct test_f_f1_data): Add comment.
48578         (RUN_TEST_LOOP_fI_f1): New macro.
48579         (frexp_test_data): New variable.
48580         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
48582         * math/libm-test.inc (struct test_fF_f1_data): New type.
48583         (RUN_TEST_LOOP_fF_f1): New macro.
48584         (modf_test_data): New variable.
48585         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
48587         * math/libm-test.inc (struct test_f_f1_data): New type.
48588         (RUN_TEST_LOOP_f_f1): New macro.
48589         (gamma_test_data): New variable.
48590         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48591         (lgamma_test_data): New variable.
48592         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48594 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
48596         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
48597         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
48598         (main): Comment "tls" pseudo-hwcap.
48600 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
48602         * math/libm-test.inc (struct test_fl_f_data): New type.
48603         (RUN_TEST_LOOP_fl_f): New variable.
48604         (scalbln_test_data): New variable.
48605         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
48607         * math/libm-test.inc (struct test_fi_f_data): New type.
48608         (RUN_TEST_LOOP_fi_f): New macro.
48609         (ldexp_test_data): New variable.
48610         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
48611         (scalbn_test_data): New variable.
48612         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
48614         * math/libm-test.inc (struct test_c_f_data): New type.
48615         (RUN_TEST_LOOP_c_f): New macro.
48616         (cabs_test_data): New variable.
48617         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
48618         (carg_test_data): New variable.
48619         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
48620         (cimag_test_data): New variable.
48621         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
48622         (creal_test_data): New variable.
48623         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
48625         * math/libm-test.inc (struct test_if_f_data): New type.
48626         (RUN_TEST_LOOP_if_f): New macro.
48627         (jn_test_data): New variable.
48628         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
48629         (yn_test_data): New variable.
48630         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
48632         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
48634 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48636         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
48637         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
48639 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48641         * benchtests/Makefile (CPPFLAGS-nonlib): Add
48642         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
48643         (bench-deps): Add bench-timing.h.
48644         * benchtests-bench-skeleton.c: Include bench-timing.h.
48645         (main): Use TIMING_* macros instead of clock_gettime.
48646         * benchtests/bench-timing.h: New file.
48648         [BZ #14582]
48649         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
48650         Renamed from _LIB_VERSION.
48651         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
48653 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
48655         * math/libm-test.inc (struct test_fff_f_data): New type.
48656         (RUN_TEST_LOOP_fff_f): New macro.
48657         (fma_test_data): New variable.
48658         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
48659         (fma_towardzero_test_data): New variable.
48660         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
48661         (fma_downward_test_data): New variable.
48662         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
48663         (fma_upward_test_data): New variable.
48664         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
48666         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
48667         (struct test_c_c_data): New type.
48668         (RUN_TEST_LOOP_c_c): New macro.
48669         (cacos_test_data): New variable.
48670         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
48671         (cacosh_test_data): New variable.
48672         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
48673         (casin_test_data): New variable.
48674         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
48675         (casinh_test_data): New variable.
48676         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
48677         (catan_test_data): New variable.
48678         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
48679         (catanh_test_data): New variable.
48680         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
48681         (ccos_test_data): New variable.
48682         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
48683         (ccosh_test_data): New variable.
48684         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
48685         (cexp_test_data): New variable.
48686         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
48687         (clog_test_data): New variable.
48688         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
48689         (clog10_test_data): New variable.
48690         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
48691         (conj_test_data): New variable.
48692         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
48693         (cproj_test_data): New variable.
48694         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
48695         (csin_test_data): New variable.
48696         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
48697         (csinh_test_data): New variable.
48698         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
48699         (csqrt_test_data): New variable.
48700         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
48701         (ctan_test_data): New variable.
48702         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
48703         (ctan_tonearest_test_data): New variable.
48704         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48705         (ctan_towardzero_test_data): New variable.
48706         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48707         (ctan_downward_test_data): New variable.
48708         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48709         (ctan_upward_test_data): New variable.
48710         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48711         (ctanh_test_data): New variable.
48712         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
48713         (ctanh_tonearest_test_data): New variable.
48714         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48715         (ctanh_towardzero_test_data): New variable.
48716         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48717         (ctanh_downward_test_data): New variable.
48718         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48719         (ctanh_upward_test_data): New variable.
48720         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48721         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
48722         of BUILD_COMPLEX.
48724         * math/libm-test.inc (struct test_ff_f_data): New type.
48725         (struct test_ff_f_data_nexttoward): Likewise.
48726         (RUN_TEST_LOOP_2_f): New macro.
48727         (RUN_TEST_LOOP_ff_f): Likewise.
48728         (atan2_test_data): New variable.
48729         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
48730         (copysign_test_data): New variable.
48731         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
48732         (fdim_test_data): New variable.
48733         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
48734         (fmax_test_data): New variable.
48735         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
48736         (fmin_test_data): New variable.
48737         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
48738         (fmod_test_data): New variable.
48739         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
48740         (hypot_test_data): New variable.
48741         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
48742         (nextafter_test_data): New variable.
48743         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
48744         (nexttoward_test_data): New variable.
48745         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
48746         (pow_test_data): New variable.
48747         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
48748         (pow_tonearest_test_data): New variable.
48749         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
48750         (pow_towardzero_test_data): New variable.
48751         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
48752         (pow_downward_test_data): New variable.
48753         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
48754         (pow_upward_test_data): New variable.
48755         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
48756         (remainder_test_data): New variable.
48757         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
48758         (scalb_test_data): New variable.
48759         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
48760         * sysdeps/i386/fpu/libm-test-ulps: Update.
48762 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
48764         * math/libm-test.inc (fma_test): Use max_value instead of local
48765         variable fltmax.
48766         (nextafter_test): Likewise.
48768         * math/libm-test.inc (acos_towardzero_test_data): New variable.
48769         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48770         (acos_downward_test_data): New variable.
48771         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48772         (acos_upward_test_data): New variable.
48773         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48774         (acosh_test_data): New variable.
48775         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
48776         (asin_test_data): New variable.
48777         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
48778         (asin_tonearest_test_data): New variable.
48779         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48780         (asin_towardzero_test_data): New variable.
48781         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48782         (asin_downward_test_data): New variable.
48783         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48784         (asin_upward_test_data): New variable.
48785         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48786         (asinh_test_data): New variable.
48787         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
48788         (atan_test_data): New variable.
48789         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
48790         (atanh_test_data): New variable.
48791         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
48792         (cbrt_test_data): New variable.
48793         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
48794         (ceil_test_data): New variable.
48795         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
48796         (cos_test_data): New variable.
48797         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
48798         (cos_tonearest_test_data): New variable.
48799         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48800         (cos_towardzero_test_data): New variable.
48801         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48802         (cos_downward_test_data): New variable.
48803         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48804         (cos_upward_test_data): New variable.
48805         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48806         (cosh_test_data): New variable.
48807         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
48808         (cosh_tonearest_test_data): New variable.
48809         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48810         (cosh_towardzero_test_data): New variable.
48811         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48812         (cosh_downward_test_data): New variable.
48813         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48814         (cosh_upward_test_data): New variable.
48815         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48816         (erf_test_data): New variable.
48817         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
48818         (erfc_test_data): New variable.
48819         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
48820         (exp_test_data): New variable.
48821         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
48822         (exp_tonearest_test_data): New variable.
48823         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48824         (exp_towardzero_test_data): New variable.
48825         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48826         (exp_downward_test_data): New variable.
48827         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48828         (exp_upward_test_data): New variable.
48829         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48830         (exp10_test_data): New variable.
48831         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
48832         (exp2_test_data): New variable.
48833         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
48834         (expm1_test_data): New variable.
48835         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
48836         (fabs_test_data): New variable.
48837         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
48838         (floor_test_data): New variable.
48839         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
48840         (j0_test_data): New variable.
48841         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
48842         (j1_test_data): New variable.
48843         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
48844         (log_test_data): New variable.
48845         (log_test): Run tests with RUN_TEST_LOOP_f_f.
48846         (log10_test_data): New variable.
48847         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
48848         (log1p_test_data): New variable.
48849         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
48850         (log2_test_data): New variable.
48851         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
48852         (logb_test_data): New variable.
48853         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
48854         (logb_downward_test_data): New variable.
48855         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48856         (nearbyint_test_data): New variable.
48857         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
48858         (rint_test_data): New variable.
48859         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
48860         (rint_tonearest_test_data): New variable.
48861         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48862         (rint_towardzero_test_data): New variable.
48863         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48864         (rint_downward_test_data): New variable.
48865         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48866         (rint_upward_test_data): New variable.
48867         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48868         (round_test_data): New variable.
48869         (round_test): Run tests with RUN_TEST_LOOP_f_f.
48870         (sin_test_data): New variable.
48871         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
48872         (sin_tonearest_test_data): New variable.
48873         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48874         (sin_towardzero_test_data): New variable.
48875         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48876         (sin_downward_test_data): New variable.
48877         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48878         (sin_upward_test_data): New variable.
48879         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48880         (sinh_test_data): New variable.
48881         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
48882         (sinh_tonearest_test_data): New variable.
48883         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48884         (sinh_towardzero_test_data): New variable.
48885         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48886         (sinh_downward_test_data): New variable.
48887         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48888         (sinh_upward_test_data): New variable.
48889         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48890         (sqrt_test_data): New variable.
48891         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
48892         (tan_test_data): New variable.
48893         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
48894         (tan_tonearest_test_data): New variable.
48895         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48896         (tan_towardzero_test_data): New variable.
48897         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48898         (tan_downward_test_data): New variable.
48899         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48900         (tan_upward_test_data): New variable.
48901         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48902         (tanh_test_data): New variable.
48903         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
48904         (tgamma_test_data): New variable.
48905         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
48906         (trunc_test_data): New variable.
48907         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
48908         (y0_test_data): New variable.
48909         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
48910         (y1_test_data): New variable.
48911         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
48912         (significand_test_data): New variable.
48913         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
48915 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
48917         [BZ #12387]
48918         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
48920 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48922         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
48924 2013-05-10  Andreas Jaeger  <aj@suse.de>
48926         [BZ #15448]
48927         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
48928         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
48930 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
48932         * math/gen-libm-test.pl (adjust_arg): New function.
48933         (special_functions): Handle generating output in both functions
48934         and arrays.
48935         (parse_args): Likewise.
48936         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
48937         $in_func argument to parse_args.
48938         * math/libm-test.inc (struct test_f_f_data): New type.
48939         (IF_ROUND_INIT_): New macro.
48940         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
48941         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48942         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48943         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48944         (ROUND_RESTORE_): Likewise.
48945         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
48946         (ROUND_RESTORE_FE_TONEAREST): Likewise.
48947         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
48948         (ROUND_RESTORE_FE_UPWARD): Likewise.
48949         (RUN_TEST_LOOP_f_f): New macro.
48950         (acos_test_data): New variable.
48951         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
48952         (acos_tonearest_test_data): New variable.
48953         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48955 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48957         * benchtests/bench-skeleton.c (startup): Fix coding style.
48959 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
48961         [BZ #6809]
48962         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
48963         negative infinity argument.
48964         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
48965         negative infinity argument.
48966         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
48967         negative infinity argument.
48968         * math/libm-test.inc (tgamma_test): Expect errno to be set for
48969         domain errors.
48971 2013-05-10  Florian Weimer  <fweimer@redhat.com>
48973         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
48974         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
48975         * iconv/iconv_prog.c (main): Likewise.
48976         * locale/programs/charmap-dir.c (charmap_readdir)
48977         (fopen_uncompressed): Likewise.
48978         * locale/programs/locfile.c (siblings_uncached)
48979         (write_locale_data): Use lstat64 instead of lstat.
48980         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
48981         stat.
48983 2013-05-10  Andreas Jaeger  <aj@suse.de>
48985         [BZ #15395]
48986         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
48987         localization.
48988         Include <locale.h>.
48990 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
48992         * elf/dl-close.c (_dl_close_worker): Add comments.
48994 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
48996         [BZ #15359]
48997         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
48998         high part of pi/2.
48999         (__ieee754_rem_pio2l): Update comments.
49001         [BZ #15429]
49002         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
49003         high part of pi/2.
49004         (__ieee754_rem_pio2l): Update comments.
49006         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
49007         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
49009         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
49010         M_PI_4l.
49012         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
49013         (M_PI_34_LOG10El): Likewise.
49014         (M_PI2_LOG10El): Likewise.
49015         (M_PI4_LOG10El): Likewise.
49016         (M_PI_LOG10El): Likewise.
49018 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49020         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49022 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
49024         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
49025         (MINUS_ZERO_INIT): Likewise.
49026         (PLUS_INFTY_INIT): Likewise.
49027         (MINUS_INFTY_INIT): Likewise.
49028         (QNAN_VALUE_INIT): Likewise.
49029         (MAX_VALUE_INIT): Likewise.
49030         (MIN_VALUE_INIT): Likewise.
49031         (MIN_SUBNORM_VALUE_INIT): Likewise.
49032         (plus_zero): Initialize with PLUS_ZERO_INIT.
49033         (minus_zero): Initialize with MINUS_ZERO_INIT.
49034         (plus_infty): Initialize with PLUS_INFTY_INIT.
49035         (minus_infty): Initialize with MINUS_INFTY_INIT.
49036         (qnan_value): Initialize with QNAN_VALUE_INIT.
49037         (max_value): Initialize with MAX_VALUE_INIT.
49038         (min_value): Initialize with MIN_VALUE_INIT.
49039         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
49041         * math/libm-test.inc (RUN_TEST_if_f): New macro.
49042         (jn_test): Use TEST_if_f instead of TEST_ff_f.
49043         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
49044         (yn_test): Use TEST_if_f instead of TEST_ff_f.
49046         * math/libm-test.inc (RUN_TEST_f_f): New macro.
49047         (RUN_TEST_2_f): Likewise.
49048         (RUN_TEST_ff_f): Likewise.
49049         (RUN_TEST_fi_f): Likewise.
49050         (RUN_TEST_fl_f): Likewise.
49051         (RUN_TEST_fff_f): Likewise.
49052         (RUN_TEST_c_f): Likewise.
49053         (RUN_TEST_f_f1): Likewise.
49054         (RUN_TEST_fF_f1): Likewise.
49055         (RUN_TEST_fI_f1): Likewise.
49056         (RUN_TEST_ffI_f1): Likewise.
49057         (RUN_TEST_c_c): Likewise.
49058         (RUN_TEST_cc_c): Likewise.
49059         (RUN_TEST_f_i): Likewise.
49060         (RUN_TEST_f_i_tg): Likewise.
49061         (RUN_TEST_ff_i_tg): Likewise.
49062         (RUN_TEST_f_b): Likewise.
49063         (RUN_TEST_f_b_tg): Likewise.
49064         (RUN_TEST_f_l): Likewise.
49065         (RUN_TEST_f_L): Likewise.
49066         (RUN_TEST_sincos): Likewise.
49067         * math/gen-libm-test.pl (new_test): Take new argument to indicate
49068         whether to show exceptions.  Do not include ");\n" in return
49069         value.
49070         (special_functions): Output call to RUN_TEST_sincos instead of
49071         check_float calls.  Update calls to new_test.
49072         (parse_args): Output call to single RUN_TEST_* macro instead of
49073         check_* calls and other assignments.  Update calls to new_test.
49075         [BZ #2546]
49076         [BZ #2560]
49077         [BZ #5159]
49078         [BZ #15426]
49079         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
49080         input to result for tgamma overflow.
49081         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
49082         (gamma_coeff): New variable.
49083         (NCOEFF): New macro.
49084         (gamma_positive): New function.
49085         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
49086         underflow here.  Use gamma_positive instead of exp (lgamma) for
49087         other arguments.
49088         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
49089         (gamma_coeff): New variable.
49090         (NCOEFF): New macro.
49091         (gammaf_positive): New function.
49092         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
49093         underflow here.  Use gamma_positive instead of exp (lgamma) for
49094         other arguments.
49095         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
49096         (gamma_coeff): New variable.
49097         (NCOEFF): New macro.
49098         (gammal_positive): New function.
49099         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
49100         underflow here.  Use gamma_positive instead of exp (lgamma) for
49101         other arguments.
49102         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
49103         (gamma_coeff): New variable.
49104         (NCOEFF): New macro.
49105         (gammal_positive): New function.
49106         (__ieee754_gammal_r): Handle positive infinity, overflow and
49107         underflow here.  Handle NaN the same as positive infinity.  Remove
49108         check x < 0xffffffff for negative integers.  Use gamma_positive
49109         instead of exp (lgamma) for other arguments.
49110         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
49111         (gamma_coeff): New variable.
49112         (NCOEFF): New macro.
49113         (gammal_positive): New function.
49114         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
49115         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
49116         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
49117         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
49118         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
49119         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
49120         * sysdeps/generic/math_private.h (__gamma_productf): New
49121         prototype.
49122         (__gamma_product): Likewise.
49123         (__gamma_productl): Likewise.
49124         * math/Makefile (libm-calls): Add gamma_product.
49125         * math/libm-test.inc (tgamma_test): Add more tests.
49126         * sysdeps/i386/fpu/libm-test-ulps: Update.
49127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49129 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
49131         * benchtests/bench-skeleton.c (main): Preheat CPU.
49133 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
49135         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
49137 2013-05-07  Roland McGrath  <roland@hack.frob.com>
49139         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
49140         and _dl_skip_args_internal.
49142 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
49144         * manual/message.texi (Message Translation): Talk about users.
49145         Message to key mapping impacts design.
49147 2013-05-06  Roland McGrath  <roland@hack.frob.com>
49149         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
49151         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
49153         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
49154         * sysdeps/wordsize-64/glob64.c: ... here.
49156         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
49157         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
49158         New macros.
49160         * debug/getlogin_r_chk.c: Moved to ...
49161         * login/getlogin_r_chk.c: ... here.
49162         * debug/Makefile (routines): Move getlogin_r_chk to ...
49163         * login/Makefile (routines): ... here.
49164         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
49165         * login/Versions (libc: GLIBC_2.4): ... here.
49167         * io/poll.c (__poll): Renamed from poll.
49168         Add libc_hidden_def.
49169         (poll): Define as weak alias.
49171         * debug/ptsname_r_chk.c: Moved to ...
49172         * login/ptsname_r_chk.c: ... here.
49173         * debug/Makefile (routines): Move ptsname_r_chk to ...
49174         * login/Makefile (routines): ... here.
49175         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
49176         * login/Versions (libc: GLIBC_2.4): ... here.
49178         * posix/getlogin.c: Moved to ...
49179         * login/getlogin.c: ... here.
49180         * posix/getlogin_r.c: Moved to ...
49181         * login/getlogin_r.c: ... here.
49182         * posix/getlogin_r.c: Moved to ...
49183         * login/getlogin_r.c: ... here.
49184         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
49185         * login/Makefile (routines): ... here.
49186         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
49187         * login/Versions (libc: GLIBC_2.0): ... here.
49189         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
49190         (setrlimit): Define as weak alias.
49192         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
49193         Call __ names for open, ftruncate, and close.
49194         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
49195         (truncate): Define as weak alias.
49197 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
49199         * math/gen-libm-test.pl (parse_args): Initialize x before each
49200         test of frexp, modf and remquo.
49202         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
49203         test signgam value.
49205 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49207         [BZ #15418]
49208         [BZ #15419]
49209         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
49210         internal tests.
49211         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49213 2013-05-06  Roland McGrath  <roland@hack.frob.com>
49215         * elf/dl-writev.h: New file.
49216         * elf/dl-misc.c: Include it.
49217         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
49218         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
49220 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
49222         * math/libm-test.inc (noXFails): Remove variable.
49223         (noXPasses): Likewise.
49224         (BUILD_COMPLEX_INT): Remove macro.
49225         (print_screen): Remove xfail argument.
49226         (print_screen_max_error): Likewise.
49227         (update_stats): Likewise.
49228         (print_max_error): Likewise.  Update calls to other affected
49229         functions.
49230         (print_complex_max_error): Likewise.
49231         (test_single_exception): Update calls to print_screen.
49232         (test_single_errno): Likewise.
49233         (check_float_internal): Remove xfail argument.  Update calls to
49234         other affected functions.
49235         (check_float): Likewise.
49236         (check_complex): Likewise.
49237         (check_int): Likewise.
49238         (check_long): Likewise.
49239         (check_bool): Likewise.
49240         (check_longlong): Likewise.
49241         (main): Don't print noXFails and noXPasses.
49242         * math/gen-libm-test.pl (top level): Don't mention expected
49243         failure handling in comment.
49244         (new_test): Don't handle expected failures.
49245         (parse_args): Don't mention expected failure handling in comment.
49246         (generate_testfile): Don't handle expected failures.
49247         (parse_ulps): Likewise.
49248         (print_ulps_file): Likewise.
49249         (get_failure): Remove function.
49250         (output_test): Don't handle expected failures.
49251         * make/README.libm-test: Don't mention expected failure handling.
49253         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
49254         (minus_zero): Likewise.
49255         (plus_infty): Likewise.
49256         (minus_infty): Likewise.
49257         (qnan_value): Likewise.
49258         (max_value): Likewise.
49259         (min_value): Likewise.
49260         (min_subnorm_value): Likewise.
49261         (initialize): Do not initialize those variables dynamically.
49263 2013-05-03  Roland McGrath  <roland@hack.frob.com>
49265         * io/open.c (__open_2): Moved to ...
49266         * io/open_2.c: ... this new file.
49267         * io/open64.c (__open64_2): Moved to ...
49268         * io/open64_2.c: ... this new file.
49269         * io/openat.c (__openat_2): Moved to ...
49270         * io/openat_2.c: ... this new file.
49271         * io/openat64.c (__openat64_2): Moved to ...
49272         * io/openat64_2.c: ... this new file.
49273         * io/Makefile (routines): Add them.
49274         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
49275         * sysdeps/unix/sysv/linux/open_2.c: File removed.
49276         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
49277         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
49278         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
49279         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
49280         (__openat64): Add hidden_ver.
49281         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
49282         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
49284         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
49285         Separately conditionalize setting of GLRO(dl_sysinfo) so
49286         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
49287         as well, but the actual setting is only under [NEED_DL_SYSINFO].
49289 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49291         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
49292         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
49293         definition.
49294         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
49295         * sysdeps/unix/sysv/linux/powerpc/init-first.c
49296         (_libc_vdso_platform_setup): Add __vdso_time initialization.
49297         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
49298         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
49300 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
49302         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
49303         test signgam value.
49305         * math/libm-test.inc (hypot_test): Do not use
49306         IGNORE_ZERO_INF_SIGN.
49308 2013-05-03  Andreas Jaeger  <aj@suse.de>
49310         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
49311         Linux 3.9.
49312         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
49313         (PF_MAX): Adjust for VSOCK change.
49315 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49319 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
49321         [BZ #15264]
49322         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
49323         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
49324         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
49326 2013-05-02  David S. Miller  <davem@davemloft.net>
49328         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49330 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
49332         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
49334 2013-05-01  Roland McGrath  <roland@hack.frob.com>
49336         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
49338 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
49340         [BZ #14952]
49341         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
49342         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49343         Use __attribute__ ((__gnu_inline__)).
49344         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49345         Don't use __attribute__ ((__gnu_inline__)).
49347 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
49349         [BZ #15423]
49350         * math/s_catan.c (__catan): Handle small real or imaginary part of
49351         input specially to avoid spurious underflow.
49352         * math/s_catanf.c (__catanf): Likewise.
49353         * math/s_catanh.c (__catanh): Likewise.
49354         * math/s_catanhf.c (__catanhf): Likewise.
49355         * math/s_catanhl.c (__catanhl): Likewise.
49356         * math/s_catanl.c (__catanl): Likewise.
49357         * math/libm-test.inc (catan_test): Add more tests.
49358         (catanh_test): Likewise.
49359         * sysdeps/i386/fpu/libm-test-ulps: Update.
49360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49362 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49366 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
49368         [BZ #15416]
49369         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
49370         accurately for denominator in atan2.
49371         * math/s_catanf.c (__catanf): Likewise.
49372         * math/s_catanh.c (__catanh): Likewise.
49373         * math/s_catanhf.c (__catanhf): Likewise.
49374         * math/s_catanhl.c (__catanhl): Likewise.
49375         * math/s_catanl.c (__catanl): Likewise.
49376         * math/libm-test.inc (catan_test): Add more tests.
49377         (catanh_test): Likewise.
49378         * sysdeps/i386/fpu/libm-test-ulps: Update.
49379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49381 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49383         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
49385         * benchtests/Makefile (bench): Remove slow benchmarks.
49386         * benchtests/atan-inputs: Add slow benchmark inputs.
49387         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
49388         (BENCH_FUNC): Accept variant offset.
49389         (VARIANT): Define.
49390         * benchtests/bench-skeleton.c (main): Run benchmark for each
49391         variant.
49392         * benchtests/cos-inputs: Add slow benchmark inputs.
49393         * benchtests/exp-inputs: Likewise.
49394         * benchtests/pow-inputs: Likewise.
49395         * benchtests/sin-inputs: Likewise.
49396         * benchtests/slowatan-inputs: Remove.
49397         * benchtests/slowatan.c: Remove.
49398         * benchtests/slowcos-inputs: Remove.
49399         * benchtests/slowcos.c: Remove.
49400         * benchtests/slowexp-inputs: Remove.
49401         * benchtests/slowexp.c: Remove.
49402         * benchtests/slowpow-inputs: Remove.
49403         * benchtests/slowpow.c: Remove.
49404         * benchtests/slowsin-inputs: Remove.
49405         * benchtests/slowsin.c: Remove.
49406         * benchtests/slowtan-inputs: Remove.
49407         * benchtests/slowtan.c: Remove.
49408         * benchtests/tan-inputs: Add slow benchmark inputs.
49409         * scripts/bench.pl: Parse comments and directives.
49411         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
49412         in CPPFLAGS.
49413         ($(objpfx)bench-%.c): Remove *-ITER.
49414         * benchtests/bench-modf.c: Remove definition of ITER.
49415         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
49416         (main): Loop for DURATION seconds instead of fixed number of
49417         iterations.
49418         * scripts/bench.pl: Don't expect iterations in parameters.
49420 2013-04-29  Roland McGrath  <roland@hack.frob.com>
49422         * io/fchdir.c (__fchdir): Renamed from fchdir.
49423         (fchdir): Define as weak alias.
49425 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
49427         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
49428         (ERRNO_EDOM): Likewise.
49429         (ERRNO_ERANGE): Likewise.
49430         (noErrnoTests): New variable.
49431         (init_max_error): Set errno to 0.
49432         (test_single_errno): New function.
49433         (test_errno): Likewise.
49434         (check_float_internal): Call test_errno.  Set errno to 0.
49435         (check_complex): Refer to errno tests in comment.
49436         (check_int): Call test_errno.  Set errno to 0.
49437         (check_long): Likewise.
49438         (check_bool): Likewise.
49439         (check_longlong): Likewise.
49440         (cos_test): Use ERRNO_* flags for errno tests instead of
49441         check_int.
49442         (expm1_test): Likewise.
49443         (fmod_test): Likewise.
49444         (ilogb_test): Likewise.
49445         (lgamma_test): Likewise.
49446         (pow_test): Likewise.
49447         (remainder_test): Likewise.
49448         (sin_test): Likewise.
49449         (tan_test): Likewise.
49450         (yn_test): Likewise.
49451         (initialize): Set errno to 0.
49452         (main): Print number of errno tests.
49453         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
49455 2013-04-29  Andreas Jaeger  <aj@suse.de>
49457         [BZ #15084]
49458         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
49459         and RES_USEVC.
49461         [BZ #15085]
49462         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
49463         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
49464         unimplemented.
49466         [BZ #15380]
49467         * stdlib/random.c (__initstate): Return NULL if
49468         __initstate fails.
49470         [BZ #15086]
49471         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
49472         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
49473         RES_SNGLKUPREOP.
49475 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49477         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49479 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
49481         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
49482         of individual tests.
49483         (casin_test): Likewise.
49484         (casinh_test): Likewise.
49486 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
49488         [BZ #15409]
49489         * math/s_catan.c (__catan): Handle arguments with large real or
49490         imaginary part separately without squaring.
49491         * math/s_catanf.c (__catanf): Likewise.
49492         * math/s_catanh.c (__catanh): Likewise.
49493         * math/s_catanhf.c (__catanhf): Likewise.
49494         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49495         and redefine.
49496         (__catanhl): Handle arguments with large real or imaginary part
49497         separately without squaring.
49498         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49499         and redefine.
49500         (__catanl): Handle arguments with large real or imaginary part
49501         separately without squaring.
49502         * math/libm-test.inc (catan_test): Add more tests.
49503         (catanh_test): Likewise.
49504         * sysdeps/i386/fpu/libm-test-ulps: Update.
49505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49507 2013-04-27  Andreas Jaeger  <aj@suse.de>
49509         [BZ #15007]
49510         * stdlib/stdlib.h: Update guards for qecvt.
49511         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
49512         <stdlib.h>.
49514 2013-04-27  Allan McRae  <allan@archlinux.org>
49516         * sysdeps/i386/fpu/libm-test-ulps: Update.
49518 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
49520         [BZ #15406]
49521         * math/s_catan.c: Include <float.h>.
49522         (__catan): Ensure underflow exception occurs for underflowed
49523         result.
49524         * math/s_catanf.c: Include <float.h>.
49525         (__catanf): Ensure underflow exception occurs for underflowed
49526         result.
49527         * math/s_catanh.c: Include <float.h>.
49528         (__catanh): Ensure underflow exception occurs for underflowed
49529         result.
49530         * math/s_catanhf.c: Include <float.h>.
49531         (__catanhf): Ensure underflow exception occurs for underflowed
49532         result.
49533         * math/s_catanhl.c: Include <float.h>.
49534         (__catanhl): Ensure underflow exception occurs for underflowed
49535         result.
49536         * math/s_catanl.c: Include <float.h>.
49537         (__catanl): Ensure underflow exception occurs for underflowed
49538         result.
49539         * math/libm-test.inc (catan_test): Add more tests.
49540         (catanh_test): Likewise.
49542         [BZ #15405]
49543         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
49544         underflowed result.
49545         * math/s_ccoshf.c (__ccoshf): Likewise.
49546         * math/s_ccoshl.c (__ccoshl): Likewise.
49547         * math/s_csin.c (__csin): Likewise.
49548         * math/s_csinf.c (__csinf): Likewise.
49549         * math/s_csinh.c (__csinh): Likewise.
49550         * math/s_csinhf.c (__csinhf): Likewise.
49551         * math/s_csinhl.c (__csinhl): Likewise.
49552         * math/s_csinl.c (__csinl): Likewise.
49553         * math/libm-test.inc (ccos_test): Add more tests.
49554         (ccosh_test): Likewise.
49555         (csin_test): Likewise.
49556         (csinh_test): Likewise.
49558 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49560         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
49561         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
49562         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
49563         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
49564         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
49565         powerpc/power5+/fpu folders.
49566         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
49569 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
49571         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49573 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
49575         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
49576         additions to variable.
49577         [$(config-machine) = x86_64] (modules-names): Likewise.
49578         ($(objpfx)tst-audit3): Remove dependency.
49579         ($(objpfx)tst-audit3.out): Likewise.
49580         ($(objpfx)tst-audit4): Likewise.
49581         ($(objpfx)tst-audit4.out): Likewise.
49582         ($(objpfx)tst-audit5): Likewise.
49583         ($(objpfx)tst-audit5.out): Likewise.
49584         ($(objpfx)tst-audit6): Likewise.
49585         ($(objpfx)tst-audit6.out): Likewise.
49586         ($(objpfx)tst-audit7): Likewise.
49587         ($(objpfx)tst-audit7.out): Likewise.
49588         (tst-audit3-ENV): Remove variable.
49589         (tst-audit4-ENV): Likewise.
49590         (tst-audit5-ENV): Likewise.
49591         (tst-audit6-ENV): Likewise.
49592         (tst-audit7-ENV): Likewise.
49593         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
49594         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
49595         addition to variable.
49596         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
49597         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
49598         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
49599         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
49600         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
49601         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
49602         tst-audit3, tst-audit4 and tst-audit5.
49603         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
49604         tst-audit6 and tst-audit7.
49605         [$(subdir) = elf] (modules-names): Add audit modules for those
49606         tests.
49607         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
49608         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
49609         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
49610         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
49611         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
49612         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
49613         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
49614         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
49615         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
49616         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
49617         [$(subdir) = elf] (tst-audit3-ENV): New variable.
49618         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
49619         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
49620         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
49621         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
49622         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
49623         Likewise.
49624         [$(subdir) = elf && $(config-cflags-avx) = yes]
49625         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
49626         [$(subdir) = elf && $(config-cflags-avx) = yes]
49627         (CFLAGS-tst-auditmod4a.c): Likewise.
49628         [$(subdir) = elf && $(config-cflags-avx) = yes]
49629         (CFLAGS-tst-auditmod4b.c): Likewise.
49630         [$(subdir) = elf && $(config-cflags-avx) = yes]
49631         (CFLAGS-tst-auditmod6b.c): Likewise.
49632         [$(subdir) = elf && $(config-cflags-avx) = yes]
49633         (CFLAGS-tst-auditmod6c.c): Likewise.
49634         [$(subdir) = elf && $(config-cflags-avx) = yes]
49635         (CFLAGS-tst-auditmod7b.c): Likewise.
49636         * elf/tst-audit3.c: Move to ...
49637         * sysdeps/x86_64/tst-audit3.c: ... here.
49638         * elf/tst-audit4.c: Move to ...
49639         * sysdeps/x86_64/tst-audit4.c: ... here.
49640         * elf/tst-audit5.c: Move to ...
49641         * sysdeps/x86_64/tst-audit5.c: ... here.
49642         * elf/tst-audit6.c: Move to ...
49643         * sysdeps/x86_64/tst-audit6.c: ... here.
49644         * elf/tst-audit7.c: Move to ...
49645         * sysdeps/x86_64/tst-audit7.c: ... here.
49646         * elf/tst-auditmod3a.c: Move to ...
49647         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
49648         * elf/tst-auditmod3b.c: Move to ...
49649         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
49650         * elf/tst-auditmod4a.c: Move to ...
49651         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
49652         * elf/tst-auditmod4b.c: Move to ...
49653         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
49654         * elf/tst-auditmod5a.c: Move to ...
49655         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
49656         * elf/tst-auditmod5b.c: Move to ...
49657         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
49658         * elf/tst-auditmod6a.c: Move to ...
49659         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
49660         * elf/tst-auditmod6b.c: Move to ...
49661         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
49662         * elf/tst-auditmod6c.c: Move to ...
49663         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
49664         * elf/tst-auditmod7a.c: Move to ...
49665         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
49666         * elf/tst-auditmod7b.c: Move to ...
49667         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
49669 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
49671         [BZ #15366]
49672         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
49673         define unconditionally.
49674         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
49675         define unconditionally.
49676         (INT8_C, INT16_C, etc.): Likewise.
49678 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
49680         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
49681         __ehdr_start with hidden visibility.
49683         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
49685 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
49687         * math/libm-test.inc (cos_test): Use accurate hex constants.
49688         (sincost_test): Likewise.
49690 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
49692         * math/libm-test.inc (catan_test): Add more tests.
49693         (catanh_test): Likewise.
49695         * math/s_catanf.c (__catanf): Use suffixed floating-point
49696         constants.
49697         * math/s_catanhf.c (__catanhf): Likewise.
49698         * math/s_catanhl.c (__catanhl): Likewise.
49699         * math/s_catanl.c (__catanl): Likewise.
49701         [BZ #15394]
49702         * math/s_catan.c (__catan): Calculate imaginary part of result
49703         with log1p not log unless computing log of number close to 0.
49704         * math/s_catanf.c (__catanf): Likewise.
49705         * math/s_catanl.c (__catanl): Likewise.
49706         * math/s_catanh.c (__catanh): Calculate real part of result with
49707         log1p not log unless computing log of number close to 0.
49708         * math/s_catanhf.c (__catanhf): Likewise.
49709         * math/s_catanhl.c (__catanhl): Likewise.
49710         * math/libm-test.inc (catan_test): Add more tests.
49711         (catanh_test): Likewise.
49712         * sysdeps/i386/fpu/libm-test-ulps: Update.
49713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49715 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49717         * benchtests/Makefile: Mention files in which fast and slow
49718         paths of math functions are implemented.
49720 2013-04-23  Roland McGrath  <roland@hack.frob.com>
49722         * sysdeps/posix/timespec_get.c: New file.
49724 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49726         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
49727         POWER.
49728         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
49729         for POWER.
49730         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
49731         powerpc/power5/fpu folders.
49732         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
49733         * benchtests/Makefile: Add modf testcase.
49734         * benchtests/bench-modf.c: New file: Benchmark test for mo
49736 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49738         [BZ #14888]
49739         * time/Makefile (tests): Add tst-strptime-whitespace.
49740         * time/strptime_l.c (get_number): Use ISSPACE.
49741         (__strptime_internal): Likewise.
49742         * time/tst-strptime-whitespace.c: New test case.
49744 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
49746         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
49747         member.
49748         (_nss_files_init): Set it here.
49750 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
49752         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
49753         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
49754         unsigned.
49756 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
49758         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
49760 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49762         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
49763         size just once.
49765 2013-04-21  David S. Miller  <davem@davemloft.net>
49767         * po/ru.po: Update Russion translation from translation project.
49769 2013-04-17  Adam Conrad  <adconrad@0c3.net>
49771         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
49772         and setfsgid.
49774 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
49776         * configure.in: Remove i386 configure warning. Remove i386 case.
49777         * configure: Regenerate.
49778         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
49779         Add example to error message.
49780         * sysdeps/i386/configure: Regenerate.
49782 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49784         * benchtests/Makefile (bench): Add cos, tan, slowcos and
49785         slowtan.
49786         * benchtests/cos-inputs: New file.
49787         * benchtests/slowcos-inputs: New file.
49788         * benchtests/slowcos.c: New file.
49789         * benchtests/slowtan-inputs: New file.
49790         * benchtests/slowtan.c: New file.
49791         * benchtests/tan-inputs: New file.
49793 2013-04-16  Roland McGrath  <roland@hack.frob.com>
49795         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
49796         considered kosher.
49798 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49800         * benchtests/Makefile: Include cppflags-iterator.mk to add
49801         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
49803         * Makefile.in (bench-clean): New target.
49804         * benchtests/Makefile (bench-clean): Likewise.
49806 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
49808         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
49810 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
49812         * stdio-common/tstdiomisc.c: Fix coding-style violation.
49814 2013-04-15  Andreas Schwab  <schwab@suse.de>
49816         * nscd/grpcache.c (cache_addgr): Properly check for short write.
49817         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49818         * nscd/pwdcache.c (cache_addpw): Likewise.
49819         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
49820         more than recsize.
49822 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49824         * benchtests/Makefile (bench): Write all output to
49825         bench-out.tmp together.
49827 2013-04-15  Andreas Schwab  <schwab@suse.de>
49829         * nscd/nscd.c (main): Don't fork again after closing files.
49831 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49833         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
49835         * benchtests/Rules (bench-deps): Collect dependencies into a
49836         single variable.  Add Makefile to dependencies.
49837         ($(objpfx)bench-%.c): Depend on bench-deps.
49839 2013-04-12  Roland McGrath  <roland@hack.frob.com>
49840             Xavier Roche  <roche+kml2@exalead.com>
49842         [BZ #15361]
49843         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
49844         just that it's a file descriptor.
49845         * manual/llio.texi (Synchronizing AIO Operations): Update description
49846         for EBADF error from aio_fsync.
49848 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49850         * Rules (bench): Move target definition...
49851         * benchtests/Makefile: ... here.
49853 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
49855         * math/libm-test.inc (cos_test): Fix PI/2 test.
49856         (sincos_test): Likewise.
49857         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
49858         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
49860 2013-04-11  Andreas Schwab  <schwab@suse.de>
49862         [BZ #13988]
49863         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
49864         accept exponent character only when digits were seen.
49865         * stdio-common/Makefile (tests): Add bug26.
49866         * stdio-common/bug26.c: New file.
49868         [BZ #14293]
49869         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
49870         non-freeable.
49872 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49874         * Makeconfig (rtld-prefix): Define built linker prefix.
49875         * Rules (run-bench): Use it.
49876         * math/Makefile (run-regen-ulps): Likewise.
49878         * Rules (bench): Remove eval.
49880 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49881             Roland McGrath  <roland@hack.frob.com>
49882             Ondrej Bilka  <neleai@seznam.cz>
49884         [BZ #15346]
49885         * time/getdate.c: Include ctype.h and alloca.h.
49886         (__getdate_r): Trim leading and trailing spaces of input.
49887         * time/tst-getdate.c (tests): Add tests with leading and
49888         trailing spaces.
49890 2013-04-08  Roland McGrath  <roland@hack.frob.com>
49892         [BZ #14280]
49893         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
49894         when computing value.
49896 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49898         * math/README.libm-test (How can I generate "libm-test-ulps"?):
49899         Use testrun.sh to run libm tests.
49901         [BZ #15309]
49902         * elf/dl-open.c (dl_open_worker): memset all of seen array.
49904 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
49906         [BZ #15264]
49907         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
49909 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49911         * Makefile.in (regen-ulps): New target.
49912         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
49913         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
49914         [ifneq (no,$(PERL)] (regen-ulps): New target.
49915         [ifeq (no,$(PERL)] (regen-ulps): New target.
49916         * math/libm-test.inc (ulps_file_name): Define.
49917         (output_dir): New variable.
49918         (options): Add "output-dir" option.
49919         (parse_opt): Handle 'o' case.
49920         (main): If output_dir is non-NULL use it as a prefix
49921         otherwise use "".
49922         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
49924 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49926         [BZ #10060, #10062]
49927         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
49928         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
49929         fail configure if __sync_val_compare_and_swap is not inlined.
49930         * sysdeps/i386/configure: Regenerate.
49931         * configure.in: Build for i686 when configured for i386.
49932         * configure: Regenerate.
49933         * README: Remove i386 reference.
49935 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49937         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
49938         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49940 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
49942         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
49943         (lmsnanval): New variables.
49944         (F): Add conversion tests.
49945         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
49946         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
49948         * stdio-common/tstdiomisc.c (F): Properly collect individual
49949         tests' results.
49951         [BZ #14686, #15336]
49952         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
49953         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
49954         Instead, use input NaN values or generate a qNaN by arithmetic
49955         operation.  Also fix bugs to comply with the standard.
49956         * math/libm-test.inc (remainder_test): Add more tests.
49958         [BZ #15335, #15342]
49959         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
49960         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
49961         input NaN values or generate a qNaN by arithmetic operation.
49963         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
49964         unreachable code.
49966         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
49967         definitions.
49969 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
49971         [BZ #14478]
49972         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
49973         underflowed result.
49974         * math/s_cexpf.c (__cexpf): Likewise.
49975         * math/s_cexpl.c (__cexpl): Likewise.
49976         * math/libm-test.inc (cexp_test): Add more tests.
49978 2013-04-03  Andreas Schwab  <schwab@suse.de>
49980         [BZ #15330]
49981         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
49982         order arrays from heap if bigger than alloca cutoff.
49984 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
49986         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
49987         (SNAN_TESTS_double): Refer to GCC PR56831.
49988         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
49989         GCC PR56828.
49991 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49993         * Rules (bench): Move bench.out after the run is complete.
49995         * Rules (bench): Echo currently running benchmark.
49997         * benchtests/Makefile (bench): Add atan and slowatan.
49998         * benchtests/atan-inputs: New file.
49999         * benchtests/slowatan-inputs: New file.
50000         * benchtests/slowatan.c: New file.
50002         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
50003         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
50004         its value.
50006         [BZ #15305]
50007         * sysdeps/unix/sysv/linux/kernel-features.h
50008         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
50009         __ASSUME_XFS_RESTRICTED_CHOWN.
50010         * sysdeps/unix/sysv/linux/pathconf.c
50011         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
50012         Save and restore errno.
50014 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
50016         [BZ #15327]
50017         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
50018         arguments using __kernel_casinh.
50019         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
50020         arguments using __kernel_casinhf.
50021         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
50022         arguments using __kernel_casinhl.
50023         * math/libm-test.inc (cacosh_test): Add more tests.
50024         * sysdeps/i386/fpu/libm-test-ulps: Update.
50025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50027 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50029         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
50030         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
50032         * bench/Makefile (bench): Add sin and slowsin.
50033         * benchtests/sin-inputs: New file.
50034         * benchtests/slowsin-inputs: New file.
50035         * benchtests/slowsin.c: New file.
50037         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
50038         (bench): Add slowexp and slowpow.
50039         (exp-ITER): Increase iterations.
50040         (pow-ITER): Likewise.
50041         * benchtests/exp-inputs: Change input.
50042         * benchtests/pow-inputs: Likewise.
50043         * benchtests/slowexp-inputs: New file.
50044         * benchtests/slowexp.c: New file.
50045         * benchtests/slowpow-inputs: New file.
50046         * benchtests/slowpow.c: New file.
50048 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50050         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
50051         instructions.
50052         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50053         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
50054         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
50055         * benchtests/Makefile: Add rint benchtest.
50056         * benchtests/rint-inputs: Input for rint benchtest.
50058 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
50060         * Versions.def (libm): Add GLIBC_2.18.
50061         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
50062         hidden libm prototypes.
50063         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
50064         * math/Makefile (libm-calls): Add s_issignaling.
50065         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
50066         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
50067         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
50068         declaration.
50069         * math/math.h [__USE_GNU] (issignaling): New macro.
50070         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
50071         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
50072         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
50073         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
50074         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
50075         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
50076         * manual/arith.texi (issignaling): New section.
50077         * manual/libm-err-tab.pl (@all_functions): Update comment.
50078         * math/gen-libm-test.pl (parse_args): Apply special handling for
50079         issignaling.
50080         * math/libm-test.inc (print_float, issignaling_test): New
50081         functions.
50082         (check_float_internal): Add issignaling checks.
50083         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
50084         default definition.
50085         * sysdeps/powerpc/math-tests.h: New file.
50086         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
50087         tests.
50088         * math/test-snan.c (TEST_FUNC): Likewise.
50090 2013-03-30  David S. Miller  <davem@davemloft.net>
50092         * po/de.po: Update from translation team.
50094 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
50096         [BZ #10357]
50097         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50098         imaginary part less than 1.0 and real part less than 0.5
50099         specially.
50100         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50101         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50102         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
50103         (cacos_test): Add more tests.
50104         (casin_test): Likewise.
50105         (casinh_test): Likewise.
50106         * sysdeps/i386/fpu/libm-test-ulps: Update.
50107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50109 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50111         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
50112         ONE with its value.
50114         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
50115         (__pow_mp): Replace ONE and MONE with their values.
50116         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50117         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
50118         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50119         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
50120         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50121         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50123         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
50125         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
50126         (__pow_mp): Replace ZERO and MZERO with their values.
50127         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
50128         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50129         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50130         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
50131         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50132         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
50133         (__sqr): Likewise.
50135         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
50137         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
50139 2013-03-28  Roland McGrath  <roland@hack.frob.com>
50141         * include/stdlib.h [!SHARED] (__call_tls_dtors):
50142         Declare with __attribute__ ((weak)).
50143         * stdlib/exit.c (__libc_atexit) [!SHARED]:
50144         Call __call_tls_dtors only if it's not NULL.
50146 2013-03-28  Roland McGrath  <roland@hack.frob.com>
50148         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
50149         didn't do it already, then set _dl_phdr and _dl_phnum based on the
50150         magic __ehdr_start linker symbol if it's defined.
50151         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
50152         them up here if it was already done.
50154         * elf/dl-support.c (_dl_phdr): Make pointer to const.
50155         (_dl_aux_init): Use const in cast when setting it.
50156         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
50157         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
50158         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
50160         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
50161         Declare them here.
50162         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
50163         * csu/libc-tls.c: Nor here.
50164         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
50166         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
50167         (__libc_message): Never call vsyslog.
50169 2013-03-28  Alan Modra  <amodra@gmail.com>
50171         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
50172         Define as empty.
50173         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
50174         Likewise.
50176 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50178         [BZ #15214]
50179         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
50180         underflow.
50181         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50183 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50185         [BZ #15304]
50186         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
50187         Don't add gid passed as argument.
50189         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
50191 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
50193         [BZ #15307]
50194         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50195         imaginary part between 1.0 and 1.5 and real part less than 0.5
50196         specially.
50197         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50198         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50199         * math/libm-test.inc (cacos_test): Add more tests.
50200         (casin_test): Likewise.
50201         (casinh_test): Likewise.
50202         * sysdeps/i386/fpu/libm-test-ulps: Update.
50203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50205 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50207         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
50208         constants.
50209         (norm): Likewise.
50210         (denorm): Likewise.
50211         (__dbl_mp): Likewise.
50212         (add_magnitudes): Likewise.
50213         (sub_magnitudes): Likewise.
50214         (__add): Likewise.
50215         (__sub): Likewise.
50216         (__mul): Likewise.
50217         (__sqr): Likewise.
50218         (__inv): Likewise.
50219         (__dvd): Likewise.
50221         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
50222         commented code.
50223         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
50224         (__dubcos): Likewise.
50225         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
50226         (__ieee754_acos): Likewise.
50227         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
50228         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
50229         (__exp1): Likewise.
50230         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50231         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50232         (log1): Likewise.
50233         (my_log2): Likewise.
50234         (checkint): Likewise.
50235         * sysdeps/ieee754/dbl-64/e_remainder.c
50236         (__ieee754_remainder): Likewise.
50237         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50238         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
50239         (bsloww): Likewise.
50240         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50242         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50243         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
50244         MANTISSA_STORE_T to store computations on mantissa.  Use
50245         macros for rounding and division.
50246         (denorm): Likewise.
50247         (__dbl_mp): Likewise.
50248         (add_magnitudes): Likewise.
50249         (sub_magnitudes): Likewise.
50250         (__mul): Likewise.
50251         (__sqr): Likewise.
50252         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
50253         powers of two in terms of TWOPOW macro.
50254         (mp_no): Make type of mantissa as MANTISSA_T.
50255         [!RADIXI]: Define RADIXI.
50256         [!TWO52]: Define TWO52.
50257         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50259 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50261         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
50262         llroundl symbol when building for PPC32.
50264 2013-03-24  Mark H Weaver  <mhw@netris.org>
50266         * manual/arith.texi (Normalization Functions): Fix prototypes for
50267         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
50269 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50271         [BZ #13889]
50272         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
50273         high value to check if expl overflow.
50274         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
50275         to check for underflow and overflow.
50276         * math/libm-test.inc: Add exp test.
50278 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
50280         [BZ #11120]
50281         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
50282         with NOT_IN_libc.
50284 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50286         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
50287         symbol.
50289 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50291         * math/gen-libm-test.pl (parse_args, special_functions): Properly
50292         wrap blocks consisting of several statements.
50294         * sysdeps/generic/math-tests.h: New file.
50295         * sysdeps/i386/fpu/math-tests.h: Likewise.
50296         * math/test-snan.c: Include it.
50297         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
50299 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
50301         [BZ #15285]
50302         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
50303         (__ieee754_j0l): Do not improve calculations using cos of twice
50304         input for inputs above LDBL_MAX / 2.0L.
50305         (__ieee754_y0l): Likewise.
50306         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
50307         (__ieee754_j1l): Do not improve calculations using cos of twice
50308         input for inputs above LDBL_MAX / 2.0L.
50309         (__ieee754_y1l): Likewise.
50310         * math/libm-test.inc (j0_test): Add another test.
50311         (j1_test): Likewise.
50312         (y0_test): Likewise.
50313         (y1_test): Likewise.
50314         * sysdeps/i386/fpu/libm-test-ulps: Update.
50316 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50318         * Rules ($(objpfx)bench-%.c): Include code from a C source
50319         file.
50321 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
50323         [BZ #15287]
50324         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50325         imaginary part 1.0 and real part less than 0.5 specially.
50326         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50327         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50328         * math/libm-test.inc (cacos_test): Add more tests.
50329         (casin_test): Likewise.
50330         (casinh_test): Likewise.
50331         * sysdeps/i386/fpu/libm-test-ulps: Update.
50332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50334 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50336         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
50337         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
50339 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
50341         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
50342         * config.make.in (config-cflags-sse4): Remove variable.
50343         (config-cflags-avx): Likewise.
50344         (config-cflags-sse2avx): Likewise.
50345         (config-cflags-novzeroupper): Likewise.
50346         (config-asflags-i686): Likewise.
50347         (have-mfma4): Likewise.
50348         (have-as-vis3): Likewise.
50349         (MIG): Likewise.
50350         * configure.in (MIG): Do not AC_SUBST.
50351         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
50352         (libc_cv_cc_sse4): Do not AC_SUBST.
50353         (libc_cv_cc_avx): Likewise.
50354         (libc_cv_cc_sse2avx): Likewise.
50355         (libc_cv_cc_novzeroupper): Likewise.
50356         (libc_cv_cc_fma4): Likewise.
50357         (libc_cv_as_i686): Likewise.
50358         (libc_cv_sparc_as_vis3): Likewise.
50359         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
50360         LIBC_CONFIG_VAR.
50361         (config-asflags-i686): Likewise.
50362         (config-cflags-avx): Likewise.
50363         (config-cflags-sse2avx): Likewise.
50364         (have-mfma4): Likewise.
50365         (config-cflags-novzeroupper): Likewise.
50366         * sysdeps/mach/configure.in (MIG): Likewise.
50367         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
50368         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
50369         LIBC_CONFIG_VAR.
50370         (config-cflags-avx): Likewise.
50371         (config-cflags-sse2avx): Likewise.
50372         (have-mfma4): Likewise.
50373         (config-cflags-novzeroupper): Likewise.
50374         * configure: Regenerated.
50375         * sysdeps/i386/configure: Likewise.
50376         * sysdeps/mach/configure: Likewise.
50377         * sysdeps/sparc/configure: Likewise.
50378         * sysdeps/x86_64/configure: Likewise.
50380 2013-03-20  Roland McGrath  <roland@hack.frob.com>
50382         [BZ #14812]
50383         * locale/programs/localedef.c (options): Put N_ translation marker
50384         on argument names, not just descriptions.
50386 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50388         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
50390 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
50392         [BZ #14176]
50393         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
50395 2013-03-19  Roland McGrath  <roland@hack.frob.com>
50397         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
50398         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
50399         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
50400         [!BEFORE_ABORT] (before_abort): New function.
50401         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
50402         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
50403         (writev_for_fatal): New function.
50404         (WRITEV_FOR_FATAL): New macro; call that.
50405         (backtrace_and_maps): New function.
50406         (BEFORE_ABORT): New macro; call that.
50407         (struct str_list): Type removed.
50408         (__libc_message, __libc_fatal): Functions removed.
50409         Include <sysdeps/posix/libc_fatal.c> instead.
50411 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
50413         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
50414         constants.
50415         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
50416         double constants.
50418 2013-03-19  Andreas Schwab  <schwab@suse.de>
50420         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
50421         * sysdeps/gnu/configure: Regenerate.
50423         * configure.in: Substitute libc_cv_rtlddir.
50424         * configure: Regenerate.
50425         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
50426         * Makeconfig (rtlddir, inst_rtlddir): New variables.
50427         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
50428         * elf/Makefile (install-others, CFLAGS-interp.c)
50429         (ldso_install, common-ldd-rewrite): Likewise.
50430         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
50431         $(inst_slibdir)/$(rtld-installed-name).
50432         * scripts/rellns-sh: Add -p option.
50433         * Makerules (make-shlib-link): Use rellns-sh to get relative name
50434         for source.
50436 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50438         * manual/nptl.texi: Renamed to ...
50439         * manual/threads.texi: ... this.
50440         * manual/Makefile (chapters): Update.
50442 2013-03-18  Roland McGrath  <roland@hack.frob.com>
50444         [BZ #14812]
50445         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
50446         on argument names, not just descriptions.
50447         * malloc/memusagestat.c (options): Likewise.
50448         * nss/getent.c (options): Likewise.
50450 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
50452         [BZ #14812]
50453         * iconv/iconv_prog.c (options): Put N_ translation marker
50454         on argument names, not just descriptions.
50455         * iconv/iconvconfig.c (options): Likewise.
50457 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
50459         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
50460         implementation which is faster on all x86_64 architectures.
50461         Tested on AMD, Intel Nehalem, SNB, IVB.
50462         * sysdeps/x86_64/strnlen.S: Likewise.
50464         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50465         Remove all multiarch strlen and strnlen versions.
50466         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
50467         Remove strlen and strnlen related parts.
50469         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
50470         Inline strlen part.
50471         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
50473         * sysdeps/x86_64/multiarch/strlen.S: Remove.
50474         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
50475         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
50476         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
50477         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
50478         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
50480 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
50482         * manual/memory.texi (Malloc Tunable Parameters):
50483         Sort parameters alphabetically. Add comments for missing entries.
50485 2013-03-17  David S. Miller  <davem@davemloft.net>
50487         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50489 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
50491         [BZ #15283]
50492         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
50493         for arguments at most half maximum finite value.
50494         * math/libm-test.inc (j0_test): Add more tests.
50495         (j1_test): Likewise.
50496         (y0_test): Likewise.
50497         (y1_test): Likewise.
50498         * sysdeps/i386/fpu/libm-test-ulps: Update.
50499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50501         [BZ #14155]
50502         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
50503         1 / x and functions P and Q for arguments above 0x1p256L.
50504         (__ieee754_y0l): Likewise.
50505         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
50506         (__ieee754_y1l): Likewise.
50507         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
50508         (j1_test): Likewise.
50509         (y0_test): Likewise.
50510         (y1_test): Likewise.
50512 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
50514         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
50515         variable.
50517 2013-03-15  Roland McGrath  <roland@hack.frob.com>
50519         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
50520         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
50521         zero since it's initialized to EXEC_PAGESIZE.
50523         * sysdeps/unix/sysv/linux/ldsodefs.h
50524         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
50525         * sysdeps/generic/ldsodefs.h: ... here.
50527 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
50529         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
50531         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
50532         math/test-snan.c.
50533         * math/test-snan.c: Renamed from
50534         sysdeps/powerpc/fpu/test-powerpc-snan.c.
50535         * math/Makefile (tests): Add test-snan.
50536         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
50537         test-powerpc-snan.
50539         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
50540         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
50541         functions.
50542         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
50543         __builtin_nan family of functions.
50544         * math/libm-test.inc (initialize): Initialize qnan_value with
50545         __builtin_nan family of functions.
50546         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
50547         Remove variables.
50548         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
50549         Remove functions.
50550         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
50551         storage class.  Initialize qNaN_var and sNaN_var with
50552         __builtin_nan and __builtin_nans families of functions,
50553         respectively.
50555         * math/libm-test.inc (acosh_test): Also test with qNaN input.
50556         (sqrt_test): Remove duplicate test with qNaN input.
50557         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
50558         (round_test, signbit_test, significand_test): Note missing +/-Inf
50559         as well as qNaN tests.
50561         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
50562         qNaN_var.  Fix a few strings, too.
50563         * math/libm-test.inc (nan_value): Rename to qnan_value.
50564         * math/gen-libm-test.pl (%beautify): Adjust to that.
50565         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
50566         * math/test-misc.c (main): Likewise.
50567         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
50568         to __qnan_bytes, and __qnan_union, respectively.
50569         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
50570         Likewise.
50571         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
50572         and lqnanval, respectively.
50573         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
50574         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
50575         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
50576         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
50578         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
50579         * math/test-misc.c (main) [__x86_64__]: Enable test for long
50580         doubles.
50582         * math/test-misc.c (main): Fix copy'n'pastos.
50583         * misc/tst-efgcvt.c (special): Likewise.
50585         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
50586         Remove declarations.
50588 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50590         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
50591         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
50592         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
50593         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
50595 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50597         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
50598         macro to return vdso values correctly in IFUNC implementations.
50599         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
50600         Optimization by using IFUNC.
50602 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50603             Richard Henderson  <rth@redhat.com>
50604             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50606         * Makefile.in (bench): New target.
50607         * NEWS: Mention the benchmark framework.
50608         * Rules (bench): Likewise.
50609         (binaries-bench): Generate binaries for functions to
50610         benchmark.
50611         * benchtests/Makefile: New makefile for benchmark tests.
50612         * benchtests/bench-skeleton.c: New skeleton file for benchmark
50613         programs.
50614         * benchtests/exp-inputs: New input file for EXP function.
50615         * benchtests/pow-inputs: New input file for POW function.
50616         * scripts/bench.pl: New script to generate source files for
50617         benchmark programs.
50619 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50621         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50622         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
50623         computations on mantissa.  Use macros for rounding and
50624         division.
50625         (denorm): Likewise.
50626         (__dbl_mp): Likewise.
50627         (add_magnitudes): Likewise.
50628         (sub_magnitudes): Likewise.
50629         (__mul): Likewise.
50630         (__sqr): Likewise.
50631         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
50632         powers of two in terms of TWOPOW macro.
50633         (mp_no): Make type of mantissa as MANTISSA_T.
50634         [!RADIXI]: Define RADIXI.
50635         [!TWO52]: Define TWO52.
50636         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50638         * manual/nptl.texi (cindex): Modify threads to pthreads.
50640 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
50642         * sysdeps/x86_64/preconfigure: Regenerated.
50644 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
50646         [BZ #14155]
50647         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
50648         0x1p28 and above.
50649         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
50650         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
50651         0x1p28 and above.
50652         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
50653         * math/libm-test.inc (j0_test): Do not allow one spurious
50654         underflow exception.
50655         (y1_test): Likewise.
50657 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50659         * manual/Makefile (chapters): Add nptl.
50660         * manual/debug.texi (Debugging Support): Add link to Threads
50661         chapter.
50662         * manual/nptl.texi: New file.
50664         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
50666 2013-03-14  Petr Baudis  <pasky@ucw.cz>
50668         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
50669         for non-NULL pointer before the memory validity test. Pointed
50670         out by Holger Brunck <holger.brunck@keymile.com>.
50672 2013-03-13  Andreas Schwab  <schwab@suse.de>
50674         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
50675         instead of .os.
50677 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
50679         * timezone/zic.c: Update from tzcode 2013b.
50681 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
50683         * manual/install.texi (Configuring and compiling):
50684         Mention i686 and i586.
50685         * INSTALL: Regenerate.
50687 2013-03-12  Roland McGrath  <roland@hack.frob.com>
50689         * sysdeps/init_array/elf-init.c: New file.
50690         * csu/elf-init.c
50691         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
50692         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
50694         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
50695         __gmon_start__ as global, but as static with a .preinit_array pointer.
50696         * sysdeps/init_array/gmon-start.c: New file.  Use that.
50697         * sysdeps/init_array/crti.S: New file, empty except for comments.
50698         * sysdeps/init_array/crtn.S: Likewise.
50700 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
50702         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
50703         definining bcopy.
50704         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50705         Remove Prefer_SSE_for_memop.
50706         * sysdeps/x86_64/multiarch/init-arch.h: Remove
50707         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
50708         HAS_PREFER_SSE_FOR_MEMOP.
50709         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
50710         memset-x86-64.
50711         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50712         Remove bzero, memset ifunc support.
50713         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
50714         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
50715         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50716         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50718 2013-03-11  Andreas Schwab  <schwab@suse.de>
50720         [BZ #15234]
50721         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
50722         by SHLIB_COMPAT.
50723         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
50724         (GLIBC_2.16): Remove pthread_atfork.
50726 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
50728         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
50729         (ptestcases.h): Likewise.
50731 2013-03-08  Roland McGrath  <roland@hack.frob.com>
50733         * Makeconfig ($(common-objpfx)config.status): Depend on
50734         sysdeps/*/preconfigure{,.in} too.
50736 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
50738         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
50739         (__free_hook): Use void * instead of __malloc_ptr_t.
50740         (__malloc_hook): Likewise.
50741         (__realloc_hook): Likewise.
50742         (__memalign_hook): Likewise.
50743         (__after_morecore_hook): Likewise.
50744         * malloc/arena.c (save_malloc_hook): Likewise.
50745         (save_free_hook): Likewise.
50746         * malloc/hooks.c (malloc_hook_ini): Likewise.
50747         (realloc_hook_ini): Likewise.
50748         (memalign_hook_ini): Likewise.
50749         * malloc/malloc.c (malloc_hook_ini): Likewise.
50750         (realloc_hook_ini): Likewise.
50751         (memalign_hook_ini): Likewise.
50752         (__free_hook): Likewise.
50753         (__malloc_hook): Likewise.
50754         (__realloc_hook): Likewise.
50755         (__memalign_hook): Likewise.
50756         (__libc_malloc): Likewise.
50757         (__libc_free): Likewise.
50758         (__libc_realloc): Likewise.
50759         (__libc_memalign): Likewise.
50760         (__libc_valloc): Likewise.
50761         (__libc_pvalloc): Likewise.
50762         (__libc_calloc): Likewise.
50763         (__posix_memalign): Likewise.
50764         * malloc/morecore.c (__sbrk): Likewise.
50765         (__default_morecore): Likewise.
50767         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
50769         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
50770         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
50771         __malloc_ptrdiff_t.
50773         * malloc/malloc.h (__malloc_size_t): Remove macro.
50774         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
50775         __malloc_size_t.
50776         (old_memalign_hook): Likewise.
50777         (old_realloc_hook): Likewise.
50778         (struct hdr): Likewise.
50779         (flood): Likewise.
50780         (mallochook): Likewise.
50781         (memalignhook): Likewise.
50782         (reallochook): Likewise.
50783         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
50784         (tr_old_realloc_hook): Likewise.
50785         (tr_old_memalign_hook): Likewise.
50786         (tr_mallochook): Likewise.
50787         (tr_reallochook): Likewise.
50788         (tr_memalignhook): Likewise.
50790 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50792         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
50793         default_ldbl_pack and using as default implementation.
50794         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
50795         implementation.
50796         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
50797         redundant definition.
50798         (ldbl_insert_mantissa): Likewise.
50799         (ldbl_canonicalize): Likewise.
50800         (ldbl_nearbyint): Likewise.
50801         (ldbl_pack): Rename to ldbl_pack_ppc.
50802         (ldbl_unpack): Rename to ldbl_unpack_ppc.
50803         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
50804         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
50806 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
50808         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
50809         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
50810         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
50811         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
50812         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
50813         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
50814         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
50815         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
50817 2013-03-07  Andreas Jaeger  <aj@suse.de>
50819         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50820         bits/mman-linux.h.
50822 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
50824         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
50825         Include mpa.h and declare __MPEXP.
50826         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
50827         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50828         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50829         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
50830         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50831         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50832         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
50834         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
50835         (__slowpow): Use long double EXPL and LOGL functions to
50836         compute POW.
50837         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50838         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50839         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
50840         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50841         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50842         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
50844         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
50845         intermediate variable to calculate exponent.
50846         (__sqr): Likewise.
50847         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
50848         Likewise.
50849         (__sqr): Likewise.
50851         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
50852         [!NO__SQR]: Define __sqr.
50853         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
50854         and NO__SQR.  Remove all code except __mul and __sqr.  Include
50855         sysdeps/ieee754/dbl-64/mpa.c.
50856         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50858         [BZ #12723]
50859         * posix/Makefile (tests): Add tst-pathconf.
50860         * posix/tst-pathconf.c: New test case.
50861         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
50862         _PC_PIPE_BUF.
50863         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
50865 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
50867         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
50869 2013-03-06  Andreas Jaeger  <aj@suse.de>
50871         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
50872         definition via __MAP_ANONYMOUS.
50874         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
50875         it's not part of Linux headers.
50877         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
50878         (MAP_HUGE_MASK): Define.
50880         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50881         Define.
50882         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50883         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50884         Define.
50885         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50886         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50887         Define.
50888         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50889         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
50890         Define.
50891         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50893         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
50894         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
50895         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
50896         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
50897         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
50898         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
50900         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50901         Handle f2fs.
50903         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50904         Handle f2fs and efivarfs.
50906         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
50907         f2fs.
50909         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
50910         (EFIVARFS_MAGIC): Add.
50911         (F2FS_LINK_MAX): Add.
50913 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50915         * stdio-common/vfprintf.c: Replace __builtin_expect with
50916         __glibc_unlikely.
50918 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
50920         [BZ #13550]
50921         * sysdeps/generic/bp-sym.h: Remove file.
50922         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
50923         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
50924         <bp-sym.h> and <bp-asm.h>.
50925         (__longjmp): Don't use BP_SYM.
50926         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
50927         and <bp-asm.h>.
50928         (memcpy): Don't use BP_SYM.
50929         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
50930         <bp-sym.h> and <bp-asm.h>.
50931         (memcpy): Don't use BP_SYM.
50932         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
50933         <bp-asm.h>.
50934         (memcpy): Don't use BP_SYM.
50935         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
50936         <bp-asm.h>.
50937         (memset): Don't use BP_SYM.
50938         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50939         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50940         (__bzero): Don't use BP_SYM.
50941         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50942         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50943         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
50944         <bp-sym.h> and <bp-asm.h>.
50945         (memcmp): Don't use BP_SYM.  Remove comment about bounded
50946         pointers.
50947         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
50948         <bp-sym.h> and <bp-asm.h>.
50949         (memcpy): Don't use BP_SYM.
50950         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
50951         <bp-sym.h> and <bp-asm.h>.
50952         (memset): Don't use BP_SYM.
50953         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50954         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50955         (__bzero): Don't use BP_SYM.
50956         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50957         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50958         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
50959         <bp-sym.h> and <bp-asm.h>.
50960         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50961         pointers.
50962         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
50963         <bp-sym.h> and <bp-asm.h>.
50964         (memcpy): Don't use BP_SYM.
50965         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
50966         <bp-sym.h> and <bp-asm.h>.
50967         (memset): Don't use BP_SYM.
50968         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50969         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50970         (__bzero): Don't use BP_SYM.
50971         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50972         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50973         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
50974         <bp-sym.h> and <bp-asm.h>.
50975         (__memchr): Don't use BP_SYM.
50976         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
50977         <bp-sym.h> and <bp-asm.h>.
50978         (memcmp): Don't use BP_SYM.  Remove comment about bounded
50979         pointers.
50980         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
50981         <bp-sym.h> and <bp-asm.h>.
50982         (memcpy): Don't use BP_SYM.
50983         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
50984         <bp-sym.h> and <bp-asm.h>.
50985         (__mempcpy): Don't use BP_SYM.
50986         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
50987         <bp-sym.h> and <bp-asm.h>.
50988         (__memrchr): Don't use BP_SYM.
50989         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
50990         <bp-sym.h> and <bp-asm.h>.
50991         (memset): Don't use BP_SYM.
50992         (__bzero): Likewise.
50993         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
50994         <bp-sym.h> and <bp-asm.h>.
50995         (__rawmemchr): Don't use BP_SYM.
50996         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
50997         <bp-sym.h> and <bp-asm.h>.
50998         (__STRCMP): Don't use BP_SYM.
50999         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
51000         <bp-sym.h> and <bp-asm.h>.
51001         (strchr): Don't use BP_SYM.
51002         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
51003         <bp-sym.h> and <bp-asm.h>.
51004         (__strchrnul): Don't use BP_SYM.
51005         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
51006         <bp-sym.h> and <bp-asm.h>.
51007         (strlen): Don't use BP_SYM.
51008         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
51009         <bp-sym.h> and <bp-asm.h>.
51010         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51011         pointers.
51012         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
51013         <bp-sym.h> and <bp-asm.h>.
51014         (__strnlen): Don't use BP_SYM.
51015         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
51016         <bp-sym.h> and <bp-asm.h>.
51017         (__GI__setjmp): Don't use BP_SYM.
51018         (_setjmp): Likewise.
51019         (__sigsetjmp): Likewise.
51020         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
51021         (L(start_addresses)): Don't use BP_SYM.
51022         (_start): Likewise.
51023         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
51024         <bp-asm.h>.
51025         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
51026         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
51027         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51028         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51029         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
51030         <bp-asm.h>.
51031         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
51032         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
51033         about bounded pointers.
51034         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51035         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51036         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
51037         <bp-asm.h>.
51038         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
51039         about bounded pointers.  Remove GKM FIXME comments.
51040         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51041         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
51042         <bp-asm.h>.
51043         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
51044         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
51045         Remove GKM FIXME comments.
51046         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51047         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51048         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
51049         <bp-asm.h>.
51050         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
51051         about bounded pointers.  Remove GKM FIXME comment.
51052         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
51053         and <bp-asm.h>.
51054         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51055         pointers.
51056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
51057         <bp-sym.h> and <bp-asm.h>.
51058         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
51060         <bp-sym.h> and <bp-asm.h>.
51061         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
51062         comment.
51064 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
51066         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
51067         call free(NULL).
51069 2013-03-05  David S. Miller  <davem@davemloft.net>
51071         * po/es.po: Update from translation team.
51073 2013-03-05  Andreas Jaeger  <aj@suse.de>
51075         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
51076         <bits/mman-linux.h>.
51077         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51078         is fine.
51079         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
51080         <bits/mman-linux.h> to end of file.
51081         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51082         is fine.
51083         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
51084         <bits/mman-linux.h> to end of file.
51085         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51086         is fine.
51087         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
51088         <bits/mman-linux.h> to end of file.
51090         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
51091         (MCL_CURRENT, MCL_FUTURE): Define here.
51093 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51095         [BZ #15232]
51096         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
51097         attribute_hidden.
51098         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
51100 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51102         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
51103         fourth parameter needed for rt_sigprocmask syscall.
51104         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
51105         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
51106         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
51107         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
51108         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
51109         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
51111 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
51113         [BZ #13550]
51114         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
51115         comment about bounded pointers.
51116         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
51117         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
51119 2013-03-04  Andreas Jaeger  <aj@suse.de>
51121         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
51122         common definitions.
51124         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
51125         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
51126         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
51127         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51128         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51129         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51131 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51133         [BZ #15055]
51134         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
51135         __ieee754_sqrl instead of __sqrl.
51137 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
51139         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
51140         * sysdeps/powerpc/fpu_control.h: ... here.
51141         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
51142         * sysdeps/powerpc/bits/fenvinline.h: ... here.
51143         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
51144         * sysdeps/powerpc/bits/mathinline.h: ... here.
51146 2013-03-01  Roland McGrath  <roland@hack.frob.com>
51148         * elf/dl-hwcaps.c (_dl_important_hwcaps):
51149         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
51150         to just [NEED_DL_SYSINFO_DSO].
51151         * elf/dl-support.c: Likewise.
51152         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
51153         * elf/rtld.c (dl_main): Likewise.
51154         * elf/setup-vdso.h (setup_vdso): Likewise.
51155         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
51156         * sysdeps/unix/sysv/linux/dl-sysdep.c
51157         (_dl_discover_osversion): Likewise.
51159 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
51161         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
51162         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
51164 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
51166         * NEWS: Mention libm performance improvements and non-x86 PI
51167         futex support.
51169         * csu/libc-start.c (__pthread_initialize_minimal): Change
51170         function arguments.
51171         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
51173 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
51175         [BZ #13550]
51176         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
51177         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
51178         <bp-sym.h> and <bp-asm.h>.
51179         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51180         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
51181         and <bp-asm.h>.
51182         (memcpy): Don't use BP_SYM.
51183         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
51184         <bp-asm.h>.
51185         (__mpn_add_n): Don't use BP_SYM.
51186         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
51187         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
51188         and <bp-asm.h>.
51189         (__mpn_addmul_1): Don't use BP_SYM.
51190         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51191         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
51192         <bp-sym.h>.
51193         (_setjmp): Don't use BP_SYM.
51194         (__novmx_setjmp): Likewise.
51195         (__GI__setjmp): Likewise.
51196         (__vmx_setjmp): Likewise.
51197         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
51198         <bp-sym.h>.
51199         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
51200         (__bzero): Don't use BP_SYM.
51201         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51202         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51203         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
51204         <bp-sym.h> and <bp-asm.h>.
51205         (memcpy): Don't use BP_SYM.
51206         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
51207         <bp-sym.h> and <bp-asm.h>.
51208         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51209         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
51210         <bp-sym.h> and <bp-asm.h>.
51211         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51212         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
51213         <bp-asm.h>.
51214         (__mpn_lshift): Don't use BP_SYM.
51215         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51216         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
51217         <bp-asm.h>.
51218         (memset): Don't use BP_SYM.
51219         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51220         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51221         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
51222         <bp-asm.h>.
51223         (__mpn_mul_1): Don't use BP_SYM.
51224         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51225         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
51226         <bp-sym.h> and <bp-asm.h>.
51227         (memcmp): Don't use BP_SYM.
51228         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
51229         <bp-sym.h> and <bp-asm.h>.
51230         (memcpy): Don't use BP_SYM.
51231         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
51232         <bp-sym.h> and <bp-asm.h>.
51233         (memset): Don't use BP_SYM.
51234         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
51235         <bp-sym.h> and <bp-asm.h>.
51236         (strncmp): Don't use BP_SYM.
51237         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
51238         <bp-sym.h> and <bp-asm.h>.
51239         (memcpy): Don't use BP_SYM.
51240         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
51241         <bp-sym.h> and <bp-asm.h>.
51242         (memset): Don't use BP_SYM.
51243         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
51244         <bp-sym.h> and <bp-asm.h>.
51245         (__memchr): Don't use BP_SYM.
51246         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
51247         <bp-sym.h> and <bp-asm.h>.
51248         (memcmp): Don't use BP_SYM.
51249         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
51250         <bp-sym.h> and <bp-asm.h>.
51251         (memcpy): Don't use BP_SYM.
51252         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
51253         <bp-sym.h> and <bp-asm.h>.
51254         (__mempcpy): Don't use BP_SYM.
51255         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
51256         <bp-sym.h> and <bp-asm.h>.
51257         (__memrchr): Don't use BP_SYM.
51258         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
51259         <bp-sym.h> and <bp-asm.h>.
51260         (memset): Don't use BP_SYM.
51261         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
51262         <bp-sym.h> and <bp-asm.h>.
51263         (__rawmemchr): Don't use BP_SYM.
51264         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
51265         <bp-sym.h> and <bp-asm.h>.
51266         (__STRCMP): Don't use BP_SYM.
51267         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
51268         <bp-sym.h> and <bp-asm.h>.
51269         (strchr): Don't use BP_SYM.
51270         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
51271         <bp-sym.h> and <bp-asm.h>.
51272         (__strchrnul): Don't use BP_SYM.
51273         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
51274         <bp-sym.h> and <bp-asm.h>.
51275         (strlen): Don't use BP_SYM.
51276         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
51277         <bp-sym.h> and <bp-asm.h>.
51278         (strncmp): Don't use BP_SYM.
51279         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
51280         <bp-sym.h> and <bp-asm.h>.
51281         (__strnlen): Don't use BP_SYM.
51282         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
51283         <bp-asm.h>.
51284         (__mpn_rshift): Don't use BP_SYM.
51285         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51286         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
51287         <bp-sym.h> and <bp-asm.h>.
51288         (__sigsetjmp): Don't use BP_SYM.
51289         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
51290         (L(start_addresses)): Don't use BP_SYM.
51291         (_start): Likewise.
51292         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
51293         <bp-asm.h>.
51294         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
51295         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51296         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51297         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
51298         <bp-asm.h>.
51299         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
51300         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51301         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51302         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
51303         <bp-asm.h>.
51304         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
51305         comments.
51306         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51307         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
51308         <bp-asm.h>.
51309         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
51310         FIXME comments.
51311         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51312         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51313         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
51314         <bp-asm.h>.
51315         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
51316         comment.
51317         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
51318         and <bp-asm.h>.
51319         (strncmp): Don't use BP_SYM,
51320         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
51321         <bp-asm.h>.
51322         (__mpn_sub_n): Don't use BP_SYM.
51323         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51324         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
51325         and <bp-asm.h>.
51326         (__mpn_submul_1): Don't use BP_SYM.
51327         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
51329         <bp-sym.h> and <bp-asm.h>.
51330         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
51332         <bp-sym.h> and <bp-asm.h>.
51333         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
51334         comment.
51336 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51338         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
51339         Use ZK to minimize writes to Z.
51340         (sub_magnitudes): Simplify code a bit.
51341         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
51342         Use ZK to minimize writes to Z.
51343         (sub_magnitudes): Simplify code a bit.
51345 2013-02-27  Roland McGrath  <roland@hack.frob.com>
51347         * csu/gmon-start.c: Add special exception to license text.
51349 2013-02-27  Richard Henderson  <rth@redhat.com>
51351         * scripts/config.guess: Update from config.git.
51352         * scripts/config.sub: Likewise.
51354 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51356         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
51358         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
51360         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
51362         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
51364         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
51366 2013-02-26  Roland McGrath  <roland@hack.frob.com>
51368         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
51369         [$(build-shared = yes].
51371 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51373         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
51374         (__mul): Reduce iterations for calculating mantissa.
51376         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
51377         MPTWO.
51378         (__mpranred): Likewise.
51380         [BZ #15160]
51381         * malloc/memusagestat.c (main): Draw graphs for heap and stack
51382         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
51384 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
51386         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
51387         Define __attribute__.
51389 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51391         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
51392         unused.
51393         * posix/regex_internal.h (__attribute): Remove.
51394         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
51395         (re_string_context_at): Likewise.
51396         (bitset_not): Use __attribute__ and mark function as possibly
51397         unused.
51398         (bitset_merge): Likewise.
51399         (bitset_mask): Likewise.
51400         (re_string_char_size_at): Likewise.
51401         (re_string_wchar_at): Likewise.
51402         (re_string_elem_size_at): Likewise.
51404 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51406         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
51407         code.
51408         (cc32): Likewise.
51410         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
51411         (__acr): Likewise.
51412         (__cpy): Likewise.
51413         (norm): Likewise.
51414         (denorm): Likewise.
51415         (__dbl_mp): Likewise.
51416         (add_magnitudes): Likewise.
51417         (sub_magnitudes): Likewise.
51418         (__mul): Likewise.
51419         (__inv): Likewise.
51421         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
51422         style.
51424         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
51425         style.
51427         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
51428         code.
51430         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
51431         up changes with default code.
51432         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
51433         Likewise.
51435 2013-02-24  Allan McRae  <allan@archlinux.org>
51437         * manual/socket.texi (The Internet Namespace): Order menu items
51438         to match that in the file.
51440         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
51441         node listing of the info page menu.
51443 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
51445         [BZ #13550]
51446         * sysdeps/i386/bp-asm.h: Remove file.
51447         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51448         (PARMS): Do not use macros from bp-asm.h.
51449         (S1): Likewise.
51450         (S2): Likewise.
51451         (SIZE): Likewise.
51452         (__mpn_add_n): Do not use BP_SYM
51453         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
51454         "bp-asm.h".
51455         (PARMS): Do not use macros from bp-asm.h.
51456         (S1): Likewise.
51457         (SIZE): Likewise.
51458         (__mpn_addmul_1): Do not use BP_SYM
51459         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
51460         "bp-asm.h".
51461         (PARMS): Do not use macros from bp-asm.h.
51462         (SIGMSK): Likewise.
51463         (_setjmp): Likewise.  Do not use BP_SYM.
51464         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
51465         "bp-asm.h".
51466         (PARMS): Do not use macros from bp-asm.h.
51467         (SIGMSK): Likewise.
51468         (setjmp): Likewise.  Do not use BP_SYM.
51469         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
51470         "bp-asm.h".
51471         (PARMS): Do not use macros from bp-asm.h.
51472         (__frexp): Do not use BP_SYM.
51473         (frexp): Likewise.
51474         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
51475         "bp-asm.h".
51476         (PARMS): Do not use macros from bp-asm.h.
51477         (__frexpf): Do not use BP_SYM.
51478         (frexpf): Likewise.
51479         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
51480         "bp-asm.h".
51481         (PARMS): Do not use macros from bp-asm.h.
51482         (__frexpl): Do not use BP_SYM.
51483         (frexpl): Likewise.
51484         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
51485         "bp-asm.h".
51486         (PARMS): Do not use macros from bp-asm.h.
51487         (__remquo): Do not use BP_SYM.
51488         (remquo): Likewise.
51489         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
51490         "bp-asm.h".
51491         (PARMS): Do not use macros from bp-asm.h.
51492         (__remquof): Do not use BP_SYM.
51493         (remquof): Likewise.
51494         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
51495         "bp-asm.h".
51496         (PARMS): Do not use macros from bp-asm.h.
51497         (__remquol): Do not use BP_SYM.
51498         (remquol): Likewise.
51499         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
51500         "bp-asm.h".
51501         (PARMS): Do not use macros from bp-asm.h.
51502         (DEST): Likewise.
51503         (SRC): Likewise.
51504         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
51505         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
51506         "bp-asm.h".
51507         (PARMS): Do not use macros from bp-asm.h.
51508         (strlen): Do not use BP_SYM.
51509         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
51510         "bp-asm.h".
51511         (PARMS): Do not use macros from bp-asm.h.
51512         (S1): Likewise.
51513         (S2): Likewise.
51514         (SIZE): Likewise.
51515         (__mpn_add_n): Do not use BP_SYM.
51516         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
51517         "bp-asm.h".
51518         (PARMS): Do not use macros from bp-asm.h.
51519         (S1): Likewise.
51520         (SIZE): Likewise.
51521         (__mpn_addmul_1): Do not use BP_SYM.
51522         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
51523         weak_alias.
51524         (bzero): Likewise.
51525         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
51526         "bp-asm.h".
51527         (PARMS): Do not use macros from bp-asm.h.
51528         (S): Likewise.
51529         (SIZE): Likewise.
51530         (__mpn_lshift): Do not use BP_SYM.
51531         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
51532         "bp-asm.h".
51533         (PARMS): Do not use macros from bp-asm.h.
51534         (DEST): Likewise.
51535         (SRC): Likewise.
51536         (LEN): Likewise.
51537         (memcpy): Likewise.  Do not use BP_SYM.
51538         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
51539         libc_hidden_def and weak_alias.
51540         (mempcpy): Do not use BP_SYM in weak_alias.
51541         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
51542         "bp-asm.h".
51543         (PARMS): Do not use macros from bp-asm.h.
51544         (DEST): Likewise.
51545         (LEN): Likewise.
51546         [!BZERO_P] (CHR): Likewise.
51547         (memset): Likewise.  Do not use BP_SYM.
51548         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
51549         "bp-asm.h".
51550         (PARMS): Do not use macros from bp-asm.h.
51551         (S1): Likewise.
51552         (SIZE): Likewise.
51553         (__mpn_mul_1): Do not use BP_SYM.
51554         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
51555         "bp-asm.h".
51556         (PARMS): Do not use macros from bp-asm.h.
51557         (S): Likewise.
51558         (SIZE): Likewise.
51559         (__mpn_rshift): Do not use BP_SYM.
51560         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
51561         "bp-asm.h".
51562         (PARMS): Do not use macros from bp-asm.h.
51563         (STR): Likewise.
51564         (CHR): Likewise.
51565         (strchr): Likewise.  Do not use BP_SYM.
51566         (index): Do not use BP_SYM in weak_alias.
51567         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
51568         "bp-asm.h".
51569         (PARMS): Do not use macros from bp-asm.h.
51570         (DEST): Likewise.
51571         (SRC): Likewise.
51572         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
51573         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
51574         "bp-asm.h".
51575         (PARMS): Do not use macros from bp-asm.h.
51576         (strlen): Do not use BP_SYM.
51577         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
51578         "bp-asm.h".
51579         (PARMS): Do not use macros from bp-asm.h.
51580         (S1): Likewise.
51581         (S2): Likewise.
51582         (SIZE): Likewise.
51583         (__mpn_sub_n): Do not use BP_SYM.
51584         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
51585         "bp-asm.h".
51586         (PARMS): Do not use macros from bp-asm.h.
51587         (S1): Likewise.
51588         (SIZE): Likewise.
51589         (__mpn_submul_1): Do not use BP_SYM.
51590         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
51591         "bp-asm.h".
51592         (PARMS): Do not use macros from bp-asm.h.
51593         (S1): Likewise.
51594         (S2): Likewise.
51595         (SIZE): Likewise.
51596         (__mpn_add_n): Do not use BP_SYM.
51597         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
51598         weak_alias.
51599         (bzero): Likewise.
51600         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
51601         "bp-asm.h".
51602         (PARMS): Do not use macros from bp-asm.h.
51603         (BLK2): Likewise.
51604         (LEN): Likewise.
51605         (memcmp): Do not use BP_SYM.
51606         (bcmp): Do not use BP_SYM in weak_alias.
51607         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
51608         "bp-asm.h".
51609         (PARMS): Do not use macros from bp-asm.h.
51610         (DEST): Likewise.
51611         (SRC): Likewise.
51612         (LEN): Likewise.
51613         (memcpy): Likewise.  Do not use BP_SYM.
51614         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
51615         "bp-asm.h".
51616         (PARMS): Do not use macros from bp-asm.h.
51617         (DEST): Likewise.
51618         (SRC): Likewise.
51619         (LEN): Likewise.
51620         (memmove): Likewise.  Do not use BP_SYM.
51621         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
51622         "bp-asm.h".
51623         (PARMS): Do not use macros from bp-asm.h.
51624         (DEST): Likewise.
51625         (SRC): Likewise.
51626         (LEN): Likewise.
51627         (__mempcpy): Likewise.  Do not use BP_SYM.
51628         (mempcpy): Do not use BP_SYM in weak_alias.
51629         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
51630         "bp-asm.h".
51631         (PARMS): Do not use macros from bp-asm.h.
51632         (DEST): Likewise.
51633         (LEN): Likewise.
51634         [!BZERO_P] (CHR): Likewise.
51635         (memset): Likewise.  Do not use BP_SYM.
51636         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
51637         "bp-asm.h".
51638         (PARMS): Do not use macros from bp-asm.h.
51639         (STR2): Likewise.
51640         (strcmp): Do not use BP_SYM.
51641         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
51642         "bp-asm.h".
51643         (PARMS): Do not use macros from bp-asm.h.
51644         (STR): Likewise.
51645         (DELIM): Likewise.
51646         [USE_AS_STRTOK_R] (SAVE): Likewise.
51647         (FUNCTION): Likewise.  Do not use BP_SYM.
51648         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
51649         aliases.
51650         (strtok_r): Likewise.
51651         (__GI___strtok_r): Likewise.
51652         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51653         (PARMS): Do not use macros from bp-asm.h.
51654         (S): Likewise.
51655         (SIZE): Likewise.
51656         (__mpn_lshift): Do not use BP_SYM.
51657         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51658         (PARMS): Do not use macros from bp-asm.h.
51659         (STR): Likewise.
51660         (CHR): Likewise.
51661         (__memchr): Do not use BP_SYM.
51662         (memchr): Do not use BP_SYM in weak_alias.
51663         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51664         (PARMS): Do not use macros from bp-asm.h.
51665         (BLK2): Likewise.
51666         (LEN): Likewise.
51667         (memcmp): Do not use BP_SYM.
51668         (bcmp): Do not use BP_SYM in weak_alias.
51669         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
51670         (PARMS): Do not use macros from bp-asm.h.
51671         (S1): Likewise.
51672         (SIZE): Likewise.
51673         (__mpn_mul_1): Do not use BP_SYM.
51674         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
51675         "bp-asm.h".
51676         (PARMS): Do not use macros from bp-asm.h.
51677         (STR): Likewise.
51678         (CHR): Likewise.
51679         (__rawmemchr): Do not use BP_SYM.
51680         (rawmemchr): Do not use BP_SYM in weak_alias.
51681         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51682         (PARMS): Do not use macros from bp-asm.h.
51683         (S): Likewise.
51684         (SIZE): Likewise.
51685         (__mpn_rshift): Do not use BP_SYM.
51686         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51687         (PARMS): Do not use macros from bp-asm.h.
51688         (SIGMSK): Likewise.
51689         (__sigsetjmp): Likewise.  Do not use BP_SYM.
51690         * sysdeps/i386/start.S: Do not include "bp-sym.h".
51691         (_start): Do not use BP_SYM.
51692         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
51693         (PARMS): Do not use macros from bp-asm.h.
51694         (DEST): Likewise.
51695         (SRC): Likewise.
51696         (__stpcpy): Likewise.  Do not use BP_SYM.
51697         (stpcpy): Do not use BP_SYM in weak_alias.
51698         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
51699         "bp-asm.h".
51700         (PARMS): Do not use macros from bp-asm.h.
51701         (DEST): Likewise.
51702         (SRC): Likewise.
51703         (LEN): Likewise.
51704         (__stpncpy): Likewise.  Do not use BP_SYM.
51705         (stpncpy): Do not use BP_SYM in weak_alias.
51706         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51707         (PARMS): Do not use macros from bp-asm.h.
51708         (STR): Likewise.
51709         (CHR): Likewise.
51710         (strchr): Likewise.  Do not use BP_SYM.
51711         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
51712         "bp-asm.h".
51713         (PARMS): Do not use macros from bp-asm.h.
51714         (STR): Likewise.
51715         (CHR): Likewise.
51716         (__strchrnul): Likewise.  Do not use BP_SYM.
51717         (strchrnul): Do not use BP_SYM in weak_alias.
51718         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
51719         "bp-asm.h".
51720         (PARMS): Do not use macros from bp-asm.h.
51721         (STOP): Likewise.
51722         (strcspn): Do not use BP_SYM.
51723         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
51724         "bp-asm.h".
51725         (PARMS): Do not use macros from bp-asm.h.
51726         (STR): Likewise.
51727         (STOP): Likewise.
51728         (strpbrk): Likewise.  Do not use BP_SYM.
51729         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
51730         "bp-asm.h".
51731         (PARMS): Do not use macros from bp-asm.h.
51732         (STR): Likewise.
51733         (CHR): Likewise.
51734         (strrchr): Likewise.  Do not use BP_SYM.
51735         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
51736         (PARMS): Do not use macros from bp-asm.h.
51737         (SKIP): Likewise.
51738         (strspn): Do not use BP_SYM.
51739         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
51740         (PARMS): Do not use macros from bp-asm.h.
51741         (STR): Likewise.
51742         (DELIM): Likewise.
51743         (SAVE): Likewise.
51744         (FUNCTION): Likewise.  Do not use BP_SYM.
51745         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
51746         aliases.
51747         (strtok_r): Likewise.
51748         (__GI___strtok_r): Likewise.
51749         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51750         (PARMS): Do not use macros from bp-asm.h.
51751         (S1): Likewise.
51752         (S2): Likewise.
51753         (SIZE): Likewise.
51754         (__mpn_sub_n): Do not use BP_SYM.
51755         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
51756         "bp-asm.h".
51757         (PARMS): Do not use macros from bp-asm.h.
51758         (S1): Likewise.
51759         (SIZE): Likewise.
51760         (__mpn_submul_1): Do not use BP_SYM.
51761         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
51762         <bp-sym.h>.
51763         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
51764         and <bp-asm.h>.
51765         (PARMS): Do not use macros from bp-asm.h.
51766         (FLAGS): Likewise.
51767         (PTID): Likewise.
51768         (TLS): Likewise.
51769         (CTID): Likewise.
51770         (__clone): Do not use BP_SYM.
51771         (clone): Do not use BP_SYM in weak_alias.
51772         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
51773         and <bp-asm.h>.
51774         (PARMS): Do not use macros from bp-asm.h.
51775         (LEN): Likewise.
51776         (__mmap64): Do not use BP_SYM.
51777         (mmap64): Do not use BP_SYM in weak_alias.
51778         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
51779         <bp-sym.h> and <bp-asm.h>.
51780         (PARMS): Do not use macros from bp-asm.h.
51781         (__posix_fadvise64_l64): Do not use BP_SYM.
51782         * sysdeps/unix/sysv/linux/i386/semtimedop.S
51783         (PARMS): Do not use macros from bp-asm.h.
51784         (NSOPS): Likewise.
51785         (semtimedop): Do not use BP_SYM.
51786         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
51787         and <bp-asm.h>.
51789 2013-02-21  Allan McRae  <allan@archlinux.org>
51791         * manual/message.texi (Charset conversion in gettext):
51792         Move @end statement to beginning of line.
51794 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51796         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
51797         static.
51798         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
51799         Likewise.
51801         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
51802         (denorm): Likewise.
51803         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
51804         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
51806 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51808         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
51809         tail-call to the resolved function if pltexit isn't needed.
51811 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51813         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
51814         or Y being zero as being unlikely.
51815         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51816         Likewise.
51818 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
51820         * manual/nss.texi (System Databases and Name Service Switch):
51821         Remove frobnicate @pxref.
51823 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
51825         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51826         __attribute__ ((unused)) to __attribute__ ((__unused__)).
51828 2013-02-20  Petr Machata  <pmachata@redhat.com>
51830         * elf/elf.h (R_ARM_TARGET1): New macro.
51831         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
51832         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
51833         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
51834         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
51835         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
51836         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
51837         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
51838         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
51839         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
51840         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
51841         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
51842         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
51843         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
51844         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
51845         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
51846         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
51847         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
51848         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
51849         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
51850         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
51851         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
51852         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
51853         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
51854         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
51855         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
51856         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
51857         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
51858         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
51859         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
51860         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
51861         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
51862         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
51863         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
51864         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
51865         (R_ARM_THM_GOT_BREL12): Likewise.
51866         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
51867         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
51868         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
51869         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
51870         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
51871         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
51872         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
51873         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
51874         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
51876 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
51878         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51879         __attribute_used__ to __attribute__ ((unused)).
51881 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51883         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
51884         powerpc mpa.c.
51885         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
51886         comment formatting.
51887         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
51889 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
51891         [BZ #13550]
51892         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
51893         Remove macro.
51894         (ENTER): Remove both macro definitions.
51895         (LEAVE): Likewise.
51896         (CHECK_BOUNDS_LOW): Likewise.
51897         (CHECK_BOUNDS_HIGH): Likewise.
51898         (CHECK_BOUNDS_BOTH): Likewise.
51899         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
51900         (RETURN_BOUNDED_POINTER): Likewise.
51901         (RETURN_NULL_BOUNDED_POINTER): Likewise.
51902         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
51903         (POP_ERRNO_LOCATION_RETURN): Likewise.
51904         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
51905         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51906         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
51907         macros.
51908         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51909         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
51910         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
51911         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
51912         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
51913         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
51914         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
51915         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
51916         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
51917         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
51918         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
51919         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
51920         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51921         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
51922         removed macros.
51923         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51924         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
51925         macros.
51926         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51927         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
51928         * sysdeps/i386/i586/memset.S (memset): Likewise.
51929         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
51930         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51931         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
51932         macros.
51933         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51934         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
51935         Change uses of L(2) to L(out).
51936         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
51937         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
51938         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
51939         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51940         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
51941         removed macros.
51942         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51943         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
51944         macros.
51945         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51946         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
51947         (RETURN): Do not use macro LEAVE.
51948         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
51949         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
51950         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
51951         * sysdeps/i386/i686/memset.S (memset): Likewise.
51952         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
51953         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
51954         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51955         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
51956         Likewise.
51957         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51958         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
51959         L(1_2) and L(1_3) into L(1).
51960         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51961         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
51962         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51963         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
51964         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51965         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
51966         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
51967         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51968         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
51969         macros.
51970         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
51971         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51972         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
51973         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
51974         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
51975         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51976         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
51977         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
51978         * sysdeps/i386/strcspn.S (strcspn): Likewise.
51979         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
51980         * sysdeps/i386/strrchr.S (strrchr): Likewise.
51981         * sysdeps/i386/strspn.S (strspn): Likewise.
51982         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
51983         conditional code.
51984         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51985         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
51986         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51987         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
51988         L(1_3) into L(1_1).
51989         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
51990         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51991         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
51992         macros.
51993         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51995 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
51997         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
51998         macro.
52000 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52002         * math/atest-exp.c (exp_mpn): Remove ROUND.
52003         * math/atest-exp2.c (exp_mpn): Likewise.
52004         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
52006         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
52007         * stdlib/tst-tls-atexit-lib.c: Likewise.
52008         * stdlib/tst-tls-atexit.c: Likewise.
52010 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52012         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
52013         and __attribute_alloc_size__.
52015 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52017         * include/programs/xmalloc.h: Change __attribute_alloc_size to
52018         __attribute_alloc_size__.
52019         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
52020         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
52022 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52024         * include/programs/xmalloc.h: New file.
52025         * catgets/gencat.c: Include it.
52026         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
52027         * elf/pldd.c: Likewise.
52028         * iconv/iconv_charmap.c: Likewise.
52029         * iconv/iconvconfig.c: Likewise.
52030         * iconv/strtab.c: Likewise.
52031         * locale/programs/locale.c: Likewise.
52032         * locale/programs/localedef.h: Likewise.
52033         * locale/programs/simple-hash.c: Likewise.
52034         * nscd/nscd.h: Likewise.
52035         * nss/makedb.c: Likewise.
52036         * sysdeps/generic/ldconfig.h: Likewise.
52038 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52040         * Versions.def: Add GLIBC_2.18.
52041         * include/link.h (struct link_map): New member l_tls_dtor_count.
52042         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
52043         (__call_tls_dtors): Likewise.
52044         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
52045         __cxa_thread_atexit_impl.
52046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52047         Likewise.
52048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52049         Likewise.
52050         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52051         Likewise.
52052         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52053         Likewise.
52054         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52055         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
52056         Likewise.
52057         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
52058         Likewise.
52059         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52060         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
52061         Likewise.
52062         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
52063         (tests): Add test case tst-tls-atexit.
52064         (modules-names): Add shared library for tst-tls-atexit.
52065         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
52066         (GLIBC_PRIVATE): Add __call_tls_dtors.
52067         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
52068         for libstdc++.
52069         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
52070         * stdlib/tst-tls-atexit.c: New test case.
52071         * stdlib/tst-tls-atexit-lib.c: New test case.
52073         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
52075         * elf/Versions (ld): Add _dl_find_dso_for_object.
52076         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
52077         * elf/dl-open.c (_dl_find_dso_for_object): New function.
52078         (dl_open_worker): Use _dl_find_dso_for_object.
52079         * elf/dl-sym.c (do_sym): Likewise.
52080         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
52082 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52084         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
52085         Syntactic changes only.
52086         (_dl_runtime_profile): Do a tail-call to the resolved function.
52088 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
52090         [BZ #13550]
52091         * sysdeps/x86_64/bp-asm.h: Remove file.
52092         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
52093         <bp-sym.h> and <bp-asm.h>.
52094         (__clone): Do not use BP_SYM.
52095         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
52096         <bp-sym.h> and <bp-asm.h>.
52097         * sysdeps/unix/x86_64/sysdep.S: Likewise.
52098         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
52099         "bp-asm.h".
52100         (_setjmp): Do not use BP_SYM.
52101         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
52102         "bp-asm.h".
52103         (setjmp): Do not use BP_SYM.
52104         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
52105         libc_hidden_def.
52106         (mempcpy): Do not use BP_SYM in weak_alias.
52107         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
52108         "bp-asm.h".
52109         (strchr): Do not use BP_SYM.
52110         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
52111         "bp-asm.h".
52112         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
52113         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
52114         (_start): Do not use BP_SYM.
52115         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
52116         "bp-asm.h".
52117         (strcat): Do not use BP_SYM.
52118         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
52119         "bp-asm.h".
52120         (STRCMP): Do not use BP_SYM.
52121         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
52122         "bp-asm.h".
52123         (STRCPY): Do not use BP_SYM.
52124         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
52125         "bp-asm.h".
52126         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
52127         "bp-asm.h".
52128         (FUNCTION): Do not use BP_SYM.
52129         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
52130         weak_alias.
52131         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
52133 2013-02-17  Andreas Jaeger  <aj@suse.de>
52135         * time/Versions: Sort entries.
52136         * string/Versions: Likewise.
52137         * resolv/Versions: Likewise.
52138         * posix/Versions: Likewise.
52139         * iconv/Versions: Likewise.
52140         * elf/Versions: Likewise.
52141         * wcsmbs/Versions: Likewise.
52143 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52145         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
52146         loop termination condition.
52148         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
52149         variable to calculate EZ.
52150         (__sqr): Likewise.
52152         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
52153         the lower precision input.
52155 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
52157         [BZ #13550]
52158         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
52159         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
52160         (run-via-rtld-prefix): Do not handle %-bp tests.
52161         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
52162         (all-object-suffixes): Remove .ob.
52163         (bppfx): Remove variable.
52164         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
52165         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
52166         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
52167         [$(build-bounded) = yes] (libtype.ob): Likewise.
52168         * Makerules (elide-routines.ob): Remove variable.
52169         (do-tests-clean): Do not handle *-bp.out.
52170         (common-mostlyclean): Do not handle *-bp and *-bp.out.
52171         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
52172         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
52173         (tests): Do not include $(tests-bp.out).
52174         (xtests): Do not include $(xtests-bp.out).
52175         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
52176         [$(build-bounded) = yes] ($(addprefix
52177         $(objpfx),$(binaries-bounded))): Remove rule.
52178         ($(objpfx)%-bp.out): Remove rule.
52179         * config.make.in (build-bounded): Remove variable.
52180         * crypt/Makefile [$(build-bounded) = yes]
52181         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
52182         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
52183         append to variable.
52184         [$(build-bounded) = yes] (install-lib): Likewise.
52185         [$(build-bounded) = yes] (generated): Likewise.
52186         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
52187         Remove rule.
52188         * intl/Makefile [$(build-bounded) = yes]
52189         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
52190         * math/Makefile [$(build-bounded) = yes]
52191         ($(tests:%=$(objpfx)%-bp): Likewise.
52192         * misc/Makefile [$(build-bounded) = yes]
52193         ($(objpfx)tst-tsearch-bp): Likewise.
52194         * nptl/Makeconfig (bounded-thread-library): Remove variable.
52195         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
52196         Remove dependency.
52197         * string/Makefile (o-objects.ob): Remove variable.
52198         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
52199         (CFLAGS-.ob): Remove variable.
52200         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
52201         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
52202         both definitions of variable.
52203         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
52204         (ASFLAGS-.ob): Remove variable.
52206 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
52208         [BZ #13550]
52209         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
52210         Remove __BOUNDED_POINTERS__ from condition.
52211         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
52212         * string/bits/string2.h [!__NO_STRING_INLINES &&
52213         !__BOUNDED_POINTERS__]: Likewise.
52214         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
52215         Likewise.
52216         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
52217         Remove conditional code.
52218         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
52219         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
52220         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
52221         condition.
52223         [BZ #13550]
52224         * csu/libc-start.c: Do not include <bp-sym.h>.
52225         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
52226         * elf/dl-open.c: Do not include <bp-sym.h>.
52227         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
52228         * math/fegetenv.c: Do not include <bp-sym.h>.
52229         (fegetenv): Do not use BP_SYM in versioned symbols.
52230         * nptl/sysdeps/pthread/bits/libc-lockP.h
52231         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
52232         <bp-sym.h>.
52233         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52234         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
52235         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52236         (__pthread_mutex_destroy): Likewise.
52237         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52238         (__pthread_mutex_lock): Likewise.
52239         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52240         (__pthread_mutex_trylock): Likewise.
52241         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52242         (__pthread_mutex_unlock): Likewise.
52243         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52244         (__pthread_mutexattr_init): Likewise.
52245         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52246         (__pthread_mutexattr_destroy): Likewise.
52247         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52248         (__pthread_mutexattr_settype): Likewise.
52249         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52250         (__pthread_rwlock_init): Likewise.
52251         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52252         (__pthread_rwlock_destroy): Likewise.
52253         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52254         (__pthread_rwlock_rdlock): Likewise.
52255         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52256         (__pthread_rwlock_tryrdlock): Likewise.
52257         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52258         (__pthread_rwlock_wrlock): Likewise.
52259         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52260         (__pthread_rwlock_trywrlock): Likewise.
52261         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52262         (__pthread_rwlock_unlock): Likewise.
52263         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52264         (__pthread_key_create): Likewise.
52265         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52266         (__pthread_setspecific): Likewise.
52267         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52268         (__pthread_getspecific): Likewise.
52269         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
52270         Likewise.
52271         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52272         (_pthread_cleanup_push_defer): Likewise.
52273         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52274         (_pthread_cleanup_pop_restore): Likewise.
52275         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52276         (pthread_setcancelstate): Likewise.
52277         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
52278         <bp-sym.h>.
52279         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
52280         (memchr): Do not use BP_SYM in weak_alias.
52281         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
52282         (fegetenv): Do not use BP_SYM in versioned symbols.
52283         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
52284         (fesetenv): Do not use BP_SYM in versioned symbols.
52285         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52286         (feupdateenv): Do not use BP_SYM in versioned symbols.
52287         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52288         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52289         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
52290         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
52291         (open64): Do not use BP_SYM in weak_alias.
52292         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
52293         (fegetenv): Do not use BP_SYM in versioned symbols.
52294         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
52295         (fesetenv): Do not use BP_SYM in versioned symbols.
52296         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52297         (feupdateenv): Do not use BP_SYM in versioned symbols.
52298         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
52299         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
52300         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
52301         (feraiseexcept): Do not use BP_SYM in versioned symbols.
52302         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52303         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52304         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
52305         <bp-sym.h>.
52306         (__libc_start_main): Do not use BP_SYM.
52308 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52310         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
52311         redundant return line.
52312         (norm): Likewise.
52313         (denorm): Likewise.
52314         (dbl_mp): Likewise.
52315         (sub_magnitudes): Likewise.
52316         (__add): Likewise.
52317         (__sub): Likewise.
52318         (__mul): Likewise.
52319         (__inv): Likewise.
52320         (__dvd): Likewise.
52321         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
52322         (norm): Likewise.
52323         (denorm): Likewise.
52324         (dbl_mp): Likewise.
52325         (sub_magnitudes): Likewise.
52326         (__add): Likewise.
52327         (__sub): Likewise.
52328         (__mul): Likewise.
52329         (__inv): Likewise.
52330         (__dvd): Likewise.
52332         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
52333         instead of __mul.
52334         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52335         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
52336         (cc32): Likewise.
52338         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
52339         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
52340         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
52341         of __mul for squares.
52342         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
52343         function
52344         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
52345         Likewise.
52346         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
52347         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52349 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
52351         [BZ #13550]
52352         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
52353         code.
52354         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
52355         prototype or function definition.  Rename ubp_* variables and
52356         parameters.  Remove argv definitions conditional on
52357         [__BOUNDED_POINTERS__].
52358         * debug/backtrace.c (__backtrace): Do not use __unbounded.
52359         * elf/dl-runtime.c (_dl_fixup): Likewise.
52360         * include/set-hooks.h (RUN_HOOK): Likewise.
52361         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
52362         definition.
52363         * string/strcpy.c (strcpy): Do not use __unbounded.
52364         * sysdeps/generic/frame.h (struct layout): Likewise.
52365         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
52366         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
52367         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
52368         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
52369         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
52370         (__backtrace): Likewise.
52371         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
52372         use __ptrvalue.
52373         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
52374         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
52375         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
52376         Likewise.
52377         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
52378         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
52379         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
52380         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52381         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
52382         Do not use __unbounded.
52383         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
52384         Rename __unboundedrlimits parameter to rlimits in prototype.
52385         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
52386         Do not use __unbounded.
52387         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
52388         not use __ptrvalue.
52389         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52390         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
52391         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52392         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
52393         __ptrvalue or __unbounded.
52394         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
52395         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
52396         use __unbounded.
52397         (__new_msgctl): Do not use __ptrvalue.
52398         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
52399         __unbounded.
52400         (__libc_msgrcv): Do not use __ptrvalue.
52401         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
52402         startup_info): Do not use __unbounded.
52403         (__libc_start_main): Likewise.  Rename ubp_* variables and
52404         parameters.  Remove argv definitions conditional on
52405         [__BOUNDED_POINTERS__].
52406         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
52407         __ptrvalue.
52408         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
52409         use __unbounded.
52410         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
52411         or __ptrvalue.
52412         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
52413         use __unbounded.
52414         (__new_shmctl): Do not use __ptrvalue.
52415         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
52416         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
52417         Likewise.
52418         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
52419         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
52420         (__libc_sigaction): Likewise.
52421         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
52422         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
52423         Likewise.
52424         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52426 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
52428         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
52430         * string/mempcpy.c: Implement by calling memcpy.
52432 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52434         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
52436         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
52437         evaluation.
52439         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
52440         values in the mantissa.
52442         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
52443         minimize writes to Z.
52444         (sub_magnitudes): Simplify code a bit.
52446 2013-02-12  Roland McGrath  <roland@hack.frob.com>
52448         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
52449         from the message.  The linker prefixes all warnings with that already.
52451 2013-02-12  Andreas Schwab  <schwab@suse.de>
52453         [BZ #15078]
52454         * posix/regexec.c (extend_buffers): Add parameter min_len.
52455         (check_matching): Pass minimum needed length.
52456         (clean_state_log_if_needed): Likewise.
52457         (get_subexp): Likewise.
52458         * posix/Makefile (tests): Add bug-regex34.
52459         (bug-regex34-ENV): Define.
52460         * posix/bug-regex34.c: New file.
52462         [BZ #11561]
52463         * posix/regcomp.c (parse_bracket_exp): When looking up collating
52464         elements compare against the byte sequence of it, not its name.
52465         * posix/Makefile (tests): Add bug-regex35.
52466         (bug-regex35-ENV): Define.
52467         * posix/bug-regex35.c: New file.
52469 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52471         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
52472         comment.
52473         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
52474         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
52475         (CHECK_EOL): Add undef.
52477 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
52479         * bits/stdlib-bsearch.h: New file.
52480         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
52481         * stdlib/stdlib.h: Likewise.
52483 2013-02-11  Roland McGrath  <roland@hack.frob.com>
52485         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
52486         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
52487         declaration.
52488         * manual/search.texi (Array Search Function): Add missing const in
52489         lfind prototype.
52490         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
52491         declaration to use rlim_t.
52492         (Basic Scheduling Functions): Remove erroneous const from
52493         sched_getparam prototype.  Remove erroneous * from
52494         sched_get_priority_max and sched_get_priority_min prototypes.
52495         (Resource Usage): Fix summary @comment on vtimes to refer to
52496         sys/vtimes.h rather than vtimes.h.
52497         Add missing *s in vtimes prototype.
52498         (Limits on Resources): Fix ulimit prototype to return long int.
52499         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
52500         prototypes to use long int rather than double.
52501         (BSD Random): Fix initstate and setstate to use char *, not void *.
52502         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
52503         prototype to make second argument 'struct aiocb64 *const[]'.
52504         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
52505         (Status of AIO Operations): Remove erroneous const in aio_return and
52506         aio_return64 prototypes.
52507         (Synchronizing I/O): Fix sync prototype to return void.
52508         * manual/startup.texi (Suboptions): Remove an erroneous const in
52509         getsubopt prototype.
52510         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
52511         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
52512         use size_t rather than int.
52513         (Scanning All Users): Likewise for getpwent_r.
52514         (Setting Groups): Add missing const to setgroups prototype.
52515         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
52516         * manual/socket.texi (Host Names): Fix gethostbyaddr and
52517         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
52518         'const void *' rather than 'const char *'.
52519         (Host Address Functions): Likewise for inet_ntop.
52520         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
52521         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
52522         ssize_t for return value.
52523         (Sending Data): Likewise for send, sendto, sendmsg.
52524         (Socket Option Functions): Add a missing const in setsockopt prototype.
52525         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
52526         use wchar_t for the argument.
52527         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
52528         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
52529         take no arguments.
52530         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
52531         double/float/long double for second argument.
52532         Fix return types of significand, significandf, significandl.
52533         * manual/filesys.texi (Setting Permissions): Use mode_t for second
52534         argument in fchmod prototype.
52535         (File Owner): Use uid_t and gid_t in fchown prototype.
52536         (File Times): Add const to utimes, futimes, and lutimes prototypes.
52537         (Making Special Files): Use mode_t and dev_t in mknod prototype.
52538         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
52539         use 'const struct dirent **' as argument types to CMP function pointer
52540         argument.
52541         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
52542         (File Times): Fix summary magic @comment for struct utimbuf and utime
52543         to refer to utime.h, not time.h.
52544         * manual/string.texi (Argz Functions): Add missing const in
52545         argz_extract and argz_next prototypes.
52546         (Finding Tokens in a String): Likewise for basename.
52547         (String/Array Comparison): Fix typo in wcscasecmp prototype.
52548         (Copying and Concatenation): Fix typo in wmemmove prototype.
52549         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
52550         (Signal Stack): Remove erroneous const in sigstack prototype.
52551         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
52552         prototype.
52553         (Simple Calendar Time): Likewise for stime.
52554         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
52555         prototype.
52556         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
52557         say sys/sysctl.h instead.
52558         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
52559         and vsyslog prototypes.
52561 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52563         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
52564         Remove.
52566 2013-02-11  Roland McGrath  <roland@hack.frob.com>
52568         * misc/sys/mman.h: Fix typo in mremap comment.
52570 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52572         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
52573         the '\0' terminator.
52575 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
52577         [BZ #13550]
52578         * debug/segfault.c: Don't include <bp-checks.h>.
52579         * sysdeps/generic/bp-checks.h: Remove file.
52580         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
52581         (__GETDENTS): Don't use CHECK_N.
52582         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
52583         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
52584         (__getgroups): Don't use CHECK_N.
52585         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
52586         (setgroups): Don't use CHECK_N.
52587         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
52588         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
52589         (__libc_msgrcv): Don't use CHECK_N.
52590         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
52591         (__libc_msgsnd): Don't use CHECK_N.
52592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
52593         <bp-checks.h>.
52594         (__libc_pread): Don't use CHECK_N.
52595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
52596         include <bp-checks.h>.
52597         (__libc_pread64): Don't use CHECK_N.
52598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
52599         include <bp-checks.h>.
52600         (__libc_pwrite): Don't use CHECK_N.
52601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
52602         include <bp-checks.h>.
52603         (__libc_pwrite64): Don't use CHECK_N.
52604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
52605         <bp-checks.h>.
52606         (__libc_pread): Don't use CHECK_N.
52607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
52608         include <bp-checks.h>.
52609         (__libc_pread64): Don't use CHECK_N.
52610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
52611         include <bp-checks.h>.
52612         (__libc_pwrite): Don't use CHECK_N.
52613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
52614         include <bp-checks.h>.
52615         (__libc_pwrite64): Don't use CHECK_N.
52616         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
52617         (do_pread): Don't use CHECK_N.
52618         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
52619         (do_pread64): Don't use CHECK_N.
52620         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
52621         (do_pwrite): Don't use CHECK_N.
52622         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
52623         (do_pwrite64): Don't use CHECK_N.
52624         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
52625         (__libc_readv): Don't use CHECK_N.
52626         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
52627         (semop): Don't use CHECK_N.
52628         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
52629         <bp-checks.h>.
52630         (semtimedop): Don't use CHECK_N.
52631         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
52632         (__libc_pread): Don't use CHECK_N.
52633         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
52634         <bp-checks.h>.
52635         (__libc_pread64): Don't use CHECK_N.
52636         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
52637         <bp-checks.h>.
52638         (__libc_pwrite): Don't use CHECK_N.
52639         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
52640         <bp-checks.h>.
52641         (__libc_pwrite64): Don't use CHECK_N.
52642         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
52643         <bp-checks.h>.
52644         (__libc_msgrcv): Don't use CHECK_N.
52645         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
52646         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
52647         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
52648         (__libc_writev): Don't use CHECK_N.
52650 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52652         * string/strcpy.c: Removed unused variable.
52654         * Makeconfig (+sysdep-includes): Define with := rather than =.
52655         Use an existing include/ subdir of each sysdeps dir before it.
52657 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52659         * nscd/connection.c (register_traced_file): Comment function.
52660         [HAVE_INOTIFY] (union __inev): Define.
52661         [HAVE_INOTIFY] (inotify_check_files): New function.
52662         [HAVE_INOTIFY] (clear_db_cache): Likewise.
52663         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
52664         clear_db_cache.
52665         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
52667 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52669         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
52670         loaded if not already and that a failure is permanent.
52672 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52674         [BZ #15006]
52675         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
52676         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
52678 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
52680         [BZ #13550]
52681         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
52682         (CHECK_1_NULL_OK): Likewise.
52683         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
52684         (__fxstat): Do not use CHECK_1.
52685         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
52686         <bp-checks.h>.
52687         (___fxstat64): Do not use CHECK_1.
52688         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
52689         <bp-checks.h>.
52690         (__fxstatat): Do not use CHECK_1.
52691         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
52692         <bp-checks.h>.
52693         (__fxstatat64): Do not use CHECK_1.
52694         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
52695         <bp-checks.h>.
52696         (__fxstat): Do not use CHECK_1.
52697         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
52698         <bp-checks.h>.
52699         (__fxstatat): Do not use CHECK_1.
52700         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
52701         <bp-checks.h>.
52702         (__getresgid): Do not use CHECK_1.
52703         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
52704         <bp-checks.h>.
52705         (__getresuid): Do not use CHECK_1.
52706         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
52707         <bp-checks.h>.
52708         (__lxstat): Do not use CHECK_1.
52709         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
52710         <bp-checks.h>.
52711         (__old_msgctl): Do not use CHECK_1.
52712         (__new_msgctl): Likewise.
52713         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
52714         <bp-checks.h>.
52715         (__new_setrlimit): Do not use CHECK_1.
52716         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
52717         <bp-checks.h>.
52718         (__old_shmctl): Do not use CHECK_1.
52719         (__new_shmctl): Likewise.
52720         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
52721         <bp-checks.h>.
52722         (__xstat): Do not use CHECK_1.
52723         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
52724         (__lxstat): Do not use CHECK_1.
52725         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
52726         <bp-checks.h>.
52727         (___lxstat64): Do not use CHECK_1.
52728         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
52729         (__old_msgctl): Do not use CHECK_1.
52730         (__new_msgctl): Likewise.
52731         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
52732         <bp-checks.h>.
52733         (__gettimeofday): Do not use CHECK_1.
52734         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
52735         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
52736         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
52737         <bp-checks.h>.
52738         (__gettimeofday): Do not use CHECK_1.
52739         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
52740         (__old_shmctl): Do not use CHECK_1_NULL_OK.
52741         (__new_shmctl): Do not use CHECK_1.
52742         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
52743         <bp-checks.h>.
52744         (do_sigtimedwait): Do not use CHECK_1.
52745         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
52746         <bp-checks.h>.
52747         (do_sigwaitinfo): Do not use CHECK_1.
52748         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
52749         <bp-checks.h>.
52750         (msgctl): Do not use CHECK_1.
52751         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
52752         <bp-checks.h>.
52753         (shmctl): Do not use CHECK_1.
52754         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
52755         (ustat): Do not use CHECK_1.
52756         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
52757         <bp-checks.h>.
52758         (__fxstat): Do not use CHECK_1.
52759         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
52760         <bp-checks.h>.
52761         (__fxstatat): Do not use CHECK_1.
52762         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
52763         <bp-checks.h>.
52764         (__lxstat): Do not use CHECK_1.
52765         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
52766         <bp-checks.h>.
52767         (__xstat): Do not use CHECK_1.
52768         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
52769         (__xstat): Do not use CHECK_1.
52770         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
52771         (___xstat64): Do not use CHECK_1.
52773         [BZ #13550]
52774         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
52775         definitions.
52776         (CHECK_BOUNDS_HIGH): Likewise.
52777         * string/strcpy.c: Do not include <bp-checks.h>.
52778         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
52780 2013-02-07  Roland McGrath  <roland@hack.frob.com>
52782         * nscd/nscd-client.h (__nscd_drop_map_ref):
52783         Add __attribute__ ((unused)).
52784         * nis/nss-nisplus.h (niserr2nss): Likewise.
52786         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
52787         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
52789         * csu/libc-tls.c (init_static_tls, init_slotinfo):
52790         Remove inline keyword.
52791         * include/rounding-mode.h (round_away): Likewise.
52792         * libio/wfileops.c (adjust_wide_data): Likewise.
52793         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
52794         (__m128i_strloadu_tolower): Likewise.
52795         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
52796         (__m128i_strloadu_tolower): Likewise.
52797         * time/mktime.c (ydhms_diff): Likewise.
52798         * locale/elem-hash.h (elem_hash): Likewise.
52799         * locale/setlocale.c (setdata): Likewise.
52800         * posix/regex_internal.h (re_string_char_size_at): Likewise.
52801         (re_string_wchar_at): Likewise.
52802         (bitset_not, bitset_merge, bitset_mask): Likewise.
52803         [!(__GNUC__ > 3)] (inline): Remove macro.
52804         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
52805         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
52806         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
52807         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
52808         * string/memcmp.c (memcmp_bytes): Likewise.
52809         * locale/programs/locarchive.c (compute_hashval): Likewise.
52810         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
52811         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
52812         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
52813         * nss/getent.c (print_rpc, print_protocols): Likewise.
52814         (print_passwd, print_group, print_aliases): Likewise.
52815         * nis/nss-nisplus.h (niserr2nss): Likewise.
52816         * nscd/connections.c (restart_p): Likewise.
52817         Change return type to bool.
52819 2013-02-05  Roland McGrath  <roland@hack.frob.com>
52821         * Makeconfig (all-Depend-files): Add existing
52822         $(sorted-subdirs:=/Depend) files.
52823         (all-subdirs): Remove nss.
52824         * sysdeps/unix/inet/Subdirs: Add it here instead.
52825         * hesiod/Depend: New file.
52827         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
52828         instead of calling alloca.
52830         * io/lseek.c (__lseek): Rename to __libc_lseek.
52831         Define __lseek as an alias.
52833         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
52835 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
52837         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
52838         else clause and remove check for non-standard endianness.
52840 2013-02-04  David S. Miller  <davem@davemloft.net>
52842         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52844 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
52846         [BZ #13550]
52847         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
52848         (__ubp_memchr): Remove prototype.
52849         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
52850         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52851         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
52852         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52853         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
52854         Remove alias.
52855         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
52856         (__ubp_memchr): Likewise.
52857         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
52858         (__ubp_memchr): Likewise.
52859         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
52860         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
52861         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
52862         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
52863         CHECK_STRING.
52864         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
52865         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
52866         (__getcwd): Do not use CHECK_STRING.
52867         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
52868         <bp-checks.h>.
52869         (__real_chown): Do not use CHECK_STRING.
52870         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
52871         <bp-checks.h>.
52872         (fchownat): Do not use CHECK_STRING.
52873         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
52874         CHECK_STRING.
52875         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
52876         <bp-checks.h>.
52877         (__lchown): Do not use CHECK_STRING.
52878         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52879         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52880         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52881         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
52882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
52883         include <bp-checks.h>.
52884         (truncate64): Do not use CHECK_STRING.
52885         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
52886         <bp-checks.h>.
52887         (__real_chown): Do not use CHECK_STRING.
52888         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
52889         <bp-checks.h>.
52890         (__lchown): Do not use CHECK_STRING.
52891         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
52892         <bp-checks.h>.
52893         (__chown): Do not use CHECK_STRING.
52894         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
52895         <bp-checks.h>.
52896         (truncate64): Do not use CHECK_STRING.
52897         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
52898         Likewise.
52899         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
52900         (__xmknod): Do not use CHECK_STRING.
52901         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
52902         <bp-checks.h>.
52903         (__xmknodat): Do not use CHECK_STRING.
52904         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52905         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
52907 2013-02-04  Andreas Schwab  <schwab@suse.de>
52909         [BZ #14142]
52910         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
52911         * include/netdb.h: Likewise for h_errno.
52912         * elf/tst-stackguard1.c: Include <tls.h>.
52914 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
52916         * elf/link.h (struct link_map): Extend the l_addr comment.
52917         * include/link.h (struct link_map): Likewise.
52919 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
52921         [BZ #13550]
52922         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
52923         (BOUNDED_1): Remove macro.
52924         * debug/backtrace.c: Don't include <bp-checks.h>.
52925         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
52926         (__backtrace): Likewise.
52927         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
52928         <bp-checks.h>.
52929         (__backtrace): Don't use BOUNDED_1.
52930         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
52931         <bp-checks.h>.
52932         (__backtrace): Don't use BOUNDED_1.
52933         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
52934         (__backtrace): Don't use BOUNDED_1.
52935         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
52936         (shmat): Don't use BOUNDED_N.
52938 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
52940         [BZ #13550]
52941         * sysdeps/generic/bp-start.h: Remove file.
52942         * csu/libc-start.c: Don't include <bp-start.h>.
52943         (LIBC_START_MAIN): Set up __environ directly instead of using
52944         INIT_ARGV_and_ENVIRON.
52945         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
52946         <bp-start.h>.
52948         [BZ #13550]
52949         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
52950         definitions.
52951         (CHECK_FCNTL): Likewise.
52952         (CHECK_N_PAGES): Likewise.
52954         [BZ #13550]
52955         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
52956         definitions.
52957         (CHECK_SIGSET_NULL_OK): Likewise.
52958         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
52959         <bp-checks.h>.
52960         (sigpending): Don't use CHECK_SIGSET.
52961         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
52962         <bp-checks.h>.
52963         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52964         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
52965         <bp-checks.h>.
52966         (do_sigsuspend): Don't use CHECK_SIGSET.
52967         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
52968         use CHECK_SIGSET.
52969         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
52970         (do_sigwait): Don't use CHECK_SIGSET.
52971         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
52972         use CHECK_SIGSET.
52973         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
52974         include <bp-checks.h>.
52975         (sigpending): Don't use CHECK_SIGSET.
52976         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
52977         include <bp-checks.h>.
52978         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52979         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
52980         <bp-checks.h>.
52981         (sigpending): Don't use CHECK_SIGSET.
52982         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
52983         <bp-checks.h>.
52984         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52986         [BZ #13550]
52987         * sysdeps/generic/bp-semctl.h: Remove file.
52988         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
52989         <bp-checks.h> and <bp-semctl.h>.
52990         (__old_semctl): Don't use CHECK_SEMCTL.
52991         (__new_semctl): Likewise.
52992         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
52993         and <bp-semctl.h>.
52994         (__old_semctl): Don't use CHECK_SEMCTL.
52995         (__new_semctl): Likewise.
52996         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
52997         <bp-checks.h> and <bp-semctl.h>.
52998         (__old_semctl): Don't use CHECK_SEMCTL.
52999         (__new_semctl): Likewise.
53000         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
53001         <bp-checks.h> and <bp-semctl.h>.
53002         (semctl): Don't use CHECK_SEMCTL.
53004         [BZ #13550]
53005         * Makerules (elide-bp-thunks): Remove variable.
53006         (elide-routines.oS): Don't use $(elide-bp-thunks).
53007         (elide-routines.os): Likewise.
53008         (elide-routines.o): Likewise.
53009         (elide-routines.op): Likewise.
53010         (elide-routines.og): Likewise.
53011         (objects): Don't use $(bp-thunks).
53012         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
53013         include.
53014         (common-generated): Do not add s-proto-bp.d.
53015         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
53016         (int): Likewise.
53017         (typ): Likewise.
53018         Do not generate makefile rules for bounded-pointer thunks.
53019         * sysdeps/generic/bp-thunks.h: Remove file.
53020         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
53021         * sysdeps/unix/s-proto-bp.S: Likewise.
53023         [BZ #15062]
53024         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
53025         parts of result separately when argument is not close to line from
53026         -i to i and one part of argument is small.
53027         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53028         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53029         * math/libm-test.inc (cacos_test): Add more tests.
53030         (casin_test): Likewise.
53031         (casinh_test): Likewise.
53032         * sysdeps/i386/fpu/libm-test-ulps: Update.
53033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53035 2013-01-31  David S. Miller  <davem@davemloft.net>
53037         * po/de.po: Update from translation team.
53039 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
53041         * time/tzfile.c: Include stdint.h for SIZE_MAX.
53043 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
53045         * configure.in (_AC_PROG_CC_C89): New definition.
53046         * configure: Regenerate.
53048         * configure.in (AC_PROG_CPP): New definition.
53049         * configure: Regenerate.
53051 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
53053         * debug/tst-backtrace.h: New file.
53054         * debug/tst-backtrace2.c: Include tst-backtrace.h.
53055         (ret): Remove variable.
53056         (x): Likewise.
53057         (FAIL): Remove macro.
53058         (NO_INLINE): Likewise.
53059         (fn1): Use match function instead of strstr.
53060         * debug/tst-backtrace3.c: Include tst-backtrace.h.
53061         (ret): Remove variable.
53062         (x): Likewise.
53063         (FAIL): Remove macro.
53064         (NO_INLINE): Likewise.
53065         (fn): Use match function instead of strstr.
53066         * debug/tst-backtrace4.c: Include tst-backtrace.h.
53067         (ret): Remove variable.
53068         (x): Likewise.
53069         (FAIL): Remove macro.
53070         (NO_INLINE): Likewise.
53071         (handle_signal): Use match function instead of strstr.
53072         * debug/tst-backtrace5.c: Include tst-backtrace.h.
53073         (ret): Remove variable.
53074         (x): Likewise.
53075         (FAIL): Remove macro.
53076         (NO_INLINE): Likewise.
53077         (handle_signal): Use match function instead of strstr.
53079 2013-01-23  Roland McGrath  <roland@hack.frob.com>
53081         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
53083 2013-01-23  David S. Miller  <davem@davemloft.net>
53085         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
53086         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
53087         argument of CAS if possible.
53088         * sysdeps/sparc/sparc64/bits/atomic.h
53089         (__arch_compare_and_exchange_val_32_acq): Likewise.
53090         (__arch_compare_and_exchange_val_64_acq): Likewise.
53092 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
53094         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
53095         * sysdeps/posix/ulimit.c: ... this.
53096         Include <limits.h>.
53097         * sysdeps/unix/bsd/ulimit.c: Remove file.
53099 2013-01-23  Adam Conrad  <adconrad@0c3.net>
53101         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
53102         (LDFLAGS-tst-array5): Likewise.
53104 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
53106         [BZ #15036]
53107         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
53108         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
53109         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
53110         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
53112 2013-01-21  David S. Miller  <davem@davemloft.net>
53114         * sysdeps/sparc/backtrace.c: New file.
53115         * sysdeps/sparc/sparc32/backtrace.h: New file.
53116         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
53117         * sysdeps/sparc/sparc64/backtrace.h: New file.
53118         * sysdeps/sparc/sparc64/backtrace.c: Delete.
53119         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
53120         -funwind-tables.
53122 2013-01-21  Andreas Schwab  <schwab@suse.de>
53124         [BZ #15020]
53125         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
53126         closed its stdout.
53128 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
53130         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
53131         "mpa2.h".
53132         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53134 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
53135             Mark Mitchell  <mark@codesourcery.com>
53136             Tom de Vries  <tom@codesourcery.com>
53137             Paul Pluzhnikov  <ppluzhnikov@google.com>
53139         * debug/tst-backtrace2.c: New file.
53140         * debug/tst-backtrace3.c: Likewise.
53141         * debug/tst-backtrace4.c: Likewise.
53142         * debug/tst-backtrace5.c: Likewise.
53143         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
53144         (CFLAGS-tst-backtrace3.c): Likewise.
53145         (CFLAGS-tst-backtrace4.c): Likewise.
53146         (CFLAGS-tst-backtrace5.c): Likewise.
53147         (LDFLAGS-tst-backtrace2): Likewise.
53148         (LDFLAGS-tst-backtrace3): Likewise.
53149         (LDFLAGS-tst-backtrace4): Likewise.
53150         (LDFLAGS-tst-backtrace5): Likewise.
53151         (tests): Add new tests tst-backtrace2, tst-backtrace3,
53152         tst-backtrace4 and tst-backtrace5.
53154 2013-01-18  Anton Blanchard  <anton@samba.org>
53155             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53157         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
53158         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
53159         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
53160         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
53161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
53162         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
53163         "+r" and remove output regs list as redundant.  Add explicit inline
53164         asm to specify register of return val to work around compiler codegen
53165         bug.  Remove (int) cast on return value.  Add return type parameter to
53166         use in macro so that this macro does not truncate return value for
53167         64-bit values.
53168         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
53169         pass to INTERNAL_VSYSCALL_NCS.
53170         (INLINE_VSYSCALL): Add 'long int' as return type to
53171         INTERNAL_VSYSCALL_NCS macro invocation.
53172         (INTERNAL_VSYSCALL): Add 'long int' as return type to
53173         INTERNAL_VSYSCALL_NCS macro invocation.
53174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53176 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53178         [BZ #14496]
53179         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
53180         Fix application of SIMD FP exception mask.
53182         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
53183         mp_no from a power of two.
53184         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
53185         __mpexp_twomm1.  Use __pow_mp.
53187         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
53188         multiplication.
53190 2013-01-17  David S. Miller  <davem@davemloft.net>
53192         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53194 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
53196         [BZ #15023]
53197         * include/complex.h: Condition contents on [!_COMPLEX_H].
53198         (__kernel_casinhf): New prototype.
53199         (__kernel_casinh): Likewise.
53200         (__kernel_casinhl): Likewise.
53201         * math/Makefile (libm_calls): Add k_casinh.
53202         * math/k_casinh.c: New file.
53203         * math/k_casinhf.c: Likewise.
53204         * math/k_casinhl.c: Likewise.
53205         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
53206         finite nonzero arguments.
53207         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
53208         finite nonzero arguments.
53209         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
53210         finite nonzero arguments.
53211         * math/s_casinh.c: Do not include <float.h>.
53212         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
53213         * math/s_casinhf.c: Do not include <float.h>.
53214         (__casinhf): Move code for finite nonzero arguments to
53215         k_casinhf.c.
53216         * math/s_casinhl.c: Do not include <float.h>.
53217         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
53218         redefine.
53219         (__casinhl): Move code for finite nonzero arguments to
53220         k_casinhl.c.
53221         * math/libm-test.inc (cacos_test): Add more tests.
53222         * sysdeps/i386/fpu/libm-test-ulps: Update.
53223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53225 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
53227         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
53228         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
53229         [!HAVE_MREMAP]: Remove [defined linux] case.
53230         * malloc/arena.c: Do not include <malloc-sysdep.h>.
53232 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53234         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
53236 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
53238         * elf/elf.h (R_386_SIZE32): New relocation.
53239         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
53240         R_386_SIZE32.
53241         (elf_machine_rela): Likewise.
53242         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
53243         R_X86_64_SIZE64 and R_X86_64_SIZE32.
53245 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
53247         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
53248         (FP_FAST_FMA): Do not define.
53249         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
53250         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
53251         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
53252         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
53253         !_SOFT_FLOAT]: Likewise.
53254         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
53255         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
53256         value.
53257         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
53258         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
53259         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
53260         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
53261         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
53262         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
53263         file.
53265 2013-01-16  Andreas Schwab  <schwab@suse.de>
53267         [BZ #14327]
53268         * include/stdlib.h (__mktemp): Add declaration.
53269         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
53270         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
53272 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53274         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
53275         definitions.
53276         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
53277         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
53278         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
53279         definitions here.
53280         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
53281         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
53282         definitions.
53283         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
53284         and ONE.
53285         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
53286         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
53287         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
53288         definitions.
53289         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
53290         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
53291         definitions.
53292         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
53294         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
53296 2013-01-15  David S. Miller  <davem@davemloft.net>
53298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53299         trunc{,f} to libm-sysdep_routes.
53300         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
53302         file.
53303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
53304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
53305         file.
53306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
53307         file.
53308         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
53309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
53310         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
53311         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
53312         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
53313         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
53314         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
53315         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
53317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53318         nearbyint{,f} to libm-sysdep_routes.
53319         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
53321         New file.
53322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
53323         file.
53324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
53325         New file.
53326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
53327         file.
53328         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
53329         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
53330         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
53331         file.
53332         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
53333         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
53334         file.
53335         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
53336         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
53337         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
53339         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53340         libc_feholdexcept and libc_fesetenv.
53342 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
53344         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
53346 2013-01-14  David S. Miller  <davem@davemloft.net>
53348         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
53349         (SPARC_ASM_VIS2_IFUNC): Likewise.
53350         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
53351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
53352         use of 'siam' instruction.
53353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
53354         Likewise.
53355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
53356         Likewise.
53357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
53358         Likewise.
53359         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
53360         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
53361         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
53362         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
53363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
53364         file.
53365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
53366         file.
53367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
53368         file.
53369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
53370         file.
53371         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
53372         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
53373         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
53374         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
53375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
53376         new VIS2 routines.
53377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53380         Likewise.
53381         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53382         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53383         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53384         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
53386         routines to libm-sysdep_routines.
53387         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53390         fdim/fdimf to libm-sysdep_routines.
53391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
53392         file.
53393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
53394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
53395         file.
53396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
53397         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
53398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
53399         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
53400         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
53401         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
53402         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
53404 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53406         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
53407         to optimize copies.
53409         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
53410         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53411         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53413         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
53414         local variable MPTWO.
53415         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53416         Likewise.
53418 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53420         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
53421         GLOB_NOESCAPE.
53423 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53425         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
53427 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53429         * manual/pattern.texi (glob_t): Document gl_flags.
53430         (glob64_t): Likewise.
53432 2013-01-11  David S. Miller  <davem@davemloft.net>
53434         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
53435         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
53436         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
53437         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
53438         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
53439         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
53440         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
53441         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
53442         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
53443         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
53444         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
53445         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
53446         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
53448         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53449         sparc V9 rather than using V8 code.
53450         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53451         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53453         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53454         Move to...
53455         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
53456         Here.
53458 2013-01-11  Roland McGrath  <roland@hack.frob.com>
53460         [BZ #14941]
53461         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
53462         not in the main loop.
53463         * configure: Regenerated.
53465 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
53467         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
53468         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
53469         to just #else.
53470         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
53471         [!__GLIBC_HAVE_LONG_LONG] case.
53472         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
53473         condition to just #else.
53474         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
53475         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
53476         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
53477         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
53478         unconditional.
53479         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
53480         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53481         #elif condition to just #else.
53482         * sysdeps/unix/sysv/linux/sys/sysmacros.h
53483         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
53484         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53485         #elif condition to just #else.
53487 2013-01-11  Steve Ellcey  <sellcey@mips.com>
53489         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
53490         (EF_MIPS_ARCH_64): Fix value.
53491         (EF_MIPS_ARCH_32R2): New.
53492         (EF_MIPS_ARCH_64R2): New.
53494 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
53496         * Makeconfig (+link-pie-before-libc): New.
53497         (+link-pie-after-libc): Likewise.
53498         (+link-pie-tests): Likewise.
53499         (+link-pie): Rewritten.
53500         (link-before-libc): Remove $(config-LDFLAGS).
53501         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
53502         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
53503         (config-LDFLAGS): Renamed to ...
53504         (rtld-LDFLAGS): This.
53505         (rtld-tests-LDFLAGS): New macro.
53506         (link-libc-rpath-link): Likewise.
53507         (link-libc-tests-rpath-link): Likewise.
53508         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
53509         (link-libc): Prepand $(link-libc-rpath-link).
53510         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
53511         (test-program-prefix): New macro.
53512         (test-via-rtld-prefix): Likewise.
53513         (test-program-cmd): Likewise.
53514         (host-test-program-cmd): Likewise.
53515         * Makefile ($(common-objpfx)testrun.sh): Replace
53516         $(run-program-prefix) with $(test-program-prefix).
53517         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
53518         $(rtld-LDFLAGS).
53519         ($(common-objpfx)shlib.lds): Likewise.
53520         (build-module-helper): Likewise.
53521         ($(common-objpfx)format.lds): Likewise.
53522         * Rules (binaries-pie-tests): New.
53523         (binaries-pie-notests): Likewise.
53524         (binaries-pie): Rewritten.
53525         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
53526         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
53527         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
53528         (make-test-out): Replace $(host-built-program-cmd) with
53529         $(host-test-program-cmd).
53530         * config.make.in (build-hardcoded-path-in-tests): New variable.
53531         * configure.in (--enable-hardcoded-path-in-tests): New configure
53532         option.
53533         (hardcoded_path_in_tests): New AC_SUBST.
53534         * configure: Regenerated.
53535         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
53536         $(built-program-cmd) with $(test-program-cmd).
53537         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
53538         (test_program_cmd): This.
53539         * elf/Makefile ($(objpfx)order.out): Run test with
53540         $(test-program-prefix).
53541         ($(objpfx)order2.out): Likewise.
53542         ($(objpfx)tst-initorder.out): Likewise.
53543         ($(objpfx)tst-initorder2.out): Likewise.
53544         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
53545         $(test-program-cmd).
53546         ($(objpfx)tst-array1-static.out): Likewise.
53547         ($(objpfx)tst-array2.out): Likewise.
53548         ($(objpfx)tst-array3.out): Likewise.
53549         ($(objpfx)tst-array4.out): Likewise.
53550         ($(objpfx)tst-array5.out): Likewise.
53551         ($(objpfx)tst-array5-static.out): Likewise.
53552         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
53553         $(test-program-cmd).
53554         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
53555         $(run-program-prefix) with $(test-program-prefix).
53556         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
53557         (test_program_prefix): This.
53558         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
53559         $(run-program-prefix) with $(test-program-prefix).
53560         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
53561         (test_program_prefix): This.
53562         * iconvdata/tst-tables.sh: Likewise.
53563         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
53564         $(run-program-prefix) with $(test-program-prefix).
53565         ($(objpfx)tst-translit.out): Likewise.
53566         ($(objpfx)tst-gettext2.out): Likewise.
53567         ($(objpfx)tst-gettext4.out): Likewise.
53568         ($(objpfx)tst-gettext6.out): Likewise.
53569         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
53570         (test_program_prefix): This.
53571         * intl/tst-gettext2.sh: Likewise.
53572         * intl/tst-gettext4.sh  Likewise.
53573         * intl/tst-gettext6.sh: Likewise.
53574         * intl/tst-translit.sh: Likewise.
53575         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
53576         with $(test-program-cmd).
53577         * libio/Makefile ($(objpfx)test-freopen.out): Replace
53578         $(run-program-prefix) with $(test-program-prefix).
53579         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
53580         (test_program_prefix): This.
53581         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
53582         $(run-program-prefix) with $(test-program-prefix).
53583         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
53584         (test_program_prefix): This.
53585         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
53586         * posix/Makefile ($(objpfx)globtest.out): Replace
53587         $(run-via-rtld-prefix) and $(test-wrapper) with
53588         $(test-program-prefix) and $(test-via-rtld-prefix).
53589         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
53590         $(test-program-prefix).
53591         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
53592         $(host-test-program-cmd).
53593         (tst-spawn-ARGS): Likewise.
53594         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
53595         $(test-program-prefix).
53596         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
53597         (test_via_rtld_prefix): This.
53598         (test_wrapper): Renamed to ...
53599         (test_program_prefix): This.
53600         (run_program_prefix): Replaced by test_program_prefix.
53601         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
53602         (test_program_prefix): This.
53603         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
53604         with $(host-test-program-cmd).
53605         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
53606         $(run-program-prefix) with $(test-program-prefix).
53607         ($(objpfx)tst-printf.out): Likewise.
53608         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
53609         $(test-program-cmd).
53610         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
53611         (test_program_prefix): This.
53612         * stdio-common/tst-unbputc.sh: Likewise.
53613         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
53614         $(run-program-prefix) with $(test-program-prefix).
53615         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
53616         (test_program_prefix): This.
53617         * string/Makefile ($(objpfx)tst-svc.out):  Replace
53618         $(built-program-cmd) with $(test-program-cmd).
53620 2013-01-11  Andreas Jaeger  <aj@suse.de>
53622         [BZ #15003]
53623         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
53624         value. Sync with Linux 3.7.
53626 2013-01-10  David S. Miller  <davem@davemloft.net>
53628         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
53629         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53630         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53632 2013-01-10  Roland McGrath  <roland@hack.frob.com>
53634         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
53635         never set.
53636         * configure: Regenerated.
53638 2013-01-10  David S. Miller  <davem@davemloft.net>
53640         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53641         sparc V9 rather than using V8 code.
53642         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53643         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53645 2013-01-10  Roland McGrath  <roland@hack.frob.com>
53647         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
53648         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
53649         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
53650         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
53651         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
53652         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
53653         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
53654         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
53655         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
53656         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
53657         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
53658         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
53659         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
53660         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
53661         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
53662         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
53663         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
53664         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
53665         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
53666         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
53667         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
53668         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
53669         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
53670         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
53671         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
53672         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
53673         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
53675 2013-01-10  David S. Miller  <davem@davemloft.net>
53677         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53679 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
53681         * posix/Makefile (tests-static): New variable.
53682         (tests): Add $(tests-static).
53683         (tst-exec-static-ARGS): New variable.
53684         (tst-spawn-static-ARGS): Likewise.
53685         * posix/tst-exec-static.c: New file.
53686         * posix/tst-spawn-static.c: Likewise.
53687         * posix/tst-exec.c: Support run directly.
53688         * posix/tst-spawn.c: Likewise.
53690 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
53692         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
53693         long.
53694         * math/bits/mathcalls.h (llrint): Likewise.
53695         (llround): Likewise.
53696         * stdlib/stdlib.h (struct drand48_data): Likewise.
53697         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
53698         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
53699         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
53700         Likewise.
53701         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
53702         Likewise.
53703         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
53704         (elf_greg_t): Likewise.
53705         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
53706         (__jmp_buf): Likewise.
53707         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
53708         definitions.
53709         (llrint): Likewise, for all definitions.
53710         (llrintl): Likewise.
53712         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
53713         Remove [__GNUC__] condition.
53714         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
53715         condition to just [__USE_ISOC99].
53716         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
53718 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
53720         [BZ #14200]
53721         * sysdeps/unix/sysv/linux/x86/bits/environments.h
53722         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
53723         defined.
53724         (_POSIX_V6_ILP32_OFF32): Likewise.
53725         (_XBS5_ILP32_OFF32): Likewise.
53726         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
53727         (__ILP32_OFFBIG_LDFLAGS): Likewise.
53729 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53731         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
53733         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
53734         doubles __mpexp_twomm1.  Adjust usage.
53735         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
53736         Remove.
53738 2013-01-10  Andreas Schwab  <schwab@suse.de>
53740         [BZ #14964]
53741         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
53742         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
53744 2013-01-09  David S. Miller  <davem@davemloft.net>
53746         [BZ #15003]
53747         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
53748         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
53749         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
53750         (TCP_FASTOPEN): Define.
53751         (tcp_repair_opt): New structure.
53752         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
53753         enum values.
53754         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
53755         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
53756         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
53757         (tcp_cookie_transactions): New structure.
53759 2013-01-09  Anton Blanchard  <anton@samba.org>
53761         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
53762         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
53763         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
53764         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
53766 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
53768         * include/features.h (__USE_ANSI): Remove.
53770 2013-01-09  Roland McGrath  <roland@hack.frob.com>
53772         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
53774         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
53776 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
53778         * sysdeps/s390/fpu/libm-test-ulps: Update.
53780         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53782         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
53783         (__acr): Likewise.
53784         (__cpy): Likewise.
53785         (norm): Likewise.
53786         (denorm): Likewise.
53787         (__mp_dbl): Likewise.
53788         (__dbl_mp): Likewise.
53789         (add_magnitudes): Likewise.
53790         (sub_magnitudes): Likewise.
53791         (__add): Likewise.
53792         (__sub): Likewise.
53793         (__mul): Likewise.
53794         (__inv): Likewise.
53795         (__dvd): Likewise.
53796         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
53797         (__acr): Likewise.
53798         (__cpy): Likewise.
53799         (norm): Likewise.
53800         (denorm): Likewise.
53801         (__mp_dbl): Likewise.
53802         (__dbl_mp): Likewise.
53803         (add_magnitudes): Likewise.
53804         (sub_magnitudes): Likewise.
53805         (__add): Likewise.
53806         (__sub): Likewise.
53807         (__mul): Likewise.
53808         (__inv): Likewise.
53809         (__dvd): Likewise.
53810         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
53811         (__acr): Likewise.
53812         (__cpy): Likewise.
53813         (norm): Likewise.
53814         (denorm): Likewise.
53815         (__mp_dbl): Likewise.
53816         (__dbl_mp): Likewise.
53817         (add_magnitudes): Likewise.
53818         (sub_magnitudes): Likewise.
53819         (__add): Likewise.
53820         (__sub): Likewise.
53821         (__mul): Likewise.
53822         (__inv): Likewise.
53823         (__dvd): Likewise.
53825 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
53827         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
53828         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
53829         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
53830         2 && __USE_EXTERN_INLINES]: Likewise.
53832 2013-01-08  Andreas Jaeger  <aj@suse.de>
53834         [BZ# 14985]
53835         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
53836         Remove.
53837         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53838         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53840 2013-01-07  Anton Blanchard  <anton@samba.org>
53842         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
53843         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
53844         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
53845         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
53846         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53847         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53848         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
53849         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53850         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53851         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53852         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53853         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53854         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53855         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53856         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
53857         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53858         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53859         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53860         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
53861         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53862         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
53863         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
53864         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53865         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
53866         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
53867         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53868         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53869         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
53870         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
53871         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53872         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
53873         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53874         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53875         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
53876         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
53877         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53878         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53879         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
53880         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
53881         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
53882         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
53883         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53884         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
53886 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
53888         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
53889         (__MALLOC_PMT): Likewise.
53890         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
53891         [__GNUC__], only on [_LIBC].
53892         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
53893         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
53894         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
53895         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
53896         forward declaration.
53897         (realloc_hook_ini): Likewise.
53898         (memalign_hook_ini): Likewise.
53899         (__libc_memalign): Do not use __MALLOC_PMT in variable
53900         declaration.
53901         (__libc_valloc): Likewise.
53902         (__libc_pvalloc): Likewise.
53903         (__libc_calloc): Likewise.
53904         (__posix_memalign): Likewise.
53906         [BZ #14996]
53907         * math/s_casinh.c: Include <float.h>.
53908         (__casinh): Do not do computation with squaring and square root
53909         for large arguments.
53910         * math/s_casinhf.c: Include <float.h>.
53911         (__casinhf): Do not do computation with squaring and square root
53912         for large arguments.
53913         * math/s_casinhl.c: Include <float.h>.
53914         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
53915         (__casinhl): Do not do computation with squaring and square root
53916         for large arguments.
53917         * math/libm-test.inc (casin_test): Add more tests.
53918         (casinh_test): Likewise.
53919         * sysdeps/i386/fpu/libm-test-ulps: Update.
53920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53922 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
53924         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
53925         (__x86_64_raw_data_cache_size): Likewise.
53926         (__x86_64_data_cache_size_half): Likewise.
53927         (__x86_64_raw_data_cache_size_half): Likewise.
53928         (__x86_64_shared_cache_size): Likewise.
53929         (__x86_64_raw_shared_cache_size): Likewise.
53930         (__x86_64_shared_cache_size_half): Likewise.
53931         (__x86_64_raw_shared_cache_size_half): Likewise.
53932         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
53933         to ...
53934         (__x86_data_cache_size): This.
53935         (__x86_64_raw_data_cache_size): Renamed to ...
53936         (__x86_raw_data_cache_size): This.
53937         (__x86_64_data_cache_size_half): Renamed to ...
53938         (__x86_data_cache_size_half): This.
53939         (__x86_64_raw_data_cache_size_half): Renamed to ...
53940         (__x86_raw_data_cache_size_half): This.
53941         (__x86_64_shared_cache_size): Renamed to ...
53942         (__x86_shared_cache_size): This.
53943         (__x86_64_raw_shared_cache_size): Renamed to ...
53944         (__x86_raw_shared_cache_size): This.
53945         (__x86_64_shared_cache_size_half): Renamed to ...
53946         (__x86_shared_cache_size_half): This.
53947         (__x86_64_raw_shared_cache_size_half): Renamed to ...
53948         (__x86_raw_shared_cache_size_half): This.
53949         * sysdeps/x86_64/memcpy.S: Updated.
53950         * sysdeps/x86_64/memset.S: Likewise.
53951         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
53952         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53953         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53955 2013-01-04  David S. Miller  <davem@davemloft.net>
53957         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53959 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
53961         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
53962         1 to avoid redefinition warning.
53963         (__USE_GNU): Don't define.
53964         (init_signaling_nan): Protoize.
53966         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53968 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53970         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
53971         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
53972         (__cpymn): Likewise.
53973         (norm): Remove commented code.
53974         (denorm): Likewise.
53975         (__mp_dbl): Likewise.
53976         (__inv): Likewise.
53977         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
53978         (__cpymn): Likewise.
53979         (norm): Remove commented code.
53980         (denorm): Likewise.
53981         (__mp_dbl): Likewise.
53982         (__inv): Likewise.
53984         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
53985         mp_no value for 1.0 and 2.0.
53986         (norm): Use RADIXI instead of radixi.d.
53987         (denorm): Likewise.
53988         (__mul): Use 0.0 instead of zero.d.
53989         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
53990         mp_no value for 1.0 and 2.0.
53991         (norm): Use RADIXI instead of radixi.d.
53992         (denorm): Likewise.
53993         (__mul): Use 0.0 instead of zero.d.
53995 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
53997         [BZ #14994]
53998         * math/s_casinh.c (__casinh): Reduce finite argument to first
53999         quadrant then set signs of results at the end.
54000         * math/s_casinhf.c (__casinhf): Likewise.
54001         * math/s_casinhl.c (__casinhl): Likewise.
54002         * math/libm-test.inc (casin_test): Add more tests.
54003         (casinh_test): Likewise.
54004         * sysdeps/i386/fpu/libm-test-ulps: Update.
54005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54007 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54009         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
54011         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
54013         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
54014         declarations.
54015         (denorm): Likewise.
54016         (__mp_dbl): Likewise.
54017         (__inv): Likewise.
54019         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
54020         and adjust the header comment.
54022         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
54023         variable name from declaration.
54025 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
54027         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54028         Initialize COMMON_CPUID_INDEX_7 element.
54029         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
54030         (CPUID_RTM): Likewise.
54031         (HAS_RTM): Likewise.
54032         (COMMON_CPUID_INDEX_7): New enum.
54034 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
54036         [BZ #14981]
54037         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
54038         size is zero, record memory as freed.
54040 2013-01-03  Andreas Jaeger  <aj@suse.de>
54042         * po/ia.po: Add new Interlingua translation.
54044 2012-01-03  Allan McRae  <allan@archlinux.org>
54046         * locale/programs/localedef.c: Fix description of '--posix' flag.
54048 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
54050         * NEWS: Update dates in second copyright notice.
54051         * README: Update copyright dates in example.
54052         * manual/libc.texinfo: Update copyright dates.
54053         * scripts/test-installation.pl: Update copyright date in --version
54054         output.
54056         * hurd/ctty-input.c: Fix copyright notice formatting.
54057         * hurd/ctty-output.c: Likewise.
54058         * hurd/dtable.c: Likewise.
54059         * hurd/hurd-raise.c: Likewise.
54060         * hurd/hurdprio.c: Likewise.
54061         * hurd/msgportdemux.c: Likewise.
54062         * misc/sys/file.h: Likewise.
54063         * misc/sys/ioctl.h: Likewise.
54064         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
54065         * sysdeps/mach/hurd/chdir.c: Likewise.
54066         * sysdeps/mach/hurd/fchdir.c: Likewise.
54067         * sysdeps/mach/hurd/rename.c: Likewise.
54068         * sysdeps/mach/hurd/rmdir.c: Likewise.
54069         * sysdeps/mach/hurd/seekdir.c: Likewise.
54070         * sysdeps/mach/hurd/setsid.c: Likewise.
54071         * sysdeps/posix/wait3.c: Likewise.
54073         * All files with FSF copyright notices: Update copyright dates
54074         using scripts/update-copyrights.
54075         * intl/plural.c: Regenerated.
54076         * locale/programs/charmap-kw.h: Likewise.
54077         * locale/programs/locfile-kw.h: Likewise.
54079 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54081         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
54082         four values.
54084         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
54085         calculation loop and add branch prediction.
54087         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
54088         check access beyond bounds of m1np.
54090         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54091         MPTWO.
54092         (__inv): Remove local variable MPTWO to use the global
54093         constant.
54094         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
54095         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54096         variable MPTWO.
54097         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
54098         MP3HALFS static const.
54100 2013-01-01  David S. Miller  <davem@davemloft.net>
54102         * po/ca.po: Update from translation team.
54104 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
54106         * scripts/update-copyrights: New file.
54107         * Makeconfig: Reformat copyright notice.
54108         * ctype/ctype.h: Likewise.
54109         * debug/swprintf_chk.c: Likewise.
54110         * elf/dl-cache.c: Likewise.
54111         * elf/dl-debug.c: Likewise.
54112         * elf/dl-object.c: Likewise.
54113         * grp/initgroups.c: Likewise.
54114         * hurd/Makefile: Likewise.
54115         * hurd/hurd/signal.h: Likewise.
54116         * hurd/hurdfault.c: Likewise.
54117         * hurd/hurdioctl.c: Likewise.
54118         * hurd/hurdlookup.c: Likewise.
54119         * hurd/intr-msg.c: Likewise.
54120         * iconv/gconv_open.c: Likewise.
54121         * libio/swprintf.c: Likewise.
54122         * locale/lc-ctype.c: Likewise.
54123         * locale/nl_langinfo.c: Likewise.
54124         * mach/Machrules: Likewise.
54125         * mach/Makefile: Likewise.
54126         * malloc/obstack.h: Likewise.
54127         * manual/Makefile: Likewise.
54128         * manual/tsort.awk: Likewise.
54129         * misc/bits/stab.def: Likewise.
54130         * nis/nis_print_group_entry.c: Likewise.
54131         * nis/nis_table.c: Likewise.
54132         * nis/nss_compat/compat-pwd.c: Likewise.
54133         * nis/nss_compat/compat-spwd.c: Likewise.
54134         * po/Makefile: Likewise.
54135         * posix/fnmatch.c: Likewise.
54136         * posix/regex.h: Likewise.
54137         * resolv/Makefile: Likewise.
54138         * resolv/nss_dns/dns-network.c: Likewise.
54139         * resolv/res_hconf.c: Likewise.
54140         * scripts/gen-sorted.awk: Likewise.
54141         * soft-fp/soft-fp.h: Likewise.
54142         * stdio-common/printf.h: Likewise.
54143         * stdlib/monetary.h: Likewise.
54144         * stdlib/random.c: Likewise.
54145         * stdlib/random_r.c: Likewise.
54146         * sysdeps/generic/Makefile: Likewise.
54147         * sysdeps/gnu/Makefile: Likewise.
54148         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54149         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54150         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54151         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54152         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54153         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54154         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54155         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54156         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54157         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54158         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54159         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54160         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54161         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54162         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
54163         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54164         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54165         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54166         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54167         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54168         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54169         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54170         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54171         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
54172         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
54173         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
54174         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
54175         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
54176         * sysdeps/mach/hurd/errnos.awk: Likewise.
54177         * sysdeps/mach/hurd/fork.c: Likewise.
54178         * sysdeps/mach/hurd/getcwd.c: Likewise.
54179         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
54180         * sysdeps/mach/hurd/mmap.c: Likewise.
54181         * sysdeps/mach/hurd/utimes.c: Likewise.
54182         * sysdeps/mach/hurd/xmknod.c: Likewise.
54183         * sysdeps/posix/profil.c: Likewise.
54184         * sysdeps/posix/readdir_r.c: Likewise.
54185         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54186         * sysdeps/powerpc/bits/setjmp.h: Likewise.
54187         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
54188         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
54189         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54190         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54191         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54192         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54193         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54194         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54195         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54196         * sysdeps/pthread/lio_listio.c: Likewise.
54197         * sysdeps/sparc/dl-procinfo.h: Likewise.
54198         * sysdeps/unix/i386/sysdep.S: Likewise.
54199         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
54200         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
54201         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
54202         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
54203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54204         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
54205         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
54206         * sysdeps/unix/sysv/linux/speed.c: Likewise.
54207         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
54208         * sysdeps/wordsize-32/divdi3.c: Likewise.
54209         * time/sys/time.h: Likewise.
54210         * wcsmbs/Makefile: Likewise.
54212 2013-01-01  David S. Miller  <davem@davemloft.net>
54214         * po/fr.po: Update from translation team.
54216         * catgets/gencat.c: Update copyright year.
54217         * csu/version.c: Likewise.
54218         * debug/catchsegv.sh: Likewise.
54219         * debug/pcprofiledump.c: Likewise.
54220         * debug/xtrace.sh: Likewise.
54221         * elf/ldconfig.c: Likewise.
54222         * elf/ldd.bash.in: Likewise.
54223         * elf/pldd.c: Likewise.
54224         * elf/sotruss.ksh: Likewise.
54225         * elf/sprof.c: Likewise.
54226         * iconv/iconv_prog.c: Likewise.
54227         * iconv/iconvconfig.c: Likewise.
54228         * locale/programs/locale.c: Likewise.
54229         * locale/programs/localedef.c: Likewise.
54230         * login/programs/pt_chown.c: Likewise.
54231         * malloc/memusage.sh: Likewise.
54232         * malloc/memusagestat.c: Likewise.
54233         * malloc/mtrace.pl: Likewise.
54234         * nscd/nscd.c: Likewise.
54235         * nss/getent.c: Likewise.
54236         * nss/makedb.c: Likewise.
54237         * posix/getconf.c: Likewise.
54239 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
54241         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
54242         numbers.
54244 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
54246         * math/bits/mathcalls.h (modf): Use __nonnull.
54248 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54250         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
54251         (split): Use macro CN instead of the bare value.
54252         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
54253         could be used.
54254         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
54255         instead of the bare value.
54256         (power1): Likewise.
54258 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54260         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
54261         __ATAN_TWOM.
54262         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54264         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
54265         their values.
54266         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54267         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54268         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
54269         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54271 2012-12-28  Andreas Jaeger  <aj@suse.de>
54273         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
54274         values are from Linux 3.7.
54276         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
54277         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
54279 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54281         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
54282         TRUE case.
54284         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
54285         (norm): Likewise.
54286         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
54287         variables with preprocessor constants.
54288         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54289         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54290         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54292 2012-12-27  Bruno Haible  <bruno@clisp.org>
54294         [BZ #14317]
54295         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
54296         only if needed.
54298 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54300         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
54301         and use variable directly.
54302         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
54304         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54305         MPONE.
54306         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
54307         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54308         variable MPONE.
54309         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54310         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
54311         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
54312         include directive.  Remove local variable MPONE.
54313         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
54314         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
54315         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54317 2012-12-25  David S. Miller  <davem@davemloft.net>
54319         * version.h (RELEASE): Set to "development".
54320         (VERSION): Set to "2.17.90".
54321         * NEWS: Add 2.18 section.
54323 2012-12-21  David S. Miller  <davem@davemloft.net>
54325         * po/hr.po: Update from translation team.
54327 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54329         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
54331 2012-12-19  Steve Ellcey  <sellcey@mips.com>
54333         * NEWS:  Mention new memcpy for MIPS.
54335 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54337         * manual/contrib.texi (Contributors): Spelling correction.
54339 2012-12-15  David S. Miller  <davem@davemloft.net>
54341         * po/ru.po: Update from translation team.
54343 2012-12-13  David S. Miller  <davem@davemloft.net>
54345         * NEWS: Mention IFUNC testsuite enhancements.
54347         * po/pl.po: Update from translation team.
54348         * po/bg.po: Likewise.
54350         * manual/contrib.texi (Contributors): Update entries for Hongjiu
54351         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
54353 2012-12-11  David S. Miller  <davem@davemloft.net>
54355         * po/sv.po: Update from translation team.
54357         * po/vi.po: Update from translation team.
54359         * po/cs.po: Update from translation team.
54361         * po/de.po: Update from translation team.
54362         * po/eo.po: Likewise.
54363         * po/nl.po: Likewise.
54365 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54367         [BZ #14246]
54368         * manual/argp.texi (Argp Helper Functions): Move node to follow
54369         Argp Parsing State.
54371         [BZ #14872]
54372         * manual/conf.texi (Limits on File System Capacity): Mention if
54373         terminating null is included in the max size.
54375 2012-12-10  Andreas Jaeger  <aj@suse.de>
54377         * po/cs.po: Update from translation team.
54379 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54381         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
54382         void pointer and cast to uintptr_t.
54383         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
54384         path.
54385         * sysdeps/s390/s390-64/memcpy.S: Likewise.
54386         * sysdeps/s390/s390-64/memset.S: Likewise.
54388 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
54390         [BZ #14833]
54391         * menual/message.texi (Message Translation): Fix typos.
54392         (Helper programs for gettext): Likewise.
54394 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
54396         [BZ #14898]
54397         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
54398         Change to -1.
54400 2012-12-07  David S. Miller  <davem@davemloft.net>
54402         * po/libc.pot: Update.
54404 2012-12-07  Richard Henderson  <rth@redhat.com>
54406         [BZ #10114]
54407         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
54408         normal/normal case to before the switch.
54409         (_FP_DIV): Likewise.
54411 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
54412             Mike Frysinger  <vapier@gentoo.org>
54414         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
54415         check for __NR_fadvise64_64.
54417 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
54419         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
54420         0, not just to plain "0" as a statement.
54421         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
54422         with cw.
54424 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
54426         * NEWS: Use sourceware.org in Bugzilla URL.
54428 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
54431         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54433         * stdio-common/tst-put-error.c (do_test): Add newline to the
54434         padded test to ensure flush.
54436 2012-12-05  Jeff Law  <law@redhat.com>
54438         * sunrpc/etc.rpc (fedfs_admin): Add entry.
54440 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
54442         * README: Don't refer to ports add-on as distributed separately.
54443         Mention AArch64 in list of systems supported in the ports add-on.
54445         * LICENSES: Add more non-FSF copyright and license notices.
54447         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
54448         ((unused)).
54450         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
54452         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
54453         10000 as width of padded output.
54455 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
54457         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
54459         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
54460         variable LX with __attribute__ ((unused)).
54461         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
54462         Likewise.
54463         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
54464         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54465         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
54466         with __attribute__ ((unused)).
54468 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
54470         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
54472 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
54474         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
54475         (CFLAGS-nldbl-acos.c): New variable.
54476         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
54477         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
54478         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
54479         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
54480         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
54481         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
54482         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
54483         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
54484         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
54485         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
54486         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
54487         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
54488         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
54489         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
54490         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
54491         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
54492         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
54493         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
54494         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
54495         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
54496         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
54497         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
54498         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
54499         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
54500         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
54501         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
54502         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
54503         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
54504         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
54505         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
54506         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
54507         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
54508         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
54509         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
54510         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
54511         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
54512         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
54513         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
54514         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
54515         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
54516         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
54517         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
54518         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
54519         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
54520         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
54521         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
54522         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
54523         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
54524         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
54525         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
54526         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
54527         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
54528         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
54529         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
54530         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
54531         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
54532         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
54533         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
54534         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
54535         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
54536         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
54537         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
54538         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
54539         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
54540         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
54541         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
54542         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
54543         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
54544         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
54545         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
54546         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
54547         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
54548         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
54549         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
54550         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
54551         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
54552         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
54553         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
54554         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
54555         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
54556         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
54557         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
54558         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
54559         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
54560         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
54561         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
54562         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
54563         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
54564         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
54565         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
54566         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
54567         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
54568         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
54569         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
54570         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
54571         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
54572         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
54574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54575         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54577         [BZ #14914]
54578         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
54579         whole low double instead of just low 47 bits when splitting values
54580         into two parts.
54582 2012-12-03  Allan McRae  <allan@archlinux.org>
54584         * manual/stdio.texi (Predefined Printf Handlers): Remove
54585         @hsep and @vsep usage.
54587 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
54589         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
54590         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
54592 2012-12-03  Jeff Law  <law@redhat.com>
54594         * time/sys/time.h (settimeofday): Do not mark TV argument
54595         as __nonnull.
54597 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
54599         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
54600         when currently writing and seek to current position when not.
54601         * libio/Makefile (tests): Remove bug-fclose1.
54602         * libio/bug-fclose1.c: Delete.
54604 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
54606         * manual/arith.texi (feenableexcept): Fix typo.
54607         (fedisableexcept): Likewise.
54609 2012-11-30  Roland McGrath  <roland@hack.frob.com>
54611         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
54612         second, differently-typed declaration, rather than a cast.
54614 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54616         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
54617         * include/rpc/svc.h: ... here.
54619 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
54621         [BZ #13013]
54622         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
54623         depending n and resplen2 to catch cases where answer
54624         equals answerp2.
54626 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
54628         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
54629         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
54631 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
54633         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
54635 2012-11-29  Roland McGrath  <roland@hack.frob.com>
54637         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
54639 2012-11-28  Jeff Law  <law@redhat.com>
54641         [BZ #13761]
54642         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
54643         dataset_temporary.  Track alloca usage into alloca_used.
54644         If dataset is large allocate and release it via malloc/free.
54646 2012-06-04  Florian Weimer  <fweimer@redhat.com>
54648         [BZ #14197]
54649         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
54651 2012-11-28  David S. Miller  <davem@davemloft.net>
54653         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54655 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
54657         [BZ #14803]
54658         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
54659         of pi/2 rounded to nearest to 64 bits.
54660         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
54661         nearest to 64 bits.
54662         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
54663         bits.
54665 2012-11-28  Jeff Law <law@redhat.com>
54666             Martin Osvald <mosvald@redhat.com>
54668         [BZ #14889]
54669         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
54670         * sunrpc/svc.c: Include time.h.
54671         (__svc_accept_failed): New function.
54672         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
54673         any reason other than EINTR, call __svc_accept_failed.
54674         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
54675         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
54677 2012-11-28  Andreas Schwab  <schwab@suse.de>
54679         * scripts/abilist.awk: Also handle indirect functions in .opd
54680         section.
54682 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
54684         [BZ #13881]
54685         * sysdeps/x86/fpu/powl_helper.c: New file.
54686         * sysdeps/x86/fpu/Makefile: Likewise.
54687         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
54688         (p3): New object.
54689         (__ieee754_powl): Use __powl_helper for finite arguments except
54690         integer exponents below 8.
54691         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
54692         (p3): New object.
54693         (__ieee754_powl): Use __powl_helper for finite arguments except
54694         integer exponents below 8.
54695         * math/libm-test.inc (pow_test): Add more tests and enable some
54696         previously disabled tests.
54697         * sysdeps/i386/fpu/libm-test-ulps: Update.
54698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54700 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54701             Carlos O'Donell  <carlos_odonell@mentor.com>
54703         * nss/makedb.c (is_prime): Assert that input is odd and greater
54704         than 4.  Note that fact in a comment too.
54705         (next_prime): Add 4 to input.
54707 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54709         [BZ #11741]
54710         * libio/Makefile (tests): Add test case tst-fwrite-error.
54711         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
54712         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
54713         * libio/tst-fwrite-error.c: New test case.
54715 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
54717         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
54718         before casting to void *.
54719         * include/libc-internal.h (__pointer_type): New macro.
54720         (__integer_if_pointer_type_sub): Likewise.
54721         (__integer_if_pointer_type): Likewise.
54722         (cast_to_integer): Likewise.
54723         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
54724         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
54725         before casting to atomic64_t.
54726         (atomic_exchange_acq): Likewise.
54727         (__arch_exchange_and_add_body): Likewise.
54728         (__arch_add_body): Likewise.
54729         (atomic_add_negative): Likewise.
54730         (atomic_add_zero): Likewise.
54732 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
54734         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
54735         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
54736         (add_fdes): Likewise.
54737         (linear_search_fdes): Likewise.
54738         (binary_search_unencoded_fdes): Likewise.
54740 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
54742         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
54744 2012-11-24  Adam Conrad  <adconrad@0c3.net>
54746         * configure.in: Autodetect C++ header directories.
54747         * configure: Regenerated.
54749 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
54751         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
54753 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
54755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54757 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
54759         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
54760         LDBL_MANT_DIG == 106]: Disable some tests.
54761         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54762         Likewise.
54763         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54764         Likewise.
54766         [BZ #14871]
54767         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
54768         input for small inputs.  Return +/- pi/2 for large inputs.
54769         * math/libm-test.inc (atan_test): Add more tests.
54771         * sysdeps/generic/unwind-dw2-fde-glibc.c
54772         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
54773         __attribute__ ((unused)).
54775         [BZ #14645]
54776         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
54777         x * y if x and y are nonzero and z is zero.
54779         [BZ #14811]
54780         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
54781         nonzero exponents with absolute value below 0x1p-117 to +/-
54782         0x1p-117.
54784         [BZ #14869]
54785         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
54786         up arguments below 2**-450, not just those below 2**-500.
54787         * math/libm-test.inc (hypot_test): Add another test.
54789         [BZ #14868]
54790         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
54791         Return a+b for ratio over 2**120, not 2**60.
54792         * math/libm-test.inc (hypot_test): Add another test.
54794         * math/libm-test.inc (clog_test): Use
54795         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
54796         (clog10_test): Likewise.
54798         [BZ #6778]
54799         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
54801 2012-11-22  Andreas Schwab  <schwab@suse.de>
54803         * sysdeps/i386/fpu/libm-test-ulps: Update.
54805 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
54807         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
54808         printf output with newline.
54810 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
54812         [BZ #14865]
54813         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
54814         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
54815         -z nodlopen, -z initfirst and -z execstack support.
54816         * configure: Regenerated.
54818         * elf/elf.h (DF_1_NODIRECT): New macro.
54819         (DF_1_IGNMULDEF): Likewise.
54820         (DF_1_NOKSYMS): Likewise.
54821         (DF_1_NOHDR): Likewise.
54822         (DF_1_EDITED): Likewise.
54823         (DF_1_NORELOC): Likewise.
54824         (DF_1_SYMINTPOSE): Likewise.
54825         (DF_1_GLOBAUDIT): Likewise.
54826         (DF_1_SINGLETON): Likewise.
54827         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
54828         DT_1_SUPPORTED_MASK bits.
54829         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
54831 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
54833         * sysdeps/unix/make-syscalls.sh: Document prefixes.
54835 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
54837         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
54838         macro.
54840         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
54841         (sendmmsg): Move declarations...
54842         * socket/sys/socket.h: ... here.
54843         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
54844         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
54845         include it from...
54846         * socket/recvmmsg.c: ... this new file.
54847         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
54848         (sendmmsg): Rename to __sendmmsg, create weak alias and make
54849         definition of __sendmmsg hidden.
54850         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
54851         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
54852         Move ENOSYS stub into and include it from...
54853         * socket/sendmmsg.c: ... this new file.
54854         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
54855         (sysdep_routines): Move recvmmsg and sendmmsg...
54856         * socket/Makefile (routines): ... here.
54857         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
54858         (GLIBC_PRIVATE): Add __sendmmsg.
54859         * include/sys/socket.h (__sendmmsg): Add declarations.
54860         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
54861         sendmmsg.
54863 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
54865         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
54866         variable I1 with __attribute__ ((unused)).
54867         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54869 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
54871         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
54872         DUMMY variables with __attribute__ ((unused)).
54874         * bits/byteswap.h: Include <bits/types.h>.
54875         (__bswap_64): Use __uint64_t instead of unsigned long long int.
54877 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
54879         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
54880         string_t.  Do not manually set errno.
54881         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
54882         length with __strnlen.  Make sure to both set errno and return it on
54883         failure.
54885 2012-11-19  David S. Miller  <davem@davemloft.net>
54887         With help from Joseph Myers.
54888         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
54889         very large arguments properly.
54890         * math/libm-test.inc (atan_test): New tests.
54891         (atan2_test): New tests.
54892         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54893         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54895 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
54897         [BZ #14856]
54898         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
54899         Define to 3.
54901         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
54902         [POSIX] (EADDRNOTAVAIL): Likewise.
54903         [POSIX] (EAFNOSUPPORT): Likewise.
54904         [POSIX] (EALREADY): Likewise.
54905         [POSIX] (ECONNABORTED): Likewise.
54906         [POSIX] (ECONNREFUSED): Likewise.
54907         [POSIX] (ECONNRESET): Likewise.
54908         [POSIX] (EDESTADDRREQ): Likewise.
54909         [POSIX] (EDQUOT): Likewise.
54910         [POSIX] (EHOSTUNREACH): Likewise.
54911         [POSIX] (EIDRM): Likewise.
54912         [POSIX] (EISCONN): Likewise.
54913         [POSIX] (ELOOP): Likewise.
54914         [POSIX] (EMULTIHOP): Likewise.
54915         [POSIX] (ENETDOWN): Likewise.
54916         [POSIX] (ENETUNREACH): Likewise.
54917         [POSIX] (ENOBUFS): Likewise.
54918         [POSIX] (ENODATA): Likewise.
54919         [POSIX] (ENOLINK): Likewise.
54920         [POSIX] (ENOMSG): Likewise.
54921         [POSIX] (ENOPROTOOPT): Likewise.
54922         [POSIX] (ENOSR): Likewise.
54923         [POSIX] (ENOSTR): Likewise.
54924         [POSIX] (ENOTCONN): Likewise.
54925         [POSIX] (ENOTSOCK): Likewise.
54926         [POSIX] (EOPNOTSUPP): Likewise.
54927         [POSIX] (EOVERFLOW): Likewise.
54928         [POSIX] (EPROTO): Likewise.
54929         [POSIX] (EPROTONOSUPPORT): Likewise.
54930         [POSIX] (EPROTOTYPE): Likewise.
54931         [POSIX] (ESTALE): Likewise.
54932         [POSIX] (ETIME): Likewise.
54933         [POSIX] (ETXTBSY): Likewise.
54934         [POSIX] (EWOULDBLOCK): Likewise.
54935         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
54936         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
54937         [POSIX] (SEEK_CUR): Likewise.
54938         [POSIX] (SEEK_END): Likewise.
54939         [POSIX || UNIX98] (mode_t): Do not require.
54940         [POSIX] (off_t): Likewise.
54941         [POSIX] (pid_t): Likewise.
54942         [POSIX] (sys/stat.h): Do not allow header.
54943         [POSIX] (unistd.h): Likewise.
54944         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
54945         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
54946         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
54947         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
54948         require.
54949         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
54950         sigevent): Specify elements.
54951         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
54952         entry.
54953         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
54954         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
54956         * conform/data/cpio.h-data [POSIX]: Disable whole file.
54957         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
54958         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
54959         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
54960         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
54961         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
54962         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
54963         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
54964         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
54965         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
54966         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
54967         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
54968         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
54969         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
54970         Likewise.
54971         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
54972         Likewise.
54973         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
54974         Likewise.
54975         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
54976         Likewise.
54977         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
54978         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
54979         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
54980         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
54981         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
54982         Specify lower bound on value.
54983         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
54984         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
54985         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
54986         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
54987         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
54988         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
54989         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
54990         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
54991         value.
54992         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
54993         as optional.
54994         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
54995         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
54996         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
54997         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
54998         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
54999         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
55000         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
55001         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
55002         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
55003         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
55004         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
55005         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
55006         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
55007         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
55008         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
55009         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
55010         entry.
55011         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
55012         optional.
55013         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
55014         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
55015         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
55016         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
55017         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
55018         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
55019         Likewise.
55020         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
55021         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
55022         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
55023         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
55024         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
55025         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
55026         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
55027         as optional.
55028         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
55029         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
55030         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
55031         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
55032         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
55033         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
55034         specify as optional.
55035         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
55036         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
55037         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
55038         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
55039         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
55040         [XPG3] (NL_LANGMAX): Likewise.
55041         [POSIX || XPG3] (NL_MSGMAX): Likewise.
55042         [POSIX || XPG3] (NL_NMAX): Likewise.
55043         [POSIX || XPG3] (NL_SETMAX): Likewise.
55044         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
55045         [XPG3] (NZERO): Likewise.
55046         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
55047         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
55048         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
55049         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
55050         (REG_ERANGE): Expect.
55051         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
55052         optional-constant.
55053         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
55054         Use (void) in prototype.
55055         [POSIX] (*_t): Allow.
55056         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
55057         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
55058         (WRDE_BADVAL): Expect.
55060         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
55061         expect.
55062         [XPG3 || XPG4] (O_RSYNC): Likewise.
55063         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
55064         Likewise.
55065         [XPG3 || XPG4] (pthread_sigmask): Likewise.
55066         [XPG3 || XPG4] (sigqueue): Likewise.
55067         [XPG3 || XPG4] (sigtimedwait): Likewise.
55068         [XPG3 || XPG4] (sigwaitinfo): Likewise.
55069         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
55070         [XPG3 || XPG4] (vsnprintf): Likewise.
55071         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
55072         Likewise.
55073         [XPG3 || XPG4] (blksize_t): Likewise.
55074         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
55075         Likewise.
55076         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
55077         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
55078         [XPG3 || XPG4] (struct itimerspec): Likewise.
55079         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
55080         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
55081         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
55082         [XPG3 || XPG4] (clockid_t): Likewise.
55083         [XPG3 || XPG4] (timer_t): Likewise.
55084         [XPG3 || XPG4] (clock_getres): Likewise.
55085         [XPG3 || XPG4] (clock_gettime): Likewise.
55086         [XPG3 || XPG4] (clock_settime): Likewise.
55087         [XPG3 || XPG4] (nanosleep): Likewise.
55088         [XPG3 || XPG4] (timer_create): Likewise.
55089         [XPG3 || XPG4] (timer_delete): Likewise.
55090         [XPG3 || XPG4] (timer_gettime): Likewise.
55091         [XPG3 || XPG4] (timer_getoverrun): Likewise.
55092         [XPG3 || XPG4] (timer_settime): Likewise.
55093         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
55094         [XPG3 || XPG4] (getlogin_r): Likewise.
55095         [XPG3 || XPG4] (pread): Likewise.
55096         [XPG3 || XPG4] (pthread_atfork): Likewise.
55097         [XPG3 || XPG4] (pwrite): Likewise.
55099         [BZ #14835]
55100         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
55101         <bits/siginfo.h>.
55103 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
55105         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
55106         finalizing MALLSTREAM.
55108         * sysdeps/mach/hurd/syncfs.c: New file.
55110 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55112         [BZ #14719]
55113         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
55114         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
55115         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
55116         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
55117         (_nss_dns_gethostbyname4_r): Likewise.
55118         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
55119         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
55121 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
55123         [BZ #13763]
55124         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
55126 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
55128         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
55129         * elf/cache.c (print_entry): Print ",AArch64" for
55130         FLAG_AARCH64_LIB64
55132         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
55133         * elf/cache.c (print_entry): Print ",hard-float" for
55134         FLAG_ARM_LIBHF.
55136 2012-11-18  David S. Miller  <davem@davemloft.net>
55138         With help from Joseph Myers.
55139         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
55140         cutoff to 2**-13.
55141         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
55142         cutoff to 2**-25.
55143         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
55144         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
55145         small.
55146         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
55147         * math/libm-test.inc (y0_test): New tests.
55148         (y1_test): New tests.
55149         * sysdeps/i386/fpu/libm-test-ulps: Update.
55150         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55151         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55153 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
55155         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
55156         64-bit targets.
55157         * configure: Regenerated.
55159 2012-11-17  David S. Miller  <davem@davemloft.net>
55161         [BZ #14811]
55162         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
55163         nonzero exponents with absolute value below 0x1p-128 to +/-
55164         0x1p-128.
55166 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
55168         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
55170         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
55172         * posix/getconf-speclist.c: New file.
55173         * posix/posix-envs.def: Likewise.
55174         * posix/confstr.c (START_ENV_GROUP): New macro.
55175         (END_ENV_GROUP): Likewise.
55176         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
55177         (KNOWN_PRESENT_ENV_STRING): Likewise.
55178         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
55179         (UNKNOWN_ENVIRONMENT): Likewise.
55180         (confstr): Include posix-envs.def instead of handling
55181         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
55182         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
55183         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
55184         (END_ENV_GROUP): Likewise.
55185         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
55186         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
55187         (UNKNOWN_ENVIRONMENT): Likewise.
55188         (__sysconf): Include posix-envs.def instead of handling associated
55189         cases directly here.
55190         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
55191         preprocessing getconf-speclist.c rather than running getconf or
55192         generating empty file.
55194 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
55196         * scripts/check-local-headers.sh: Ignore 'mach' headers.
55198 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
55200         [BZ #14672]
55201         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
55203 2012-11-16  David S. Miller  <davem@davemloft.net>
55205         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
55206         smaller than LDBL_EPSILON/2.0L, just return xm1.
55208 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
55210         * elf/tst-array1.c (init): Set constructor priority to 1000.
55211         (fini): Set destructor priority to 1000.
55212         * elf/tst-array2dep.c: Likewise.
55214 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55216         [BZ #11741]
55217         * libio/fileops.c (_IO_new_file_write): Correctly return error.
55218         (_IO_new_file_xsputn): Also return EOF if none of the input
55219         data was written when overflow failed.
55220         * libio/iopadn.c (_IO_padn): Likewise.
55221         * libio/iowpadn.c (_IO_wpadn): Likewise.
55222         * stdio-common/tst-put-error.c: Add copyright notice.
55223         (do_test): Add case for printing padded string.
55224         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
55225         _IO_padn returned error.
55226         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
55227         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
55228         return EOF.
55230 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55232         * libio/libioP.h: Add comment note that the references to C++
55233         bits are now obsolete.
55235 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55237         * math/libm-test.inc (check_complex): Use asprintf.
55239 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
55241         * debug/pcprofiledump.c (print_version): Update copyright year.
55242         * malloc/memusagestat.c (print_version): Likewise.
55244 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
55246         [BZ #14831]
55247         * elf/Makefile (tests): Add tst-audit8.
55248         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
55249         ($(objpfx)tst-audit8.out): New target.
55250         (tst-audit8-ENV): New variable.
55251         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
55252         audit if l_reloc_result is NULL.
55253         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
55254         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
55255         * elf/tst-audit8.c: New file.
55257 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55259         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
55260         * misc/Makefile (CFLAGS-select.c): Define.
55261         * posix/Makefile (CFLAGS-pause.c): Define.
55263 2012-11-13  David S. Miller  <davem@davemloft.net>
55265         * crypt/Makefile: Move test targets after toplevel Rules
55266         inclusion.  Grab any necessary sysdep routines when linking.
55267         * crypt/md5.c (md5_process_block): Remove define, we will always
55268         name it __md5_process_block.
55269         (md5_finish_ctx): Update md5_process_block call.
55270         (md5_stream): Likewise.
55271         (md5_process_bytes): Likewise.
55272         (md5_process_block): Rename to __md5_process_block and move to ...
55273         * crypt/md5-block.c: ... here.
55274         * crypt/sha256.c (sha256_process_block): Move to ...
55275         * crypt/sha256-block.c: ... here.
55276         * crypt/sha512.c (sha512_process_block): Move to ...
55277         * crypt/sha512-block.c: ... here.
55278         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
55279         path.
55280         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
55281         * sysdeps/sparc/sparc64/multiarch/Makefile
55282         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
55283         crypt subdir.
55284         (localedef-aux): Add md5 crypto assembler when in locale subdir.
55285         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
55286         multiarch changes.
55287         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
55288         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
55289         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
55290         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
55291         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
55292         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
55293         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
55294         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
55295         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
55296         file.
55297         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
55298         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
55299         file.
55300         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
55302 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
55304         * timezone/tzselect.ksh: Update from tzcode git revision
55305         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
55306         * timezone/zdump.c: Likewise.
55307         * timezone/zic.c: Likewise.
55308         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
55309         in TZVERSION setting, not $(PKGVERSION).
55310         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
55311         REPORT_BUGS_TO settings.
55313         [BZ #14838]
55314         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
55315         macro.
55317 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55319         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
55320         detection to immediately after _FP_ROUND().
55321         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
55322         bits are 0.
55324 2012-11-11  David S. Miller  <davem@davemloft.net>
55326         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
55327         inttypes.h
55328         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
55329         __close rather than their public counterparts.
55331 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
55333         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
55334         file.
55335         [UNIX98] (sem_timedwait): Do not expect.
55336         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
55337         [XPG4 || UNIX98] (sockatmark): Do not expect.
55338         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
55339         (clock_getcpuclockid): Do not expect.
55340         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
55341         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
55342         Do not expect.
55343         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
55344         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
55345         [UNIX98] (vwscanf): Likewise.
55346         [UNIX98] (vswscanf): Likewise.
55348 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
55350         * timezone/version.h: Remove file.
55351         * timezone/README: Do not refer to version.h.
55352         * timezone/Makefile ($(objpfx)zic.o): New dependency on
55353         $(objpfx)version.h.
55354         ($(objpfx)zdump.o): Likewise.
55355         ($(objpfx)version.h): New target.
55357         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
55358         2012i.
55359         * timezone/README: Don't mention modification to tzselect.ksh.
55360         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
55361         work on unmodified tzselect.ksh.  Substitute version numbers in
55362         tzselect.ksh.
55364         * Makefile (format-me): Remove.
55365         (INSTALL): Adjust indentation.  Use commands directly instead of
55366         using $(format-me).
55368         * aclocal.m4 (ACX_PKGVERSION): New macro.
55369         (ACX_BUGURL): Likewise.
55370         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
55371         (PKGVERSION): New AC_DEFINE_UNQUOTED.
55372         (REPORT_BUGS_TO): Likewise.
55373         * configure: Regenerated.
55374         * config.h.in (PKGVERSION): New macro.
55375         (REPORT_BUGS_TO): Likewise.
55376         * config.make.in (PKGVERSION): New variable.
55377         (PKGVERSION_TEXI): Likewise.
55378         (REPORT_BUGS_TO): Likewise.
55379         (REPORT_BUGS_TEXI): Likewise.
55380         * Makefile (format-me): Use -I$(common-objpfx)manual.
55381         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
55382         ($(common-objpfx)manual/%): New target.
55383         (manual/%): Remove target.
55384         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
55385         (print_version): Use PKGVERSION.
55386         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
55387         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
55388         and REPORT_BUGS_TO.
55389         ($(objpfx)xtrace): Likewise.
55390         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
55391         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
55392         (print_version): Use PKGVERSION.
55393         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
55394         (do_version): Use PKGVERSION.
55395         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
55396         REPORT_BUGS_TO.
55397         (common-ldd-rewrite): Likewise.
55398         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
55399         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
55400         (print_version): Use PKGVERSION.
55401         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
55402         * elf/pldd.c (argp_program_bug_address): Remove variable.
55403         (more_help): New function.
55404         (argp): Use more_help.
55405         (print_version): Use PKGVERSION.
55406         * elf/sln.c (main): Use PKGVERSION.
55407         (usage): Use REPORT_BUGS_TO.
55408         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
55409         (top level): Use PKGVERSION.
55410         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
55411         (print_version): Use PKGVERSION.
55412         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
55413         (print_version): Use PKGVERSION.
55414         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
55415         (print_version): Use PKGVERSION.
55416         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
55417         (print_version): Use PKGVERSION.
55418         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
55419         (print_version): Use PKGVERSION.
55420         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
55421         (print_version): Use PKGVERSION.
55422         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
55423         and BUGURL.
55424         ($(objpfx)memusage): Likewise.
55425         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
55426         (do_version): Use PKGVERSION.
55427         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
55428         (print_version): Use PKGVERSION.
55429         * malloc/mtrace.pl ($PACKAGE): Remove variable.
55430         ($PKGVERSION): New variable.
55431         ($REPORT_BUGS_TO): Likewise.
55432         (usage): Use $REPORT_BUGS_TO.
55433         (top level): Use $PKGVERSION.
55434         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
55435         ($(objpfx)pkgvers.texi): New rule.
55436         ($(objpfx)stamp-pkgvers): Likewise.
55437         * manual/install.texi: Include pkgvers.texi.
55438         (--with-pkgversion): Document new configure option.
55439         (--with-bugurl): Likewise.
55440         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
55441         than necessarily for this particular distribution.  Use
55442         REPORT_BUGS_TO for where to report bugs.
55443         * INSTALL: Regenerated.
55444         * manual/libc.texinfo: Include pkgvers.texi.
55445         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
55446         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
55447         (print_version): Use PKGVERSION.
55448         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
55449         (print_version): Use PKGVERSION.
55450         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
55451         (print_version): Use PKGVERSION.
55452         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
55453         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
55454         macro.
55455         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
55456         (print_version): Use PKGVERSION.
55457         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
55458         (print_version): Use PKGVERSION.
55459         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
55460         and PKGVERSION.
55462         * timezone/checktab.awk: Update from tzcode 2012i.
55463         * timezone/ialloc.c: Likewise.
55464         * timezone/private.h: Likewise.
55465         * timezone/scheck.c: Likewise.
55466         * timezone/tzfile.h: Likewise.
55467         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
55468         (TZVERSION): Hardcode tzcode version number.
55469         * timezone/zdump.c: Update from tzcode 2012i.
55470         * timezone/zic.c: Likewise.
55471         * timezone/version.h: New file.
55472         * timezone/README: Describe version.h.  Update upstream location.
55474         [BZ #14824]
55475         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
55476         (mktemp): Enable declaration.
55477         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
55478         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
55479         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
55480         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
55481         Likewise.
55482         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
55483         Likewise.
55484         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
55485         Likewise.
55486         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
55487         Likewise.
55488         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
55489         Likewise.
55490         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
55491         Likewise.
55493         [BZ #14821]
55494         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
55495         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
55496         for copies of such integer values.
55497         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55498         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55500 2012-11-09  Andreas Jaeger  <aj@suse.de>
55502         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
55503         definitions and declarations that are provided by
55504         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55506 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55508         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
55509         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
55510         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
55511         definition.
55513 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55515         * elf/elf.h: Update comment before AArch64 relocations.
55517 2012-11-07  David S. Miller  <davem@davemloft.net>
55519         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
55520         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55521         (__start_context): Declare.
55522         (__makecontext_ret): Delete.
55523         (__makecontext): Hook up __start_context instead of
55524         __makecontext_ret.
55525         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
55526         (sysdep_routines): Add __start_context when in stdlib.
55528 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55530         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
55531         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
55532         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
55533         hardcoded "nm".
55534         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
55535         (READELF): New variable.  Use it instead of hardcoded "readelf".
55537 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
55539         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
55540         * sysdeps/x86/Makefile: Here.
55541         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
55542         * sysdeps/x86/tst-xmmymm.sh: This.
55544 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55546         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
55547         expectations.
55548         [UNIX98] (pthread_barrier_t): Do not expect.
55549         [UNIX98] (pthread_barrierattr_t): Likewise.
55550         [UNIX98] (pthread_spinlock_t): Likewise.
55551         [UNIX98] (pthread_barrier_destroy): Likewise.
55552         [UNIX98] (pthread_barrier_init): Likewise.
55553         [UNIX98] (pthread_barrier_wait): Likewise.
55554         [UNIX98] (pthread_barrierattr_destroy): Likewise.
55555         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
55556         [UNIX98] (pthread_barrierattr_init): Likewise.
55557         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
55558         [UNIX98] (pthread_getcpuclockid): Likewise.
55559         [UNIX98] (pthread_mutex_timedlock): Likewise.
55560         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
55561         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
55562         [UNIX98] (pthread_sigmask): Likewise.
55563         [UNIX98] (pthread_spin_destroy): Likewise.
55564         [UNIX98] (pthread_spin_init): Likewise.
55565         [UNIX98] (pthread_spin_lock): Likewise.
55566         [UNIX98] (pthread_spin_trylock): Likewise.
55567         [UNIX98] (pthread_spin_unlock): Likewise.
55568         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
55569         Do not expect.
55570         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
55571         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
55572         [XPG3 || XPG4] (pthread_cond_t): Likewise.
55573         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
55574         [XPG3 || XPG4] (pthread_key_t): Likewise.
55575         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
55576         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
55577         [XPG3 || XPG4] (pthread_once_t): Likewise.
55578         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
55579         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
55580         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
55581         [XPG3 || XPG4] (pthread_t): Likewise.
55583         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
55584         not expect.
55585         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
55587         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
55588         Change function return type to int.
55590         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
55591         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
55592         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
55593         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
55594         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
55595         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
55596         [!POSIX] (posix_madvise): Likewise.
55597         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
55598         && !UNIX98].
55599         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
55600         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
55601         (mode_t): Likewise.
55602         (posix_mem_offset): Likewise.
55603         (posix_typed_mem_get_info): Likewise.
55604         (posix_typed_mem_open): Likewise.
55606         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
55607         Change condition to [XOPEN2K8].
55609         * conform/conformtest.pl: Preprocess allow-header data with -x c
55610         instead of from stdin.
55611         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
55612         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
55613         [C99-based standards] (cerfc): Likewise.
55614         [C99-based standards] (cexp2): Likewise.
55615         [C99-based standards] (cexpm1): Likewise.
55616         [C99-based standards] (clog10): Likewise.
55617         [C99-based standards] (clog1p): Likewise.
55618         [C99-based standards] (clog2): Likewise.
55619         [C99-based standards] (clgamma): Likewise.
55620         [C99-based standards] (ctgamma): Likewise.
55621         [C99-based standards] (cerff): Likewise.
55622         [C99-based standards] (cerfcf): Likewise.
55623         [C99-based standards] (cexp2f): Likewise.
55624         [C99-based standards] (cexpm1f): Likewise.
55625         [C99-based standards] (clog10f): Likewise.
55626         [C99-based standards] (clog1pf): Likewise.
55627         [C99-based standards] (clog2f): Likewise.
55628         [C99-based standards] (clgammaf): Likewise.
55629         [C99-based standards] (ctgammaf): Likewise.
55630         [C99-based standards] (cerfl): Likewise.
55631         [C99-based standards] (cerfcl): Likewise.
55632         [C99-based standards] (cexp2l): Likewise.
55633         [C99-based standards] (cexpm1l): Likewise.
55634         [C99-based standards] (clog10l): Likewise.
55635         [C99-based standards] (clog1pl): Likewise.
55636         [C99-based standards] (clog2l): Likewise.
55637         [C99-based standards] (clgammal): Likewise.
55638         [C99-based standards] (ctgammal): Likewise.
55639         * conform/data/inttypes.h-data [C99-based standards]: Include
55640         stdint.h-data.  Remove all expectations for stdint.h contents.
55641         [C99-based standards] (PRI*): Do not allow.
55642         [C99-based standards] (SCN*): Likewise.
55643         [C99-based standards] (*_t): Likewise.
55644         [C99-based-standards] (PRId8): Expect macro.
55645         [C99-based-standards] (PRIi8): Likewise.
55646         [C99-based-standards] (PRIo8): Likewise.
55647         [C99-based-standards] (PRIu8): Likewise.
55648         [C99-based-standards] (PRIx8): Likewise.
55649         [C99-based-standards] (PRIX8): Likewise.
55650         [C99-based-standards] (SCNd8): Likewise.
55651         [C99-based-standards] (SCNi8): Likewise.
55652         [C99-based-standards] (SCNo8): Likewise.
55653         [C99-based-standards] (SCNu8): Likewise.
55654         [C99-based-standards] (SCNx8): Likewise.
55655         [C99-based-standards] (PRIdLEAST8): Likewise.
55656         [C99-based-standards] (PRIiLEAST8): Likewise.
55657         [C99-based-standards] (PRIoLEAST8): Likewise.
55658         [C99-based-standards] (PRIuLEAST8): Likewise.
55659         [C99-based-standards] (PRIxLEAST8): Likewise.
55660         [C99-based-standards] (PRIXLEAST8): Likewise.
55661         [C99-based-standards] (SCNdLEAST8): Likewise.
55662         [C99-based-standards] (SCNiLEAST8): Likewise.
55663         [C99-based-standards] (SCNoLEAST8): Likewise.
55664         [C99-based-standards] (SCNuLEAST8): Likewise.
55665         [C99-based-standards] (SCNxLEAST8): Likewise.
55666         [C99-based-standards] (PRIdFAST8): Likewise.
55667         [C99-based-standards] (PRIiFAST8): Likewise.
55668         [C99-based-standards] (PRIoFAST8): Likewise.
55669         [C99-based-standards] (PRIuFAST8): Likewise.
55670         [C99-based-standards] (PRIxFAST8): Likewise.
55671         [C99-based-standards] (PRIXFAST8): Likewise.
55672         [C99-based-standards] (SCNdFAST8): Likewise.
55673         [C99-based-standards] (SCNiFAST8): Likewise.
55674         [C99-based-standards] (SCNoFAST8): Likewise.
55675         [C99-based-standards] (SCNuFAST8): Likewise.
55676         [C99-based-standards] (SCNxFAST8): Likewise.
55677         [C99-based-standards] (PRId16): Likewise.
55678         [C99-based-standards] (PRIi16): Likewise.
55679         [C99-based-standards] (PRIo16): Likewise.
55680         [C99-based-standards] (PRIu16): Likewise.
55681         [C99-based-standards] (PRIx16): Likewise.
55682         [C99-based-standards] (PRIX16): Likewise.
55683         [C99-based-standards] (SCNd16): Likewise.
55684         [C99-based-standards] (SCNi16): Likewise.
55685         [C99-based-standards] (SCNo16): Likewise.
55686         [C99-based-standards] (SCNu16): Likewise.
55687         [C99-based-standards] (SCNx16): Likewise.
55688         [C99-based-standards] (PRIdLEAST16): Likewise.
55689         [C99-based-standards] (PRIiLEAST16): Likewise.
55690         [C99-based-standards] (PRIoLEAST16): Likewise.
55691         [C99-based-standards] (PRIuLEAST16): Likewise.
55692         [C99-based-standards] (PRIxLEAST16): Likewise.
55693         [C99-based-standards] (PRIXLEAST16): Likewise.
55694         [C99-based-standards] (SCNdLEAST16): Likewise.
55695         [C99-based-standards] (SCNiLEAST16): Likewise.
55696         [C99-based-standards] (SCNoLEAST16): Likewise.
55697         [C99-based-standards] (SCNuLEAST16): Likewise.
55698         [C99-based-standards] (SCNxLEAST16): Likewise.
55699         [C99-based-standards] (PRIdFAST16): Likewise.
55700         [C99-based-standards] (PRIiFAST16): Likewise.
55701         [C99-based-standards] (PRIoFAST16): Likewise.
55702         [C99-based-standards] (PRIuFAST16): Likewise.
55703         [C99-based-standards] (PRIxFAST16): Likewise.
55704         [C99-based-standards] (PRIXFAST16): Likewise.
55705         [C99-based-standards] (SCNdFAST16): Likewise.
55706         [C99-based-standards] (SCNiFAST16): Likewise.
55707         [C99-based-standards] (SCNoFAST16): Likewise.
55708         [C99-based-standards] (SCNuFAST16): Likewise.
55709         [C99-based-standards] (SCNxFAST16): Likewise.
55710         [C99-based-standards] (PRId32): Likewise.
55711         [C99-based-standards] (PRIi32): Likewise.
55712         [C99-based-standards] (PRIo32): Likewise.
55713         [C99-based-standards] (PRIu32): Likewise.
55714         [C99-based-standards] (PRIx32): Likewise.
55715         [C99-based-standards] (PRIX32): Likewise.
55716         [C99-based-standards] (SCNd32): Likewise.
55717         [C99-based-standards] (SCNi32): Likewise.
55718         [C99-based-standards] (SCNo32): Likewise.
55719         [C99-based-standards] (SCNu32): Likewise.
55720         [C99-based-standards] (SCNx32): Likewise.
55721         [C99-based-standards] (PRIdLEAST32): Likewise.
55722         [C99-based-standards] (PRIiLEAST32): Likewise.
55723         [C99-based-standards] (PRIoLEAST32): Likewise.
55724         [C99-based-standards] (PRIuLEAST32): Likewise.
55725         [C99-based-standards] (PRIxLEAST32): Likewise.
55726         [C99-based-standards] (PRIXLEAST32): Likewise.
55727         [C99-based-standards] (SCNdLEAST32): Likewise.
55728         [C99-based-standards] (SCNiLEAST32): Likewise.
55729         [C99-based-standards] (SCNoLEAST32): Likewise.
55730         [C99-based-standards] (SCNuLEAST32): Likewise.
55731         [C99-based-standards] (SCNxLEAST32): Likewise.
55732         [C99-based-standards] (PRIdFAST32): Likewise.
55733         [C99-based-standards] (PRIiFAST32): Likewise.
55734         [C99-based-standards] (PRIoFAST32): Likewise.
55735         [C99-based-standards] (PRIuFAST32): Likewise.
55736         [C99-based-standards] (PRIxFAST32): Likewise.
55737         [C99-based-standards] (PRIXFAST32): Likewise.
55738         [C99-based-standards] (SCNdFAST32): Likewise.
55739         [C99-based-standards] (SCNiFAST32): Likewise.
55740         [C99-based-standards] (SCNoFAST32): Likewise.
55741         [C99-based-standards] (SCNuFAST32): Likewise.
55742         [C99-based-standards] (SCNxFAST32): Likewise.
55743         [C99-based-standards] (PRId64): Likewise.
55744         [C99-based-standards] (PRIi64): Likewise.
55745         [C99-based-standards] (PRIo64): Likewise.
55746         [C99-based-standards] (PRIu64): Likewise.
55747         [C99-based-standards] (PRIx64): Likewise.
55748         [C99-based-standards] (PRIX64): Likewise.
55749         [C99-based-standards] (SCNd64): Likewise.
55750         [C99-based-standards] (SCNi64): Likewise.
55751         [C99-based-standards] (SCNo64): Likewise.
55752         [C99-based-standards] (SCNu64): Likewise.
55753         [C99-based-standards] (SCNx64): Likewise.
55754         [C99-based-standards] (PRIdLEAST64): Likewise.
55755         [C99-based-standards] (PRIiLEAST64): Likewise.
55756         [C99-based-standards] (PRIoLEAST64): Likewise.
55757         [C99-based-standards] (PRIuLEAST64): Likewise.
55758         [C99-based-standards] (PRIxLEAST64): Likewise.
55759         [C99-based-standards] (PRIXLEAST64): Likewise.
55760         [C99-based-standards] (SCNdLEAST64): Likewise.
55761         [C99-based-standards] (SCNiLEAST64): Likewise.
55762         [C99-based-standards] (SCNoLEAST64): Likewise.
55763         [C99-based-standards] (SCNuLEAST64): Likewise.
55764         [C99-based-standards] (SCNxLEAST64): Likewise.
55765         [C99-based-standards] (PRIdFAST64): Likewise.
55766         [C99-based-standards] (PRIiFAST64): Likewise.
55767         [C99-based-standards] (PRIoFAST64): Likewise.
55768         [C99-based-standards] (PRIuFAST64): Likewise.
55769         [C99-based-standards] (PRIxFAST64): Likewise.
55770         [C99-based-standards] (PRIXFAST64): Likewise.
55771         [C99-based-standards] (SCNdFAST64): Likewise.
55772         [C99-based-standards] (SCNiFAST64): Likewise.
55773         [C99-based-standards] (SCNoFAST64): Likewise.
55774         [C99-based-standards] (SCNuFAST64): Likewise.
55775         [C99-based-standards] (SCNxFAST64): Likewise.
55776         [C99-based-standards] (PRIdMAX): Likewise.
55777         [C99-based-standards] (PRIiMAX): Likewise.
55778         [C99-based-standards] (PRIoMAX): Likewise.
55779         [C99-based-standards] (PRIuMAX): Likewise.
55780         [C99-based-standards] (PRIxMAX): Likewise.
55781         [C99-based-standards] (PRIXMAX): Likewise.
55782         [C99-based-standards] (SCNdMAX): Likewise.
55783         [C99-based-standards] (SCNiMAX): Likewise.
55784         [C99-based-standards] (SCNoMAX): Likewise.
55785         [C99-based-standards] (SCNuMAX): Likewise.
55786         [C99-based-standards] (SCNxMAX): Likewise.
55787         [C99-based-standards] (PRIdPTR): Likewise.
55788         [C99-based-standards] (PRIiPTR): Likewise.
55789         [C99-based-standards] (PRIoPTR): Likewise.
55790         [C99-based-standards] (PRIuPTR): Likewise.
55791         [C99-based-standards] (PRIxPTR): Likewise.
55792         [C99-based-standards] (PRIXPTR): Likewise.
55793         [C99-based-standards] (SCNdPTR): Likewise.
55794         [C99-based-standards] (SCNiPTR): Likewise.
55795         [C99-based-standards] (SCNoPTR): Likewise.
55796         [C99-based-standards] (SCNuPTR): Likewise.
55797         [C99-based-standards] (SCNxPTR): Likewise.
55798         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
55799         allow.
55800         * conform/data/stdint.h-data: Update comments to clarify
55801         requirements.
55802         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
55803         type.
55804         [C99-based standards] (INT8_MAX): Likewise.
55805         [C99-based standards] (INT16_MIN): Likewise.
55806         [C99-based standards] (INT16_MAX): Likewise.
55807         [C99-based standards] (INT32_MIN): Likewise.
55808         [C99-based standards] (INT32_MAX): Likewise.
55809         [C99-based standards] (INT64_MIN): Likewise.
55810         [C99-based standards] (INT64_MAX): Likewise.
55811         [C99-based standards] (UINT8_MAX): Likewise.
55812         [C99-based standards] (UINT16_MAX): Likewise.
55813         [C99-based standards] (UINT32_MAX): Likewise.
55814         [C99-based standards] (UINT64_MAX): Likewise.
55815         [C99-based standards] (INT_LEAST8_MIN): Likewise.
55816         [C99-based standards] (INT_LEAST8_MAX): Likewise.
55817         [C99-based standards] (INT_LEAST16_MIN): Likewise.
55818         [C99-based standards] (INT_LEAST16_MAX): Likewise.
55819         [C99-based standards] (INT_LEAST32_MIN): Likewise.
55820         [C99-based standards] (INT_LEAST32_MAX): Likewise.
55821         [C99-based standards] (INT_LEAST64_MIN): Likewise.
55822         [C99-based standards] (INT_LEAST64_MAX): Likewise.
55823         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
55824         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
55825         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
55826         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
55827         [C99-based standards] (INT_FAST8_MIN): Likewise.
55828         [C99-based standards] (INT_FAST8_MAX): Likewise.
55829         [C99-based standards] (INT_FAST16_MIN): Likewise.
55830         [C99-based standards] (INT_FAST16_MAX): Likewise.
55831         [C99-based standards] (INT_FAST32_MIN): Likewise.
55832         [C99-based standards] (INT_FAST32_MAX): Likewise.
55833         [C99-based standards] (INT_FAST64_MIN): Likewise.
55834         [C99-based standards] (INT_FAST64_MAX): Likewise.
55835         [C99-based standards] (UINT_FAST8_MAX): Likewise.
55836         [C99-based standards] (UINT_FAST16_MAX): Likewise.
55837         [C99-based standards] (UINT_FAST32_MAX): Likewise.
55838         [C99-based standards] (UINT_FAST64_MAX): Likewise.
55839         [C99-based standards] (INTPTR_MIN): Likewise.
55840         [C99-based standards] (INTPTR_MAX): Likewise.
55841         [C99-based standards] (UINTPTR_MAX): Likewise.
55842         [C99-based standards] (INTMAX_MIN): Likewise.
55843         [C99-based standards] (INTMAX_MAX): Likewise.
55844         [C99-based standards] (UINTMAX_MAX): Likewise.
55845         [C99-based standards] (PTRDIFF_MIN): Likewise.
55846         [C99-based standards] (PTRDIFF_MAX): Likewise.
55847         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
55848         [C99-based standards] (SIZE_MAX): Likewise.
55849         [C99-based standards] (WCHAR_MAX): Likewise.
55850         [C99-based standards] (WINT_MAX): Likewise.
55851         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
55852         constraint on value.
55853         [C99-based standards] (WCHAR_MIN): Likewise.
55854         [C99-based standards] (WINT_MIN): Likewise.
55855         [C99-based standards] (*_t): Allow.
55856         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
55857         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
55858         Include math.h-data and complex.h-data.  Remove all expectations
55859         of math.h and complex.h contents.
55860         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
55861         at end of line.
55862         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
55863         (struct tm): Expect tag.
55864         [C99-based-standards] (wcstof): Expect function.
55865         [C99-based-standards] (wcstold): Likewise.
55866         [C99-based-standards] (wcstoll): Likewise.
55867         [C99-based-standards] (wcstoull): Likewise.
55868         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
55869         macro-int-constant.  Specify type.
55870         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
55871         constraint on value.
55872         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55873         Specify type.
55874         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
55875         Specify value.
55876         [ISO C standards]: Do not allow headers.
55877         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
55878         wcs[abcdefghijklmnopqrstuvwxyz]*.
55879         [ISO C standards] (*_t): Do not allow.
55880         * conform/data/wctype.h-data [C99-based standards] (iswblank):
55881         Expect function.
55882         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
55883         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55884         Specify type.
55885         [ISO C standards]: Do not allow headers.
55886         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
55887         is[abcdefghijklmnopqrstuvwxyz]*.
55888         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
55889         to[abcdefghijklmnopqrstuvwxyz]*.
55890         [ISO C standards] (*_t): Do not allow.
55891         * conform/data/stdalign.h-data: New file.
55892         * conform/data/stdbool.h-data: Likewise.
55893         * conform/data/stdnoreturn.h-data: Likewise.
55895 2012-11-07  Roland McGrath  <roland@hack.frob.com>
55897         [BZ #14815]
55898         * manual/filesys.texi (Directory Entries): Typo fix.
55899         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
55901 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55903         * elf/elf.h (EM_AARCH64): New macro.
55904         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
55905         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
55906         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
55907         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
55908         (R_AARCH64_TLSDESC): Likewise.
55909         (NT_ARM_TLS): Likewise.
55910         (NT_ARM_HW_BREAK): Likewise.
55911         (NT_ARM_HW_WATCH): Likewise.
55913 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55915         [BZ #14811]
55916         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
55917         (__ieee754_powl): Saturate nonzero exponents with absolute value
55918         below 0x1p-79 to +/- 0x1p-79.
55919         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
55920         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
55921         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
55922         nonzero exponents with absolute value below 0x1p-32 to +/-
55923         0x1p-32.
55924         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
55925         (__ieee754_powl): Saturate nonzero exponents with absolute value
55926         below 0x1p-79 to +/- 0x1p-79.
55927         * math/libm-test.inc (pow_test): Add more tests.
55929 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55931         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
55932         _dl_s390_cap_flags with kernel. Increase string length.
55933         (_dl_s390_platforms): Add z196 and zEC12.
55935 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55937         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
55938         Change XOPEN21K to XOPEN2K.
55940 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
55942         * string/memmove.c: Use memcpy when possible.
55944 2012-11-06  Andreas Jaeger  <aj@suse.de>
55946         * po/eo.po: Update from translation team.
55948 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
55950         [BZ #14793]
55951         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
55952         exponent and small x and y exponents, scale x or y up.  Increase
55953         by 2 the exponent used in scaling up.
55954         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55955         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55956         * math/libm-test.inc (fma_test): Add more tests.
55957         (fma_test_towardzero): Likewise.
55958         (fma_test_downward): Likewise.
55959         (fma_test_upward): Likewise.
55961 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
55963         [BZ #14805]
55964         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
55965         fenv_t *.
55967         [BZ #14801]
55968         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
55969         namespace for names of struct fields.
55970         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
55971         fenv_t fields.
55972         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
55973         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
55975 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55977         [BZ #3665]
55978         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
55980 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
55982         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
55983         PTR_DEMANGLE.
55985         [BZ #5246]
55986         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
55987         PTR_DEMANGLE.
55989 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
55991         [BZ #14797]
55992         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
55993         definitely overflow as x * y not x * y + z.
55994         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55995         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55996         * math/libm-test.inc (fma_test): Add more tests.
55997         (fma_test_towardzero): Likewise.
55998         (fma_test_downward): Likewise.
55999         (fma_test_upward): Likewise.
56001 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
56003         [BZ #157]
56005         * include/stub-tag.h: Remove file.
56006         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
56007         '#include' of it.
56008         * manual/maint.texi (Porting): Don't reference it.
56009         * Makerules ($(objpfx)stubs): Likewise.
56010         * dirent/closedir.c: Don't include <stub-tag.h>.
56011         * dirent/dirfd.c: Likewise.
56012         * dirent/fdopendir.c: Likewise.
56013         * dirent/getdents.c: Likewise.
56014         * dirent/getdents64.c: Likewise.
56015         * dirent/opendir.c: Likewise.
56016         * dirent/readdir.c: Likewise.
56017         * dirent/readdir64.c: Likewise.
56018         * dirent/readdir64_r.c: Likewise.
56019         * dirent/readdir_r.c: Likewise.
56020         * dirent/rewinddir.c: Likewise.
56021         * dirent/seekdir.c: Likewise.
56022         * dirent/telldir.c: Likewise.
56023         * gmon/profil.c: Likewise.
56024         * grp/setgroups.c: Likewise.
56025         * inet/if_index.c: Likewise.
56026         * io/access.c: Likewise.
56027         * io/chdir.c: Likewise.
56028         * io/chmod.c: Likewise.
56029         * io/chown.c: Likewise.
56030         * io/close.c: Likewise.
56031         * io/dup.c: Likewise.
56032         * io/dup2.c: Likewise.
56033         * io/dup3.c: Likewise.
56034         * io/euidaccess.c: Likewise.
56035         * io/faccessat.c: Likewise.
56036         * io/fchdir.c: Likewise.
56037         * io/fchmod.c: Likewise.
56038         * io/fchmodat.c: Likewise.
56039         * io/fchown.c: Likewise.
56040         * io/fchownat.c: Likewise.
56041         * io/fcntl.c: Likewise.
56042         * io/flock.c: Likewise.
56043         * io/fstatfs.c: Likewise.
56044         * io/fstatfs64.c: Likewise.
56045         * io/fstatvfs.c: Likewise.
56046         * io/fstatvfs64.c: Likewise.
56047         * io/futimens.c: Likewise.
56048         * io/fxstat.c: Likewise.
56049         * io/fxstat64.c: Likewise.
56050         * io/fxstatat.c: Likewise.
56051         * io/fxstatat64.c: Likewise.
56052         * io/getcwd.c: Likewise.
56053         * io/isatty.c: Likewise.
56054         * io/lchmod.c: Likewise.
56055         * io/lchown.c: Likewise.
56056         * io/link.c: Likewise.
56057         * io/linkat.c: Likewise.
56058         * io/lseek.c: Likewise.
56059         * io/lseek64.c: Likewise.
56060         * io/lxstat64.c: Likewise.
56061         * io/mkdir.c: Likewise.
56062         * io/mkdirat.c: Likewise.
56063         * io/mkfifo.c: Likewise.
56064         * io/mkfifoat.c: Likewise.
56065         * io/open.c: Likewise.
56066         * io/open64.c: Likewise.
56067         * io/openat.c: Likewise.
56068         * io/openat64.c: Likewise.
56069         * io/pipe.c: Likewise.
56070         * io/pipe2.c: Likewise.
56071         * io/poll.c: Likewise.
56072         * io/posix_fadvise.c: Likewise.
56073         * io/posix_fadvise64.c: Likewise.
56074         * io/posix_fallocate.c: Likewise.
56075         * io/posix_fallocate64.c: Likewise.
56076         * io/read.c: Likewise.
56077         * io/readlink.c: Likewise.
56078         * io/readlinkat.c: Likewise.
56079         * io/rmdir.c: Likewise.
56080         * io/sendfile.c: Likewise.
56081         * io/sendfile64.c: Likewise.
56082         * io/statfs.c: Likewise.
56083         * io/statfs64.c: Likewise.
56084         * io/statvfs.c: Likewise.
56085         * io/statvfs64.c: Likewise.
56086         * io/symlink.c: Likewise.
56087         * io/symlinkat.c: Likewise.
56088         * io/ttyname.c: Likewise.
56089         * io/ttyname_r.c: Likewise.
56090         * io/umask.c: Likewise.
56091         * io/unlink.c: Likewise.
56092         * io/unlinkat.c: Likewise.
56093         * io/utime.c: Likewise.
56094         * io/utimensat.c: Likewise.
56095         * io/write.c: Likewise.
56096         * io/xmknod.c: Likewise.
56097         * io/xmknodat.c: Likewise.
56098         * io/xstat.c: Likewise.
56099         * io/xstat64.c: Likewise.
56100         * login/getpt.c: Likewise.
56101         * login/grantpt.c: Likewise.
56102         * login/unlockpt.c: Likewise.
56103         * math/e_acoshl.c: Likewise.
56104         * math/e_acosl.c: Likewise.
56105         * math/e_asinl.c: Likewise.
56106         * math/e_atan2l.c: Likewise.
56107         * math/e_atanhl.c: Likewise.
56108         * math/e_coshl.c: Likewise.
56109         * math/e_expl.c: Likewise.
56110         * math/e_fmodl.c: Likewise.
56111         * math/e_gammal_r.c: Likewise.
56112         * math/e_hypotl.c: Likewise.
56113         * math/e_j0l.c: Likewise.
56114         * math/e_j1l.c: Likewise.
56115         * math/e_jnl.c: Likewise.
56116         * math/e_lgammal_r.c: Likewise.
56117         * math/e_log10l.c: Likewise.
56118         * math/e_log2l.c: Likewise.
56119         * math/e_logl.c: Likewise.
56120         * math/e_powl.c: Likewise.
56121         * math/e_rem_pio2l.c: Likewise.
56122         * math/e_sinhl.c: Likewise.
56123         * math/e_sqrtl.c: Likewise.
56124         * math/fclrexcpt.c: Likewise.
56125         * math/fedisblxcpt.c: Likewise.
56126         * math/feenablxcpt.c: Likewise.
56127         * math/fegetenv.c: Likewise.
56128         * math/fegetexcept.c: Likewise.
56129         * math/fegetround.c: Likewise.
56130         * math/feholdexcpt.c: Likewise.
56131         * math/fesetenv.c: Likewise.
56132         * math/fesetround.c: Likewise.
56133         * math/feupdateenv.c: Likewise.
56134         * math/fgetexcptflg.c: Likewise.
56135         * math/fraiseexcpt.c: Likewise.
56136         * math/fsetexcptflg.c: Likewise.
56137         * math/ftestexcept.c: Likewise.
56138         * math/k_cosl.c: Likewise.
56139         * math/k_rem_pio2l.c: Likewise.
56140         * math/k_sinl.c: Likewise.
56141         * math/k_tanl.c: Likewise.
56142         * math/s_asinhl.c: Likewise.
56143         * math/s_atanl.c: Likewise.
56144         * math/s_cbrtl.c: Likewise.
56145         * math/s_erfl.c: Likewise.
56146         * math/s_expm1l.c: Likewise.
56147         * math/s_log1pl.c: Likewise.
56148         * math/s_tanhl.c: Likewise.
56149         * misc/acct.c: Likewise.
56150         * misc/brk.c: Likewise.
56151         * misc/chflags.c: Likewise.
56152         * misc/chroot.c: Likewise.
56153         * misc/fchflags.c: Likewise.
56154         * misc/fgetxattr.c: Likewise.
56155         * misc/flistxattr.c: Likewise.
56156         * misc/fremovexattr.c: Likewise.
56157         * misc/fsetxattr.c: Likewise.
56158         * misc/fsync.c: Likewise.
56159         * misc/ftruncate.c: Likewise.
56160         * misc/futimes.c: Likewise.
56161         * misc/futimesat.c: Likewise.
56162         * misc/getdomain.c: Likewise.
56163         * misc/getdtsz.c: Likewise.
56164         * misc/gethostid.c: Likewise.
56165         * misc/gethostname.c: Likewise.
56166         * misc/getloadavg.c: Likewise.
56167         * misc/getpagesize.c: Likewise.
56168         * misc/getsysstats.c: Likewise.
56169         * misc/getxattr.c: Likewise.
56170         * misc/gtty.c: Likewise.
56171         * misc/ioctl.c: Likewise.
56172         * misc/lgetxattr.c: Likewise.
56173         * misc/listxattr.c: Likewise.
56174         * misc/llistxattr.c: Likewise.
56175         * misc/lremovexattr.c: Likewise.
56176         * misc/lsetxattr.c: Likewise.
56177         * misc/lutimes.c: Likewise.
56178         * misc/madvise.c: Likewise.
56179         * misc/mincore.c: Likewise.
56180         * misc/mlock.c: Likewise.
56181         * misc/mlockall.c: Likewise.
56182         * misc/mmap.c: Likewise.
56183         * misc/mprotect.c: Likewise.
56184         * misc/msync.c: Likewise.
56185         * misc/munlock.c: Likewise.
56186         * misc/munlockall.c: Likewise.
56187         * misc/munmap.c: Likewise.
56188         * misc/preadv.c: Likewise.
56189         * misc/preadv64.c: Likewise.
56190         * misc/ptrace.c: Likewise.
56191         * misc/pwritev.c: Likewise.
56192         * misc/pwritev64.c: Likewise.
56193         * misc/readv.c: Likewise.
56194         * misc/reboot.c: Likewise.
56195         * misc/remap_file_pages.c: Likewise.
56196         * misc/removexattr.c: Likewise.
56197         * misc/revoke.c: Likewise.
56198         * misc/select.c: Likewise.
56199         * misc/setdomain.c: Likewise.
56200         * misc/setegid.c: Likewise.
56201         * misc/seteuid.c: Likewise.
56202         * misc/sethostid.c: Likewise.
56203         * misc/sethostname.c: Likewise.
56204         * misc/setregid.c: Likewise.
56205         * misc/setreuid.c: Likewise.
56206         * misc/setxattr.c: Likewise.
56207         * misc/sstk.c: Likewise.
56208         * misc/stty.c: Likewise.
56209         * misc/swapoff.c: Likewise.
56210         * misc/swapon.c: Likewise.
56211         * misc/sync.c: Likewise.
56212         * misc/syncfs.c: Likewise.
56213         * misc/syscall.c: Likewise.
56214         * misc/truncate.c: Likewise.
56215         * misc/ualarm.c: Likewise.
56216         * misc/usleep.c: Likewise.
56217         * misc/ustat.c: Likewise.
56218         * misc/utimes.c: Likewise.
56219         * misc/vhangup.c: Likewise.
56220         * misc/writev.c: Likewise.
56221         * posix/_exit.c: Likewise.
56222         * posix/alarm.c: Likewise.
56223         * posix/execve.c: Likewise.
56224         * posix/fexecve.c: Likewise.
56225         * posix/fork.c: Likewise.
56226         * posix/fpathconf.c: Likewise.
56227         * posix/getaddrinfo.c: Likewise.
56228         * posix/getegid.c: Likewise.
56229         * posix/geteuid.c: Likewise.
56230         * posix/getgid.c: Likewise.
56231         * posix/getgroups.c: Likewise.
56232         * posix/getlogin.c: Likewise.
56233         * posix/getlogin_r.c: Likewise.
56234         * posix/getpgid.c: Likewise.
56235         * posix/getpid.c: Likewise.
56236         * posix/getppid.c: Likewise.
56237         * posix/getresgid.c: Likewise.
56238         * posix/getresuid.c: Likewise.
56239         * posix/getsid.c: Likewise.
56240         * posix/getuid.c: Likewise.
56241         * posix/glob64.c: Likewise.
56242         * posix/nanosleep.c: Likewise.
56243         * posix/pathconf.c: Likewise.
56244         * posix/pause.c: Likewise.
56245         * posix/posix_madvise.c: Likewise.
56246         * posix/pread.c: Likewise.
56247         * posix/pread64.c: Likewise.
56248         * posix/pwrite.c: Likewise.
56249         * posix/pwrite64.c: Likewise.
56250         * posix/sched_getaffinity.c: Likewise.
56251         * posix/sched_getp.c: Likewise.
56252         * posix/sched_gets.c: Likewise.
56253         * posix/sched_primax.c: Likewise.
56254         * posix/sched_primin.c: Likewise.
56255         * posix/sched_rr_gi.c: Likewise.
56256         * posix/sched_setaffinity.c: Likewise.
56257         * posix/sched_setp.c: Likewise.
56258         * posix/sched_sets.c: Likewise.
56259         * posix/sched_yield.c: Likewise.
56260         * posix/setgid.c: Likewise.
56261         * posix/setlogin.c: Likewise.
56262         * posix/setpgid.c: Likewise.
56263         * posix/setresgid.c: Likewise.
56264         * posix/setresuid.c: Likewise.
56265         * posix/setsid.c: Likewise.
56266         * posix/setuid.c: Likewise.
56267         * posix/sleep.c: Likewise.
56268         * posix/spawni.c: Likewise.
56269         * posix/sysconf.c: Likewise.
56270         * posix/times.c: Likewise.
56271         * posix/wait.c: Likewise.
56272         * posix/wait3.c: Likewise.
56273         * posix/wait4.c: Likewise.
56274         * posix/waitpid.c: Likewise.
56275         * resolv/gai_sigqueue.c: Likewise.
56276         * resource/getpriority.c: Likewise.
56277         * resource/getrlimit.c: Likewise.
56278         * resource/getrusage.c: Likewise.
56279         * resource/nice.c: Likewise.
56280         * resource/setpriority.c: Likewise.
56281         * resource/setrlimit.c: Likewise.
56282         * resource/ulimit.c: Likewise.
56283         * rt/aio_cancel.c: Likewise.
56284         * rt/aio_fsync.c: Likewise.
56285         * rt/aio_read.c: Likewise.
56286         * rt/aio_sigqueue.c: Likewise.
56287         * rt/aio_suspend.c: Likewise.
56288         * rt/aio_write.c: Likewise.
56289         * rt/clock_getres.c: Likewise.
56290         * rt/clock_gettime.c: Likewise.
56291         * rt/clock_nanosleep.c: Likewise.
56292         * rt/clock_settime.c: Likewise.
56293         * rt/lio_listio.c: Likewise.
56294         * rt/mq_close.c: Likewise.
56295         * rt/mq_getattr.c: Likewise.
56296         * rt/mq_notify.c: Likewise.
56297         * rt/mq_open.c: Likewise.
56298         * rt/mq_receive.c: Likewise.
56299         * rt/mq_send.c: Likewise.
56300         * rt/mq_setattr.c: Likewise.
56301         * rt/mq_timedreceive.c: Likewise.
56302         * rt/mq_timedsend.c: Likewise.
56303         * rt/mq_unlink.c: Likewise.
56304         * rt/shm_open.c: Likewise.
56305         * rt/shm_unlink.c: Likewise.
56306         * rt/timer_create.c: Likewise.
56307         * rt/timer_delete.c: Likewise.
56308         * rt/timer_getoverr.c: Likewise.
56309         * rt/timer_gettime.c: Likewise.
56310         * rt/timer_settime.c: Likewise.
56311         * setjmp/__longjmp.c: Likewise.
56312         * setjmp/setjmp.c: Likewise.
56313         * signal/kill.c: Likewise.
56314         * signal/killpg.c: Likewise.
56315         * signal/raise.c: Likewise.
56316         * signal/sigaction.c: Likewise.
56317         * signal/sigaltstack.c: Likewise.
56318         * signal/sigblock.c: Likewise.
56319         * signal/sigignore.c: Likewise.
56320         * signal/sigintr.c: Likewise.
56321         * signal/signal.c: Likewise.
56322         * signal/sigpause.c: Likewise.
56323         * signal/sigpending.c: Likewise.
56324         * signal/sigqueue.c: Likewise.
56325         * signal/sigreturn.c: Likewise.
56326         * signal/sigset.c: Likewise.
56327         * signal/sigsetmask.c: Likewise.
56328         * signal/sigstack.c: Likewise.
56329         * signal/sigsuspend.c: Likewise.
56330         * signal/sigtimedwait.c: Likewise.
56331         * signal/sigvec.c: Likewise.
56332         * signal/sigwait.c: Likewise.
56333         * signal/sigwaitinfo.c: Likewise.
56334         * signal/sysv_signal.c: Likewise.
56335         * socket/accept.c: Likewise.
56336         * socket/accept4.c: Likewise.
56337         * socket/bind.c: Likewise.
56338         * socket/connect.c: Likewise.
56339         * socket/getpeername.c: Likewise.
56340         * socket/getsockname.c: Likewise.
56341         * socket/getsockopt.c: Likewise.
56342         * socket/isfdtype.c: Likewise.
56343         * socket/listen.c: Likewise.
56344         * socket/recv.c: Likewise.
56345         * socket/recvfrom.c: Likewise.
56346         * socket/recvmsg.c: Likewise.
56347         * socket/send.c: Likewise.
56348         * socket/sendmsg.c: Likewise.
56349         * socket/sendto.c: Likewise.
56350         * socket/setsockopt.c: Likewise.
56351         * socket/shutdown.c: Likewise.
56352         * socket/sockatmark.c: Likewise.
56353         * socket/socket.c: Likewise.
56354         * socket/socketpair.c: Likewise.
56355         * stdio-common/ctermid.c: Likewise.
56356         * stdio-common/cuserid.c: Likewise.
56357         * stdio-common/remove.c: Likewise.
56358         * stdio-common/rename.c: Likewise.
56359         * stdio-common/renameat.c: Likewise.
56360         * stdio-common/tempname.c: Likewise.
56361         * stdlib/getcontext.c: Likewise.
56362         * stdlib/makecontext.c: Likewise.
56363         * stdlib/setcontext.c: Likewise.
56364         * stdlib/swapcontext.c: Likewise.
56365         * stdlib/system.c: Likewise.
56366         * streams/fattach.c: Likewise.
56367         * streams/fdetach.c: Likewise.
56368         * streams/getmsg.c: Likewise.
56369         * streams/getpmsg.c: Likewise.
56370         * streams/putmsg.c: Likewise.
56371         * streams/putpmsg.c: Likewise.
56372         * sysdeps/unix/bsd/getpt.c: Likewise.
56373         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
56374         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
56375         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
56376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56377         Likewise.
56378         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
56379         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56380         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
56381         * sysvipc/msgctl.c: Likewise.
56382         * sysvipc/msgget.c: Likewise.
56383         * sysvipc/msgrcv.c: Likewise.
56384         * sysvipc/msgsnd.c: Likewise.
56385         * sysvipc/semctl.c: Likewise.
56386         * sysvipc/semget.c: Likewise.
56387         * sysvipc/semop.c: Likewise.
56388         * sysvipc/semtimedop.c: Likewise.
56389         * sysvipc/shmat.c: Likewise.
56390         * sysvipc/shmctl.c: Likewise.
56391         * sysvipc/shmdt.c: Likewise.
56392         * sysvipc/shmget.c: Likewise.
56393         * termios/tcdrain.c: Likewise.
56394         * termios/tcflow.c: Likewise.
56395         * termios/tcflush.c: Likewise.
56396         * termios/tcgetattr.c: Likewise.
56397         * termios/tcgetpgrp.c: Likewise.
56398         * termios/tcsendbrk.c: Likewise.
56399         * termios/tcsetattr.c: Likewise.
56400         * termios/tcsetpgrp.c: Likewise.
56401         * time/adjtime.c: Likewise.
56402         * time/clock.c: Likewise.
56403         * time/getitimer.c: Likewise.
56404         * time/gettimeofday.c: Likewise.
56405         * time/setitimer.c: Likewise.
56406         * time/settimeofday.c: Likewise.
56407         * time/stime.c: Likewise.
56408         * time/time.c: Likewise.
56410 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
56412         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
56413         /usr/old/bin.
56415         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
56416         instead of spaces.
56417         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
56419 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
56421         [BZ #14796]
56422         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
56423         FE_TONEAREST before applying Dekker multiplication and Knuth
56424         addition.  Clear inexact exceptions and check for exact zero
56425         results afterwards.
56426         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56427         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56428         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56429         * math/libm-test.inc (fma_test): Add more tests.
56430         (fma_test_towardzero): Likewise.
56431         (fma_test_downward): Likewise.
56432         (fma_test_upward): Likewise.
56433         * sysdeps/generic/math_private.h (default_libc_fesetround): New
56434         function.
56435         (libc_fesetround): New macro.
56436         (libc_fesetroundf): Likewise.
56437         (libc_fesetroundl): Likewise.
56438         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
56439         function.
56440         (libc_fesetround_387): Likewise.
56441         (libc_fesetroundf): New macro.
56442         (libc_fesetround): Likewise.
56443         (libc_fesetroundl): Likewise.
56444         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
56445         function.
56446         (libc_fesetroundf): New macro.
56447         (libc_fesetround): Likewise.
56448         (libc_fesetroundl): Likewise.
56449         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
56450         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
56451         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
56452         libm_hidden_ver.
56453         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
56454         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
56455         libm_hidden_def.
56456         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
56457         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
56458         libm_hidden_ver.
56459         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
56460         libm_hidden_def.
56462         [BZ #3439]
56463         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
56464         integer constant usable in #if and use that to give value to enum
56465         constant.
56466         (FE_DIVBYZERO): Likewise.
56467         (FE_UNDERFLOW): Likewise.
56468         (FE_OVERFLOW): Likewise.
56469         (FE_INVALID): Likewise.
56470         (FE_INVALID_SNAN): Likewise.
56471         (FE_INVALID_ISI): Likewise.
56472         (FE_INVALID_IDI): Likewise.
56473         (FE_INVALID_ZDZ): Likewise.
56474         (FE_INVALID_IMZ): Likewise.
56475         (FE_INVALID_COMPARE): Likewise.
56476         (FE_INVALID_SOFTWARE): Likewise.
56477         (FE_INVALID_SQRT): Likewise.
56478         (FE_INVALID_INTEGER_CONVERSION): Likewise.
56479         (FE_TONEAREST): Likewise.
56480         (FE_TOWARDZERO): Likewise.
56481         (FE_UPWARD): Likewise.
56482         (FE_DOWNWARD): Likewise.
56483         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
56484         (FE_DIVBYZERO): Likewise.
56485         (FE_OVERFLOW): Likewise.
56486         (FE_UNDERFLOW): Likewise.
56487         (FE_INEXACT): Likewise.
56488         (FE_TONEAREST): Likewise.
56489         (FE_DOWNWARD): Likewise.
56490         (FE_UPWARD): Likewise.
56491         (FE_TOWARDZERO): Likewise.
56492         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
56493         (FE_UNDERFLOW): Likewise.
56494         (FE_OVERFLOW): Likewise.
56495         (FE_DIVBYZERO): Likewise.
56496         (FE_INVALID): Likewise.
56497         (FE_TONEAREST): Likewise.
56498         (FE_TOWARDZERO): Likewise.
56499         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
56500         (FE_OVERFLOW): Likewise.
56501         (FE_UNDERFLOW): Likewise.
56502         (FE_DIVBYZERO): Likewise.
56503         (FE_INEXACT): Likewise.
56504         (FE_TONEAREST): Likewise.
56505         (FE_TOWARDZERO): Likewise.
56506         (FE_UPWARD): Likewise.
56507         (FE_DOWNWARD): Likewise.
56508         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
56509         (FE_DIVBYZERO): Likewise.
56510         (FE_OVERFLOW): Likewise.
56511         (FE_UNDERFLOW): Likewise.
56512         (FE_INEXACT): Likewise.
56513         (FE_TONEAREST): Likewise.
56514         (FE_DOWNWARD): Likewise.
56515         (FE_UPWARD): Likewise.
56516         (FE_TOWARDZERO): Likewise.
56518 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
56520         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
56522 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
56524         * scripts/cross-test-ssh.sh (command): Use newlines to separate
56525         commands.  Quote $PWD.
56526         (blacklist_exports): Don't use remove_newlines.  Replace "declare
56527         -x" by "export".
56528         (remove_newlines): Remove.
56530 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
56532         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
56533         * stdlib/stdlib.h (atof): Moved to ...
56534         * include/bits/stdlib-float.h: Here.  New file.
56535         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
56536         * stdlib/bits/stdlib-float.h: New file.
56537         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
56538         -mno-sse -mno-mmx.
56539         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
56540         <xmmintrin.h>.
56542 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56544         * conform/conformtest.pl (@headers): Add fenv.h.
56545         * conform/data/fenv.h-data: New file.
56546         * include/fenv.h [_ISOMAC]: Disable all contents of file except
56547         include of <math/fenv.h>.
56549         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
56550         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
56551         && !UNIX98].  Enables tests for XOPEN2K8.
56552         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
56553         POSIX2008]: Likewise.
56555         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
56556         (struct rusage): Do not expect type or its members.
56558         [BZ #3439]
56559         * math/math.h (FP_NAN): Define macro to integer constant usable in
56560         #if and use that to give value to enum constant.
56561         (FP_INFINITE): Likewise.
56562         (FP_ZERO): Likewise.
56563         (FP_SUBNORMAL): Likewise.
56564         (FP_NORMAL): Likewise.
56566 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
56568         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
56569         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
56570         arguments.
56572 2012-11-02  Roland McGrath  <roland@hack.frob.com>
56574         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
56575         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
56576         autoconf-time if not.
56577         * configure.in: Remove AC_PREREQ.
56579 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56581         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
56582         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
56583         of the internal implementation.
56585 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56587         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
56588         except include of <misc/sys/syslog.h>.
56590 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
56593         function returns with a NULL context exit with zero.
56595 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56597         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
56599 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
56601         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
56602         (run_program_cmd): This.
56603         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
56604         (tst_langinfo): New variable.  Use it.
56606 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
56608         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
56609         floating point opcodes.
56611 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56613         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
56614         variable.
56616         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
56618         * sysdeps/mach/hurd/powerpc: Remove directory.
56619         * sysdeps/mach/powerpc: Likewise.
56621 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56623         * scripts/check-local-headers.sh: Ignore c++ headers.
56625 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56627         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
56628         __libc_cleanup_region_start argument.
56630 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
56632         [BZ #14784]
56633         [BZ #14785]
56634         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
56635         x * y using scaling, not as x * y + z.
56636         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56637         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56638         * math/libm-test.inc (fma_test): Add more tests.
56639         (fma_test_towardzero): Likewise.
56640         (fma_test_downward): Likewise.
56641         (fma_test_upward): Likewise.
56643 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56645         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
56647 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
56649         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
56650         New variable.
56652 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
56654         * rt/tst-shm.c (worker): Correct checking for mmap failure.
56656 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
56658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56659         Fix sort order.
56660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56661         Likewise.
56663 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56666         Fix the order of the list for glibc 2.17.
56667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56668         Likewise.
56670 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
56672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56674 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
56676         [BZ #14610]
56677         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
56678         for low part of x being zero before using __atanl (y).
56679         * math/libm-test.inc (atan2_test): Add another test.
56681         * manual/install.texi (Configuring and compiling): Document
56682         general use of test-wrapper and test-wrapper-env.
56683         * INSTALL: Regenerated.
56685         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
56686         (__fma): Do not extract and scale down low bits on after-rounding
56687         systems when result rounded to normal precision would have normal
56688         exponent.
56689         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
56690         (__fmal): Do not extract and scale down low bits on after-rounding
56691         systems when result rounded to normal precision would have normal
56692         exponent.
56693         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
56694         (__fmal): Do not extract and scale down low bits on after-rounding
56695         systems when result rounded to normal precision would have normal
56696         exponent.
56697         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
56698         macro.
56699         (fma_test): Add more tests.
56700         (fma_test_towardzero): Likewise.
56701         (fma_test_downward): Likewise.
56702         (fma_test_upward): Likewise.
56704 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
56706         * sysdeps/i386/tininess.h: Renamed to ...
56707         * sysdeps/x86/tininess.h: This.
56708         * sysdeps/x86_64/tininess.h: Removed.
56710 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
56712         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
56713         input.  Use $(build-program-cmd).
56714         ($(objpfx)tst-array1-static.out): Likewise.
56715         ($(objpfx)tst-array2.out): Likewise.
56716         ($(objpfx)tst-array3.out): Likewise.
56717         ($(objpfx)tst-array4.out): Likewise.
56718         ($(objpfx)tst-array5.out): Likewise.
56719         ($(objpfx)tst-array5-static.out): Likewise.
56721 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
56723         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
56724         if defined.
56726         * nss/nsswitch.h (nss_interface_function): Provide new
56727         macro for use with NSS functions.
56728         * grp/initgroups.c: Use new macro.
56729         * nss/getXXbyYY.c: Likewise.
56730         * nss/getXXbyYY_r.c: Likewise.
56731         * nss/getXXent.c: Likewise.
56732         * nss/getXXent_r.c: Likewise.
56733         * sysdeps/posix/getaddrinfo.c: Likewise.
56735 2012-10-30  Andreas Jaeger  <aj@suse.de>
56737         * po/ru.po: Update Russion translation from translation project.
56739 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
56741         [BZ #14152]
56742         [BZ #14783]
56743         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
56744         result and shift together with sticky bit instead of replicating
56745         round-to-nearest rounding.
56746         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56747         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56748         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
56749         missing underflow exceptions.
56750         (fma_test_towardzero): Add more tests.
56751         (fma_test_downward): Likewise.
56752         (fma_test_upward): Likewise.
56754         [BZ #14047]
56755         * sysdeps/generic/tininess.h: New file.
56756         * sysdeps/i386/tininess.h: Likewise.
56757         * sysdeps/sh/tininess.h: Likewise.
56758         * sysdeps/x86_64/tininess.h: Likewise.
56759         * stdlib/tst-strtod-underflow.c: Likewise.
56760         * stdlib/tst-tininess.c: Likewise.
56761         * stdlib/strtod_l.c: Include <tininess.h>.
56762         (round_and_return): Do not set errno for exact underflow cases.
56763         Force an underflow exception when setting errno for underflow.
56764         Determine underflow based on rounding to normal precision if
56765         TININESS_AFTER_ROUNDING.
56766         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
56767         ERANGE for exact underflow cases.
56768         * stdlib/Makefile (tests): Add tst-tininess and
56769         tst-strtod-underflow.
56770         ($(objpfx)tst-tininess): Use $(link-libm).
56771         ($(objpfx)tst-strtod-underflow): Likewise.
56773 2012-10-30  Andreas Jaeger  <aj@suse.de>
56775         [BZ#14767]
56776         * elf/Makefile (tests): Remove conditional for have-initfini-array
56777         since this is now always required and the variable does not exist
56778         anymore.
56779         (tests-static): Likewise.
56780         (modules-names): Likewise.
56782         * po/eo.po: Add Esperanto translation from translation project.
56784         * elf/tst-array1.c (fini_array): Make writeable so that it can be
56785         merged with constructor/destructor.
56786         (init_array): Likewise.
56787         * elf/tst-array2dep.c (fini_array): Likewise.
56788         (init_array): Likewise.
56790 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
56792         * manual/message.texi: Delete @cartouche tags.
56794 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
56796         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
56797         EOPNOTSUPP.
56798         * sysdeps/mach/hurd/fsync.c: Likewise.
56800         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
56801         [_POSIX_REALTIME_SIGNALS]: Change condition to
56802         [_POSIX_REALTIME_SIGNALS > 0].
56804 2012-10-27  Andreas Jaeger  <aj@suse.de>
56806         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
56807         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
56808         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
56809         [__WORDSIZE != 64]: Likewise.
56811 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
56813         *  iconvdata/tst-table.sh: Remove ${SHELL}.
56814         *  iconvdata/tst-tables.sh: Likewise.
56816 2012-10-25  David S. Miller  <davem@davemloft.net>
56818         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56819         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
56820         of strtoull.
56822         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
56823         ifunc-impl-list.c
56824         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56825         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
56826         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
56827         file.
56829 2012-10-25  Roland McGrath  <roland@hack.frob.com>
56831         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56832         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
56833         __getdirentries.
56835 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
56836             Jim Blandy  <jimb@codesourcery.com>
56838         * scripts/cross-test-ssh.sh: New file.
56839         * manual/install.texi (Configuring and compiling): Document use of
56840         cross-test-ssh.sh.
56841         * INSTALL: Regenerated.
56843 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
56845         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
56846         EOPNOTSUPP.
56848 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
56850         * Makeconfig (run-program-prefix): Fix comment.
56852 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
56853             Jim Blandy  <jimb@codesourcery.com>
56855         * Makeconfig (test-wrapper): New variable,
56856         (test-wrapper-env): Likewise.
56857         [$(cross-compiling) = yes && $(test-wrapper) != ""]
56858         (run-built-tests): Define to yes.
56859         (run-program-prefix): Use $(test-wrapper).
56860         (built-program-cmd): Likewise.
56861         * Rules (make-test-out): Use $(test-wrapper-env) and
56862         $(host-built-program-cmd).
56863         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
56864         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
56865         tst-pathopt.sh.
56866         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
56867         $(test-wrapper-env) to tst-rtld-load-self.sh.
56868         ($(objpfx)order2.out): Use $(test-wrapper).
56869         ($(objpfx)tst-initorder.out): Likewise.
56870         ($(objpfx)tst-initorder2.out): Likewise.
56871         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
56872         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
56873         (test_wrapper_env): New variable.  Use it to run ld.so.
56874         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
56875         Use it to run ld.so.
56876         (test_wrapper_env): Likewise.
56877         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
56878         $(test-wrapper) to run-iconv-test.sh.
56879         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
56880         (ICONV): Use $test_wrapper.
56881         * posix/Makefile ($(objpfx)globtest.out): Pass
56882         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
56883         globtest.sh, not $(run-program-prefix).
56884         * posix/globtest.sh (run_via_rtld_prefix): New variable.
56885         (test_wrapper): Likewise.
56886         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
56887         set together with run_via_rtld_prefix.
56888         (run_program_prefix): Define in terms of test_wrapper and
56889         run_via_rtld_prefix.
56891 2012-10-24  Roland McGrath  <roland@hack.frob.com>
56893         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
56894         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
56895         Targets removed.
56897         [BZ #14743]
56898         * include/time.h: Remove librt_hidden_proto (clock_gettime).
56899         Declare __clock_getres, __clock_gettime, __clock_settime,
56900         __clock_nanosleep, and __clock_getcpuclockid.
56901         * rt/clock_gettime.c: Define __clock_gettime as an alias.
56902         Remove librt_hidden_def (clock_gettime).
56903         * sysdeps/unix/clock_gettime.c: Likewise.
56904         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
56905         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
56906         * rt/clock_getres.c: Define __clock_getres as an alias.
56907         * sysdeps/posix/clock_getres.c: Likewise.
56908         * rt/clock_settime.c: Define __clock_settime as an alias.
56909         * sysdeps/unix/clock_settime.c: Likewise.
56910         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
56911         * sysdeps/unix/clock_nanosleep.c: Likewise.
56912         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
56913         * rt/clock-compat.c: New file.
56914         * rt/Makefile (librt-routines): Add clock-compat and move
56915         $(clock-routines) to ...
56916         (routines): ... here, new variable.
56917         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
56918         Don't add get_clockfreq here.
56919         * rt/Versions (libc: GLIBC_2.17): New version set.
56920         Add clock_* symbols here.
56921         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
56922         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
56923         (GLIBC_2.17): Add clock_* symbols.
56924         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
56925         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
56926         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56928         Likewise.
56929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56930         Likewise.
56931         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56932         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
56933         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
56934         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
56935         * NEWS: Mention the move.
56937         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
56938         Use __open, __read, __close rather than their public counterparts.
56939         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56940         (__get_clockfreq_via_cpuinfo): Likewise.
56941         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
56942         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
56944         * config.h.in (HAVE_IFUNC): New #undef.
56945         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
56946         was successful.
56947         * configure: Regenerated.
56949 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
56951         * configure.in: Move READELF check to start of file.
56952         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
56953         libc_cv_asm_gnu_indirect_function in the process.
56954         * configure: Regenerated.
56956 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
56958         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
56959         send the output to /dev/null.
56960         (libc_cv_cc_with_libunwind): Likewise.
56961         (libc_cv_as_noexecstack): Likewise.
56962         * configure: Regenerate.
56964 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
56966         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
56968         * posix/globtest.sh (TMPDIR): Do not set.
56969         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
56970         (testout): Likewise.
56972 2012-10-24  Andreas Jaeger  <aj@suse.de>
56974         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
56975         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
56976         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
56977         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
56978         posix_fadvise64, posix_fallocate64.
56980         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
56981         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
56982         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
56983         Likewise.
56984         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
56985         Likewise.
56986         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
56988         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
56989         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
56990         <bits/fcntl-linux.h>.
56991         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
56993         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
56994         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
56995         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
56996         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
56997         [__WORDSIZE != 64]: Likewise.
56999 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
57001         * Makeconfig (run-built-tests): New variable.
57002         * Rules [$(cross-compiling) = yes]: Change condition to
57003         [$(run-built-tests) = no].
57004         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
57005         to [$(run-built-tests) = yes].
57006         * elf/Makefile [$(cross-compiling) = no]: Likewise.
57007         * grp/Makefile [$(cross-compiling) = no]: Likewise.
57008         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
57009         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
57010         * intl/Makefile [$(cross-compiling) = no]: Likewise.
57011         * io/Makefile [$(cross-compiling) = no]: Likewise.
57012         * libio/Makefile [$(cross-compiling) = no]: Likewise.
57013         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
57014         * misc/Makefile [$(cross-compiling) = no]: Likewise.
57015         * posix/Makefile [$(cross-compiling) = no]: Likewise.
57016         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
57017         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
57018         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
57019         * string/Makefile [$(cross-compiling) = no]: Likewise.
57021         * posix/Makefile ($(objpfx)globtest.out): Pass
57022         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
57023         $(rtld-installed-name).
57024         * posix/globtest.sh (elf_objpfx): Remove variable.
57025         (rtld_installed_name): Likewise.
57026         (library_path): Likewise.
57027         (run_program_prefix): New variable.  Use for running globtest
57028         binary.
57030 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
57031             Joseph Myers  <joseph@codesourcery.com>
57033         * Makeconfig (host-built-program-cmd): New variable.
57034         * elf/Makefile (tst-stackguard1-ARGS): Use
57035         $(host-built-program-cmd).
57036         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
57037         (tst-spawn-ARGS): Likewise.
57038         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
57040 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
57041             Jim Blandy  <jimb@codesourcery.com>
57043         * Makeconfig (run-via-rtld-prefix): New variable.
57044         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
57045         (built-program-cmd): Likewise.
57047 2012-10-22  Andreas Jaeger  <aj@suse.de>
57049         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
57050         __O_RSYNC if it exists, otherwise to O_SYNC.
57052 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
57053             Joseph Myers  <joseph@codesourcery.com>
57055         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
57056         /dev/null.
57057         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
57058         from /dev/null
57059         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
57060         /dev/null.
57062 2012-10-22  Andreas Jaeger  <aj@suse.de>
57064         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
57065         Define always.
57066         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
57068         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57069         bits/fcntl-linux.h.
57071         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
57072         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
57074         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
57075         to __O_LARGEFILE.
57076         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
57077         to __O_LARGEFILE.
57079 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
57080             Joseph Myers  <joseph@codesourcery.com>
57082         * config.make.in (NM): New variable.
57084 2012-10-21  Andreas Jaeger  <aj@suse.de>
57086         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
57087         definitions and declarations that are provided by
57088         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57090 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
57092         [BZ #14683]
57093         * elf/Makefile (tests-static): Add tst-leaks1-static.
57094         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
57095         ($(objpfx)tst-leaks1-static): New rule.
57096         ($(objpfx)tst-leaks1-static-mem): Likewise.
57097         (tst-leaks1-static-ENV): New macro.
57098         * elf/dl-open.c (dl_open_worker): Check the main application
57099         only if SHARED is defined.
57100         * elf/tst-leaks1-static.c: New file.
57102 2012-10-20  Andreas Jaeger  <aj@suse.de>
57104         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
57105         generic values for Linux.
57106         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
57107         and declarations that are provided by <bits/fcntl-linux.h> and
57108         include <bits/fcntl-linux.h>.
57109         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57110         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57112 2012-10-20  Roland McGrath  <roland@hack.frob.com>
57114         * io/fcntl.h: Move include of <bits/types.h> to the top and
57115         include it unconditionally.
57117 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
57119         * wcsmbs/Makefile (tests-ifunc): New variable.
57120         (tests): Add $(tests-ifunc).
57121         * wcsmbs/test-wcschr-ifunc.c: New file.
57122         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
57123         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
57124         * wcsmbs/test-wcslen-ifunc.c: Likewise.
57125         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
57126         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
57128         * string/Makefile (tests-ifunc): New variable.
57129         (tests): Add $(tests-ifunc).
57130         * string/test-memccpy.c (TEST_NAME): New macro.
57131         * string/test-memchr.c (TEST_NAME): Likewise.
57132         * string/test-memcmp.c (TEST_NAME): Likewise.
57133         * string/test-memcpy.c (TEST_NAME): Likewise.
57134         * string/test-memmem.c (TEST_NAME): Likewise.
57135         * string/test-memmove.c (TEST_NAME): Likewise.
57136         * string/test-memset.c (TEST_NAME): Likewise.
57137         * string/test-rawmemchr.c (TEST_NAME): Likewise.
57138         * string/test-stpcpy.c (TEST_NAME): Likewise.
57139         * string/test-stpncpy.c (TEST_NAME): Likewise.
57140         * string/test-strcasecmp.c (TEST_NAME): Likewise.
57141         * string/test-strcasestr.c (TEST_NAME): Likewise.
57142         * string/test-strcat.c (TEST_NAME): Likewise.
57143         * string/test-strchr.c (TEST_NAME): Likewise.
57144         * string/test-strcmp.c(TEST_NAME): Likewise.
57145         * string/test-strcpy.c (TEST_NAME): Likewise.
57146         * string/test-strcspn.c (TEST_NAME): Likewise.
57147         * string/test-strlen.c (TEST_NAME): Likewise.
57148         * string/test-strncasecmp.c (TEST_NAME): Likewise.
57149         * string/test-strncmp.c (TEST_NAME): Likewise.
57150         * string/test-strncpy.c (TEST_NAME): Likewise.
57151         * string/test-strnlen.c (TEST_NAME): Likewise.
57152         * string/test-strpbrk.c (TEST_NAME): Likewise.
57153         * string/test-strrchr.c (TEST_NAME): Likewise.
57154         * string/test-strspn.c (TEST_NAME): Likewise.
57155         * string/test-strstr.c (TEST_NAME): Likewise.
57156         * string/test-bcopy-ifunc.c: New file.
57157         * string/test-bzero-ifunc.c: Likewise.
57158         * string/test-memccpy-ifunc.c: Likewise.
57159         * string/test-memchr-ifunc.c: Likewise.
57160         * string/test-memcmp-ifunc.c: Likewise.
57161         * string/test-memcpy-ifunc.c: Likewise.
57162         * string/test-memmem-ifunc.c: Likewise.
57163         * string/test-memmove-ifunc.c: Likewise.
57164         * string/test-mempcpy-ifunc.c: Likewise.
57165         * string/test-memset-ifunc.c: Likewise.
57166         * string/test-rawmemchr-ifunc.c: Likewise.
57167         * string/test-stpcpy-ifunc.c: Likewise.
57168         * string/test-stpncpy-ifunc.c: Likewise.
57169         * string/test-strcasecmp-ifunc.c: Likewise.
57170         * string/test-strcasestr-ifunc.c: Likewise.
57171         * string/test-strcat-ifunc.c: Likewise.
57172         * string/test-strchr-ifunc.c: Likewise.
57173         * string/test-strchrnul-ifunc.c: Likewise.
57174         * string/test-strcmp-ifunc.c: Likewise.
57175         * string/test-strcpy-ifunc.c: Likewise.
57176         * string/test-strcspn-ifunc.c: Likewise.
57177         * string/test-strlen-ifunc.c: Likewise.
57178         * string/test-strncasecmp-ifunc.c: Likewise.
57179         * string/test-strncat-ifunc.c: Likewise.
57180         * string/test-strncmp-ifunc.c: Likewise.
57181         * string/test-strncpy-ifunc.c: Likewise.
57182         * string/test-strnlen-ifunc.c: Likewise.
57183         * string/test-strpbrk-ifunc.c: Likewise.
57184         * string/test-strrchr-ifunc.c: Likewise.
57185         * string/test-strspn-ifunc.c: Likewise.
57186         * string/test-strstr-ifunc.c: Likewise.
57188         * debug/Makefile (tests-ifunc): New variable.
57189         (tests): Add $(tests-ifunc).
57190         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
57191         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
57192         * debug/test-stpcpy_chk-ifunc.c: New file.
57193         * debug/test-strcpy_chk-ifunc.c: Likewise.
57195 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57197         [BZ #13601]
57198         * elf/dl-load.c (open_verify): Retry read if the entire ELF
57199         header is not read in.
57201 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
57203         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
57204         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
57205         directly.  Pass built executable to script as
57206         $(built-program-cmd).
57207         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
57208         $testprogram without using LD_LIBRARY_PATH and $ldso.
57210         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
57211         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
57212         $(rtld-installed-name).
57213         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
57214         (rtld_installed_name): Likewise.
57215         (library_path): Likewise.
57216         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
57217         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
57218         $(run-program-prefix) to tst-tables.sh.
57219         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
57220         it to run tst-table-from and tst-table-to.
57221         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
57222         Pass it to tst-table.sh.
57223         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
57224         $(run-program-prefix) to tst-gettext.sh.
57225         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
57226         tst-translit.sh.
57227         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
57228         tst-gettext2.sh.
57229         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
57230         to run tst-gettext.
57231         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
57232         to run tst-gettext2.
57233         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
57234         to run tst-translit.
57235         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
57236         $(run-program-prefix) to tst-mtrace.sh.
57237         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
57238         to run tst-mtrace.
57239         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
57240         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
57241         $(rtld-installed-name).
57242         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
57243         (rtld_installed_name): Likewise.
57244         (run_program_prefix): New variable.  Use it to run wordexp-test.
57246         * Makeconfig (ARCH): Remove all definitions.
57247         (machine): Likewise.
57248         [ARCH]: Remove conditional code.
57249         [!objdir]: Give error.
57250         [!objdir] (objpfx): Remove.
57251         [!objdir] (common-objpfx): Likewise.
57252         [!objdir] (common-objdir): Likewise.
57253         * configure.in (config_makefile): Remove.  Hardcode Makefile in
57254         AC_CONFIG_FILES call.
57255         * configure: Regenerated.
57257         [BZ #13888]
57258         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
57259         or TMPDIR.
57260         (testout): Likewise.
57262         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
57263         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
57264         $(rtld-installed-name).
57265         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
57266         (rtld_installed_name): Likwise.
57267         (runit): Remove function.
57268         (run_getconf): New variable,  Use it for running getconf binary.
57270 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
57272         [BZ #14716]
57273         * string/test-memmem.c (check_result): New function.
57274         (do_one_test): Use it.
57275         (check1): New function.
57276         (test_main): Use it.
57278 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
57280         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
57282 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
57284         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
57285         (_G_LSEEK64): Likewise.
57286         (_G_MMAP64): Likewise.
57287         (_G_FSTAT64): Likewise.
57288         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
57289         (_G_LSEEK64): Likewise.
57290         (_G_MMAP64): Likewise.
57291         (_G_FSTAT64): Likewise.
57292         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
57293         unconditional.  Call __mmap64 directly.
57294         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
57295         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
57296         __lseek64 directly.
57297         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
57298         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
57299         __mmap64 directly.
57300         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
57301         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
57302         __lseek64 directly.
57303         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
57304         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
57305         __lseek64 directly.
57306         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
57307         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
57308         __lseek64 directly.
57309         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
57310         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
57311         __fxstat64 directly.
57312         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
57313         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
57314         unconditional.
57315         (freopen64) [!_G_OPEN64]: Remove conditional code.
57316         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
57317         unconditional.
57318         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
57319         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
57320         unconditional.
57321         (ftello64) [!_G_LSEEK64]: Remove conditional code.
57322         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
57323         unconditional.
57324         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57325         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
57326         unconditional.
57327         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
57328         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
57329         unconditional.
57330         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57331         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
57332         unconditional.
57333         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57334         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
57335         unconditional.
57336         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57338 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57340         [BZ #12140]
57341         * manual/memory.texi (Malloc Tunable Parameters): Add note
57342         about free list pointers overwriting some perturb bytes.
57343         Wording suggested by Roland McGrath.
57345 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
57347         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
57348         (lgamma_test): Likewise.
57349         (tgamma_test): Likewise.
57351 2012-10-16  Florian Weimer  <fweimer@redhat.com>
57353         [BZ #14700]
57354         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
57355         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
57357 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
57359         * NEWS: Mention BZ #14716.
57360         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
57361         when removing AVAILABLE1_USES_J macro.
57363 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
57365         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
57366         (__bswap_64): __uint64_t for unsigned 64-bit int.
57368 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
57370         * include/string.h (memmem): Declare libc hidden alias.
57371         * string/memmem.c (memmem): Define libc hidden alias.
57372         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
57373         __read, __close instead of open, read, close.
57375 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
57377         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
57378         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
57379         global and hidden.
57380         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
57381         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
57382         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
57383         Likewise.
57384         (__rawmemchr_sse2): Likewise.
57385         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
57386         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
57387         (__strchr_sse2): Likewise.
57388         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
57389         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
57390         (__strcasecmp_sse2): Likewise.
57391         (__strncasecmp_sse2): Likewise.
57392         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
57393         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
57394         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
57395         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
57396         (__strrchr_sse2): Likewise.
57397         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
57398         ifunc-impl-list.c.
57399         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
57400         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
57401         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
57402         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57403         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
57404         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
57405         * sysdeps/x86_64/multiarch/memset.S: Likewise.
57406         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
57407         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
57408         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
57409         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
57410         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
57411         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
57412         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
57413         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
57414         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57415         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
57416         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
57417         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
57418         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
57419         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
57420         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
57421         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
57422         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
57423         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
57424         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57425         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
57426         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
57427         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
57428         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
57430         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
57431         global and hidden.
57432         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
57433         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
57434         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
57435         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
57436         Likewise.
57437         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
57438         Likewise.
57439         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
57440         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
57441         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
57442         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
57443         ifunc-impl-list.c.
57444         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57445         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57446         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57447         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57448         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57449         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57450         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57451         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57452         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57453         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57454         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57455         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57456         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57457         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
57458         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
57459         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57460         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
57461         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
57462         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57463         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57464         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57465         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57466         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57467         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57468         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57469         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
57470         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
57471         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
57472         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
57473         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57474         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
57475         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57476         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57477         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
57478         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57479         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57480         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57481         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57482         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57483         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57484         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
57486         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
57487         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
57488         * include/ifunc-impl-list.h: New file.
57489         * misc/ifunc-impl-list.c: Likewise.
57490         * misc/Makefile (routines): Add ifunc-impl-list.
57491         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
57492         * string/test-string.h: Include <ifunc-impl-list.h>.
57493         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
57494         TEST_NAME]: New variables.
57495         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
57496         are defined.
57497         (test_init): Call __libc_ifunc_impl_list to initialize
57498         func_list if TEST_IFUNC and TEST_NAME are defined.
57500         * string/Makefile (strop-tests): Add bcopy and bzero.
57501         * string/test-bcopy.c: New file.
57502         * string/test-bzero.c: Likewise.
57503         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
57504         defined.
57505         * string/test-memset.c: Support bzero test if TEST_BZERO is
57506         defined.
57507         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
57508         __libc_memmove.
57509         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
57510         __libc_memset.
57511         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
57512         of memset.
57514 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
57516         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
57517         * configure: Regenerated.
57519         * Makeconfig (+link-static-before-libc): Don't include
57520         $(link-static-libc).
57522         * libio/libio.h (_IO_pos_t): Remove.
57524 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57526         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
57527         McGrath.
57529 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57531         * crypt/crypt-entry.c: Include fips-private.h.
57532         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
57533         * crypt/md5c-test.c (main): Tolerate disabled MD5.
57534         * sysdeps/unix/sysv/linux/fips-private.h: New file.
57535         * sysdeps/generic/fips-private.h: New file, dummy fallback.
57537 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57539         * crypt/crypt-private.h: Include stdbool.h.
57540         (_ufc_setup_salt_r): Return bool.
57541         * crypt/crypt-entry.c: Include errno.h.
57542         (__crypt_r): Return NULL with EINVAL for bad salt.
57543         * crypt/crypt_util.c (bad_for_salt): New.
57544         (_ufc_setup_salt_r): Check that salt is long enough and within
57545         the specified alphabet.
57546         * crypt/badsalttest.c: New file.
57547         * crypt/Makefile (tests): Add it.
57548         ($(objpfx)badsalttest): New.
57550 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
57552         * NEWS: Add entry for BZ #14602.
57554 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57556         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
57557         type-generic.
57558         * math/libm-test.inc: Update comment listing what functions and
57559         macros are tested.
57560         (isgreater_test): New function.
57561         (isgreaterequal_test): Likewise.
57562         (isless_test): Likewise.
57563         (islessequal_test): Likewise.
57564         (islessgreater_test): Likewise.
57565         (isunordered_test): Likewise.
57566         (main): Call the new functions.
57568 2012-10-09  Roland McGrath  <roland@hack.frob.com>
57570         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
57571         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
57572         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
57573         * sysdeps/i386/configure: Regenerated.
57574         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
57575         * sysdeps/mach/configure: Regenerated.
57576         * sysdeps/mach/hurd/configure: Regenerated.
57577         * sysdeps/powerpc/configure: Regenerated.
57578         * sysdeps/powerpc/powerpc32/configure: Regenerated.
57579         * sysdeps/powerpc/powerpc64/configure: Regenerated.
57580         * sysdeps/s390/s390-32/configure: Regenerated.
57581         * sysdeps/s390/s390-64/configure: Regenerated.
57582         * sysdeps/sh/configure: Regenerated.
57583         * sysdeps/sparc/configure: Regenerated.
57584         * sysdeps/unix/sysv/linux/configure: Regenerated.
57585         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
57586         * sysdeps/x86_64/configure: Regenerated.
57588         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
57589         defined.  Don't check if MAP is NULL.
57591 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57593         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
57594         (_G_stat64): Likewise.
57595         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
57596         (_G_stat64): Likewise.
57597         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
57598         instead of struct _G_stat64.
57599         * libio/fileops.c (mmap_remap_check): Likewise.
57600         (decide_maybe_mmap): Likewise.
57601         (_IO_new_file_seekoff): Likewise.
57602         (_IO_file_stat): Likewise.
57603         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
57604         _G_off64_t.
57605         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
57606         instead of struct _G_stat64.
57607         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57609 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
57611         [BZ #14602]
57612         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57613         Replace with ...
57614         (CHECK_EOL): New macro.
57615         (two_way_short_needle): Check beginning of haystack for EOL.  Use
57616         CHECK_EOL.
57617         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57618         Replace with CHECK_EOL.
57619         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57620         Replace with CHECK_EOL.
57622 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
57624         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
57625         type-generic.
57626         * math/libm-test.inc: Update comment listing what functions and
57627         macros are tested.
57628         (finite_test): New function.
57629         (isinf_test): Likewise.
57630         (isnan_test): Likewise.
57631         (fpclassify_test): Test subnormal input.
57632         (isfinite_test): Likewise.
57633         (isnormal_test): Likewise.
57634         (main): Call the new functions.
57636 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
57638         [BZ #14660]
57639         * Makerules (%.dynsym): Force C locale when running
57640         $(OBJDUMP) --dynamic-syms.
57642 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
57644         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
57645         <stdint.h>.
57647 2012-10-06  David S. Miller  <davem@davemloft.net>
57649         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
57650         upper 32-bits of the length value in %o2 since we use branch-on-register
57651         tests which consider the entire 64-bit register.
57653 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
57655         * string/test-strstr.c (check2): Add a test for page boundary.
57657 2012-10-05  David S. Miller  <davem@davemloft.net>
57659         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
57660         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
57661         file.
57662         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57663         sysdep_routines.
57664         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57665         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
57666         and bzero when HWCAP_SPARC_CRYPTO is present.
57668 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
57670         [BZ #14602]
57671         * string/test-strstr.c (check2): New function.
57672         (test_main): Call check2.
57674         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
57675         and bug-strchr1.
57676         * string/bug-strcasestr1.c (do_test): Moved to ...
57677         * string/test-strcasestr.c (check1): Here.  New function.
57678         (do_one_test): Break out result checking code into ...
57679         (check_result): This.  New function.
57680         (do_one_test): Call check_result.
57681         (test_main): Call check1.
57682         * string/bug-strchr1.c (do_test): Moved to ...
57683         * string/test-strchr.c (check1): Here.  New function.
57684         (do_one_test): Break out result checking code into ...
57685         (check_result): This.  New function.
57686         (do_one_test): Call check_result.
57687         (test_main): Call check1.
57688         * string/bug-strstr1.c (main): Moved to ...
57689         * string/test-strstr.c (check1): Here.  New function.
57690         (do_one_test): Break out result checking code into ...
57691         (check_result): This.  New function.
57692         (do_one_test): Call check_result.
57693         (test_main): Call check1.
57694         * string/bug-strcasestr1.c: Removed.
57695         * string/bug-strchr1.c: Likewise.
57696         * string/bug-strstr1.c: Likewise.
57698         * elf/Makefile (dl-routines): Add hwcaps.
57699         * elf/dl-support.c (_dl_important_hwcaps): Removed.
57700         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
57701         (_dl_important_hwcaps): Moved to ...
57702         * elf/dl-hwcaps.c: Here.  New file.
57703         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
57705         [BZ #14557]
57706         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
57707         if IS_IN_rtld isn't defined.
57709         * elf/dl-support.c (_dl_sysinfo_map): New.
57710         Include "get-dynamic-info.h" and "setup-vdso.h".
57711         (_dl_non_dynamic_init): Call setup_vdso.
57712         * elf/dynamic-link.h: Don't include <assert.h>.
57713         (elf_get_dynamic_info): Moved to ...
57714         * elf/get-dynamic-info.h: Here.  New file.
57715         * elf/dynamic-link.h: Include "get-dynamic-info.h".
57716         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
57717         * elf/setup-vdso.h: Here.  New file.
57718         * elf/rtld.c: Include "setup-vdso.h".
57719         (dl_main): Call setup_vdso.
57721 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
57723         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
57724         creal in comment listing functions tested.  List finite, isinf,
57725         isnan, isless, islessequal, isgreater, isgreaterequal,
57726         islessgreater, isunordered, lgamma_r and pow10 as functions and
57727         macros not tested.  Mention which functions not tested are aliases
57728         for other functions.  Fix typo.  Note that signs of NaNs are not
57729         tested.
57731         * scripts/config.guess: Update from config.git.
57732         * scripts/config.sub: Likewise.
57734 2012-10-04  Roland McGrath  <roland@hack.frob.com>
57736         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
57737         * misc/madvise.c (madvise): Renamed to __madvise.
57738         Make madvise a weak alias.
57739         * include/sys/mman.h: Declare __madvise.
57740         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
57741         * sysdeps/unix/syscalls.list
57742         (madvise): Make __madvise the strong name, and madvise a weak alias.
57743         * sysdeps/unix/sysv/linux/syscalls.list
57744         (madvise, mmap): Remove redundant entries.
57745         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
57746         * malloc/malloc.c (mtrim): Likewise.
57747         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
57749 2012-10-03  Roland McGrath  <roland@hack.frob.com>
57751         * sysdeps/mach/hurd/dl-cache.c: File removed.
57752         * config.h.in (USE_LDCONFIG): New #undef.
57753         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
57754         * configure: Regenerated.
57755         * elf/Makefile (dl-routines): Add dl-cache only under
57756         [$(use-ldconfig) = yes].
57757         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
57758         cache on [USE_LDCONFIG].
57759         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
57760         [USE_LDCONFIG].
57761         * elf/rtld.c (dl_main): Likewise.
57763 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
57765         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
57766         _SC_LEVEL4_CACHE_LINESIZE.
57768 2012-10-03  Roland McGrath  <roland@hack.frob.com>
57770         * sysdeps/unix/bsd/confstr.h: File removed.
57772 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
57774         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
57775         sys/sdt-config.h.
57777 2012-10-02  Roland McGrath  <roland@hack.frob.com>
57779         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
57780         Make 'mapoff' field ElfW(Off) rather than off_t.
57782 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
57784         * nscd/Makefile: Remove nscd-cflags and all its users.
57785         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
57786         (CFLAGS-nonlib): Add compiler flags for nscd modules.
57788         [BZ #10631]
57789         * malloc.c (malloc_printerr): Clarify error message.
57791 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
57793         [BZ #14648]
57794         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57795         Set bit_FMA_Usable if FMA is supported.
57796         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
57797         macro.
57798         (bit_FMA4_Usable): Updated.
57799         (index_FMA_Usable): New macro.
57800         (CPUID_FMA): Likewise.
57801         (HAS_FMA): Defined with bit_FMA_Usable.
57803 2012-10-01  Roland McGrath  <roland@hack.frob.com>
57805         * bits/types.h (__swblk_t): Type removed.
57806         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
57807         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
57808         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57809         (__SWBLK_T_TYPE): Likewise.
57810         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57811         (__SWBLK_T_TYPE): Likewise.
57812         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57813         (__SWBLK_T_TYPE): Likewise.
57814         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57815         (__SWBLK_T_TYPE): Likewise.
57817 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
57818             Honza Horak <hhorak@redhat.com>
57820         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
57821         (xdr_mapname): Use YPMAXMAP as maxsize.
57822         (xdr_peername): Use YPMAXPEER as maxsize.
57823         (xdr_keydat): Use YPAXRECORD as maxsize.
57824         (xdr_valdat): Use YPMAXRECORD as maxsize.
57826 2012-10-01  Roland McGrath  <roland@hack.frob.com>
57828         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
57830         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
57831         * csu/init-first.c: ... here.
57832         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
57833         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
57834         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
57835         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
57836         * sysdeps/i386/init-first.c: File removed.
57837         * sysdeps/sh/init-first.c: File removed.
57839 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
57841         [BZ #14645]
57842         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
57843         if x * y might underflow to zero and z is zero.
57844         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57845         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57846         * math/libm-test.inc (min_subnorm_value): New variable.
57847         (fma_test): Add more tests.
57848         (fma_test_towardzero): Likewise.
57849         (fma_test_downward): Likewise.
57850         (fma_test_upward): Likewise.
57851         (initialize): Set min_subnorm_value.
57853 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
57855         [BZ #14638]
57856         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
57857         0 + 0.
57858         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
57859         mode for addition resulting in exact zero.
57860         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
57861         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
57862         exact 0 + 0.
57863         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57864         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57865         * math/libm-test.inc (fma_test): Add more tests.
57866         (fma_test_towardzero): New function.
57867         (fma_test_downward): Likewise.
57868         (fma_test_upward): Likewise.
57869         (main): Call the new functions.
57871 2012-09-28  David S. Miller  <davem@davemloft.net>
57873         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
57875 2012-09-28  Roland McGrath  <roland@hack.frob.com>
57877         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
57878         instead of SIGALRM.
57880         * sysdeps/gnu/_G_config.h: Moved to ...
57881         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
57882         * sysdeps/mach/hurd/_G_config.h: Moved to ...
57883         * sysdeps/generic/_G_config.h: ... here.
57885         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
57887         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
57889         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
57890         Conditionalize target on [libnss_test1.so-version].
57892         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
57894         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
57895         (elfobjdir): Move out of conditionals.
57897         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
57898         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
57899         (__nss_lookup_function): Conditionalize label remove_from_tree on
57900         [!DO_STATIC_NSS || SHARED], matching its only use.
57902 2012-09-28  David S. Miller  <davem@davemloft.net>
57904         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
57905         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
57906         file.
57907         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57908         sysdep_routines.
57909         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57910         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
57911         when HWCAP_SPARC_CRYPTO is present.
57913 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57915         * io/tst-mknodat.c: Create a FIFO instead of a socket.
57917 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
57919         [BZ #6530]
57920         * stdio-common/vfprintf.c (process_string_arg): Revert
57921         2000-07-22 change.
57923 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
57925         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
57926         for testcase.
57927         * stdio-common/tst-sprintf.c: Include <locale.h>
57928         (main): Test sprintf's handling of incomplete multibyte
57929         characters.
57931 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
57933         * elf/dl-runtime.c (VERSYMIDX): Removed.
57934         * elf/dl-version.c (VERSYMIDX): Likewise.
57935         * elf/do-rel.h (VERSYMIDX): Likewise.
57936         (VALIDX): Likewise.
57937         * elf/dynamic-link.h (VERSYMIDX): Likewise.
57938         * elf/rtld.c (VALIDX): Likewise.
57939         (ADDRIDX): Likewise.
57940         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
57941         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
57942         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
57943         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
57944         (VALIDX): Likewise.
57945         (ADDRIDX): Likewise.
57947 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57949         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
57951 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
57953         [BZ #11438]
57954         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
57955         to global scope.
57956         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
57957         addresses are in the same scope as 192.0.2/24.
57958         * posix/gai.conf: Document new scope table defaults.
57960 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57962         [BZ #5298]
57963         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
57964         for ftell.  Compute offsets from write pointers instead.
57965         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57967 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57969         [BZ #14543]
57970         * libio/Makefile (tests): New test case tst-fseek.
57971         * libio/tst-fseek.c: New test case to verify that fseek/ftell
57972         combination works in wide mode.
57973         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
57974         state when the external buffer state changes.
57976 2012-09-27  David S. Miller  <davem@davemloft.net>
57978         [BZ #14376]
57979         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
57980         pass reloc->r_addend in as the 'high' argument to
57981         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
57983         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57985 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57987         * rt/tst-aio2.c: Include <pthread.h>.
57988         * rt/tst-aio3.c: Likewise.
57990 2012-09-27  Steve Ellcey  <sellcey@mips.com>
57992         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
57994 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
57996         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
57997         contents on [SHARED].
57999 2012-09-26  Marek Polacek  <polacek@redhat.com>
58001         [BZ #14530]
58002         [BZ #13741]
58003         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
58004         for C++ and GCC <4.3 as well as for non GCC compilers.
58006 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
58008         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58010 2012-09-25  Roland McGrath  <roland@hack.frob.com>
58012         * Makefile.in (all, install): Declare with .PHONY.
58013         Reported by Michael Hope <michael.hope@linaro.org>.
58015 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58017         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
58018         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
58019         system header.
58020         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
58021         Likewise.
58022         (sydep_routines): Add the new and the internal functions.
58023         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
58024         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
58025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
58026         (GLIBC_2.17): Add the new function.
58027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
58028         (GLIBC_2.17): Likewise.
58029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
58030         (GLIBC_2.17): Likewise.
58031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
58032         (GLIBC_2.17): Likewise.
58033         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
58035 2012-09-25  Alan Modra  <amodra@gmail.com>
58037         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
58038         Add release barrier before setting once_control to say
58039         initialisation is done.  Add hints on lwarx.  Use macro in
58040         place of isync.
58041         (clear_once_control): Add release barrier.
58043 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
58045         [BZ #13629]
58046         * math/s_clog.c (__clog): Handle more values close to |z| = 1
58047         specially.
58048         * math/s_clog10.c (__clog10): Likewise.
58049         * math/s_clog10f.c (__clog10f): Likewise.
58050         * math/s_clog10l.c (__clog10l): Likewise.
58051         * math/s_clogf.c (__clogf): Likewise.
58052         * math/s_clogl.c (__clogl): Likewise.
58053         * math/Makefile (libm-calls): Add x2y2m1.
58054         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
58055         (__x2y2m1): Likewise.
58056         (__x2y2m1l): Likewise.
58057         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
58058         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
58059         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
58060         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
58061         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
58062         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
58063         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
58064         * sysdeps/i386/fpu/libm-test-ulps: Update.
58065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58067         [BZ #14621]
58068         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
58069         int as type of variable DEPTH.
58070         (glob): Use size_t instead of int as type of variables NEWCOUNT
58071         and OLD_PATHC.
58073 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58075         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58076         Add s_sincosf-sse2.
58077         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
58078         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
58079         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
58080         macros for using routine as __sincosf_ia32.
58081         Use macro for function declaration and weak_alias.
58082         * sysdeps/i386/fpu/libm-test-ulps: Update.
58084         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
58085         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58087         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
58088         subnormal argument.
58089         * math/s_cexpf.c (__cexpf): Likewise.
58090         * math/s_csinf.c (__csinf): Likewise.
58091         * math/s_csinhf.c (__csinhf): Likewise.
58092         * math/s_ctanf.c (__ctanf): Likewise.
58093         * math/s_ctanhf.c (__ctanhf): Likewise.
58094         * math/s_ccosh.c (__ccoshf): Likewise.
58095         * math/s_cexp.c (__cexpl): Likewise.
58096         * math/s_csin.c (__csin): Likewise.
58097         * math/s_csinh.c (__csinh): Likewise.
58098         * math/s_ctan.c (__ctan): Likewise.
58099         * math/s_ctanh.c (ctanh): Likewise.
58100         * math/s_ccoshl.c (__ccoshl): Likewise.
58101         * math/s_cexpl.c (__cexpl): Likewise.
58102         * math/s_csinl.c (__csinl): Likewise.
58103         * math/s_csinhl.c (__csinhl): Likewise.
58104         * math/s_ctanl.c (__ctanl): Likewise.
58105         * math/s_ctanhl.c (__ctanhl): Likewise.
58107 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
58109         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
58110         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
58111         (_IO_off_t): Define to __off_t, not _G_off_t.
58112         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
58113         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
58114         (_IO_wint_t): Define to wint_t, not _G_wint_t.
58115         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
58116         type of __dummy and __dummy2 fields.
58117         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
58118         (_G_ssize_t): Likewise.
58119         (_G_off_t): Likewise.
58120         (_G_pid_t): Likewise.
58121         (_G_uid_t): Likewise.
58122         (_G_wchar_t): Likewise.
58123         (_G_wint_t): Likewise.
58124         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
58125         (_G_ssize_t): Likewise.
58126         (_G_off_t): Likewise.
58127         (_G_pid_t): Likewise.
58128         (_G_uid_t): Likewise.
58129         (_G_wchar_t): Likewise.
58130         (_G_wint_t): Likewise.
58131         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
58132         (_G_ssize_t): Likewise.
58133         (_G_off_t): Likewise.
58134         (_G_pid_t): Likewise.
58135         (_G_uid_t): Likewise.
58136         (_G_wchar_t): Likewise.
58137         (_G_wint_t): Likewise.
58139 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58141         * malloc/arena.c: Include malloc-sysdep.h.
58142         (shrink_heap): Use check_may_shrink_heap to decide if madvise
58143         is sufficient to shrink the heap or an unmap is needed.
58144         * sysdeps/generic/malloc-sysdep.h: New file.  Define
58145         new function check_may_shrink_heap.
58146         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
58147         new function check_may_shrink_heap.
58149 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58151         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
58152         comments.
58154 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
58156         * catgets/test-gencat.sh: Add "set -e".
58157         * elf/tst-pathopt.sh: Likewise.
58158         * grp/tst_fgetgrent.sh: Likewise.
58159         * iconvdata/run-iconv-test.sh: Likewise.
58160         * intl/tst-gettext.sh: Likewise.
58161         * intl/tst-gettext2.sh: Likewise.
58162         * intl/tst-gettext4.sh: Likewise.
58163         * intl/tst-gettext6.sh: Likewise.
58164         * intl/tst-translit.sh: Likewise.
58165         * io/ftwtest-sh: Likewise.
58166         * libio/test-freopen.sh: Likewise.
58167         * malloc/tst-mtrace.sh: Likewise.
58168         * posix/globtest.sh: Likewise.
58169         * posix/tst-getconf.sh: Likewise.
58170         * posix/wordexp-tst.sh: Likewise.
58171         * stdio-common/tst-printf.sh: Likewise.
58172         * stdio-common/tst-unbputc.sh: Likewise.
58173         * stdlib/tst-fmtmsg.sh: Likewise.
58174         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
58175         * catgets/Makefile: Do not specify -e option when running
58176         testsuite shell scripts.
58177         * elf/Makefile: Likewise.
58178         * grp/Makefile: Likewise.
58179         * iconvdata/Makefile: Likewise.
58180         * intl/Makefile: Likewise.
58181         * io/Makefile: Likewise.
58182         * libio/Makefile: Likewise.
58183         * malloc/Makefile: Likewise.
58184         * posix/Makefile: Likewise.
58185         * stdio-common/Makefile: Likewise.
58186         * stdlib/Makefile: Likewise.
58187         * sysdeps/x86_64/Makefile: Likewise.
58189         * io/ftwtest-sh: Add copyright header.
58190         * posix/globtest.sh: Likewise.
58191         * posix/tst-getconf.sh: Likewise.
58192         * posix/wordexp-tst.sh: Likewise.
58193         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
58195 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
58197         [BZ #13679]
58198         * Makeconfig (+link): Defined as $(+link-static) if
58199         $(build-shared) isn't yes.
58200         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
58201         isn't yes.
58202         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
58204         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
58206         [BZ #14562]
58207         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
58208         new chunk size with MALLOC_ALIGN_MASK.
58210 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
58212         [BZ #5044]
58213         * stdio-common/printf_fphex.c: Include <stdbool.h> and
58214         <rounding-mode.h>.
58215         (__printf_fphex): Determine rounding using get_rounding_mode and
58216         round_away.
58217         * stdio-common/tst-printf-round.c (struct hex_test): New
58218         structure.
58219         (hex_tests): New variable.
58220         (test_hex_in_one_mode): New function.
58221         (do_test): Also run tests for hex float output.
58223 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
58225         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
58226         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
58227         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
58228         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
58229         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
58230         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
58231         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
58232         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
58234 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
58236         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
58237         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
58238         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
58239         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
58241 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
58243         [BZ #14579]
58244         * elf/rtld.c (dl_main): Limit the check for self loading to normal
58245         mode only.
58246         * elf/tst-rtld-load-self.sh: New test.
58247         * elf/Makefile: Run it.
58249 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
58251         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
58252         (tst-writev-ENV): Remove.
58253         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
58255 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
58257         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
58259 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
58261         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
58262         unconditional.
58263         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
58264         Likewise.
58265         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
58266         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
58267         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
58268         Likewise.
58270 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
58272         [BZ #14587]
58273         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
58274         * config.make.in (have-cpp-asm-debuginfo): Removed.
58275         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
58276         * configure: Regenerated.
58278 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
58280         [BZ #5044]
58281         * stdio-common/printf_fp.c: Include <stdbool.h> and
58282         <rounding-mode.h>.
58283         (___printf_fp): Determine rounding using get_rounding_mode and
58284         round_away.
58285         * stdio-common/tst-printf-round.c: New file.
58286         * stdio-common/Makefile (tests): Add tst-printf-round.
58287         (link-libm): New variable.
58288         ($(objpfx)tst-printf-round): Depend in $(link-libm).
58290 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
58292         [BZ #14576]
58293         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
58294         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
58295         Likewise.
58296         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
58297         Likewise.
58299 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
58301         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
58302         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58303         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58304         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58306 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
58308         [BZ #14518]
58309         * include/rounding-mode.h: New file.
58310         * sysdeps/generic/get-rounding-mode.h: Likewise.
58311         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
58312         * stdlib/strtod_l.c: Include <rounding-mode.h>.
58313         (MAX_VALUE): New macro.
58314         (MIN_VALUE): Likewise.
58315         (overflow_value): New function.
58316         (underflow_value): Likewise.
58317         (round_and_return): Use overflow_value and underflow_value to
58318         determine return values in overflow and underflow cases.  Use
58319         round_away to determine rounding depending on rounding mode.
58320         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
58321         determine return values in overflow and underflow cases.
58322         * stdlib/tst-strtod-round.c: Include <fenv.h>.
58323         (struct test_results): New structure.
58324         (struct test): Use struct test_results to store expected results
58325         for all rounding modes.
58326         (TEST): Include expected results for all rounding modes.
58327         (test_in_one_mode): New function.
58328         (do_test): Use test_in_one_mode to compute and check results.
58329         Check results for all rounding modes.
58330         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
58331         $(link-libm).
58333 2012-12-09  Allan McRae  <allan@archlinux.org>
58335         * sysdeps/i386/fpu/libm-test-ulps: Update
58337 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
58339         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
58340         (_G_int32_t): Likewise.
58341         (_G_uint16_t): Likewise.
58342         (_G_uint32_t): Likewise.
58343         (_G_HAVE_BOOL): Likewise.
58344         (_G_HAVE_ATEXIT): Likewise.
58345         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58346         (_G_HAVE_IO_FILE_OPEN): Likewise.
58347         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
58348         (_G_int32_t): Likewise.
58349         (_G_uint16_t): Likewise.
58350         (_G_uint32_t): Likewise.
58351         (_G_HAVE_BOOL): Likewise.
58352         (_G_HAVE_ATEXIT): Likewise.
58353         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58354         (_G_HAVE_IO_FILE_OPEN): Likewise.
58355         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
58356         (_G_int32_t): Likewise.
58357         (_G_uint16_t): Likewise.
58358         (_G_uint32_t): Likewise.
58359         (_G_HAVE_BOOL): Likewise.
58360         (_G_HAVE_ATEXIT): Likewise.
58361         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58362         (_G_HAVE_IO_FILE_OPEN): Likewise.
58364 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
58366         * csu/libc-tls.c: Update copyright years.
58368 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
58370         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
58371         [!_G_USING_THUNKS]: Remove conditional code.
58372         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
58373         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
58375         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
58376         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
58377         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58378         (_G_VTABLE_LABEL_PREFIX): Likewise.
58379         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58380         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58381         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58382         (_G_VTABLE_LABEL_PREFIX): Likewise.
58383         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58384         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58385         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58386         (_G_VTABLE_LABEL_PREFIX): Likewise.
58387         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58389 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
58391         * libio/Makefile: Include ../Makeconfig before tests.
58392         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
58393         only if $(build-shared) is yes.
58395         * iconv/gconv_db.c: Update copyright years.
58397 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58399         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
58400         unwind info if defined PIC. Fix special cases description.
58401         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
58403         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
58404         DP_HI_MASK entry.
58405         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
58407 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
58409         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
58411         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
58412         is NULL.
58414         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
58415         (LDLIBS-tst-chk4): This.
58416         (LDFLAGS-tst-chk5): Renamed to ...
58417         (LDLIBS-tst-chk5): This.
58418         (LDFLAGS-tst-chk6): Renamed to ...
58419         (LDLIBS-tst-chk6): This.
58420         (LDFLAGS-tst-lfschk4): Renamed to ...
58421         (LDLIBS-tst-lfschk4): This.
58422         (LDFLAGS-tst-lfschk5): Renamed to ...
58423         (LDLIBS-tst-lfschk5): This.
58424         (LDFLAGS-tst-lfschk6): Renamed to ...
58425         (LDLIBS-tst-lfschk6): This.
58427         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
58428         on $(common-objpfx)soversions.mk.
58430 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
58432         [BZ #10014]
58433         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
58434         example host name.
58436 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
58438         * malloc/arena.c (arena_get_retry): New function that gets
58439         another arena for the caller to try its request on.
58440         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
58441         current arena cannot fulfill the request.
58442         (__libc_memalign): Likewise.
58443         (__libc_memalign): Likewise.
58444         (__libc_pvalloc): Likewise.
58445         (__libc_calloc): Likewise.
58447 2012-09-05  John Tobey  <john.tobey@gmail.com>
58449         [BZ #13542]
58450         * manual/arith.texi (Operations on Complex): Fix description
58451         of carg branch cut.
58453 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
58455         [BZ #10014]
58456         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
58457         host name.
58459         [BZ #10038]
58460         * manual/memory.texi (Memory): Make order of menu items match
58461         order of sections.
58463 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58465         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
58466         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
58467         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
58469 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58471         * csu/libc-tls.c (static_dtv): Renamed to ...
58472         (_dl_static_dtv): This.  Make it global.
58473         (_dl_initial_dtv): Removed.
58474         (__libc_setup_tls): Updated.
58475         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
58476         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
58477         DL_INITIAL_DTV.
58479 2012-09-06  Petr Machata  <pmachata@redhat.com>
58481         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
58482         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
58483         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
58484         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
58486 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58488         [BZ #14545]
58489         * csu/libc-tls.c (_dl_initial_dtv): New variable.
58490         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
58491         freeing dtv[-1].
58493 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58495         [BZ #14544]
58496         * Makeconfig (link-static-before-libc): Replace $(+prector)
58497         with $(+prectorT).
58498         (link-static-after-libc): Replace $(+postctor) with
58499         $(+postctorT).
58500         (link-bounded): Replace $(+prector)/$(+postctor) with
58501         $(+prectorT)/$(+postctorT).
58502         (+prectorT): New macro.
58503         (+postctorT): Likewise.
58505 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
58507         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
58508         (round_str): Handle values above the maximum for IBM long double
58509         as inexact.
58510         * stdlib/tst-strtod-round.c (tests): Regenerated.
58512 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58514         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
58515         assembler flag.
58516         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
58517         zarch_nohighgprs around the zarch optimized routines.
58518         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
58519         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
58520         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
58521         for zarch.
58523 2012-09-05  David S. Miller  <davem@davemloft.net>
58525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58527         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
58528         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
58529         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
58530         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58531         entries.
58533 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58535         * malloc/arena.c: Fold copyright years.
58536         * malloc/mcheck.c, malloc/memusage.c: Likewise.
58538 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58540         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
58542 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58544         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
58546 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58548         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
58549         change internal state upon failure.
58551 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58553         * malloc/mcheck.c (mcheck_check_all): Fix typo.
58554         * malloc/memusage.c (mmap): Likewise.
58555         (mmap64, mremap): Likewise.  Adjust name in comment.
58557 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58559         * libio/fileops.c: Fix typos in comments.
58560         * libio/oldfileops.c: Likewise.
58561         * libio/wfileops.c: Likewise.
58563 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58565         [BZ #1349]
58566         * malloc/Makefile (tests): Add tst-malloc-usable test case.
58567         (tst-malloc-usable-ENV): Set environment for test case.
58568         * malloc/hooks.c (malloc_check_get_size): New function to get
58569         requested size.
58570         * malloc/malloc.c (musable): Use malloc_check_get_size.
58571         * malloc/tst-malloc-usable.c: New test case.
58573 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58575         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
58577 2012-09-05  Allan McRae  <allan@archlinux.org>
58579         [BZ #13966]
58580         * configure.in (CXX_SYSINCLUDES): Use compiler output to
58581         determine header location.
58582         * configure: Regenerated.
58584 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58586         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
58587         float format.
58588         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
58589         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
58590         format.
58591         (test): Regenerate.
58593 2012-09-04  David S. Miller  <davem@davemloft.net>
58595         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
58596         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
58597         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
58599 2012-09-04  Florian Weimer  <fweimer@redhat.com>
58601         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
58602         failures.
58604         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
58606 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
58608         [BZ #9914]
58609         * libio/iogetdelim.c: Include <limits.h>.
58610         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
58611         + len + 1 would overflow.
58613 2012-09-03  Andreas Jaeger  <aj@suse.de>
58615         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58616         * sysdeps/i386/fpu/libm-test-ulps: Update.
58618 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58620         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58621         Add s_sinf-sse2, s_conf-sse2.
58623         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
58624         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
58625         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
58626         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
58628         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
58629         for using routine as __sinf_ia32.
58630         Use macro for function declaration and weak_alias.
58631         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
58632         for using routine as __cosf_ia32.
58633         Use macro for function declaration and weak_alias.
58635         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
58636         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
58638         * sysdeps/x86_64/fpu/s_sinf.S: New file.
58639         * sysdeps/x86_64/fpu/s_cosf.S: New file.
58640         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58642         * math/libm-test.inc (cos_test): Add more test cases.
58643         (sin_test): Likewise.
58644         (sincos_test): Likewise.
58646 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58648         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
58649         (IFUNC_RESOLVE): Make pointers to the specialized implementations
58650         hidden.
58651         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
58653 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
58655         [BZ #14538]
58656         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
58657         first element of the GOT.
58658         (elf_machine_load_address): Return the difference between
58659         the runtime address of _DYNAMIC and elf_machine_dynamic ().
58661 2012-09-01  Allan McRae  <allan@archlinux.org>
58663         [BZ #13412]
58664         * configure.in (AWK): Require gawk version 3.0 or later.
58665         * configure: Regenerated.
58667 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
58669         * sysdeps/unix/sysv/linux/kernel-features.h
58670         (__ASSUME_POSIX_CPU_TIMERS): Remove.
58671         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58672         [__NR_clock_getres]: Make code unconditional.
58673         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
58674         (clock_getcpuclockid): Remove code left unreachable by removal of
58675         conditionals.
58676         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
58677         code unconditional.
58678         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58679         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58680         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
58681         Make code unconditional.
58682         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58683         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58684         * sysdeps/unix/sysv/linux/clock_settime.c
58685         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
58686         conditional code.
58687         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
58688         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58690 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
58692         [BZ #14476]
58693         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
58694         scripts/test-installation.pl.
58696         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
58697         and $ld_so_version if it is set.
58699 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58701         [BZ #14516]
58702         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
58703         failure if reading from procfs failed.
58704         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
58706 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
58708         * sysdeps/unix/sysv/linux/kernel-features.h
58709         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
58710         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58711         Remove conditional code.
58712         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58713         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
58714         Remove conditional code.
58715         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58716         * sysdeps/unix/sysv/linux/i386/fxstat.c
58717         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58718         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58719         * sysdeps/unix/sysv/linux/i386/fxstatat.c
58720         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58721         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58722         * sysdeps/unix/sysv/linux/i386/lxstat.c
58723         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58724         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58725         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
58726         Remove conditional code.
58727         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58728         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58729         Remove conditional code.
58730         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58731         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
58732         <kernel-features.h>.
58733         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
58734         Remove.
58735         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
58736         Remove conditional code.
58737         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58738         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
58739         Remove conditional.
58741 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
58743         [BZ #5400]
58744         * NEWS: Add fixed bug number.
58746 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
58748         [BZ #14519]
58749         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
58750         underflowing exponent in case of negative sign.
58751         * stdlib/tst-strtod-round-data: Add more tests.
58752         * stdlib/tst-strtod-round.c (tests): Regenerated.
58754         [BZ #3479]
58755         * stdlib/strtod_l.c (NDIG): Remove.
58756         (HEXNDIG): Likewise.
58757         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
58758         smallest representable value.
58759         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
58760         lie within an exact representation of 1/2 ulp of the result.
58761         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
58762         unconditionally.
58763         (TENS_P9_IDX): Define unconditionally.
58764         (TENS_P9_SIZE): Likewise.
58765         (TENS_P10_IDX): Likewise.
58766         (TENS_P10_SIZE): Likewise.
58767         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
58768         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
58769         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
58770         entries for 10^2^13 and 10^2^14.
58771         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
58772         (TENS_P13_IDX): Define.
58773         (TENS_P13_SIZE): Likewise.
58774         (TENS_P14_IDX): Likewise.
58775         (TENS_P14_SIZE): Likewise.
58776         (_fpioconst_pow10): Change array size to
58777         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
58778         unconditional.
58779         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
58780         1024]: Add entries for 10^2^13 and 10^2^14.
58781         [LAST_POW10 > _LAST_POW10]: Remove #error.
58782         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
58783         (_fpioconst_pow10): Change array size to
58784         FPIOCONST_POW10_ARRAY_SIZE.
58785         * stdlib/gen-fpioconst.c: New file.
58786         * stdlib/gen-tst-strtod-round.c: Likewise.
58787         * stdlib/tst-strtod-round-data: Likewise.
58788         * stdlib/tst-strtod-round.c: Likewise.
58789         * stdlib/Makefile (tests): Add tst-strtod-round.
58791         [BZ #14459]
58792         * stdlib/strtod_l.c: Include <stdint.h>.
58793         (NDEBUG): Do not define.
58794         (round_and_return): Change EXPONENT parameter to type intmax_t.
58795         Rearrange calculations to avoid internal overflow possibilities.
58796         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
58797         Rearrange calculations to avoid internal overflow possibilities.
58798         Assert that number fits inside MPNSIZE limbs.
58799         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
58800         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
58801         calculations and add assertions to avoid internal overflow
58802         possibilities.  Add casts to avoid signed/unsigned operations.
58803         * stdlib/tst-strtod-overflow.c: New file.
58804         * stdlib/Makefile (tests): Add tst-strtod-overflow.
58806 2012-08-25  Marek Polacek  <polacek@redhat.com>
58808         * time/time.h: Fix some typos in comments.
58810 2012-08-23  Roland McGrath  <roland@hack.frob.com>
58812         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
58813         * posix/tst-rfc3484-2.c: Likewise.
58814         * posix/tst-rfc3484-3.c: Likewise.
58816 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
58818         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
58819         (EF_ARM_ABI_FLOAT_HARD): Likewise.
58821 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
58823         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
58824         #include of fxstatat64.c.
58826 2012-08-22  Roland McGrath  <roland@hack.frob.com>
58828         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
58829         * shadow/getspent_r.c: Likewise.
58830         * shadow/getspnam.c: Likewise.
58831         * shadow/getspnam_r.c: Likewise.
58832         * gshadow/getsgent.c: Likewise.
58833         * gshadow/getsgent_r.c: Likewise.
58834         * gshadow/getsgnam.c: Likewise.
58835         * gshadow/getsgnam_r.c: Likewise.
58836         * inet/getnetbyad.c: Likewise.
58837         * inet/getnetbyad_r.c: Likewise.
58838         * inet/getnetbynm.c: Likewise.
58839         * inet/getnetbynm_r.c: Likewise.
58840         * inet/getnetent.c: Likewise.
58841         * inet/getnetent_r.c: Likewise.
58842         * inet/getproto.c: Likewise.
58843         * inet/getproto_r.c: Likewise.
58844         * inet/getprtent.c: Likewise.
58845         * inet/getprtent_r.c: Likewise.
58846         * inet/getprtname.c: Likewise.
58847         * inet/getprtname_r.c: Likewise.
58848         * inet/getrpcbyname.c: Likewise.
58849         * inet/getrpcbyname_r.c: Likewise.
58850         * inet/getrpcbynumber.c: Likewise.
58851         * inet/getrpcbynumber_r.c: Likewise.
58852         * inet/getrpcent.c: Likewise.
58853         * inet/getrpcent_r.c: Likewise.
58854         * inet/getaliasent.c: Likewise.
58855         * inet/getaliasent_r.c: Likewise.
58856         * inet/getaliasname.c: Likewise.
58857         * inet/getaliasname_r.c: Likewise.
58858         * nscd/getgrgid_r.c: Likewise.
58859         * nscd/getgrnam_r.c: Likewise.
58860         * nscd/gethstbyad_r.c: Likewise.
58861         * nscd/gethstbynm3_r.c: Likewise.
58862         * nscd/getpwnam_r.c: Likewise.
58863         * nscd/getpwuid_r.c: Likewise.
58864         * nscd/getsrvbynm_r.c: Likewise.
58865         * nscd/getsrvbypt_r.c: Likewise.
58866         * nscd/gai.c: Likewise.
58868         * configure.in (build_nscd): New substituted variable, set
58869         by --disable-build-nscd and defaults to $use_nscd.
58870         * configure: Regenerated.
58871         * config.make.in (build-nscd): New substituted variable.
58872         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
58873         Change conditional to require [$(build-nscd) = yes] as well.
58874         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
58876         [BZ# 13696]
58877         * configure.in (use_nscd): New substituted variable, set by
58878         --disable-nscd.  If enabled, define USE_NSCD.
58879         * configure: Regenerated.
58880         * config.h.in: Add USE_NSCD.
58881         * config.make.in (use-nscd): New substituted variable.
58882         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
58883         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
58884         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
58885         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
58886         (CFLAGS-getgrnam_r.c): Likewise.
58887         (CFLAGS-initgroups.c): Likewise.
58888         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
58889         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
58890         Variables removed.
58891         * inet/getnetgrent_r.c
58892         (nscd_setnetgrent): New function, broken out of ...
58893         (setnetgrent): ... here.  Call it.
58894         (innetgr): Conditionalize nscd bits on [USE_NSCD].
58895         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
58896         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
58897         * nscd/Makefile (routines, aux): Move definitions after include of
58898         Makeconfig.  Conditionalize on [$(use-nscd) != no].
58899         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
58900         Conditionalize on [USE_NSCD].
58901         (is_nscd, nscd_init_cb): Likewise.
58902         (nss_load_library): Conditionalize init callback on [USE_NSCD].
58903         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
58904         * nss/nss_db/db-init.c: Likewise.
58905         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
58906         [USE_NSCD].
58907         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
58908         (make_request): Use it.
58909         (cache_valid_p): New function.
58910         (__check_pf): Use it.
58911         * NEWS: Add item for --disable-nscd.
58913 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
58915         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
58916         to support sed >= 4.2.1-20-ga9bf076.
58917         * configure: Regenerated.
58919 2012-08-22  Roland McGrath  <roland@hack.frob.com>
58921         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
58922         Conditionalize whole body on [IREL].
58924 2012-08-22  Jeff Law <law@redhat.com>
58926         [BZ #14505]
58927         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
58928         if the family is PF_UNSPEC.
58930 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
58932         * Makerules (lib-version): Rename from V.
58933         (install-lib-nosubdir): Change V to lib-version.
58935 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
58937         [BZ #14252]
58938         * powerpc32/power6/wcschr.c: New file.
58939         * powerpc32/power6/wcscpy.c: New file.
58940         * powerpc32/power6/wcsrchr.c: New file.
58941         * powerpc64/power6/wcschr.c: New file.
58942         * powerpc64/power6/wcscpy.c: New file.
58943         * powerpc64/power6/wcsrchr.c: New file.
58945 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
58947         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
58948         (two_way_short_needle): Use it.
58949         * string/strstr.c (AVAILABLE1_USES_J): Define.
58950         * string/strcasestr.c: Likewise.
58952         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
58953         array references.
58954         * string/strcasestr.c (TOLOWER): Make side-effect safe.
58956         [BZ #11607]
58957         * NEWS: Add an entry.
58958         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
58959         define their defaults.
58960         (two_way_short_needle): Detect end-of-string on-the-fly.
58961         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
58962         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
58963         * string/bug-strcasestr1.c: New test.
58964         * string/Makefile: Run it.
58966 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
58968         [BZ #11607]
58969         * string/str-two-way.h (two_way_short_needle): Optimize matching of
58970         the first character.
58972 2012-08-21  Roland McGrath  <roland@hack.frob.com>
58974         * csu/elf-init.c (__libc_csu_irel): Function removed.
58975         * csu/libc-start.c (apply_irel): New function.
58976         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
58978 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
58980         * sysdeps/unix/sysv/linux/kernel-features.h
58981         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
58982         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
58983         <kernel-features.h>.
58984         [__NR_fadvise64_64]: Make code unconditional.
58985         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
58986         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58987         !__NR_fadvise64_64)]: Likewise.
58988         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58989         !__NR_fadvise64_64))]: Likewise.
58990         [__NR_fadvise64]: Make code unconditional.
58991         [!__NR_fadvise64]: Remove conditional code.
58992         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
58993         <kernel-features.h>.
58994         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58995         unconditional.
58996         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58997         conditional code.
58998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
58999         not include <kernel-features.h>.
59000         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59001         unconditional.
59002         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59003         conditional code.
59004         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
59005         include <kernel-features.h>.
59006         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59007         unconditional.
59008         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59009         conditional code.
59011 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
59013         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
59014         slight instruction rearrangements per scrollpipe analysis.
59015         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
59017 2012-08-20  Roland McGrath  <roland@hack.frob.com>
59019         * manual/syslog.texi (syslog; vsyslog, closelog):
59020         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
59021         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
59023         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
59024         DSOCAPS to match condition on defining it.
59026 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
59028         * sysdeps/unix/sysv/linux/kernel-features.h
59029         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
59030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
59031         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59032         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
59034         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59035         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
59037         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59038         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59040         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
59041         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
59043         * sysdeps/unix/sysv/linux/kernel-features.h
59044         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
59045         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
59046         unconditional.
59047         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59048         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
59049         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59050         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59051         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
59052         Make code unconditional.
59053         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59054         (__mmap64) [!__NR_mmap2]: Likewise.
59055         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
59056         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59057         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59058         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
59059         [__NR_mmap2]: Make code unconditional.
59060         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59061         (__mmap64) [!__NR_mmap2]: Likewise.
59063 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59065         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
59067 2012-08-18  Andreas Jaeger  <aj@suse.de>
59069         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
59071 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
59073         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
59074         * include/unistd.h (__have_sock_cloexec): Likewise.
59075         (__have_pipe2): Likewise.
59076         (__have_dup3): Likewise.
59078 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
59080         [BZ #9685]
59081         * include/unistd.h (__have_pipe2): Change define into an extern int.
59082         (__have_dup3): Likewise.
59083         * socket/have_sock_cloexec.c: Include fcntl.h.
59084         (__have_pipe2): New variable.
59085         (__have_dup3): Likewise.
59087 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
59089         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
59091 2012-08-17  Marek Polacek  <polacek@redhat.com>
59093         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
59094         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
59096 2012-08-17  Roland McGrath  <roland@hack.frob.com>
59098         * configure.in: Add AC_SUBST for sysheaders.
59099         * configure: Regenerated.
59100         * config.make.in (sysheaders): New substituted variable.
59102         * sysdeps/unix/mkfifo.c: Moved ...
59103         * sysdeps/posix/mkfifo.c: ... here.
59104         * sysdeps/unix/mkfifoat.c: Moved ...
59105         * sysdeps/posix/mkfifoat.c: ... here.
59107         * sysdeps/unix/utime.c: Moved ...
59108         * sysdeps/posix/utime.c: ... here.
59110         * sysdeps/unix/time.c: Moved ...
59111         * sysdeps/posix/time.c: ... here.
59112         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
59113         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
59115         * sysdeps/unix/nice.c: Moved ...
59116         * sysdeps/posix/nice.c: ... here.
59118         * sysdeps/unix/alarm.c: Moved ...
59119         * sysdeps/posix/alarm.c: ... here.
59121         * intl/Makefile ($(codeset_mo)): Depend on the input file.
59123 2012-08-17  Jeff Law <law@redhat.com>
59125         * intl/Makefile (codeset_mo): New variable.
59126         ($(codeset_mo)): New target.
59127         (tst-codeset.out): Depend on that.  Remove explicit rule.
59128         (tst-gettext3.out, tst-gettext5.out): Likewise.
59129         (LOCPATH-ENV, tst-codeset-ENV): New variables.
59130         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
59131         * intl/tst-codeset.sh: Remove.
59132         * intl/tst-gettext3.sh: Likewise.
59133         * intl/tst-gettext5.sh: Likewise.
59135 2012-08-17  Roland McGrath  <roland@hack.frob.com>
59137         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
59138         * sysdeps/unix/syscalls.list: ... here.
59140         * sysdeps/posix/getaddrinfo.c
59141         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
59142         (gaiconf_init, gaiconf_reload): Use them.
59143         [!_STATBUF_ST_NSEC]
59144         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
59145         Define using time_t rather than struct timespec.
59147         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
59148         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
59149         Macros removed.
59150         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
59151         [!NO_THREADS].
59152         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
59153         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
59154         Likewise.
59156         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
59157         __libc_cleanup_push argument.
59159         * bits/param.h: New file.
59160         * misc/sys/param.h: New file.
59161         * include/sys/param.h: New file.
59162         * misc/Makefile (headers): Add bits/param.h.
59163         * sysdeps/generic/sys/param.h: File removed.
59164         * sysdeps/unix/sysv/linux/bits/param.h: New file.
59165         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
59166         * sysdeps/mach/hurd/bits/param.h: New file.
59167         * sysdeps/mach/hurd/sys/param.h: File removed.
59169         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
59170         last change.
59172         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
59173         [_IO_MTSAFE_IO].
59174         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
59175         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
59176         New macros.
59178         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
59179         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
59180         rather than -D_IO_MTSAFE_IO conditionally.
59181         * stdio-common/Makefile (CPPFLAGS): Likewise.
59182         * wcsmbs/Makefile (CPPFLAGS): Likewise.
59183         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
59184         Use $(libio-mtsafe).
59185         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
59186         of -D_IO_MTSAFE_IO.
59187         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
59188         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
59189         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
59190         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
59191         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
59192         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
59193         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
59194         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
59195         (CFLAGS-fread_u_chk.c): Likewise.
59196         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
59197         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
59198         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
59199         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
59200         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
59201         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
59202         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
59203         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
59204         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
59206         * libio/Makefile: Test [$(libc-reentrant) = yes]
59207         instead of [$(filter %REENTRANT, $(defines)) nonempty].
59209         * Makeconfig
59210         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
59211         * sysdeps/pthread/configure: File removed.
59212         * sysdeps/pthread/Makeconfig: New file.
59213         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
59214         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
59216 2012-08-16  Gary Benson  <gbenson@redhat.com>
59218         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
59219         unmapping the first object in a namespace.
59221 2012-08-16  Roland McGrath  <roland@hack.frob.com>
59223         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
59224         (__internal_setnetgrent): ... this.  Add internal_function to
59225         definition.  Add libc_hidden_def.
59226         (setnetgrent): Update caller.
59227         (internal_endnetgrent): Renamed to ...
59228         (__internal_endnetgrent): ... this.  Add internal_function to
59229         definition.  Add libc_hidden_def.
59230         (endnetgrent): Update caller.
59231         (internal_getnetgrent_r): Renamed to ...
59232         (__internal_getnetgrent_r): ... this.  Add internal_function to
59233         definition.  Add libc_hidden_def.
59234         (__getnetgrent_r): Update caller.
59235         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
59237 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
59239         * stdlib/longlong.h: Update from GCC.
59241 2012-08-16  Roland McGrath  <roland@hack.frob.com>
59243         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
59244         on _QL, which is set by umul_ppmm but never used.
59245         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
59246         variables, which are set by GMP macros but never used.
59247         * stdio-common/_itowa.c (_itowa): Likewise.
59248         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
59249         * stdlib/mod_1.c (mpn_mod_1): Likewise.
59251 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
59253         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
59254         struct La_sh_regs is not constant.
59255         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
59256         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
59257         and struct La_sparc64_regs are not constant.
59259 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
59261         * sysdeps/unix/sysv/linux/kernel-features.h
59262         (__ASSUME_POSIX_TIMERS): Remove.
59263         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59264         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59265         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
59266         Make code unconditional.
59267         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59268         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
59269         Make code unconditional.
59270         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59271         * sysdeps/unix/sysv/linux/clock_nanosleep.c
59272         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
59273         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59274         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
59275         Make code unconditional.
59276         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59277         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
59278         (__libc_missing_posix_timers): Remove.
59280 2012-08-15  Roland McGrath  <roland@hack.frob.com>
59282         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
59283         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
59285         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
59287         * elf/dl-sym.c: Include <stdlib.h>.
59289         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
59290         constants, which avoids warnings in 32-bit builds.
59292         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
59293         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
59295         * misc/lseek.c: File moved to ...
59296         * io/lseek.c: ... here.
59298         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
59300         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
59301         shifting LEN more than 31 bits at once.
59303 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59305         [BZ #14195]
59306         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
59307         segmentation fault for a case of two empty input strings.
59308         * string/test-strncasecmp.c (check1): Renamed to...
59309         (bz12205): ...this.
59310         (bz14195): Add new testcase for two empty input strings and N > 0.
59311         (test_main): Call new testcase, adapt for renamed function.
59313 2012-08-15  Andreas Jaeger  <aj@suse.de>
59315         [BZ #14090]
59316         * crypt/md5test2.c: New test, based on test supplied by Serge
59317         Belyshev <belyshev@depni.sinp.msu.ru>.
59318         * crypt/Makefile (xtests): Add md5test-giant..
59319         * crypt/Makefile ($(objpfx)md5test-giant): Add.
59321 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
59323         [BZ #14090]
59324         * crypt/md5.c (md5_process_block): Don't assume the buffer
59325         length is less than 2**32.
59326         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
59327         length is less than 2**64.
59329 2012-08-15  Roland McGrath  <roland@hack.frob.com>
59331         * string/str-two-way.h: Include <sys/param.h>.
59332         (MAX): Macro removed.
59334         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
59335         Move #define and #undef of memmove to just before and after
59336         including <string.h>.
59338         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
59339         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
59340         and after including <string.h>.  Move declarations of
59341         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
59342         to before #include "string/memmove.c".
59344         * include/dirent.h: Declare __getdirentries.
59346         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
59347         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
59349 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
59351         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
59352         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
59353         * sysdeps/i386/configure: Regenerated.
59354         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
59355         STABS_CURRENT_FILE, and STABS_FUN.
59356         (END): Remove call to STABS_FUN_END.
59357         (STABS_CURRENT_FILE1): Delete.
59358         (STABS_CURRENT_FILE): Likewise.
59359         (STABS_FUN): Likewise.
59360         (STABS_FUN_END): Likewise.
59361         (STABS_FUN2): Likewise.
59362         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
59363         * sysdeps/x86_64/configure: Regenerated.
59365 2012-08-14  Roland McGrath  <roland@hack.frob.com>
59367         * elf/dl-open.c: Include <atomic.h>.
59368         * elf/dl-lookup.c: Likewise.
59370 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
59372         * sysdeps/unix/sysv/linux/kernel-features.h
59373         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
59374         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
59375         unconditionally.
59376         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
59377         unconditionally.
59378         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
59379         condition on __ASSUME_CLONE_THREAD_FLAGS.
59381 2012-08-14  Andreas Jaeger  <aj@suse.de>
59383         * sysdeps/i386/fpu/libm-test-ulps: Update.
59385 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
59387         * include/atomic.h (atomic_exchange_and_add): Split into ...
59388         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
59389         New atomic macros.
59391 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
59393         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59395 2012-08-13  Jeff Law <law@redhat.com>
59397         * manual/stdio.texi (snprintf): Clarify handling of the trailing
59398         null byte in the output string.
59400 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
59402         * sysdeps/unix/sysv/linux/kernel-features.h
59403         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
59404         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
59405         (__ASSUME_ARG_MAX_STACK_BASED): Define.
59406         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
59407         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
59408         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
59409         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
59411 2012-08-09  Jeff Law <law@redhat.com>
59413         [BZ #13939]
59414         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
59415         When avoid_arena is set, don't retry in the that arena.  Pick the
59416         next one, whatever it might be.
59417         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
59418         (arena_lock): Pass in new parameter to arena_get2.
59419         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
59420         arena_get2.
59421         (__libc_malloc): Unify retrying after main arena failure with
59422         __libc_memalign version.
59423         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
59425 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
59427         [BZ #14166]
59428         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
59429         to __redirect_strstr.
59430         (__strstr_sse42): Use typeof __redirect_strstr.
59431         (__strstr_ia32): Likewise.
59432         (__libc_strstr): New prototype.
59433         (strstr): Renamed to ...
59434         (__libc_strstr): This.
59435         (strstr): New strong alias of __libc_strstr.
59436         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59437         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
59438         __redirect_time.
59439         Include <time.h>.
59440         (__libc_time): New prototype.
59441         (time_ifunc): Replace time with __libc_time.
59442         (time): New strong alias and hidden definition of __libc_time.
59443         (__GI_time): Remove strong alias.
59444         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
59445         Include <stddef.h>.
59446         (memmove): Redefined to __redirect_memmove.
59447         (__memmove_sse2): Use typeof __redirect_memmove.
59448         (__memmove_ssse3): Likewise.
59449         (__memmove_ssse3_back): Likewise.
59450         (__libc_memmove): New prototype.
59451         (memmove): Renamed to ...
59452         (__libc_memmove): This.
59453         (memmove): New strong alias of __libc_memmove.
59455 2012-08-08  Mark Salter  <msalter@redhat.com>
59457         * elf/elf.h
59458         (R_MN10300_TLS_GD): Define.
59459         (R_MN10300_TLS_LD): Likewise.
59460         (R_MN10300_TLS_LDO): Likewise.
59461         (R_MN10300_TLS_GOTIE): Likewise.
59462         (R_MN10300_TLS_IE): Likewise.
59463         (R_MN10300_TLS_LE): Likewise.
59464         (R_MN10300_TLS_DTPMOD): Likewise.
59465         (R_MN10300_TLS_DTPOFF): Likewise.
59466         (R_MN10300_TLS_TPOFF): Likewise.
59467         (R_MN10300_SYM_DIFF): Likewise.
59468         (R_MN10300_ALIGN): Likewise.
59469         (R_MN10300_NUM): Update.
59471 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
59473         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
59474         Remove.
59476 2012-08-08  Roland McGrath  <roland@hack.frob.com>
59478         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
59480         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
59481         sysdeps/unix -> sysdeps/posix move.
59482         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
59484 2012-08-07      Allan McRae     <allan@archlinux.org>
59486         [BZ #14303]
59487         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
59488         (SUNOS_CPP): Likewise.
59489         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
59490         not found.
59491         (open_input): Call CPP using execvp.
59493 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
59495         * sysdeps/unix/sysv/linux/kernel-features.h
59496         (__ASSUME_PROT_GROWSUPDOWN): Remove.
59497         (__ASSUME_NO_CLONE_DETACHED): Likewise.
59498         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59499         (__ASSUME_WAITID_SYSCALL): Likewise.
59500         * sysdeps/unix/sysv/linux/dl-execstack.c
59501         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
59502         code unconditional.
59503         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
59504         conditional code.
59505         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
59506         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
59507         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
59508         code.
59509         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
59510         unconditional.
59511         [__ASSUME_WAITID_SYSCALL]: Likewise.
59512         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
59514 2012-08-07  Roland McGrath  <roland@hack.frob.com>
59516         * sysdeps/unix/closedir.c: Renamed to ...
59517         * sysdeps/posix/closedir.c: ... here.
59518         * sysdeps/unix/dirfd.c: Renamed to ...
59519         * sysdeps/posix/dirfd.c: ... here.
59520         * sysdeps/unix/dirstream.h: Renamed to ...
59521         * sysdeps/posix/dirstream.h: ... here.
59522         * sysdeps/unix/fdopendir.c: Renamed to ...
59523         * sysdeps/posix/fdopendir.c: ... here.
59524         * sysdeps/unix/opendir.c: Renamed to ...
59525         * sysdeps/posix/opendir.c: ... here.
59526         * sysdeps/unix/readdir.c: Renamed to ...
59527         * sysdeps/posix/readdir.c: ... here.
59528         * sysdeps/unix/readdir_r.c: Renamed to ...
59529         * sysdeps/posix/readdir_r.c: ... here.
59530         * sysdeps/unix/rewinddir.c: Renamed to ...
59531         * sysdeps/posix/rewinddir.c: ... here.
59532         * sysdeps/unix/seekdir.c: Renamed to ...
59533         * sysdeps/posix/seekdir.c: ... here.
59534         * sysdeps/unix/telldir.c: Renamed to ...
59535         * sysdeps/posix/telldir.c: ... here.
59536         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
59537         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
59538         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
59539         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
59541         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
59542         * bits/fcntl.h: ... here.
59544         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
59545         not 0.
59546         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
59547         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
59548         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
59549         (struct flock): Move l_start, l_len to the beginning.
59550         Use __pid_t for l_pid.
59551         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
59552         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
59553         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
59554         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
59555         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
59556         [__USE_LARGEFILE64] (struct flock64): New type.
59557         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
59559         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
59560         * bits/dirent.h: ... here.
59562         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
59563         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
59565 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
59567         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59568         Change from 2.6.0 to 2.6.16.
59569         * sysdeps/unix/sysv/linux/configure: Regenerated.
59570         * sysdeps/unix/sysv/linux/kernel-features.h
59571         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
59572         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
59573         version.
59574         (__ASSUME_UTIMES): Likewise.
59575         (__ASSUME_CLONE_STOPPED): Remove.
59576         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
59577         architectures, not kernel version.
59578         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
59579         (__ASSUME_NO_CLONE_DETACHED): Likewise.
59580         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59581         (__ASSUME_WAITID_SYSCALL): Likewise.
59582         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
59583         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
59584         * README: State 2.6.16 as minimum Linux kernel version.  Do not
59585         refer to older versions.
59587 2012-08-06  Roland McGrath  <roland@hack.frob.com>
59589         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
59590         Define alphasort64 as an alias.
59591         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
59592         Define versionsort64 as an alias.
59593         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
59594         Define scandir64 as an alias.
59595         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
59596         Define scandirat64 as an alias.
59597         * dirent/alphasort64.c (alphasort64):
59598         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
59599         * dirent/versionsort64.c: Likewise.
59600         * dirent/scandir64.c: Likewise.
59601         * dirent/scandirat64.c: Likewise.
59602         * sysdeps/wordsize-64/alphasort.c: File removed.
59603         * sysdeps/wordsize-64/alphasort64.c: File removed.
59604         * sysdeps/wordsize-64/scandir.c: File removed.
59605         * sysdeps/wordsize-64/scandir64.c: File removed.
59606         * sysdeps/wordsize-64/scandirat.c: File removed.
59607         * sysdeps/wordsize-64/scandirat64.c: File removed.
59608         * sysdeps/wordsize-64/versionsort.c: File removed.
59609         * sysdeps/wordsize-64/versionsort64.c: File removed.
59610         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
59611         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
59612         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
59613         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
59614         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
59615         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
59616         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
59617         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
59619         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
59620         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59621         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
59622         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59623         [defined __arch64__ || defined __sparcv9]
59624         (__INO_T_MATCHES_INO64_T): New macro.
59625         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59626         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
59627         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
59628         * sysdeps/unix/sysv/linux/bits/dirent.h
59629         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
59630         (_DIRENT_MATCHES_DIRENT64): New macro.
59632         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
59633         Define lockf64 as an alias.
59634         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
59635         Define fseeko64 as an alias.
59636         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
59637         Define ftello64 as an alias.
59638         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
59639         Define _IO_fgetpos64 and fgetpos64 as aliases.
59640         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
59641         Define _IO_fsetpos64 and fsetpos64 as aliases.
59642         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
59643         Conditionalize body on this.
59644         * libio/fseeko64.c: Likewise.
59645         * libio/ftello64.c: Likewise.
59646         * libio/iofgetpos64.c: Likewise.
59647         * libio/iofsetpos64.c: Likewise.
59648         * sysdeps/wordsize-64/lockf.c: File removed.
59649         * sysdeps/wordsize-64/lockf64.c: File removed.
59650         * sysdeps/wordsize-64/fseeko.c: File removed.
59651         * sysdeps/wordsize-64/fseeko64.c: File removed.
59652         * sysdeps/wordsize-64/ftello.c: File removed.
59653         * sysdeps/wordsize-64/ftello64.c: File removed.
59654         * sysdeps/wordsize-64/iofgetpos.c: File removed.
59655         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
59656         * sysdeps/wordsize-64/iofsetpos.c: File removed.
59657         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
59658         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
59659         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
59660         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
59661         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
59662         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
59663         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
59664         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
59665         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
59666         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
59667         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
59669         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59670         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59671         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
59672         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59673         [defined __arch64__ || defined __sparcv9]
59674         (__OFF_T_MATCHES_OFF64_T): New macro.
59675         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59676         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59677         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59678         (__OFF_T_MATCHES_OFF64_T): New macro.
59680 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
59682         * stdlib/secure-getenv.c (__secure_getenv): Replace
59683         GLIBC_2_16 with GLIBC_2_17.
59685 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
59687         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
59688         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
59690 2012-08-03  David S. Miller  <davem@davemloft.net>
59692         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59694 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
59696         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
59697         Remove.
59698         (__ASSUME_CORRECT_SI_PID): Likewise.
59699         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
59700         (__ASSUME_TMPFS_NAME): Likewise.
59701         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
59702         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
59703         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
59704         (HAVE_AUX_SECURE): Make definition unconditional.
59705         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
59706         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
59708 2012-08-03  Roland McGrath  <roland@hack.frob.com>
59710         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
59711         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
59712         * sysdeps/mach/hurd/eloop-threshold.h: New file.
59713         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
59714         __eloop_threshold instead of SYMLOOP_MAX.
59716         * sysdeps/generic/eloop-threshold.h: New file.
59717         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
59718         of MAXSYMLINKS.
59719         * elf/chroot_canon.c (chroot_canon): Likewise.
59721 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
59723         [BZ #13717]
59724         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59725         Change to 2.6.0 everywhere.
59726         * sysdeps/unix/sysv/linux/configure: Regenerated.
59727         * sysdeps/unix/sysv/linux/kernel-features.h
59728         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
59729         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
59730         kernel versions.
59731         (__ASSUME_POSIX_TIMERS): Define unconditionally.
59732         (__ASSUME_FUTEX_REQUEUE): Remove.
59733         (__ASSUME_STATFS64): Define unconditionally.
59734         (__ASSUME_AT_SECURE): Likewise.
59735         (__ASSUME_CORRECT_SI_PID): Likewise.
59736         (__ASSUME_TGKILL): Define without depending on kernel version for
59737         i386.
59738         (__ASSUME_UTIMES): Likewise.
59739         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
59740         kernel version.
59741         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
59742         (__ASSUME_TMPFS_NAME): Likewise.
59743         * README: Update reference to Linux kernel versions.
59745 2012-08-02  Marek Polacek  <polacek@redhat.com>
59747         [BZ# 14150]
59748         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
59749         libc_cv_asm_type_prefix with %.
59750         * configure: Regenerated.
59751         * include/libc-symbols.h: Remove comment about
59752         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59753         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
59754         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
59755         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
59756         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
59757         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59758         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
59759         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
59760         * elf/tst-unique2mod1.c: Likewise.
59761         * elf/tst-unique1mod2.c: Likewise.
59762         * elf/tst-unique1mod1.c: Likewise.
59763         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
59764         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
59765         Replace ASM_TYPE_DIRECTIVE with .type.
59766         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59767         * sysdeps/i386/sysdep.h: Likewise.
59768         * sysdeps/x86_64/sysdep.h: Likewise.
59769         * sysdeps/sh/sysdep.h: Likewise.
59770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59771         Do not define ASM_TYPE_DIRECTIVE.
59772         * sysdeps/powerpc/sysdep.h: Likewise.
59773         * sysdeps/powerpc/powerpc32/sysdep.h:
59774         Replace ASM_TYPE_DIRECTIVE with .type.
59775         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
59776         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59777         * sysdeps/i386/fpu/e_powf.S: Likewise.
59778         * sysdeps/i386/fpu/e_expl.S: Likewise.
59779         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59780         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59781         * sysdeps/i386/fpu/e_pow.S: Likewise.
59782         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
59783         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59784         * sysdeps/i386/fpu/s_expm1.S: Likewise.
59785         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
59786         * sysdeps/i386/fpu/e_log2.S: Likewise.
59787         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59788         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59789         * sysdeps/i386/fpu/e_powl.S: Likewise.
59790         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59791         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
59792         * sysdeps/i386/fpu/e_logl.S: Likewise.
59793         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
59794         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
59795         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
59796         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59797         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59798         * sysdeps/i386/fpu/e_log.S: Likewise.
59799         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59800         * sysdeps/i386/fpu/e_logf.S: Likewise.
59801         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59802         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59803         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
59804         * sysdeps/i386/fpu/e_log10.S: Likewise.
59805         * sysdeps/i386/fpu/s_frexp.S: Likewise.
59806         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59807         * sysdeps/i386/fpu/s_asinh.S: Likewise.
59808         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
59809         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59810         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
59811         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
59812         * sysdeps/i386/i686/strtok.S: Likewise.
59813         * sysdeps/i386/i386-mcount.S: Likewise.
59814         * sysdeps/i386/strtok.S: Likewise.
59815         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
59816         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59817         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59818         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59819         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
59820         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59821         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
59822         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
59823         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59824         * sysdeps/x86_64/_mcount.S: Likewise.
59825         * sysdeps/x86_64/strtok.S: Likewise.
59826         * sysdeps/sh/_mcount.S: Likewise.
59828 2012-08-01  Roland McGrath  <roland@hack.frob.com>
59830         * libio/iofopen.c: Include <fcntl.h>.
59831         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
59832         (_IO_fopen64, fopen64): Define as aliases.
59833         * libio/iofopen64.c: Include <fcntl.h>.
59834         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
59835         Conditionalize body on this.
59836         * sysdeps/wordsize-64/iofopen.c: File removed.
59837         * sysdeps/wordsize-64/iofopen64.c: File removed.
59839 2012-08-01  Marek Polacek  <polacek@redhat.com>
59841         * libc/Makeconfig: Use elf in place of binfmt-subdir.
59842         Use dlfcn directly instead of a variable.
59843         (binfmt-subdir): Do not define.
59844         (dlfcn): Likewise.
59846 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
59848         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
59849         Remove all definitions.
59850         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
59851         <kernel-features.h>.
59852         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59853         (miss_F_GETOWN_EX): Remove all definitions.
59854         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
59855         macro definition.
59856         [!__ASSUME_FCNTL64]: Remove conditional code.
59857         [__ASSUME_FCNTL64]: Make code unconditional.
59858         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
59859         <kernel-features.h>.
59860         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59861         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
59862         (lockf64) [__NR_fcntl64]: Make code unconditional.
59863         (lockf64) [__ASSUME_FCNTL64]: Likewise.
59865         * sysdeps/unix/sysv/linux/kernel-features.h
59866         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
59867         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
59868         Make code unconditional.
59869         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59870         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
59872         [__NR_vfork]: Make code unconditional.
59873         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59874         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
59876         [__NR_vfork]: Make code unconditional.
59877         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59878         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59880 2012-08-01  Roland McGrath  <roland@hack.frob.com>
59882         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
59883         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
59885         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59886         Define mkstemp64 as an alias.
59887         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59888         Define mkstemps64 as an alias.
59889         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59890         Define mkostemp64 as an alias.
59891         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59892         Define mkostemps64 as an alias.
59893         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
59894         Conditionalize body on this.
59895         * misc/mkostemp64.c: Likewise.
59896         * misc/mkostemps64.c: Likewise.
59897         * misc/mkstemps64.c: Likewise.
59898         * sysdeps/wordsize-64/mkstemp64.c: File removed.
59899         * sysdeps/wordsize-64/mkostemp64.c: File removed.
59900         * sysdeps/wordsize-64/mkostemp.c: File removed.
59901         * sysdeps/wordsize-64/mkstemp.c: File removed.
59902         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
59903         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
59904         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
59905         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
59907         [BZ #14138]
59908         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
59909         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
59910         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
59911         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
59913         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
59914         compat_symbol macros from <shlib-compat.h> rather than the underlying
59915         default_symbol_version and symbol_version macros, so that DEFAULT
59916         lines in shlib-versions are respected.
59917         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
59919 2012-08-01  Florian Weimer  <fweimer@redhat.com>
59921         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
59922         Declare with warn_unused_result.
59923         (setgid, setregid, setegid, setresgid): Likewise.
59924         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
59925         Likewise.
59926         * WUR-REPORT: Remove set*id functions.
59928 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
59930         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
59932 2012-07-31  Roland McGrath  <roland@hack.frob.com>
59934         [BZ #10191]
59935         * include/sys/socket.h (__libc_accept, __libc_accept4):
59936         Add attribute_hidden.
59937         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
59939         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
59940         use of PTR_MANGLE.
59941         * inet/getnetgrent_r.c (setup): Likewise.
59943         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
59945 2012-07-31  David S. Miller  <davem@davemloft.net>
59947         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59949 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
59951         [BZ #13629]
59952         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
59953         value between 1.0 and 2.0 and smaller part has absolute value less
59954         than 1.0.
59955         * math/s_clog10.c (__clog10): Likewise.
59956         * math/s_clog10f.c (__clog10f): Likewise.
59957         * math/s_clog10l.c (__clog10l): Likewise.
59958         * math/s_clogf.c (__clogf): Likewise.
59959         * math/s_clogl.c (__clogl): Likewise.
59960         * math/libm-test.inc (clog_test): Add more tests.
59961         (clog10_test): Likewise.
59962         * sysdeps/i386/fpu/libm-test-ulps: Update.
59963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59965 2012-07-31  Florian Weimer  <fweimer@redhat.com>
59967         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
59968         Exit with zero in case no suitable GID is found, and write a
59969         message to standard error.
59971 2012-07-30  Roland McGrath  <roland@hack.frob.com>
59973         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
59974         rather than to 1.
59975         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
59976         (MAXPATHLEN): Removed.
59977         (NOGROUP, NODEV): New macros.
59978         (setbit, clrbit, isset, isclr): New macros.
59979         (howmany, roundup, powerof2): New macros.
59980         (DEV_BSIZE): New macro.
59982         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
59983         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
59985         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
59986         definition on [!__NO_LONG_DOUBLE_MATH].
59988         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
59989         PTR_MANGLE and PTR_DEMANGLE.
59991         * socket/accept4.c (accept4): Rename to __libc_accept4.
59992         Define accept4 as a weak alias.
59994         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
59995         on [_DIRENT_HAVE_D_TYPE].
59996         * io/ftw.c (ftw_dir): Likewise.
59998         * io/xmknod.c (__xmknod): Don't check PATH for being null.
60000         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
60002         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
60003         Use the BSD numbers rather than the arbitrary ones we had.
60004         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
60005         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
60006         (SIGXCPU, SIGXFSZ): New macros.
60007         (_NSIG): Now 32.
60009         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
60010         initializer on [_LIBC_REENTRANT].
60012         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
60013         definitions inside [_POSIX_MAPPED_FILES].
60015         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
60017         * dirent/opendir.c: Include <fcntl.h>.
60019         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
60020         (__libc_getspecific): Likewise.
60021         (__libc_key_create): Likewise.
60023         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
60024         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
60025         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
60026         (tmpfile64): Define as alias.
60027         * sysdeps/wordsize-64/tmpfile.c: File removed.
60028         * sysdeps/wordsize-64/tmpfile64.c: File removed.
60029         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
60030         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
60032         * stdio-common/vfscanf.c: Include <stdbool.h>.
60033         * nss/makedb.c: Likewise.
60034         * stdio-common/_i18n_number.h: Likewise.
60035         * argp/argp-help.c: Likewise.
60036         * posix/wordexp.c: Likewise.
60037         * sysdeps/posix/spawni.c: Likewise.
60038         * nss/nss_files/files-initgroups.c: Likewise.
60039         * stdio-common/reg-modifier.c: Include <stdlib.h>.
60040         * nss/nss_files/files-initgroups.c: Likewise.
60041         * nss/nss_db/db-netgrp.c: Likewise.
60042         * nss/nss_db/db-initgroups.c: Likewise.
60043         * io/fchmodat.c: Include <sys/stat.h>.
60045         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
60046         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
60048         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
60049         [HAVE_MMAP].
60051         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
60052         Add multiple inclusion protection.
60054 2012-07-27  David S. Miller  <davem@davemloft.net>
60056         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60058 2012-07-27  Gary Benson  <gbenson@redhat.com>
60060         [BZ #14298]
60061         * elf/rtld.c: Include <stap-probe.h>.
60062         (dl_main): Added static probes "init_start" and "init_complete".
60063         * elf/dl-load.c: Include <stap-probe.h>.
60064         (lose): Take new parameter "nsid".
60065         Added static probe "map_failed".
60066         (_dl_map_object_from_fd): Pass namespace id to lose.
60067         Added static probe "map_start".
60068         (open_verify): Pass namespace id to lose.
60069         * elf/dl-open.c: Include <stap-probe.h>.
60070         (dl_open_worker) Added static probes "map_complete", "reloc_start"
60071         and "reloc_complete".
60072         * elf/dl-close.c: Include <stap-probe.h>.
60073         (_dl_close_worker): Added static probes "unmap_start" and
60074         "unmap_complete".
60075         * elf/rtld-debugger-interface.txt: New file documenting the above.
60077 2012-07-26  Roland McGrath  <roland@hack.frob.com>
60079         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
60080         rather than a string variable.
60081         * sunrpc/rpc_main.c (h_output): Likewise.
60082         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
60084 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
60086         * inet/check_native.c: New file.
60088 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
60090         [BZ #13629]
60091         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
60092         if larger part has absolute value 1.0.
60093         * math/s_clog10.c (__clog10): Likewise.
60094         * math/s_clog10f.c (__clog10f): Likewise.
60095         * math/s_clog10l.c (__clog10l): Likewise.
60096         * math/s_clogf.c (__clogf): Likewise.
60097         * math/s_clogl.c (__clogl): Likewise.
60098         * math/libm-test.inc (clog_test): Add more tests.
60099         (clog10_test): Likewise.
60100         * sysdeps/i386/fpu/libm-test-ulps: Update.
60101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60103         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
60104         (pltexit): Likewise.
60105         (La_regs): Likewise.
60106         (La_retval): Likewise.
60107         (int_retval): Likewise.
60108         Update #error for removed macros to refer only to definitions in
60109         tst-audit.h.
60110         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
60111         macro.
60112         (pltexit): Likewise.
60113         (La_regs): Likewise.
60114         (La_retval): Likewise.
60115         (int_retval): Likewise.
60116         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
60117         macro.
60118         (pltexit): Likewise.
60119         (La_regs): Likewise.
60120         (La_retval): Likewise.
60121         (int_retval): Likewise.
60122         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
60123         macro.
60124         (pltexit): Likewise.
60125         (La_regs): Likewise.
60126         (La_retval): Likewise.
60127         (int_retval): Likewise.
60128         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
60129         macro.
60130         (pltexit): Likewise.
60131         (La_regs): Likewise.
60132         (La_retval): Likewise.
60133         (int_retval): Likewise.
60134         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
60135         macro.
60136         (pltexit): Likewise.
60137         (La_regs): Likewise.
60138         (La_retval): Likewise.
60139         (int_retval): Likewise.
60140         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
60141         macro.
60142         (pltexit): Likewise.
60143         (La_regs): Likewise.
60144         (La_retval): Likewise.
60145         (int_retval): Likewise.
60146         * sysdeps/generic/tst-audit.h: Update comment to refer only to
60147         macro definitions in tst-audit.h.
60148         * sysdeps/i386/tst-audit.h: New file.
60149         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
60150         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
60151         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
60152         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
60153         * sysdeps/sh/tst-audit.h: Likewise.
60154         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
60155         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
60156         * sysdeps/x86_64/tst-audit.h: Likewise.
60158 2012-07-26  Andreas Jaeger  <aj@suse.de>
60160         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
60161         ptrace.
60163         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
60164         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
60165         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
60166         PTRACE_O_MASK.
60167         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
60168         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
60169         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
60171         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
60172         value.
60174         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
60175         _sigsys.
60176         (si_call_addr, si_syscall, si_arch): Define new macro.
60177         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
60178         _sigsys.
60179         (si_call_addr, si_syscall, si_arch): Define new marcro.
60180         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
60181         _sigsys.
60182         (si_call_addr, si_syscall, si_arch): Define new macro.
60183         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
60184         _sigsys.
60185         (si_call_addr, si_syscall, si_arch): Define new macro.
60187 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
60189         [BZ #13717]
60190         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60191         Change to 2.4.21 where previously 2.4.1.
60192         * sysdeps/unix/sysv/linux/configure: Regenerated.
60193         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
60194         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
60195         Linux kernel version.
60196         (__ASSUME_STD_AUXV): Remove.
60197         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
60198         kernel version.
60199         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
60200         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
60201         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
60202         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
60203         (__ASSUME_NETLINK_SUPPORT): Likewise.
60204         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
60205         (__no_netlink_support): Remove conditional definition.
60206         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
60207         Remove.
60208         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
60209         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
60210         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
60211         (if_nameindex_ioctl): Remove.
60212         (if_nameindex_netlink): Do not handle __no_netlink_support.
60213         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
60214         code.
60215         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
60216         Remove conditional code.
60217         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
60218         code.
60219         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
60220         unconditional.
60221         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
60222         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
60223         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
60224         Remove.
60225         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
60226         [!__ASSUME_STD_AUXV]: Remove conditional code.
60227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
60228         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
60229         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
60230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
60231         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
60232         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
60233         code.
60234         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
60235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60236         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
60237         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
60238         conditional code.
60239         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
60240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
60241         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
60242         code.
60243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60244         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
60245         conditional code.
60246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
60247         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60248         code unconditional.
60249         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60250         conditional code.
60251         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60252         unconditional.
60253         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60254         conditional code.
60255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60256         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60257         unconditional.
60258         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60259         conditional code.
60260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
60261         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60262         code unconditional.
60263         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60264         conditional code.
60265         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60266         unconditional.
60267         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60268         conditional code.
60269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
60270         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60271         code unconditional.
60272         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60273         conditional code.
60274         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60275         unconditional.
60276         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60277         conditional code.
60279 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
60281         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
60282         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
60283         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
60284         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
60285         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
60286         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
60287         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
60288         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
60289         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
60290         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
60291         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
60292         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
60293         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
60294         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
60295         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
60296         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
60297         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
60298         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
60299         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
60300         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
60301         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
60302         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
60303         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
60305 2012-07-25  Florian Weimer  <fweimer@redhat.com>
60307         * Versions.def: Add GLIBC_2.17.
60308         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
60309         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
60310         Introduce __libc_secure_getenv.
60311         * stdlib/Versions (2.17): Add secure_getenv
60312         (GLIBC_PRIVATE): Add __libc_secure_getenv.
60313         * stdlib/secure-getenv.c: Rename __secure_getenv to
60314         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
60315         symbol __secure_getenv for GLIBC_2.0.
60316         * stdlib/tst-secure-getenv.c: New.
60317         * stdlib/Makefile (tests): Add testcase.
60318         * manual/startup.texi (Environment Access): Document
60319         secure_getenv.
60320         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
60321         __libc_secure_getenv.
60322         * inet/ruserpass.c (ruserpass): Likewise.
60323         * malloc/mtrace.c (mtrace): Likewise.
60324         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
60325         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
60326         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
60327         * sysdeps/posix/tempname.c: Likewise.  Evaluate
60328         HAVE_SECURE_GETENV.
60329         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
60330         __secure_getenv to __libc_secure_getenv.
60331         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
60332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60333         Likewise.
60334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60335         Likewise.
60336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60338         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60339         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60340         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60341         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60342         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60344 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
60346         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
60347         (struct La_i86_retval): Likewise.
60348         (struct La_x86_64_regs): Likewise.
60349         (struct La_x86_64_retval): Likewise.
60350         (struct La_x32_regs): Likewise.
60351         (struct La_x32_retval): Likewise.
60352         (struct La_ppc32_regs): Likewise.
60353         (struct La_ppc32_retval): Likewise.
60354         (struct La_ppc64_regs): Likewise.
60355         (struct La_ppc64_retval): Likewise.
60356         (struct La_sh_regs): Likewise.
60357         (struct La_sh_retval): Likewise.
60358         (struct La_s390_32_regs): Likewise.
60359         (struct La_s390_32_retval): Likewise.
60360         (struct La_s390_64_regs): Likewise.
60361         (struct La_s390_64_retval): Likewise.
60362         (struct La_sparc32_regs): Likewise.
60363         (struct La_sparc32_retval): Likewise.
60364         (struct La_sparc64_regs): Likewise.
60365         (struct La_sparc64_retval): Likewise.
60366         (struct audit_ifaces): Remove architecture-specific pltenter and
60367         pltexit members.
60368         * sysdeps/i386/ldsodefs.h: New file.
60369         * sysdeps/powerpc/ldsodefs.h: Likewise.
60370         * sysdeps/s390/ldsodefs.h: Likewise.
60371         * sysdeps/sh/ldsodefs.h: Likewise.
60372         * sysdeps/sparc/ldsodefs.h: Likewise.
60373         * sysdeps/x86_64/ldsodefs.h: Likewise.
60375 2012-07-25  Marek Polacek  <polacek@redhat.com>
60377         [BZ #6808]
60378         * math/libm-test.inc (yn_test): Add another test.
60379         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
60380         to ERANGE when the result is +-Inf.
60381         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60382         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
60383         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
60384         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
60386 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
60388         * conform/data/time.h-data (NULL): Use macro-constant.  Require
60389         equal to 0.
60390         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
60391         clock_t.
60392         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
60394 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
60396         * configure.in <sysdeps resolving>: Correct printing
60397         Implies_before.
60398         * configure: Regenerate.
60400 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
60402         * math/w_ilogb.c: Include <limits.h>.
60403         * math/w_ilogbl.c: Likewise.
60405 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
60407         * manual/lang.texi (__va_copy): Document primarily as ISO C99
60408         va_copy.  Document allowing for unavailable va_copy only as
60409         pre-C99 compatibility.
60410         * manual/string.texi (Copying and Concatenation): Use va_copy
60411         instead of __va_copy in concat example.
60413 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
60415         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
60416         (__sendto): Use create_address_port.  Initialize APORT and deallocate
60417         it if not null.
60419         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
60420         with O_NOLINK passed to __file_name_lookup.
60422         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
60423         with O_NOLINK passed to __file_name_lookup.
60425         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
60426         negative N or less than NGIDS.
60428         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
60429         type to string_t.  Set ERANGE as errno and return it if NAME is not big
60430         enough.  Use memcpy instead of strncpy.
60432 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
60434         * elf/Makefile (check-data): Remove.
60435         (localplt.data): New vpath directive.
60436         ($(objpfx)check-localplt.out): Use localplt.data from vpath
60437         instead of $(check-data).
60438         * scripts/data/localplt-generic.data: Move to ...
60439         * sysdeps/generic/localplt.data: ... here.
60440         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
60441         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
60442         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
60443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
60444         ... here.
60445         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
60446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
60447         ... here.
60448         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
60449         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
60450         ... here.
60451         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
60452         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
60453         ... here.
60454         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
60455         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
60456         ... here.
60457         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
60458         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
60459         ... here.
60461 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60463         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
60464         PPC32 and PPC64 files.
60465         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
60466         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
60468 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60470         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
60471         __makecontext_ret to ...
60472         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
60473         ... here and call exit if uc_link is NULL.  New file.
60474         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
60475         __makecontext_ret.S.
60476         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
60477         __makecontext_ret to ...
60478         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
60479         ... here and call exit if uc_link is NULL.  New file.
60480         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
60481         __makecontext_ret.S.
60483 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60485         * elf/elf.h (R_390_IRELATIVE): New definition.
60486         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
60487         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
60488         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
60489         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
60490         (elf_machine_lazy_rel): Likewise.
60491         * sysdeps/s390/dl-irel.h: New file.
60492         * sysdeps/s390/s390-64/memcpy.S: New asm code.
60493         * sysdeps/s390/s390-64/memset.S: New asm code.
60494         * sysdeps/s390/s390-64/memcmp.S: New asm code.
60495         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
60496         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
60497         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
60498         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
60499         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
60500         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
60501         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
60502         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
60503         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
60504         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
60505         * sysdeps/s390/s390-32/memcpy.S: New asm code.
60506         * sysdeps/s390/s390-32/memset.S: New asm code.
60507         * sysdeps/s390/s390-32/memcmp.S: New asm code.
60509 2012-07-17  Marek Polacek  <polacek@redhat.com>
60511         [BZ #14349]
60512         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
60513         * sysdeps/s390/s390-64/configure.in: Likewise.
60514         * sysdeps/sparc/configure.in: Likewise.
60515         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
60516         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
60517         * sysdeps/i386/configure.in: Likewise.
60518         * sysdeps/x86_64/configure.in: Likewise.
60519         * sysdeps/sh/configure.in: Likewise.
60520         * sysdeps/s390/s390-32/configure: Regenerated.
60521         * sysdeps/s390/s390-64/configure: Likewise.
60522         * sysdeps/x86_64/configure: Likewise.
60523         * sysdeps/sh/configure: Likewise.
60524         * sysdeps/powerpc/powerpc64/configure: Likewise.
60525         * sysdeps/powerpc/powerpc32/configure: Likewise.
60526         * sysdeps/sparc/configure: Likwise.
60527         * sysdeps/i386/configure: Likewise.
60529         * elf/dl-open.c: Comment fixes.
60531 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
60533         * Makefile [CXX] (check-data): Remove.
60534         [CXX] (c++-types.data): New vpath directive.
60535         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
60536         vpath.  Do not allow for C++ type data being missing.
60537         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
60538         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
60539         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
60540         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
60541         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
60542         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
60543         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
60544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
60545         ... here.
60546         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
60547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
60548         ... here.
60549         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
60550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
60551         ... here.
60552         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
60553         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
60554         ... here.
60555         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
60556         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
60557         ... here.
60558         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
60559         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
60560         ... here.
60561         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
60562         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
60563         ... here.
60564         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
60565         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
60567         * elf/tls-macros.h (TLS_LE): Move architecture-specific
60568         definitions to architecture-specific files.
60569         (TLS_IE): Likewise.
60570         (TLS_LD): Likewise.
60571         (TLS_GD): Likewise.
60572         * sysdeps/i386/tls-macros.h: New file.
60573         * sysdeps/powerpc/tls-macros.h: Likewise.
60574         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
60575         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
60576         * sysdeps/sh/tls-macros.h: Likewise.
60577         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
60578         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
60579         * sysdeps/x86_64/tls-macros.h: Likewise.
60581 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60583         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
60584         zero value for regular exit case.
60586         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
60587         (__start_context): Preserve zero value for regular exit case.
60589 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60590             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60592         * manual/setjmp.texi (setcontext): Clarify normal process
60593         termination when uc_link is the null pointer.
60594         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
60595         exit call.
60597 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
60599         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
60600         preprocessor.  Test for each exception mask separately.
60602 2012-07-16  Andreas Jaeger  <aj@suse.de>
60604         * po/ru.po: Update from translation team.
60606 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
60608         * conform/data/string.h-data (NULL): Use macro-constant.  Require
60609         equal to 0.
60610         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60611         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60612         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
60613         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
60614         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60616 2012-07-13  Andreas Jaeger  <aj@suse.de>
60618         * po/fr.po: Update from translation team.
60620 2012-07-12  Marek Polacek  <polacek@redhat.com>
60622         [BZ #14173]
60623         * math/libm-test.inc (yn_test): Add test for BZ #14173.
60624         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
60625         loop condition.
60627 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
60629         [BZ #13717]
60630         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60631         Change to 2.4.1 where previously 2.4.0.
60632         * sysdeps/unix/sysv/linux/configure: Regenerated.
60633         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
60634         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
60635         version.
60636         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
60637         (__ASSUME_AT_CLKTCK): Remove.
60638         (__ASSUME_AT_PAGESIZE): Likewise.
60639         (__ASSUME_AT_XID): Likewise.
60640         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
60641         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
60642         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
60643         unconditionally.
60644         (HAVE_AUX_PAGESIZE): Likewise.
60645         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
60646         [__ASSUME_AT_CLKTCK]: Make code unconditional.
60647         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
60649 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
60651         [BZ #14307]
60652         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
60653         the temporary buffer used to invoke __gethostbyname2_r,
60654         __gethostbyaddr_r and gethostbyname4_r to make room for struct
60655         host_data / struct gaih_addrtuple.
60656         * resolv/nss_dns/dns-host.c (global scope): Move definition of
60657         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
60658         header file nss/nsswitch.h.
60659         * nss/nsswitch.h (global scope): Add definition of implementation
60660         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
60661         resolv/nss_dns/dns-host.c).
60663 2012-07-11  Andreas Jaeger  <aj@suse.de>
60665         * po/fr.po: Update from translation team.
60667         * po/sv.po: Update from translation team
60668         * po/fr.po: Another update from translation team.
60670 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60672         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
60673         for subnormals or multiply small sinh result by itself.
60674         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
60675         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60677 2012-07-11  David S. Miller  <davem@davemloft.net>
60679         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60681 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
60683         [BZ #14347]
60684         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
60685         (INTERNAL_MARK): Shift it here.
60687 2012-07-10  Marek Polacek  <polacek@redhat.com>
60689         [BZ #14151]
60690         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
60691         libc_cv_asm_global_directive with .globl.
60692         * configure: Regenerated.
60693         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
60694         with .globl.
60695         * sysdeps/i386/configure: Regenerated.
60696         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
60697         with .globl.
60698         * sysdeps/x86_64/configure: Regenerated.
60699         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
60700         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
60701         * elf/tst-unique2mod2.c: Likewise.
60702         * elf/tst-unique2mod1.c: Likewise.
60703         * elf/tst-unique1mod2.c: Likewise.
60704         * elf/tst-unique1mod1.c: Likewise.
60705         * sysdeps/s390/s390-32/sysdep.h: Likewise.
60706         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60707         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60708         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60709         * sysdeps/mach/sysdep.h: Likewise.
60710         * sysdeps/i386/sysdep.h: Likewise.
60711         * sysdeps/i386/i386-mcount.S: Likewise.
60712         * sysdeps/x86_64/_mcount.S: Likewise.
60713         * sysdeps/x86_64/sysdep.h: Likewise.
60714         * sysdeps/sh/_mcount.S: Likewise.
60715         * sysdeps/sh/sysdep.h: Likewise.
60716         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
60717         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
60718         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
60719         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60720         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
60721         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
60722         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
60723         * locale/localeinfo.h: Likewise.
60724         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
60725         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
60727 2012-07-09  Roland McGrath  <roland@hack.frob.com>
60729         [BZ #14336]
60730         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
60731         system".
60732         * manual/message.texi (The Uniforum approach): Likewise.
60733         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
60734         (glibc iconv Implementation): Likewise.
60736 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
60738         [BZ #14337]
60739         * math/s_clog.c (__clog): Avoid scaling a value down where that
60740         could result in underflow.
60741         * math/s_clog10.c (__clog10): Likewise.
60742         * math/s_clog10f.c (__clog10f): Likewise.
60743         * math/s_clog10l.c (__clog10l): Likewise.
60744         * math/s_clogf.c (__clogf): Likewise.
60745         * math/s_clogl.c (__clogl): Likewise.
60746         * math/libm-test.inc (clog_test): Add more tests.
60747         (clog10_test): Likewise.
60748         * sysdeps/i386/fpu/libm-test-ulps: Update.
60749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60751 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
60753         [BZ #14283]
60754         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
60755         by 7 not 8 to examine high bit of fractional part.
60757         [BZ #14042]
60758         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
60759         for call to __mcount_internal.
60760         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
60761         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
60762         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
60764 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
60766         [BZ #14154]
60767         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
60768         approximation for values within 0x1p-13f of an odd multiple of
60769         pi/4.
60770         * math/libm-test.inc (tan_test): Do not allow spurious underflow
60771         exception.  Add more tests.
60772         * sysdeps/i386/fpu/libm-test-ulps: Update.
60774         [BZ #6778]
60775         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
60776         inputs and return -1 for them.  Do not check for +Inf in case not
60777         reachable for +Inf.
60778         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
60779         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
60780         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60781         and return -1 for them.  Do not check for +Inf in case not
60782         reachable for +Inf.
60783         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
60784         define.
60785         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60786         and return -1 for them.  Do not check for +Inf in case not
60787         reachable for +Inf.
60788         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
60789         spurious underflow.
60790         * sysdeps/i386/fpu/libm-test-ulps: Update.
60791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60793 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
60795         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
60797 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
60799         [BZ #14157]
60800         [BZ #14331]
60801         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
60802         could result in spurious underflow.  Scale down values above
60803         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
60804         * math/s_csqrtf.c (__csqrtf): Likewise.
60805         * math/s_csqrtl.c (__csqrtl): Likewise.
60806         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
60807         spurious underflow.
60808         * sysdeps/i386/fpu/libm-test-ulps: Update.
60809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60811 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
60813         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
60814         xopen-msg.sed.
60815         * catgets/xopen-msg.awk: New file.
60816         * catgets/xopen-msg.sed: Removed.
60818         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
60819         po2text.sed.
60820         * intl/po2test.awk: New file.
60821         * intl/po2test.sed: Removed.
60823 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
60825         [BZ #14328]
60826         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
60827         or multiply small sinh result by itself.
60828         * math/s_ctanf.c (__ctanf): Likewise.
60829         * math/s_ctanh.c (__ctanh): Likewise.
60830         * math/s_ctanhf.c (__ctanhf): Likewise.
60831         * math/s_ctanhl.c (__ctanhl): Likewise.
60832         * math/s_ctanl.c (__ctanl): Likewise.
60833         * math/libm-test.inc (ctan_test_tonearest): New function.
60834         (ctan_test_towardzero): Likewise.
60835         (ctan_test_downward): Likewise.
60836         (ctan_test_upward): Likewise.
60837         (ctanh_test_tonearest): Likewise.
60838         (ctanh_test_towardzero): Likewise.
60839         (ctanh_test_downward): Likewise.
60840         (ctanh_test_upward): Likewise.
60841         (main): Call these new functions.
60842         * sysdeps/i386/fpu/libm-test-ulps: Update.
60843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60845 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
60847         * .gitignore: Delete /ports entry.
60849 2012-07-03  Andreas Jaeger  <aj@suse.de>
60851         * po/bg.po: Update from translation team.
60852         * po/cs.po: Likewise.
60853         * po/de.po: Likewise.
60854         * po/hr.po: Likewise.
60855         * po/nl.pl: Likewise.
60856         * po/pl.po: Likewise.
60857         * po/vi.po: Likewise.
60859 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
60861         * Makeconfig [!+link] (+link-before-libc): New variable.
60862         [!+link] (+link-after-libc): Likewise.
60863         [!+link] (+link-tests): Likewise.
60864         [!+link] (+link): Define in terms of $(+link-before-libc) and
60865         $(+link-after-libc).
60866         [!+link-static] (+link-static-before-libc): New variable.
60867         [!+link-static] (+link-static-after-libc): Likewise.
60868         [!+link-static] (+link-static-tests): Likewise.
60869         [!+link-static] (+link-static): Define in terms of
60870         $(+link-static-before-libc) and $(+link-static-after-libc).
60871         [build-shared] (link-libc-before-gnulib): New variable.
60872         [build-shared] (link-libc-tests): Likewise.
60873         [build-shared] (link-libc): Define in terms of
60874         $(link-libc-before-gnulib).
60875         [!build-shared] (link-libc-tests): New variable.
60876         (link-libc-static-tests): New variable.
60877         [!gnulib] (gnulib-arch): New variable.
60878         [!gnulib] (gnulib-tests): Likewise.
60879         [!gnulib] (static-gnulib-arch): Likewise.
60880         [!gnulib] (static-gnulib-tests): Likewise.
60881         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
60882         Define with "=" instead of ":=".
60883         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
60884         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
60885         * Rules (binaries-all-notests): New variable.
60886         (binaries-all-tests): Likewise.
60887         (binaries-static-notests): Likewise.
60888         (binaries-static-tests): Likewise.
60889         (binaries-all): Define using $(binaries-all-notests) and
60890         $(binaries-all-tests).
60891         (binaries-static): Define using $(binaries-static-notests) and
60892         $(binaries-static-tests).
60893         (binaries-shared-tests): New variable.
60894         (binaries-shared-notests): Likewise.
60895         (binaries-shared): Remove variable.
60896         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
60897         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
60898         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
60899         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
60900         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
60901         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
60902         * elf/Makefile (sln-modules): New variable.
60903         (extra-objs): Add $(sln-modules:=.o).
60904         (ldconfig-modules): Add static-stubs.
60905         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
60906         * elf/static-stubs.c: New file.
60908         [BZ #14283]
60909         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
60910         by 7 not 8 to examine high bit of fractional part.  Use volatile
60911         variables when splitting into final array of floats if
60912         __FLT_EVAL_METHOD__ != 0.
60913         * math/libm-test.inc (cos_test): Add another test.
60914         (sin_test): Likewise.
60915         * sysdeps/i386/fpu/libm-test-ulps: Update.
60917         [BZ #14273]
60918         * math/libm-test.inc (cosh_test): Add more tests.
60920         * version.h (RELEASE): Set to "development".
60921         (VERSION): Set to "2.16.90".
60923 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
60925         * NEWS: Update copyright. Remove last-updated date.
60926         Mention math library bug fixes and timezone data changes.
60927         * README: Mention GNU/Hurd, x32, and HPPA support status.
60929 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
60931         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
60933 2012-06-27  Andreas Jaeger  <aj@suse.de>
60935         * manual/contrib.texi (Contributors): Add Samuel Thibault.
60937 2012-06-25  Andreas Jaeger  <aj@suse.de>
60939         * sysdeps/s390/fpu/libm-test-ulps: Update.
60941 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
60942             Thomas Schwinge  <thomas@codesourcery.com>
60944         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
60945         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
60946         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
60947         fanotify_mark.
60949 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
60951         * sysdeps/mach/start.c: Remove file.
60952         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
60953         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
60954         * sysdeps/sh/init-first.c: Likewise.
60956         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
60957         registers for frame unwinding purposes, add CFI directives.
60958         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60959         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
60960         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
60961         Likewise.
60963         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
60964         __fortify_fail returning.
60965         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60967         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
60968         sysdeps/sh/____longjmp_chk.S.
60969         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
60970         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
60971         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
60972         (gen-as-const-headers): Append sigaltstack-offsets.sym.
60974         * sysdeps/sh/abort-instr.h: New file.
60975         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
60976         process in case exit returns.
60978         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
60979         initialize the GOT register before use.
60981         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
60982         calculation of ARGC > 4.
60984         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
60985         meaningful names to some local labels.
60987 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60988             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60990         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
60991         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
60992         (__arch_compare_and_exchange_val_16_acq): Likewise.
60993         (__arch_compare_and_exchange_val_32_acq): Likewise.
60994         (atomic_exchange_and_add): Fix gUSA sequence.
60995         (atomic_add): Likewise.
60996         (atomic_add_negative): Likewise.
60997         (atomic_add_zero): Likewise.
60998         (atomic_bit_test_set): Likewise.
61000 2012-06-22  Andreas Schwab  <schwab@redhat.com>
61002         [BZ #13579]
61003         * include/link.h (struct link_map): Add l_free_initfini.
61004         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
61005         l_initfini.
61006         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
61007         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
61008         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
61009         set.
61011 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
61013         * configure.in: Use AC_LANG_SOURCE.
61014         * configure: Regenerate.
61016 2012-06-22  Roland McGrath  <roland@hack.frob.com>
61018         * configure.in (libc_cv_localstatedir): New substituted variable.
61019         * configure: Regenerated.
61020         * config.make.in (localstatedir): New variable, substituted from
61021         libc_cv_localstatedir.
61022         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
61023         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
61024         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
61025         * sysdeps/gnu/configure: Regenerated.
61027 2012-06-21  Jeff Law  <law@redhat.com>
61029         [BZ #14277]
61030         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
61031         free.  Simplify list management for _LIBC case.
61033 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
61035         [BZ #14273]
61036         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
61037         Clear sign bit of 64-bit integer value before comparing against
61038         overflow value.
61040         * sysdeps/mach/configure: Regenerated.
61042 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
61044         [BZ #14278]
61045         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
61047 2012-06-21  Jeff Law  <law@redhat.com>
61049         [BZ #13882]
61050         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
61051         uint16_t for elements in the "seen" array to avoid char overflows.
61052         * elf/dl-fini.c (_dl_sort_fini): Likewise.
61053         * elf/dl-open.c (dl_open_worker): Likewise.
61055 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
61057         * scripts/list-sources.sh: Scan PORTS for translations.
61058         * po/libc.pot: Regenerated.
61060 2012-06-21  Andreas Jaeger  <aj@suse.de>
61062         [BZ #12194]
61063         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
61064         warning.
61065         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
61066         * bits/byteswap-16.h (__bswap_16): Likewise.
61067         * bits/byteswap.h (__bswap_constant_16): Likewise.
61069 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
61071         [BZ #14117]
61072         * sysdeps/i386/fpu_control.h: Removed.
61073         * sysdeps/x86_64/fpu_control.h: Moved to ...
61074         * sysdeps/x86/fpu_control.h: Here.
61076         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
61077         (_FPU_SETCW): Likewise.
61079 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
61081         [BZ #14117]
61082         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
61083         * sysdeps/x86/fpu/bits/mathinline.h: This.
61084         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
61086         [BZ #14050]
61087         [BZ #14117]
61088         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
61089         functions if __x86_64__ is defined.
61091 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
61093         * string/endian.h: Add !__ASSEMBLER__ condition for including
61094         conversion interfaces.
61096 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
61098         [BZ #14241]
61099         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
61100         of ABS(x) in calculating zero to negative powers other than odd
61101         integers.
61102         * math/libm-test.inc (pow_test): Add more tests.
61104 2012-06-15  Andreas Jaeger  <aj@suse.de>
61106         * manual/contrib.texi (Contributors): Update entry of Liubov
61107         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
61108         Machado Filho.
61110 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
61112         * string/string.h: Add __wur to GNU version of strerror_r.
61114 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
61116         [BZ #14229]
61117         * string/Makefile (tests): Add tst-strtok_r.
61118         * string/tst-strtok_r.c: New file.
61119         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
61120         RAX_LP/RDX_LP on SAVE_PTR.
61122 2012-06-14  Roland McGrath  <roland@hack.frob.com>
61124         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
61126 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
61128         * libm_test.inc (csqrt_test): Allow more spurious underflow
61129         exceptions.
61130         (j0_test): Likewise.
61131         (j1_test): Likewise.
61132         (y0_test): Likewise.
61133         (y1_test): Likewise.
61135 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
61137         * po/Makefile (libc.pot): Use UTF-8 charset.
61139 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
61141         [BZ #14210]
61142         Suppress sign-conversion warning from FD_SET.
61143         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
61144         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
61145         not unsigned long int.
61146         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
61148 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
61150         [BZ #14050]
61151         [BZ #14117]
61152         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
61153         __extern_always_inline instead of __extern_inline.
61154         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
61155         (__signbit): Likewise.
61156         (__signbitl): Support C++ namespace.
61157         (lrintf): New inline function.
61158         (lrint): Likewise.
61159         (llrintf): Likewise.
61160         (llrint): Likewise.
61161         (fmaxf): Likewise.
61162         (fmax): Likewise.
61163         (fminf): Likewise.
61164         (fmin): Likewise.
61165         (rint): Likewise.
61166         (rintf): Likewise.
61167         (ceil): Likewise.
61168         (ceilf): Likewise.
61169         (floor): Likewise.
61170         (floorf): Likewise.
61171         (nearbyint): Likewise.
61172         (nearbyintf): Likewise.
61174 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
61176         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
61177         non-default versions.
61179 2012-06-11  Roland McGrath  <roland@hack.frob.com>
61181         [BZ #14218]
61182         * manual/argp.texi (Argp): Reword argp_parse description slightly.
61184 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
61186         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
61187         (FE_UPWARD, FE_DOWNWARD): Don't define.
61188         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
61189         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61191         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
61192         reading it.
61193         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61194         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61196 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61198         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
61199         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
61200         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
61201         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
61203 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
61205         [BZ #14117]
61206         * sysdeps/i386/fpu/bits/fenv.h: Removed.
61207         * sysdeps/i386/fpu/Implies: New file.
61208         * sysdeps/x86_64/fpu/Implies: Likewise.
61209         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
61210         * sysdeps/x86/fpu/bits/fenv.h: This.
61212         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
61213         __SSE_MATH__.
61215 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
61217         [BZ #14134]
61218         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
61219         character 0xffff that matches the last element of the
61220         conversion table.
61222 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61224         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
61225         fmodl commit.
61227 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61229         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
61230         values higher than 25.6283.
61232 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61234         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
61235         subnormal exponent extraction and add some __builtin_expect.
61236         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
61237         Fix for subnormal mantissa calculation.
61239 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
61241         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
61242         cpu2 is -1 and errno is not ENOSYS.
61244 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
61246         [BZ #14117]
61247         * sysdeps/i386/i486/bits/string.h: Renamed to ...
61248         * sysdeps/x86/bits/string.h: This.
61249         * sysdeps/x86_64/bits/string.h: Removed.
61251         * sysdeps/i386/i486/bits/string.h: Define inline functions only
61252         if not compiling for x86-64, but compiling for >= i486.
61254         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
61255         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
61257         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
61258         New macro from Linux kernel 3.4.0.
61259         (FP_XSTATE_MAGIC2): Likewise.
61260         (FP_XSTATE_MAGIC2_SIZE): Likewise.
61261         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
61262         (struct _fpx_sw_bytes): New struct.
61263         (struct _xsave_hdr): Likewise.
61264         (struct _ymmh_state): Likewise.
61265         (struct _xstate): Likewise.
61267         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
61268         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
61269         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
61270         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
61271         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
61272         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
61274         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
61275         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
61276         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
61277         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
61278         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
61279         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
61281 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61283         [BZ #13743]
61284         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
61285         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
61286         (sysdep_headers): Include sys/platform/ppc.h.
61287         * sysdeps/powerpc/test-gettimebase.c: Test for
61288         __ppc_get_timebase() to catch future ISA opcode/insn changes.
61289         * manual/Makefile (appendices): Include platform.texi.
61290         * manual/contrib.texi (Contributors): Update @node pointers.
61291         * manual/maint.texi (Maintenance): Likewise.
61292         (Platform): New node.
61293         * manual/platform.texi: New file.  Document the new features.
61295 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61296             Jakub Jelinek  <jakub@redhat.com>
61298         [BZ #14188]
61299         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
61300         where __builtin_expect is unavailable.
61302 2012-06-03  David S. Miller  <davem@davemloft.net>
61304         * stdlib/longlong.h: Updated from GCC.
61306 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
61308         [BZ #14042]
61309         * sysdeps/powerpc/powerpc32/mcount.c: New file.
61310         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
61311         __mcount_internal.
61312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61313         (GLIBC_2.16): Likewise.
61315 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61317         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
61319 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
61321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
61322         (default-abi): New variable.
61323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
61324         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
61325         variable.
61326         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
61327         Likewise.
61328         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
61329         Likewise.
61330         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
61331         Likewise.
61333         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
61334         definition.  Document in comment.
61336 2012-06-01  David S. Miller  <davem@davemloft.net>
61338         * stdlib/longlong.h: Updated from GCC.
61340 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61342         [BZ #14117]
61343         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
61344         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
61345         sys/debugreg.h sys/io.h here.
61346         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
61347         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
61348         sys/io.h.
61349         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
61350         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
61351         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
61352         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
61353         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
61354         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
61356         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
61357         Define only if __x86_64__ is defined.
61359 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
61361         [BZ #14048]
61362         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
61363         Use int64_t for variable i.
61364         * math/libm-test.inc (fmod_test): Add more tests.
61366         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
61367         z computation is not scheduled after fetestexcept.
61368         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
61369         Use math_force_eval instead of asm to ensure calculation scheduled
61370         before exception test.
61371         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
61372         Ensure a1 + u.d computation is not scheduled after fetestexcept.
61374 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
61376         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
61377         computation is not scheduled after fetestexcept.
61379 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61381         [BZ #14117]
61382         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
61383         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
61385 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61387         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
61388         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61390 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
61392         [BZ #14117]
61393         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
61394         <bits/wordsize.h>.
61395         (__WCHAR_MIN): Support __WORDSIZE == 64.
61396         (__WCHAR_MAX): Likewise.
61398         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
61399         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
61401         [BZ #14183]
61402         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
61403         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
61405         [BZ #14117]
61406         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
61407         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
61409         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
61410         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
61412         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
61413         Defined to 1 if __x86_64__ isn't defined.
61414         (_STAT_VER_LINUX_OLD): New.
61415         (st_atime): Remove duplicate.
61416         (st_mtime): Likewise.
61417         (st_ctime): Likewise.
61419 2012-05-31  David S. Miller  <davem@davemloft.net>
61421         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
61422         entries.
61424 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
61426         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
61427         gen-libm-test.pl.
61429         [BZ #14132]
61430         * elf/dl-reloc.c: Include <_itoa.h>.
61431         (_dl_reloc_bad_type): Remove use of INTUSE.
61432         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
61433         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
61434         * stdio-common/psiginfo.c (psiginfo): Likewise.
61435         * stdio-common/psignal.c (psignal): Likewise.
61436         * string/strsignal.c (strsignal): Likewise.
61437         * include/signal.h (_sys_siglist): Declare hidden proto.
61438         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
61439         INTVARDEF with libc_hidden_data_def.
61440         * stdio-common/itoa-udigits.c: Likewise.
61441         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
61442         (_itoa_lower_digits_internal): Remove declaration.
61443         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
61444         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
61445         (_sys_sigabbrev_internal): Remove aliases.
61446         (_sys_siglist): Define hidden alias.
61448 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
61450         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61451         bits/sysctl.h.
61453 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
61455         [BZ #14117]
61456         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
61457         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
61459         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
61460         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
61461         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
61462         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
61463         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
61464         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
61466         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
61467         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
61468         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
61470         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
61471         with __addr.
61472         (insw): Likewise.
61473         (insl): Likewise.
61474         (outsb): Likewise.
61475         (outsw): Likewise.
61476         (outsl): Likewise.
61478         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
61479         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
61480         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
61482         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
61483         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
61484         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
61485         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
61486         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
61487         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
61489         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
61490         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
61492         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
61493         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
61495         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
61496         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
61497         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
61499         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
61500         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
61501         to ...
61502         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
61504         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
61505         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
61506         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
61508         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
61509         for x86-64.
61510         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
61512 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
61514         * math/math.h (M_El): Use two more decimal places.
61515         (M_LOG2El): Likewise.
61516         (M_LOG10El): Likewise.
61517         (M_LN2l): Likewise.
61518         (M_LN10l): Likewise.
61519         (M_PIl): Likewise.
61520         (M_PI_2l): Likewise.
61521         (M_PI_4l): Likewise.
61522         (M_1_PIl): Likewise.
61523         (M_2_PIl): Likewise.
61524         (M_2_SQRTPIl): Likewise.
61525         (M_SQRT2l): Likewise.
61526         (M_SQRT1_2l): Likewise.
61528 2012-05-31  David S. Miller  <davem@davemloft.net>
61530         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
61531         values between float registers.
61532         * sysdeps/sparc/sparc64/memset.S: Likewise.
61533         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61535 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
61537         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
61538         -D_FORTIFY_SOURCE=1.
61539         (CPPFLAGS-tst-longjmp_chk.c): Define.
61540         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
61541         (CPPFLAGS-tst-longjmp_chk2.c): Define.
61542         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
61543         CFLAGS-tst-wchar-h.c.
61545 2012-05-31  Marek Polacek  <polacek@redhat.com>
61547         [BZ #14132]
61548         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
61549         __endmntent_internal): Remove declaration.
61550         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
61551         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
61552         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
61554 2012-05-30  David S. Miller  <davem@davemloft.net>
61556         * sysdeps/sparc/sparc32/soft-fp/q_util.c
61557         (___Q_simulate_exceptions): Use real FP ops rather than writing
61558         into the %fsr.
61559         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
61560         Likewise.
61562 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61564         [BZ #14117]
61565         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
61566         * sysdeps/x86/bits/xtitypes.h: This.
61568         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
61569         * sysdeps/x86/bits/wordsize.h: This.
61571         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
61572         * sysdeps/x86/bits/huge_vall.h: This.
61574         * sysdeps/i386/bits/select.h: Removed.
61575         * sysdeps/x86_64/bits/select.h: Renamed to ...
61576         * sysdeps/x86/bits/select.h: This.
61578         * sysdeps/i386/bits/setjmp.h: Removed.
61579         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
61580         * sysdeps/x86/bits/setjmp.h: This.
61582         * sysdeps/i386/bits/mathdef.h: Removed.
61583         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
61584         * sysdeps/x86/bits/mathdef.h: This.
61586 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
61588         [BZ #14132]
61589         * include/sys/socket.h (__connect_internal)
61590         (__libc_sa_len_internal): Remove declaration.
61591         (__connect, __libc_sa_len): Declare hidden_proto.
61592         (SA_LEN): Remove use of INTUSE.
61593         * socket/connect.c: Add libc_hidden_def.
61594         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
61595         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
61596         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
61597         alias.
61598         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
61599         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
61600         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
61601         of adding _internal alias.
61603 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61605         [BZ #14117]
61606         * sysdeps/i386/bits/link.h: Removed.
61607         * sysdeps/i386/bits/linkmap.h: Likewise.
61608         * sysdeps/x86_64/bits/link.h: Renamed to ...
61609         * sysdeps/x86/bits/link.h: This.
61610         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
61611         * sysdeps/x86/bits/linkmap.h: This.
61613         * sysdeps/i386/bits/endian.h: Removed.
61614         * sysdeps/x86_64/bits/endian.h: Renamed to ...
61615         * sysdeps/x86/bits/endian.h: This.
61617         * sysdeps/i386/bits/byteswap.h: Removed.
61618         * sysdeps/i386/bits/byteswap-16.h: Likewise.
61619         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
61620         * sysdeps/x86/bits/byteswap.h: This.
61621         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
61622         * sysdeps/x86/bits/byteswap-16.h: This.
61623         * sysdeps/i386/Implies: Add x86.
61624         * sysdeps/x86_64/Implies: Likewise.
61626 2012-05-30  David S. Miller  <davem@davemloft.net>
61628         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
61629         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
61630         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
61631         (FP_TRAPPING_EXCEPTIONS): Define.
61632         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
61633         (FP_TRAPPING_EXCEPTIONS): Define.
61634         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
61635         subnormals only when inexact has been signalled or underflow
61636         exceptions are enabled.
61637         (_FP_PACK_CANONICAL): Likewise.
61639 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61641         [BZ #14183]
61642         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
61643         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
61645 2012-05-30  Richard Henderson  <rth@twiddle.net>
61647         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
61648         with #ifndef NOT_IN_libc.
61650         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
61651         marked to avoid plt entry.
61653 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61655         [BZ #14112]
61656         * Makeconfig (default-abi): New macro.
61657         (abi-includes): Likewise.
61658         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
61659         $(abi-$(default-abi)-lib-soname) for soname if defined.
61660         ($(common-objpfx)gnu/lib-names.stmp): Generate from
61661         abi-variants.
61662         * Makefile (installed-stubs): Likewise.
61663         * include/stubs-biarch.h: Removed.
61664         * scripts/lib-names.awk: Only handle one library at a time.
61665         * scripts/soversions.awk: Remove WORDSIZE support.
61666         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
61667         entries.
61668         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
61669         Removed.
61670         (syscall-list-default-condition): Likewise.
61671         (syscall-list-default-condition): Likewise.
61672         (syscall-list-includes): Likewise.
61673         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
61674         syscall-list-* with abi-*.  Handle undefined abi-variants.
61675         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
61676         * sysdeps/unix/sysv/linux/i386/Implies: New file.
61677         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
61678         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
61679         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
61680         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
61681         Removed.
61682         (syscall-list-32-options): Likewise.
61683         (syscall-list-32-condition): Likewise.
61684         (syscall-list-64-options): Likewise.
61685         (syscall-list-64-condition): Likewise.
61686         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
61687         macro.
61688         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
61689         Renamed to ...
61690         (abi-*): This.
61691         (abi-64-ld-soname): New macro.
61692         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
61693         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
61694         Renamed to ...
61695         (abi-*): This.
61696         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
61697         * sysdeps/x86_64/x32/shlib-versions: Likewise.
61699 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
61701         * sysdeps/unix/sysv/linux/kernel-features.h
61702         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
61703         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
61704         include <kernel-features.h>.
61705         [!__NR_ftruncate64]: Remove conditional code.
61706         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61707         [__NR_ftruncate64]: Make code unconditional.
61708         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61709         * sysdeps/unix/sysv/linux/truncate64.c: Do not
61710         include <kernel-features.h>.
61711         [!__NR_ftruncate64]: Remove conditional code.
61712         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61713         [__NR_ftruncate64]: Make code unconditional.
61714         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
61716         include <kernel-features.h>.
61717         [!__NR_ftruncate64]: Remove conditional code.
61718         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61719         [__NR_ftruncate64]: Make code unconditional.
61720         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
61722         include <kernel-features.h>.
61723         [!__NR_ftruncate64]: Remove conditional code.
61724         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61725         [__NR_ftruncate64]: Make code unconditional.
61726         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61728         * configure.in (libc_cv_fpie): Weaken to a compile test using
61729         LIBC_TRY_CC_OPTION.
61730         * configure: Regenerated.
61732 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61734         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
61735         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
61736         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
61737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61738         Refreshed.
61739         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
61740         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
61741         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
61742         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
61743         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
61744         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61745         Refreshed.
61747 2012-05-27  David S. Miller  <davem@davemloft.net>
61749         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
61750         (___Q_zero): New.
61751         (__Q_simulate_exceptions): Return void.  Change to simulate
61752         exceptions by writing into the %fsr.
61753         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
61754         (__Qp_handle_exceptions): Likewise.
61755         (numbers): Delete.
61756         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
61757         __Qp_handle_exceptions.
61758         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
61759         __Qp_handle_exceptions.
61760         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61761         as unused and give dummy FP_RND_NEAREST initializer.
61762         (FP_INHIBIT_RESULTS): Define.
61763         (___Q_simulate_exceptions): Update declaration.
61764         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
61765         formatting.
61766         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61767         as unused and give dummy FP_RND_NEAREST initializer.
61768         (__Qp_handle_exceptions): Update declaration.
61769         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
61770         formatting.
61772 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
61774         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
61775         the temporary FPU control word.
61776         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
61777         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
61778         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
61779         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61780         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
61781         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
61782         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
61783         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61784         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
61785         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
61786         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61788 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61790         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
61791         fields.
61793 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
61795         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
61796         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
61797         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
61798         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
61799         Likewise.
61800         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
61801         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
61802         Likewise.
61804 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
61806         * po/h.po: Update from translation team.
61808 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
61810         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
61812         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
61813         handling of denormals.
61814         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
61815         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
61816         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
61817         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
61818         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61819         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
61820         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
61821         Likewise.
61823 2012-05-26  Marek Polacek  <polacek@redhat.com>
61825         [BZ #14152]
61826         * math/libm-test.inc (fma_test): Don't always expect underflow
61827         exception.
61829 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61831         [BZ #12416]
61832         * elf/tst-execstack.c: Include stackinfo.h.
61833         (do_test): Adjust test case to ensure that pthread_getattr_np
61834         behaviour remains the same after marking stack executable.
61836 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
61838         * sysdeps/unix/sysv/linux/kernel-features.h
61839         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
61840         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
61841         kernel-features.h.
61842         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61843         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61844         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
61845         kernel-features.h.
61846         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61847         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61849 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
61851         * configure.in: Define the default includes to being none.
61852         * configure: Regenerated.
61854 2012-05-25  Roland McGrath  <roland@hack.frob.com>
61856         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
61857         * sysdeps/x86_64/setjmp.S: Likewise.
61858         * sysdeps/i386/bsd-setjmp.S: Likewise.
61859         * sysdeps/i386/bsd-_setjmp.S: Likewise.
61860         * sysdeps/i386/setjmp.S: Likewise.
61861         * sysdeps/i386/__longjmp.S: Likewise.
61862         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
61863         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
61865         * include/stap-probe.h: New file.
61866         * configure.in: Handle --enable-systemtap.
61867         * configure: Regenerated.
61868         * config.h.in (USE_STAP_PROBE): New #undef.
61869         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
61870         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
61871         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
61873 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
61875         [BZ #13717]
61876         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
61877         to 2.4.0 where earlier.
61878         * sysdeps/unix/sysv/linux/configure: Regenerated.
61879         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
61880         <kernel-features.h>.
61881         [__ASSUME_32BITUIDS]: Make code unconditional.
61882         [!__ASSUME_32BITUIDS]: Remove conditional code.
61883         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
61884         <kernel-features.h>.
61885         [__ASSUME_32BITUIDS]: Make code unconditional.
61886         [!__ASSUME_32BITUIDS]: Remove conditional code.
61887         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
61888         [__ASSUME_32BITUIDS]: Make code unconditional.
61889         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
61890         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
61891         <kernel-features.h>.
61892         [__ASSUME_32BITUIDS]: Make code unconditional.
61893         [!__ASSUME_32BITUIDS]: Remove conditional code.
61894         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
61895         <kernel-features.h>.
61896         [__ASSUME_32BITUIDS]: Make code unconditional.
61897         [!__ASSUME_32BITUIDS]: Remove conditional code.
61898         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
61899         <kernel-features.h>.
61900         [__ASSUME_32BITUIDS]: Make code unconditional.
61901         [!__ASSUME_32BITUIDS]: Remove conditional code.
61902         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
61903         <kernel-features.h>.
61904         [__ASSUME_32BITUIDS]: Make code unconditional.
61905         [!__ASSUME_32BITUIDS]: Remove conditional code.
61906         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
61907         <kernel-features.h>.
61908         [__ASSUME_32BITUIDS]: Make code unconditional.
61909         [!__ASSUME_32BITUIDS]: Remove conditional code.
61910         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
61911         <kernel-features.h>.
61912         [__ASSUME_32BITUIDS]: Make code unconditional.
61913         [!__ASSUME_32BITUIDS]: Remove conditional code.
61914         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
61915         <kernel-features.h>.
61916         [__ASSUME_32BITUIDS]: Make code unconditional.
61917         [!__ASSUME_32BITUIDS]: Remove conditional code.
61918         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
61919         <kernel-features.h>.
61920         [__ASSUME_32BITUIDS]: Make code unconditional.
61921         [!__ASSUME_32BITUIDS]: Remove conditional code.
61922         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
61923         <kernel-features.h>.
61924         [__ASSUME_32BITUIDS]: Make code unconditional.
61925         [!__ASSUME_32BITUIDS]: Remove conditional code.
61926         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
61927         <kernel-features.h>.
61928         [__ASSUME_32BITUIDS]: Make code unconditional.
61929         [!__ASSUME_32BITUIDS]: Remove conditional code.
61930         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
61931         <kernel-features.h>.
61932         [__NR_setresgid] (__setresgid): Do not declare.
61933         [__ASSUME_32BITUIDS]: Make code unconditional.
61934         [!__ASSUME_32BITUIDS]: Remove conditional code.
61935         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
61936         <kernel-features.h>.
61937         [__NR_setresuid] (__setresuid): Do not declare.
61938         [__ASSUME_32BITUIDS]: Make code unconditional.
61939         [!__ASSUME_32BITUIDS]: Remove conditional code.
61940         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
61941         <kernel-features.h>.
61942         [__ASSUME_32BITUIDS]: Make code unconditional.
61943         [!__ASSUME_32BITUIDS]: Remove conditional code.
61944         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
61945         <kernel-features.h>.
61946         [__ASSUME_32BITUIDS]: Make code unconditional.
61947         [!__ASSUME_32BITUIDS]: Remove conditional code.
61948         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
61949         <kernel-features.h>.
61950         [__ASSUME_32BITUIDS]: Make code unconditional.
61951         [!__ASSUME_32BITUIDS]: Remove conditional code.
61952         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
61953         <kernel-features.h>.
61954         [__ASSUME_32BITUIDS]: Make code unconditional.
61955         [!__ASSUME_32BITUIDS]: Remove conditional code.
61956         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
61957         <kernel-features.h>.
61958         [__ASSUME_32BITUIDS]: Make code unconditional.
61959         [!__ASSUME_32BITUIDS]: Remove conditional code.
61960         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
61961         <kernel-features.h>.
61962         [__ASSUME_32BITUIDS]: Make code unconditional.
61963         [!__ASSUME_32BITUIDS]: Remove conditional code.
61964         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
61965         <kernel-features.h>.
61966         [__ASSUME_32BITUIDS]: Make code unconditional.
61967         [!__ASSUME_32BITUIDS]: Remove conditional code.
61968         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
61969         <kernel-features.h>.
61970         [__ASSUME_32BITUIDS]: Make code unconditional.
61971         [!__ASSUME_32BITUIDS]: Remove conditional code.
61972         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
61973         <kernel-features.h>.
61974         [__ASSUME_32BITUIDS]: Make code unconditional.
61975         [!__ASSUME_32BITUIDS]: Remove conditional code.
61976         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
61977         <kernel-features.h>.
61978         [__ASSUME_32BITUIDS]: Make code unconditional.
61979         [!__ASSUME_32BITUIDS]: Remove conditional code.
61980         * sysdeps/unix/sysv/linux/kernel-features.h
61981         (__ASSUME_SETRESUID_SYSCALL): Remove.
61982         (__ASSUME_SETRESGID_SYSCALL): Likewise.
61983         (__ASSUME_32BITUIDS): Likewise.
61984         (__ASSUME_LDT_WORKS): Likewise.
61985         (__ASSUME_O_DIRECTORY): Likewise.
61986         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
61987         architecture but not kernel version.
61988         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
61989         (__ASSUME_MMAP2_SYSCALL): Likewise.
61990         (__ASSUME_STAT64_SYSCALL): Likewise.
61991         (__ASSUME_IPC64): Likewise.
61992         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
61993         <kernel-features.h>.
61994         [__ASSUME_32BITUIDS]: Make code unconditional.
61995         [!__ASSUME_32BITUIDS]: Remove conditional code.
61996         * sysdeps/unix/sysv/linux/opendir.c: Do not include
61997         <kernel-features.h>.
61998         [__ASSUME_O_DIRECTORY]: Make code unconditional.
61999         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
62000         132096]: Remove conditional code.
62001         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
62002         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
62003         <kernel-features.h>.
62004         [__ASSUME_32BITUIDS]: Make code unconditional.
62005         [!__ASSUME_32BITUIDS]: Remove conditional code.
62006         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
62007         <kernel-features.h>.
62008         [__ASSUME_32BITUIDS]: Make code unconditional.
62009         [!__ASSUME_32BITUIDS]: Remove conditional code.
62010         * sysdeps/unix/sysv/linux/setegid.c: Do not include
62011         <kernel-features.h>.
62012         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
62013         unconditional.
62014         (__setresgid): Do not declare.
62015         [__ASSUME_32BITUIDS]: Make code unconditional.
62016         [!__ASSUME_32BITUIDS]: Remove conditional code.
62017         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
62018         <kernel-features.h>.
62019         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
62020         unconditional.
62021         (__setresuid): Do not declare.
62022         [__ASSUME_32BITUIDS]: Make code unconditional.
62023         [!__ASSUME_32BITUIDS]: Remove conditional code.
62024         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
62025         <kernel-features.h>.
62026         [__ASSUME_32BITUIDS]: Make code unconditional.
62027         [!__ASSUME_32BITUIDS]: Remove conditional code.
62028         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
62029         <kernel-features.h>.
62030         [__ASSUME_32BITUIDS]: Make code unconditional.
62031         [!__ASSUME_32BITUIDS]: Remove conditional code.
62033 2012-05-25  Richard Henderson  <rth@twiddle.net>
62035         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
62036         dl_hwcap to ifunc resolver.
62037         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
62038         elf_ifunc_invoke.
62039         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
62040         dl_hwcap to ifunc resolver.
62041         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
62043 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62045         [BZ #14153]
62046         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
62047         for |x| <= 2**-26, not 2**-57.
62048         * math/libm-test.inc (acos_test): Do not allow spurious underflow
62049         exception.
62051 2012-05-24  Jeff Law  <law@redhat.com>
62053         * stdio-common/Makefile (tests): Add bug25.
62054         * stdio-common/bug25.c: New test.
62056 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
62058         [BZ #13576]
62059         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
62060         multiple of MALLOC_ALIGNMENT in size.
62061         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
62063 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62065         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
62066         Require >= 256.
62067         (FILENAME_MAX): Use macro-int-constant.
62068         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
62069         (_IOFBF): Use macro-int-constant.
62070         (_IOLBF): Likewise.
62071         (_IONBF): Likewise.
62072         (SEEK_CUR): Likewise.
62073         (SEEK_END): Likewise.
62074         (SEEK_SET): Likewise.
62075         (TMP_MAX): Likewise.
62076         (EOF): Use macro-int-constant.  Require < 0.
62077         (NULL): Use macro-constant.  Require == 0.
62078         (stdin): Require type to be FILE *.
62079         (stdout): Likewise.
62080         (stderr): Likewise.
62081         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
62082         macro-int-constant.
62083         (EXIT_SUCCESS): Likewise.
62084         (NULL): Use macro-constant.  Require == 0.
62085         (RAND_MAX): Use macro-int-constant.
62086         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
62087         [C99-based standards] (strtof): Require function.
62088         [C99-based standards] (strtold): Likewise.
62089         [C99-based standards] (strtoll): Likewise.
62090         [C99-based standards] (strtoull): Likewise.
62091         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
62092         [ISO || ISO99 || ISO11] (limits.h): Likewise.
62093         [ISO || ISO99 || ISO11] (math.h): Likewise.
62094         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
62095         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
62096         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62098 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
62100         [BZ #14132]
62101         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
62102         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
62103         * intl/dgettext.c (DCGETTEXT): Likewise.
62104         * intl/gettext.c (DCGETTEXT): Likewise.
62105         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
62106         * posix/regex_internal.h (gettext): Likewise.
62107         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
62108         Remove declaration.
62109         * include/argz.h (__argz_count_internal)
62110         (__argz_stringify_internal): Remove declaration.
62111         (__argz_count, __argz_stringify): Declare hidden proto.
62112         * intl/dcgettext.c: Remove use of INTDEF.
62113         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
62114         * string/argz-stringify.c: Likewise.
62115         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62116         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62117         Declare hidden proto.
62118         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62119         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62120         Declare hidden proto.
62121         * include/stdio.h (__asprintf_internal): Don't declare.
62122         (__asprintf): Don't define as macro.  Declare hidden proto.
62123         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
62124         (__fsetlocking): Declare hidden proto.
62125         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
62126         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
62127         hidden proto.
62128         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
62129         (_IO_setlinebuf): Remove use of INTUSE.
62130         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
62131         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
62132         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
62133         Remove declaration.
62134         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
62135         (_IO_do_flush): Remove use of INTUSE.
62136         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
62137         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
62138         (_IO_adjust_column, _IO_least_wmarker)
62139         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
62140         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
62141         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
62142         (_IO_default_doallocate, _IO_wdefault_doallocate)
62143         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
62144         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
62145         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
62146         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
62147         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
62148         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
62149         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
62150         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
62151         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
62152         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
62153         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
62154         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
62155         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
62156         proto.
62157         (_IO_flush_all_internal, _IO_adjust_column_internal)
62158         (_IO_default_uflow_internal, _IO_default_finish_internal)
62159         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
62160         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
62161         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
62162         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
62163         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
62164         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
62165         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
62166         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
62167         (_IO_file_close_internal, _IO_file_close_it_internal)
62168         (_IO_file_underflow_internal, _IO_file_overflow_internal)
62169         (_IO_file_init_internal, _IO_file_attach_internal)
62170         (_IO_file_fopen_internal, _IO_file_read_internal)
62171         (_IO_file_sync_internal, _IO_file_seek_internal)
62172         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
62173         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
62174         (_IO_str_underflow_internal, _IO_str_overflow_internal)
62175         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
62176         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
62177         (_IO_list_all_internal, _IO_link_in_internal)
62178         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
62179         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
62180         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
62181         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
62182         (_IO_do_write_internal, _IO_padn_internal)
62183         (_IO_getline_info_internal, _IO_getline_internal)
62184         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
62185         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
62186         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
62187         (_IO_vfscanf_internal, _IO_vfprintf_internal)
62188         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
62189         (_IO_init_internal, _IO_un_link_internal): Don't declare.
62190         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
62191         with libc_hidden_ver, remove use of INTUSE.
62192         * libio/genops.c: Likewise.
62193         * libio/freopen.c: Likewise.
62194         * libio/freopen64.c: Likewise.
62195         * libio/iofclose.c: Likewise.
62196         * libio/iofdopen.c: Likewise.
62197         * libio/iofflush.c: Likewise.
62198         * libio/iofflush_u.c: Likewise.
62199         * libio/iofgets.c: Likewise.
62200         * libio/iofgets_u.c: Likewise.
62201         * libio/iofopen.c: Likewise.
62202         * libio/iofopncook.c: Likewise.
62203         * libio/iofread.c: Likewise.
62204         * libio/iofread_u.c: Likewise.
62205         * libio/ioftell.c: Likewise.
62206         * libio/iofwrite.c: Likewise.
62207         * libio/iogetline.c: Likewise.
62208         * libio/iogets.c: Likewise.
62209         * libio/iogetwline.c: Likewise.
62210         * libio/iopadn.c: Likewise.
62211         * libio/iopopen.c: Likewise.
62212         * libio/ioseekoff.c: Likewise.
62213         * libio/ioseekpos.c: Likewise.
62214         * libio/iosetbuffer.c: Likewise.
62215         * libio/iosetvbuf.c: Likewise.
62216         * libio/ioungetc.c: Likewise.
62217         * libio/ioungetwc.c: Likewise.
62218         * libio/iovdprintf.c: Likewise.
62219         * libio/iovsprintf.c: Likewise.
62220         * libio/iovsscanf.c: Likewise.
62221         * libio/memstream.c: Likewise.
62222         * libio/obprintf.c: Likewise.
62223         * libio/oldfileops.c: Likewise.
62224         * libio/oldiofclose.c: Likewise.
62225         * libio/oldiofdopen.c: Likewise.
62226         * libio/oldiofopen.c: Likewise.
62227         * libio/oldiopopen.c: Likewise.
62228         * libio/oldstdfiles.c: Likewise.
62229         * libio/putc.c: Likewise.
62230         * libio/setbuf.c: Likewise.
62231         * libio/setlinebuf.c: Likewise.
62232         * libio/stdfiles.c: Likewise.
62233         * libio/strops.c: Likewise.
62234         * libio/vasprintf.c: Likewise.
62235         * libio/vscanf.c: Likewise.
62236         * libio/vsnprintf.c: Likewise.
62237         * libio/vswprintf.c: Likewise.
62238         * libio/wfiledoalloc.c: Likewise.
62239         * libio/wfileops.c: Likewise.
62240         * libio/wgenops.c: Likewise.
62241         * libio/wmemstream.c: Likewise.
62242         * libio/wstrops.c: Likewise.
62243         * libio/__fpurge.c: Likewise.
62244         * libio/__fsetlocking.c: Likewise.
62245         * assert/assert.c: Likewise.
62246         * debug/fgets_chk.c: Likewise.
62247         * debug/fgets_u_chk.c: Likewise.
62248         * debug/fread_chk.c: Likewise.
62249         * debug/fread_u_chk.c: Likewise.
62250         * debug/gets_chk.c: Likewise.
62251         * debug/obprintf_chk.c: Likewise.
62252         * debug/vasprintf_chk.c: Likewise.
62253         * debug/vdprintf_chk.c: Likewise.
62254         * debug/vsnprintf_chk.c: Likewise.
62255         * debug/vsprintf_chk.c: Likewise.
62256         * malloc/mtrace.c: Likewise.
62257         * misc/error.c: Likewise.
62258         * misc/syslog.c: Likewise.
62259         * stdio-common/asprintf.c: Likewise.
62260         * stdio-common/fxprintf.c: Likewise.
62261         * stdio-common/getw.c: Likewise.
62262         * stdio-common/isoc99_fscanf.c: Likewise.
62263         * stdio-common/isoc99_scanf.c: Likewise.
62264         * stdio-common/isoc99_vfscanf.c: Likewise.
62265         * stdio-common/isoc99_vscanf.c: Likewise.
62266         * stdio-common/isoc99_vsscanf.c: Likewise.
62267         * stdio-common/printf-prs.c: Likewise.
62268         * stdio-common/printf_fp.c: Likewise.
62269         * stdio-common/printf_fphex.c: Likewise.
62270         * stdio-common/printf_size.c: Likewise.
62271         * stdio-common/putw.c: Likewise.
62272         * stdio-common/scanf.c: Likewise.
62273         * stdio-common/sprintf.c: Likewise.
62274         * stdio-common/tmpfile.c: Likewise.
62275         * stdio-common/vfprintf.c: Likewise.
62276         * stdio-common/vfscanf.c: Likewise.
62277         * stdlib/strfmon_l.c: Likewise.
62278         * sunrpc/openchild.c: Likewise.
62279         * sunrpc/xdr_stdio.c: Likewise.
62280         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
62281         * sysdeps/mach/hurd/tmpfile.c: Likewise.
62283 2012-05-24  Roland McGrath  <roland@hack.frob.com>
62285         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62287         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
62288         in the third column, to generate for the shared library an IFUNC
62289         that uses _dl_vdso_vsym.
62290         * Makerules (COMPILE.c, compile-stdin.c): New variables.
62291         * Makeconfig (object-suffixes-noshared): New variable.
62293         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
62294         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
62295         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
62296         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
62298         [BZ #14132]
62299         * include/sys/time.h (__gettimeofday): Remove macro.
62300         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
62301         * time/gettimeofday.c (__gettimeofday): Remove #undef.
62302         Remove INTDEF.
62303         (__gettimeofday): Add libc_hidden_def.
62304         (gettimeofday): Add libc_hidden_weak.
62305         * sysdeps/mach/gettimeofday.c: Likewise.
62306         * sysdeps/posix/gettimeofday.c: Likewise.
62307         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
62308         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
62309         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
62310         (__gettimeofday_internal): Remove strong_alias.
62311         (__gettimeofday): Add libc_hidden_def.
62312         (gettimeofday): Add libc_hidden_weak.
62313         * sysdeps/unix/syscalls.list (gettimeofday):
62314         Remove __gettimeofday_internal alias.
62316 2012-05-24  Daniel Jacobowitz  <drow@false.org>
62317             H.J. Lu  <hongjiu.lu@intel.com>
62319         [BZ #12495]
62320         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
62321         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
62322         (largebin_index_32_big): New.
62323         (largebin_index): Use it for 16-byte alignment.
62324         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
62325         correction with front_misalign.
62327 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
62329         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
62330         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
62331         Likewise.
62332         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
62333         Likewise.
62334         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
62335         Likewise.
62336         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
62337         Likewise.
62338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
62339         Likewise.
62340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
62341         Likewise.
62342         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
62343         Likewise.
62344         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
62345         Likewise.
62346         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
62347         Likewise.
62348         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
62349         Likewise.
62350         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
62351         Likewise.
62352         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
62353         Likewise.
62355         * scripts/data/c++-types-x32-linux-gnu.data: New file.
62356         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
62358 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62360         [BZ #10846]
62361         [BZ #14036]
62362         * math/libm-test.inc (exp_test): Add test from bug 14036.
62363         (pow_test): Add test from bug 10846.
62365         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
62366         and other flags.
62367         (special_function): Do not include flags in test name.
62368         (parse_args): Likewise.
62369         * sysdeps/i386/fpu/libm-test-ulps: Update.
62370         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62371         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62372         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62375         * math/gen-libm-test.pl (%beautify): Add entries for underflow
62376         exceptions.
62377         * math/libm-test.inc ("Philosophy"): Update comment about
62378         exception testing.
62379         (UNDERFLOW_EXCEPTION): New macro.
62380         (UNDERFLOW_EXCEPTION_OK): Likewise.
62381         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
62382         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
62383         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
62384         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
62385         (INVALID_EXCEPTION_OK): Update value.
62386         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62387         (OVERFLOW_EXCEPTION_OK): Likewise.
62388         (IGNORE_ZERO_INF_SIGN): Likewise.
62389         (test_exceptions): Handle underflow exceptions.
62390         (acos_test): Update for underflow exception expectations.
62391         (cexp_test): Likewise.
62392         (clog_test): Likewise.
62393         (clog10_test): Likewise.
62394         (csqrt_test): Likewise.
62395         (ctan_test): Likewise.
62396         (ctanh_test): Likewise.
62397         (exp_test): Likewise.
62398         (exp10_test): Likewise.
62399         (exp2_test): Likewise.
62400         (expm1_test): Likewise.
62401         (fma_test): Likewise.
62402         (j0_test): Likewise.
62403         (jn_test): Likewise.
62404         (nexttoward_test): Likewise.
62405         (pow_test): Likewise.
62406         (scalbn_test): Likewise.
62407         (scalbln_test): Likewise.
62408         (tan_test): Likewise.
62409         (y1_test): Likewise.
62410         * sysdeps/i386/fpu/libm-test-ulps: Update.
62411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62413 2012-05-23  David S. Miller  <davem@davemloft.net>
62415         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
62416         (__libc_sigaction): Remove unused local variables.
62418 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62420         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
62422 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
62424         mktime: avoid signed integer overflow
62425         * time/mktime.c (__mktime_internal): Do not mishandle the case
62426         where diff == INT_MIN.
62428         mktime: simplify computation of average
62429         * time/mktime.c (ranged_convert): Use new time_t_avg function
62430         instead of rolling our own (probably-slower) code.
62432         mktime: do not assume signed right shift propagates sign bit
62433         * time/mktime.c (isdst_differ): New static function.
62434         (__mktime_internal): No need to normalize tm_isdst now.
62435         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
62436         tm_isdst values.
62438         mktime: merge another wrapv change from gnulib
62439         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
62440         from some compilers.
62442         mktime: remove incorrect attempt at unusual arithmetics
62443         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
62444         The code didn't really work on such machines anyway.
62445         (TYPE_MINIMUM): Assume two's complement.
62446         (twos_complement_arithmetic): Verify that long_int and time_t
62447         are two's complement (or unsigned, in the latter case).
62449         mktime: check signed shifts on long_int and time_t, too
62450         * time/mktime.c (SHR): Check that shifts work as desired
62451         on the types long_int and time_t too, as SHR is used on
62452         such types.
62454         mktime: do not assume 'long' is wide enough
62455         * time/mktime.c (verify): Move decl up.
62456         (long_int): New type.
62457         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
62458         to remove assumption in the code that 'long' is wide enough to
62459         store year values.  This assumption is not true on x32 and on
62460         some non-glibc platforms.
62462         mktime: merge wrapv change from gnulib
62463         * time/mktime.c (WRAPV): New macro.
62464         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
62465         (guess_time_tm, __mktime_internal): Do not assume that signed
62466         integer overflow wraps around; modern compilers generate code
62467         where this assumption is no longer valid.
62469 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62471         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62472         Replace "jmp L(pseudo_end)" with "ret".
62473         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
62474         Likewise.
62476 2012-05-23  Andreas Jaeger  <aj@suse.de>
62478         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
62479         * sysdeps/unix/sysv/linux/poll.c: Remove file.
62481 2012-05-23  Andreas Jaeger  <aj@suse.de>
62482             Maximilian Attems  <max@stro.at>
62484         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
62485         New macros.
62487 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62489         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
62490         code so that pseudo_end is just ret and the stack pointer is
62491         correct also for static library in error case.
62493 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
62495         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
62496         move to syscalls.list.
62497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
62498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
62499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
62500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
62502         * manual/install.texi (Running make install): Do not mention Linux
62503         kernel version for which pt_chown is not needed.
62504         (Linux): Do not mention problems with nscd with 2.0 kernels.
62505         * INSTALL: Regenerated.
62507 2012-05-23  Andreas Jaeger  <aj@suse.de>
62509         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
62510         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
62511         macro.
62512         * sysdeps/unix/sysv/linux/s390/bits/mman.h
62513         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62514         * sysdeps/unix/sysv/linux/sh/bits/mman.h
62515         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62516         * sysdeps/unix/sysv/linux/i386/bits/mman.h
62517         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62518         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
62519         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62520         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
62521         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62522         * sysdeps/unix/sysv/linux/bits/in.h
62523         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
62525 2012-05-22  Roland McGrath  <roland@hack.frob.com>
62527         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
62528         (PREPARE_VERSION): Just use assert instead, it will be elided
62529         under [NDEBUG] anyway.
62531 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62533         * sysdeps/unix/sysv/linux/Makefile: Include
62534         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
62535         (sysdep_routines): Remove sysctl.
62536         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
62537         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
62538         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
62539         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
62540         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
62542 2012-05-22  Andreas Jaeger  <aj@suse.de>
62544         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
62545         that pseudo_end is just ret and the stack pointer is correct also
62546         for static library in error case.
62548 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
62550         [BZ #14122]
62551         * nss/nsswitch.c (defconfig_entries): New variable.
62552         (__nss_database_lookup): Don't leak defconfig entries.
62553         (nss_parse_service_list): Don't leak on error paths.
62554         (free_database_entries): New function.
62555         (free_defconfig): New function.
62556         (free_mem): Move common code to free_database_entries.
62558 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62560         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
62561         Add arch_prctl.
62562         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
62564         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
62565         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
62566         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
62567         New macro.
62568         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
62569         (INTERNAL_SYSCALL_TYPES): Likewise.
62570         (LOAD_ARGS_TYPES_[1-6]): Likewise.
62571         (LOAD_REGS_TYPES_[1-6]): Likewise.
62572         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
62573         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
62575 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62577         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
62578         copysignl for GLIBC_2_0.
62579         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
62580         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
62581         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
62582         logbl for GLIBC_2_0.
62583         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
62584         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
62586 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62588         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
62589         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62591         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62592         Use "neg %eax".
62594         * time/mktime.c: Update copyright years.
62596 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
62598         mktime: merge comment-quoting-style change from gnulib
62599         * time/mktime.c: Quote 'like this' in comments.
62600         The GNU coding standards suggest that we no longer quote `like this',
62601         as "`" and "'" are typically rendered asymmetrically nowadays.
62602         The typical gnulib style is to quote 'like this' when quoting
62603         code, and "like this" when quoting English.
62605         * time/mktime.c (compile-command): Add "-I.".
62607         mktime: merge mktime-internal.h change from gnulib
62608         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
62610         mktime: merge time_r change from gnulib
62611         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
62613         mktime: merge DEBUG change from gnulib
62614         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
62615         case system <time.h> has a #define.
62617         mktime: merge <sys/types.h> change from gnulib
62618         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
62619         since <time.t> is now guaranteed to define time_t.
62621         mktime: merge HAVE_CONFIG_H change from gnulib
62622         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
62624 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62626         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62627         Use "neg %eax".
62629         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
62630         __rlim_t cast.
62631         (struct rusage): Use anonymous union to pad each field to
62632         __syscall_slong_t.
62634 2012-05-21  David S. Miller  <davem@davemloft.net>
62636         * Makefules (o-iterator): Remove .s cases.
62637         (compile-command.s): Delete.
62638         (COMPILE.s): Delete.
62639         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
62641 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
62643         * configure.in (libc_cv_predef_stack_protector): Only consider
62644         "foobar" and "__stack_chk_fail" lines in libc_undefs.
62645         * configure: Regenerated.
62647 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62649         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62650         New macro.  Use R*LP on int and pointer.
62651         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
62652         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
62653         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
62654         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
62656         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
62657         [__WORDSIZE_TIME64_COMPAT32] instead of
62658         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
62659         (struct utmp): Likewise.
62660         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
62661         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
62662         Renamed to ...
62663         (__WORDSIZE_TIME64_COMPAT32): This.
62664         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
62665         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
62666         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
62667         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
62668         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
62669         (__WORDSIZE_TIME64_COMPAT32): New macro.
62671 2012-05-21  Andreas Jaeger  <aj@suse.de>
62673         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
62674         only if [SHARED]. Add prototype for __wcschr_ia32.
62676 2012-05-21  Roland McGrath  <roland@hack.frob.com>
62678         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
62679         of %rbp unmolested in the jmp_buf while mangling the low bits.
62680         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
62681         unmolested high bits of %rbp while demangling the low bits.
62682         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62684 2012-05-21  Andreas Jaeger  <aj@suse.de>
62686         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
62687         * sunrpc/svc_simple.c: Use it for registerrpc.
62688         * sunrpc/xcrypt.c: Use it for passwd2des.
62690         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
62692 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62694         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
62695         Don't define if [__SYSCALL_WORDSIZE != 32].
62696         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
62697         New macro.
62699 2012-05-21  Bruno Haible  <bruno@clisp.org>
62700             Andreas Jaeger  <aj@suse.de>
62702         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
62703         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
62704         inptr and inend for must_buffer_ch.
62705         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
62706         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
62707         * stdio-common/Makefile (tests): Remove bug15.
62708         (bug15-ENV): Remove macro.
62709         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
62710         anymore.
62712 2012-05-19  Andreas Jaeger  <aj@suse.de>
62713             Roland McGrath  <roland@hack.frob.com>
62715         * manual/contrib.texi: Completely rewritten. It contains now an
62716         alphabetical list of contributors and their contributions.
62718 2012-05-21  Richard Henderson  <rth@twiddle.net>
62720         * misc/getauxval.c (__getauxval): Use unsigned long int.
62721         * misc/sys/auxv.h: Include <sys/cdefs.h>.
62722         (getauxval): Use unsigned long int.
62724 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62726         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62728 2012-05-21  Roland McGrath  <roland@hack.frob.com>
62730         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
62731         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
62732         __alignof__ (long double).
62734 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62736         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62738 2012-05-20  Richard Henderson  <rth@twiddle.net>
62740         * misc/getauxval.c: New file.
62741         * misc/sys/auxv.h: New file.
62742         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
62743         (routines): Add getauxval.
62744         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
62745         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
62746         * elf/dl-sysdep.c (_dl_auxv): Remove.
62747         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
62748         * elf/dl-support.c (_dl_auxv): New variable.
62749         (_dl_aux_init): Initialize it.
62750         * manual/startup.texi (Auxiliary Vector): New node.
62751         * sysdeps/generic/bits/hwcap.h: New file.
62752         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
62753         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
62754         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
62755         * sysdeps/sparc/sysdep.h: ... here.  Include it.
62756         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
62757         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
62758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62759         Update.
62760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
62761         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
62762         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
62763         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
62764         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62765         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
62767         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
62769 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62771         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62773 2012-05-19  David S. Miller  <davem@davemloft.net>
62775         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62777 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
62779         [BZ #14123]
62780         * math/s_ccosh.c: Include <float.h>
62781         (__ccosh): Avoid internal overflow calculating sinh and cosh
62782         values before multiplying by sin and cos values.
62783         * math/s_ccoshf.c: Likewise.
62784         * math/s_ccoshl.c: Likewise.
62785         * math/s_csin.c: Likewise.
62786         * math/s_csinf.c: Likewise.
62787         * math/s_csinl.c: Likewise.
62788         * math/s_csinh.c: Likewise.
62789         * math/s_csinhf.c: Likewise.
62790         * math/s_csinhl.c: Likewise.
62791         * math/libm-test.inc (ccos_test): Add more tests.
62792         (ccosh_test): Likewise.
62793         (csin_test): Likewise.
62794         (csinh_test): Likewise.
62795         * sysdeps/i386/fpu/libm-test-ulps: Update.
62796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62798 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
62800         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
62801         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
62803         * sysdeps/x86_64/x32/_itoa.h: Add comment.
62805 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
62807         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
62808         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
62809         * sysdeps/powerpc/soft-fp/Versions: Likewise.
62810         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
62811         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
62812         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
62813         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
62814         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
62815         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
62816         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
62817         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
62818         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
62819         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
62820         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
62821         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
62822         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
62823         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
62824         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
62825         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
62826         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
62827         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
62828         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
62829         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
62830         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
62831         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
62832         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
62833         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
62834         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
62835         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
62836         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
62837         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
62839 2012-05-18  Andreas Jaeger  <aj@suse.de>
62841         * csu/.gitignore: Delete.
62843 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62845         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
62846         (timex): Use __syscall_slong_t.
62848 2012-05-18  Andreas Jaeger  <aj@suse.de>
62849             Carlos O'Donell  <carlos_odonell@mentor.com>
62851         * manual/install.texi (Configuring and compiling): Update
62852         description about files modified in the source directory.
62853         * INSTALL: Regenerated.
62855 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62857         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
62858         value.  Use "or" to set return value to -1.
62859         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
62860         negate return value.
62862 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62864         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
62865         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
62866         failure if the compiler has Graphite support disabled.
62867         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
62868         Likewise.
62869         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
62870         (CFLAGS-memmove.c): Likewise.
62871         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
62872         Likewise.
62874 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62876         * sysdeps/x86_64/x32/_itoa.h: New file.
62878         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
62879         getdents system call only if kernel and user dirents have the
62880         same d_ino and d_off.
62882         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
62883         LLONG_MAX != LONG_MAX.
62884         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62885         (_fitoa_word): Likewise.
62887         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
62888         years.
62889         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
62890         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
62891         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
62893         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
62894         include <bits/wordsize.h>.  Check __x86_64__ instead of
62895         __WORDSIZE.
62896         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
62897         if __x86_64__ is defined.  Use anonymous union on fpstate.
62899         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
62900         anonymous union.
62902 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
62904         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
62905         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
62906         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
62907         Refer to _rtld_local_ro instead of _rtld_global_ro.
62908         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
62909         Likewise.
62910         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
62911         Likewise.
62912         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
62913         Likewise.
62914         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
62915         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
62916         of _rtld_global, and rtld_progname instead of _dl_argv[0].
62918         [BZ #10882]
62919         * sysdeps/powerpc/powerpc32/dl-machine.c
62920         (__elf_machine_runtime_setup) [PROF]: Don't reference
62921         _dl_prof_resolve.
62923 2012-05-18  Andreas Jaeger  <aj@suse.de>
62925         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
62926         function only available for GCCs before 3.4 since GCC 3.4
62927         introduced a builtin.
62928         (lrint): Likewise.
62929         (llrintf): Likewise.
62930         (llrint): Likewise.
62931         (fmaxf): Likewise.
62932         (fmax): Likewise.
62933         (fminf): Likewise.
62934         (fmin): Likewise.
62935         (rint): Likewise.
62936         (rintf): Likewise.
62937         (nearbyint): Likewise.
62938         (nearbyintf): Likewise.
62939         (ceil): Likewise.
62940         (ceilf): Likewise.
62941         (floor): Likewise.
62942         (floorf): Likewise.
62944 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62946         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
62947         on both fields and cast pointer to __syscall_ulong_t.
62949         * bits/types.h (__fsword_t): New type.
62950         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
62951         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
62952         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62953         (__FSWORD_T_TYPE): Likewise.
62954         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62955         (__FSWORD_T_TYPE): Likewise.
62956         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62957         (__FSWORD_T_TYPE): Likewise.
62958         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
62959         (__FSWORD_T_TYPE): Likewise.
62960         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
62961         __SWORD_TYPE with __fsword_t.
62962         (statfs64): Likewise.
62964 2012-05-17  David S. Miller  <davem@davemloft.net>
62966         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
62968 2012-05-17  Andreas Jaeger  <aj@suse.de>
62970         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
62971         warning.
62973 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62975         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
62977 2012-05-17  Andreas Jaeger  <aj@suse.de>
62979         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
62980         when it is used.
62982 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
62984         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
62986 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62988         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
62989         * sysdeps/x86_64/tst-mallocalign1.c: New file.
62991 2012-05-17  Andreas Jaeger  <aj@suse.de>
62992             Carlos O'Donell  <carlos_odonell@mentor.com>
62994         [BZ #14059]
62995         * sysdeps/x86_64/multiarch/init-arch.h
62996         (bit_YMM_Usable): Rename to...
62997         (bit_AVX_Usable): ... this.
62998         (bit_FMA4_Usable): New macro.
62999         (bit_XMM_state): New macro.
63000         (bit_YMM_state): New macro.
63001         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
63002         [__ASSEMBLER__] (index_AVX_Usable): ... this.
63003         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
63004         (CPUID_OSXSAVE): New macro.
63005         (CPUID_AVX): New macro.
63006         (CPUID_FMA4): New macro.
63007         (index_YMM_Usable): Rename to...
63008         (index_AVX_Usable): ... this.
63009         (HAS_AVX): Use HAS_ARCH_FEATURE.
63010         (HAS_FMA4): Likewise.
63011         (HAS_YMM_USABLE): Remove.
63012         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63013         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
63014         are present.
63015         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
63016         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
63017         * sysdeps/x86_64/multiarch/Makefile: Likewise.
63018         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
63019         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
63021 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
63023         * math/libm-test.c: Support platforms without multiple rounding modes.
63024         * math/bug-nextafter.c: Support platforms without FP exceptions.
63025         * math/bug-nexttoward.c: Likewise.
63026         * math/test-fenv.c: Likewise.
63027         * math/test-misc.c: Likewise.
63028         * stdlib/bug-getcontext.c: Likewise.
63030 2012-05-17  Andreas Jaeger  <aj@suse.de>
63032         * manual/examples/search.c (critter_cmp): Change signature to
63033         avoid warnings.
63034         * manual/string.texi (Collation Functions): Likewise.
63036 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63038         * bits/types.h: Fold copyright years.
63039         * bits/typesizes.h: Likewise.
63040         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
63041         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
63042         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
63043         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
63044         * time/time.h: Likewise.
63046 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
63048         [BZ #208]
63049         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
63050         in instead of returning them.  Return void.
63051         (__libc_mallinfo): Accumulate over all arenas.
63052         (__malloc_stats): Adjust for change in int_mallinfo interface.
63054 2012-05-16  Roland McGrath  <roland@hack.frob.com>
63056         [BZ #10375]
63057         * configure.in (NM): Add AC_CHECK_TOOL for it.
63058         (libc_extra_cflags): New substituted variable.
63059         Check for -fstack-protector being used implicitly.
63060         * configure: Regenerated.
63061         * config.make.in (config-extra-cflags): New variable,
63062         gets @libc_extra_cflags@.
63063         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
63065         [BZ #10375]
63066         * configure.in: Check for _FORTIFY_SOURCE being predefined.
63067         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
63068         * configure: Regenerated.
63069         * config.make.in (CPPUNDEFS): New substituted variable.
63070         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
63071         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
63072         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
63074 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63076         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
63077         (mq_attr): Use __syscall_slong_t.
63079 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63081         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
63082         Check __x86_64__ instead of __WORDSIZE.
63083         (_STAT_VER_LINUX): Likewise.
63084         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
63085         __syscall_ulong_t and __syscall_slong_t.
63086         (stat64): Likewise.
63088 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63090         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
63092 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63094         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
63096 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63098         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
63099         __syscall_ulong_t.
63101         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
63102         include <bits/wordsize.h>.  Check __x86_64__ instead of
63103         __WORDSIZE.
63104         (greg_t): Use "__extension__ long long int" if __x86_64__ is
63105         defined.
63106         (mcontext_t): Replace "unsigned long" with "unsigned long long".
63108         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
63109         include <bits/wordsize.h>.  Check __x86_64__ instead of
63110         __WORDSIZE.
63111         (user_regs_struct): Use "__extension__ unsigned long long"
63112         instead of "unsigned long" if __x86_64__ is defined.
63113         (user): Likewise.  Pad after pointer field if __ILP32__ is
63114         defined.
63116 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
63118         * configure.in (makeinfo): Require version 4.5 or later.  Allow
63119         versions 5 to 9.
63120         * configure: Regenerated.
63121         * manual/install.texi (texinfo): Increase version requirement to
63122         4.5 or later.
63123         * INSTALL: Regenerated.
63125         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
63127 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63129         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
63131         * sysdeps/x86_64/x32/ffs.c: New file.
63133         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
63134         __syscall_ulong_t.
63135         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
63136         defined.  Use __syscall_ulong_t.
63137         (shminfo): Use __syscall_ulong_t.
63138         (shm_info): Likewise.
63140         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
63141         __syscall_ulong_t.
63143         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
63144         <bits/wordsize.h>.
63145         (msgqnum_t): Use __syscall_ulong_t.
63146         (msglen_t): Likewise.
63147         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
63148         __syscall_ulong_t.
63150         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
63151         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63153         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
63155         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
63156         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
63158         * sysvipc/sys/msg.h (msgbuf): Replace long int with
63159         __syscall_slong_t.
63161         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
63162         include <bits/wordsize.h>.  Check __x86_64__ instead of
63163         __WORDSIZE.
63165         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
63166         "unsigned long long int" if __x86_64__ is defined.
63167         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
63169         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
63170         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63171         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
63173         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
63174         <stdint.h>.
63175         (GET_PC): Cast to uintptr_t first.
63176         (GET_FRAME): Likewise.
63177         (GET_STACK): Likewise.
63179         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
63180         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
63181         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
63182         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
63183         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
63184         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
63185         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
63186         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
63187         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
63188         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
63189         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
63190         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
63191         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
63192         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
63193         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
63194         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
63195         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
63196         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
63197         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
63198         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
63199         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
63200         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
63201         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
63202         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
63203         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
63204         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
63205         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
63206         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
63207         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
63209 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
63211         * Makerules (+depfiles): Also collect depfiles from .oS in
63212         $(extra-objs).
63213         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
63214         .oS, $(libnldbl-routines)).
63216         * Makerules (native-compile-mkdep-flags): Define.
63217         * sunrpc/Makefile (extra-objs): Add $(addprefix
63218         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
63219         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
63220         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
63221         calling $(make-target-directory).
63223 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63225         * bits/types.h (__snseconds_t): Removed.
63226         * time/time.h (struct timespec): Replace __snseconds_t with
63227         __syscall_slong_t.
63228         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
63229         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
63230         Likewise.
63231         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63232         (__SNSECONDS_T_TYPE): Likewise.
63233         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63234         (__SNSECONDS_T_TYPE): Likewise.
63235         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63236         (__SNSECONDS_T_TYPE): Likewise.
63238 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63240         * sysdeps/mach/hurd/bits/typesizes.h
63241         (__SYSCALL_SLONG_TYPE): New macro.
63242         (__SYSCALL_ULONG_TYPE): Likewise.
63244 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63246         * bits/types.h (__syscall_slong_t): New type.
63247         (__syscall_ulong_t): Likewise.
63249         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
63250         (__SYSCALL_ULONG_TYPE): Likewise.
63251         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63252         (__SYSCALL_SLONG_TYPE): Likewise.
63253         (__SYSCALL_ULONG_TYPE): Likewise.
63254         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63255         (__SYSCALL_SLONG_TYPE): Likewise.
63256         (__SYSCALL_ULONG_TYPE): Likewise.
63257         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63258         (__SYSCALL_SLONG_TYPE): Likewise.
63259         (__SYSCALL_ULONG_TYPE): Likewise.
63261 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63263         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
63264         Add sigaltstack-offsets.sym.
63265         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
63266         <sigaltstack-offsets.h>.
63267         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
63268         longjmp_msg pointer.
63269         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
63270         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
63271         signal stack.
63272         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
63274 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
63276         * elf/stackguard-macros.h: Remove file.
63277         * sysdeps/generic/stackguard-macros.h: New file.
63278         * sysdeps/i386/stackguard-macros.h: Likewise.
63279         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63280         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63281         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63282         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63283         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63284         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63285         * sysdeps/x86_64/stackguard-macros.h: Likewise.
63286         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
63287         <elf/stackguard-macros.h>.
63289         [BZ #14109]
63290         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
63291         __aligned__ in attribute.
63292         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
63293         (gregset_t): Likewise.
63295 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63297         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
63298         * sysdeps/x86_64/64/Implies-after: Here.  New file.
63299         * sysdeps/x86_64/x32/Implies-after: New file.
63301 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63303         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
63304         and access return value for _dl_profile_fixup.  Use R10_LP to
63305         load frame size.
63307 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63309         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
63311 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63313         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
63314         * sysdeps/x86_64/x32/sysdep.h: New file.
63316 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63318         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
63319         * sysdeps/x86_64/setjmp.S: Likewise.
63321 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63323         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
63324         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
63325         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
63326         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
63327         remove unused global constant.
63329 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
63331         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
63332         include of <not-cancel.h>.
63334 2012-05-15  Roland McGrath  <roland@hack.frob.com>
63336         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
63338 2012-05-15  Jeff Law  <law@redhat.com>
63339             Andreas Jaeger  <aj@suse.de>
63341         [BZ #13594]
63342         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
63343         out from...
63344         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
63345         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
63346         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
63347         code changing __hst_map_handle.map.
63349 2012-05-15  Roland McGrath  <roland@hack.frob.com>
63351         * configure.in (sysnames): Look for Implies-before and Implies-after
63352         files.
63353         * configure: Regenerated.
63355 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63357         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
63358         8-byte data alignment with LP_SIZE alignment.
63360 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63362         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
63363         into R10_LP.
63365 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63367         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
63369 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63371         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
63372         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
63373         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
63374         Likewise.
63375         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63377 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63379         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
63380         (stackinfo_sub_sp): Likewise.
63382 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63384         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
63385         RAX_LP.
63387 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63389         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
63390         into R*_LP.
63392 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63394         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
63395         sizes into R*_LP.
63397 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63399         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
63401 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63403         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
63404         into R11_LP and load __x86_64_shared_cache_size_half into
63405         R8_LP.
63407 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63409         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
63410         R8_LP.
63412 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63414         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
63415         logb for POWER7.
63416         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
63417         logbf for POWER7.
63418         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
63419         logbl for POWER7.
63420         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
63421         powerpc32/power7/fpu/s_logb.c via #include.
63422         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
63423         powerpc32/power7/fpu/s_logbf.c via #include.
63424         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
63425         powerpc32/power7/fpu/s_logbl.c via #include.
63427 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
63429         * README.libm: Remove file.
63431 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63433         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
63434         count for x32.  Use R*_LP and omit operand-size suffix.
63436 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63438         * shlib-versions: Move x86_64-.*-linux.* entries to ...
63439         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
63440         * sysdeps/x86_64/x32/shlib-versions: New file.
63442 2012-05-14  Roland McGrath  <roland@hack.frob.com>
63444         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
63445         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
63446         Use _dl_fatal_printf instead.
63448 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63450         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
63451         set if not set by the user.  Do not allow for being unset.
63452         * sysdeps/unix/sysv/linux/configure: Regenerated.
63454 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63456         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
63457         the `q' suffix from lea and replace .quad with ASM_ADDR.
63459 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63461         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
63462         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
63463         instead of $17.
63464         (PTR_DEMANGLE): Likewise.
63466 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63468         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
63469         (LP_OP): Likewise.
63470         (ASM_ADDR): Likewise.
63471         (RAX_LP): Likewise.
63472         (RBP_LP): Likewise.
63473         (RBX_LP): Likewise.
63474         (RCX_LP): Likewise.
63475         (RDI_LP): Likewise.
63476         (RSI_LP): Likewise.
63477         (RSP_LP): Likewise.
63478         (R8_LP): Likewise.
63479         (R9_LP): Likewise.
63480         (R10_LP): Likewise.
63481         (R10_LP): Likewise.
63482         (R11_LP): Likewise.
63483         (R12_LP): Likewise.
63484         (R13_LP): Likewise.
63485         (R14_LP): Likewise.
63486         (R15_LP): Likewise.
63488 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63490         * sysdeps/x86_64/x32/dl-machine.h: New file.
63492 2012-05-14  Andreas Jaeger  <aj@suse.de>
63494         * manual/Makefile (subdir): Remove export of subdir.
63495         (all): Remove target.
63496         (.PHONY): Remove all from list.
63497         (mkinstalldirs): Remove.
63498         (.PHONY): Remove installdirs from list.
63499         ($(inst_infodir)/libc.info): Use make-target-directory.
63500         (installdirs): Remove.
63501         (subdir_%): Remove.
63502         (glibc-targets): Remove.
63503         (lib): Remove.
63504         (stubs): Remove.
63505         ($(objpfx)stubs ../po/manual.pot): Remove.
63506         ($(objpfx)stamp%): Remove.
63507         (make-target-directory): Remove.
63508         (subdir_install): Remove.
63509         (routines): Remove.
63510         (aux): Remove.
63511         (sources): Remove.
63512         (objects): Remove.
63513         (headers): Remove.
63515         [BZ #13750]
63516         * manual/.gitignore: Remove, it's not needed anymore.
63517         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
63518         all files in it.
63519         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
63520         directory.
63521         (texis): Renamed to $(objpfx)texis.
63522         (texis-path): New, contains path to generated files.
63523         (chapters.%): Use texis-path for complete path, add extra argument
63524         libc-texinfo.sh.
63525         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
63526         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
63527         (summary,texi, stamp-summary): Use complete path of
63528         files. Generate files in build dir.
63529         (dir-add.texi): Build in build dir.
63530         (libm-err.texi,stamp-libm-err): Likewise.
63531         (version.texi, stamp-version): Likewise.
63532         (.%c.texi): Likewise.
63533         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
63534         (mostlyclean): Remove target.
63535         (realclean): Remove target.
63536         (generated): Add new variable with contents from mostlyclean and
63537         realclean, remove entries duplicated in common-mostlyclean, add
63538         stamp-libm-err and stamp-version.
63539         (generated-dirs): Add libc directory.
63540         ($(inst_infodir)/libc.info): Install files from build dir.
63542         * manual/install.texi (Configuring and compiling): Adjust since
63543         the info files are not part of the tar ball anymore.
63545 2012-05-14  Andreas Jaeger  <aj@suse.de>
63547         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
63548         variable.
63550 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63552         [BZ #13717]
63553         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63554         to 2.2.0 where earlier.
63555         * sysdeps/unix/sysv/linux/configure: Regenerated.
63556         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
63557         Remove conditional code.
63558         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
63559         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
63560         Remove conditional code.
63561         [!__NR_lchown]: Likewise.
63562         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63563         [__NR_lchown]: Likewise.
63564         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
63565         comment referencing __ASSUME_LCHOWN_SYSCALL.
63566         * sysdeps/unix/sysv/linux/i386/sigaction.c
63567         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63568         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63569         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
63570         Remove conditional code.
63571         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
63572         (__protocol_available): Remove #if 0 code.
63573         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
63574         conditional code.
63575         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
63576         * sysdeps/unix/sysv/linux/kernel-features.h
63577         (__ASSUME_GETCWD_SYSCALL): Don't define.
63578         (__ASSUME_REALTIME_SIGNALS): Likewise.
63579         (__ASSUME_PREAD_SYSCALL): Likewise.
63580         (__ASSUME_PWRITE_SYSCALL): Likewise.
63581         (__ASSUME_POLL_SYSCALL): Likewise.
63582         (__ASSUME_LCHOWN_SYSCALL): Likewise.
63583         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
63584         non-SPARC.
63585         (__ASSUME_SIOCGIFNAME): Don't define.
63586         (__ASSUME_MSG_NOSIGNAL): Likewise.
63587         (__ASSUME_SENDFILE): Define unconditionally.
63588         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
63589         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
63590         conditional code.
63591         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
63592         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
63593         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63594         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63595         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
63596         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63597         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
63599         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63600         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
63602         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63603         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
63605         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63606         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
63608         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63609         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
63611         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63612         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
63614         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63615         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
63617         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63618         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
63620         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63621         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63622         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
63623         Remove conditional code.
63624         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63625         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63626         Remove conditional code.
63627         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63628         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
63629         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
63630         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63631         Remove conditional code.
63632         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63633         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
63634         Remove conditional code.
63635         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63636         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
63637         Remove conditional code.
63638         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63639         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63640         Remove conditional code.
63641         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63642         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63643         Remove conditional code.
63644         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63645         * sysdeps/unix/sysv/linux/sh/pwrite64.c
63646         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63647         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63648         * sysdeps/unix/sysv/linux/sigaction.c
63649         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63650         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63651         * sysdeps/unix/sysv/linux/sigpending.c
63652         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63653         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63654         * sysdeps/unix/sysv/linux/sigprocmask.c
63655         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63656         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63657         * sysdeps/unix/sysv/linux/sigsuspend.c
63658         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63659         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63660         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
63661         (__libc_missing_rt_sigs): Remove.
63662         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
63663         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
63664         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
63665         Remove conditional code.
63666         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
63667         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
63668         return 1.
63669         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
63670         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
63671         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
63672         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
63674 2012-05-14  Andreas Jaeger  <aj@suse.de>
63676         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
63677         it's not used in glibc.
63678         (__coshm1): Likewise.
63679         (__acosh1p): Likewise.
63680         (__sgn): Likewise.
63682         * manual/string.texi (Copying and Concatenation): Add missing
63683         variable in concat example.
63684         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
63686 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63688         [BZ #14103]
63689         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
63690         __builtin_clzl with __builtin_clzll.
63692 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63694         [BZ #14104]
63695         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
63696         libc_freeres_ptr.
63698 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63700         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
63701         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
63702         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
63703         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
63705 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
63707         * NEWS: Update ia64 info.
63709 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
63711         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
63712         used as bcopy.
63714 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
63716         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
63717         * sysdeps/unix/syscalls.list (dup3): Likewise.
63718         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
63719         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
63721 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
63723         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
63724         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
63726 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
63728         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
63729         thread pointer.
63730         (TLS_IE): Use mov/add instead of movq/addq to load thread
63731         pointer.
63732         (TLS_GD_PREFIX): New.
63733         (TLS_GD): Use it.
63735 2012-05-11  David S. Miller  <davem@davemloft.net>
63737         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
63738         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
63739         (_FPU_SETCW): Likewise.
63741 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63743         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
63744         is 32-byte aligned.
63746 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
63748         [BZ #11837]
63749         * iconvdata/gb18030.c: Update tables.
63750         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
63751         characters specially.
63752         (BODY for TO_LOOP): Add encoding of missing ranges.
63754 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
63756         [BZ #13673]
63757         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
63758         * sysdeps/mach/hurd/dup3.c: Likewise.
63759         * sysdeps/mach/hurd/readlinkat.c: Likewise.
63760         * sysdeps/powerpc/memmove.c:: Likewise.
63762 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63764         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
63765         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
63767 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63769         * elf/elf.h (R_X86_64_RELATIVE64): New.
63770         (R_X86_64_NUM): Updated.
63771         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
63772         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
63773         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
63774         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
63775         tst-quad1pie tst-quad2pie
63776         (modules-names): Add tst-quadmod1 tst-quadmod2.
63777         ($(objpfx)tst-quad1): New dependency.
63778         ($(objpfx)tst-quad2): Likewise.
63779         ($(objpfx)tst-quad1pie): Likewise.
63780         ($(objpfx)tst-quad2pie): Likewise.
63781         * sysdeps/x86_64/tst-quad1.c: New file.
63782         * sysdeps/x86_64/tst-quad1pie.c: New file.
63783         * sysdeps/x86_64/tst-quad2.c: Likewise.
63784         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
63785         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
63786         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
63787         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
63788         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
63790 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63792         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
63793         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
63794         * streams/stropts.h (t_scalar_t): Define type.
63796         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
63797         (_PATH_PRESERVE): Set to "/var/lib".
63798         (_PATH_RWHODIR): Set to "/var/spool/rwho".
63800         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
63801         instead of int.
63803         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
63804         if __dir_mkfile succeeded.
63806         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
63807         checking for _hurd_dtablesize.  Unlock it right after having
63808         finished _hurd_dtable allocation.
63810 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63812         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
63813         * sysdeps/mach/hurd/configure: Regenerated.
63814         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
63815         special-casing to...
63816         * sysdeps/gnu/configure.in: ... this new file.
63817         * sysdeps/unix/sysv/linux/configure: Regenerated.
63818         * sysdeps/gnu/configure: New generated file.
63820         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
63821         for Linux: use nsec instead of usec, as well as:
63822         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
63823         members of type struct timespec.
63824         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
63825         New macros.
63826         (struct stat64): Likewise.
63827         (_STATBUF_ST_NSEC): New macro.
63828         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
63830         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
63831         __strtoul_internal rather than strtoul.
63833 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63835         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
63836         and reject them.
63838 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63840         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
63841         which preserves existing values.
63842         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
63844 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63846         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
63847         TIMEOUT values.  Return EINVAL for NFDS values either negative or
63848         greater than FD_SETSIZE.
63850 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63852         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
63853         allocated, call __vm_protect to finish enabling the existing space, and
63854         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
63855         allocate the remainder.
63857 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63859         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
63860         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
63862 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63864         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
63865         sysdeps/mach/hurd/readlink.c.
63867         * posix/tst-sysconf.c (posix_options): Only use
63868         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
63869         _POSIX_SYNCHRONIZED_IO when they are defined
63870         * sysdeps/mach/hurd/bits/posix_opt.h:
63871         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
63872         (_XOPEN_REALTIME): Undefine macro.
63873         (_XOPEN_REALTIME_THREADS): Undefine macro.
63874         (_XOPEN_SHM): Undefine macro.
63875         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
63876         macro to -1.
63877         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
63878         macro to -1.
63879         (_POSIX_ASYNC_IO): Undefine macro.
63880         (_POSIX_PRIORITIZED_IO): Undefine macro.
63881         (_POSIX_SPIN_LOCKS): Define macro to -1.
63883         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
63884         SA_NODEFER, SA_RESETHAND.
63885         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
63886         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
63887         F_DUPFD_CLOEXEC.
63889 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63891         * elf/Makefile (pldd-modules): Define unconditionally.
63893 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63895         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
63897 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63899         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
63900         Return ENOENT when name is empty.
63901         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
63903 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63905         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
63907         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
63909 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63911         Fix mlock in all cases except non-readable pages.
63912         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
63913         instead of VM_PROT_ALL as parameter to __vm_wire function.
63915         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
63916         (__mkdir): When path is `/', just fail with EEXIST.
63917         * sysdeps/mach/hurd/mkdirat.c: Likewise.
63919 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63921         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
63922         <sys/uio.h> (for writev).
63923         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
63924         and <sys/param.h> (for MIN).
63926 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63928         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
63929         REQUESTED_TIME.  Properly set the remaining time and return EINTR
63930         if interrupted.
63932 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63934         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
63935         Depend on against $(link-rpcuserlibs).
63937 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63939         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
63940         (__libc_stack_end): Do not use attribute_relro.
63941         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
63942         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
63943         to libthread-provided value.
63944         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
63945         attribute_relro.
63947 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63949         [BZ #3748]
63950         * bits/libc-lock.h (__libc_once_get): New macro.
63951         * sysdeps/mach/bits/libc-lock.h: Likewise.
63952         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
63953         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
63954         instead of using implementation details.
63956         * libio/fileops.c: Unconditionally include <kernel-features.h>.
63957         * libio/freopen.c: Likewise.
63958         * libio/freopen64.c: Likewise.
63959         * misc/syslog.c: Likewise.
63960         * nscd/connections.c: Likewise.
63961         * nscd/netgroupcache.c: Likewise.
63962         * sysdeps/posix/getcwd.c: Likewise.
63964 2012-05-10  Roland McGrath  <roland@hack.frob.com>
63966         * math/w_ilogbf.c: Add #include <limits.h>.
63968 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63970         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
63971         path instead of returning without unlocking.
63973         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
63974         immediate-write ioctls.
63975         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
63977 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63979         * sysdeps/mach/hurd/i386/init-first.c (init): Use
63980         __builtin_frame_address instead of making assumptions about the
63981         location of the return address relative to DATA.  Force early load of
63982         the return address.
63983         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
63984         __builtin_frame_address.
63986         dup3 for GNU Hurd.
63987         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
63988         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
63989         implement dup3 and do some further code clean-ups.
63990         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
63991         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
63993 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63995         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
63997         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
63998         HURD_CRITICAL_END around holding _hurd_dtable_lock.
63999         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
64000         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
64001         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
64002         d->port.lock.
64004         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
64005         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
64006         when handler == SIG_ERR, not when handler != SIG_ERR.
64008 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64010         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
64011         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
64012         definitions.
64014         accept4 for GNU Hurd.
64015         * include/sys/socket.h (__libc_accept4): New prototype.
64016         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
64017         to implement __libc_accept4.
64018         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
64019         __libc_accept4.
64020         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
64022         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
64023         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
64024         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
64025         signal-defines.sym.
64027 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64029         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
64031 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64033         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
64034         assertion on O_CLOEXEC flag.
64035         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
64036         * hurd/intern-fd.c: Likewise.
64037         * hurd/port2fd.c: Likewise.
64039 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64041         [BZ #3906]
64042         * bits/in.h (IPV6_PKTINFO): Define new macro.
64043         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
64045 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64047         [BZ #13954]
64048         [BZ #13955]
64049         [BZ #13956]
64050         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
64051         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64052         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
64053         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64054         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64055         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64056         * math/libm-test.inc (logb_test) : Additional logb tests.
64058 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
64059             Andreas Jaeger  <aj@suse.de>
64061         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
64062         * configure: Regenerated.
64063         * config.h.in (LINK_OBSOLETE_RPC): New macro.
64064         * config.make.in (link-obsolete-rpc): New substituted variable.
64065         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
64066         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
64067         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64068         (shared-only-routines): Don't set it under [link-obsolete-rpc],
64069         so that libc.a contains the symbols.
64070         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64071         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
64072         * sunrpc/auth_none.c: Likewise.
64073         * sunrpc/auth_unix.c: Likewise.
64074         * sunrpc/authdes_prot.c: Likewise.
64075         * sunrpc/authuxprot.c: Likewise.
64076         * sunrpc/clnt_gen.c: Likewise.
64077         * sunrpc/clnt_perr.c: Likewise.
64078         * sunrpc/clnt_raw.c: Likewise.
64079         * sunrpc/clnt_simp.c: Likewise.
64080         * sunrpc/clnt_tcp.c: Likewise.
64081         * sunrpc/clnt_udp.c: Likewise.
64082         * sunrpc/clnt_unix.c: Likewise.
64083         * sunrpc/des_crypt.c: Likewise.
64084         * sunrpc/des_soft.c: Likewise.
64085         * sunrpc/get_myaddr.c: Likewise.
64086         * sunrpc/key_call.c: Likewise.
64087         * sunrpc/key_prot.c: Likewise.
64088         * sunrpc/netname.c: Likewise.
64089         * sunrpc/pm_getmaps.c: Likewise.
64090         * sunrpc/pm_getport.c: Likewise.
64091         * sunrpc/pmap_clnt.c: Likewise.
64092         * sunrpc/pmap_prot.c: Likewise.
64093         * sunrpc/pmap_prot2.c: Likewise.
64094         * sunrpc/pmap_rmt.c: Likewise.
64095         * sunrpc/publickey.c: Likewise.
64096         * sunrpc/rpc_cmsg.c: Likewise.
64097         * sunrpc/rpc_common.c: Likewise.
64098         * sunrpc/rpc_dtable.c: Likewise.
64099         * sunrpc/rpc_prot.c: Likewise.
64100         * sunrpc/rpc_thread.c: Likewise.
64101         * sunrpc/rtime.c: Likewise.
64102         * sunrpc/svc.c: Likewise.
64103         * sunrpc/svc_auth.c: Likewise.
64104         * sunrpc/svc_raw.c: Likewise.
64105         * sunrpc/svc_run.c: Likewise.
64106         * sunrpc/svc_tcp.c: Likewise.
64107         * sunrpc/svc_udp.c: Likewise.
64108         * sunrpc/svc_unix.c: Likewise.
64109         * sunrpc/svcauth_des.c: Likewise.
64110         * sunrpc/xcrypt.c: Likewise.
64111         * sunrpc/xdr.c: Likewise.
64112         * sunrpc/xdr_array.c: Likewise.
64113         * sunrpc/xdr_float.c: Likewise.
64114         * sunrpc/xdr_intXX_t.c: Likewise.
64115         * sunrpc/xdr_mem.c: Likewise.
64116         * sunrpc/xdr_rec.c: Likewise.
64117         * sunrpc/xdr_ref.c: Likewise.
64118         * sunrpc/xdr_sizeof.c: Likewise.
64119         * sunrpc/xdr_stdio.c: Likewise.
64121 2012-05-10  Roland McGrath  <roland@hack.frob.com>
64123         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
64124         change.  Update copyright years.
64126 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
64128         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
64130 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
64131             Joseph Myers  <joseph@codesourcery.com>
64132             Paul Pluzhnikov  <ppluzhnikov@google.com>
64134         [BZ #14012]
64135         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
64136         requiring rpcgen.
64137         [cross-compiling] (extra-libs): Likewise.
64138         [cross-compiling] (extra-libs-others): Likewise.
64139         [cross-compiling] (librpcsvc-routines): Likewise.
64140         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
64141         [cross-compiling] (omit-deps): Likewise.
64142         (sunrpc-CPPFLAGS): New variable.
64143         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
64144         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
64145         (cross-rpcgen-objs): New variable.
64146         (extra-objs): Append $(cross-rpcgen-objs).
64147         ($(cross-rpcgen-objs)): New rule.
64148         ($(objpfx)cross-rpcgen): Likewise.
64149         (rpcgen-cmd): Define to use $(built-program-file).  Expand
64150         comment.
64151         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
64152         ($(objpfx)x%.stmp): Likewise.
64153         * sunrpc/proto.h [IS_IN_build] (_): Define.
64154         [IS_IN_build] (_libc_intl_domainname): Likewise.
64156 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64158         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
64159         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
64160         and R_X86_64_TPOFF64.
64162 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
64164         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
64165         sysdeps/unix/sysv/syscalls.list.
64166         (stime): Likewise.
64167         (utime): Likewise.
64168         * sysdeps/unix/sysv/syscalls.list: Remove file.
64170 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
64172         [BZ #3440]
64173         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
64174         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
64175         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
64176         (__LC_IDENTIFICATION): Make these macros useful in #if
64177         expressions, as required by C99.
64179 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
64181         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
64182         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
64183         after this.
64185 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
64187         * stdlib/longlong.h: Updated from GCC.
64189 2012-05-09  Andreas Jaeger  <aj@suse.de>
64191         * nscd/nscd.c (run_modes): Make named enum, reorder so that
64192         default is first entry.
64193         (run_mode): Set type.
64194         (main): Remove informal message about syslog.
64195         (options): Fix typo.
64197         [BZ #14053]
64198         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
64199         to asm.
64200         (lrint): Likewise.
64201         (llrintf): Likewise.
64202         (llrint): Likewise.
64203         (rint): Likewise.
64204         (rintf): Likewise.
64205         (nearbyint): Likewise.
64206         (nearbyintf): Likewise.
64208 2012-05-09  Andreas Jaeger  <aj@suse.de>
64209             Pedro Alves  <palves@redhat.com>
64211         * nscd/nscd.c (run_mode): Use enum.
64212         (main): Cleanup coding style issue.
64214 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
64215             Andreas Jaeger  <aj@suse.de>
64217         * nscd/nscd.c (go_background): Replaced with...
64218         (run_mode): ... this.
64219         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
64220         (options): Add -F --foreground.
64221         (main): Implement it.
64222         (parse_opt): Parse it.
64224 2012-05-09  Andreas Jaeger  <aj@suse.de>
64226         [BZ #14083]
64227         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
64228         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
64229         -Wconversion warning.
64230         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
64231         Likewise.
64233 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
64235         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
64236         == 0.
64237         (LC_ALL): Use macro-int-constant.
64238         (LC_COLLATE): Likewise.
64239         (LC_CTYPE): Likewise.
64240         (LC_MESSAGES): Likewise.
64241         (LC_MONETARY): Likewise.
64242         (LC_NUMERIC): Likewise.
64243         (LC_TIME): Likewise.
64244         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
64245         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64246         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64247         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
64248         Specify type.
64249         [C99-based standards] (float_t): Expect type.
64250         [C99-based standards] (double_t): Expect type.
64251         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
64252         type.
64253         [C99-based standards] (HUGE_VALL): Likewise.
64254         [C99-based standards] (INFINITY): Likewise.
64255         [C99-based standards] (NAN): Likewise.
64256         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
64257         [C99-based standards] (FP_NAN): Likewise.
64258         [C99-based standards] (FP_NORMAL): Likewise.
64259         [C99-based standards] (FP_SUBNORMAL): Likewise.
64260         [C99-based standards] (FP_ZERO): Likewise.
64261         [C99-based standards] (FP_FAST_FMA): Use
64262         optional-macro-int-constant.  Specify type.  Require == 1.
64263         [C99-based standards] (FP_FAST_FMAF): Likewise.
64264         [C99-based standards] (FP_FAST_FMAL): Likewise.
64265         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
64266         [C99-based standards] (FP_ILOGBNAN): Likewise.
64267         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
64268         Specify type.
64269         [C99-based standards] (MATH_ERREXCEPT): Likewise.
64270         [C99-based standards] (math_errhandling): Specify type.
64271         [ISO99 || ISO11] (signgam): Do not allow.
64272         [non-C99-based standards] (copysignf): Do not allow.
64273         [non-C99-based standards] (exp2f): Likewise.
64274         [non-C99-based standards] (log2f): Likewise.
64275         [non-C99-based standards] (modff): Allow.
64276         [non-C99-based standards] (erff): Do not allow.
64277         [non-C99-based standards] (erfcf): Likewise.
64278         [non-C99-based standards] (gammaf): Likewise.
64279         [non-C99-based standards] (hypotf): Likewise.
64280         [non-C99-based standards] (j0f): Likewise.
64281         [non-C99-based standards] (j1f): Likewise.
64282         [non-C99-based standards] (jnf): Likewise.
64283         [non-C99-based standards] (lgammaf): Likewise.
64284         [non-C99-based standards] (tgammaf): Likewise.
64285         [non-C99-based standards] (y0f): Likewise.
64286         [non-C99-based standards] (y1f): Likewise.
64287         [non-C99-based standards] (ynf): Likewise.
64288         [non-C99-based standards] (isnanf): Likewise.
64289         [non-C99-based standards] (acoshf): Likewise.
64290         [non-C99-based standards] (asinhf): Likewise.
64291         [non-C99-based standards] (atanhf): Likewise.
64292         [non-C99-based standards] (cbrtf): Likewise.
64293         [non-C99-based standards] (expm1f): Likewise.
64294         [non-C99-based standards] (ilogbf): Likewise.
64295         [non-C99-based standards] (log1pf): Likewise.
64296         [non-C99-based standards] (logbf): Likewise.
64297         [non-C99-based standards] (nextafterf): Likewise.
64298         [non-C99-based standards] (remainderf): Likewise.
64299         [non-C99-based standards] (rintf): Likewise.
64300         [non-C99-based standards] (scalbf): Likewise.
64301         [non-C99-based standards] (copysignl): Likewise.
64302         [non-C99-based standards] (exp2l): Likewise.
64303         [non-C99-based standards] (log2l): Likewise.
64304         [non-C99-based standards] (modfl): Allow.
64305         [non-C99-based standards] (erfl): Do not allow.
64306         [non-C99-based standards] (erfcl): Likewise.
64307         [non-C99-based standards] (gammal): Likewise.
64308         [non-C99-based standards] (hypotl): Likewise.
64309         [non-C99-based standards] (j0l): Likewise.
64310         [non-C99-based standards] (j1l): Likewise.
64311         [non-C99-based standards] (jnl): Likewise.
64312         [non-C99-based standards] (lgammal): Likewise.
64313         [non-C99-based standards] (tgammal): Likewise.
64314         [non-C99-based standards] (y0l): Likewise.
64315         [non-C99-based standards] (y1l): Likewise.
64316         [non-C99-based standards] (ynl): Likewise.
64317         [non-C99-based standards] (isnanl): Likewise.
64318         [non-C99-based standards] (acoshl): Likewise.
64319         [non-C99-based standards] (asinhl): Likewise.
64320         [non-C99-based standards] (atanhl): Likewise.
64321         [non-C99-based standards] (cbrtl): Likewise.
64322         [non-C99-based standards] (expm1l): Likewise.
64323         [non-C99-based standards] (ilogbl): Likewise.
64324         [non-C99-based standards] (log1pl): Likewise.
64325         [non-C99-based standards] (logbl): Likewise.
64326         [non-C99-based standards] (nextafterl): Likewise.
64327         [non-C99-based standards] (remainderl): Likewise.
64328         [non-C99-based standards] (rintl): Likewise.
64329         [non-C99-based standards] (scalbl): Likewise.
64330         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64331         [non-C99-based standards] (FP_*): Do not allow.
64332         [C99-based standards] (FP_*): Change to
64333         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64334         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64335         allow.
64336         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
64337         (SIG_ERR): Likewise.
64338         [X/Open-based standards] (SIG_HOLD): Likewise.
64339         (SIG_IGN): Likewise.
64340         (SIGABRT): Use macro-int-constant.  Specify type.  Require
64341         positive value.
64342         (SIGFPE): Likewise.
64343         (SIGILL): Likewise.
64344         (SIGINT): Likewise.
64345         (SIGSEGV): Likewise.
64346         (SIGTER): Likewise.
64347         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
64348         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
64349         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
64350         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
64351         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
64352         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
64353         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
64354         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
64355         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
64356         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
64357         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
64358         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
64359         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
64360         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
64361         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
64362         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
64363         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
64364         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
64365         [X/Open-based standards] (SIGTRAP): Likewise.
64366         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
64367         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
64368         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
64369         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
64370         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64371         allow.
64373 2012-05-08  Ian Wienand  <ianw@vmware.com>
64375         [BZ #14080]
64376         * time/tzset.c (__tzset_parse_tz): Update default rules for
64377         daylight time changes in the Energy Policy Act of 2005.
64379 2012-05-09  Andreas Jaeger  <aj@suse.de>
64381         [BZ #13983]
64382         * elf/ldconfig.c (parse_conf): Change string to make clear that
64383         ldconfig only issued a warning if ld.so.conf does not exist.
64385 2012-05-08  David S. Miller  <davem@davemloft.net>
64387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
64388         movxtod instead of popping the value on the stack.
64390         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64392 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
64394         * config.h.in: Add HAVE_ARM_PCS_VFP.
64396 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
64398         [BZ #13979]
64399         * include/features.h: Warn if user requests __FORTIFY_SOURCE
64400         checking but the checks are disabled for any reason.
64402 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
64404         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
64405         and ELF64_R_TYPE with ELFW(R_TYPE).
64407 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
64409         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
64410         (ulimit): Likewise.
64412         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
64413         (settimeofday): Likewise.
64415 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
64417         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
64418         a struct th_u2 inside the union, and move tu_block/tu_code into
64419         a new th_u3 union of tu_block/tu_code inside of that.  Move
64420         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
64421         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
64422         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
64423         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
64424         (th_stuff): Change to th_u1.tu_stuff.
64425         (th_data): Define.
64426         (th_msg): Change to th_u1.th_u2.tu_data.
64428 2012-05-07  David S. Miller  <davem@davemloft.net>
64430         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64432         [BZ #14074]
64433         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
64434         (SETUP_PIC_REG): Use it.
64435         (SETUP_PIC_REG_LEAF): Use it.
64437 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
64439         [BZ #13885]
64440         [BZ #13923]
64441         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64442         USE_AS_EXPM1L.
64443         (EXPL_FINITE): Likewise.
64444         (FLDLOG): Likewise.
64445         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64446         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64447         e_expl.S.
64448         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64449         USE_AS_EXPM1L.
64450         (EXPL_FINITE): Likewise.
64451         (FLDLOG): Likewise.
64452         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64453         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64454         e_expl.S.
64455         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
64456         test of -max_value argument for long double.
64457         * sysdeps/i386/fpu/libm-test-ulps: Update.
64458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64460 2012-05-06  David S. Miller  <davem@davemloft.net>
64462         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
64463         quad soft-float symbols whose references which are compiler
64464         generated.
64465         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
64467 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
64469         [BZ #13884]
64470         [BZ #13914]
64471         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64472         USE_AS_EXP10L.
64473         (EXPL_FINITE): Likewise.
64474         (FLDLOG): Likewise.
64475         (c0): Likewise.
64476         (c1): Likewise.
64477         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
64478         Adjust comments for base varying.
64479         (__expl_finite): Change alias to EXPL_FINITE.
64480         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
64481         e_expl.S.
64482         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
64483         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
64484         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
64485         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
64486         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64487         USE_AS_EXP10L.
64488         (EXPL_FINITE): Likewise.
64489         (FLDLOG): Likewise.
64490         (c0): Likewise.
64491         (c1): Likewise.
64492         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
64493         Adjust comments for base varying.
64494         (__expl_finite): Change alias to EXPL_FINITE.
64495         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
64496         tests for bugs.
64497         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64499         [BZ #14064]
64500         * math/libm-test.inc (check_float_internal): Correct ulp
64501         calculation for subnormal expected results.
64503 2012-05-06  Andreas Jaeger  <aj@suse.de>
64505         * Makeconfig (+math-flags): New, set to -frounding-math.
64506         (+cflags): Add +math-flags so that all of glibc gets compiled with
64507         it.
64509         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
64511 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
64513         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
64514         Disable one test.
64516         [BZ #13787]
64517         [BZ #13922]
64518         [BZ #14036]
64519         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
64520         (__ieee754_expl): Allow for and saturate large arguments.
64521         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
64522         (u_threshold): Likewise.
64523         (__exp): Call __ieee754_exp before checking for overflow and
64524         underflow.
64525         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
64526         (u_threshold): Likewise.
64527         (__expf): Call __ieee754_expf before checking for overflow and
64528         underflow.
64529         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
64530         (u_threshold): Likewise.
64531         (__expl): Call __ieee754_expl before checking for overflow and
64532         underflow.
64533         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
64534         (__ieee754_expl): Allow for and saturate large arguments.
64535         * math/libm-test.inc (exp_test): Add another test.  Do not allow
64536         missing overflow exception on overflow.
64537         (expm1_test): Do not allow missing overflow exception on overflow.
64539         * sysdeps/i386/fpu/e_expl.c: Move to ...
64540         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
64541         rather than using inline asm.
64542         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
64543         * sysdeps/x86_64/fpu/e_expl.S: Copy from
64544         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
64546         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
64547         (nice): Likewise.
64548         (poll): Likewise.
64549         (signal): Likewise.
64550         (time): Likewise.
64551         (times): Likewise.
64553 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64555         * sysdeps/unix/syscalls.list (adjtime): Add entry from
64556         sysdeps/unix/common/syscalls.list.
64557         (fchmod): Likewise.
64558         (fchown): Likewise.
64559         (ftruncate): Likewise.
64560         (getrusage): Likewise.
64561         (gettimeofday): Likewise.
64562         (setpgid): Likewise.
64563         (setregid): Likewise.
64564         (setreuid): Likewise.
64565         (sigaction): Likewise.
64566         (truncate): Likewise.
64567         (vhangup): Likewise.
64568         * sysdeps/unix/common/syscalls.list: Remove file.
64569         * sysdeps/unix/bsd/Implies: Don't include unix/common.
64570         * sysdeps/unix/sysv/linux/Implies: Likewise.
64572 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
64574         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
64575         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
64576         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
64577         Moved to ...
64578         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
64579         Here.
64580         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
64581         to ...
64582         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
64583         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
64584         to ...
64585         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
64586         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
64587         to ...
64588         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
64589         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
64590         to ...
64591         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
64592         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
64593         to ...
64594         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
64595         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
64596         to ...
64597         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
64598         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
64599         to ...
64600         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64601         Here.
64602         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
64603         to ...
64604         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
64605         Here.
64606         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
64607         to ...
64608         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
64609         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
64610         Moved to ...
64611         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
64612         Here.
64613         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
64614         to ...
64615         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
64617 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64619         * sysdeps/unix/common/bits/dirent.h: Remove file.
64620         * sysdeps/unix/common/bits/fcntl.h: Likewise.
64622         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
64623         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
64624         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
64625         * sysdeps/unix/bsd/isatty.c: Likewise.
64626         * sysdeps/unix/bsd/tcdrain.c: Likewise.
64627         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
64628         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
64630 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64632         [BZ #13563]
64633         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
64634         long double comparison inaccuracies.
64635         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
64636         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64638 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
64640         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
64641         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
64643 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64645         [BZ #14049]
64646         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
64647         nonzero digits before rounding a hex value.
64648         * stdlib/tst-strtod.c (tests): Add another test.
64650 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64652         * sysdeps/s390/fpu/libm-test-ulps: Update.
64654 2012-05-03  Andreas Jaeger  <aj@suse.de>
64656         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
64657         does not get optimized out.
64658         (malloc_opt_barrier): New.
64660 2012-05-03  Andreas Jaeger  <aj@suse.de>
64661             Roland McGrath  <roland@hack.frob.com>
64663         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
64664         intermediate file deletion.
64665         (generated): Add .symlist files.
64667 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
64669         [BZ #13775]
64670         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
64671         Redirect under this condition.
64672         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64673         [__USE_GNU] (__dprintf_chk): Not under this condition.
64674         [__USE_GNU] (__vdprintf_chk): Likewise.
64675         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
64676         under this condition.
64677         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64678         [__USE_XOPEN2K8] (dprintf): Define under this condition.
64679         [__USE_XOPEN2K8] (vdprintf): Likewise.
64680         [__USE_GNU] (__dprintf_chk): Not under this condition.
64681         [__USE_GNU] (__vdprintf_chk): Likewise.
64682         [__USE_GNU] (dprintf): Likewise.
64683         [__USE_GNU] (vdprintf): Likewise.
64685 2012-05-03  Roland McGrath  <roland@hack.frob.com>
64687         * elf/Makefile (common-generated): Set this instead of generated for
64688         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
64689         $(all-built-dso)-derived lists.
64691 2012-05-03  Andreas Jaeger  <aj@suse.de>
64693         * sysdeps/i386/fpu/libm-test-ulps: Update.
64695         * FAQ: Removed.
64696         * FAQ.in: Likewise.
64697         * scripts/gen-FAQ.pl: Likewise.
64698         * manual/install.texi (Installation): Point to online location of
64699         FAQ.
64700         * Makefile (files-for-dist): Remove FAQ.
64701         (FAQ): Remove.
64703 2012-05-02  Allan McRae  <allan@archlinux.org>
64705         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
64706         (LDFLAGS-reldepmod5.so): Likewise.
64707         (LDFLAGS-reldep6mod1.so): Likewise.
64708         (LDFLAGS-reldep6mod4.so): Likewise.
64709         (LDFLAGS-reldep8mod3.so): Likewise.
64710         (LDFLAGS-unload4mod1.so): Likewise.
64711         (LDFLAGS-unload4mod2.so): Likewise.
64712         (LDFLAGS-tst-initorder): Likewise.
64713         (LDFLAGS-tst-initordera2.so): Likewise.
64714         (LDFLAGS-tst-initordera3.so): Likewise.
64715         (LDFLAGS-tst-initordera4.so): Likewise.
64716         (LDFLAGS-tst-initorderb2.so): Likewise.
64717         (LDFLAGS-noload): Likewise.
64718         (LDFLAGS-next): Likewise.
64719         (LDFLAGS-order2mod1.so): Likewise.
64720         (LDFLAGS-order2mod2.so): Likewise.
64721         (LDFLAGS-tst-initorder2): Likewise.
64722         (LDFLAGS-tst-initorder2a.so): Likewise.
64723         (LDFLAGS-tst-initorder2b.so): Likewise.
64724         (LDFLAGS-tst-initorder2c.so): Likewise.
64725         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
64727 2012-05-02  David S. Miller  <davem@davemloft.net>
64729         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64731 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
64733         [BZ #14055]
64734         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
64736 2012-05-02  Andreas Jaeger  <aj@suse.de>
64738         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
64739         since we manipulate rounding mode.
64740         (CPPFLAGS-test-idouble.c): Likewise.
64741         (CPPFLAGS-test-ifloat.c): Likewise.
64742         (CFLAGS-test-ldouble.c): Likewise.
64743         (CFLAGS-test-double.c): Likewise.
64744         (CFLAGS-test-float.c): Likewise.
64745         (CFLAGS-test-misc.c): Likewise.
64746         (CFLAGS-test-test-fenv.c): Likewise.
64748 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64750         [BZ #2550]
64751         [BZ #2570]
64752         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
64753         comparisons to determine direction to adjust input.
64755 2012-05-01  Roland McGrath  <roland@hack.frob.com>
64757         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
64758         output to the target.
64760         * scripts/localplt.awk: New file.
64761         * elf/Makefile ($(objpfx)check-localplt): Target removed.
64762         (check-localplt-CFLAGS): Variable removed.
64763         ($(all-built-dso:=.jmprel)): New static pattern rule.
64764         (generated): Add those targets.
64765         (localplt-built-dso): New variable.
64766         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
64768         * elf/check-localplt.c: File removed.
64770         * scripts/check-execstack.awk: New file.
64771         * elf/Makefile ($(objpfx)check-execstack): Target removed.
64772         (check-execstack-CFLAGS): Variable removed.
64773         ($(objpfx)check-execstack.h): Target removed.
64774         ($(objpfx)execstack-default): New target.
64775         (generated): Add that instead of check-execstack.h.
64776         ($(all-built-dso:=.phdr)): New static pattern rule.
64777         (generated): Add those targets.
64778         * elf/check-execstack.c: File removed.
64780         * scripts/check-textrel.awk: New file.
64781         * elf/Makefile ($(objpfx)check-textrel): Target removed.
64782         (check-textrel-CFLAGS): Variable removed.
64783         (all-built-dso): Use := to define.o
64784         ($(all-built-dso:=.dyn)): New static pattern rule.
64785         (generated): Add those targets.
64786         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
64787         * config.make.in (READELF): New substituted variable.
64788         * elf/check-textrel.c: File removed.
64790 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
64792         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64793         allow.
64794         * conform/data/ctype.h-data [C99-based standards] (isblank):
64795         Expect function.
64796         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
64797         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
64798         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64799         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
64800         Specify type.  Require positive value.
64801         (EILSEQ): Likewise.
64802         (ERANGE): Likewise.
64803         [ISO || POSIX] (EILSEQ): Do not expect.
64804         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
64805         Specify type.  Require positive value.
64806         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
64807         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
64808         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
64809         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
64810         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
64811         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
64812         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
64813         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
64814         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
64815         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
64816         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
64817         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
64818         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
64819         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
64820         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
64821         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
64822         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
64823         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
64824         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
64825         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
64826         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
64827         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
64828         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
64829         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
64830         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
64831         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
64832         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
64833         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
64834         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
64835         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
64836         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
64837         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
64838         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
64839         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
64840         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
64841         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
64842         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
64843         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
64844         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
64845         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
64846         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
64847         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
64848         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
64849         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
64850         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
64851         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
64852         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
64853         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
64854         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
64855         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
64856         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
64857         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
64858         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
64859         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
64860         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
64861         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
64862         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
64863         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
64864         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
64865         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
64866         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
64867         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
64868         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
64869         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
64870         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
64871         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
64872         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
64873         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
64874         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
64875         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
64876         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
64877         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
64878         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
64879         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
64880         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
64881         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
64882         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
64883         Require >= 2.
64884         (FLT_ROUNDS): Expect as macro, not constant.
64885         (FLT_MANT_DIG): Use macro-int-constant.
64886         (DBL_MANT_DIG): Likewise.
64887         (LDBL_MANT_DIG): Likewise.
64888         (FLT_DIG): Likewise.
64889         (DBL_DIG): Likewise.
64890         (LDBL_DIG): Likewise.
64891         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
64892         (DBL_MIN_EXP): Likewise.
64893         (LDBL_MIN_EXP): Likewise.
64894         (FLT_MAX_EXP): Use macro-int-constant.
64895         (DBL_MAX_EXP): Likewise.
64896         (LDBL_MAX_EXP): Likewise.
64897         (FLT_MAX_10_EXP): Likewise.
64898         (DBL_MAX_10_EXP): Likewise.
64899         (LDBL_MAX_10_EXP): Likewise.
64900         (FLT_MAX): Use macro-constant.
64901         (DBL_MAX): Likewise.
64902         (LDBL_MAX): Likewise.
64903         (FLT_EPSILON): Use macro-constant.  Give upper bound.
64904         (DBL_EPSILON): Likewise.
64905         (LDBL_EPSILON): Likewise.
64906         (FLT_MIN): Likewise.
64907         (DBL_MIN): Likewise.
64908         (LDBL_MIN): Likewise.
64909         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
64910         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
64911         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
64912         [ISO11] (FLT_HAS_SUBNORM): Likewise.
64913         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
64914         [ISO11] (DBL_DECIMAL_DIG): Likewise.
64915         [ISO11] (FLT_DECIMAL_DIG): Likewise.
64916         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
64917         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
64918         [ISO11] (FLT_TRUE_MIN): Likewise.
64919         [ISO11] (LDBL_TRUE_MIN): Likewise.
64920         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64921         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
64922         (SCHAR_MIN): Use macro-int-constant.  Specify type.
64923         (SCHAR_MAX): Likewise.
64924         (UCHAR_MAX): Likewise.
64925         (CHAR_MIN): Likewise.
64926         (CHAR_MAX): Likewise.
64927         (MB_LEN_MAX): Use macro-int-constant.
64928         (SHRT_MIN): Use macro-int-constant.  Specify type.
64929         (SHRT_MAX): Likewise.
64930         (USHRT_MAX): Likewise.
64931         (INT_MAX): Likewise.
64932         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
64933         bound negative.
64934         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64935         bound with "U".
64936         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64937         bound with "L".
64938         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
64939         bound negative.  Suffix upper bound with "L".
64940         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64941         bound with "UL".
64942         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
64943         Specify type.
64944         [C99-based standards] (LLONG_MAX): Likewise.
64945         [C99-based standards] (ULLONG_MAX): Likewise.
64946         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
64947         == 0.
64948         [ISO11] (max_align_t): Require type.
64949         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64951         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
64952         from $CFLAGS, without defining away __attribute__ calls.
64953         (checknamespace): Use $CFLAGS_namespace.
64955         * conform/conformtest.pl (@keywords): Only include C99 keywords
64956         for standards based on C99 or C11.
64958         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
64959         Disable tests.
64960         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
64961         UNIX98]: Likewise.
64963         * conform/conformtest.pl: Handle "macro-int-constant" and test for
64964         usability of symbols in #if.
64966         * conform/conformtest.pl: If macro or constant types start
64967         "promoted:", expect the symbol to be of the following type
64968         promoted by the integer promotions.
64970         * conform/conformtest.pl: Parse all "constant" and "macro" lines
64971         in one place.  Also handle "macro-constant".
64973         * conform/conformtest.pl: Only accept expected macro values with
64974         "==".  Parse all "macro" lines in one place.
64975         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
64977         * conform/conformtest.pl: Handle braced types on "constant" lines
64978         instead of handling "typed-constant".
64979         * conform/data/signal.h-data: Use "constant" instead of
64980         "typed-constant".
64982         * conform/conformtest.pl: Handle "optional-" at start of lines in
64983         one place rather than duplicating several cases.  Handle each
64984         format of "macro" line with initial "optional-".
64986         * conform/conformtest.pl: Only accept expected constant or
64987         optional-constant values with "==".  Parse all "constant" lines in
64988         one place.  Parse all "optional-constant" lines in one place.
64989         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
64990         * conform/data/fmtmsg.h-data: Likewise.
64991         * conform/data/netinet/in.h-data: Likewise.
64992         * conform/data/tar.h-data: Likewise.
64993         * conform/data/limits.h-data: Use "==" form on "constant" and
64994         "optional-constant" lines.
64996         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
64997         Use -std=c99 for XOPEN2K.
64998         (@knownproblems): Remove.
64999         (newtoken): Don't check %isknown.
65001         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
65002         Do not expect macro.
65003         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
65004         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
65005         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
65006         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
65007         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
65008         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
65009         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
65010         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
65011         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
65012         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
65013         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
65014         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
65015         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
65016         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
65017         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
65018         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
65019         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
65020         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
65021         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
65022         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
65023         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
65024         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
65025         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
65026         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
65027         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
65028         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
65029         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
65030         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
65031         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
65032         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
65033         [XPG3] (acosh): Likewise.
65034         [XPG3] (asinh): Likewise.
65035         [XPG3] (atanh): Likewise.
65036         [XPG3] (cbrt): Likewise.
65037         [XPG3] (expm1): Likewise.
65038         [XPG3] (ilogb): Likewise.
65039         [XPG3] (log1p): Likewise.
65040         [XPG3] (logb): Likewise.
65041         [XPG3] (nextafter): Likewise.
65042         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
65043         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
65044         [XPG3] (remainder): Likewise.
65045         [XPG3] (rint): Likewise.
65046         [XPG3 || XPG4 || UNIX98] (round): Likewise.
65047         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
65048         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
65049         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
65050         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
65051         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
65052         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
65053         [UNIX98 || XOPEN2K] (scalb): Expect.
65054         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
65055         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
65056         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
65057         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
65058         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
65059         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
65060         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
65061         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
65062         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
65063         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
65064         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
65065         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
65066         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
65067         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
65068         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
65069         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
65070         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
65071         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
65072         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
65073         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
65074         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
65075         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
65076         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
65077         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
65078         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
65079         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
65080         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
65081         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
65082         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
65083         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
65084         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
65085         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
65086         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
65087         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
65088         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
65089         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
65090         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
65091         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
65092         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
65093         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
65094         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
65095         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
65096         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
65097         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
65098         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
65099         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
65100         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
65101         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
65102         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
65103         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
65104         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
65105         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
65106         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
65107         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
65108         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
65109         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
65110         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
65111         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
65112         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
65113         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
65114         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
65115         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
65116         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
65117         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
65118         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
65119         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
65120         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
65121         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
65122         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
65123         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
65124         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
65125         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
65126         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
65127         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
65128         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
65129         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
65130         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
65131         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
65132         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
65133         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
65134         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
65135         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
65136         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
65137         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
65138         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
65139         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
65140         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
65141         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
65142         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
65143         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
65144         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
65145         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
65146         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
65147         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
65148         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
65149         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
65150         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
65151         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
65152         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
65153         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
65154         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
65155         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
65156         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
65157         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
65158         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
65159         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
65160         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
65161         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
65162         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
65163         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
65164         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
65165         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
65166         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
65167         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
65168         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
65169         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
65170         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
65171         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
65172         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
65173         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
65174         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
65175         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
65176         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
65177         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
65178         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
65179         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
65180         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
65181         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
65182         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
65183         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
65184         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
65185         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
65186         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
65187         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
65188         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
65189         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
65190         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
65192         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
65193         _XOPEN_SOURCE_EXTENDED for XPG4.
65195         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
65197         * Makeconfig (localtime): Remove variable.
65198         (inst_localtime-file): Likewise.
65200 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
65202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
65203         Update.
65204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65205         Update.
65206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
65207         Update.
65208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
65209         Update.
65210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
65211         Update.
65212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
65213         Update.
65214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65215         Update.
65216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
65217         Update.
65218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65219         Update.
65221 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
65223         [BZ #2550]
65224         [BZ #2570]
65225         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
65226         comparisons to determine direction to adjust input.
65227         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
65228         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
65229         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
65230         Likewise.
65231         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
65232         Likewise.
65233         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
65234         Likewise.
65235         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
65236         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
65237         Likewise.
65238         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
65239         Likewise.
65240         * math/libm-test.inc (nexttoward_test): Add more tests.
65242 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
65244         [BZ #14040]
65245         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
65246         in version GLIBC_2.1, not GLIBC_2.0.
65247         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
65248         Likewise.
65250 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
65252         [BZ #13942]
65253         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
65254         (1 - x) * (1 + x).
65255         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65256         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
65257         * math/libm-test.inc (acos_test): Add more tests.
65258         (asin_test): Likewise.
65259         * sysdeps/i386/fpu/libm-test-ulps: Update.
65260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65262         [BZ #14034]
65263         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
65264         of square root.
65265         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
65266         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65267         * math/libm-test.inc (acos_test_tonearest): New function.
65268         (acos_test_towardzero): Likewise.
65269         (acos_test_downward): Likewise.
65270         (acos_test_upward): Likewise.
65271         (asin_test_tonearest): Likewise.
65272         (asin_test_towardzero): Likewise.
65273         (asin_test_downward): Likewise.
65274         (asin_test_upward): Likewise.
65275         (main): Call the new functions.
65276         * sysdeps/i386/fpu/libm-test-ulps: Update.
65277         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65279         [BZ #13884]
65280         [BZ #13924]
65281         * math/e_exp10.c: Include <float.h>.
65282         (__ieee754_exp10): Handle underflow here rather than multiplying
65283         large negative argument by M_LN10.
65284         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
65285         of __ieee754_expf.
65286         * math/e_exp10l.c: Include <float.h>.
65287         (__ieee754_exp10l): Handle underflow here rather than multiplying
65288         large negative argument by M_LN10l.
65289         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
65290         spurious overflow exception on underflow.
65292 2012-04-29  Marek Polacek  <polacek@redhat.com>
65294         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
65295         (__fortify_function): New macro.
65296         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
65297         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
65298         __extern_always_inline.
65299         * libio/bits/stdio2.h: Likewise.
65300         * libio/bits/stdio.h: Likewise.
65301         * string/string.h: Likewise.
65302         * string/bits/string3.h: Likewise.
65303         * include/stdio.h: Likewise.
65304         * stdlib/bits/stdlib.h: Likewise.
65305         * stdlib/stdlib.h: Likewise.
65306         * rt/bits/mqueue2.h: Likewise.
65307         * rt/mqueue.h: Likewise.
65308         * posix/bits/unistd.h: Likewise.
65309         * posix/unistd.h: Likewise.
65310         * io/bits/poll2.h: Likewise.
65311         * io/bits/fcntl2.h: Likewise.
65312         * io/fcntl.h: Likewise.
65313         * io/sys/poll.h: Likewise.
65314         * misc/bits/syslog.h: Likewise.
65315         * misc/bits/syslog-ldbl.h: Likewise.
65316         * misc/sys/syslog.h: Likewise.
65317         * socket/bits/socket2.h: Likewise.
65318         * socket/sys/socket.h: Likewise.
65319         * debug/tst-chk1.c: Likewise.
65320         * wcsmbs/bits/wchar2.h: Likewise.
65321         * wcsmbs/bits/wchar-ldbl.h: Likewise.
65322         * wcsmbs/wchar.h: Likewise.
65324 2012-04-29  Andreas Jaeger  <aj@suse.de>
65326         * Makerules (tests): Remove enable-check-abi protection.
65327         (check-abi-warn): Remove.
65328         (check-abi-%): Remove check-abi-warn usage.
65330         * configure.in: Remove check-abi configure option.
65331         * configure: Regenerated.
65332         * config.make.in (enable-check-abi): Remove.
65334 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
65336         [BZ #14033]
65337         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
65338         double functions to double *_finite functions.
65340         [BZ #13941]
65341         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
65342         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
65343         LDBL_MIN_EXP.
65344         * stdio-common/Makefile (tests): Add tst-sprintf3.
65345         * stdio-common/tst-sprintf3.c: New file.
65347         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
65348         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
65350 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65352         * conform/conformtest.pl: Remove duplicate typed-constant
65353         handling.
65355 2012-04-28  David S. Miller  <davem@davemloft.net>
65357         * Makerules (%.abilist): Add vpath on sysdep_dirs.
65358         (check-abi-%): Remove AWK script prerequisite and explicit
65359         abilist directory.
65360         (check-abi): Rewrite to just diff the symlist with the abilist.
65361         (config-tls, config-abi-config): Delete, no longer used.
65362         (update-abi-%): Remove AWK script and explicit abilist directory.
65363         (update-abi): Rewrite to simply compare and conditionally copy the
65364         symlist and the sysdep abilist file.  Remove update-abi-config
65365         checks.
65366         * abilist/ld.abilist: Remove.
65367         * abilist/libBrokenLocale.abilist: Remove.
65368         * abilist/libanl.abilist: Remove.
65369         * abilist/libcrypt.abilist: Remove.
65370         * abilist/libdl.abilist: Remove.
65371         * abilist/librt.abilist: Remove.
65372         * abilist/libthread_db.abilist: Remove.
65373         * abilist/libutil.abilist: Remove.
65374         * scripts/extract-abilist.awk: Remove.
65375         * scripts/merge-abilist.awk: Remove.
65376         * sysdeps/generic/libcidn.abilist: New file.
65377         * sysdeps/generic/libnss_compat.abilist: New file.
65378         * sysdeps/generic/libnss_db.abilist: New file.
65379         * sysdeps/generic/libnss_dns.abilist: New file.
65380         * sysdeps/generic/libnss_files.abilist: New file.
65381         * sysdeps/generic/libnss_hesiod.abilist: New file.
65382         * sysdeps/generic/libnss_nis.abilist: New file.
65383         * sysdeps/generic/libnss_nisplus.abilist: New file.
65384         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
65385         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
65386         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
65387         file.
65388         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
65389         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
65390         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
65391         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
65392         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
65393         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
65394         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
65395         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
65396         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
65397         file.
65398         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
65399         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
65400         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
65401         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
65402         file.
65403         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
65404         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
65405         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
65406         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
65407         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
65408         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
65409         file.
65410         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
65411         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
65412         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
65413         file.
65414         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
65415         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
65416         New file.
65417         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
65418         New file.
65419         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
65420         New file.
65421         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
65422         New file.
65423         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
65424         New file.
65425         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
65426         New file.
65427         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
65428         New file.
65429         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
65430         New file.
65431         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
65432         New file.
65433         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
65434         New file.
65435         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
65436         New file.
65437         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
65438         New file.
65439         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
65440         New file.
65441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
65442         file.
65443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
65444         New file.
65445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
65446         New file.
65447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
65448         file.
65449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
65450         New file.
65451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
65452         New file.
65453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
65454         file.
65455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
65456         New file.
65457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65458         New file.
65459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
65460         New file.
65461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
65462         New file.
65463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
65464         New file.
65465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
65466         New file.
65467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
65468         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
65469         file.
65470         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
65471         New file.
65472         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
65473         file.
65474         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
65475         file.
65476         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
65477         file.
65478         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
65479         file.
65480         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
65481         file.
65482         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65483         New file.
65484         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
65485         file.
65486         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
65487         file.
65488         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
65489         New file.
65490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
65491         file.
65492         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
65493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
65494         file.
65495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
65496         New file.
65497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
65498         file.
65499         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
65500         file.
65501         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
65502         file.
65503         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
65504         file.
65505         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
65506         file.
65507         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65508         New file.
65509         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
65510         file.
65511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
65512         file.
65513         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
65514         New file.
65515         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
65516         file.
65517         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
65518         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
65519         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
65520         file.
65521         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
65522         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
65523         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
65524         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
65525         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
65526         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
65527         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
65528         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
65529         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
65530         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
65531         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
65532         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
65533         file.
65534         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
65535         New file.
65536         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
65537         file.
65538         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
65539         file.
65540         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
65541         file.
65542         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
65543         file.
65544         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
65545         file.
65546         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
65547         New file.
65548         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
65549         New file.
65550         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
65551         file.
65552         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
65553         New file.
65554         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
65555         file.
65556         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
65557         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
65558         file.
65559         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
65560         New file.
65561         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
65562         file.
65563         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
65564         file.
65565         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
65566         file.
65567         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
65568         file.
65569         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
65570         file.
65571         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
65572         New file.
65573         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
65574         New file.
65575         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
65576         file.
65577         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
65578         New file.
65579         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
65580         file.
65582 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65584         * conform/conformtest.pl: Fix typo in handling typed-constant from
65585         allow-header.
65587 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65589         * README: Cut down references to pre-2.6 Linux kernels and
65590         Linuxthreads.  Update lists of configurations in libc and ports
65591         and sort alphabetically.  Say "or newer" with Linux kernel version
65592         requirements.
65594         * config.h.in [IS_IN_build]: Allow compiling without optimization.
65596 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65598         [BZ #887]
65599         * math/libm-test.inc (logb_test_downward): New test to expose
65600         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
65601         rounding mode.
65603 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65605         [BZ #14027]
65606         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
65607         to be done.
65608         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
65609         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
65611 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
65613         * sysdeps/unix/i386/brk.S: Remove file.
65614         * sysdeps/unix/i386/dl-brk.S: Likewise.
65615         * sysdeps/unix/i386/pipe.S: Likewise.
65616         * sysdeps/unix/i386/sigreturn.S: Likewise.
65617         * sysdeps/unix/i386/syscall.S: Likewise.
65618         * sysdeps/unix/i386/vfork.S: Likewise.
65619         * sysdeps/unix/i386/wait.S: Likewise.
65621         * sysdeps/unix/common/tcsendbrk.c: Move to ...
65622         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
65624         * configure.in (arm*-none*): Do not allow without
65625         --enable-hacker-mode.
65626         (netbsd*): Remove case setting base_os.
65627         (386bsd*): Likewise.
65628         (freebsd*): Likewise.
65629         (bsdi*): Likewise.
65630         (osf*): Likewise.
65631         (sunos*): Likewise.
65632         (ultrix*): Likewise.
65633         (newsos*): Likewise.
65634         (dynix*): Likewise.
65635         (*bsd*): Likewise.
65636         (sysv*): Likewise.
65637         (isc*): Likewise.
65638         (esix*): Likewise.
65639         (sco*): Likewise.
65640         (minix*): Likewise.
65641         (irix4*): Likewise.
65642         (irix6*): Likewise.
65643         (solaris[2-9]*): Likewise.
65644         (none): Likewise.
65645         * configure: Regenerated.
65647 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65649         [BZ #11521]
65650         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
65651         overflow or cancellation in calculating denominator.
65652         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
65653         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
65654         down expression to avoid unexpected rounding in newer GCCs.
65655         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
65657 2012-04-26  David S. Miller  <davem@davemloft.net>
65659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
65660         long-double compat symbols.
65661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
65663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
65664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
65665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
65666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
65667         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
65668         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
65669         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
65670         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
65671         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
65672         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
65673         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
65675 2012-04-25  David S. Miller  <davem@davemloft.net>
65677         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
65678         HWCAP_* values only after the memory barriers have been defined.
65679         (atomic_full_barrier): Define.
65680         (atomic_read_barrier): Define.
65681         (atomic_write_barrier): Define.
65683 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65685         * shlib-versions: Add libgcc_s version information.
65686         * sysdeps/generic/libgcc_s.h: Remove.
65687         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
65688         libgcc_s.h.
65689         * sysdeps/gnu/unwind-resume.c: Likewise.
65690         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
65692 2012-04-25  David S. Miller  <davem@davemloft.net>
65694         * sysdeps/unix/sparc/brk.S: Delete.
65695         * sysdeps/unix/sparc/dl-brk.S: Delete.
65696         * sysdeps/unix/sparc/pipe.S: Delete.
65697         * sysdeps/unix/sparc/sysdep.S: Delete.
65698         * sysdeps/unix/sparc/sysdep.h: Delete.
65699         * sysdeps/unix/sparc/vfork.S: Delete.
65700         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
65701         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
65702         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
65703         (ret_ERRVAL, r0, r1, MOVE): Define.
65704         (JUMPTARGET): Remove.
65705         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
65706         sysdeps/unix/sparc/sysdep.h
65707         (ENTRY, END): Remove.
65708         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65710 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
65712         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
65713         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
65714         -DIS_IN_build.
65716         * timezone/README: Update upstream location and email address for
65717         tzcode and tzdata.
65718         * timezone/zdump.c: Update from tzcode 2012b.
65719         * timezone/zic.c: Likewise.
65721         * configure.in (libc_cv_as_needed): Remove test.
65722         * configure: Regenerated.
65723         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
65724         conditional definition.
65725         [$(have-as-needed) != yes] (no-as-needed): Likewise.
65726         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
65727         * config.make.in (have-as-needed): Remove variable.
65729 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
65730             Paul Pluzhnikov  <ppluzhnikov@google.com>
65732         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
65733         strings correctly.
65735 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
65737         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
65738         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
65739         * sysdeps/sh/strlen.S: Likewise.
65741 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65743         * sysdeps/unix/fork.S: Remove file.
65744         * sysdeps/unix/i386/fork.S: Likewise.
65745         * sysdeps/unix/sparc/fork.S: Likewise.
65747         * sysdeps/unix/system.c: Remove file.
65748         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
65750         * sysdeps/unix/getegid.S: Remove file.
65751         * sysdeps/unix/geteuid.S: Likewise.
65753 2012-04-24  Roland McGrath  <roland@hack.frob.com>
65755         * scripts/check-localplt.awk: New file.
65756         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
65757         of diff.
65758         * scripts/data/localplt-generic.data: Add a comment.
65760         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
65761         NODE when __dir_mkfile failed.
65762         * sysdeps/mach/hurd/symlinkat.c: Likewise.
65763         Reported by Ludovic Courtès <ludo@gnu.org>.
65765 2012-04-24  Andreas Jaeger  <aj@suse.de>
65767         * Makerules (common-clean): Also remove gen-as-const-headers
65768         files.
65770 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65772         * Makerules (native-compile): Do not change working directory for
65773         build.  Use $(OUTPUT_OPTION) in command.
65774         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
65776 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65778         [BZ #13886]
65779         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
65780         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
65781         * math/libm-test.inc (floor_test): Add more tests.
65782         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
65784 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65786         * sysdeps/unix/getdents.c: Remove file.
65787         * sysdeps/unix/sysv/getdents.c: Likewise.
65788         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
65790         * sysdeps/unix/syscalls.list (madvise): Add syscall from
65791         sysdeps/unix/mman/syscalls.list.
65792         (mmap): Likewise.
65793         (mprotect): Likewise.
65794         (msync): Likewise.
65795         (munmap): Likewise.
65796         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
65797         * sysdeps/unix/mman/syscalls.list: Remove.
65798         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
65800         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
65801         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
65802         * configure: Regenerated.
65803         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
65804         $(libgcc_s_suffix).
65805         * config.make.in (libgcc_s_suffix): Remove variable.
65807 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
65809         * sysdeps/unix/sysv/gethostname.c: Move to ...
65810         * sysdeps/posix/gethostname.c: ... here.
65812         * sysdeps/unix/execve.S: Remove file.
65814         * sysdeps/unix/_exit.S: Remove file.
65816 2012-04-23  Andreas Jaeger  <aj@suse.de>
65818         [BZ #13739]
65819         * manual/Makefile: Remove make dist support, there's no
65820         need for a stand-alone documentation tar ball.
65821         (TEXI2DVI): Define always, it's not in Makeconfig.
65822         (dist): Removed.
65823         (tar-it): Removed.
65824         (edition): Removed.
65825         (glibc-doc-$(edition).tar): Removed
65826         (%.Z): Removed.
65827         (%.gz): Removed.
65828         (%.uu): Removed.
65829         (ETAGS): Remove, it's in Makeconfig.
65830         (move-if-change): Remove, it's in Makeconfig.
65832 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
65834         [BZ #13970]
65835         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
65836         (strtod, strtof, strtold, strtol, strtoul, strtoq)
65837         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
65838         (strtod_l, strtof_l, strtold_l): Remove __wur.
65839         It is not necessarily an error to ignore strtol's return value.
65840         One can reliably look at the stored endptr to decide whether
65841         the number had valid syntax.
65843 2012-04-21  Andreas Jaeger  <aj@suse.de>
65845         [BZ #13739]
65846         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
65848 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
65850         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
65851         * sysdeps/unix/sysv/Versions: Remove file.
65853 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
65855         [BZ #13927]
65856         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65858 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
65860         [BZ #7064]
65861         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
65862         version from __vm86.
65864 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
65866         * sysdeps/unix/common/lxstat.c: Remove file.
65867         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
65869         * sysdeps/unix/sysv/Makefile: Remove file.
65871         * sysdeps/unix/sysv/direct.h: Remove file.
65873         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
65874         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
65875         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
65876         * sysdeps/unix/sysv/bits/signum.h: Likewise.
65877         * sysdeps/unix/sysv/bits/stat.h: Likewise.
65878         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
65879         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
65881         * sysdeps/unix/sysv/setrlimit.c: Remove file.
65883         * sysdeps/unix/xmknod.c: Remove file.
65884         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
65886         * sysdeps/unix/sysv/settimeofday.c: Remove file.
65888         * sysdeps/unix/sysv/i386/time.S: Remove file.
65890         * sysdeps/unix/fxstat.c: Remove file.
65891         * sysdeps/unix/xstat.c: Likewise.
65892         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
65894         * sysdeps/unix/sysv/sigaction.c: Remove file.
65896         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
65897         (sysdep_headers): Remove variable.
65898         [termio.h not in sysdep_headers] (generated): Likewise.
65899         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
65900         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
65901         * sysdeps/unix/sysv/tcdrain.c: Likewise.
65902         * sysdeps/unix/sysv/tcflow.c: Likewise.
65903         * sysdeps/unix/sysv/tcflush.c: Likewise.
65904         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
65905         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
65906         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
65907         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
65908         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
65910         * sysdeps/unix/siglist.c: Remove file.
65912         * sysdeps/unix/getppid.S: Remove file.
65914         * sysdeps/unix/mkdir.c: Remove file.
65915         * sysdeps/unix/rmdir.c: Likewise.
65917 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
65919         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
65920         ERR_MAX value.
65921         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
65922         errlist-compat value.
65924 2012-04-18  David S. Miller  <davem@davemloft.net>
65926         * sysdeps/generic/memcopy.h (reg_char): Delete.
65927         * debug/strcat_chk.c: Use char, not reg_char.
65928         * debug/strcpy_chk.c: Likewise.
65929         * debug/strncat_chk.c: Likewise.
65930         * debug/strncpy_chk.c: Likewise.
65931         * string/memchr.c: Likewise.
65932         * string/memrchr.c: Likewise.
65933         * string/rawmemchr.c: Likewise.
65934         * string/strcat.c: Likewise.
65935         * string/strchr.c: Likewise.
65936         * string/strchrnul.c: Likewise.
65937         * string/strcmp.c: Likewise.
65938         * string/strcpy.c: Likewise.
65939         * string/strncat.c: Likewise.
65940         * string/strncmp.c: Likewise.
65941         * string/strncpy.c: Likewise.
65943 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65945         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
65946         __builtin_memcopy is called when src and dest ranges are known to not
65947         overlap.
65949 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65951         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
65952         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
65953         fwd_align_merge macro call.
65954         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
65955         bwd_align_merge macro call.
65956         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65958 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65960         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
65961         bwd_align_merge macros.
65962         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
65963         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
65964         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65966 2012-04-18  David S. Miller  <davem@davemloft.net>
65968         * sysdeps/sparc/sparc64/memcopy.h: Delete.
65970 2012-04-18  Andreas Jaeger  <aj@suse.de>
65972         [BZ# 6794]
65973         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
65974         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
65975         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65977         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
65978         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
65979         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65981         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
65982         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
65983         Adjust for changed ldbl-128 files.
65985         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
65986         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
65987         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65989 2012-04-17  David S. Miller  <davem@davemloft.net>
65991         * sysdeps/sparc/sparc32/memcopy.h: Delete.
65993 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
65995         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
65996         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
65997         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
65998         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
65999         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
66000         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
66002 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66004         [BZ #6794]
66005         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
66006         * math/libm-test.inc: Add ilogb errno and exception tests.
66007         * math/w_ilogb.c: New file: ilogb wrapper.
66008         * math/w_ilogbf.c: New file: ilogbf wrapper.
66009         * math/w_ilogbl.c: New file: ilogbl wrapper.
66010         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
66011         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
66012         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
66013         exception being thrown with 0.0 as argument.
66014         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
66015         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
66016         exception being thrown with 0.0 as argument.
66017         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
66018         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66019         exception being thrown with 0.0 as argument.
66020         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
66021         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66022         exception being thrown with 0.0 as argument.
66023         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
66024         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
66025         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
66026         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
66027         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
66028         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
66029         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
66030         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
66031         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
66033 2012-04-17  Petr Baudis  <pasky@ucw.cz>
66035         * include/sys/uio.h: Change __vector to __iovec to avoid clash
66036         with altivec.
66038 2012-04-16  Marek Polacek  <polacek@redhat.com>
66040         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
66042 2012-04-16  Marek Polacek  <polacek@redhat.com>
66044         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
66045         operands of fdivp instruction.
66047 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
66049         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
66050         * elf/tst-auditmod3b.c: Likewise.
66051         * elf/tst-auditmod4b.c: Likewise.
66052         * elf/tst-auditmod5b.c: Likewise.
66053         * elf/tst-auditmod6b.c: Likewise.
66054         * elf/tst-auditmod6c.c: Likewise.
66055         * elf/tst-auditmod7b.c: Likewise.
66056         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
66057         * sysdeps/x86_64/preconfigure.in: Likewise.
66058         * sysdeps/x86_64/preconfigure: Regenerated.
66060 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
66062         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
66063         __ILP32__.
66065 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
66067         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66068         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
66070 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
66072         [BZ #13973]
66073         * locale/iso-639.def: Fix gl language name. Spotted by
66074         Yaron Shahrabani.
66076 2012-04-12  Roland McGrath  <roland@hack.frob.com>
66078         [BZ #2074]
66079         * libio/libio.h (__io_write_fn): Update comment.
66081 2012-04-12  Petr Baudis  <pasky@ucw.cz>
66083         [BZ #2074]
66084         * stdio.texi (Hook Functions): The user provided writer function
66085         is not allowed to return -1.
66087 2012-04-11  David S. Miller  <davem@davemloft.net>
66089         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66091 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
66093         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
66094         Add a leading slash to rtkaio.
66096 2012-04-11  Jim Meyering  <meyering@redhat.com>
66098         [BZ #11959]
66099         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
66100         It is not necessarily an error to ignore fwrite's return
66101         value.  One can reliably use ferror to test for errors after
66102         the fact.
66104 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
66106         * bits/types.h (__snseconds_t): New type.
66107         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
66109         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
66110         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66111         (__SNSECONDS_T_TYPE): Likewise.
66112         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66113         (__SNSECONDS_T_TYPE): Likewise.
66114         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66115         (__SNSECONDS_T_TYPE): Likewise.
66117 2012-04-10  Andreas Jaeger  <aj@suse.de>
66119         [BZ #2636]
66120         * manual/time.texi (Processor Time): Return type of times is
66121         elapsed real time since an arbitrary point in the past.
66122         (CPU Time): Move CLK_TCK from here...
66123         (Processor Time): ...to here.  Correct description.
66124         * manual/conf.texi (Constants for Sysconf): Correct description of
66125         _SC_CLK_TCK.
66127 2012-04-10  David S. Miller  <davem@davemloft.net>
66129         [BZ #13967]
66130         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
66131         where the is a gap between DT_REL(A) and DT_JMPREL.
66133 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
66135         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
66136         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66137         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66139 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66141         * elf/dl-support.c (_dl_inhibit_cache): New variable.
66142         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
66143         (dl_main): Handle --inhibit-cache.
66144         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
66145         _dl_inhibit_cache.
66146         * elf/dl-load.c (_dl_map_object): Use it.
66147         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
66149 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
66151         [BZ #13872]
66152         * sysdeps/i386/fpu/e_powl.S (p78): New object.
66153         (__ieee754_powl): Saturate large exponents rather than testing for
66154         overflow of y*log2(x).
66155         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66156         * math/libm-test.inc (pow_test): Do not permit spurious overflow
66157         exceptions.
66159         [BZ #11521]
66160         * math/s_ctan.c: Include <float.h>.
66161         (__ctan): Avoid internal overflow or cancellation in calculating
66162         denominator.
66163         * math/s_ctanf.c: Likewise.
66164         * math/s_ctanl.c: Likewise.
66165         * math/s_ctanh.c: Likewise.
66166         * math/s_ctanhf.c: Likewise.
66167         * math/s_ctanhl.c: Likewise.
66168         * math/libm-test.inc (ctan_test): Add more tests.
66169         (ctanh_test): Likewise.
66170         * sysdeps/i386/fpu/libm-test-ulps: Update.
66171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66173 2012-04-09  Andreas Jaeger  <aj@suse.de>
66175         [BZ #6894]
66176         * manual/filesys.texi (Directory Entries): Mention that d_namlen
66177         is an optional BSD extension.
66179         [BZ #10254]
66180         * manual/stdio.texi (Opening Streams): Document additional fopen
66181         parameters.
66183 2012-04-09  Roland McGrath  <roland@hack.frob.com>
66185         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
66186         %eax without telling the compiler.
66188 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
66190         [BZ # 13963]
66191         * manual/install.texi: Use sourceware.org.
66193 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
66195         [BZ #13873]
66196         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
66197         (__ieee754_pow): Generate overflow and underflow using huge*huge
66198         and tiny*tiny rather than just returning constant infinity or zero
66199         for large exponents.
66200         * math/libm-test.inc (pow_test): Require overflow exceptions for
66201         applicable cases of large exponents.
66203         [BZ #706]
66204         * sysdeps/i386/fpu/e_pow.S (p10): New object.
66205         (__ieee754_pow): Use iterative multiplication algorithm only for
66206         integer exponents with absolute value below 1024.  Check for odd
66207         integer exponents when using algorithm for real exponents.
66208         * math/libm-test.inc (pow_test): Add more tests.
66209         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66211 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
66213         [BZ #13705]
66214         * math/libm-test.inc (exp_test): Do not allow overflow exception
66215         on underflow test.
66217 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
66219         [BZ #13705]
66220         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
66221         instead of __kernel_standard_f.
66223 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
66225         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
66226         * sysdeps/x86_64/memset_chk.S: Likewise.
66228 2012-04-08  Andreas Jaeger  <aj@suse.de>
66230         [BZ #10153]
66231         * manual/startup.texi (Environment Access): Describe return value
66232         for putenv and setenv.
66234         [BZ #6895]
66235         * manual/filesys.texi (Directory Entries): Add description for
66236         DT_LNK.
66238         [BZ #6890]
66239         * manual/filesys.texi (Directory Entries): Clarify that it's file
66240         system not operating system in the description of DT_UNKNOWN.
66242         [BZ #6578]
66243         * manual/syslog.texi (closelog): Fix reference, it's openlog.
66245 2012-04-08  Stephen Compall  <s11@member.fsf.org>
66247         [BZ #6649]
66248         * manual/llio.texi (Opening and Closing Files): Add cross
66249         reference to explain mode argument.
66251 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
66253         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
66254         * sysdeps/x86_64/memset_chk.S: Likewise.
66256 2012-04-07  David S. Miller  <davem@davemloft.net>
66258         * elf/elf.h (R_SPARC_WDISP10): Define.
66259         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
66260         R_SPARC_SIZE32.
66261         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
66262         R_SPARC_SIZE64 and R_SPARC_H34.
66264 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
66266         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
66267         conditions and remove no longer applicable assertion.
66269 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
66271         * bits/byteswap.h: Include <features.h>.
66272         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66273         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66275 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
66277         * bits/byteswap.h (__bswap_16): Removed.
66278         Include <bits/byteswap-16.h> to get __bswap_16.
66279         * sysdeps/i386/bits/byteswap.h: Likewise.
66280         * sysdeps/s390/bits/byteswap.h: Likewise.
66281         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66282         * bits/byteswap-16.h: New file.
66283         * sysdeps/i386/bits/byteswap-16.h: Likewise.
66284         * sysdeps/s390/bits/byteswap-16.h: Likewise.
66285         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
66286         * string/Makefile (headers): Add bits/byteswap-16.h.
66288 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66290         [BZ #13895]
66291         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
66292         extra indirection.
66293         * nss/Makefile (tests-static, tests): Add tst-nss-static.
66294         * nss/tst-nss-static.c: New.
66296 2012-04-06  Robert Millan  <rmh@gnu.org>
66298         [BZ #6486]
66299         * manual/llio.texi (File Position Primitive): lseek
66300         refers to WHENCE when it really means OFFSET.
66302 2012-04-06  Andreas Jaeger  <aj@suse.de>
66304         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
66305         strncmp declarations.
66307         * abilist/libc.abilist: Add __poll and __ppoll.
66309 2012-04-05  David S. Miller  <davem@davemloft.net>
66311         * scripts/check-local-headers.sh: Accept a host triplet in the
66312         path matched by the exclude regexp.
66314         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
66315         definition.
66316         * sysdeps/powerpc/powerpc32/dl-machine.h
66317         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
66318         * sysdeps/s390/s390-32/dl-machine.h
66319         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66320         * sysdeps/sparc/sparc32/dl-machine.h
66321         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66322         * sysdeps/sparc/sparc64/dl-machine.h
66323         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66325         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
66326         lazy binding.
66327         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
66328         undefined symbol errors.
66330         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
66331         DT_NEEDED entries.
66333 2012-04-05  Michael Matz  <matz@suse.de>
66335         [BZ #13592]
66336         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
66338 2012-04-05  Andreas Jaeger  <aj@suse.de>
66340         [BZ #13908]
66341         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
66342         comment.
66344 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66346         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
66347         which ROUND is no valid rounding mode.
66349 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66351         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
66352         read again.
66353         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
66355 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66357         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
66358         an exception using FPU order intentionally.
66360 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66362         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
66363         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
66364         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
66365         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
66367 2012-04-05  Simon Josefsson  <simon@josefsson.org>
66369         [BZ #12340]
66370         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
66371         EINVAL when BUFLEN is too smal.
66373 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
66375         [BZ #13553]
66376         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
66377         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
66379 2012-04-03  Andreas Jaeger  <aj@suse.de>
66381         [BZ #13938]
66382         * manual/setjmp.texi (System V contexts): Fix sentence.
66384         [BZ #13926]
66385         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
66386         New macro for this case.
66387         [!__GNUC__] (__bswap_64): New inline function for this case.
66388         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66389         * bits/byteswap.h: Likewise.
66390         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
66391         ull, guard with __GLIBC_HAVE_LONG_LONG.
66393         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
66394         __GLIBC_HAVE_LONG_LONG.
66396         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
66397         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
66399 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66401         [BZ #13691]
66402         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
66403         inptr and inend, rather than using last_ch.
66405 2012-04-02  David S. Miller  <davem@davemloft.net>
66407         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
66408         * stdio-common/printf-parse.h (read_int): Change return type to
66409         'int', return -1 on INT_MAX overflow.
66410         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
66411         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
66412         overflows INT_MAX.  Check for overflow of in-format-string precision
66413         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
66414         SIZE_MAX not INT_MAX for integer overflow test.
66415         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
66416         skip the construct in the format string but do not record anything.
66417         * stdio-common/bug22.c: Adjust to test both width/prevision
66418         INT_MAX overflow as well as total length INT_MAX overflow.  Check
66419         explicitly for proper errno values.
66421 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
66423         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
66424         CHAR_MAX.
66425         * string/test-strcmp.c [! WIDE]: Likewise.
66426         * time/tst-mktime2.c: Likewise for INT_MAX.
66427         * string/test-string.h: #include <sys/param.h> for MIN.
66429         * csu/init-first.c (__libc_init_first): Call __ctype_init.
66430         * sysdeps/i386/init-first.c (init): Likewise.
66431         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
66432         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
66433         * sysdeps/sh/init-first.c (init): Likewise.
66435 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
66437         * po/ru.po: Update from translation team.
66438         * po/vi.po: Likewise.
66440 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
66442         * resolv/nss_dns/dns-host.c: Merge copyright years.
66444 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66446         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66447         Optimize memcpy with prefetch if
66448         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
66449         src, dst pointers have unequal 16 byte alignments.
66451 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66453         [BZ #13928]
66454         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
66455         from a CNAME entry and return the minimum ttl for the query.
66456         (gaih_getanswer_slice): Likewise.
66458 2012-03-30  Jeff Law  <law@redhat.com>
66460         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
66461         due to long keys.
66462         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
66463         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
66465         * resolv/nss_dns/dns-host.c: Update copyright year.
66467 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
66469         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
66470         requests to save a system call.  Fix check that all bytes are sent.
66472         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
66473         comments for sendmmsg.
66475 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66477         [BZ #13691]
66478         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
66479         with only 1 character between 0x0041 and 0x01b0.
66480         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
66481         * wcsmbs/tst-mbsnrtowcs.c: New file.
66483 2012-03-29  David S. Miller  <davem@davemloft.net>
66485         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
66486         small copies by hand.
66488 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66490         [BZ #13761]
66491         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
66492         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
66493         group memberships.
66495 2012-03-28  David S. Miller  <davem@davemloft.net>
66497         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
66498         that branches into memcpy.
66499         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
66500         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
66501         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
66502         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
66503         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
66504         bits.
66505         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
66506         implementation too.
66507         * sysdeps/sparc/mempcpy.S: New file.
66509         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
66510         the IFUNC routine in the libc case.
66511         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
66513         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
66514         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
66515         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
66516         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
66517         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
66518         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
66519         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
66520         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
66522         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
66523         loop to 256 bytes instead of 64 bytes and fix test signedness.
66525         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
66526         * sysdeps/sparc/sparc32/Makefile: rather than here...
66527         * sysdeps/sparc/sparc64/Makefile: and here.
66529 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
66531         * malloc/mallocbug.c: Avoid warnings about unused variables.
66533 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
66535         [BZ #13760]
66536         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
66537         in the right place. Discard and retry query if response is
66538         larger than input buffer size.
66540 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
66542         [BZ #369]
66543         [BZ #2678]
66544         [BZ #3866]
66545         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
66546         x for large integer exponent.
66547         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
66548         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
66549         sign of result as needed afterwards.
66550         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
66551         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
66552         result for underflowing pow the same as for overflow.
66553         (__kernel_standard_l): Handle powl overflow and underflow here
66554         rather than calling __kernel_standard.
66555         * math/libm-test.inc (pow_test): Add more tests.
66557         [BZ #3868]
66558         [BZ #13879]
66559         [BZ #13910]
66560         [BZ #13911]
66561         [BZ #13912]
66562         [BZ #13913]
66563         [BZ #13915]
66564         [BZ #13916]
66565         [BZ #13917]
66566         [BZ #13918]
66567         [BZ #13919]
66568         [BZ #13920]
66569         [BZ #13921]
66570         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
66571         * sysdeps/ieee754/k_standard.c: Include <float.h>.
66572         (__kernel_standard_l): New function.
66573         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
66574         __kernel_standard.
66575         * math/w_acosl.c (__acosl): Likewise.
66576         * math/w_asinl.c (__asinl): Likewise.
66577         * math/w_atan2l.c (__atan2l): Likewise.
66578         * math/w_atanhl.c (__atanhl): Likewise.
66579         * math/w_coshl.c (__coshl): Likewise.
66580         * math/w_exp10l.c (__exp10l): Likewise.
66581         * math/w_exp2l.c (__exp2l): Likewise.
66582         * math/w_fmodl.c (__fmodl): Likewise.
66583         * math/w_hypotl.c (__hypotl): Likewise.
66584         * math/w_j0l.c (__j0l, __y0l): Likewise.
66585         * math/w_j1l.c (__j1l, __y1l): Likewise.
66586         * math/w_jnl.c (__jnl, __ynl): Likewise.
66587         * math/w_lgammal.c (__lgammal): Likewise.
66588         * math/w_log10l.c (__log10l): Likewise.
66589         * math/w_log2l.c (__log2l): Likewise.
66590         * math/w_logl.c (__logl): Likewise.
66591         * math/w_powl.c (__powl): Likewise.
66592         * math/w_remainderl.c (__remainderl): Likewise.
66593         * math/w_scalbl.c (sysv_scalbl): Likewise.
66594         * math/w_sinhl.c (__sinhl): Likewise.
66595         * math/w_sqrtl.c (__sqrtl): Likewise.
66596         * math/w_tgammal.c (__tgammal): Likewise.
66597         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
66598         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
66599         * math/libm-test.inc (acos_test): Add more tests.
66600         (acosh_test): Likewise.
66601         (asin_test): Likewise.
66602         (atanh_test): Likewise.
66603         (exp_test): Likewise.
66604         (exp10_test): Likewise.
66605         (exp2_test): Likewise.
66606         (expm1_test): Likewise.
66607         (lgamma_test): Likewise.
66608         (log_test): Likewise.
66609         (log10_test): Likewise.
66610         (log1p_test): Likewise.
66611         (log2_test): Likewise.
66612         (pow_test): Do not allow some spurious overflow exceptions.
66613         (sqrt_test): Add more tests.
66614         (tgamma_test): Likewise.
66615         (y0_test): Likewise.
66616         (y1_test): Likewise.
66617         (yn_test): Likewise.
66619 2012-03-27  Anton Blanchard  <anton@samba.org>
66621         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
66622         MAP_HUGETLB.
66623         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
66624         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
66625         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
66627 2012-03-27  David S. Miller  <davem@davemloft.net>
66629         * conform/Makefile: Run run-conformtest.sh using $(BASH).
66631         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
66632         have-as-vis3 check.
66634 2012-03-27  Andreas Jaeger  <aj@suse.de>
66636         * sysdeps/x86_64/elf/configure.in: Moved to ...
66637         * sysdeps/x86_64/configure.in: ... here.
66638         * sysdeps/x86_64/elf/start.S: Moved to ...
66639         * sysdeps/x86_64/start.S: ... here.
66640         * sysdeps/x86_64/elf/configure: Delete.
66642         * sysdeps/x86_64/configure.in: Merge contents from
66643         sysdeps/i386/configure.in (without i686 check).
66645         * sysdeps/i386/elf/Versions: Merge into ...
66646         * sysdeps/i386/Versions: ... this.
66647         * sysdeps/i386/elf/Versions: Delete file.
66648         * sysdeps/i386/elf/start.S: Moved to ...
66649         * sysdeps/i386/start.S: ...here.
66650         * sysdeps/i386/elf/configure.in: Merge into...
66651         * sysdeps/i386/configure.in: ...here.
66652         * sysdeps/i386/elf/configure.in: Delete file.
66653         * sysdeps/i386/elf/configure: Delete file.
66655         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
66656         * debug/backtracesyms.c: ... here.
66657         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
66658         * debug/backtracesymsfd.c: ... here.
66659         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
66660         * sysdeps/generic/ifunc-sel.h: ... here.
66662         * sysdeps/unix/i386/start.c: Delete file.
66663         * sysdeps/unix/sparc/start.c: Delete file.
66664         * sysdeps/unix/start.c: Delete file.
66666         * sysdeps/sh/elf/configure.in: Moved to ...
66667         * sysdeps/sh/configure.in: ... here.
66668         * sysdeps/sh/elf/start.S: Moved to ...
66669         * sysdeps/sh/start.S: ... here.
66670         * sysdeps/sh/elf/configure: Delete file.
66672         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
66673         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
66674         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
66675         * sysdeps/powerpc/powerpc64/entry.h: ... here.
66676         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
66677         * sysdeps/powerpc/powerpc64/start.S: here.
66678         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
66679         * sysdeps/powerpc/powerpc64/Makefile: ... this.
66680         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
66681         * sysdeps/powerpc/powerpc64/configure.in: ... this.
66682         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
66684         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
66685         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
66686         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
66687         * sysdeps/powerpc/powerpc32/start.S: ... here.
66688         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
66689         * sysdeps/powerpc/powerpc32/configure.in: ... this.
66690         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
66692         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
66693         * sysdeps/powerpc/ifunc-sel.h: ... here.
66694         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
66695         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
66697         * sysdeps/sparc/elf/configure.in: Moved to ...
66698         * sysdeps/sparc/configure.in: ... here.
66699         * sysdeps/sparc/elf/configure: Delete file.
66700         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
66701         * sysdeps/sparc/sparc32/start.S: ... here.
66702         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
66703         * sysdeps/sparc/sparc64/start.S: ... here.
66704         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
66705         * sysdeps/sparc/sparc32/Makefile: ... this.
66706         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
66707         * sysdeps/sparc/sparc64/Makefile: ... this.
66709         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
66710         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
66711         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
66712         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
66713         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
66714         * sysdeps/s390/s390-32/setjmp.S: ... here.
66715         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
66716         * sysdeps/s390/s390-32/configure.in: ... here.
66717         * sysdeps/s390/s390-32/elf/configure: Delete file.
66718         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
66719         * sysdeps/s390/s390-32/start.S: ... here.
66721         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
66722         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
66723         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
66724         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
66725         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
66726         * sysdeps/s390/s390-64/setjmp.S: ... here.
66727         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
66728         * sysdeps/s390/s390-64/configure.in: ... here
66729         * sysdeps/s390/s390-64/elf/configure: Delete file.
66730         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
66731         * sysdeps/s390/s390-64/start.S: ... here.
66732         * sysdeps/s390/s390-64/elf/configure: Delete.
66734         * configure.in: Remove support for elf directories in sysdeps.
66736         * configure: Regenerated.
66737         * sysdeps/i386/configure: Regenerated.
66738         * sysdeps/powerpc/powerpc32/configure: Regenerated.
66739         * sysdeps/powerpc/powerpc64/configure: Regenerated.
66740         * sysdeps/s390/s390-32/configure: Regenerated.
66741         * sysdeps/s390/s390-64/configure: Regenerated.
66742         * sysdeps/sh/configure: Regenerated.
66743         * sysdeps/sparc/configure: Regenerated.
66744         * sysdeps/x86_64/configure: Regenerated.
66746 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
66748         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66750         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
66751         denormal result into account.
66753 2012-03-25  Roland McGrath  <roland@hack.frob.com>
66755         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
66756         Reported by Allan McRae <allan@archlinux.org>.
66758 2012-03-23  Jeff Law  <law@redhat.com>
66760         * nss/getnssent.c (__nss_getent): Fix typo.
66762 2012-03-23  David S. Miller  <davem@davemloft.net>
66764         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66766 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
66768         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
66769         to pad to uint64_t for each field.
66770         (dl_tls_index): Replace unsigned long with uint64_t.
66772 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
66773         Paul Pluzhnikov  <ppluzhnikov@google.com>
66775         [BZ #6528]
66776         * grp/Makefile (otherlibs): Don't set it.
66777         * inet/Makefile (otherlibs): Likewise.
66778         * login/Makefile (otherlibs): Likewise.
66779         * nscd/Makefile (otherlibs): Likewise.
66780         * posix/Makefile (otherlibs): Likewise.
66781         * pwd/Makefile (otherlibs): Likewise.
66782         * rt/Makefile (otherlibs): Likewise.
66783         * sunrpc/Makefile (otherlibs): Likewise.
66784         * nss/Makefile (otherlibs): Likewise.
66785         Add libnss_files to routines and static-only-routines.
66786         ($(objpfx)getent): Remove rule.
66787         * resolv/Makefile: Add libnss_dns and libresolv to routines and
66788         static-only-routines.
66790 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
66792         [BZ #13892]
66793         * math/s_cexp.c: Include <float.h>.
66794         (__cexp): Handle exp result overflowing not necessarily
66795         overflowing both real and imaginary parts of result.
66796         * math/s_cexpf.c: Likewise.
66797         * math/s_cexpl.c: Likewise.
66798         * math/libm-test.inc (cexp_test): Add more tests.
66799         * sysdeps/i386/fpu/libm-test-ulps: Update.
66800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66802 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66804         * include/link.h (ELFW): New macro.
66805         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
66806         Replace ELF64_R_TYPE with ELFW(R_TYPE).
66808 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66810         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
66811         with uint64_t.
66813 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66815         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
66816         declaration.
66817         (struct La_x32_retval): Likewise.
66819 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66821         * sysdeps/x86_64/preconfigure.in: New file.
66822         * sysdeps/x86_64/preconfigure: New generated file.
66824 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
66826         [BZ #13824]
66827         * math/e_exp2l.c: Include <float.h>.
66828         (__ieee754_exp2l): Handle overflow and underflow cases
66829         separately.  Only pass fractional part of argument to
66830         __ieee754_expl.
66831         * math/libm-test.inc (exp2_test): Add more tests.
66833         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
66834         negating x to take absolute value.
66835         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
66836         Likewise.
66837         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
66838         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
66839         Likewise.
66840         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
66841         computing low part if x was negated.
66842         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
66844 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66846         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
66847         la_x32_gnu_pltexit.
66848         (pltexit): Cast int_retval to ptrdiff_t.
66849         * elf/tst-auditmod3b.c: Likewise.
66850         * elf/tst-auditmod4b.c: Likewise.
66851         * elf/tst-auditmod5b.c: Likewise.
66852         * elf/tst-auditmod6b.c: Likewise.
66853         * elf/tst-auditmod6c.c: Likewise.
66854         * elf/tst-auditmod7b.c: Likewise.
66856         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
66857         and x32_gnu_pltexit.
66859         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
66860         __ELF_NATIVE_CLASS.
66861         (La_x32_regs): New macro.
66862         (La_x32_retval): Likewise.
66863         (la_x32_gnu_pltenter): New function prototype.
66864         (la_x32_gnu_pltexit): Likewise.
66866 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
66868         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
66869         exponent.
66871         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66873         * configure.in (libc_cv_cc_nofma): Check for option to disable
66874         generation of FMA instructions.
66875         * configure: Regenerate.
66876         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
66877         * sysdeps/ieee754/dbl-64/Makefile: New file.
66878         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
66879         Remove brandred-fma4.
66880         (CFLAGS-brandred-fma4.c): Remove.
66881         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
66882         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
66883         define.
66884         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
66885         define.
66887 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66889         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
66890         LLONG_MAX != LONG_MAX.
66891         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66892         (_fitoa_word): Likewise.
66893         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
66894         LLONG_MAX != LONG_MAX.
66895         * stdio-common/_itowa.h: Include <_itoa.h>.
66896         (_itowa_word): Use _ITOA_WORD_TYPE on value.
66897         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
66898         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
66899         only if not defined.
66900         (_ITOA_WORD_TYPE): Likewise.
66901         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66902         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
66904 2012-03-21  David S. Miller  <davem@davemloft.net>
66906         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66908 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66910         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
66911         of x86_64 when setting libc_cv_slibdir, libdir and
66912         libc_cv_localedir.
66913         * sysdeps/unix/sysv/linux/configure: Regenerated.
66915 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66917         * manual/lang.texi (Old Varargs): Remove section.
66918         (How Variadic): Update menu.
66919         (va_start): Do not mention varargs.h.
66921 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66922             Joseph Myers  <joseph@codesourcery.com>
66924         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
66925         link test.
66926         * configure: Regenerated.
66928 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66930         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
66931         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
66932         conformtest.pl
66934 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66936         * NOTES: Remove.
66937         * Makefile (files-for-dist): Remove NOTES.
66938         (NOTES): Remove rule.
66939         * README: Don't refer to NOTES.
66940         * manual/creature.texi: Don't include macros.texi.
66941         * manual/intro.texi (creature.texi): Remove comment referring to
66942         NOTES.
66944         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
66945         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
66946         * configure: Regenerated.
66947         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
66948         LIBC_TRY_CC_OPTION.
66949         (libc_cv_as_i686): Likewise.
66950         (libc_cv_cc_avx): Likewise.
66951         (libc_cv_cc_sse2avx): Likewise.
66952         (libc_cv_cc_fma4): Likewise.
66953         (libc_cv_cc_novzeroupper): Likewise.
66954         * sysdeps/i386/configure: Regenerated.
66956         [BZ #13883]
66957         * sysdeps/i386/fpu/s_cexp.S: Remove.
66958         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
66959         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
66960         * math/libm-test.inc (cexp_test): Add more tests.
66961         * sysdeps/i386/fpu/libm-test-ulps: Update.
66962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66964 2012-03-21  Allan McRae  <allan@archlinux.org>
66966         * timezone/Makefile: Do not install iso3166.tab and zone.tab
66968 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66970         [BZ #13871]
66971         * math/w_exp2.c: Do not include <float.h>.
66972         (o_threshold, u_threshold): Remove.
66973         (__exp2): Calculate result before checking finiteness and calling
66974         __kernel_standard.
66975         * math/w_exp2f.c: Likewise.
66976         * math/w_exp2l.c: Likewise.
66977         * math/libm-test.inc (exp2_test): Require overflow exception for
66978         1e6 input.
66980         [BZ #3866]
66981         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
66982         range of signed 64-bit integers before using fistpll.  Remove
66983         checks for whether integers fit in mantissa bits.
66984         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
66985         the range of signed 32-bit integers before using fistpl.  Remove
66986         checks for whether integers fit in mantissa bits.
66987         * sysdeps/i386/fpu/e_powl.S (p64): New object.
66988         (__ieee754_powl): Test for y outside the range of signed 64-bit
66989         integers before using fistpll.  Reduce 64-bit values to 63-bit
66990         ones as needed.
66991         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
66992         divide-by-zero is raised for zero to large negative powers.
66993         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
66994         (__ieee754_powl): Test for y outside the range of signed 64-bit
66995         integers before using fistpll.  Reduce 64-bit values to 63-bit
66996         ones as needed.
66997         * math/libm-test.inc (pow_test): Add more tests.
66999 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67001         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
67002         <stdio-common/_itoa.h>.
67003         * debug/segfault.c: Likewise.
67004         * elf/dl-cache.c: Likewise.
67005         * elf/dl-minimal.c: Likewise.
67006         * elf/dl-misc.c: Likewise.
67007         * elf/dl-sysdep.c: Likewise.
67008         * elf/dl-version.c: Likewise.
67009         * elf/rtld.c: Likewise.
67010         * hurd/hurdsock.c: Likewise.
67011         * hurd/lookup-retry.c: Likewise.
67012         * malloc/malloc.c: Likewise.
67013         * malloc/mtrace.c: Likewise.
67014         * nscd/nscd_getgr_r.c: Likewise.
67015         * nscd/nscd_getpw_r.c: Likewise.
67016         * nscd/nscd_getserv_r.c: Likewise.
67017         * posix/getopt_init.c: Likewise.
67018         * posix/wordexp.c: Likewise.
67019         * stdio-common/_itoa.c: Likewise.
67020         * stdio-common/printf_fphex.c: Likewise.
67021         * stdio-common/vfprintf.c: Likewise.
67022         * string/_strerror.c: Likewise.
67023         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
67024         * sysdeps/i386/i686/hp-timing.h: Likewise.
67025         * sysdeps/mach/_strerror.c: Likewise.
67026         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
67027         * sysdeps/mach/hurd/sethostid.c: Likewise.
67028         * sysdeps/mach/hurd/xmknodat.c: Likewise.
67029         * sysdeps/mach/xpg-strerror.c: Likewise.
67030         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
67031         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
67032         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
67033         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
67034         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
67035         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
67036         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
67037         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
67038         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
67039         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
67040         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
67041         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
67042         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
67043         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
67044         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
67045         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
67046         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
67047         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
67048         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
67049         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
67050         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
67052         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
67054         * stdio-common/_itoa.h: Moved to ...
67055         * sysdeps/generic/_itoa.h: Here.
67057         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
67059         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
67060         instead of "_itoa.h" and "_itowa.h".
67061         * stdio-common/vfprintf.: Likewise.
67063 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67065         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
67066         <bits/wordsize.h>.
67067         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
67068         (__signbit): Likwise.
67069         (llrintf): Likwise.
67070         (llrint): Likwise.
67072 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67074         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
67075         __WORDSIZE != 64.
67077 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
67079         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
67080         OVERFLOW_EXCEPTION_OK.
67081         * math/libm-test.inc ("Philosophy"): Update comment about
67082         exception testing.
67083         (OVERFLOW_EXCEPTION): Define.
67084         (OVERFLOW_EXCEPTION_OK): Likewise.
67085         (INVALID_EXCEPTION_OK): Renumber.
67086         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67087         (IGNORE_ZERO_INF_SIGN): Likewise.
67088         (test_exceptions): Handle FE_OVERFLOW.
67089         (exp10_test): Expect overflow exceptions.
67090         (exp2_test): Likewise.
67091         (expm1_test): Likewise.
67092         (nextafter_test): Likewise.
67093         (pow_test): Likewise.
67094         (scalbn_test): Likewise.
67095         (scalbln_test): Likewise.
67097 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67099         * sysdeps/x86_64/bits/atomic.h
67100         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
67101         64bit integer.
67102         (atomic_exchange_acq): Likewise.
67103         (__arch_exchange_and_add_body): Likewise.
67104         (__arch_add_body): Likewise.
67105         (atomic_add_negative): Likewise.
67106         (atomic_add_zero): Likewise.
67108 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67110         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
67111         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
67113 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67115         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
67116         Check __x86_64__ instead of __WORDSIZE.
67118 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67120         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
67122 2012-03-19  David S. Miller  <davem@davemloft.net>
67124         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67126         * sysdeps/sparc/fpu/fenv_private.h: New file.
67127         * sysdeps/sparc/fpu/math_private.h: Use it.
67128         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
67129         Remove.
67130         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
67131         (libc_feholdexcept_setroundl): Remove.
67132         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
67133         Remove.
67134         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
67135         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
67137 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67139         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
67140         int64_t instead of long int.
67141         (INSERT_WORDS64): Likwise.
67143 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67145         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
67146         _Unwind_GetCFA return to _Unwind_Ptr first.
67148 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
67150         [BZ #13629]
67151         * math/s_clog.c: Include <float.h>.
67152         (__clog): Scale large or subnormal inputs.
67153         * math/s_clogf.c: Likewise.
67154         * math/s_clogl.c: Likewise.
67155         * math/s_clog10.c: Include <float.h>.
67156         (M_LOG10_2): Define.
67157         (__clog10): Scale large or subnormal inputs.
67158         * math/s_clog10f.c: Likewise.
67159         * math/s_clog10l.c: Likewise.
67160         * math/libm-test.inc (clog_test): Add more tests.
67161         (clog10_test): Likewise.
67162         * sysdeps/i386/fpu/libm-test-ulps: Update.
67163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67165         [BZ #11451]
67166         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
67167         x and y.
67168         * math/libm-test.inc (atan2_test): Add another test.
67170         * Makerules (common-objdir-compile): Remove.
67171         * sysdeps/unix/Makefile (config-generated): Do not add
67172         $(unix-generated) to variable.
67173         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
67174         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
67175         Remove rule.
67176         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
67177         Likewise.
67178         [generic bits/local_lim.h] (before-compile): Do not append to
67179         variable.
67180         [generic bits/local_lim.h] (common-generated): Likewise.
67181         [generic sys/param.h] (before-compile): Do not append to variable.
67182         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
67183         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
67184         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
67185         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
67186         include.
67187         [generic sys/param.h] (sys/param.h-includes): Remove variable.
67188         [generic sys/param.h] (sys/param.h-includes): Remove rule.
67189         [generic sys/param.h] ($(addprefix
67190         $(common-objpfx),$(sys/param.h-includes))): Likewise.
67191         [generic sys/param.h] (common-generated): Do not append to
67192         variable.
67193         [generic sys/param.h] (sysdep_headers): Likewise.
67194         [generic bits/errno.h] (before-compile): Do not append to
67195         variable.
67196         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
67197         rule.
67198         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
67199         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
67200         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
67201         [generic bits/errno.h] (common-generated): Do not append to
67202         variable.
67203         [generic bits/ioctls.h] (before-compile): Do not append to
67204         variable.
67205         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
67206         rule.
67207         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
67208         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
67209         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
67210         rule.
67211         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
67212         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
67213         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
67214         [generic bits/ioctls.h] (common-generated): Do not append to
67215         variable.
67216         [generic sys/syscall.h] (syscall.h): Remove variable.
67217         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
67218         rule.
67219         [generic sys/syscall.h] (before-compile): Do not append to
67220         variable.
67221         [generic sys/syscall.h] (common-generated): Likewise.
67222         * sysdeps/unix/errnos-tmpl.c: Remove file.
67223         * sysdeps/unix/errnos.awk: Likewise.
67224         * sysdeps/unix/ioctls-tmpl.c: Likewise.
67225         * sysdeps/unix/ioctls.awk: Likewise.
67226         * sysdeps/unix/mk-local_lim.c: Likewise.
67227         * sysdeps/unix/snarf-ioctls: Likewise.
67229 2012-03-19  Richard Henderson  <rth@twiddle.net>
67231         * sysdeps/i386/fpu/fenv_private.h: New file.
67232         * sysdeps/i386/fpu/math_private.h: Use it.
67233         (math_opt_barrier, math_force_eval): Remove.
67234         (libc_feholdexcept_setround_53bit): Remove.
67235         (libc_feupdateenv_53bit): Remove.
67236         * sysdeps/x86_64/fpu/math_private.h: Likewise.
67237         (math_opt_barrier, math_force_eval): Remove.
67238         (libc_feholdexcept): Remove.
67239         (libc_feholdexcept_setround): Remove.
67240         (libc_fetestexcept, libc_fesetenv): Remove.
67241         (libc_feupdateenv_test): Remove.
67242         (libc_feupdateenv, libc_feholdsetround): Remove.
67243         (libc_feresetround): Remove.
67245         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
67246         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
67248         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
67249         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
67250         (libc_feupdateenv_testl): New.
67251         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
67252         (libc_feupdateenv_testf): New.
67253         (libc_feupdateenv): Use libc_feupdateenv_test.
67254         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
67255         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
67257         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
67258         (libc_feholdsetroundf, libc_feholdsetroundl): New.
67259         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
67260         (libc_feresetround_noex): New.
67261         (libc_feresetround_noexf): New.
67262         (libc_feresetround_noexl): New.
67263         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
67264         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
67265         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
67266         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
67267         SET_RESTORE_ROUND.
67268         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
67269         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
67270         (__cos): Likewise.
67271         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
67272         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
67273         SET_RESTORE_ROUND_NOEX.
67274         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
67275         SET_RESTORE_ROUND_NOEXF.
67276         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
67277         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
67278         (libc_feholdsetroundf): New.
67279         (libc_feresetround, libc_feresetroundf): New.
67281         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
67282         (libc_feholdexcept_setround_53bit): Convert from macro to function.
67283         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
67285         * sysdeps/generic/math_private.h: Include <fenv.h>.
67286         (default_libc_feholdexcept): New.
67287         (default_libc_feholdexcept_setround): New.
67288         (default_libc_fesetenv, default_libc_feupdateenv): New.
67289         (libc_feholdexcept): Only define if undefined.
67290         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
67291         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
67292         (libc_feholdexcept_setroundl): Likewise.
67293         (libc_feholdexcept_setround_53bit): Likewise.
67294         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
67295         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
67296         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
67297         (libc_feupdateenv_53bit): Likewise.
67298         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
67299         (libc_feholdexcept): Convert from macro to inline function.
67300         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
67301         (libc_fesetenv, libc_feupdateenv): Likewise.
67303         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
67304         not previously defined.
67305         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
67306         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
67307         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
67308         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
67309         * sysdeps/ieee754/flt-32/math_private.h: New file.
67310         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
67311         math_private.h below SET_FLOAT_WORD.
67312         (__isnan, __isinf_ns, __finite): Remove.
67313         (__isnanf, __isinf_nsf, __finitef): Remove.
67315 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
67317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67319 2012-03-17  David S. Miller  <davem@davemloft.net>
67321         [BZ #6471]
67322         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
67323         for 2.16.
67325 2012-03-16  David S. Miller  <davem@davemloft.net>
67327         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
67328         warnings.
67330         [BZ #6471]
67331         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
67332         properly.
67333         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
67334         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
67335         sysdep_routines when subdir is sysvipc.
67336         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
67337         __getshmlba helper.
67339         * sysdeps/sparc/fpu/libm-test/ulps: Update.
67341 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67343         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
67344         [__LP64__].
67346 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67348         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
67349         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
67350         (__lround): Renamed to ...
67351         (__llround): This.  Replace long int with long long int.
67352         Define lround functions as aliases of llround functions.
67353         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
67355 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67357         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
67358         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
67359         adresses to uintptr_t.  Replace "long int" and "unsigned long
67360         int" with "greg_t" on va_arg.
67362 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67364         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
67365         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
67367         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
67368         Move e_machine check before EI_CLASS check.  Handle x32
67369         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
67370         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
67371         SKIP_EM_IA_64 and include
67372         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
67374         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
67375         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
67376         (add_system_dir): New macro.
67378         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
67379         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
67381 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
67383         [BZ #2551]
67384         [BZ #2552]
67385         [BZ #2553]
67386         [BZ #2554]
67387         [BZ #2562]
67388         [BZ #2563]
67389         [BZ #2565]
67390         [BZ #2566]
67391         [BZ #2576]
67392         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
67393         (y0): Likewise.
67394         * math/w_j0f.c (j0f): Likewise.
67395         (y0f): Likewise.
67396         * math/w_j0l.c (__j0l): Likewise.
67397         (__y0l): Likewise.
67398         * math/w_j1.c (j1): Likewise.
67399         (y1): Likewise.
67400         * math/w_j1f.c (j1f): Likewise.
67401         (y1f): Likewise.
67402         * math/w_j1l.c (__j1l): Likewise.
67403         (__y1l): Likewise.
67404         * math/w_jn.c (jn): Likewise.
67405         (yn): Likewise.
67406         * math/w_jnf.c (jnf): Likewise.
67407         (ynf): Likewise.
67408         * math/w_jnl.c (__jnl): Likewise.
67409         (__ynl): Likewise.
67410         * math/libm-test.inc (j0_test): Add more tests.
67411         (j1_test): Likewise.
67412         (jn_test): Likewise.  Add trailing semicolon to existing test.
67413         (y0_test): Likewise.
67414         (y1_test): Likewise.
67415         * sysdeps/i386/fpu/libm-test-ulps: Update.
67416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67418         [BZ #13851]
67419         [BZ #13854]
67420         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
67421         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
67422         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
67423         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
67424         (__tanl): Set errno for infinite argument.
67425         * sysdeps/i386/fpu/mptan.c: Remove.
67426         * sysdeps/i386/fpu/s_tan.S: Likewise.
67427         * sysdeps/i386/fpu/s_tanl.S: Likewise.
67428         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
67429         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
67430         * math/libm-test.inc (tan_test): Add more tests and enable more
67431         tests for double and long double.
67432         * sysdeps/i386/fpu/libm-test-ulps: Update.
67433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67435 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
67437         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
67438         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
67440 2012-03-16  Roland McGrath  <roland@hack.frob.com>
67442         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
67443         * configure.in: Use it for both main tree and add-ons.
67444         * configure: Regenerated.
67446 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67448         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
67450 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
67452         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
67453         in comment.
67455         [BZ #13851]
67456         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
67457         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
67458         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
67459         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
67460         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
67461         infinite argument.
67462         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
67463         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
67464         != 0 for prec == 2.
67465         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
67466         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
67467         * sysdeps/i386/fpu/s_cosl.S: Likewise.
67468         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
67469         * sysdeps/i386/fpu/s_sinl.S: Likewise.
67470         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
67471         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
67472         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
67473         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
67474         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
67475         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
67476         * math/libm-test.inc (cos_test): Add more tests and enable more
67477         tests for long double.
67478         (sin_test): Likewise.
67479         (sincos_test): Likewise.
67480         * sysdeps/i386/fpu/libm-test-ulps: Update.
67481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67483 2012-03-16  David S. Miller  <davem@davemloft.net>
67485         * sysdeps/sparc/fpu/math_private.h: New file.
67487 2012-03-15  David S. Miller  <davem@davemloft.net>
67489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
67490         file.
67491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
67492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
67493         file.
67494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
67495         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
67496         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
67497         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
67498         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
67499         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
67500         sysdep routines.
67501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67503         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
67504         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
67506         * sysdeps/sparc/sparc-ifunc.h: New file.
67507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
67508         sparc-ifunc.h
67509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
67510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
67511         Likewise.
67512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
67513         Likewise.
67514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
67515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
67516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
67518         Likewise.
67519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
67521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
67523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
67524         Likewise.
67525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
67526         Likewise.
67527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
67529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
67530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
67531         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
67532         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
67533         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
67534         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
67535         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
67536         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
67537         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
67538         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
67539         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
67540         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
67541         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
67542         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
67543         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
67544         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
67545         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
67546         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
67547         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
67548         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
67549         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
67550         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
67552 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67554         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
67555         scaling.
67556         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67558 2012-03-15  Andreas Jaeger  <aj@suse.de>
67560         [BZ #13852]
67561         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
67562         ieee754/flt-32 implementation for sin, cos and sincos.
67563         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
67564         * sysdeps/i386/fpu/s_cosf.S: Likewise.
67565         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
67566         * sysdeps/i386/fpu/s_sinf.S: Likewise.
67567         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
67568         ieee754/flt-32 implementation for tan.
67570         * math/libm-test.inc (cos_test): Enable some large input tests for
67571         float as well
67572         (sin_test): Likewise.
67573         (sincos_test): Likewise.
67574         (tan_test): Add tests for large input.
67576         * sysdeps/i386/fpu/libm-test-ulps: Update.
67578 2012-03-15  Andreas Jaeger  <aj@suse.de>
67580         [BZ #13658]
67581         * math/libm-test.inc (cos_test): Add more test cases.
67582         (sin_test): Likewise.
67583         (sincos_test): Likewise.
67585 2012-03-15  Andreas Jaeger  <aj@suse.de>
67587         [BZ #13837]
67588         * math/libm-test.inc (cos_test): Add a test case for large input
67589         value.
67590         (sin_test): Likewise.
67591         (sincos_test): Likewise.
67593 2012-03-15  Andreas Jaeger  <aj@suse.de>
67594             Joseph Myers  <joseph@codesourcery.com>
67596         [BZ #13658]
67597         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
67598         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
67599         * sysdeps/i386/fpu/branred.c: Likewise.
67600         * sysdeps/i386/fpu/dosincos.c: Likewise.
67601         * sysdeps/i386/fpu/mpa.c: Likewise.
67602         * sysdeps/i386/fpu/s_cos.S: Likewise.
67603         * sysdeps/i386/fpu/s_sin.S: Likewise.
67604         * sysdeps/i386/fpu/s_sincos.S: Likewise.
67605         * sysdeps/i386/fpu/sincos32.c: Likewise.
67607         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
67608         Define.
67609         (libc_feupdateenv_53bit): Define.
67610         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
67611         Define.
67612         (libc_feupdateenv_53bit): Define.
67614         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
67615         53 bit (without extend i386 double precision).
67617         * math/libm-test.inc (sincos_test): Add tests for large input.
67618         (sin): Likewise.
67619         (cos): Likewise.
67621         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
67623 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67625         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67627 2012-03-15  David S. Miller  <davem@davemloft.net>
67629         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
67630         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
67631         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
67632         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
67633         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
67634         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
67635         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
67636         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
67637         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
67638         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
67639         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
67640         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
67641         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
67642         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
67643         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
67644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
67645         file.
67646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
67647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
67648         file.
67649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
67650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
67651         file.
67652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
67653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
67654         file.
67655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
67656         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
67657         fmin/fmax sysdep routines.
67658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67660 2012-03-14  David S. Miller  <davem@davemloft.net>
67662         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
67663         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
67664         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
67665         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
67666         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
67667         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
67668         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
67669         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
67670         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
67671         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
67672         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
67673         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
67674         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
67675         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
67676         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
67677         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
67678         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
67679         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
67680         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
67681         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
67682         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
67683         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
67684         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
67685         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
67686         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
67687         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
67688         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
67689         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
67690         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
67691         routines.
67692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
67693         file.
67694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
67695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
67696         file.
67697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
67698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
67699         file.
67700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
67701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
67702         file.
67703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
67704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
67705         file.
67706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
67707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
67708         file.
67709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
67710         file.
67711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
67712         file.
67713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
67714         file.
67715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
67716         New file.
67717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
67718         file.
67719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
67720         file.
67721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
67722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
67723         file.
67724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
67725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
67726         file.
67727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
67728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
67729         file.
67730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
67731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
67732         VIS3 routines.
67734         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
67735         New file.
67737         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67739         * sysdeps/sparc/configure.in: New file.
67740         * sysdeps/sparc/configure: Generate.
67741         * configure.in (libc_cv_sparc_as_vis3): Substitute.
67742         * configure: Regenerate.
67743         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
67744         * config.make.in (have-as-vis3): New.
67745         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
67746         available use -Av9d instead of -Av9a.
67747         * sysdeps/sparc/sparc64/Makefile: Likewise.
67748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
67749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
67750         New file.
67751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
67752         file.
67753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
67754         New file.
67755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
67756         file.
67757         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
67758         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
67759         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
67760         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
67761         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
67763         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
67764         fzeros/fnegs to load 0x80000000 into a float register instead of
67765         using the stack.
67766         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
67768 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
67770         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67771         bits/syscall.h.
67772         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
67773         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
67774         ($(inst_includedir)/bits/syscall.h): Remove rule.
67775         ($(objpfx)bits/syscall.d): Include instead of
67776         $(objpfx)syscall-list.d.
67777         (generated): Change syscall-list.h and syscall-list.d to
67778         bits/syscall.h and bits/syscall.d.
67780 2012-03-14  Roland McGrath  <roland@hack.frob.com>
67782         [BZ #13846]
67783         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
67785 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
67787         [BZ #13841]
67788         * math/s_csqrt.c: Include <float.h>.
67789         (__csqrt): Scale large or subnormal inputs.
67790         * math/s_csqrtf.c: Likewise.
67791         * math/s_csqrtl.c: Likewise.
67792         * math/libm-test.inc (csqrt_test): Add more tests.
67793         * sysdeps/i386/fpu/libm-test-ulps: Update.
67794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67796         [BZ #13840]
67797         * math/libm-test.inc (hypot_test): Add more tests.
67799 2012-03-13  David S. Miller  <davem@davemloft.net>
67801         [BZ #13840]
67802         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
67803         double-precision for the calculation instead of scaling.
67805 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
67807         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
67808         manipulate bits before adding and subtracting TWO52[sx].
67809         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
67810         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
67811         Likewise.
67812         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
67814 2012-03-13  David S. Miller  <davem@davemloft.net>
67816         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
67817         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
67818         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
67819         rtld-global-offsets.h
67820         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67822         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
67823         large parameters.
67825         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
67827         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
67828         'err' in the ifdef scope in which it is actually used.
67830         * nss/nss_db/db-init.c: Include string.h
67832 2012-03-12  David S. Miller  <davem@davemloft.net>
67834         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
67835         masking out of the most significant byte of random value used.
67836         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67837         Fix coding style in previous change.
67839         * sysdeps/unix/sysv/linux/kernel-features.h
67840         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
67841         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
67842         expression.
67843         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
67844         later.
67846 2012-03-11  David S. Miller  <davem@davemloft.net>
67848         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
67849         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
67850         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
67851         for 'resultvar' otherwise things get truncated on 64-bit.
67853         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67854         Fix masking out of the most significant byte of random value used.
67856         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67858 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
67860         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67862 2012-03-09  David S. Miller  <davem@davemloft.net>
67864         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
67865         variables with appropriate CPP guards.
67866         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
67867         from the frame pointer, not the stack pointer.  Correct layout
67868         comments.  Fix test on resulting framesize and the management of
67869         the outregs buffer for pltexit.  Preserve floating point return
67870         values across _dl_call_pltexit call.
67871         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
67872         framesize and the management of the outregs buffer for pltexit.
67873         Preserve floating point return values across _dl_call_pltexit
67874         call.
67875         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
67876         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
67877         (la_sparc64_gnu_pltexit): New functions.
67878         (print_exit): Fix format string for return register value.
67880 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
67882         * sunrpc/Makefile (others): Add rpcgen.
67883         ($(objpfx)rpcgen): Remove special build rule and dependency on
67884         libc.
67885         * sunrpc/rpcgen.c: New file.
67887 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
67889         [BZ #13673]
67890         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
67891         * stdio-common/bug-vfprintf-nargs.c: Likewise.
67892         * sysdeps/i386/crti.S: Likewise.
67893         * sysdeps/i386/crtn.S: Likewise.
67894         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
67895         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
67896         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
67897         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
67898         * sysdeps/sh/crti.S: Likewise.
67899         * sysdeps/sh/crtn.S: Likewise.
67900         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
67902         [BZ #13673]
67903         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
67904         with URL.
67905         * locale/programs/locfile-kw.gperf: Likewise.
67906         * locale/programs/charmap-kw.h: Regenerated.
67907         * locale/programs/locfile-kw.h: Likewise.
67909         [BZ #13673]
67910         * intl/plural.y: Replace FSF snail mail address with URL.
67911         * intl/plural.c: Regenerated.
67913 2012-03-09  Richard Henderson  <rth@twiddle.net>
67915         * include/math_private.h: Remove file.
67916         * math/math_private.h: Move file ...
67917         * sysdeps/generic/math_private.h: ... here.
67919         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
67920         * sysdeps/powerpc/fpu/math_private.h: Likewise.
67921         * sysdeps/x86_64/fpu/math_private.h: Likewise.
67923         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
67924         and <math_private.h>.
67925         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
67926         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
67927         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
67928         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
67929         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
67930         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
67931         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67932         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67933         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
67934         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67935         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67936         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67937         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
67938         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67939         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
67940         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
67941         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67942         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
67943         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
67944         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
67945         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67946         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
67947         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
67948         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67949         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
67950         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67951         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
67952         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67953         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67954         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
67955         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
67956         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67957         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
67958         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
67959         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
67960         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
67961         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
67962         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
67963         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
67964         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67965         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
67966         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
67967         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
67968         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
67969         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
67970         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
67971         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
67972         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
67973         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
67974         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
67975         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
67976         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
67977         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
67978         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
67979         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
67980         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
67981         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67982         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
67983         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
67984         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
67985         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67986         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
67987         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67988         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
67989         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
67990         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67991         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67992         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67993         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
67994         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
67995         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67996         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67997         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67998         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67999         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
68000         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
68001         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
68002         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
68003         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
68004         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
68005         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
68006         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
68007         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
68008         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
68009         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
68010         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
68011         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
68012         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
68013         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
68014         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68015         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68016         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
68017         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68018         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
68019         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
68020         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
68021         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68022         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
68023         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68024         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
68025         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
68026         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
68027         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
68028         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
68029         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68030         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
68031         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
68032         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
68033         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68034         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68035         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68036         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68037         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
68038         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68039         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
68040         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68041         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68042         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68043         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68044         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
68045         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68046         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68047         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68048         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
68049         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68050         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68051         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
68052         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
68053         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68054         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
68055         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
68056         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
68057         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68058         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
68059         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
68060         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
68061         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
68062         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68063         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
68064         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
68065         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
68066         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
68067         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
68068         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
68069         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
68070         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68071         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68072         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68073         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
68074         * sysdeps/ieee754/k_standard.c: Likewise.
68075         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
68076         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
68077         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68078         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
68079         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
68080         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
68081         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
68082         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
68083         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
68084         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
68085         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68086         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
68087         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
68088         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
68089         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
68090         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
68091         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
68092         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
68093         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
68094         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
68095         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
68096         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
68097         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68098         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68099         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
68100         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
68101         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68102         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68103         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68104         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68105         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
68106         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
68107         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
68108         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
68109         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
68110         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
68111         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
68112         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
68113         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
68114         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
68115         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
68116         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
68117         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
68118         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
68119         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
68120         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
68121         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
68122         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
68123         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
68124         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
68125         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
68126         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
68127         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
68128         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
68129         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
68130         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
68131         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
68132         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
68133         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
68134         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
68135         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
68136         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
68137         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
68138         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
68139         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68140         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68141         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
68142         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
68143         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
68144         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
68145         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
68146         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68147         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
68148         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
68149         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
68150         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
68151         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
68152         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
68153         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68154         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
68155         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
68156         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
68157         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
68158         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
68159         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
68160         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
68161         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
68162         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
68163         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
68164         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
68165         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
68166         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
68167         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
68168         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
68169         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
68170         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
68171         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
68172         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
68173         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
68174         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
68175         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
68176         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
68177         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
68178         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
68179         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
68180         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
68181         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
68182         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
68183         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
68184         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
68185         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
68186         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
68187         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
68188         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68189         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
68190         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68191         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
68192         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68193         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68194         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
68195         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68196         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
68197         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
68198         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
68199         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68200         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
68201         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
68202         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
68203         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
68204         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
68205         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
68206         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
68207         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
68208         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
68209         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
68210         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
68211         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
68212         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
68213         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
68214         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
68215         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
68216         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
68217         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
68218         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
68219         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
68220         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
68221         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
68222         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
68223         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
68224         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
68225         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
68226         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
68227         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
68228         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
68229         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
68230         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
68231         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
68232         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
68233         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
68234         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
68235         * sysdeps/ieee754/s_lib_version.c: Likewise.
68236         * sysdeps/ieee754/s_matherr.c: Likewise.
68237         * sysdeps/ieee754/s_signgam.c: Likewise.
68238         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
68239         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68240         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
68241         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
68242         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
68243         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
68244         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
68245         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
68246         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
68247         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
68248         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
68249         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
68250         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
68251         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
68252         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
68253         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
68254         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
68255         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
68256         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
68257         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
68258         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
68260 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
68262         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
68263         * sunrpc/rpc_main.c: Likewise.
68264         * sunrpc/rpc_svcout.c: Likewise.
68266 2012-03-09  David S. Miller  <davem@davemloft.net>
68268         * include/math_private.h: New file.
68270 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
68272         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
68273         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
68274         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
68275         from <bits/socket_type.h>.
68276         (enum __socket_type): Don't define here.
68277         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
68278         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68279         bits/socket_type.h.
68281         [BZ #13566]
68282         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
68283         checking __USE_GNU.
68285         * Makerules ($(inst_includedir)/%.h): New rule.
68286         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
68287         (install-others): Remove variable setting.
68288         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
68290 2012-03-08  Richard Henderson  <rth@twiddle.net>
68292         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
68293         from macro to inline function; merge with the
68294         !__LIBC_INTERNAL_MATH_INLINES version.
68295         (__ieee754_sqrtf): Likewise.
68297         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
68298         to inline function.
68299         (__rintf, __floor, __floorf): Likewise.
68301         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
68302         macro to inline function.
68303         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
68305         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
68306         not <math/math_private.h>.
68308 2012-03-08  David S. Miller  <davem@davemloft.net>
68310         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
68311         copyright year.
68312         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
68314 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
68316         * resolv/gai_misc.c (handle_requests): Fix struct timespec
68317         normalization.
68318         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
68319         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
68321 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
68323         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
68324         be defined individually, they must be defined as a block.  Define
68325         S for printing a string instead of hidint the different by using a
68326         macro for adding the 'l'.
68327         * stdio-common/tst-fphex-wide.c: Adjust.
68329 2012-03-07  Marek Polacek  <polacek@redhat.com>
68331         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
68333 2012-03-08  Marek Polacek  <polacek@redhat.com>
68335         [BZ #13806]
68336         * stdio-common/Makefile (tests): Add tst-fphex-wide.
68337         * stdio-common/tst-fphex.c: Define a few macros to make the
68338         test reusable.  Use them.
68339         * stdio-common/tst-fphex-wide.c: New file.
68341 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
68343         [BZ #6911]
68344         * manual/macros.texi (gnusystems): New macro.
68345         (nongnusystems): Likewise.
68346         (gnulinuxhurdsystems): Likewise.
68347         (gnuhurdsystems): Likewise..
68348         (gnulinuxsystems): Likewise.
68349         * manual/charset.texi: Use new macros or @theglibc{} to refer to
68350         variants of the GNU system, not "GNU system".
68351         * manual/conf.texi: Likewise.
68352         * manual/errno.texi: Likewise.  Update example of errno macro
68353         expansion.
68354         * manual/filesys.texi: Likewise.
68355         (getumask): Document as specific to GNU/Hurd.
68356         * manual/install.texi: Likewise.  Reword some references to
68357         GNU/Linux.
68358         * manual/intro.texi: Likewise.
68359         * manual/io.texi: Likewise.
68360         (File Name Portability): Detail which constraints are inapplicable
68361         to all GNU systems and which are only inapplicable to GNU/Hurd.
68362         * manual/job.texi: Likewise.
68363         * manual/llio.texi: Likewise.
68364         (O_NOCTTY): Document as present on GNU/Linux.
68365         * manual/maint.texi: Likewise.
68366         * manual/memory.texi: Likewise.
68367         * manual/pattern.texi: Likewise.
68368         * manual/pipe.texi: Likewise.
68369         * manual/process.texi: Likewise.
68370         * manual/resource.texi: Likewise.
68371         (RUSAGE_CHILDREN): Remove statement about specifying a particular
68372         child on GNU/Hurd.
68373         * manual/setjmp.texi: Likewise.
68374         * manual/signal.texi: Likewise.
68375         * manual/startup.texi: Likewise.
68376         * manual/stdio.texi: Likewise.
68377         * manual/terminal.texi: Likewise.
68378         (ONLCR): Document as POSIX.
68379         (OXTABS): Document availability on GNU/Linux as XTABS.
68380         (ONOEOT): Document availability separately from other bits.
68381         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
68382         * manual/time.texi: Likewise.
68383         * manual/users.texi: Likewise.
68384         * INSTALL: Regenerated.
68385         * sysdeps/gnu/errlist.c: Regenerated.
68387         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
68388         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
68389         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
68390         puts.
68391         * configure: Regenerated.
68393 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
68395         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
68396         default includes instead of AC_HEADER_CHECK.
68397         * sysdeps/i386/configure: Regenerated.
68399         [BZ #10716]
68400         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
68401         * math/s_cacoshf.c (__cacoshf): Likewise.
68402         * math/s_cacoshl.c (__cacoshl): Likewise.
68403         * math/s_casinh.c (__casinh): Set signs of result from argument.
68404         * math/s_casinhf.c (__casinhf): Likewise.
68405         * math/s_casinhl.c (__casinhl): Likewise.
68406         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
68407         (casinh_test): Add more tests.
68408         * sysdeps/i386/fpu/libm-test-ulps: Update.
68409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68411 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
68413         * po/zh_TW.po: Update from translation team.
68415         * login/Makefile (distribute): Remove variable.
68416         * catgets/Makefile: Likewise.
68417         * mach/Makefile: Likewise.
68418         * malloc/Makefile: Likewise.
68419         * misc/Makefile: Likewise.
68420         * iconv/Makefile: Likewise.
68421         * nscd/Makefile: Likewise.
68422         * hurd/Makefile: Likewise.
68423         * manual/Makefile: Likewise.
68424         * locale/Makefile: Likewise.
68425         * intl/Makefile: Likewise.
68426         * conform/Makefile: Likewise.
68427         * nss/Makefile: Likewise.
68428         * time/Makefile: Likewise.
68429         * soft-fp/Makefile: Likewise.
68430         * dirent/Makefile: Likewise.
68431         * gmon/Makefile: Likewise.
68432         * po/Makefile: Likewise.
68433         * rt/Makefile: Likewise.
68434         * socket/Makefile: Likewise.
68435         * math/Makefile: Likewise.
68436         * signal/Makefile: Likewise.
68437         * debug/Makefile: Likewise.
68438         * elf/Makefile: Likewise.
68439         * timezone/Makefile: Likewise.
68440         * stdlib/Makefile: Likewise.
68441         * iconvdata/Makefile: Likewise.
68442         * sunrpc/Makefile: Likewise.
68443         * io/Makefile: Likewise.
68444         * argp/Makefile: Likewise.
68445         * inet/Makefile: Likewise.
68446         * hesiod/Makefile: Likewise.
68447         * grp/Makefile: Likewise.
68448         * csu/Makefile: Likewise.
68449         * wctype/Makefile: Likewise.
68450         * crypt/Makefile: Likewise.
68451         * libio/Makefile: Likewise.
68452         * string/Makefile: Likewise.
68453         * nis/Makefile: Likewise.
68454         * resolv/Makefile: Likewise.
68455         * stdio-common/Makefile: Likewise.
68456         * wcsmbs/Makefile: Likewise.
68457         * dlfcn/Makefile: Likewise.
68458         * posix/Makefile: Likewise.
68460         [BZ #6959]
68461         * timezone/Makefile: Don't install timezone files, just the programs
68462         and scripts.
68464 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
68466         * nss/databases.def: Add missing gshadow entry.
68468         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
68470 2012-03-06  Marek Polacek  <polacek@redhat.com>
68472         [BZ #13726]
68473         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
68474         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
68475         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
68476         * stdio-common/tst-long-dbl-fphex.c: New file.
68478 2012-03-06  David S. Miller  <davem@davemloft.net>
68480         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68481         (set_obp_int): New function.
68482         (get_obp_int): New function.
68483         (__get_clockfreq_via_dev_openprom): Likewise.
68484         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
68485         Avoid unused variable warnings on 'val' and use builtin_expect.
68486         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
68487         __builtin_expect.
68488         (INLINE_CLONE_SYSCALL): Likewise.
68490 2012-03-05  David S. Miller  <davem@davemloft.net>
68492         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68494 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
68496         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68498         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
68499         only for |x| >= 40.
68500         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68502 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
68504         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
68505         Replace gettimeofday with __vdso_gettimeofday.
68507         * sysdeps/unix/sysv/linux/x86_64/init-first.c
68508         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
68509         __vdso_clock_gettime and __vdso_getcpu.
68511         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
68512         time with __vdso_time.
68514 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
68516         * manual/lang.texi (size_t): Note types to which size_t may be
68517         equivalent with the GNU C Library, but do not describe when
68518         differences between them are significant.
68520 2012-03-05  Andreas Jaeger  <aj@suse.de>
68522         * sysdeps/i386/fpu/libm-test-ulps: Update.
68524 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
68526         [BZ #3976]
68527         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
68528         (__ieee754_pow): Save and restore rounding mode and use
68529         round-to-nearest for main computations.
68530         * math/libm-test.inc (pow_test_tonearest): New function.
68531         (pow_test_towardzero): Likewise.
68532         (pow_test_downward): Likewise.
68533         (pow_test_upward): Likewise.
68534         (main): Call the new functions.
68535         * sysdeps/i386/fpu/libm-test-ulps: Update.
68536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68538         [BZ #3976]
68539         * math/libm-test.inc (cosh_test_tonearest): New function.
68540         (cosh_test_towardzero): Likewise.
68541         (cosh_test_downward): Likewise.
68542         (cosh_test_upward): Likewise.
68543         (sinh_test_tonearest): Likewise.
68544         (sinh_test_towardzero): Likewise.
68545         (sinh_test_downward): Likewise.
68546         (sinh_test_upward): Likewise.
68547         (main): Call the new functions.
68548         * sysdeps/i386/fpu/libm-test-ulps: Update.
68549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68551 2012-03-05  Tom de Vries  <tom@codesourcery.com>
68553         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
68554         default stack guard is set in last bytes.
68555         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
68557 2012-03-05  Kees Cook  <keescook@chromium.org>
68559         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
68561         [BZ #13656]
68562         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
68563         possibly allocate from heap instead of stack.
68564         * stdio-common/bug-vfprintf-nargs.c: New file.
68565         * stdio-common/Makefile (tests): Add nargs overflow test.
68567 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
68569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68571 2012-03-03  Marek Polacek  <polacek@redhat.com>
68573         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
68574         * math/math_private.h: Likewise.
68575         * stdlib/tst-strtod.c: Likewise.
68576         * sysdeps/i386/i486/bits/atomic.h: Likewise.
68577         * sysdeps/x86_64/bits/atomic.h: Likewise.
68579 2012-03-02  David S. Miller  <davem@davemloft.net>
68581         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
68582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
68583         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
68584         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
68585         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
68586         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
68587         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
68588         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
68590 2012-03-02  Roland McGrath  <roland@hack.frob.com>
68592         [BZ #13792]
68593         * manual/examples/README: New file, says the example source files
68594         can be used under GPL>=2.
68595         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
68596         line containing just "*/".
68597         * manual/examples/add.c: Add copyright header (GPL>=2).
68598         * manual/examples/argp-ex1.c: Likewise.
68599         * manual/examples/argp-ex2.c: Likewise.
68600         * manual/examples/argp-ex3.c: Likewise.
68601         * manual/examples/argp-ex4.c: Likewise.
68602         * manual/examples/atexit.c: Likewise.
68603         * manual/examples/db.c: Likewise.
68604         * manual/examples/dir.c: Likewise.
68605         * manual/examples/dir2.c: Likewise.
68606         * manual/examples/execinfo.c: Likewise.
68607         * manual/examples/filecli.c: Likewise.
68608         * manual/examples/filesrv.c: Likewise.
68609         * manual/examples/fmtmsgexpl.c: Likewise.
68610         * manual/examples/genpass.c: Likewise.
68611         * manual/examples/inetcli.c: Likewise.
68612         * manual/examples/inetsrv.c: Likewise.
68613         * manual/examples/isockad.c: Likewise.
68614         * manual/examples/longopt.c: Likewise.
68615         * manual/examples/memopen.c: Likewise.
68616         * manual/examples/memstrm.c: Likewise.
68617         * manual/examples/mkfsock.c: Likewise.
68618         * manual/examples/mkisock.c: Likewise.
68619         * manual/examples/mygetpass.c: Likewise.
68620         * manual/examples/pipe.c: Likewise.
68621         * manual/examples/popen.c: Likewise.
68622         * manual/examples/rprintf.c: Likewise.
68623         * manual/examples/search.c: Likewise.
68624         * manual/examples/select.c: Likewise.
68625         * manual/examples/setjmp.c: Likewise.
68626         * manual/examples/sigh1.c: Likewise.
68627         * manual/examples/sigusr.c: Likewise.
68628         * manual/examples/stpcpy.c: Likewise.
68629         * manual/examples/strdupa.c: Likewise.
68630         * manual/examples/strftim.c: Likewise.
68631         * manual/examples/strncat.c: Likewise.
68632         * manual/examples/subopt.c: Likewise.
68633         * manual/examples/swapcontext.c: Likewise.
68634         * manual/examples/termios.c: Likewise.
68635         * manual/examples/testopt.c: Likewise.
68636         * manual/examples/testpass.c: Likewise.
68637         * manual/examples/timeval_subtract.c: Likewise.
68639         [BZ #13792]
68640         * manual/time.texi (Elapsed Time): Move timeval_subtract example
68641         function to ...
68642         * manual/timeval_subtract.c.texi: ... here, new file.
68644 2012-03-02  David S. Miller  <davem@davemloft.net>
68646         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
68648 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
68650         [BZ #3976]
68651         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
68652         (__sin): Save and restore rounding mode and use round-to-nearest
68653         for all computations.
68654         (__cos): Save and restore rounding mode and use round-to-nearest
68655         for all computations.
68656         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
68657         <fenv.h>.
68658         (tan): Save and restore rounding mode and use round-to-nearest for
68659         all computations.
68660         * math/libm-test.inc (cos_test_tonearest): New function.
68661         (cos_test_towardzero): Likewise.
68662         (cos_test_downward): Likewise.
68663         (cos_test_upward): Likewise.
68664         (sin_test_tonearest): Likewise.
68665         (sin_test_towardzero): Likewise.
68666         (sin_test_downward): Likewise.
68667         (sin_test_upward): Likewise.
68668         (tan_test_tonearest): Likewise.
68669         (tan_test_towardzero): Likewise.
68670         (tan_test_downward): Likewise.
68671         (tan_test_upward): Likewise.
68672         (main): Call the new functions.
68673         * sysdeps/i386/fpu/libm-test-ulps: Update.
68674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68676         [BZ #10135]
68677         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
68678         small n, then large n, before computing and testing k+n.
68679         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
68680         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
68681         Likewise.
68682         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
68683         Likewise.
68684         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
68685         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
68686         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
68687         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
68688         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
68689         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
68690         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
68691         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
68692         * math/libm-test.inc (scalbn_test): Add more tests.
68693         (scalbln_test): Likewise.
68695         * manual/filesys.texi (mode_t): Describe constraints on size and
68696         signedness, not exact equivalence to a particular type.
68697         (ino_t): Likewise.
68698         (ino64_t): Likewise.
68699         (dev_t): Likewise.
68700         (nlink_t): Likewise.
68701         (blkcnt_t): Likewise.
68702         (blkcnt64_t): Likewise.
68703         * manual/llio.texi (off_t): Likewise.
68705         [BZ #3976]
68706         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
68707         (__ieee754_exp): Save and restore rounding mode and use
68708         round-to-nearest for all computations.
68709         * math/libm-test.inc (exp_test_tonearest): New function.
68710         (exp_test_towardzero): Likewise.
68711         (exp_test_downward): Likewise.
68712         (exp_test_upward): Likewise.
68713         (main): Call the new functions.
68714         * sysdeps/i386/fpu/libm-test-ulps: Update.
68715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68717 2012-03-01  Chris Demetriou  <cgd@google.com>
68719         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
68720         have predictable order.
68722 2012-03-01  David S. Miller  <davem@davemloft.net>
68724         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
68726         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
68727         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
68728         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
68729         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
68731         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
68732         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
68733         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
68734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
68735         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
68736         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
68737         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
68738         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
68739         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
68741         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68743         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
68744         * sysdeps/sparc/fpu/libm-test-ulps: to here.
68745         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
68747         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
68748         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68749         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
68750         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
68751         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
68752         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
68753         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
68754         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68755         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
68756         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
68757         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
68758         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68759         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
68760         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
68761         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
68762         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68763         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
68764         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
68765         * sysdeps/sparc/elf/configure: Regenerated.
68767 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
68769         * configure.in (AS, LD): Require binutils 2.20 or later.
68770         * configure: Regenerated.
68771         * manual/install.texi (Tools for Compilation): Give binutils 2.20
68772         as required minimum version.
68773         * INSTALL: Regenerated.
68775         [BZ #2541]
68776         [BZ #4108]
68777         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
68778         before squaring exponent.
68779         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
68780         bottom long double and 27 bits of top long double before squaring
68781         exponent.
68782         * math/libm-test.inc (erfc_test): Add more tests.
68783         * sysdeps/i386/fpu/libm-test-ulps: Update.
68784         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68787 2012-03-01  Kai Tietz  <ktietz@redhat.com>
68789         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
68790         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
68791         containing bit-fields.
68792         * soft-fp/extended.h (_FP_UNION_E): Likewise.
68793         * soft-fp/single.h (_FP_UNION_S): Likewise.
68794         * soft-fp/double.h (_FP_UNION_D): Likewise.
68796 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
68798         [BZ #13786]
68799         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
68800         not include ../strcmp.S.
68801         [USE_AS_STRNCASECMP_L]: Likewise.
68802         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
68803         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
68804         * sysdeps/i386/i686/multiarch/strncase_l-c.c
68805         (__strncasecmp_l_ia32): Define as alias to
68806         __strncasecmp_l_nonascii.
68808         [BZ #5794]
68809         * math/libm-test.inc (expm1_test): Add test for bug 5794.
68810         * sysdeps/i386/fpu/libm-test-ulps: Update.
68811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68813         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
68814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68816 2012-02-29  Jeff Law  <law@redhat.com>
68818         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
68819         out of bounds read.
68821 2012-02-29  Marek Polacek  <polacek@redhat.com>
68823         [BZ #13706]
68824         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
68825         * elf/Makefile: Add rules to run tst-unused-dep.out.
68827 2012-02-28  David S. Miller  <davem@davemloft.net>
68829         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
68830         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
68831         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
68832         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
68833         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
68834         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
68836 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
68838         * math/libm-test.inc (llround_test): Move one test from
68839         lround_test.  Use TEST_f_L in moved test.
68840         (lround_test): Move misplaced test to llround_test.  Add testcase
68841         from bug 2561.
68843 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
68845         * sysdeps/x86_64/fpu/e_expf.S: New file.
68846         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
68848 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
68850         [BZ #13637]
68851         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
68852         of remain_len that may cause incomplete multi-byte character and
68853         false match.
68854         * posix/bug-regex33.c: New file.
68855         * posix/Makefile (tests): Add bug-regex33.
68857 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
68859         * manual/macros.texi: New file.
68860         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
68861         * manual/libc.texinfo: Include macros.texi.
68862         * manual/creatute.texi: Likewise.
68863         * manual/install.texi: Likewise.
68864         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
68865         @glibcadj{} in references to the GNU C Library.
68866         * manual/charset.texi: Likewise.
68867         * manual/conf.texi: Likewise.
68868         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
68869         when not using those macros.
68870         * manual/creature.texi: Likewise.
68871         * manual/crypt.texi: Likewise.
68872         * manual/errno.texi: Likewise.
68873         * manual/filesys.texi: Likewise.
68874         * manual/header.texi: Likewise.
68875         * manual/install.texi: Likewise.
68876         * manual/intro.texi: Likewise.
68877         * manual/io.texi: Likewise.
68878         * manual/job.texi: Likewise.
68879         * manual/lang.texi: Likewise.
68880         * manual/libc.texiinfo: Likewise.
68881         * manual/llio.texi: Likewise.
68882         * manual/locale.texi: Likewise.
68883         * manual/maint.texi: Likewise.
68884         * manual/math.texi: Likewise.
68885         * manual/memory.texi: Likewise.
68886         * manual/message.texi: Likewise.
68887         * manual/nss.texi: Likewise.
68888         * manual/pattern.texi: Likewise.
68889         * manual/process.texi: Likewise.
68890         * manual/resource.texi: Likewise.
68891         * manual/search.texi: Likewise.
68892         * manual/setjmp.texi: Likewise.
68893         * manual/signal.texi: Likewise.
68894         * manual/socket.texi: Likewise.
68895         * manual/startup.texi: Likewise.
68896         * manual/stdio.texi: Likewise.
68897         * manual/string.texi: Likewise.
68898         * manual/sysinfo.texi: Likewise.
68899         * manual/syslog.texi: Likewise.
68900         * manual/terminal.texi: Likewise.
68901         * manual/time.texi: Likewise.
68902         * manual/users.texi: Likewise.
68903         * INSTALL: Regenerated.
68904         * NOTES: Regenerated.
68905         * sysdeps/gnu/errlist.c: Regenerated.
68907 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
68909         * include/dirent.h: Include <dirstream.h> before
68910         <dirent/dirent.h>.
68912 2012-02-28  David S. Miller  <davem@davemloft.net>
68914         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
68915         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
68916         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
68917         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
68919 2012-02-27  David S. Miller  <davem@davemloft.net>
68921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
68922         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
68923         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
68924         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
68926         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
68927         frame pointer instead of stack pointer relative arg slot.
68928         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68929         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68930         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68932 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
68934         [BZ #3992]
68935         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
68937 2012-02-27  David S. Miller  <davem@davemloft.net>
68939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
68940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68941         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68942         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
68943         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68944         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68945         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
68946         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
68948 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
68950         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
68951         later.  Allow versions 5-9.
68952         * configure: Regenerated.
68953         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
68954         required minimum version and 4.6 as recommended version.  Do not
68955         mention bugs in GCC 2.7 and 2.8.
68956         * INSTALL: Regenerated.
68958 2012-02-27  David S. Miller  <davem@davemloft.net>
68960         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
68961         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
68962         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
68963         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
68964         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
68965         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
68966         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
68967         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
68969         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
68970         manipulate bits before adding and subtracting TWO112[sx].
68971         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
68973 2012-02-27  Roland McGrath  <roland@hack.frob.com>
68975         [BZ #13775]
68976         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
68977         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
68978         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
68979         being in POSIX, because they are in 1003.1-2008.
68981         * rt/tst-aio.c: Include <fcntl.h>.
68982         * rt/tst-aio7.c: Likewise.
68983         * rt/tst-aio64.c: Likewise.
68985         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
68987 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
68989         * manual/install.texi (--with-headers): Describe headers as
68990         interface headers, not private headers.
68991         (Specific advice for GNU/Linux systems): Describe use of headers
68992         from "make headers_install", not private headers from older
68993         kernels.
68994         * INSTALL: Regenerated.
68995         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
68996         Change to 2.6.19.
68997         * sysdeps/unix/sysv/linux/configure: Regenerated.
68999         * manual/llio.texi (fclean): Remove documentation.
69001         * manual/Makefile (libc-texi-generated): New variable.  Include
69002         version.texi.
69003         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
69004         $(libc-texi-generated), not duplicated list of files.
69005         (version.texi, stamp-version): New rules.
69006         (realclean): Remove $(libc-texi-generated), not individual files
69007         from that list.  Do not remove dir-add.texinfo.
69008         * manual/libc.texinfo: Comment out uses of edition numbers and
69009         references to printed manual.  Remove last-updated dates.
69010         (EDITION): Comment out.
69011         (ISBN): Likewise.
69012         (VERSION, UPDATED): Remove.
69013         (version.texi): Include.
69015 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
69017         * sysdeps/posix/spawni.c: Include <signal.h>.
69018         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
69019         * sysdeps/pthread/aio_fsync.c: Likewise.
69021 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
69023         * conform/Makefile (tests): Run only when not cross-compiling and
69024         when fast-check is not defined.
69026         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
69027         * conform/data/limits.h-data: Fixes for POSIX2008.
69028         * conform/run-conformtest.sh: Run all tests.
69029         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
69030         headers.
69031         * include/bits/dlfcn.h: Likewise.
69032         * include/langinfo.h: Likewise.
69033         * include/monetary.h: Likewise.
69034         * include/sys/poll.h: Likewise.
69036         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
69037         for __USE_GNU.
69038         * posix/spawn.h: Define __need_sigset_t.
69039         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
69040         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
69041         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
69042         to get sigevent_t only.
69043         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
69044         only for __USE_GNU.
69045         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69046         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
69047         process_vm_writev only for __USE_GNU.
69048         * termios/termios.h: Declare tcgetsid also for POSIX2008.
69050         * conform/Makefile: For now ignore errors from run-conformtest.
69051         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
69052         POSIX to avoid namespace pollution.  Don't prepend headers.
69053         * conform/data/aio.h-data: Fixes for POSIX testing.
69054         * conform/data/fcntl.h-data: Likewise.
69055         * conform/data/glob.h-data: Likewise.
69056         * conform/data/grp.h-data: Likewise.
69057         * conform/data/pthread.h-data: Likewise.
69058         * conform/data/pwd.h-data: Likewise.
69059         * conform/data/signal.h-data: Likewise.
69060         * conform/data/spawn.h-data: Likewise.
69061         * conform/data/stdio.h-data: Likewise.
69062         * conform/data/stdlib.h-data: Likewise.
69063         * conform/data/stropts.h-data: Likewise.
69064         * conform/data/sys/mman.h-data: Likewise.
69065         * conform/data/sys/stat.h-data: Likewise.
69066         * conform/data/sys/types.h-data: Likewise.
69067         * conform/data/sys/wait.h-data: Likewise.
69068         * conform/data/time.h-data: Likewise.
69069         * conform/data/unistd.h-data: Likewise.
69070         * conform/data/utime.h-data: Likewise.
69072         * io/sys/stat.h: fchmod was always in POSIX.
69073         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
69074         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
69075         * rt/aio.h: Define __need_timespec before including <time.h>.
69076         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
69077         struct.  Add forward declaration of pthread_attr_t and use it in
69078         sigevent.
69079         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
69080         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
69081         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
69082         always remove CLK_TCK definition.
69084 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
69086         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
69088 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
69090         * conform/run-conformtest.sh: New file.
69091         * conform/Makefile: Run run-conformtest for tests.
69092         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
69093         support.
69095         * conform/data/uchar.h-data: New file.
69096         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
69097         * conform/data/arpa/inet.h-data: Likewise.
69098         * conform/data/assert.h-data: Likewise.
69099         * conform/data/complex.h-data: Likewise.
69100         * conform/data/cpio.h-data: Likewise.
69101         * conform/data/ctype.h-data: Likewise.
69102         * conform/data/dirent.h-data: Likewise.
69103         * conform/data/dlfcn.h-data: Likewise.
69104         * conform/data/errno.h-data: Likewise.
69105         * conform/data/fcntl.h-data: Likewise.
69106         * conform/data/float.h-data: Likewise.
69107         * conform/data/fmtmsg.h-data: Likewise.
69108         * conform/data/fnmatch.h-data: Likewise.
69109         * conform/data/ftw.h-data: Likewise.
69110         * conform/data/glob.h-data: Likewise.
69111         * conform/data/grp.h-data: Likewise.
69112         * conform/data/iconv.h-data: Likewise.
69113         * conform/data/inttypes.h-data: Likewise.
69114         * conform/data/langinfo.h-data: Likewise.
69115         * conform/data/libgen.h-data: Likewise.
69116         * conform/data/limits.h-data: Likewise.
69117         * conform/data/locale.h-data: Likewise.
69118         * conform/data/math.h-data: Likewise.
69119         * conform/data/monetary.h-data: Likewise.
69120         * conform/data/mqueue.h-data: Likewise.
69121         * conform/data/ndbm.h-data: Likewise.
69122         * conform/data/net/if.h-data: Likewise.
69123         * conform/data/netdb.h-data: Likewise.
69124         * conform/data/netinet/in.h-data: Likewise.
69125         * conform/data/nl_types.h-data: Likewise.
69126         * conform/data/poll.h-data: Likewise.
69127         * conform/data/pthread.h-data: Likewise.
69128         * conform/data/pwd.h-data: Likewise.
69129         * conform/data/regex.h-data: Likewise.
69130         * conform/data/sched.h-data: Likewise.
69131         * conform/data/search.h-data: Likewise.
69132         * conform/data/semaphore.h-data: Likewise.
69133         * conform/data/setjmp.h-data: Likewise.
69134         * conform/data/signal.h-data: Likewise.
69135         * conform/data/spawn.h-data: Likewise.
69136         * conform/data/stdarg.h-data: Likewise.
69137         * conform/data/stdio.h-data: Likewise.
69138         * conform/data/stdlib.h-data: Likewise.
69139         * conform/data/string.h-data: Likewise.
69140         * conform/data/strings.h-data: Likewise.
69141         * conform/data/stropts.h-data: Likewise.
69142         * conform/data/sys/ipc.h-data: Likewise.
69143         * conform/data/sys/mman.h-data: Likewise.
69144         * conform/data/sys/msg.h-data: Likewise.
69145         * conform/data/sys/resource.h-data: Likewise.
69146         * conform/data/sys/select.h-data: Likewise.
69147         * conform/data/sys/sem.h-data: Likewise.
69148         * conform/data/sys/shm.h-data: Likewise.
69149         * conform/data/sys/socket.h-data: Likewise.
69150         * conform/data/sys/stat.h-data: Likewise.
69151         * conform/data/sys/statvfs.h-data: Likewise.
69152         * conform/data/sys/time.h-data: Likewise.
69153         * conform/data/sys/timeb.h-data: Likewise.
69154         * conform/data/sys/times.h-data: Likewise.
69155         * conform/data/sys/types.h-data: Likewise.
69156         * conform/data/sys/uio.h-data: Likewise.
69157         * conform/data/sys/un.h-data: Likewise.
69158         * conform/data/sys/utsname.h-data: Likewise.
69159         * conform/data/sys/wait.h-data: Likewise.
69160         * conform/data/syslog.h-data: Likewise.
69161         * conform/data/tar.h-data: Likewise.
69162         * conform/data/termios.h-data: Likewise.
69163         * conform/data/utime.h-data: Likewise.
69164         * conform/data/utmpx.h-data: Likewise.
69165         * conform/data/varargs.h-data: Likewise.
69166         * conform/data/wchar.h-data: Likewise.
69167         * conform/data/wctype.h-data: Likewise.
69168         * conform/data/wordexp.h-data: Likewise.
69170         * include/stropts.h: New file.
69171         * include/uchar.h: New file.
69172         * include/aio.h: Changes to allow conformtest.pl to use the headers.
69173         * include/assert.h: Likewise.
69174         * include/ctype.h: Likewise.
69175         * include/dirent.h: Likewise.
69176         * include/dlfcn.h: Likewise.
69177         * include/fcntl.h: Likewise.
69178         * include/fnmatch.h: Likewise.
69179         * include/glob.h: Likewise.
69180         * include/grp.h: Likewise.
69181         * include/libio.h: Likewise.
69182         * include/locale.h: Likewise.
69183         * include/math.h: Likewise.
69184         * include/net/if.h: Likewise.
69185         * include/netdb.h: Likewise.
69186         * include/netinet/in.h: Likewise.
69187         * include/pthread.h: Likewise.
69188         * include/pwd.h: Likewise.
69189         * include/regex.h: Likewise.
69190         * include/sched.h: Likewise.
69191         * include/search.h: Likewise.
69192         * include/setjmp.h: Likewise.
69193         * include/signal.h: Likewise.
69194         * include/stdio.h: Likewise.
69195         * include/stdlib.h: Likewise.
69196         * include/string.h: Likewise.
69197         * include/sys/cdefs.h: Likewise.
69198         * include/sys/mman.h: Likewise.
69199         * include/sys/msg.h: Likewise.
69200         * include/sys/resource.h: Likewise.
69201         * include/sys/select.h: Likewise.
69202         * include/sys/socket.h: Likewise.
69203         * include/sys/stat.h: Likewise.
69204         * include/sys/statvfs.h: Likewise.
69205         * include/sys/time.h: Likewise.
69206         * include/sys/times.h: Likewise.
69207         * include/sys/uio.h: Likewise.
69208         * include/sys/utsname.h: Likewise.
69209         * include/sys/wait.h: Likewise.
69210         * include/termios.h: Likewise.
69211         * include/time.h: Likewise.
69212         * include/ulimit.h: Likewise.
69213         * include/unistd.h: Likewise.
69214         * include/utime.h: Likewise.
69215         * include/wchar.h: Likewise.
69216         * include/wctype.h: Likewise.
69217         * include/wordexp.h: Likewise.
69219         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
69221         * time/time.h: TIME_UTC must be a macro.
69222         Make timespec_get available for ISO C11 only as well.
69224 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
69226         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
69227         Reported by Peng Haitao <penght@cn.fujitsu.com>.
69229 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69231         * configure.in: Use -o not -a in test for unsupported multi-arch.
69233 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69235         * manual/texinfo.tex: Update to version 2012-01-19.16.
69237 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69239         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
69241 2012-02-24  Roland McGrath  <roland@hack.frob.com>
69243         [BZ #13738]
69244         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
69245         * manual/fdl-1.3.texi: New file.
69246         * manual/fdl-1.1.texi: File removed.
69248         [BZ #13738]
69249         * manual/libc.texinfo (FDL_VERSION): New @set.
69250         Use it for mention of FDL in cover text.
69251         (Documentation License): Use it in @include file name.
69253 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69254             Roland McGrath  <roland@hack.frob.com>
69256         [BZ #5461]
69257         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
69258         (not LONG_LONG_MAX and LONG_LONG_MIN.
69259         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
69260         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
69261         name.
69262         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
69264 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69266         [BZ #2547]
69267         [BZ #11365]
69268         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
69269         manipulate bits before adding and subtracting TWO23[sx].
69270         * math/libm-test.inc (nearbyint_test): Add more tests.
69272 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69274         [BZ #2548]
69275         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
69276         bits before adding and subtracting TWO23[sx].
69277         * math/libm-test.inc (rint_test): Add more tests.
69278         (rint_test_tonearest): Likewise.
69279         (rint_test_towardzero): Likewise.
69280         (rint_test_downward): Likewise.
69281         (rint_test_upward: Likewise.
69283 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69285         [BZ #10110]
69286         * include/stdc-predef.h: New file.  Extracted from features.h.
69287         * include/features.h: Include stdc-predef.h.
69288         * Makefile (headers): Add stdc-predef.h.
69289         * CONFORMANCE (Compiler limitations): Update.
69291 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69293         * manual/libc.texinfo (VERSION, UPDATED): Revert.
69295 2012-02-21  David S. Miller  <davem@davemloft.net>
69297         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
69298         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69300 2012-02-20  David S. Miller  <davem@davemloft.net>
69302         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
69303         using a normal save/restore sequence, rather than allocating a
69304         dummy stack frame just to store a frame pointer and restore.
69305         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69307 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69309         * manual/install.texi: Fix stray word in line-wrapped comment.
69311 2012-02-20  David S. Miller  <davem@davemloft.net>
69313         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
69314         both binutils and gcc support GOTDATA.
69316         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
69317         "rd %pc" in the PIC register setup sequences.
69319         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
69320         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
69321         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69322         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
69323         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69324         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69325         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69326         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69327         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
69328         (SYSCALL_ERROR_HANDLER): Likewise.
69329         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69330         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69331         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
69332         (SYSCALL_ERROR_HANDLER): Likewise.
69334         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
69335         (HAVE_GCC_GOTDATA): New.
69336         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
69337         relocation support in both binutils and gcc.
69338         * sysdeps/sparc/elf/configure: Regenerate.
69340         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
69341         * sysdeps/sparc/sparc32/elf/configure: Delete.
69342         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
69343         * sysdeps/sparc/sparc64/elf/configure: Delete.
69344         * sysdeps/sparc/elf/configure.in: New file.
69345         * sysdeps/sparc/elf/configure: Generate.
69347         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
69348         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
69349         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
69350         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
69351         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
69353 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69355         * manual/install.texi: Do not mention specific glibc version
69356         numbers.
69357         * manual/libc.texinfo (VERSION, UPDATED): Update.
69358         (@copying): Use @copyright{} and range of years.
69360 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69362         [BZ #13695]
69363         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
69364         [crti.S not in sysdirs] (generated): Do not append.
69365         [crti.S not in sysdirs] (omit-deps): Likewise.
69366         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
69367         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
69368         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
69369         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
69370         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
69371         Likewise.
69372         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
69373         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
69374         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
69375         * csu/defs.awk: Remove file.
69376         * sysdeps/generic/initfini.c: Likewise.
69377         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
69378         variable.
69379         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
69380         Likewise.
69382 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69384         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
69385         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
69386         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
69387         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
69388         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69389         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
69390         <bits/epoll.h>.
69391         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
69392         (__EPOLL_PACKED): Define to empty if not defined by
69393         <bits/epoll.h>.
69394         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
69395         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69396         bits/epoll.h.
69398 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69400         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
69401         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
69402         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
69403         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
69404         <bits/timerfd.h>.
69405         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
69406         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69407         bits/timerfd.h.
69409 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69411         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
69412         in C locale.
69413         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69414         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
69415         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
69416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69418 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
69420         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69421         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69423 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
69425         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
69426         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
69427         defined.
69428         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
69429         Likewise.
69430         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
69431         entry for 2.16.
69433 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
69435         * math/w_acos.c: Use non-signaling floating-point comparisons.
69436         * math/w_acosf.c: Likewise.
69437         * math/w_acosh.c: Likewise.
69438         * math/w_acoshf.c: Likewise.
69439         * math/w_acoshl.c: Likewise.
69440         * math/w_acosl.c: Likewise.
69441         * math/w_asin.c: Likewise.
69442         * math/w_asinf.c: Likewise.
69443         * math/w_asinl.c: Likewise.
69444         * math/w_atanh.c: Likewise.
69445         * math/w_atanhf.c: Likewise.
69446         * math/w_atanhl.c: Likewise.
69447         * math/w_exp2.c: Likewise.
69448         * math/w_exp2f.c: Likewise.
69449         * math/w_exp2l.c: Likewise.
69450         * math/w_j0.c: Likewise.
69451         * math/w_j0f.c: Likewise.
69452         * math/w_j0l.c: Likewise.
69453         * math/w_j1.c: Likewise.
69454         * math/w_j1f.c: Likewise.
69455         * math/w_j1l.c: Likewise.
69456         * math/w_jn.c: Likewise.
69457         * math/w_jnf.c: Likewise.
69458         * math/w_log.c: Likewise.
69459         * math/w_log10.c: Likewise.
69460         * math/w_log10f.c: Likewise.
69461         * math/w_log10l.c: Likewise.
69462         * math/w_log2.c: Likewise.
69463         * math/w_log2f.c: Likewise.
69464         * math/w_log2l.c: Likewise.
69465         * math/w_logf.c: Likewise.
69466         * math/w_logl.c: Likewise.
69467         * math/w_sqrt.c: Likewise.
69468         * math/w_sqrtf.c: Likewise.
69469         * math/w_sqrtl.c: Likewise.
69470         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69471         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
69472         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69473         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
69474         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
69476 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69478         [BZ #9739]
69479         * manual/string.texi (strnlen): Use correct parameter name in
69480         equivalent expression.
69482 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69484         [BZ #11174]
69485         * manual/users.texi (seteuid): Consistently use neweuid for
69486         argument name.
69488 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69490         [BZ #13704]
69491         * manual/nss.texi (Services in the NSS configuration): Correct
69492         list of services in example configuration file.
69494 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
69496         [BZ #11322]
69497         * manual/arith.texi: Remove statements about negative zero
69498         behaving identically to zero.
69500 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
69502         [BZ #5993]
69503         * manual/install.texi: Do not document upgrading from libc5.
69505 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
69507         [BZ #4596]
69508         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
69510 2012-02-18  David S. Miller  <davem@davemloft.net>
69512         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
69513         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
69514         %o7 across the call.
69515         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
69516         instead.
69517         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
69518         SETUP_PIC_REG_LEAF.
69519         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69520         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
69521         * sysdeps/sparc/crtn.S: Likewise.
69523 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
69525         * aout/Makefile: Remove.
69527 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
69529         [BZ #13058]
69530         * manual/examples/argp-ex1.c (main): Format definition in GNU
69531         style.
69532         * manual/examples/argp-ex2.c (main): Likewise.
69533         * manual/examples/argp-ex3.c (main): Likewise.
69534         * manual/examples/argp-ex4.c (main): Likewise.
69535         * manual/examples/longopt.c (main): Use new-style prototype
69536         definition.
69537         * manual/examples/strncat.c (main): Specify return type and use
69538         (void) for arguments.
69539         * manual/examples/subopt.c (main): Use char **argv argument.
69541 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69543         [BZ #5077]
69544         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
69545         rounding modes.
69547 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
69549         [BZ #6907]
69550         * manual/string.texi (strchr): Change when strchrnul is
69551         recommended.
69553 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
69555         [BZ #174]
69556         * manual/locale.texi (setlocale): Document LOCPATH.
69558 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69560         [BZ #10210]
69561         * manual/process.texi (execle): Move @dots{} before last argument.
69563 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
69565         [BZ #12047]
69566         * manual/charset.texi (Generic Charset Conversion): Fix typo
69567         (LC_TYPE -> LC_CTYPE).
69569 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
69571         [BZ #5805]
69572         * manual/arith.texi (scalbn): Use @var{} on parameter names.
69573         (scalbnf): Likewise.
69574         (scalbnl): Likewise.
69575         (scalbln): Likewise.
69576         (scalblnf): Likewise.
69577         (scalblnl): Likewise.
69578         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
69579         (vwarnx): Likewise.
69580         (verr): Likewise.
69581         (verrx): Likewise.
69582         * manual/filesys.texi (telldir): Use braces around return type.
69583         * manual/llio.texi (mmap): Add space after comma.
69584         (mmap64): Likewise.
69585         * manual/math.texi (jn): Use @var{} on parameter names.
69586         (jnf): Likewise.
69587         (jnl): Likewise.
69588         (yn): Likewise.
69589         (ynf): Likewise.
69590         (ynl): Likewise.
69591         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
69592         line.
69593         * manual/resource.texi (ulimit): Use @dots{} instead of literal
69594         "...".
69595         (sched_get_priority_min): Remove semicolon on @deftypefun line.
69596         (sched_get_priority_max): Likewise.
69597         * manual/signal.texi (sigvec): Add space after comma.
69598         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
69599         names.
69600         (if_indextoname): Likewise.
69601         (if_freenameindex): Likewise.
69602         (sendto): Use ',' instead of '.' in prototype.
69603         * manual/startup.texi (syscall): Use @dots{} instead of literal
69604         "...".
69605         * manual/stdio.texi (__fpending): Separate initial words of
69606         paragraph from @deftypefun line.
69607         * manual/syslog.texi (syslog): Use @dots{} instead of literal
69608         "...".
69609         (vsyslog): Use @var{} on parameter names.
69610         * manual/terminal.texi (stty): Use @var{} on parameter names.
69611         * manual/users.texi (getutmp): Use @var{} on parameter names.
69612         (getutmpx): Likewise.
69614 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69616         [BZ #6884]
69617         * manual/stdio.texi (fopen): Fix typos in description of
69618         ",ccs=STRING".
69620 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
69622         [BZ #4026]
69623         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
69624         get clock_id definition.
69626 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
69628         [BZ #4822]
69629         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
69630         (madvise): Cast every argument to void on its own.
69632 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69634         [BZ #9902]
69635         * manual/startup.texi (Exit Status): Fix typo.
69637 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69639         [BZ #10140]
69640         * manual/examples/argp-ex1.c: Include <stdlib.h>.
69641         * manual/examples/argp-ex2.c: Likewise.
69642         * manual/examples/argp-ex3.c: Likewise.
69644 2012-02-16  Richard Henderson  <rth@redhat.com>
69646         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
69647         * sysdeps/s390/s390-32/initfini.c: Remove.
69648         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
69649         * sysdeps/s390/s390-64/initfini.c: Remove.
69651 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69653         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
69654         compiler output for sysdeps/generic/initfini.c.
69655         * sysdeps/sh/elf/initfini.c: Remove file.
69657 2012-02-16  David S. Miller  <davem@davemloft.net>
69659         [BZ #11494]
69660         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
69662         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
69663         * sysdeps/sparc/crti.S: New file.
69664         * sysdeps/sparc/crtn.S: New file.
69665         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
69666         * sysdeps/sparc/sparc64/Makefile: Likewise.
69668 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
69670         [BZ #3335]
69671         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
69673 2012-02-15  Roland McGrath  <roland@hack.frob.com>
69675         [BZ #4822]
69676         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
69678         * mach/devstream.c (cookie_io_functions_t): Macro removed.
69679         (write, read, close): Likewise.
69680         Patch by Aurelien Jarno <aurelien@aurel32.net>.
69682 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
69684         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
69685         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
69686         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
69687         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
69688         <bits/signalfd.h>.
69689         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
69690         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69691         bits/signalfd.h.
69693 2012-02-14  Marek Polacek  <polacek@redhat.com>
69695         * sysdeps/x86_64/crti.S: New file.
69696         * sysdeps/x86_64/crtn.S: New file.
69697         * sysdeps/x86_64/elf/initfini.c: Remove file.
69699 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
69701         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
69702         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
69703         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
69704         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
69705         <bits/inotify.h>.
69706         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
69707         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69708         bits/inotify.h.
69710 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
69712         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
69713         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
69714         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
69715         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
69716         <bits/eventfd.h>.
69717         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
69718         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69719         bits/eventfd.h.
69721 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
69723         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
69724         __feraiseexcept instead of feraiseexcept.
69726         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
69727         nanosleep invocations.
69728         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
69729         strings, and add error checking for a nanosleep invocations.
69731 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
69733         Replace FSF snail mail address with URLs, as per GNU coding standards.
69734         Most of the snail mail addresses were wrong anyway, and omitting
69735         them makes the source code easier to maintain.  Almost all of the
69736         changes are to license notices and to locale LC_IDENTIFICATION
69737         addresses, except for this one:
69738         * manual/libc.texinfo: In "Published by", give the FSF's URL,
69739         not its snail mail address.
69741 2012-02-09  Richard Henderson  <rth@twiddle.net>
69743         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
69744         of kernel-features.h.
69746         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
69748 2012-02-08  Marek Polacek  <polacek@redhat.com>
69750         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
69751         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
69752         * sysdeps/gnu/_G_config.h: Likewise.
69753         * sysdeps/generic/_G_config.h: Likewise.
69755 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
69757         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
69758         tests.
69759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69761         * sysdeps/powerpc/powerpc32/crti.S: New file.
69762         * sysdeps/powerpc/powerpc32/crtn.S: New file.
69763         * sysdeps/powerpc/powerpc64/crti.S: New file.
69764         * sysdeps/powerpc/powerpc64/crtn.S: New file.
69766         * Makeconfig (have-initfini): Don't set.
69767         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
69768         * configure.in (nopic_initfini): Don't substitute.
69769         * config.h.in (HAVE_INITFINI): Don't #undef.
69770         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
69771         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
69773 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
69775         Support crti.S and crtn.S provided directly by architectures.
69776         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
69777         [crti.S in sysdirs] (omit-deps): Likewise.
69778         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
69779         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
69780         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
69781         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
69782         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
69783         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
69784         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
69785         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
69786         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
69787         compiler output for sysdeps/generic/initfini.c.
69788         * sysdeps/i386/elf/Makefile: Remove file.
69789         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
69791 2012-02-07  Marek Polacek  <polacek@redhat.com>
69793         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
69794         * sysdeps/gnu/_G_config.h: Likewise.
69795         * sysdeps/mach/hurd/_G_config.h: Likewise.
69797 2012-02-07  Marek Polacek  <polacek@redhat.com>
69799         * math/Makefile (tests): Add tst-CMPLX2.
69800         * math/tst-CMPLX2.c: New file.
69802 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
69804         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69806         * math/libm-test.inc (jn_test): Add missing L suffix.
69808 2012-02-06  Marek Polacek  <polacek@redhat.com>
69810         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
69811         * sysdeps/i386/fpu/e_powf.S: Likewise.
69812         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69813         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69814         * sysdeps/i386/fpu/e_acosh.S: Likewise.
69815         * sysdeps/i386/fpu/e_pow.S: Likewise.
69816         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
69817         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69818         * sysdeps/i386/fpu/s_expm1.S: Likewise.
69819         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
69820         * sysdeps/i386/fpu/e_log2.S: Likewise.
69821         * sysdeps/i386/fpu/e_log2l.S: Likewise.
69822         * sysdeps/i386/fpu/e_scalb.S: Likewise.
69823         * sysdeps/i386/fpu/e_powl.S: Likewise.
69824         * sysdeps/i386/fpu/s_log1p.S: Likewise.
69825         * sysdeps/i386/fpu/e_log10f.S: Likewise.
69826         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
69827         * sysdeps/i386/fpu/e_logl.S: Likewise.
69828         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
69829         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
69830         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
69831         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
69832         * sysdeps/i386/fpu/e_log2f.S: Likewise.
69833         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69834         * sysdeps/i386/fpu/e_log.S: Likewise.
69835         * sysdeps/i386/fpu/s_cexp.S: Likewise.
69836         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69837         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
69838         * sysdeps/i386/fpu/e_logf.S: Likewise.
69839         * sysdeps/i386/fpu/e_log10l.S: Likewise.
69840         * sysdeps/i386/fpu/e_atanh.S: Likewise.
69841         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
69842         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
69843         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69844         * sysdeps/i386/fpu/e_log10.S: Likewise.
69845         * sysdeps/i386/fpu/s_frexp.S: Likewise.
69846         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69847         * sysdeps/i386/fpu/s_asinh.S: Likewise.
69848         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
69849         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69850         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
69851         * sysdeps/i386/asm-syntax.h: Likewise.
69852         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
69853         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69854         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
69855         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
69856         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
69857         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
69858         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
69859         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
69860         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
69861         * sysdeps/powerpc/sysdep.h: Likewise.
69862         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
69863         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69865 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
69867         [BZ #411]
69868         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
69870 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
69872         * sysdeps/i386/sysdep.h: Include <features.h>.
69873         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
69874         version.
69876 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
69878         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
69879         Define.
69880         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
69881         LOAD_PIC_REG_STR.
69883 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69885         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
69886         (SETUP_PIC_REG): Use GET_PC_THUNK.
69887         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
69888         macro.
69890 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69892         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
69893         for non-PIC compilation.
69894         (SETUP_PIC_REG): Add .p2align directive.
69895         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
69896         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
69897         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
69898         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
69899         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
69900         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
69901         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
69902         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
69903         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
69904         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
69905         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
69906         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
69907         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
69908         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
69909         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
69910         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
69911         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
69912         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
69913         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
69914         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
69915         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
69916         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
69917         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
69918         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
69919         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
69920         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
69921         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69922         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
69923         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
69924         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
69925         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
69926         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69927         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
69928         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
69929         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
69930         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
69931         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
69932         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
69933         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
69934         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
69935         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
69937 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69939         * math/tst-CMPLX.c: Include <stdio.h>.
69941 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
69943         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
69944         float.
69945         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
69946         * sysdeps/sparc/bits/mathdef.h: Likewise.
69948 2012-01-31  Marek Polacek  <polacek@redhat.com>
69950         * libio/libio.h: Don't define _PARAMS.
69951         * locale/programs/config.h: Don't define PARAMS.
69952         * stdlib/strtol_l.c: Likewise.
69953         (__strtol_l): Remove PARAMS from the prototype.
69955 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
69957         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
69958         names.  Just use the correct names.  Remove unnecessary wrapper
69959         functions.
69960         * malloc/arena.c: Likewise.
69961         * malloc/hooks.c: Likewise.
69963         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
69964         ARENA_TEST says not to.  Simplify test for creation of a new arena.
69965         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
69967 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
69969         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
69970         into tail calls.
69971         (update_get_addr): New function.
69972         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
69973         GET_ADDR_MODULE parameter.
69975 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
69977         * crypt/cert.c: Remove __STDC__ conditionals.
69978         * crypt/crypt-entry.c: Likewise.
69979         * crypt/crypt_util.c: Likewise.
69980         * libio/filedoalloc.c: Likewise.
69981         * libio/fileops.c: Likewise.
69982         * libio/genops.c: Likewise.
69983         * libio/iofclose.c: Likewise.
69984         * libio/iofdopen.c: Likewise.
69985         * libio/iofopen.c: Likewise.
69986         * libio/iofopen64.c: Likewise.
69987         * libio/iogetdelim.c: Likewise.
69988         * libio/iopopen.c: Likewise.
69989         * libio/obprintf.c: Likewise.
69990         * libio/oldfileops.c: Likewise.
69991         * libio/oldiofclose.c: Likewise.
69992         * libio/oldiofdopen.c: Likewise.
69993         * libio/oldiofopen.c: Likewise.
69994         * libio/oldiopopen.c: Likewise.
69995         * libio/wfiledoalloc.c: Likewise.
69996         * libio/wgenops.c: Likewise.
69997         * locale/programs/xmalloc.c: Likewise.
69998         * misc/syslog.c: Likewise.
69999         * stdio-common/xbug.c: Likewise.
70000         * string/memchr.c: Likewise.
70001         * string/memcmp.c: Likewise.
70002         * string/memrchr.c: Likewise.
70003         * string/rawmemchr.c: Likewise.
70004         * sysdeps/posix/getcwd.c: Likewise.
70005         * time/strftime_l.c: Likewise.
70007 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
70009         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
70010         * config.make.in (config-cflags-sse2avx): Define.
70011         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
70012         Fix typo.
70014 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
70016         * scripts/config.guess: Update from upstream config git repository.
70017         * scripts/config.sub: Likewise.
70019 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
70021         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
70022         (EM_NUM): Update.
70023         (R_TILEPRO_*, R_TILEGX_*): New macros.
70025         * scripts/firstversions.awk: Fix bug in version range handling.
70027         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
70029         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
70031         * include/sys/epoll.h: New file.
70032         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
70033         libc_hidden_def.
70035 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
70037         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
70038         Avoid unnecessary __WORDSIZE == 64 test.
70039         (fmaxf): Use VEX format if possible.
70040         (fmax): Likewise.
70041         (fminf): Likewise.
70042         (fmin): Likewise.
70044         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
70045         * math/math_private.h: Remove libc_fegetround* and
70046         libc_fesetround*.
70047         * sysdeps/i386/configure.in: Check for -msse2avx.
70048         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
70049         also if SSE2AVX is defined.
70050         Remove libc_fegetround* and libc_fesetround*.
70051         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
70052         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
70053         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
70054         of HAS_YMM_USABLE.
70055         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70056         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70057         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70058         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70059         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70061         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
70063 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70065         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
70066         size is not set.
70067         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
70069 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
70071         [BZ #13618]
70072         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
70073         relocation.
70074         * Makeconfig (libm): Define.
70075         * elf/Makefile: Add rules to build and run tst-relsort1.
70076         * elf/tst-relsort1.c: New file.
70077         * elf/tst-relsort1mod1.c: New file.
70078         * elf/tst-relsort1mod2.c: New file.
70080 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
70082         * math/s_ldexp.c: Remove __STDC__ conditionals.
70083         * math/s_ldexpf.c: Likewise.
70084         * math/s_ldexpl.c: Likewise.
70085         * math/s_nextafter.c: Likewise.
70086         * math/s_nexttowardf.c: Likewise.
70087         * math/s_significand.c: Likewise.
70088         * math/s_significandf.c: Likewise.
70089         * math/s_significandl.c: Likewise.
70090         * math/w_jnl.c: Likewise.
70091         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70092         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70093         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70094         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70095         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70096         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70097         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
70098         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70099         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70100         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70101         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70102         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70103         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70104         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70105         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70106         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70107         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70108         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70109         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70110         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70111         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70112         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70113         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70114         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70115         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70116         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70117         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70118         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70119         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70120         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70121         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70122         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70123         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70124         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70125         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70126         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70127         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70128         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70129         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70130         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70131         * sysdeps/ieee754/k_standard.c: Likewise.
70132         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70133         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70134         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70135         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70136         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70137         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70138         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70139         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70140         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70141         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70142         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70143         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70144         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70145         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70146         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70147         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70148         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70149         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70150         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70151         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70152         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70153         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70154         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70155         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70156         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70157         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70158         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70159         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70160         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70161         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70162         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70163         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
70164         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70165         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70166         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70167         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70168         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
70169         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70170         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70171         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
70172         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
70173         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70174         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
70175         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
70176         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70177         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
70178         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
70179         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70180         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70181         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
70182         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
70183         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70184         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70185         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70186         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70187         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70188         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
70189         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70190         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70191         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70192         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70193         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70194         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70195         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70196         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70197         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70198         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70199         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70200         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70201         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70202         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70203         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70204         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70205         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70206         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70207         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70208         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70209         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70210         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70211         * sysdeps/ieee754/s_matherr.c: Likewise.
70212         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70213         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70214         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70215         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70217 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
70219         * crypt/md5.h: Remove __STDC__ conditionals.
70220         * libio/libioP.h: Likewise.
70221         * locale/programs/config.h: Likewise.
70222         * sysdeps/generic/sysdep.h: Likewise.
70223         * sysdeps/i386/asm-syntax.h: Likewise.
70224         * sysdeps/s390/asm-syntax.h: Likewise.
70225         * sysdeps/unix/sysdep.h: Likewise.
70226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
70227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70229 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
70231         * libio/libio.h: Remove __STDC__ conditionals.
70232         * malloc/obstack.h: Likewise.
70233         * math/complex.h: Likewise.
70234         * math/math.h: Likewise.
70235         * sysdeps/generic/_G_config.h: Likewise.
70236         * sysdeps/gnu/_G_config.h: Likewise.
70237         * sysdeps/mach/hurd/_G_config.h: Likewise.
70238         * sysdeps/powerpc/bits/mathdef.h: Likewise.
70239         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
70240         * sysdeps/sparc/bits/mathdef.h: Likewise.
70242 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
70244         [BZ #13583]
70245         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
70246         Clean up HAS_* macros.
70247         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
70248         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
70249         possible.
70250         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
70251         HAS_AVX.
70252         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70253         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70254         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70255         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70256         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70258 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
70260         * elf/tst-unique3.cc (gets): Remove declaration.
70261         * elf/tst-unique3lib.cc (gets): Likewise.
70262         * elf/tst-unique3lib2.cc (gets): Likewise.
70263         * elf/tst-unique4.cc (gets): Likewise.
70265 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
70267         * include/stdio.h: Add C++ protection.  Add gets declarations and
70268         definitions.
70269         * debug/tst-chk1.c: Don't declare gets here.
70270         * stdio-common/tst-gets.c: Likewise.
70272 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
70274         * posix/glob: Remove directory.
70276 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
70278         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
70280 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
70282         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
70283         of the non-standard EPFNOSUPPORT.
70285 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70287         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
70288         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
70289         ANYWHERE set to 1 only on KERN_NO_SPACE error.
70291 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
70293         * wcsmbs/uchar.h: Test __STDC_VERSION__.
70295 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
70297         * nscd/aicache.c (addhstaiX): Do not cache negative results of
70298         transient errors.
70299         * nscd/grpcache.c (cache_addgr): Likewise.
70300         * nscd/hstcache.c (cache_addhst): Likewise.
70301         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70302         * nscd/pwdcache.c (cache_addpw): Likewise.
70303         * nscd/servicescache.c (cache_addserv): Likewise.
70305 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
70307         * malloc/malloc.c: Various cleanups.
70308         * malloc/hooks.c: Likewise.
70310         * stdlib/Makefile (tests): Add bug-fmtmsg1.
70311         * stdlib/bug-fmtmsg1.c: New file.
70313         * stdlib/fmtmsg.c (init): Add missing unlock.
70314         Patch by Peng Haitao <penght@cn.fujitsu.com>.
70316 2012-01-12  Marek Polacek  <polacek@redhat.com>
70318         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
70319         and _GNU_SOURCE.
70321 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
70323         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
70324         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
70325         macro to ensure uniqueness of label name.
70326         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70327         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70329 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
70331         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
70333         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
70334         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70335         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70336         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
70338 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
70340         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
70342         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
70343         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70344         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70346         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
70348         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
70349         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70350         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70351         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
70353         * math/bits/math-finite.h: Add ldexp support.
70355 2012-01-10  Marek Polacek  <polacek@redhat.com>
70357         * locale/programs/localedef.h (show_archive_content): Add noreturn
70358         attribute.
70360 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
70362         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
70364 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70366         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
70368         * io/Makefile (headers): Add bits/poll2.h.
70370 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
70372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
70373         typo #include statement.
70375 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70377         * include/sys/cdefs.h: Define __attribute_alloc_size.
70378         * catgets/gencat.c: Add alloc_size attribute and apply consistently
70379         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
70380         * elf/pldd.c: Likewise.
70381         * iconv/iconv_charmap.c: Likewise.
70382         * iconv/iconvconfig.c: Likewise.
70383         * iconv/strtab.c: Likewise.
70384         * locale/programs/locale.c: Likewise.
70385         * locale/programs/localedef.h: Likewise.
70386         * locale/programs/simple-hash.c: Likewise.
70387         * nscd/nscd.h: Likewise.
70388         * nss/makedb.c: Likewise.
70389         * sysdeps/generic/ldconfig.h: Likewise.
70390         * locale/programs/localedef.c: Remove xmalloc prototype.
70391         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
70393 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
70395         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
70396         appropriate.
70398 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70400         * math/Makefile (tests): Add tst-CMPLX.
70401         * math/tst-CMPLX.c: New file.
70403         * math/complex.h (CMPLXL): Fix typo.
70405         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
70406         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
70407         GLIBC_2.16.
70408         * debug/tst-chk1.c: Add poll and ppoll tests.
70409         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
70410         * include/sys/poll.h: Add hidden proto for ppoll.
70411         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
70412         * sysdeps/mach/hurd/ppoll.c: Likewise.
70413         * io/ppoll.c: Likewise.
70414         * debug/poll_chk.c: New file.
70415         * debug/ppoll_chk.c: New file.
70416         * include/bits/poll2.h: New file.
70417         * io/bits/poll2.h: New file.
70419         [BZ #1350]
70420         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
70422         * configure.in: static is always set to yes.  Remove.
70423         * config.make.in: Don't set build-static.
70424         * Makeconfig: Remove use of build-static.
70425         * dlfcn/Makefile: Likewise.
70426         * elf/Makefile: Likewise.
70427         * math/Makefile: Likewise.
70428         * misc/Makefile: Likewise.
70429         * nptl/Makefile: Likewise.
70430         * sysdeps/mach/hurd/Makefile: Likewise.
70432         * configure.in: PWD_P is not used anymore.
70433         * config.make.in: Remove PWD_P entry.
70435         * configure.in: Remove last remnants of RANLIB.
70436         No need to check for signed size_t anymore.
70437         Don't set libc_commonpagesize and libc_relro_required here for Alpha
70438         and IA-64.
70439         Remove __builtin_expect test because we require at least gcc 3.4.
70440         * aclocal.m4: Likewise.
70442         * wcsmbs/mbrtoc16.c: Implement using towc function.
70443         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
70444         * wcsmbs/wcsmbsload.c: Likewise.
70445         * iconv/gconv_simple.c: Likewise.
70446         * iconv/gconv_int.h: Likewise.
70447         * iconv/gconv_builtin.h: Likewise.
70448         * iconv/iconv_prog.c: Remove CHAR16 handling.
70450         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
70452         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
70454         * configure.in: Remove --with-elf and --enable-bounded options.
70455         Dont set base_machine for ia64.  More non-ELF conditions removed.
70456         Remove testing and setting of leading underscore information.
70457         * config.make.in (build-bounded): Set to no.
70458         * config.h.in: Remove NO_UNDERSCORES entry.
70459         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
70460         them.
70461         * csu/start.c: Remove !NO_UNDERSCORE code.
70462         * locale/localeinfo.h: Likewise.
70463         * sysdeps/generic/machine-gmon.h: Likewise.
70464         * sysdeps/generic/sysdep.h: Likewise.
70465         * sysdeps/i386/sysdep.h: Likewise.
70466         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70467         * sysdeps/mach/sysdep.h: Likewise.
70468         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70469         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70470         * sysdeps/sh/sysdep.h: Likewise.
70471         * sysdeps/sparc/sparc32/alloca.S: Likewise.
70472         * sysdeps/unix/i386/sysdep.S: Likewise.
70473         * sysdeps/unix/sparc/start.c: Likewise.
70474         * sysdeps/unix/sparc/sysdep.S: Likewise.
70475         * sysdeps/unix/sparc/sysdep.h: Likewise.
70476         * sysdeps/unix/start.c: Likewise.
70477         * sysdeps/unix/x86_64/sysdep.S: Likewise.
70478         * sysdeps/x86_64/sysdep.h: Likewise.
70480 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
70482         [BZ #13553]
70483         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
70484         for non-gcc.
70485         * argp/argp-fmtstream.h: Use const instead __const.
70486         * argp/argp.h: Likewise.
70487         * assert/assert.h: Likewise.
70488         * bits/fenv.h: Likewise.
70489         * bits/sched.h: Likewise.
70490         * bits/sigset.h: Likewise.
70491         * bits/sigthread.h: Likewise.
70492         * catgets/nl_types.h: Likewise.
70493         * conform/data/pthread.h-data: Likewise.
70494         * crypt/crypt-private.h: Likewise.
70495         * crypt/crypt.h: Likewise.
70496         * crypt/crypt_util.c: Likewise.
70497         * ctype/ctype.h: Likewise.
70498         * debug/execinfo.h: Likewise.
70499         * debug/mbsnrtowcs_chk.c: Likewise.
70500         * debug/mbsrtowcs_chk.c: Likewise.
70501         * debug/wcsnrtombs_chk.c: Likewise.
70502         * debug/wcsrtombs_chk.c: Likewise.
70503         * debug/wcstombs_chk.c: Likewise.
70504         * dirent/dirent.h: Likewise.
70505         * dlfcn/dlfcn.h: Likewise.
70506         * elf/neededtest4.c: Likewise.
70507         * grp/grp.h: Likewise.
70508         * gshadow/gshadow.h: Likewise.
70509         * iconv/gconv.h: Likewise.
70510         * iconv/gconv_int.h: Likewise.
70511         * iconv/gconv_simple.c: Likewise.
70512         * iconv/iconv.h: Likewise.
70513         * iconv/loop.c: Likewise.
70514         * iconv/skeleton.c: Likewise.
70515         * include/aio.h: Likewise.
70516         * include/aliases.h: Likewise.
70517         * include/argz.h: Likewise.
70518         * include/arpa/inet.h: Likewise.
70519         * include/assert.h: Likewise.
70520         * include/dirent.h: Likewise.
70521         * include/dlfcn.h: Likewise.
70522         * include/execinfo.h: Likewise.
70523         * include/fcntl.h: Likewise.
70524         * include/fenv.h: Likewise.
70525         * include/glob.h: Likewise.
70526         * include/grp.h: Likewise.
70527         * include/libintl.h: Likewise.
70528         * include/mntent.h: Likewise.
70529         * include/netdb.h: Likewise.
70530         * include/pwd.h: Likewise.
70531         * include/rpc/netdb.h: Likewise.
70532         * include/sched.h: Likewise.
70533         * include/search.h: Likewise.
70534         * include/shadow.h: Likewise.
70535         * include/signal.h: Likewise.
70536         * include/stdio.h: Likewise.
70537         * include/stdlib.h: Likewise.
70538         * include/string.h: Likewise.
70539         * include/sys/socket.h: Likewise.
70540         * include/sys/stat.h: Likewise.
70541         * include/sys/statfs.h: Likewise.
70542         * include/sys/statvfs.h: Likewise.
70543         * include/sys/syslog.h: Likewise.
70544         * include/sys/time.h: Likewise.
70545         * include/sys/uio.h: Likewise.
70546         * include/time.h: Likewise.
70547         * include/unistd.h: Likewise.
70548         * include/utmp.h: Likewise.
70549         * include/wchar.h: Likewise.
70550         * include/wctype.h: Likewise.
70551         * inet/aliases.h: Likewise.
70552         * inet/arpa/inet.h: Likewise.
70553         * inet/netinet/ether.h: Likewise.
70554         * inet/netinet/in.h: Likewise.
70555         * intl/libintl.h: Likewise.
70556         * io/bits/fcntl2.h: Likewise.
70557         * io/fcntl.h: Likewise.
70558         * io/ftw.h: Likewise.
70559         * io/sys/poll.h: Likewise.
70560         * io/sys/stat.h: Likewise.
70561         * io/sys/statfs.h: Likewise.
70562         * io/sys/statvfs.h: Likewise.
70563         * io/utime.h: Likewise.
70564         * libio/bits/stdio.h: Likewise.
70565         * libio/bits/stdio2.h: Likewise.
70566         * libio/libio.h: Likewise.
70567         * libio/libioP.h: Likewise.
70568         * libio/stdio.h: Likewise.
70569         * locale/lc-ctype.c: Likewise.
70570         * locale/locale.h: Likewise.
70571         * login/utmp.h: Likewise.
70572         * malloc/arena.c: Likewise.
70573         * malloc/malloc.c: Likewise.
70574         * malloc/malloc.h: Likewise.
70575         * malloc/mcheck.c: Likewise.
70576         * malloc/mtrace.c: Likewise.
70577         * math/bits/mathcalls.h: Likewise.
70578         * math/fenv.h: Likewise.
70579         * math/math_private.h: Likewise.
70580         * misc/bits/error.h: Likewise.
70581         * misc/bits/syslog.h: Likewise.
70582         * misc/err.h: Likewise.
70583         * misc/error.h: Likewise.
70584         * misc/fstab.h: Likewise.
70585         * misc/mntent.h: Likewise.
70586         * misc/regexp.h: Likewise.
70587         * misc/search.h: Likewise.
70588         * misc/sgtty.h: Likewise.
70589         * misc/sys/mman.h: Likewise.
70590         * misc/sys/syslog.h: Likewise.
70591         * misc/sys/uio.h: Likewise.
70592         * misc/sys/xattr.h: Likewise.
70593         * misc/ttyent.h: Likewise.
70594         * nis/rpcsvc/ypclnt.h: Likewise.
70595         * nss/nss.h: Likewise.
70596         * posix/bits/unistd.h: Likewise.
70597         * posix/fnmatch.h: Likewise.
70598         * posix/glob.h: Likewise.
70599         * posix/sched.h: Likewise.
70600         * posix/spawn.h: Likewise.
70601         * posix/sys/wait.h: Likewise.
70602         * posix/unistd.h: Likewise.
70603         * posix/wordexp.h: Likewise.
70604         * pwd/pwd.h: Likewise.
70605         * resolv/netdb.h: Likewise.
70606         * resource/sys/resource.h: Likewise.
70607         * rt/aio.h: Likewise.
70608         * rt/bits/mqueue2.h: Likewise.
70609         * rt/mqueue.h: Likewise.
70610         * shadow/shadow.h: Likewise.
70611         * signal/signal.h: Likewise.
70612         * socket/send.c: Likewise.
70613         * socket/sendto.c: Likewise.
70614         * socket/sys/socket.h: Likewise.
70615         * stdio-common/printf.h: Likewise.
70616         * stdlib/bits/stdlib.h: Likewise.
70617         * stdlib/fmtmsg.h: Likewise.
70618         * stdlib/monetary.h: Likewise.
70619         * stdlib/stdlib.h: Likewise.
70620         * stdlib/ucontext.h: Likewise.
70621         * streams/stropts.h: Likewise.
70622         * string/argz.h: Likewise.
70623         * string/bits/string2.h: Likewise.
70624         * string/string.h: Likewise.
70625         * string/strings.h: Likewise.
70626         * sunrpc/rpc/auth.h: Likewise.
70627         * sunrpc/rpc/auth_des.h: Likewise.
70628         * sunrpc/rpc/clnt.h: Likewise.
70629         * sunrpc/rpc/netdb.h: Likewise.
70630         * sunrpc/rpc/pmap_clnt.h: Likewise.
70631         * sunrpc/rpc/xdr.h: Likewise.
70632         * sysdeps/generic/inttypes.h: Likewise.
70633         * sysdeps/generic/net/if.h: Likewise.
70634         * sysdeps/generic/sys/swap.h: Likewise.
70635         * sysdeps/gnu/net/if.h: Likewise.
70636         * sysdeps/gnu/utmpx.h: Likewise.
70637         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
70638         * sysdeps/i386/i486/bits/string.h: Likewise.
70639         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
70640         * sysdeps/s390/bits/string.h: Likewise.
70641         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
70642         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
70643         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
70644         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
70645         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
70646         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
70647         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
70648         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
70649         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
70650         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
70651         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
70652         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
70653         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
70654         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
70655         * sysdeps/unix/sysv/linux/readv.c: Likewise.
70656         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
70657         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
70658         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70659         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
70660         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
70661         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70662         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
70663         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
70664         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
70665         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
70666         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
70667         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
70668         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70669         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
70670         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
70671         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
70672         * sysvipc/sys/ipc.h: Likewise.
70673         * sysvipc/sys/msg.h: Likewise.
70674         * sysvipc/sys/sem.h: Likewise.
70675         * sysvipc/sys/shm.h: Likewise.
70676         * termios/termios.h: Likewise.
70677         * time/sys/time.h: Likewise.
70678         * time/time.h: Likewise.
70679         * wcsmbs/bits/wchar2.h: Likewise.
70680         * wcsmbs/uchar.h: Likewise.
70681         * wcsmbs/wchar.h: Likewise.
70682         * wctype/wctype.h: Likewise.
70684         [BZ #13551]
70685         * Makeconfig: Remove all but ELF support including AIX support.
70686         * Makerules: Likewise.
70687         * config.h.in: Likewise.
70688         * config.make.in: Likewise.
70689         * configure: Likewise.
70690         * configure.in: Likewise.
70691         * csu/Makefile: Likewise.
70692         * csu/version.c: Likewise.
70693         * debug/Makefile: Likewise.
70694         * dlfcn/Makefile: Likewise.
70695         * elf/Makefile: Likewise.
70696         * extra-lib.mk: Likewise.
70697         * iconv/Makefile: Likewise.
70698         * include/libc-symbols.h: Likewise.
70699         * include/shlib-compat.h: Likewise.
70700         * resolv/Makefile: Likewise.
70701         * resolv/res_libc.c: Likewise.
70702         * rt/Makefile: Likewise.
70703         * sysdeps/i386/asm-syntax.h: Likewise.
70704         * sysdeps/i386/sysdep.h: Likewise.
70705         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70706         * sysdeps/mach/sysdep.h: Likewise.
70707         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
70708         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
70709         * sysdeps/s390/asm-syntax.h: Likewise.
70710         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70711         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70712         * sysdeps/sh/sysdep.h: Likewise.
70713         * sysdeps/unix/sparc/sysdep.h: Likewise.
70714         * sysdeps/wordsize-32/divdi3.c: Likewise.
70715         * sysdeps/x86_64/sysdep.h: Likewise.
70717         * argp/Versions: Remove _argp_unlock_xxx.
70719         [BZ #13559]
70720         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
70721         * abilist/libBrokenLocale.abilist: Likewise.
70722         * abilist/libanl.abilist: Likewise.
70723         * abilist/libc.abilist: Likewise.
70724         * abilist/libcrypt.abilist: Likewise.
70725         * abilist/libdl.abilist: Likewise.
70726         * abilist/libm.abilist: Likewise.
70727         * abilist/libnsl.abilist: Likewise.
70728         * abilist/libpthread.abilist: Likewise.
70729         * abilist/libresolv.abilist: Likewise.
70730         * abilist/librt.abilist: Likewise.
70731         * abilist/libthread_db.abilist: Likewise.
70732         * abilist/libutil.abilist: Likewise.
70733         * abilist/libnss_db.abilist: New file.
70735         * scripts/abilist.awk: Add support for indirect functions.
70737         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
70739         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
70741         * shlib-versions: Remove entries for ports architectures.
70743         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
70744         files in ports.
70745         * elf/stackguard-macros.h: Remove support for IA-64.
70746         * elf/tst-auditmod1.c: Likewise.
70747         * sysdeps/generic/ldsodefs.h: Likewise.
70749         * sysdeps/unix/sysv/linux/configure.in: Ports should define
70750         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
70751         configure files.
70753         [BZ #13552]
70754         * configure.in: Remove --enable-omitfp support.
70755         * FAQ.in: Adjust.
70756         * config.make.in: Likewise.
70757         * Makeconfig: Likewise.
70758         * manual/install.texi: Likewise.
70760         In case anyone cares, the IA-64 architecture could move to ports.
70761         * sysdeps/ia64/*: Removed.
70762         * sysdeps/unix/sysv/linux/ia64/*: Removed.
70763         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
70765         [BZ #13555]
70766         * configure.in: Remove entries for unsupported architectures.
70768         [BZ #13533]
70769         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
70770         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
70771         routines.
70772         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
70773         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
70774         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
70775         fall back to using wcrtomb.
70776         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
70777         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
70778         renaming.
70779         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
70780         * wcsmbs/tst-c16c32-1.c: New file.
70782         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
70783         local variable.
70785         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
70787         * elf/tst-unique3.cc: Add explicit declaration of gets.
70788         * elf/tst-unique3lib.cc: Likewise.
70789         * elf/tst-unique3lib2.cc: Likewise.
70790         * elf/tst-unique4.cc: Likewise.
70792         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
70794 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
70796         [BZ #13566]
70797         * assert/assert.h (static_assert): Don't define for C++.
70798         * libio/stdio.h (gets): Do declare for C++ <= C++11.
70799         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
70801 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
70803         * iconv/loop.c (single loop): Fix assertion in storing of
70804         remaining bytes.
70806         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
70808 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
70810         * posix/getconf.c: Update copyright year.
70811         * nss/getent.c: Likewise.
70812         * nss/makedb.c: Likewise.
70813         * iconv/iconvconfig.c: Likewise.
70814         * iconv/iconv_prog.c: Likewise.
70815         * elf/ldconfig.c: Likewise.
70816         * elf/pldd.c: Likewise.
70817         * elf/sotruss.ksh: Likewise.
70818         * catgets/gencat.c: Likewise.
70819         * csu/version.c: Likewise.
70820         * elf/ldd.bash.in: Likewise.
70821         * elf/sprof.c (print_version): Likewise.
70822         * locale/programs/locale.c: Likewise.
70823         * locale/programs/localedef.c: Likewise.
70824         * login/programs/pt_chown.c: Likewise.
70825         * nscd/nscd.c (print_version): Likewise.
70826         * debug/xtrace.sh: Likewise.
70827         * malloc/memusage.sh: Likewise.
70828         * malloc/mtrace.pl: Likewise.
70829         * debug/catchsegv.sh: Likewise.
70831 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
70833         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
70834         pure attribute.
70836 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
70838         [BZ #13533]
70839         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
70840         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
70841         transformations.
70842         * iconv/gconv_int.h: Likewise.
70843         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
70844         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
70845         from libc for GLIBC_2.16.
70846         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
70847         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
70848         * wcsmbs/uchar.h: Really define mbstate_t.
70849         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
70850         * wcsmbs/c16rtomb.c: New file.
70851         * wcsmbs/mbrtoc16.c: New file.
70852         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
70853         for C/POSIX locale.
70854         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
70855         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
70857         * wcsmbs/wchar.h: Add missing __restrict.
70859 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
70861         [BZ #13532]
70862         * time/Makefile (routines): Add timespec_get.
70863         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
70864         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
70865         timespec for ISO C11.
70866         * time/timespec_get.c: New file.
70867         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
70868         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
70870         [BZ #13531]
70871         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
70872         * stdlib/stdlib.h: Declare aligned_alloc.
70873         * Versions.def: Add GLIBC_2.16 for libc.
70874         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
70876         [BZ 13527]
70877         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
70878         ISO C11.
70880         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
70881         code.
70883         [BZ #13528]
70884         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
70886         [BZ #13529]
70887         * assert/assert.h (static_assert): Define.
70889         * version.h: Update for 2.16 development version.
70891         [BZ #13526]
70892         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
70893         _ISOC11_SOURCE.
70895         * version.h (RELEASE): Bump for 2.15 release.
70896         * include/features.h (__GLIBC_MINOR__): Bump to 15.
70898         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
70899         Patch by Marek Polacek <mpolacek@redhat.com>.
70901         * bits/byteswap.h: Protect long long constants with __extension__.
70902         * sysdeps/i386/bits/byteswap.h: Likewise.
70903         * sysdeps/ia64/bits/byteswap.h: Likewise.
70904         * sysdeps/s390/bits/byteswap.h: Likewise.
70905         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70907 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70909         [BZ #13540]
70910         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
70911         destination buffer.
70912         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
70914 2011-12-23  Marek Polacek  <polacek@redhat.com>
70916         * elf/dl-addr.c (determine_info): Add inline keyword.
70917         * elf/tst-auditmod4b.c (check_avx): Likewise.
70918         * elf/tst-auditmod6b.c (check_avx): Likewise.
70919         * elf/tst-auditmod6c.c (check_avx): Likewise.
70920         * elf/tst-auditmod7b.c (check_avx): Likewise.
70922 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
70924         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
70925         !__SSE_MATH__.
70927 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70929         [BZ #13540]
70930         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
70931         processing for last bytes.
70933 2011-08-06  Bruno Haible  <bruno@clisp.org>
70935         [BZ #13061]
70936         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
70937         U+0385, not to U+1FEE.
70939         [BZ #13062]
70940         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
70941         entry for U+00A5 U+0301.
70943 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
70945         [BZ #13166]
70946         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
70947         buffer for the output is too small.
70949         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
70950         optimization.
70952         [BZ #13185]
70953         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
70954         SSE flags if possible.
70956 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70958         [BZ #13540]
70959         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
70960         processing for last bytes.
70962 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
70964         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
70965         (syscall-list-default-options, syscall-list-default-condition)
70966         (syscall-list-includes): Define.
70967         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
70968         list of ABIs and options and #if conditions for each ABI.  Do not
70969         handle common syscalls between ABIs specially.
70970         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
70971         Remove.
70972         (syscall-list-variants, syscall-list-32bit-options)
70973         (syscall-list-32bit-condition, syscall-list-64bit-options)
70974         (syscall-list-64bit-condition): Define.
70975         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
70976         (syscall-list-variants, syscall-list-32bit-options)
70977         (syscall-list-32bit-condition, syscall-list-64bit-options)
70978         (syscall-list-64bit-condition): Define.
70979         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
70980         Remove.
70981         (syscall-list-variants, syscall-list-32bit-options)
70982         (syscall-list-32bit-condition, syscall-list-64bit-options)
70983         (syscall-list-64bit-condition): Define.
70984         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
70985         Remove.
70986         (syscall-list-variants, syscall-list-32bit-options)
70987         (syscall-list-32bit-condition, syscall-list-64bit-options)
70988         (syscall-list-64bit-condition): Define.
70990 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
70992         * locale/iso-639.def: Add brx entry.
70994         [BZ #13328]
70995         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
70996         Proposed by Mariusz_Cukr <marcukr@op.pl>.
70998         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
70999         __feraiseexcept_renamed.
71001 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
71003         [BZ #13538]
71004         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
71005         EPOLLET with unsigned values.
71006         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71007         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
71009         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
71010         to large cancellation.
71011         * math/s_cacoshf.c: Likewise.
71012         * math/s_cacoshl.c: Likewise.
71014 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
71016         [BZ #13305]
71017         [BZ #12786]
71018         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
71019         * math/s_cacoshf.c: Likewise.
71020         * math/s_cacoshl.c: Likewise.
71022 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
71024         [BZ #13439]
71025         * iconv/gconv.h: Define __GCONV_SWAP.
71026         * iconvdata/unicode.c: The swap bit must be stored in __flags.
71027         * iconvdata/utf-16.c: Likewise.
71028         * iconvdata/utf-32.c: Likewise.
71030 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
71032         [BZ #13524]
71033         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
71034         numerator after shifting it by one limb.
71036 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
71038         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
71039         under [__USE_EXTERN_INLINES].
71041 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
71043         [BZ #13446]
71044         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
71046 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71048         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
71049         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
71050         optimized code.
71051         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
71052         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
71053         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
71054         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
71055         for strncasecmp/strncasecmp_l compilation.
71056         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
71057         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
71059 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
71061         [BZ #13484]
71062         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
71063         of __asm__.
71065 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
71067         [BZ #13506]
71068         * time/tzfile.c (__tzfile_read): Check values from file header.
71070 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
71072         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
71073         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
71074         * powerpc/powerpc32/dl-start.S: Likewise.
71075         * powerpc/powerpc32/elf/start.S: Likewise.
71076         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
71077         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
71078         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
71079         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
71080         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
71081         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
71082         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
71083         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
71084         * powerpc/powerpc32/fpu/s_round.S: Likewise.
71085         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
71086         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
71087         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
71088         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
71089         * powerpc/powerpc32/memset.S: Likewise.
71090         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
71091         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
71092         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
71093         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
71094         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
71095         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
71096         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
71097         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
71098         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
71099         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
71100         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
71101         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
71102         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
71104 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71106         * math/libm-test.inc: Added more nearbyint tests.
71107         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
71108         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
71109         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
71110         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
71112 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
71114         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
71115         FD_CLOEXEC.
71117 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71119         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
71120         Add wcscpy-ssse3 wcscpy-c.
71121         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
71122         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
71123         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
71124         * sysdeps/x86_64/wcschr.S: New file.
71125         * sysdeps/x86_64/wcsrchr.S: New file.
71126         * string/test-strcmp.c: Remove checking of wcscmp function for
71127         wrong alignments.
71128         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
71129         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
71130         wcsrchr-sse2 wcsrchr-c.
71131         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
71132         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
71133         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
71134         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
71135         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
71136         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
71137         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
71138         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
71139         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
71140         * wcsmbc/wcschr.c (WCSCHR): New macro.
71142 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71144         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
71145         * wcsmbs/test-wcsrchr.c: New file.
71146         * string/test-strrchr.c: Add wcsrchr support.
71147         (WIDE): New macro.
71148         * wcsmbs/test-wcscpy.c: New file.
71149         * string/test-strcpy.c: Add wcscpy support.
71150         (WIDE): New macro.
71152 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
71154         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
71155         the inner loop.
71157 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
71159         [BZ #13472]
71160         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
71162 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
71164         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
71165         Minor optimizations.
71167         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
71168         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
71169         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
71171 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
71173         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
71174         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
71175         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
71176         for gcc to avoid warnings.
71177         * inet/Makefile (tests): Add tst-checks.
71178         * inet/tst-checks.c: New file.
71180         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
71181         warning.
71183         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
71184         __wmemcmp_sse2.
71186         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
71187         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
71189         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
71191 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
71193         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
71194         problem.
71196         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
71198 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
71200         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
71201         conditional on GCC version.
71202         (__arch_compare_and_exchange_val_8_acq)
71203         (__arch_compare_and_exchange_val_16_acq)
71204         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
71205         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
71206         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
71208 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
71210         * sysdeps/sh/backtrace.c: New file.
71212 2011-12-02  Andreas Schwab  <schwab@redhat.com>
71214         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
71215         parenthesis.
71217 2011-12-01  Andreas Schwab  <schwab@redhat.com>
71219         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
71220         falling back to utime.
71222 2011-11-30  Andreas Schwab  <schwab@redhat.com>
71224         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
71225         expectations for float.
71227 2011-11-29  Andreas Schwab  <schwab@redhat.com>
71229         * locale/weight.h (findidx): Add parameter len.
71230         * locale/weightwc.h (findidx): Likewise.
71231         * posix/fnmatch_loop.c (FCT): Adjust caller.
71232         * posix/regcomp.c (build_equiv_class): Likewise.
71233         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
71234         * posix/regexec.c (check_node_accept_bytes): Likewise.
71235         * string/strcoll_l.c (STRCOLL): Likewise.
71236         * string/strxfrm_l.c (STRXFRM): Likewise.
71238 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
71240         * Makefile.in: Remove CVSOPT handling.
71241         * configure.in: Remove use of AC_REVISION.
71242         * iconvdata/Makefile (distribute): No need to filter out CVS.
71243         * scripts/list-sources.sh: Remove CVS, subversion and monotone
71244         handling.
71246 2011-11-16  Andreas Schwab  <schwab@redhat.com>
71248         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
71249         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
71250         [USE_AS_STRNCASECMP_L]: Likewise.
71251         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
71252         NO_TLS_DIRECT_SEG_REFS.
71253         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
71254         Fix argument offsets for non-PIC.
71255         [USE_AS_STRNCASECMP_L]: Likewise.
71256         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
71257         NO_TLS_DIRECT_SEG_REFS.
71259 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
71261         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
71262         O_CLOEXEC.
71263         * locale/loadlocale.c (_nl_load_locale): Likewise.
71265 2011-11-15  Andreas Schwab  <schwab@redhat.com>
71267         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
71268         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
71269         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
71270         (SYSCALL_GETTIME): Set errno on error.
71272         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
71273         count references to noai6ai_cached.
71275 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
71277         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
71279         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
71280         FD_CLOEXEC for /proc/self/maps.
71282         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
71283         FD_CLOEXEC for /proc/meminfo.
71285         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
71286         gai.conf.
71288         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
71289         FD_CLOEXEC for given file.
71291         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
71293         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
71294         FD_CLOEXEC for /etc/hosts.
71295         (_gethtent): Likewise.
71297         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
71299         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
71300         cancellation and set FD_CLOEXEC for /etc/netgroup.
71302         * nss/nss_files/files-key.c (search): Don't allow cancellation when
71303         reading /etc/publickey.
71305         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
71306         allow cancellation when reading /etc/group.
71308         * nss/nss_files/files-alias.c (internal_setent): Don't allow
71309         cancellation.
71310         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
71312         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
71313         when using data file.
71315         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
71317         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
71318         (write_nis_obj): Use "c" and "e" in fopen.
71320         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
71322         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
71324         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
71326         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
71328         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
71329         locale.alias.
71331         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
71333         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
71335         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
71337         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
71338         file parsing and set FD_CLOEXEC.
71340 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
71342         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
71344 2011-11-14  Andreas Schwab  <schwab@redhat.com>
71346         * malloc/arena.c (arena_get2): Don't call reused_arena when
71347         _int_new_arena failed.
71349 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
71351         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
71352         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
71353         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
71354         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71355         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71356         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
71357         to compile strcasecmp and strncasecmp.
71358         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
71359         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
71361         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
71363 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
71365         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
71366         locale-defines.sym to gen-as-const-headers.
71367         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
71368         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
71369         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
71370         to compile strcasecmp and strncasecmp.
71371         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
71372         strcasecmp_l and strncasecmp_l.
71373         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
71374         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
71375         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
71376         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
71377         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
71378         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
71379         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
71380         * sysdeps/i386/i686/multiarch/strncase.S: New file.
71381         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
71382         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
71383         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
71385 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
71387         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
71388         result of SYSDEP_GETTIME_CPU to retval.
71389         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
71390         parameter list to macro.  Remove trailing semicolon.  Adjust users.
71392         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
71393         variable.
71395         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
71396         mantissa words.
71397         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
71399         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
71400         from unused variable.
71402         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
71403         DWARF definitions.
71404         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
71405         for assembling.
71407         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
71408         over namespaces.
71410         * sunrpc/rpc_prot.c (rejected): Fix case value.
71412         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
71413         unsigned long long int to avoid warnings in shift.
71415         * posix/regex_internal.c (re_string_reconstruct): Actually use result
71416         of use of trans.
71417         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
71418         variable tmp.
71420         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
71421         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
71422         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
71424         * nis/nis_table.c (nis_list): Use variable of correct type for
71425         result of __follow_path call.
71427 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71429         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
71430         of math functions ceil, trunc, floor, round, and sqrt, when
71431         avaliable on the platform.
71432         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
71433         name clash.
71434         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
71435         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
71436         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
71438 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
71440         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
71441         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71443 2011-11-11  Roland McGrath  <roland@hack.frob.com>
71445         * include/unistd.h: Fix __readlink return type.
71446         Reported by Chris Metcalf <cmetcalf@tilera.com>.
71448 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
71450         * stdlib/ucontext.h: Undo last change for makecontext.
71452 2011-11-11  Andreas Schwab  <schwab@redhat.com>
71454         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
71456         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
71457         * setjmp/setjmp.h: Mark functions as non-leaf.
71458         * setjmp/bits/setjmp2.h: Likewise.
71459         * stdlib/ucontext.h: Likewise.
71461 2011-11-10  Andreas Schwab  <schwab@redhat.com>
71463         * malloc/arena.c (_int_new_arena): Don't increment narenas.
71464         (reused_arena): Don't check arena limit.
71465         (arena_get2): Atomically check arena limit.
71467 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
71469         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
71470         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
71472         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
71473         instructions.
71475 2011-11-07  Andreas Schwab  <schwab@redhat.com>
71477         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
71478         handler when locking.
71480         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71481         Fix size of allocated buffer.
71483 2011-11-04  Andreas Schwab  <schwab@redhat.com>
71485         [BZ #10103]
71486         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
71487         declarations for long double functions.
71488         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
71490         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
71492 2011-11-03  Andreas Schwab  <schwab@redhat.com>
71494         * nscd/nscd.c (main): Don't start AVC thread until credentials are
71495         installed.
71497         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
71498         is disabled.
71500 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71502         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
71504 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
71506         * include/alloca.h (stackinfo_alloca_round): Define.
71507         (extend_alloca): Use it.
71508         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
71509         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
71510         here.
71512         * scripts/check-local-headers.sh: Ignore libaudit.h.
71514         * nscd/Makefile (extra-objs): Make recursively expanded.
71516 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
71518         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
71519         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
71521         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
71522         * posix/tst-rfc3484-2.c: Likewise.
71523         * posix/tst-rfc3484-3.c: Likewise.
71525         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71526         process_vm_writev.
71527         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
71528         process_vm_writev.
71529         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
71530         process_vm_writev from libc using GLIBC_2.15 version.
71532         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
71534 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
71536         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
71537         stack usage.
71539 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
71541         [BZ #13367]
71542         * nss/getent.c (initgroups_keys): Show error message in case no group
71543         names are given.
71545         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
71546         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
71547         __bump_nl_timestamp.
71548         * nscd/connections (nscd_init): When host database is served open
71549         netlink socket and request notification about configuration changes.
71550         (main_loop_poll): Track netlink file descriptor and bump timestamp
71551         in case data becomes available.
71552         (main_loop_epoll): Likewise.
71553         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
71554         (database_pers_head): Add extra_data fileds.
71555         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
71556         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
71557         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
71558         Adjust caller.
71559         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
71560         in6ai data, call __free_in6ai.
71561         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
71562         Add -DHAVE_NETLINK.
71563         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
71564         interface information.  Reuse previous data if netlink timestamp
71565         is not changed.
71566         (__bump_nl_timestamp): New function.
71567         (__free_in6ai): New function.
71569 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
71571         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
71572         close_not_cancel_no_status here.
71573         (__check_pf): Reorganize code a bit to not call close twice if OOM.
71575 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71577         [BZ #13276]
71578         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
71579         return value.
71581         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
71582         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
71583         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
71585 2011-07-03  Andreas Jaeger  <aj@suse.de>
71587         [BZ #10709]
71588         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
71589         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
71590         * math/libm-test.inc (sin_test): Add test case.
71592 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71594         [BZ #13337]
71595         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
71596         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71598         * elf/chroot_canon.c (chroot_canon): Cleanups.
71600         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
71602         [BZ #13335]
71603         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
71604         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71606         * string/test-strchr.c: Make usable for strchrnul testing.
71607         * string/test-strchrnul.c: New file.
71608         * string/Makefile (strop-tests): Add strchrnul.
71610         * po/it.po: Update from translation team.
71611         * po/es.po: Likewise.
71613 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
71615         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
71616         the three constants needed as parameters.  Drop the others.
71617         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
71618         __m128i_strloadu_tolower.
71619         Create and initialize variable zero and use it in all the places
71620         where _mm_setzero_si128 was used.
71622         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
71623         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
71624         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
71625         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
71626         anymore.
71627         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
71628         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
71629         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
71630         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
71631         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
71632         __mpranred, __mptan.
71633         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
71634         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
71635         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
71636         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
71637         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
71638         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
71639         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
71640         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
71641         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
71643 2011-10-28  Andreas Schwab  <schwab@redhat.com>
71645         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
71646         redefine if SHARED.
71647         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
71649         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
71650         wide char related routines to wcsmbs subdir.
71652 2011-10-27  Andreas Schwab  <schwab@redhat.com>
71654         [BZ #13344]
71655         * misc/sys/cdefs.h (__THROWNL): Define.
71656         * posix/unistd.h: Use __THREADNL instead of __THREAD
71657         for memory synchronization functions.
71659 2011-10-26  Roland McGrath  <roland@hack.frob.com>
71661         [BZ #13349]
71662         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
71663         doesn't exist.
71664         * manual/stdio.texi (Obstack Streams): Node removed.
71666 2011-10-26  Andreas Schwab  <schwab@redhat.com>
71668         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
71669         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71670         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71672         * math/math_private.h (math_force_eval): Allow non-addressable
71673         arguments.
71674         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
71676 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71678         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
71679         file is not needed.
71681         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
71682         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
71683         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71684         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71685         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71686         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71687         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71688         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
71689         Add AVX variants.
71690         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
71691         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
71692         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
71693         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
71694         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
71695         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
71696         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
71697         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
71698         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
71699         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
71700         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
71701         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
71702         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
71703         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
71704         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
71705         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
71706         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
71707         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
71708         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
71710         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
71711         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
71713         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
71714         place.  Use VEX encoding when compiling for AVX.
71716 2011-10-25  Andreas Schwab  <schwab@redhat.com>
71718         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
71719         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
71721         * string/test-strchr.c (do_test): Don't generate NUL bytes.
71723 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71725         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
71726         useless if() expression.
71727         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71728         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71729         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71730         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71731         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71732         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71733         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71734         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71735         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71736         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71737         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71738         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71739         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71740         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71741         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71742         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71743         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71744         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71745         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71747         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
71749 2011-10-25  Andreas Schwab  <schwab@redhat.com>
71751         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
71752         condition.
71753         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71755 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71757         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
71758         .text section.  Avoid duplicate constants.
71759         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71760         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71761         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71762         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71763         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71764         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71765         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71766         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71767         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
71768         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
71769         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
71770         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71771         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
71772         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
71773         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
71774         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
71775         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
71776         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
71777         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71778         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71779         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71780         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71781         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71782         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
71783         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
71784         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
71785         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
71786         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
71787         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
71788         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
71789         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
71790         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
71791         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71792         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
71793         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
71794         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
71795         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
71796         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
71797         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
71798         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
71799         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
71800         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
71801         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
71802         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
71803         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
71805 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
71807         * sysdeps/x86_64/dla.h: Move to ...
71808         * sysdeps/x86_64/fpu/dla.h: ...here.
71809         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
71810         situations.  Use __builtin_fma only for gcc 4.6 and up.
71812         * config.make.in: Add have-mfma4 entry.
71813         * configure.in: Substitute libc_cv_cc_fma4.
71814         * math/Makefile (dbl-only-routines): Add sincostab.
71815         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
71816         Use __sincostab not sincos.
71817         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
71818         name is a macro.
71819         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71820         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71821         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71822         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
71823         using __copysign.
71824         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
71825         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
71826         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
71827         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
71828         and __inv.
71829         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
71830         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
71831         __copysign.
71832         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
71833         define aliases when function name is a macro.
71834         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
71835         sysdeps/ieee754/dbl-64/sincos.tbl.
71836         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
71837         fma4-enabled routines.
71838         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
71839         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
71840         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
71841         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
71842         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
71843         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
71844         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
71845         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
71846         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
71847         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
71848         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
71849         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
71850         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
71851         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
71852         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
71853         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
71854         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
71855         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
71856         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
71857         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
71858         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
71859         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
71860         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
71861         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
71862         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
71863         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
71864         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
71865         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
71866         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
71867         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
71869         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
71870         rename.
71871         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71872         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71873         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71874         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71875         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71876         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71877         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71878         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71880 2011-10-24  Andreas Schwab  <schwab@redhat.com>
71882         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
71884 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71886         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
71888         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
71889         prediction.
71890         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
71892         * string/strnlen.c: Don't define STRNLEN, reverse logic.
71893         Remove unused variable magic_bits.
71894         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
71896         * string/strnlen.c: Define and use STRNLEN macro.
71897         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
71898         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
71899         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
71900         * wcsmbs/wcslen.c: Define and use WCSLEN.
71901         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
71902         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
71903         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
71904         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
71905         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
71906         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
71907         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
71909 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71911         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71912         strnlen-sse2-no-bsf.
71913         Rename strlen-no-bsf to strlen-sse2-no-bsf.
71914         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
71915         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
71916         Add strnlen support.
71917         (USE_AS_STRNLEN): New macro.
71918         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
71919         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
71920         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
71921         * sysdeps/x86_64/wcslen.S: New file.
71923 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
71925         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
71926         XMM-moves are used for copying on small sizes.
71928 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71930         * wcsmbs/Makefile (strop-tests): Add wcschr.
71931         * wcsmbs/test-wcschr.c: New file.
71932         * string/test-strchr.c: Update.
71933         Add wcschr support.
71934         (WIDE): New macro.
71936 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71938         * wcsmbs/Makefile (strop-tests): Add wcslen.
71939         * wcsmbs/test-wcslen.c: New file.
71940         * string/test-strlen.c: Update.
71941         Add wcslen support.
71942         (WIDE): New macro.
71944 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71946         * po/it.po: Update from translation team.
71948 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71950         * sysdeps/x86_64/wcscmp.S: Update.
71951         Fix wrong comparison semantics.
71952         wcscmp shall use signed comparison not unsigned.
71953         Don't use substraction to avoid overflow bug.
71954         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
71955         * wcsmbc/wcscmp.c: Likewise.
71956         * string/test-strcmp.c: Likewise.
71957         Add new tests to check cases with negative values.
71959 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71961         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
71962         * sysdeps/x86_64/dla.h: ...here.  New file.
71963         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
71964         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71965         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71966         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71967         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71968         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71969         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71970         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71971         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71973 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
71975         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
71976         __ynl_finite aliases.
71978 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
71980         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71982         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
71983         define DLA_FMA.
71984         [DLA_FMA] (EMULV): Use DLA_FMA.
71985         [DLA_FMA] (MUL12): Use EMULV.
71986         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
71987         that are not needed.
71988         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71989         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71990         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71991         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71992         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71993         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71994         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71996 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
71998         * math/s_nan.c: Undef __nan.
71999         * math/s_nanf.c: Undef __nanf.
72000         * math/s_nanl.c: Undef __nanl.
72001         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
72002         "math_private.h".
72004 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
72006         * math/s_catan.c: Add branch predictions.
72007         * math/s_catanf.c: Likewise.
72008         * math/s_catanh.c: Likewise.
72009         * math/s_catanhf.c: Likewise.
72010         * math/s_catanhl.c: Likewise.
72011         * math/s_catanl.c: Likewise.
72012         * math/s_cexp.c: Likewise.
72013         * math/s_cexpf.c: Likewise.
72014         * math/s_cexpl.c: Likewise.
72015         * math/s_clog.c: Likewise.
72016         * math/s_clog10.c: Likewise.
72017         * math/s_clog10f.c: Likewise.
72018         * math/s_clog10l.c: Likewise.
72019         * math/s_clogf.c: Likewise.
72020         * math/s_clogl.c: Likewise.
72021         * math/s_csqrt.c: Likewise.
72022         * math/s_csqrtf.c: Likewise.
72023         * math/s_csqrtl.c: Likewise.
72024         * math/s_ctanf.c: Likewise.
72025         * math/s_ctanh.c: Likewise.
72026         * math/s_ctanhf.c: Likewise.
72027         * math/s_ctanhl.c: Likewise.
72028         * math/s_ctanl.c: Likewise.
72030         * math/math_private.h: Define __nan, __nanf, __nanl.
72031         * math/s_cacosh.c: Include <math_private.h>.
72032         * math/s_cacoshl.c: Likewise.
72033         * math/s_casinh.c: Likewise.
72034         * math/s_casinhf.c: Likewise.
72035         * math/s_casinhl.c: Likewise.
72036         * math/s_ccos.c: Rely entire on ccosh.
72037         * math/s_ccosf.c: Rely entire on ccoshf.
72038         * math/s_ccosl.c: Rely entirely on ccoshl.
72039         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
72040         Remove tests for FE_INVALID.
72041         * math/s_ccoshf.c: Likewise.
72042         * math/s_ccoshl.c: Likewise.
72043         * math/s_csin.c: Likewise.
72044         * math/s_csinf.c: Likewise.
72045         * math/s_csinh.c Likewise.
72046         * math/s_csinhf.c: Likewise.
72047         * math/s_csinhl.c: Likewise.
72048         * math/s_csinl.c: Likewise.
72049         * math/s_ctan.c: Likewise.
72050         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
72051         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
72052         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
72054 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
72056         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
72057         compilation problems.
72059         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
72060         __builtin_expect.
72062 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
72064         * sysdeps/i386/configure.in: Test for -mfma4 option.
72065         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
72066         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
72067         COMMON_CPUID_INDEX_80000001.
72068         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
72069         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
72070         use it if FMA3 is not supported.
72071         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
72073         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
72074         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
72076 2011-10-20  Andreas Schwab  <schwab@redhat.com>
72078         [BZ #12892]
72079         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
72080         it would create a cycle with a link time dependency.
72082 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
72084         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
72085         instruction.
72086         * string/Makefile (strop-tests): Add rawmemchr.
72087         * string/test-rawmemchr.c: New file.
72089         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
72090         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
72091         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
72092         when compiling str{,n}casecmp and when AVX is available.  Hook up
72093         new optimized code in initializers.
72095 2011-10-19  Andreas Schwab  <schwab@redhat.com>
72097         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
72098         __feraiseexcept instead of feraiseexcept.
72100 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
72102         * math/math_private.h: Define defaults for libc_fetestexcept and
72103         libc_feupdateenv.
72104         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
72105         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
72106         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72107         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72108         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
72109         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72110         libc_fetestexcept and libc_feupdateenv.
72112         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
72113         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
72114         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
72115         * sysdeps/x86_64/fpu/math_private.h: Define special version of
72116         libc_feholdexcept_setround.
72118         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
72119         Add s_nearbyint-c and s_nearbyintf-c.
72120         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
72121         nearbyintf inlines.
72122         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
72123         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
72124         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
72125         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
72127         * math/math_private.h: Define defaults for libc_fegetround,
72128         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
72129         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
72130         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
72131         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
72132         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
72133         standard functions.
72134         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72135         Remove comments and hacks for old compiler versions.
72136         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72137         libc_fegetround, libc_fesetround, libc_feholdexcept, and
72138         libc_feholdexceptl.
72140 2011-10-18  Andreas Schwab  <schwab@redhat.com>
72142         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
72143         (__feraiseexcept_renamed): Add __NTH.
72144         (feraiseexcept): Add __NTH.  Rename local variables to fix
72145         namespace violations.
72147 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
72149         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
72151         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
72153         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
72154         recently added interfaces.
72155         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
72157         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
72158         about macro parameter expansion.
72160         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
72161         __NO_MATH_INLINES is defined.  Cleanups.
72163         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
72164         and __floorf is target has SSE4.1.
72165         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
72166         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
72167         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
72168         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
72170         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
72171         name.
72172         (floorf): Likewise.
72174         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
72176 2011-10-17  Andreas Schwab  <schwab@redhat.com>
72178         * misc/sys/cdefs.h: Fix last change.
72180         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
72181         database lookup.
72183 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
72185         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
72187         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
72188         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72189         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
72190         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72191         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72192         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
72193         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72194         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72195         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
72196         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
72197         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
72198         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
72199         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
72200         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
72201         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
72202         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
72203         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
72204         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
72205         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
72206         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
72207         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
72208         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
72210         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
72211         ceil, ceilf, floor, floorf.
72213         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
72214         Perform IRELATIVE relocations last.
72216         * elf/do-rel.h: Add another parameter nrelative, replacing the
72217         local variable with the same name.  Change name of the function
72218         to end in Rel or Rela (uppercase).
72219         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
72220         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
72221         elf_dynamic_do_##reloc function.
72223 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
72225         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
72226         is sufficient, at least on modern CPUs.
72228         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
72230         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
72231         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
72233         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
72234         __expl_finite.
72235         * math/bits/math-finite.h: Add entries for exp.
72236         * math/e_expl.c: Add __*_finite alias.
72237         * sysdeps/i386/fpu/e_exp.S: Likewise.
72238         * sysdeps/i386/fpu/e_expf.S: Likewise.
72239         * sysdeps/i386/fpu/e_expl.c: Likewise.
72240         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72241         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72242         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
72243         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
72244         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
72245         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72246         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72248         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
72249         is sufficient, at least on modern CPUs.
72251         * ctype/ctype-info.c (__ctype_init): Define.
72252         * include/ctype.h (__ctype_init): Declare.
72253         (__ctype_b_loc): The variable is always initialized.
72254         (__ctype_toupper_loc): Likewise.
72255         (__ctype_tolower_loc): Likewise.
72256         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
72257         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
72259 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
72261         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
72263         * configure.in: Also look in $cxxmachine/include for C++ system
72264         headers.
72266 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72268         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
72269         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
72270         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
72271         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
72272         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
72273         (USE_AS_WMEMCMP): New macro.
72274         Fixing indents.
72275         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
72276         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
72277         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
72278         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
72279         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72280         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
72281         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
72282         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
72283         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
72284         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
72285         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
72286         (USE_AS_WMEMCMP): New macro.
72287         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
72288         * sysdeps/string/test-memcmp.c: Update.
72289         Fix simple_wmemcmp.
72290         Add new tests.
72291         * wcsmbs/wmemcmp.c: Update.
72292         (WMEMCMP): New macro.
72293         Fix overflow bug.
72295 2011-10-12  Andreas Jaeger  <aj@suse.de>
72297         [BZ #13268]
72298         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
72300 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
72302         * libio/iofwide.c (do_length): Avoid warning.
72304         * ctype/ctype.h (__isctype_f): Add missing __THROW.
72306 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
72308         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
72310         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
72311         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
72312         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
72313         * sysdeps/i386/i686/fpu/e_log.S: New file.
72314         * sysdeps/i386/i686/fpu/e_logf.S: New file.
72315         * sysdeps/i386/i686/fpu/e_logl.S: New file.
72317         * ctype/ctype.h: Add support for inlined isXXX functions when
72318         compiling C++ code.
72320 2011-10-14  Andreas Schwab  <schwab@redhat.com>
72322         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72324         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
72326 2011-10-13  Roland McGrath  <roland@hack.frob.com>
72328         [BZ #13291]
72329         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
72331 2011-10-13  Andreas Schwab  <schwab@redhat.com>
72333         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
72334         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
72335         feraiseexcept.
72337         * sysdeps/x86_64/memrchr.S: Check for zero size.
72339         * string/stratcliff.c: Add memrchr tests.
72341 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72343         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72344         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
72345         rawmemchr-sse2 rawmemchr-sse2-bsf.
72346         * sysdeps/i386/i686/multiarch/memchr.S: New file.
72347         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
72348         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
72349         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
72350         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
72351         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
72352         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
72353         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
72354         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
72355         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
72356         * string/memrchr.c (MEMRCHR): New macro.
72358 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
72360         Add integration with gcc's -ffinite-math-only and optimize wrapper
72361         functions in libm.
72362         * Versions.def: Define GLIBC_2.15 version for libm.
72363         * math/Makefile (headers): Add bits/math-finite.h.
72364         * math/bits/math-finite.h: New file.
72365         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
72366         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
72367         * math/e_acoshl.c: Add __*_finite alias.
72368         * math/e_acosl.c: Likewise.
72369         * math/e_asinl.c: Likewise.
72370         * math/e_atan2l.c: Likewise.
72371         * math/e_atanhl.c: Likewise.
72372         * math/e_coshl.c: Likewise.
72373         * math/e_exp10.c: Likewise.
72374         * math/e_exp10f.c: Likewise.
72375         * math/e_exp10l.c: Likewise.
72376         * math/e_exp2l.c: Likewise.
72377         * math/e_fmodl.c: Likewise.
72378         * math/e_gammal_r.c: Likewise.
72379         * math/e_hypotl.c: Likewise.
72380         * math/e_j0l.c: Likewise.
72381         * math/e_j1l.c: Likewise.
72382         * math/e_jnl.c: Likewise.
72383         * math/e_lgammal_r.c: Likewise.
72384         * math/e_log10l.c: Likewise.
72385         * math/e_log2l.c: Likewise.
72386         * math/e_logl.c: Likewise.
72387         * math/e_powl.c: Likewise.
72388         * math/e_sinhl.c: Likewise.
72389         * math/e_sqrtl.c: Likewise.
72390         * math/e_scalb.c: Completely rewritten and optimized.
72391         * math/e_scalbf.c: Likewise.
72392         * math/e_scalbl.c: Likewise.
72393         * math/w_acos.c: Likewise.
72394         * math/w_acosf.c: Likewise.
72395         * math/w_acosl.c: Likewise.
72396         * math/w_acosh.c: Likewise.
72397         * math/w_acoshf.c: Likewise.
72398         * math/w_acoshl.c: Likewise.
72399         * math/w_asin.c: Likewise.
72400         * math/w_asinf.c: Likewise.
72401         * math/w_asinl.c: Likewise.
72402         * math/w_atan2.c: Likewise.
72403         * math/w_atan2f.c: Likewise.
72404         * math/w_atan2l.c: Likewise.
72405         * math/w_atanh.c: Likewise.
72406         * math/w_atanhf.c: Likewise.
72407         * math/w_atanhl.c: Likewise.
72408         * math/w_exp10.c: Likewise.
72409         * math/w_exp10f.c: Likewise.
72410         * math/w_exp10l.c: Likewise.
72411         * math/w_fmod.c: Likewise.
72412         * math/w_fmodf.c: Likewise.
72413         * math/w_fmodl.c: Likewise.
72414         * math/w_j0.c: Likewise.
72415         * math/w_j0f.c: Likewise.
72416         * math/w_j0l.c: Likewise.
72417         * math/w_j1.c: Likewise.
72418         * math/w_j1f.c: Likewise.
72419         * math/w_j1l.c: Likewise.
72420         * math/w_jn.c: Likewise.
72421         * math/w_jnf.c: Likewise.
72422         * math/w_log.c: Likewise.
72423         * math/w_logf.c: Likewise.
72424         * math/w_logl.c: Likewise.
72425         * math/w_log10.c: Likewise.
72426         * math/w_log10f.c: Likewise.
72427         * math/w_log10l.c: Likewise.
72428         * math/w_log2.c: Likewise.
72429         * math/w_log2f.c: Likewise.
72430         * math/w_log2l.c: Likewise.
72431         * math/w_pow.c: Likewise.
72432         * math/w_powf.c: Likewise.
72433         * math/w_powl.c: Likewise.
72434         * math/w_remainder.c: Likewise.
72435         * math/w_remainderf.c: Likewise.
72436         * math/w_remainderl.c: Likewise.
72437         * math/w_scalb.c: Likewise.
72438         * math/w_scalbf.c: Likewise.
72439         * math/w_scalbl.c: Likewise.
72440         * math/w_sqrt.c: Likewise.
72441         * math/w_sqrtf.c: Likewise.
72442         * math/w_sqrtl.c: Likewise.
72443         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
72444         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
72445         used.
72446         * math/math_private.h: Declare __kernel_standard_f.
72447         * math/w_cosh.c: Remove cruft and optimize a bit.
72448         * math/w_coshf.c: Likewise.
72449         * math/w_coshl.c: Likewise.
72450         * math/w_exp2.c: Likewise.
72451         * math/w_exp2f.c: Likewise.
72452         * math/w_exp2l.c: Likewise.
72453         * math/w_hypot.c: Likewise.
72454         * math/w_hypotf.c: Likewise.
72455         * math/w_hypotl.c: Likewise.
72456         * math/w_lgamma.c: Likewise.
72457         * math/w_lgamma_r.c: Likewise.
72458         * math/w_lgammaf.c: Likewise.
72459         * math/w_lgammaf_r.c: Likewise.
72460         * math/w_lgammal.c: Likewise.
72461         * math/w_lgammal_r.c: Likewise.
72462         * math/w_sinh.c: Likewise.
72463         * math/w_sinhf.c: Likewise.
72464         * math/w_sinhl.c: Likewise.
72465         * math/w_tgamma.c: Likewise.
72466         * math/w_tgammaf.c: Likewise.
72467         * math/w_tgammal.c: Likewise.
72468         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72469         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72470         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
72471         Minor optimizations.  Pretty printing.  Remove cruft.
72472         * sysdeps/i386/fpu/e_acosf.S: Likewise.
72473         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72474         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72475         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72476         * sysdeps/i386/fpu/e_acosl.c: Likewise.
72477         * sysdeps/i386/fpu/e_asin.S: Likewise.
72478         * sysdeps/i386/fpu/e_asinf.S: Likewise.
72479         * sysdeps/i386/fpu/e_atan2.S: Likewise.
72480         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
72481         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
72482         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72483         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72484         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72485         * sysdeps/i386/fpu/e_exp10.S: Likewise.
72486         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
72487         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
72488         * sysdeps/i386/fpu/e_exp2.S: Likewise.
72489         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
72490         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
72491         * sysdeps/i386/fpu/e_fmod.S: Likewise.
72492         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
72493         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
72494         * sysdeps/i386/fpu/e_hypot.S: Likewise.
72495         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
72496         * sysdeps/i386/fpu/e_log.S: Likewise.
72497         * sysdeps/i386/fpu/e_log10.S: Likewise.
72498         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72499         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72500         * sysdeps/i386/fpu/e_log2.S: Likewise.
72501         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72502         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72503         * sysdeps/i386/fpu/e_logf.S: Likewise.
72504         * sysdeps/i386/fpu/e_logl.S: Likewise.
72505         * sysdeps/i386/fpu/e_pow.S: Likewise.
72506         * sysdeps/i386/fpu/e_powf.S: Likewise.
72507         * sysdeps/i386/fpu/e_powl.S: Likewise.
72508         * sysdeps/i386/fpu/e_remainder.S: Likewise.
72509         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
72510         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
72511         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72512         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72513         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72514         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
72515         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
72516         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
72517         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
72518         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72519         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72520         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
72521         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72522         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
72523         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
72524         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72525         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72526         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72527         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72528         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72529         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72530         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
72531         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
72532         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72533         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72534         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
72535         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72536         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72537         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
72538         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
72539         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72540         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72541         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
72542         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
72543         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72544         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
72545         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
72546         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
72547         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72548         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
72549         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72550         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
72551         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
72552         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
72553         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
72554         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
72555         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
72556         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
72557         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
72558         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
72559         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
72560         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
72561         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72562         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
72563         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
72564         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
72565         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
72566         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
72567         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
72568         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
72569         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
72570         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72571         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
72572         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
72573         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
72574         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
72575         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
72576         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
72577         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
72578         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
72579         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72580         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72581         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
72582         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
72583         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
72584         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
72585         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
72586         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
72587         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
72588         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
72589         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
72590         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
72591         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
72592         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72593         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72594         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
72595         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72596         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
72597         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72598         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
72599         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
72600         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72601         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72602         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
72603         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72604         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
72605         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
72606         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
72607         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72608         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
72609         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
72610         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
72611         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
72612         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
72613         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
72614         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
72615         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
72616         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
72617         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
72618         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
72619         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
72620         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
72621         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72622         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72623         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72624         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72625         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
72626         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72627         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
72628         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
72629         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
72630         (__isnanf): Likewise.
72631         (__isinf_ns): Likewise.
72632         (__isinf_nsf): Likewise.
72633         (__finite): Likewise.
72634         (__finitef): Likewise.
72635         (__ieee754_sqrt): Define as macro.
72636         (__ieee754_sqrtf): Define as macro.
72637         (__ieee754_sqrtl): Define as macro.
72638         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
72639         inlined copy.
72640         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
72641         __FINITE_MATH_ONLY__ consistent.
72642         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
72644 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
72646         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
72647         of rawmemchr.
72649         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
72651 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
72653         * po/ja.po: Update from translation team.
72655 2011-10-08  Roland McGrath  <roland@hack.frob.com>
72657         * locale/programs/locarchive.c (prepare_address_space): New function.
72658         (create_archive, enlarge_archive, open_archive): Use it.
72660         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
72661         inside [SHARED], where it is used.
72663         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
72665         * nss/getent.c (netgroup_keys): Remove unused variable.
72666         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
72668 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
72670         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
72671         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
72672         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
72673         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
72674         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
72675         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
72676         * math/Makefile (libm-calls): Add s_isinf_ns.
72677         * math/divtc3.c: Use __isinf_nsl instead of isinf.
72678         * math/multc3.c: Likewise.
72679         * math/s_casin.c: Likewise.
72680         * math/s_casinf.c: Likewise.
72681         * math/s_casinl.c: Likewise.
72682         * math/s_ccos.c: Likewise.
72683         * math/s_ccosf.c: Likewise.
72684         * math/s_ccosl.c: Likewise.
72685         * math/s_ctan.c: Likewise.
72686         * math/s_ctanf.c: Likewise.
72687         * math/s_ctanh.c: Likewise.
72688         * math/s_ctanhf.c: Likewise.
72689         * math/s_ctanhl.c: Likewise.
72690         * math/s_ctanl.c: Likewise.
72691         * math/w_fmod.c: Likewise.
72692         * math/w_fmodf.c: Likewise.
72693         * math/w_fmodl.c: Likewise.
72694         * math/w_remainder.c: Likewise.
72695         * math/w_remainderf.c: Likewise.
72696         * math/w_remainderl.c: Likewise.
72697         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
72698         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
72699         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
72700         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
72701         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
72702         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
72703         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
72704         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
72706         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
72707         of the number.
72708         * stdio-common/printf_fphex.c: Likewise.
72709         * stdio-common/printf_size.c: Likewise.
72711         * math/e_exp10.c: Include math_private.h using <...> not "...".
72712         * math/e_exp10f.c: Likewise.
72713         * math/e_exp10l.c: Likewise.
72714         * math/e_exp2l.c: Likewise.
72715         * math/e_j0l.c: Likewise.
72716         * math/e_j1l.c: Likewise.
72717         * math/e_jnl.c: Likewise.
72718         * math/e_lgammal_r.c: Likewise.
72719         * math/e_rem_pio2l.c: Likewise.
72720         * math/e_scalb.c: Likewise.
72721         * math/e_scalbf.c: Likewise.
72722         * math/e_scalbl.c: Likewise.
72723         * math/k_cosl.c: Likewise.
72724         * math/k_sinl.c: Likewise.
72725         * math/k_tanl.c: Likewise.
72726         * math/s_cacoshf.c: Likewise.
72727         * math/s_catan.c: Likewise.
72728         * math/s_catanf.c: Likewise.
72729         * math/s_catanh.c: Likewise.
72730         * math/s_catanhf.c: Likewise.
72731         * math/s_catanhl.c: Likewise.
72732         * math/s_catanl.c: Likewise.
72733         * math/s_ccosh.c: Likewise.
72734         * math/s_ccoshf.c: Likewise.
72735         * math/s_ccoshl.c: Likewise.
72736         * math/s_cexp.c: Likewise.
72737         * math/s_cexpf.c: Likewise.
72738         * math/s_cexpl.c: Likewise.
72739         * math/s_clog.c: Likewise.
72740         * math/s_clog10.c: Likewise.
72741         * math/s_clog10f.c: Likewise.
72742         * math/s_clog10l.c: Likewise.
72743         * math/s_clogf.c: Likewise.
72744         * math/s_clogl.c: Likewise.
72745         * math/s_csin.c: Likewise.
72746         * math/s_csinf.c: Likewise.
72747         * math/s_csinh.c: Likewise.
72748         * math/s_csinhf.c: Likewise.
72749         * math/s_csinhl.c: Likewise.
72750         * math/s_csinl.c: Likewise.
72751         * math/s_csqrt.c: Likewise.
72752         * math/s_csqrtf.c: Likewise.
72753         * math/s_csqrtl.c: Likewise.
72754         * math/s_ctan.c: Likewise.
72755         * math/s_ctanf.c: Likewise.
72756         * math/s_ctanh.c: Likewise.
72757         * math/s_ctanhf.c: Likewise.
72758         * math/s_ctanhl.c: Likewise.
72759         * math/s_ctanl.c: Likewise.
72760         * math/s_ldexp.c: Likewise.
72761         * math/s_ldexpf.c: Likewise.
72762         * math/s_ldexpl.c: Likewise.
72763         * math/s_significand.c: Likewise.
72764         * math/s_significandf.c: Likewise.
72765         * math/s_significandl.c: Likewise.
72766         * math/w_acos.c: Likewise.
72767         * math/w_acosf.c: Likewise.
72768         * math/w_acosh.c: Likewise.
72769         * math/w_acoshf.c: Likewise.
72770         * math/w_acoshl.c: Likewise.
72771         * math/w_acosl.c: Likewise.
72772         * math/w_asin.c: Likewise.
72773         * math/w_asinf.c: Likewise.
72774         * math/w_asinl.c: Likewise.
72775         * math/w_atan2.c: Likewise.
72776         * math/w_atan2f.c: Likewise.
72777         * math/w_atan2l.c: Likewise.
72778         * math/w_atanh.c: Likewise.
72779         * math/w_atanhf.c: Likewise.
72780         * math/w_atanhl.c: Likewise.
72781         * math/w_cosh.c: Likewise.
72782         * math/w_coshf.c: Likewise.
72783         * math/w_coshl.c: Likewise.
72784         * math/w_dremf.c: Likewise.
72785         * math/w_exp10.c: Likewise.
72786         * math/w_exp10f.c: Likewise.
72787         * math/w_exp10l.c: Likewise.
72788         * math/w_exp2.c: Likewise.
72789         * math/w_exp2f.c: Likewise.
72790         * math/w_fmod.c: Likewise.
72791         * math/w_fmodf.c: Likewise.
72792         * math/w_fmodl.c: Likewise.
72793         * math/w_hypot.c: Likewise.
72794         * math/w_hypotf.c: Likewise.
72795         * math/w_hypotl.c: Likewise.
72796         * math/w_j0.c: Likewise.
72797         * math/w_j0f.c: Likewise.
72798         * math/w_j0l.c: Likewise.
72799         * math/w_j1.c: Likewise.
72800         * math/w_j1f.c: Likewise.
72801         * math/w_j1l.c: Likewise.
72802         * math/w_jn.c: Likewise.
72803         * math/w_jnf.c: Likewise.
72804         * math/w_jnl.c: Likewise.
72805         * math/w_lgamma.c: Likewise.
72806         * math/w_lgamma_r.c: Likewise.
72807         * math/w_lgammaf.c: Likewise.
72808         * math/w_lgammaf_r.c: Likewise.
72809         * math/w_lgammal.c: Likewise.
72810         * math/w_lgammal_r.c: Likewise.
72811         * math/w_log.c: Likewise.
72812         * math/w_log10.c: Likewise.
72813         * math/w_log10f.c: Likewise.
72814         * math/w_log10l.c: Likewise.
72815         * math/w_log2.c: Likewise.
72816         * math/w_log2f.c: Likewise.
72817         * math/w_log2l.c: Likewise.
72818         * math/w_logf.c: Likewise.
72819         * math/w_logl.c: Likewise.
72820         * math/w_pow.c: Likewise.
72821         * math/w_powf.c: Likewise.
72822         * math/w_powl.c: Likewise.
72823         * math/w_remainder.c: Likewise.
72824         * math/w_remainderf.c: Likewise.
72825         * math/w_remainderl.c: Likewise.
72826         * math/w_scalb.c: Likewise.
72827         * math/w_scalbf.c: Likewise.
72828         * math/w_scalbl.c: Likewise.
72829         * math/w_sinh.c: Likewise.
72830         * math/w_sinhf.c: Likewise.
72831         * math/w_sinhl.c: Likewise.
72832         * math/w_sqrt.c: Likewise.
72833         * math/w_sqrtf.c: Likewise.
72834         * math/w_sqrtl.c: Likewise.
72835         * math/w_tgamma.c: Likewise.
72836         * math/w_tgammaf.c: Likewise.
72837         * math/w_tgammal.c: Likewise.
72839         * po/ja.po: Update from translation team.
72841 2011-09-29  Andreas Jaeger  <aj@suse.de>
72843         [BZ #13179]
72844         * sunrpc/netname.c (netname2host): Fix logic.
72846         [BZ #6779]
72847         [BZ #6783]
72848         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
72849         correctly.
72850         * math/w_remainder.c (__remainder): Likewise.
72851         * math/w_remainderf.c (__remainderf): Likewise.
72852         * math/libm-test.inc (remainder_test): Add test cases.
72854 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72856         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
72857         sdiv_qrnnd.
72859 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
72861         * string/test-memcmp.c: Avoid unncessary #defines.
72862         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72864 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72866         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
72867         Use new sse2 version for core i3 - i7 as it's faster
72868         than sse42 version.
72869         (bit_Prefer_PMINUB_for_stringop): New.
72870         * sysdeps/x86_64/rawmemchr.S: Update.
72871         Replace with faster SSE2 version.
72872         * sysdeps/x86_64/memrchr.S: New file.
72873         * sysdeps/x86_64/memchr.S: Update.
72874         Replace with faster SSE2 version.
72876 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
72878         * elf/dl-load.c (lose): Add cast to avoid warning.
72880 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
72882         * po/ca.po: Update from translation team.
72884         * inet/getnetgrent_r.c: Hook up nscd.
72885         * nscd/Makefile (routines): Add nscd_netgroup.
72886         (nscd-modules): Add netgroupcache.
72887         (CFLAGS-netgroupcache.c): Define.
72888         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
72889         (cache_search): Add const to second parameter.
72890         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
72891         INNETGR.
72892         (dbs): Add netgrdb entry.
72893         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
72894         (verify_persistent_db): Handle netgrdb.
72895         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
72896         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
72897         GETFDNETGR.
72898         (netgroup_response_header): Define.
72899         (innetgroup_response_header): Define.
72900         (datahead): Add netgroup_response_header and innetgroup_response_header
72901         elements.
72902         * nscd/nscd.conf: Add entries for netgroup cache.
72903         * nscd/nscd.h (dbtype): Add netgrdb.
72904         (_PATH_NSCD_NETGROUP_DB): Define.
72905         (netgroup_iov_disabled): Declare.
72906         (xmalloc, xcalloc, xrealloc): Move declarations here.
72907         (cache_search): Adjust prototype.
72908         Add netgroup-related prototypes.
72909         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
72910         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
72911         (__nscd_innetgr): Declare.
72912         * nscd/selinux.c (perms): Use access_vector_t as element type and
72913         add netgroup-related initializers.
72914         * nscd/netgroupcache.c: New file.
72915         * nscd/nscd_netgroup.c: New file.
72916         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
72917         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
72918         For four parameters use innetgr.
72919         * nss/nss_files/files-init.c: Add definition and callback for netgr.
72920         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
72921         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
72922         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
72924         * nscd/connections.c (register_traced_file): Don't register file
72925         for disabled databases.
72927 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
72929         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
72931         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
72932         from tree and freeing node.
72934 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
72936         * nss/nsswitch.c (__nss_database_lookup): Handle
72937         nss_parse_service_list out of memory case.
72939 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
72941         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
72942         out of memory case.
72944 2011-10-04  Andreas Schwab  <schwab@redhat.com>
72946         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
72947         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
72948         pass it down.
72949         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
72950         elf_machine_rela, elf_machine_lazy_rel.
72951         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
72952         (ELF_DYNAMIC_DO_REL): Likewise.
72953         (ELF_DYNAMIC_DO_RELA): Likewise.
72954         (ELF_DYNAMIC_RELOCATE): Likewise.
72955         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
72956         to ELF_DYNAMIC_DO_REL.
72957         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
72958         (dl_main): In trace mode always set __RTLD_NOIFUNC.
72959         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
72960         elf_machine_rela.
72961         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
72962         skip_ifunc, don't call ifunc function if non-zero.
72963         (elf_machine_rela): Likewise.
72964         (elf_machine_lazy_rel): Likewise.
72965         (elf_machine_lazy_rela): Likewise.
72966         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
72967         (elf_machine_lazy_rel): Likewise.
72968         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
72969         Likewise.
72970         (elf_machine_lazy_rel): Likewise.
72971         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72972         Likewise.
72973         (elf_machine_lazy_rel): Likewise.
72974         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
72975         (elf_machine_lazy_rel): Likewise.
72976         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
72977         (elf_machine_lazy_rel): Likewise.
72978         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
72979         (elf_machine_lazy_rel): Likewise.
72980         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
72981         (elf_machine_lazy_rel): Likewise.
72982         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
72983         (elf_machine_lazy_rel): Likewise.
72984         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
72985         (elf_machine_lazy_rel): Likewise.
72987 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
72989         * nss/nss_files/files-init.c (_nss_files_init): Use static
72990         initialization for all the *_traced_file variables.
72992 2011-09-28  Andreas Schwab  <schwab@redhat.com>
72994         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72996 2011-09-27  Roland McGrath  <roland@hack.frob.com>
72998         [BZ #13226]
72999         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
73001 2011-09-27  Andreas Schwab  <schwab@redhat.com>
73003         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73004         Reread the line before reparsing it.
73006 2011-09-26  Andreas Schwab  <schwab@redhat.com>
73008         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
73010 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
73011             Maxim Kuvyrkov  <maxim@codesourcery.com>
73012             Joseph Myers  <joseph@codesourcery.com>
73014         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
73015         if needed for __stack_chk_guard.
73017 2011-09-19  Roland McGrath  <roland@hack.frob.com>
73019         * sysdeps/posix/spawni.c (script_execute): Always define it.
73020         It will be optimized away if unused.
73021         (maybe_script_execute): New function.
73022         (__spawni): Call it.
73024         * Makerules: Don't include tls.make.
73025         (config-tls): Always set to thread.
73026         * tls.make.c: File removed.
73028 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
73030         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
73031         * config.make.in (CPPFLAGS-config): New substituted variable.
73033 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
73035         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
73037         [BZ #13192]
73038         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
73039         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
73041 2011-09-15  Roland McGrath  <roland@hack.frob.com>
73043         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
73044         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
73045         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
73046         (CALL_FAIL): Likewise.
73047         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
73048         (CALL_FAIL): Macro removed.
73049         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
73051 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
73053         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
73054         for __FINITE_MATH_ONLY__ == 1.
73056 2011-09-15  Andreas Schwab  <schwab@redhat.com>
73058         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
73059         __ieee754_sqrt instead of sqrt.
73060         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
73061         __ieee754_sqrtf instead of sqrtf.
73062         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
73063         __floorf instead of floorf.
73064         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
73065         __floorf, __truncf instead of floorf, truncf.
73067 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
73069         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
73071         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
73072         __extern_always_inline.
73073         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
73074         32-bit.
73076 2011-09-14  Andreas Schwab  <schwab@redhat.com>
73078         * elf/rtld.c (dl_main): Also relocate in dependency order when
73079         doing symbol dependency testing.
73081 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
73083         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73084         Always define `refsym'.
73086 2011-09-13  Andreas Schwab  <schwab@redhat.com>
73088         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
73089         (__FD_ELT): Renamed from __FDELT.
73090         * misc/bits/select2.h (__FD_ELT): Likewise.
73091         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
73092         __FD_MASK instead of __FDELT, __FDMASK.
73093         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73094         Likewise.
73095         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73096         Likewise.
73098         * elf/Makefile (gen-ldd): Fix pattern.
73100         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
73101         (init_tls): Likewise.
73103 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
73105         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
73107 2011-09-12  Andreas Schwab  <schwab@redhat.com>
73109         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
73110         `struct cmsghdr *' instead of `void *'.
73111         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
73112         Likewise.
73114 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
73116         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
73117         if non-absolute.
73118         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
73119         ldd_rewrite_script.
73121 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
73123         * configure.in: Remove --with-tls option.
73124         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
73125         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
73126         out in case it is missing.
73127         * sysdeps/ia64/elf/configure.in: Likewise.
73128         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
73129         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
73130         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
73131         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
73132         * sysdeps/sh/elf/configure.in: Likewise.
73133         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
73134         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
73135         * sysdeps/x86_64/elf/configure.in: Likewise.
73136         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
73137         * sysdeps/mach/hurd/tls.h: Likewise.
73139         [BZ #13067]
73140         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
73142         [BZ #13090]
73143         * configure.in: Fix use of AC_INIT.
73145         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
73147 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
73149         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
73150         __set_errno.
73151         * malloc/hooks.c: Likewise.
73153         [BZ #11929]
73154         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
73155         variables statically.
73156         (narenas): Initialize.
73157         (list_lock): Initialize.
73158         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
73159         initializtion of main_arena and list_lock.  Small cleanups.
73160         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
73161         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
73162         Add initializers to main_arena and mp_.
73163         (malloc_state): Remove pagesize member.  Change all users to use
73164         GLRO(dl_pagesize).
73166         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
73167         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
73168         is always initialized.
73170         * malloc/malloc.c: Removed unused configurations and dead code.
73171         * malloc/arena.c: Likewise.
73172         * malloc/hooks.c: Likewise.
73173         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
73175         * include/tls.h: Removed.  USE___THREAD must always be defined.
73176         * bits/libc-tsd.h: Don't handle !USE___THREAD.
73177         * elf/dl-libc.c: Likewise.
73178         * elf/dl-tsd.c: Likewise.
73179         * include/errno.h: Likewise.
73180         * include/netdb.h: Likewise.
73181         * include/resolv.h: Likewise.
73182         * inet/herrno-loc.c: Likewise.
73183         * inet/herrno.c: Likewise.
73184         * malloc/arena.c: Likewise.
73185         * malloc/hooks.c: Likewise.
73186         * malloc/malloc.c: Likewise.
73187         * resolv/res-state.c: Likewise.
73188         * resolv/res_libc.c: Likewise.
73189         * sysdeps/i386/dl-machine.h: Likewise.
73190         * sysdeps/ia64/dl-machine.h: Likewise.
73191         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
73192         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
73193         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
73194         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
73195         * sysdeps/sh/dl-machine.h: Likewise.
73196         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
73197         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
73198         * sysdeps/unix/i386/sysdep.S: Likewise.
73199         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
73200         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
73201         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
73202         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
73203         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
73204         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
73205         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
73206         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
73207         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73208         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
73209         * sysdeps/unix/x86_64/sysdep.S: Likewise.
73210         * sysdeps/x86_64/dl-machine.h: Likewise.
73211         * tls.make.c: Likewise.
73213         * configure.in: Remove --with-__thread option.  Make tests for
73214         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
73215         tls_model attribute fail if no support is available.  Remove
73216         USE_IN_LIBIO.
73217         * Makeconfig: Adjust for dropped configure option.  All features are
73218         now mandatory.
73219         * Makerules: Likewise.
73220         * Versions.def: Likewise.
73221         * argp/argp-fmtstream.c: Likewise.
73222         * argp/argp-fmtstream.h: Likewise.
73223         * argp/argp-help.c: Likewise.
73224         * assert/assert.c: Likewise.
73225         * config.h.in: Likewise.
73226         * config.make.in: Likewise.
73227         * configure: Likewise.
73228         * configure.in: Likewise.
73229         * csu/Versions: Likewise.
73230         * csu/init.c: Likewise.
73231         * elf/tst-audit2.c: Likewise.
73232         * elf/tst-tls10.c: Likewise.
73233         * elf/tst-tls10.h: Likewise.
73234         * elf/tst-tls11.c: Likewise.
73235         * elf/tst-tls12.c: Likewise.
73236         * elf/tst-tls14.c: Likewise.
73237         * elf/tst-tlsmod11.c: Likewise.
73238         * elf/tst-tlsmod12.c: Likewise.
73239         * elf/tst-tlsmod13.c: Likewise.
73240         * elf/tst-tlsmod13a.c: Likewise.
73241         * elf/tst-tlsmod14a.c: Likewise.
73242         * elf/tst-tlsmod15b.c: Likewise.
73243         * elf/tst-tlsmod16a.c: Likewise.
73244         * elf/tst-tlsmod16b.c: Likewise.
73245         * elf/tst-tlsmod7.c: Likewise.
73246         * elf/tst-tlsmod8.c: Likewise.
73247         * elf/tst-tlsmod9.c: Likewise.
73248         * gmon/gmon.c: Likewise.
73249         * grp/fgetgrent_r.c: Likewise.
73250         * grp/putgrent.c: Likewise.
73251         * hurd/fopenport.c: Likewise.
73252         * include/libc-symbols.h: Likewise.
73253         * include/tls.h: Likewise.
73254         * intl/gettextP.h: Likewise.
73255         * intl/loadinfo.h: Likewise.
73256         * locale/global-locale.c: Likewise.
73257         * locale/localeinfo.h: Likewise.
73258         * mach/devstream.c: Likewise.
73259         * malloc/arena.c: Likewise.
73260         * malloc/set-freeres.c: Likewise.
73261         * misc/err.c: Likewise.
73262         * misc/getttyent.c: Likewise.
73263         * misc/mntent_r.c: Likewise.
73264         * posix/getopt.c: Likewise.
73265         * posix/wordexp.c: Likewise.
73266         * pwd/fgetpwent_r.c: Likewise.
73267         * resolv/Versions: Likewise.
73268         * resolv/res_hconf.c: Likewise.
73269         * shadow/fgetspent_r.c: Likewise.
73270         * shadow/putspent.c: Likewise.
73271         * stdio-common/printf_fphex.c: Likewise.
73272         * stdio-common/tmpfile.c: Likewise.
73273         * stdlib/abort.c: Likewise.
73274         * stdlib/fmtmsg.c: Likewise.
73275         * sunrpc/auth_unix.c: Likewise.
73276         * sunrpc/clnt_perr.c: Likewise.
73277         * sunrpc/clnt_tcp.c: Likewise.
73278         * sunrpc/clnt_udp.c: Likewise.
73279         * sunrpc/clnt_unix.c: Likewise.
73280         * sunrpc/openchild.c: Likewise.
73281         * sunrpc/svc_simple.c: Likewise.
73282         * sunrpc/svc_tcp.c: Likewise.
73283         * sunrpc/svc_udp.c: Likewise.
73284         * sunrpc/svc_unix.c: Likewise.
73285         * sunrpc/xdr.c: Likewise.
73286         * sunrpc/xdr_array.c: Likewise.
73287         * sunrpc/xdr_rec.c: Likewise.
73288         * sunrpc/xdr_ref.c: Likewise.
73289         * sunrpc/xdr_stdio.c: Likewise.
73291 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73293         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73295 2011-07-03  Andreas Jaeger  <aj@suse.de>
73297         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
73298         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
73299         regenerate with gen-libm-tests.pl.
73301 2010-05-12  Petr Baudis  <pasky@suse.cz>
73303         [BZ #11589]
73304         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
73305         around j0() zero points by switching to j1().
73306         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73307         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73308         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73309         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73311 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73313         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
73314         instead of 0.
73315         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
73316         instead of 0.
73317         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73318         Patch in part by Pavel Roskin <proski@gnu.org>.
73320         [BZ #13138]
73321         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
73322         realloc.
73323         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
73324         Free memory block if necessary.
73326         [BZ #12847]
73327         * libio/genops.c (INTDEF): For string streams the _lock pointer can
73328         be NULL.  Don't lock in this case.
73330 2011-09-09  Roland McGrath  <roland@hack.frob.com>
73332         * elf/elf.h (ELFOSABI_GNU): New macro.
73333         (ELFOSABI_LINUX): Define to that.
73335 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
73337         * string/strncat.c (strncat): Undef the symbol in case it has been
73338         defined in bits/string.h.
73340 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73342         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
73344         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
73345         link map.
73347 2011-08-17  Andreas Jaeger  <aj@suse.de>
73349         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
73351 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
73352             Ian Lance Taylor  <iant@google.com>
73354         * math/libm-test.inc (lround_test): New testcase.
73355         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
73357 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
73359         * Makefile: Remove support for automatic cvs check-ins.
73360         * Makerules: Likewise.
73361         * config.make.in: Likewise.
73362         * configure.in: Likewise.
73363         * intl/Makefile: Likewise.
73364         * locale/Makefile: Likewise.
73365         * po/Makefile: Likewise.
73366         * posix/Makefile: Likewise.
73367         * sysdeps/gnu/Makefile: Likewise.
73368         * sysdeps/mach/hurd/Makefile: Likewise.
73369         * sysdeps/sparc/sparc32/Makefile: Likewise.
73371         [BZ #13118]
73372         * posix/Makefile (bug-regex32-ENV): Define.
73373         Patch by John Stanley <jpsinthemix@verizon.net>.
73375         * misc/Makefile (headers): Add bits/select2.h.
73376         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
73377         * misc/bits/select2.h: New file.
73378         * include/bits/select2.h: New file.
73379         * debug/Makefile (routines): Add fdelt_chk.
73380         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
73381         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
73382         FD_ISSET.
73383         * debug/fdelt_chk.c: New file.
73385         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
73386         * wcsmbs/test-wmemcmp.c: Likewise.
73387         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
73388         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
73390 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73392         * string/Makefile (strop-tests): Add memcmp.
73393         * string/test-wmemcmp.c: New file.
73394         * string/test-memcmp.c: Add wmemcmp support.
73396 2011-09-08  Roland McGrath  <roland@hack.frob.com>
73398         [BZ #13153]
73399         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
73400         2011-07-19 change.
73402         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
73403         garbage value in a __mach_port_mod_refs call in the cases of the
73404         task-self and thread-self ports.
73406 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73408         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
73410 2011-09-08  Andreas Schwab  <schwab@redhat.com>
73412         * elf/dl-load.c (lose): Check for non-null L.
73414 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
73416         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
73418         * elf/dl-libc.c (dlerror_run): Pass back error code from
73419         dl_catch_error.
73421         [BZ #13123]
73422         * elf/dl-load.c (lose): Free l_origin if it is valid.
73424         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
73425         names.
73426         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
73427         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73428         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73429         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73430         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
73431         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
73433 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73435         * sysdeps/powerpc/fpu/e_hypot.c: New file.
73436         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
73437         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
73438         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
73439         * sysdeps/powerpc/fpu/k_cosf.c: New file.
73440         * sysdeps/powerpc/fpu/k_sinf.c: New file.
73441         * sysdeps/powerpc/fpu/s_cosf.c: New file.
73442         * sysdeps/powerpc/fpu/s_sinf.c: New file.
73443         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
73444         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
73446 2011-08-15  Alan Modra  <amodra@gmail.com>
73448         [BZ #13092]
73449         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
73450         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
73451         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
73452         ppc_mcount to static-only-routines.
73453         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
73454         __mcount_internal.
73455         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
73456         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
73458 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
73460         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
73461         for finite and infinity parameters.
73463 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
73465         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
73466         and add nop instructions for throughput optimization.
73467         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
73469 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
73471         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
73472         aligned copy for power7 with vector-scalar instructions.
73473         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
73475 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
73477         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
73478         AVX check.
73480 2011-09-07  Andreas Schwab  <schwab@redhat.com>
73482         [BZ #13144]
73483         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
73484         last change.
73486 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
73488         * sysdeps/unix/sysv/linux/x86_64/init-first.c
73489         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
73490         syscall wrapper around clock_gettime in __vdso_clock_gettime.
73491         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
73492         clock_gettime.
73494 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
73496         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
73497         Forgot to demangle the pointer.
73499         * sysdeps/i386/sysdep.h: Define atom_text_section.
73500         * sysdeps/x86_64/sysdep.h: Likewise.
73501         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
73502         section with atom_text_section.
73503         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73504         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73505         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
73506         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73507         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
73509         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
73510         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
73511         already be defined.  Change to take two parameters and don't assign
73512         result to variable.  Adjust all users.
73513         Define INTERNAL_GETTIME if not already defined.
73514         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
73515         call.
73516         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
73517         HAVE_CLOCK_GETTIME_VSYSCALL.
73518         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
73520         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
73521         gettimeofday vsyscall, just use time.
73523 2011-09-06  Andreas Schwab  <schwab@redhat.com>
73525         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
73526         <errno.h>.
73528 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
73530         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
73531         syscall on x86-64.
73532         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
73533         syscall.
73534         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
73535         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
73536         syscall if possible.
73538 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73540         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
73541         e_ident.  Don't pass to find_mapsXX.
73542         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
73544 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73546         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73547         strchr-sse2-no-bsf strrchr-sse2-no-bsf
73548         * sysdeps/x86_64/multiarch/strchr.S: Update.
73549         Check bit_slow_BSF bit.
73550         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
73551         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
73552         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
73554 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73556         [BZ #13134]
73557         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
73558         before glibc 2.15.
73559         (tryshell): Define.
73560         (__spawni): Change last parameter to be flag.  Test
73561         SPAWN_XFLAGS_USE_PATH flag to use path or not.
73562         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
73563         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
73564         * posix/spawni.c: Likewise.
73565         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
73566         * posix/spawnp.c: Likewise.  Change normal version to use
73567         SPAWN_XFLAGS_USE_PATH.
73568         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
73569         SPAWN_XFLAGS_TRY_SHELL.
73571         [BZ #13150]
73572         * posix/glob.h: Remove gcc 1.x support.
73574         [BZ #13068]
73575         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
73577 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73579         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73580         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
73581         strrchr-sse2-bsf
73582         * sysdeps/i386/i686/multiarch/strchr.S: New file.
73583         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
73584         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
73585         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
73586         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
73587         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
73589 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73591         * sysdeps/x86_64/wcscmp.S: New file.
73593         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
73594         wcscmp-c wcscmp-sse2
73595         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
73596         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
73597         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
73598         * wcsmbs/wcscmp.c: Allow renaming.
73600 2011-09-05  David S. Miller  <davem@davemloft.net>
73602         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
73603         stack slot, rather than the struct return pointer slot.
73604         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
73605         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
73606         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
73607         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
73609 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73611         * po/ja.po: Update from translation team.
73613         [BZ #13144]
73614         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
73615         kernel in 64-bit binaries.
73617 2011-09-01  David S. Miller  <davem@davemloft.net>
73619         * elf/elf.h (HWCAP_SPARC_*): Move to..
73620         * sysdeps/sparc/sysdep.h: this new file and add new values.
73621         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
73622         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
73623         _DL_HWCAP_COUNT to 24.
73624         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
73625         entries.
73626         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
73627         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
73628         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
73629         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
73630         instead of magic constants.
73631         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73633 2011-08-31  David S. Miller  <davem@davemloft.net>
73635         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
73636         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
73637         Reimplement to do errno handling inline.
73638         (SYSCALL_ERROR_HANDLER): New macro.
73639         (__SYSCALL_STRING): Do not do errno handling in asm.
73640         (__CLONE_SYSCALL_STRING): Delete.
73641         (__INTERNAL_SYSCALL_STRING): Delete.
73642         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
73643         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
73644         (PSEUDO): Reimplement to do errno handling inline.
73645         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
73646         (SYSCALL_ERROR_HANDLER): New macro.
73647         (__SYSCALL_STRING): Do not do errno handling in asm.
73648         (__CLONE_SYSCALL_STRING): Delete.
73649         (__INTERNAL_SYSCALL_STRING): Delete.
73650         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
73651         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
73652         i386.
73653         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
73654         (inline_syscall*): Add 'err' argument.
73655         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
73656         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
73657         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
73658         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
73660         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
73661         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
73663 2011-08-30  Andreas Schwab  <schwab@redhat.com>
73665         * elf/rtld.c (dl_main): Relocate objects in dependency order.
73667 2011-08-29  Jiri Olsa <jolsa@redhat.com>
73669         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
73670         directive.
73672 2011-08-24  David S. Miller  <davem@davemloft.net>
73674         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
73676 2011-08-24  Andreas Schwab  <schwab@redhat.com>
73678         * elf/Makefile: Add rules to build and run unload8 test.
73679         * elf/unload8.c: New file.
73680         * elf/unload8mod1.c: New file.
73681         * elf/unload8mod1x.c: New file.
73682         * elf/unload8mod2.c: New file.
73683         * elf/unload8mod3.c: New file.
73685         * elf/dl-close.c (_dl_close_worker): Reset private search list if
73686         it wasn't used.
73688 2011-08-23  David S. Miller  <davem@davemloft.net>
73690         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
73691         subtract stack bias.
73692         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
73693         %sp not %fp in calculations.
73694         (_JMPBUF_UNWINDS_ADJ): Likewise.
73696         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
73697         (aio_suspend): Call it to force an exception region around the
73698         AIO_MISC_WAIT() invocation.
73700 2011-08-23  Andreas Schwab  <schwab@redhat.com>
73702         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
73703         backslash.
73705 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
73707         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
73708         protection macro.
73709         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
73710         and <dl-machine.h>.
73711         (Elf64_FuncDesc): Remove.
73713 2011-08-22  David S. Miller  <davem@davemloft.net>
73715         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
73716         sigaltstack check, add missing cfi directives.
73717         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
73718         missing cfi directives, and sigaltstack handling.
73720 2011-08-16  Andreas Schwab  <schwab@redhat.com>
73722         [BZ #11724]
73723         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
73724         object is seen twice.
73725         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73727         * elf/Makefile (distribute): Add tst-initorder2.c.
73728         (tests): Add tst-initorder2.
73729         (modules-names): Add tst-initorder2a tst-initorder2b
73730         tst-initorder2c tst-initorder2d.  Add rules to build them.
73731         ($(objpfx)tst-initorder2.out): New rule.
73732         * elf/tst-initorder2.c: New file.
73733         * elf/tst-initorder2.exp: New file.
73735 2011-08-22  Andreas Schwab  <schwab@redhat.com>
73737         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
73739         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
73740         dependencies back to end of function.
73742         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
73743         $(elfobjdir)/ld.so.
73745 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
73747         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
73748         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
73749         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
73750         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
73751         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
73752         of __vdso_gettimeofday.
73753         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
73754         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
73755         attribute_hidden.
73756         (_libc_vdso_platform_setup): Remove initialization of
73757         __vdso_gettimeofday and __vdso_time.
73759 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
73761         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
73762         and fgetc_unlocked.
73763         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
73764         getc_unlocked.
73766         * elf/dl-open.c (add_to_global): Report additions to the global scope
73767         for LD_DEBUG=scopes.
73768         (dl_open_worker): Also print scope of newly loaded dependencies.
73769         (_dl_show_scope): Indicate if there is no scope.
73771         [BZ #13114]
73772         * stdio-common/Makefile (tests): Add bug24.
73773         * stdio-common/bug24.c: New file.
73775 2011-08-19  Andreas Jaeger  <aj@suse.de>
73777         [BZ #13114]
73778         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
73779         non-existant file when using close-on-exec mode.
73781 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
73783         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
73784         the very first instruction.
73786         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
73787         the CFI state in the end.
73788         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
73789         inclusion of dl-trampoline.h.
73790         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
73792 2011-08-19  Andreas Schwab  <schwab@redhat.com>
73794         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
73795         expectations for long double.
73797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
73798         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
73800 2011-08-14  David S. Miller  <davem@davemloft.net>
73802         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
73803         artificual limit depends upon the system page size.
73805 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
73807         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
73808         * resolv/Makefile: Define CFLAGS-libresolv.
73810 2011-08-17  Andreas Schwab  <schwab@redhat.com>
73812         * nss/makedb.c (compute_tables): Make variables used in nested
73813         function static.
73815 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
73817         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
73818         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
73819         if buffer was too small.
73821         * elf/pldd.c (main): Attach to all threads in the process.
73822         Rewrite /proc handling to use *at functions.
73824 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
73826         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
73827         specifies first scope to show.
73828         (dl_open_worker): Update callers.  Move printing scope of new
73829         object to before the relocation.
73830         * elf/rtld.c (dl_main): Update _dl_show_scope call.
73831         * sysdeps/generic/ldsodefs.h: Update declaration.
73833         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
73834         string for the scope number.
73836 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
73838         * nscd/servicescache.c (cache_addserv): Make sure written is always
73839         initialized.
73841 2011-08-14  Roland McGrath  <roland@hack.frob.com>
73843         * sysdeps/i386/i486/bits/atomic.h
73844         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
73845         statement expression, so as to suppress "set but not used" warning.
73846         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
73848         * string/strncat.c (STRNCAT): Use prototype definition.
73850         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
73851         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
73852         -Iprograms here.
73853         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
73854         (localedef-modules): Add localedef.
73855         (locale-modules): Add locale.
73857         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
73858         * elf/rtld.c (dl_main): Invert order of assignment in last change,
73859         to avoid a warning.
73861 2011-08-14  David S. Miller  <davem@davemloft.net>
73863         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
73864         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
73866 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
73868         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73869         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
73870         * elf/rtld.c (dl_main): Set l_name of vDSO.
73871         Call _dl_show_scope when DL_DEBUG_SCOPES.
73872         (process_dl_debug): Recognize scopes flag and also set it for all.
73873         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
73874         Declare _dl_show_scope.
73876         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
73877         (do_dlopen): Pass caller_dlopen to dl_open.
73878         (__libc_dlopen_mode): Initialize caller_dlopen.
73880         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
73881         of libc.  Make tolower call locale-independent.  Optimize a bit by
73882         using isdigit instead of isalnum.
73883         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
73885 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
73887         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
73888         was a dependency or dynamically loaded.
73890 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
73892         * intl/l10nflist.c: Allow architecture-specific pop function.
73893         * sysdeps/x86_64/l10nflist.c: New file.
73895         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
73896         classification.
73898 2011-08-10  Andreas Schwab  <schwab@redhat.com>
73900         * include/dirent.h: Add libc_hidden_proto for scandirat and
73901         scandirat64.  Don't declare __scandirat64.
73902         * dirent/scandirat.c: Add libc_hidden_def.
73903         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
73904         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
73906 2011-08-10  David S. Miller  <davem@davemloft.net>
73908         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
73909         enum.
73910         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73911         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
73912         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
73914 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
73916         * Versions.def [libc]: Add GLIBC_2.15.
73917         * dirent/Makefile (routines): Add scandirat and scandirat64.
73918         * dirent/Versions [libc]: Export scandirat and scandirat64 for
73919         GLIBC_2.15.
73920         * dirent/dirent.h: Declare scandirat and scandirat64.
73921         * dirent/scandirat.c: New file.
73922         * dirent/scandirat64.c: New file.
73923         * sysdeps/wordsize-64/scandirat.c: New file.
73924         * sysdeps/wordsize-64/scandirat64.c: New file.
73925         * dirent/opendir.c: Define opendirat.
73926         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
73927         using scandirat.
73928         * dirent/scandir64.c: Adjust for scandir.c change.
73929         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
73930         __scandirat64, and __scandir_cancel_handler.
73931         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
73932         additional parameter and use openat instead of open (outside of ld.so).
73933         Add new __opendir as wrapper around __opendirat.
73934         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
73935         here without requiring old scandirat implementation.
73937 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
73939         * dirent/scandir.c (cancel_handler): Renamed to
73940         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
73941         defined.  Adjust users.
73942         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
73943         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
73945 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
73947         * string/test-string.h (IMPL): Use __STRING to expand name and then
73948         stringify it.
73950         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
73951         of cleanups.
73953 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73955         * string/Makefile: Update.
73956         (strop-tests): Append strncat.
73957         * string/test-wcscmp.c: New file.
73958         New comprehensive test for wcscmp.
73959         * string/test-strcmp.c: Update.
73960         (WIDE): New define.
73962 2011-07-22  Andreas Schwab  <schwab@redhat.com>
73964         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
73965         line.
73967 2011-07-26  Andreas Schwab  <schwab@redhat.com>
73969         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
73970         encoding to ACE if AI_IDN.
73972 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
73974         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
73975         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
73977 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73979         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
73980         Fix overflow bug in strncat.
73981         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
73983         * string/test-strncat.c: Update.
73984         Add new tests for checking overflow bugs.
73986 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73988         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73989         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
73990         * sysdeps/i386/i686/multiarch/strcat.S: New file.
73991         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
73992         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
73993         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
73994         * sysdeps/i386/i686/multiarch/strncat.S: New file.
73995         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
73996         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
73998         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
73999         (USE_AS_STRCAT): Define.
74000         Add strcat and strncat support.
74001         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
74003 2011-07-25  Andreas Schwab  <schwab@redhat.com>
74005         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
74006         __n bigger than INT_MAX+1.
74007         (__strncmp_g): Likewise.
74009 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
74011         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
74012         * libio/stido.h: Likewise.
74014         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
74015         (AF_NFC): Define.
74016         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
74017         (AF_NFC): Define.
74019         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
74020         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74021         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74022         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
74023         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74025         [BZ #13021]
74026         * scripts/test-installation.pl: Don't expect libnss_test1 to be
74027         installed.
74029         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
74030         typo.
74031         (_dl_x86_64_save_sse): Likewise.
74033 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
74035         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
74036         OSXSAVE.
74037         (_dl_x86_64_save_sse): Likewise.
74039         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
74041         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
74043 2011-07-21  Andreas Schwab  <schwab@redhat.com>
74045         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
74046         change.
74047         (_dl_x86_64_save_sse): Use correct AVX check.
74049 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74051         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
74052         bug in strncpy/strncat.
74053         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
74055 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
74057         * string/tester.c (test_strcat): Add tests for different alignments
74058         of source and destination.
74059         (test_strncat): Likewise.
74061 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
74063         [BZ #12852]
74064         * posix/glob.c (glob): Check passed in values before using them in
74065         expressions to avoid some overflows.
74066         (glob_in_dir): Likewise.
74068         [BZ #13007]
74069         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
74070         check for AVX enablement so that we don't crash with old kernels and
74071         new hardware.
74072         * elf/tst-audit4.c: Add same checks here.
74073         * elf/tst-audit6.c: Likewise.
74075         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
74077 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
74079         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
74081 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
74083         * po/cs.po: Update from translation team.
74084         * po/bg.po: Likewise.
74086 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
74088         * misc/sys/cdefs.h: Add support for const attribute.
74089         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
74090         to gnu_dev_{major,minor,makedev} functions.
74092 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
74094         * intl/dcigettext.c (get_output_charset): Add missing bracket.
74096 2011-07-20  Andreas Schwab  <schwab@redhat.com>
74098         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
74099         strlen results.
74101 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74103         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
74104         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
74105         register in order to avoid conflicts with the soft frame pointer
74106         being held in r11 when necessary.
74107         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
74108         (INTERNAL_VSYSCALL_NCS): Likewise.
74110 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
74112         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
74113         * elf/dl-fini.c (_dl_fini): Adjust caller.
74114         * elf/dl-close.c (_dl_close_worker): Likewise.
74115         * sysdeps/generic/ldsodefs.h: Adjust declaration.
74117 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
74119         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
74120         "aux_cache->nlibs < 0".
74122         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
74123         in the reload-count case.
74125 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74127         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74128         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
74129         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
74130         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
74131         * sysdeps/x86_64/multiarch/strcat.S: New file.
74132         * sysdeps/x86_64/multiarch/strncat.S: New file.
74133         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
74134         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
74135         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
74136         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
74137         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
74138         (USE_AS_STRCAT): Define.
74139         Add strcat and strncat support.
74140         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
74141         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
74142         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
74143         * string/strncat.c: Update.
74144         (USE_AS_STRNCAT): Define.
74145         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74146         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
74147         and i7.
74148         * sysdeps/x86_64/multiarch/init-arch.h
74149         (bit_Prefer_PMINUB_for_stringop): New.
74150         (index_Prefer_PMINUB_for_stringop): Likewise.
74151         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
74152         bit_Prefer_PMINUB_for_stringop.
74154 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
74156         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
74157         buffer64.
74158         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
74159         of casting of buffer.
74160         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
74161         buffer32 and buffer64.
74162         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
74163         writes instead of casting of buffer.
74164         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
74165         buffer32.
74166         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
74167         casting of buffer.
74169 2011-07-19  Andreas Schwab  <schwab@redhat.com>
74171         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
74173 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
74175         * nscd/nscd.c (termination_handler): Don't do anything for a database
74176         if it has not yet been initialized.
74178 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
74180         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
74182 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
74184         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
74186 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
74188         * po/nl.po: Update from translation team.
74189         * po/sv.po: Likewise.
74191 2011-07-16  Roland McGrath  <roland@hack.frob.com>
74193         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
74194         now disallowed by GCC.
74196         * configure.in (use-default-link): Default to yes if a test -shared
74197         link meets our qualifications.
74198         * configure: Regenerated.
74200         * config.make.in (output-format): New variable.
74201         * configure.in: Check for ld --print-output-format support.
74202         * configure: Regenerated.
74203         * Makerules ($(common-objpfx)format.lds)
74204         [$(output-format) != unknown]: Just use $(output-format),
74205         instead of the linker-script munging.
74207 2011-07-14  Roland McGrath  <roland@hack.frob.com>
74209         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
74210         of $(common-objpfx)shlib.lds.
74211         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
74213         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
74214         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
74216         * configure.in (-z relro check): Adjust test code to add a large
74217         writable data section after it.
74218         * configure: Regenerated.
74220 2011-07-11  Roland McGrath  <roland@hack.frob.com>
74222         * configure.in (-z relro check): Fix test code to make the variable
74223         truly const.
74224         * configure: Regenerated.
74226 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
74228         * nscd/nscd.h (struct traced_file): Define.
74229         (struct database_dyn): Remove inotify_descr, reset_res, and filename
74230         elements.  Add traced_files.
74231         (inotify_fd): Declare.
74232         (register_traced_file): Declare.
74233         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
74234         (inotify_fd): Export.
74235         (resolv_conf_descr): Remove.
74236         (nscd_init): Move inotify descriptor creation to main.
74237         Don't register files for notification here.
74238         (register_traced_file): New function.
74239         (invalidate_cache): Don't use reset_res to determine whether to call
74240         res_init, go through the list of registered files.
74241         (main_loop_poll): The inotify descriptors are now stored in the
74242         structures for the traced files.
74243         (main_loop_epoll): Likewise.
74244         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
74245         to __nss_disable_nscd.
74246         * nscd/cache.c (prune_cache): There is no single inotify descriptor
74247         for a database anymore.  Check the records for all the registered
74248         files instead.
74249         * nss/Makefile (libnss_files-routines): Add files-init.
74250         (libnss_db-routines): Add db-init.
74251         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
74252         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
74253         * nss/nss_db/db-init.c: New file.
74254         * nss/nss_files/files-init.c: New file.
74255         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
74256         __nss_lookup_function.
74257         (__nss_lookup_function): Call nss_load_library.
74258         (nss_load_all_libraries): New function.
74259         (__nss_disable_nscd): Take parameter with callback function for files
74260         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
74261         used for the cached services.
74262         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
74263         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
74264         options for features to all the files in nscd.
74266         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
74268 2011-07-10  Roland McGrath  <roland@hack.frob.com>
74270         * csu/elf-init.c (__libc_csu_init): Comment typo.
74272 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
74274         * po/pl.po: Update from translation team.
74275         * po/ja.po: Likewise.
74276         * po/ru.po: Likewise.
74277         * po/ko.po: Likewise.
74278         * po/fr.po: Likewise.
74280 2011-07-09  Roland McGrath  <roland@hack.frob.com>
74282         * configure.in (.ctors/.dtors header and trailer check):
74283         Use an empirical test on a built program.
74284         * configure: Regenerated.
74286         * configure.in (-z relro check): Use an empirical test on a built DSO.
74287         Detect, but do not require, on ia64.
74288         * configure: Regenerated.
74290         * configure.in (READELF): Find it with AC_CHECK_TOOL.
74291         Update tests that use readelf to use $READELF instead.
74292         * configure: Regenerated.
74294 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
74296         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
74297         if the result is not used.
74299 2011-07-05  Andreas Jaeger  <aj@suse.de>
74301         [BZ#9696]
74302         * stdlib/tst-strtod.c: Add testcase.
74304 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
74306         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
74307         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
74308         The latter has a higher limit.  Take additional parameter to pass to
74309         the new function.
74310         (__pathconf): Pass file to __statfs_link_max.
74311         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
74312         __statfs_link_max.
74313         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
74314         __statfs_link_max.
74316         [BZ #12868]
74317         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
74318         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74319         Handle Lustre.
74320         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
74321         (__statfs_filesize_max): Likewise.
74322         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
74324 2011-07-05  Andreas Jaeger  <aj@suse.de>
74326         * resolv/res_comp.c (dn_skipname): Remove unused variable.
74328 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
74330         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
74331         `status' variable.
74332         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
74333         Likewise.
74335 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
74337         * Makefile (strop-tests): Add strncat.
74338         * string/test-strncat.c: New file.
74340 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
74342         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
74344 2011-06-21  Andreas Jaeger  <aj@suse.de>
74346         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
74347         Copy rule from iconvdata/Makefile.
74349 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
74351         [BZ #12922]
74352         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
74353         but no long options are defined, just return 'W'.
74355 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
74357         [BZ #9696]
74358         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
74360 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
74362         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
74363         netgroups to read.
74364         (innetgr): Likewise.
74366 2011-07-05  Roland McGrath  <roland@hack.frob.com>
74368         * config.make.in (install_root): Default to $(DESTDIR).
74370 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
74372         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
74374 2011-07-02  Roland McGrath  <roland@hack.frob.com>
74376         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
74378         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
74379         containing directory rather than embedding absolute directory names.
74381         * scripts/check-local-headers.sh: Rewritten using awk.
74382         Match by word, not by line.  Print error messages for matches.
74383         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
74385         * Makerules [shlib-lds-flags empty]:
74386         ($(common-objpfx)libc_pic.opts): New target.
74387         ($(common-objpfx)libc_pic.os.clean): New target.
74388         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
74390         * config.make.in (OBJCOPY): New variable.
74391         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
74392         * configure: Regenerated.
74394         * config.make.in (use-default-link): New variable.
74395         * configure.in (use_default_link): Grok --with-default-link to set it.
74396         * configure: Regenerated.
74397         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
74398         (shlib-lds, shlib-lds-flags): Define to empty.
74400         * Makerules (shlib-lds): New variable.
74401         (shlib-lds-flags): New variable.
74402         (build-shlib, build-moduile, build-module-asneeded): Use it.
74403         ($(common-objpfx)libc.so): Use $(shlib-lds).
74404         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
74405         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
74407         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
74408         DT_FLAGS/DT_FLAGS_1 with zero flags.
74410         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
74411         linker script munging.
74413 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
74415         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
74416         as 128-bit value.
74417         * crypt/sha512.c (sha512_process_block): Perform total addition using
74418         128-bit if possible.
74419         (__sha512_finish_ctx): Likewise.
74420         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
74421         as 64-bit value.
74422         * crypt/sha256.c (SWAP64): Define.
74423         (sha256_process_block): Perform total addition using 64-bit if
74424         possible.
74425         (__sha256_finish_ctx): Likewise.
74427 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
74429         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
74430         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74431         * nscd/hstcache.c (cache_addhst): Likewise.
74432         * nscd/grpcache.c (cache_addgr): Likewise.
74433         * nscd/aicache.c (addhstaiX): Likewise.
74434         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
74436 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
74438         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
74439         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74440         * nscd/hstcache.c (cache_addhst): Likewise.
74441         * nscd/grpcache.c (cache_addgr): Likewise.
74442         * nscd/aicache.c (addhstaiX): Likewise.
74444 2011-07-01  Andreas Schwab  <schwab@redhat.com>
74446         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
74447         domain only when needed.
74449 2011-06-30  Andreas Schwab  <schwab@redhat.com>
74451         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
74452         is always restored.
74454 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
74456         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
74457         are re-adding the entry.
74458         * nscd/servicescache.c (cache_addserv): Likewise.
74460 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
74462         * sysdeps/generic/dl-irel.h: fix protection against multiple
74463         inclusions.
74464         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
74466 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
74468         [BZ #12935]
74469         * malloc/memusage.sh: Fix quoting in message.
74470         * debug/xtrace.sh: Likewise.
74472         * configure.in: Remove support for --experimental-malloc option, make
74473         it the default.
74474         * config.make.in: Likewise.
74475         * malloc/Makefile: Likewise.
74477 2011-06-27  Andreas Schwab  <schwab@redhat.com>
74479         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
74480         two-byte characters.
74482 2011-06-27  Roland McGrath  <roland@hack.frob.com>
74484         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
74485         AC_CACHE_CHECK invocation.
74486         * configure: Regenerated.
74488         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
74490 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
74492         [BZ #12350]
74493         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
74494         bit from old_res_options.
74496         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
74498         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
74499         value type for setfct.
74501 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
74503         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74504         __gettimeofday instead of gettimeofday.
74506 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
74508         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
74510 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
74512         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
74514         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
74515         info.
74517 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
74519         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74520         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74521         strcpy-sse2-unaligned strncpy-sse2-unaligned
74522         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
74523         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
74524         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
74525         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
74526         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
74527         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
74528         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
74529         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
74530         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
74531         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
74532         (STRCPY): Support SSE2 and SSSE3 versions.
74534 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
74536         [BZ #12874]
74537         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
74538         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
74539         kernels which artificially limit size of requests.
74541 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
74543         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74544         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74545         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
74546         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
74547         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
74548         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
74549         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
74550         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
74551         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
74552         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
74553         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
74554         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
74555         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
74556         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
74557         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
74558         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74559         Enable unaligned load optimization for Intel Core i3, i5 and i7
74560         processors.
74561         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
74562         Define.
74563         (index_Fast_Unaligned_Load): Define.
74564         (HAS_FAST_UNALIGNED_LOAD): Define.
74566 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
74568         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
74570 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74572         [BZ #12907]
74573         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
74574         until it is clear that the information is realy needed.
74575         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
74577 2011-06-22  Andreas Schwab  <schwab@redhat.com>
74579         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
74581 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74583         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74584         /sys/devices/system/cpu/online if it is usable.
74586         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
74587         reading the information from the /proc filesystem to once a second.
74589 2011-06-21  Andreas Jaeger  <aj@suse.de>
74591         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
74592         NULL after inclusion of kernel headers.
74594 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
74596         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
74597         calls to internal_setent.
74599         [BZ #12885]
74600         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
74601         addresses using gethostbyname4_r ignore IPv4 addresses.
74603         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
74604         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
74606         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
74608 2011-06-20  David S. Miller  <davem@davemloft.net>
74610         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
74611         inclusions.
74612         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
74614         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
74615         (elf_irel): Use it.
74616         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
74617         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
74618         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
74619         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
74620         * sysdeps/x86_64/dl-irel.h: Likewise.
74622         * elf/dl-runtime.c: Use elf_ifunc_invoke.
74623         * elf/dl-sym.c: Likewise.
74625 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
74627         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
74628         need to dereference resplen2.
74630 2011-06-14  Andreas Schwab  <schwab@redhat.com>
74632         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
74634 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
74636         * Makeconfig: Define vardbdir and inst_vardbdir.
74637         * nss/Makefile: Add rules to install db-Makefile.
74639         * nss/nss_db/db-XXX.c: Cleanup.
74641         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
74642         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
74643         GLIBC_PRIVATE.
74644         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
74645         * nss/makedb.c: Implement -g option to specify that value strings
74646         are generated and should not be added to table iterated over for
74647         get*ent calls.
74648         * nss/nss_db/db-initgroups.c: New file.
74650         * nss/getent.c: Add support for initgroups lookups through getgrouplist
74651         interface.
74653         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
74654         (internal_getgrouplist): Adjust to name change.
74655         Update use_initgroups_entry if this is not the first call.
74656         * nss/databases.def: Add initgroups entry.
74658         * nss/makedb.c (compute_tables): Check result of multiple hash table
74659         sizes to minimize maximum chain length.
74661 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
74663         * Versions.def: Add entry for libnss_db.
74664         * shlib-versions: Likewise.
74665         * nss/Makefile: Add rules to build libnss_db.
74666         * nss/Versions: Add libnss_db information.  Organize libnss_files
74667         entries better.
74668         * nss/db-Makefile: Add gshadow support.  Change rules for the new
74669         makedb progra.  Some minor improvements to generate smaller files.
74670         * nss/nss_db/nss_db.h: Move NSS database header data structures to
74671         here from...
74672         * nss/makedb.c: ...here.
74673         Improve database format to be smaller and require less memory at
74674         runtime.
74675         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
74676         db anymore.
74677         * nss/nss_db/db-netgrp.c: Likewise.
74678         * nss/nss_db/db-open.c: Likewise.
74679         * nss/nss_files/flies-XXX.x: Adjust comments.
74680         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
74681         * nss/nss_files/files-grp.c: Likewise.
74682         * nss/nss_files/files-hosts.c: Likewise.
74683         * nss/nss_files/files-network.c: Likewise.
74684         * nss/nss_files/files-proto.c: Likewise.
74685         * nss/nss_files/files-pwd.c: Likewise.
74686         * nss/nss_files/files-rpc.c: Likewise.
74687         * nss/nss_files/files-service.c: Likewise.
74688         * nss/nss_files/files-sgrp.c: Likewise.
74689         * nss/nss_files/files-spwd.c: Likewise.
74690         * nss/nss_db/db-alias.c: Removed.
74691         * nss/nss_db/dummy-db.h: Removed.
74693 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
74695         * nss/makedb.c: Rewritten to not use database library.
74696         * nss/Makefile: Update to build new makedb program.
74698 2011-06-14  Andreas Jaeger  <aj@suse.de>
74700         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
74701         memset declaration.
74703 2011-06-10  Andreas Schwab  <schwab@redhat.com>
74705         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
74706         tmpbuf.
74708 2011-06-10  Roland McGrath  <roland@hack.frob.com>
74710         * Makerules (shlib.lds): Fail if the linker script comes out empty.
74711         * elf/Makefile ($(objpfx)ld.so): Likewise.
74713         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
74714         Don't list ld.so twice in dependencies.
74716         * posix/bug-regex31.c: Include <stdlib.h>.
74718         * nscd/hstcache.c (cache_addhst): Remove unused variable.
74720         * nis/nss_compat/compat-spwd.c
74721         (getspent_next_nss_netgr): Remove unused variable.
74722         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
74724         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
74725         nonmembers" output to use the right array.
74727         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
74729         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
74731         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
74732         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
74733         * catgets/gencat.c (read_input_file): Likewise.
74734         * locale/programs/locarchive.c (enlarge_archive): Likewise.
74736         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
74737         variable definition inside #if's controlling its use.
74739         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
74741         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
74743         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
74745         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
74746         unreachable code.
74748         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
74750         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
74751         * configure: Regenerated.
74753         * Makerules: Revert last change.
74754         * elf/Makefile: Likewise.
74756 2011-06-09  Roland McGrath  <roland@hack.frob.com>
74758         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
74759         * elf/Makefile ($(objpfx)librtld.os): Likewise.
74760         (reloc-link): Likewise.
74762 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
74764         * elf/Makefile: Add rules to build pldd.
74765         * elf/pldd.c: New file.
74766         * elf/pldd-xx.c: New file.
74768 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
74770         * version.h: Update for 2.15 development version.
74772 2011-06-07  David S. Miller  <davem@davemloft.net>
74774         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
74775         ifuncs.
74776         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
74777         elf_machine_lazy_rel): Likewise.
74778         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
74779         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
74780         elf_machine_lazy_rel): Likewise.
74781         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
74782         dl_hwcap via passed in argument.
74783         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
74784         Likewise.
74786 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74788         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
74790 2011-06-06  Roland McGrath  <roland@hack.frob.com>
74792         [BZ #12849]
74793         * manual/fdl-1.1.texi: New file, verbatim from:
74794         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
74795         * manual/lgpl-2.1.texi: New file, verbatim from:
74796         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
74797         * manual/Makefile (licenses): New variable, list those new file names.
74798         (texis): Use it.
74799         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
74801         * manual/fdl.texi: File removed.
74802         * manual/lesser.texi: File removed.
74803         * manual/libc.texinfo (Copying, Documentation License):
74804         Use new @include file names, put @appendix directive before @include.
74806 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
74808         [BZ #12841]
74809         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
74810         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
74811         (mq_open): Add __NTH.
74813 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
74815         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74816         Assume Intel Core i3/i5/i7 processor if AVX is available.
74818 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
74820         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
74821         typo.
74823 2011-05-31  Andreas Schwab  <schwab@redhat.com>
74825         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
74826         memory.  Use alloca_account.  Fix memory leak when retrying.
74828 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
74830         * version.h (RELEASE): Bump for 2.14 release.
74831         * include/features.h (__GLIBC_MINOR__): Bump to 14.
74833         * config.make.in (RANLIB): Remove entry.
74835 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
74837         * po/Makefile (po-sed-cmd): Add ksh to extensions.
74838         (libc.pot): Work around missing support for .ksh extension in xgettext.
74840         [BZ #12684]
74841         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
74842         if both request failed.
74843         (send_dg): In case of server errors clear resplen or *resplen2.
74845         [BZ #12454]
74846         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
74847         when there are multiple maps.
74848         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
74849         (_dl_fini): Remove test here.
74851         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
74853 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
74855         [BZ #12350]
74856         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
74857         bit from old_res_options.
74858         (gaih_inet): Likewise.
74860         [BZ #11099]
74861         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
74862         as signed.
74864         * resolv/res_init.c (res_setoptions): Make the code more compact.
74866         [BZ #11558]
74867         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
74868         set RES_USEVC.
74870         [BZ #11634]
74871         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
74873         * malloc/malloc.h: Mark malloc hook variables as deprecated.
74875         [BZ #11781]
74876         * malloc/malloc.h: Declare malloc hook variables as volatile.
74878         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
74879         in last patch.
74881         [BZ #11799]
74882         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
74883         raise in the comment.
74884         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
74885         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
74886         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
74888 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
74890         [BZ #12811]
74891         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
74892         grow the buffers more if it already has to be sufficient.
74893         (build_wcs_upper_buffer): Likewise.
74894         * posix/regexec.c (check_matching): Likewise.
74895         (clean_state_log_if_needed): Likewise.
74896         (extend_buffers): Don't enlarge buffers beyond size of the input
74897         buffer.
74898         Patches mostly by Emil Wojak <emil@wojak.eu>.
74899         * posix/bug-regex32.c: New file.
74900         * posix/Makefile (tests): Add bug-regex32.
74902         * locale/findlocale.c (_nl_find_locale): Return right away if
74903         _nl_explode_name failed.
74904         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
74906         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
74908         * debug/xtrace.sh: Unify messages.
74909         * malloc/memusage.sh: Likewise.
74911         [BZ #12813]
74912         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
74913         time symbol from vDSO.  Substitute with vsyscall if not available.
74914         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
74915         __vdso_time.
74917         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
74918         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
74919         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
74920         Add sendmmsg and internal_sendmmsg.
74921         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
74922         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
74923         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
74925         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
74926         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
74927         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
74929 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
74931         [BZ #12813]
74932         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
74933         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
74934         available.
74935         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
74936         __vdso_getcpu.
74938         [BZ #12814]
74939         * iconvdata/Makefile (tests): Add bug-iconv9.
74940         * iconvdata/bug-iconv9.c: New file.
74942 2011-05-27  Andreas Schwab  <schwab@redhat.com>
74944         [BZ #12814]
74945         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
74947 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
74949         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74950         (struct user_regs_struct): Change intcs field back to cs.
74952 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
74954         * po/ja.po: Update from translation team.
74956 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
74958         [BZ #12795]
74959         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
74960         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
74962 2011-05-20  Andreas Schwab  <schwab@redhat.com>
74964         * stdlib/longlong.h: Update from GCC.
74966 2011-05-23  Andreas Schwab  <schwab@redhat.com>
74968         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
74969         parameter name.
74970         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
74971         Add parameter name.
74972         (__sysconf): Pass it down.
74974 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
74976         [BZ #12671]
74977         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
74978         some situations.
74979         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
74980         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
74981         add in in __libc_use_alloca calls.  Adjust callers.
74982         (glob): Use malloc in some situations.
74984         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
74985         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
74986         pltexit.
74988 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
74990         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
74991         and CLOCK_BOOTTIME_ALARM.
74993         [BZ #12782]
74994         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
74995         is returned.
74997         * string/_strerror.c (__strerror_r): Print negative errors as signed
74998         numbers.
75000         [BZ #12777]
75001         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
75002         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
75003         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
75005         * configure.in: Fix typo in redirection and correct removal of test
75006         files in two cases.
75008         [BZ #12788]
75009         * locale/setlocale.c (new_composite_name): Fix test to check for
75010         identical name of all categories.
75012         [BZ #12792]
75013         * libio/filedoalloc.c (local_isatty): New function.
75014         (_IO_file_doallocate): Use local_isatty.
75015         * stdio-common/perror.c (perror): In case a new stream is used
75016         forward the stream error.
75017         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
75018         error flag.
75020 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
75022         [BZ #11884]
75023         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
75024         alloca.
75025         * include/alloca.h (extend_alloca_account): Define.
75027         [BZ #11857]
75028         * posix/regex.h: Fix comments with documentation of user-accessible
75029         fields after compilation and describe correct free'ing of pattern
75030         after re_compile_pattern.
75031         Patch by Reuben Thomas <rrt@sc3d.org>.
75033 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
75035         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
75036         and -mno-altivec to prevent the compiler from using Altivec and/or
75037         VSX instructions when the corresponding registers are not available.
75039 2011-05-19  Andreas Schwab  <schwab@redhat.com>
75041         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
75043 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
75045         * libio/freopen.c (freopen): Use __dup2, not dup2.
75046         * libio/freopen64.c (freopen64): Likewise.
75048 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75050         [BZ #12775]
75051         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
75052         * math/Makefile (tests): Add test-powl.
75053         (CFLAGS-test-powl.c): Define.
75054         * math/test-powl.c: New file.
75056 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75058         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
75060 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
75062         [BZ #11837]
75063         * iconvdata/gb18030.c: Update to GB18020-2005.
75065 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
75067         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
75068         RE_SYNTAX_POSIX_AWK): Update to match recent development.
75069         Patch by Aharon Robbins <arnold@skeeve.com>.
75071         [BZ #11892]
75072         * stdlib/putenv.c (putenv): Don't always create copy of the variable
75073         on the stack.
75075         [BZ #11895]
75076         * misc/pselect.c (__pselect): Handle timeout value errors hidden
75077         through underflows.
75079         [BZ #12766]
75080         * misc/error.c (error_at_line): Ensure file_name and old_file_name
75081         point to strings before performing equality test for error_one_per_line
75082         mode.
75084         [BZ #11697]
75085         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
75087         [BZ #11820]
75088         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75089         (struct user_fpregs_struct): Avoid __uint*_t types.
75091         [BZ #6420]
75092         * malloc/mtrace.c (tr_where): Add additional parameter to point to
75093         symbol info.  Use it instead of calling _dl_addr locally.
75094         (lock_and_info): New function.
75095         (tr_freehook): Call lock_and_info and pass symbol info as additional
75096         parameter to tr_where.
75097         (tr_mallochook): Likewise.
75098         (tr_reallochook): Likewise.
75099         (tr_memalignhook): Likewise.
75101         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
75102         used and couldn't be at all thread-safe.
75104 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
75106         * libio/freopen.c (freopen): Don't close old file descriptor
75107         before the new one is opened.  Instead dup the new file descriptor
75108         to the old one after the new stream is created.
75109         * libio/freopen64.c (freopen64): Likewise.
75110         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
75111         * libio/fileops.c (_IO_new_file_close_it): Handle new
75112         _IO_FLAGS2_NOCLOSE flag.
75113         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
75114         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
75115         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
75116         _IO_FLAGS2_NOCLOSE flag.
75117         * include/unistd.h: Add hidden_proto for dup3.
75118         Define __have_dup3.
75119         * io/dup3.c: Define hidden symbol.
75120         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
75122         [BZ #7101]
75123         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
75124         when an incomplete long option is used.
75125         * posix/tst-getopt_long1.c: New file.
75126         * posix/Makefile (tests): Add tst-getopt_long1.
75128         [BZ #10138]
75129         * scripts/config.guess: Update from autoconf-2.68.
75130         * scripts/config.sub: Likewise.
75132         [BZ #10157]
75133         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
75134         tests into ...
75135         (has_cpuclock): ...this.  New function.
75136         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
75137         macro here based on has_cpuclock code.
75139         [BZ #10149]
75140         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75141         First byte (not low byte) is now always NUL.
75142         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
75144         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75145         Use non-cancelable interfaces.
75147         [BZ #9809]
75148         * locale/iso-639.def: Add entry for Sorani.
75150         [BZ #11901]
75151         * include/stdlib.h: Move include protection to the right place.
75152         Define abort_msg_s.  Declare __abort_msg with it.
75153         * stdlib/abort.c (__abort_msg): Adjust type.
75154         * assert/assert.c (__assert_fail_base): New function.  Majority
75155         of code from __assert_fail.  Allocate memory for __abort_msg with
75156         mmap.
75157         (__assert_fail): Now call __assert_fail_base.
75158         * assert/assert-perr.c: Remove bulk of implementation.  Use
75159         __assert_fail_base.
75160         * include/assert.hL Declare __assert_fail_base.
75161         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
75162         mmap.
75163         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
75165 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
75167         [BZ #11952]
75168         [BZ #12453]
75169         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
75170         until all modules are registered in the DTV.
75171         * elf/Makefile: Add rules to build and run tst-tls19.
75172         * elf/tst-tls19.c: New file.
75173         * elf/tst-tls19mod1.c: New file.
75174         * elf/tst-tls19mod2.c: New file.
75175         * elf/tst-tls19mod3.c: New file.
75176         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
75178         [BZ #12083]
75179         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
75180         correctly.
75182         [BZ #12601]
75183         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
75184         two-byte sequence errors.
75185         * iconvdata/Makefile (tests): Add bug-iconv8.
75186         * iconvdata/bug-iconv8.c: New file.
75188         [BZ #12626]
75189         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
75190         buf2 definition.
75192         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
75194         [BZ #12432]
75195         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
75196         (dummy_getcfa): New function.
75197         (init): Get _Unwind_GetCFA address, use dummy if not found.
75198         (backtrace_helper): In recursion check, also check whether CFA changes.
75199         (__backtrace): Completely initialize arg.
75201         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
75202         storing incomplete byte sequence in state object.  Avoid testing for
75203         guaranteed too small input if we know there is enough data available.
75205 2011-05-11  Andreas Schwab  <schwab@redhat.com>
75207         * Makeconfig (+link-pie): Indent.
75208         * Rules (binaries-pie): Define if $(have-fpie) and
75209         $(build-shared).
75210         (binaries-shared): Also filter out $(binaries-pie).
75211         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
75212         * nscd/Makefile (others-pie): Add nscd.
75213         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
75214         ($(objpfx)nscd): Remove command override.
75215         * login/Makefile (others-pie): Add pt_chown.
75216         ($(objpfx)pt_chown): Remove command override.
75217         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
75218         remove command overrides.
75220 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
75222         * libio/tst_putwc.c: Fix error messages.
75224         [BZ #12724]
75225         * libio/fileops.c (_IO_new_file_close_it): Always flush when
75226         currently writing and seek to current position when not.
75227         * libio/Makefile (tests): Add bug-fclose1.
75228         * libio/bug-fclose1.c: New file.
75230 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
75232         [BZ #12511]
75233         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
75234         don't set DF_1_NODELETE here.
75235         (do_lookup_x): When entering new entry test for copy relocation
75236         and if necessary set DF_1_NODELETE flag.
75237         * elf/tst-unique4.cc: New file.
75238         * elf/tst-unique4.h: New file.
75239         * elf/tst-unique4lib.cc: New file.
75240         * elf/Makefile: Add rules to build and run tst-unique4.
75241         Patch by Piotr Bury <pbury@goahead.com>.
75243 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
75245         [BZ #12052]
75246         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
75248         [BZ #12625]
75249         * misc/mntent_r.c (addmntent): Flush the stream after the output
75251         [BZ #12393]
75252         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
75253         (is_trusted_path_normalize): Skip initial colon.  Append slash
75254         to empty buffer.  Duplicate is_trusted_path code but allow
75255         constructed patch to be prefix.
75256         (is_dst): Allow $ORIGIN followed by /.
75257         (_dl_dst_substitute): Correct clearing of check_for_trusted.
75258         Correct testing of result of is_trusted_path_normalize
75259         (decompose_rpath): Fix warning.
75261 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
75263         [BZ #11257]
75264         * grp/initgroups.c (internal_getgrouplist): When we found the service
75265         list through the initgroups entry in nsswitch.conf do not always
75266         continue on a successful lookup.  Don't always use the
75267         __nss_group_database value if it is set.
75268         * nss/nsswitch.conf (initgroups): Change action for successful db
75269         lookup to continue for compatibility.
75271 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
75273         [BZ #11532]
75274         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
75275         and CP774 modules.
75276         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
75277         and CP774 modules.
75278         * iconvdata/tst-tables.sh: Likewise.
75279         * iconvdata/cp770.c: New file.
75280         * iconvdata/cp771.c: New file.
75281         * iconvdata/cp772.c: New file.
75282         * iconvdata/cp773.c: New file.
75283         * iconvdata/cp774.c: New file.
75284         * iconvdata/testdata/CP770: New file.
75285         * iconvdata/testdata/CP770..UTF8: New file.
75286         * iconvdata/testdata/CP771: New file.
75287         * iconvdata/testdata/CP771..UTF8: New file.
75288         * iconvdata/testdata/CP772: New file.
75289         * iconvdata/testdata/CP772..UTF8: New file.
75290         * iconvdata/testdata/CP773: New file.
75291         * iconvdata/testdata/CP773..UTF8: New file.
75292         * iconvdata/testdata/CP774: New file.
75293         * iconvdata/testdata/CP774..UTF8: New file.
75295         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
75296         END CHARMAP line.
75297         * iconvdata/gen-8bit-gap.sh: Likewise.
75298         * iconvdata/gen-8bit.sh: Likewise.
75300         * locale/iso-639.def: Add ary entry.
75302         [BZ #11258]
75303         * locale/C-translit.h.in: Add U20A1 transliteration.
75305         [BZ #12178]
75306         * locale/iso-639.def: Add wae entry.
75307         Patch by Kevin Bortis <bortis@translate-wae.ch>.
75309         [BZ #12545]
75310         * locale/programs/localedef.c (construct_output_path): Use ssize_t
75311         for n.
75313         [BZ #12711]
75314         * locale/C-translit.h.in: Add entry for U20B9.
75315         Patch by pravin.d.s@gmail.com.
75317 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
75319         [BZ #12713]
75320         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
75321         ENAMETOOLONG use generic getcwd.
75322         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
75323         in rtld.  Use *stat64.
75324         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
75325         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
75326         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
75327         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
75328         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
75329         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
75330         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
75331         __fstatat64 macros.
75332         * include/dirent.h: Add libc_hidden_proto for rewinddir.
75333         * dirent/rewinddir.c: Add libc_hidden_def.
75334         * sysdeps/mach/hurd/rewinddir.c: Likewise.
75335         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
75337         * include/dirent.h (__alloc_dir): Add flags parameter.
75338         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
75339         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
75340         __alloc_dir.
75341         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
75342         from fdopendir if O_CLOEXEC is already set.
75344 2011-03-15  Alan Modra  <amodra@gmail.com>
75346         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
75347         l_tls_firstbyte_offset non-zero.  Save padding offset in
75348         l_tls_firstbyte_offset for later use.
75349         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
75350         freeing static tls block.
75352 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
75354         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
75355         where #ifdef was intended.  The intent is to prevent ARG_MAX from
75356         being defined by the kernel headers.
75358 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
75360         [BZ #12734]
75361         * resolv/resolv.h: Define RES_NOTLDQUERY.
75362         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
75363         no-tld-query and set RES_NOTLDQUERY.
75364         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
75365         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
75366         modern BIND to search name as TLD unless forbidden.
75368 2011-05-07  Petr Baudis  <pasky@suse.cz>
75369             Ulrich Drepper  <drepper@gmail.com>
75371         [BZ #12393]
75372         * elf/dl-load.c (fillin_rpath): Move trusted path check...
75373         (is_trusted_path): ...to here.
75374         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
75375         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
75376         using is_trusted_path_normalize() in setuid scripts.
75378 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
75380         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
75381         __BEGIN/__END_DECLS.
75383 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
75385         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
75386         NSS_STATUS_NOTFOUND if no record was found.
75388 2011-05-05  Andreas Schwab  <schwab@redhat.com>
75390         * sunrpc/Makefile (headers): Add rpc/netdb.h.
75391         (headers-not-in-tirpc): Remove rpc/netdb.h
75392         * resolv/netdb.h: Revert last change.
75394 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
75396         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
75397         circular dependency between libgcc.a and libc.a.
75399 2011-05-05  Andreas Schwab  <schwab@redhat.com>
75401         * resolv/netdb.h: Don't include <rpc/netdb.h>.
75402         * nis/Makefile: Don't install rpcsvc/*.
75403         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
75404         instead of <rpc/types.h>.
75405         (MAXHOSTNAMELEN): Define.
75407 2011-05-03  Andreas Schwab  <schwab@redhat.com>
75409         * elf/ldconfig.c (add_dir): Don't crash on empty path.
75411 2011-04-28  Maciej Babinski  <mbabinski@google.com>
75413         [BZ #12714]
75414         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
75415         gethostbyname4_r when IPv6 results are possible.
75417 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
75419         [BZ #12723]
75420         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
75421         _PC_PIPE_BUF handling.
75423 2011-04-30  Bruno Haible  <bruno@clisp.org>
75425         [BZ #12717]
75426         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
75427         * resolv/netdb.h (getnameinfo): Change type of flags parameter
75428         to 'int'.
75429         * inet/getnameinfo.c (getnameinfo): Likewise.
75431 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
75433         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
75434         to groups setting in database lookup.
75435         * nss/nsswitch.conf: Add initgroups entry.
75437 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
75439         [BZ #12685]
75440         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
75441         mode string.
75442         Patch by Eric Blake <eblake@redhat.com>.
75444 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
75446         * sunrpc/Makefile (need-export-routines): Add svc_run.
75447         (routines): Remove svc_run.
75448         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
75449         * sunrpc/clnt_perr.c (clnt_perrno): Export.
75450         * sunrpc/svc_run.c (svc_run): Likewise.
75451         * sunrpc/svc_udp.c (svcudp_create): Likewise.
75453 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
75455         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
75456         problem in reallocation in last patch.
75458 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
75460         * sunrpc/Makefile: Move inclusion of Rules.
75462 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
75464         * nss/nss_files/files-initgroups.c: New file.
75465         * nss/Makefile (libnss_files-routines): Add files-initgroups.
75466         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
75467         _nss_files_initgroups_dyn.
75469 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
75471         * elf/elf.h (R_ARM_IRELATIVE): Define.
75473 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
75475         * po/ru.po: Update from translation team.
75477 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
75479         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
75480         dependencies.
75482 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
75484         [BZ #12653]
75485         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
75486         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
75487         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
75488         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
75489         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
75491 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
75493         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
75494         differing bytes.
75495         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
75496         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
75497         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75499 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
75501         [BZ #12420]
75502         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
75503         storing it.
75504         * stdlib/bug-getcontext.c: New file.
75505         * stdlib/Makefile: Add rules to build and run bug-getcontext.
75507 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75509         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
75510         instructions into .machine "z9-109".
75511         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
75512         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
75514 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75516         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
75517         between environment variables and auxiliary vector.
75519 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
75521         * Makefile: Add rules to build linkobj/libc.so.
75522         * include/libc-symbols.h: Define libc_hidden_nolink.
75523         * include/rpc/auth.h: Mark functions which are to be hidden.
75524         * include/rpc/auth_des.h: Likewise.
75525         * include/rpc/auth_unix.h: Likewise.
75526         * include/rpc/clnt.h: Likewise.
75527         * include/rpc/des_crypt.h: Likewise.
75528         * include/rpc/key_prot.h: Likewise.
75529         * include/rpc/pmap_clnt.h: Likewise.
75530         * include/rpc/pmap_prot.h: Likewise.
75531         * include/rpc/pmap_rmt.h: Likewise.
75532         * include/rpc/rpc_msg.h: Likewise.
75533         * include/rpc/svc.h: Likewise.
75534         * include/rpc/svc_auth.h: Likewise.
75535         * include/rpc/xdr.h: Likewise.
75536         * nis/Makefile: Link all DSOs against linkobj/libc.so.
75537         * nss/Makefile: Likewise.
75538         * sunrpc/Makefile: Don't install headers.  Build library with normal
75539         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
75540         * sunrpc/auth_des.c: Hide exported symbols by default, export some
75541         for the compat linking library.  Remove use of INTDEF/INTUSE.
75542         * sunrpc/auth_none.c: Likewise.
75543         * sunrpc/auth_unix.c: Likewise.
75544         * sunrpc/authdes_prot.c: Likewise.
75545         * sunrpc/authuxprot.c: Likewise.
75546         * sunrpc/clnt_gen.c: Likewise.
75547         * sunrpc/clnt_perr.c: Likewise.
75548         * sunrpc/clnt_raw.c: Likewise.
75549         * sunrpc/clnt_simp.c: Likewise.
75550         * sunrpc/clnt_tcp.c: Likewise.
75551         * sunrpc/clnt_udp.c: Likewise.
75552         * sunrpc/clnt_unix.c: Likewise.
75553         * sunrpc/des_crypt.c: Likewise.
75554         * sunrpc/des_soft.c: Likewise.
75555         * sunrpc/get_myaddr.c: Likewise.
75556         * sunrpc/key_call.c: Likewise.
75557         * sunrpc/key_prot.c: Likewise.
75558         * sunrpc/netname.c: Likewise.
75559         * sunrpc/pm_getmaps.c: Likewise.
75560         * sunrpc/pm_getport.c: Likewise.
75561         * sunrpc/pmap_clnt.c: Likewise.
75562         * sunrpc/pmap_prot.c: Likewise.
75563         * sunrpc/pmap_prot2.c: Likewise.
75564         * sunrpc/pmap_rmt.c: Likewise.
75565         * sunrpc/publickey.c: Likewise.
75566         * sunrpc/rpc_cmsg.c: Likewise.
75567         * sunrpc/rpc_common.c: Likewise.
75568         * sunrpc/rpc_dtable.c: Likewise.
75569         * sunrpc/rpc_prot.c: Likewise.
75570         * sunrpc/rpc_thread.c: Likewise.
75571         * sunrpc/rtime.c: Likewise.
75572         * sunrpc/svc.c: Likewise.
75573         * sunrpc/svc_auth.c: Likewise.
75574         * sunrpc/svc_authux.c: Likewise.
75575         * sunrpc/svc_raw.c: Likewise.
75576         * sunrpc/svc_run.c: Likewise.
75577         * sunrpc/svc_simple.c: Likewise.
75578         * sunrpc/svc_tcp.c: Likewise.
75579         * sunrpc/svc_udp.c: Likewise.
75580         * sunrpc/svc_unix.c: Likewise.
75581         * sunrpc/svcauth_des.c: Likewise.
75582         * sunrpc/xcrypt.c: Likewise.
75583         * sunrpc/xdr.c: Likewise.
75584         * sunrpc/xdr_array.c: Likewise.
75585         * sunrpc/xdr_float.c: Likewise.
75586         * sunrpc/xdr_intXX_t.c: Likewise.
75587         * sunrpc/xdr_mem.c: Likewise.
75588         * sunrpc/xdr_rec.c: Likewise.
75589         * sunrpc/xdr_ref.c: Likewise.
75590         * sunrpc/xdr_sizeof.c: Likewise.
75591         * sunrpc/xdr_stdio.c: Likewise.
75593 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
75595         [BZ #12650]
75596         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
75597         * sysdeps/ia64/dl-tls.h: Likewise.
75598         * sysdeps/powerpc/dl-tls.h: Likewise.
75599         * sysdeps/s390/dl-tls.h: Likewise.
75600         * sysdeps/sh/dl-tls.h: Likewise.
75601         * sysdeps/sparc/dl-tls.h: Likewise.
75602         * sysdeps/x86_64/dl-tls.h: Likewise.
75603         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
75605 2011-03-14  Andreas Schwab  <schwab@redhat.com>
75607         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
75608         rpath element also skip the following colon.
75609         (expand_dynamic_string_token): Add is_path parameter and pass
75610         down to DL_DST_REQUIRED and _dl_dst_substitute.
75611         (decompose_rpath): Call expand_dynamic_string_token with
75612         non-zero is_path.  Ignore empty rpaths.
75613         (_dl_map_object_from_fd): Call expand_dynamic_string_token
75614         with zero is_path.
75616 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
75618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75619         Make cancelable.
75621 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
75623         [BZ #12655]
75624         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
75625         Patch by Filipe David Manana <fdmanana@apache.org>.
75627 2011-04-07  Andreas Schwab  <schwab@redhat.com>
75629         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
75630         Maintain aligned stack.
75631         (CHECK_RSP): Remove unused macro.
75633 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
75635         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
75636         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
75638 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
75640         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
75642         * include/features.h: Mention __USE_XOPEN2K8 in comment.
75644 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
75646         [BZ #12518]
75647         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
75648         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
75649         * sysdeps/x86_64/memmove.c: New file.
75650         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
75651         (memcpy): Renamed to ...
75652         (__new_memcpy): This.
75653         (memcpy): Provide GLIBC_2_14 memcpy.
75654         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
75655         (memcpy): Provide GLIBC_2_2_5 memcpy.
75657 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75659         [BZ #12631]
75660         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
75662 2011-03-30  Andreas Schwab  <schwab@redhat.com>
75664         * misc/syncfs.c: New file.
75665         * misc/Makefile (routines): Add syncfs.
75666         * posix/unistd.h: Declare syncfs.
75667         * sysdeps/unix/syscalls.list: Add syncfs.
75669 2011-04-01  Andreas Schwab  <schwab@redhat.com>
75671         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
75672         open_by_handle_at.
75673         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
75674         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75675         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75676         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75677         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75678         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
75679         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75681 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75683         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
75684         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75685         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
75686         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75687         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75688         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75689         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75691         * io/Makefile: Compile fallocate.c, fallocate64.c, and
75692         sync_file_range.c with -fexceptions.
75693         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
75694         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
75695         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
75696         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
75697         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
75698         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75699         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
75700         sync_file_range as cancellation point
75701         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
75702         now a wrapper around __call_sync_file_range with cancellation handling.
75703         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
75704         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
75705         function name to __call_sync_file_range.
75706         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
75707         Add call_sync_file_range.
75709 2011-04-01  Andreas Schwab  <schwab@redhat.com>
75711         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75712         bits/timex.h.
75714 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75716         * iconv/iconv.h: Fix typo in comment.
75717         * io/fcntl.h: Likewise.
75718         * libio/stdio.h: Likewise.
75719         * posix/spawn.h: Likewise.
75720         * posix/unistd.h: Likewise.
75721         * stdlib/stdlib.h: Likewise.
75722         * time/time.h: Likewise.
75723         * wcsmbs/wchar.h: Likewise.
75725         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
75726         open_by_handle): Add.
75727         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
75728         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
75729         Augment a few comments.
75730         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75731         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75732         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75733         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75734         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75735         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
75736         open_by_handle.
75738         * io/fcntl.h (AT_EMPTY_PATH): Define.
75740 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
75742         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
75743         * sysdeps/unix/sysv/linux/bits/time.h: New file.
75744         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
75745         to...
75746         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
75747         * Versions.def: Add GLIBC_2.14.
75748         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
75749         Export.
75751 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
75753         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
75754         round counter.
75755         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75757 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75759         [BZ #12597]
75760         * string/test-strncmp.c (do_page_test): New function.
75761         (check2): Likewise.
75762         (test_main): Call check2.
75763         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
75765 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
75767         [BZ #12587]
75768         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
75769         Handle cache information in CPU leaf 4.
75770         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75772 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
75774         [BZ #12583]
75775         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
75776         character representation.
75777         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
75779 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
75781         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
75782         END(__isnan) to END(__isnanf) to match function entry point/label
75783         EALIGN(__isnanf,...).
75785 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
75787         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
75789 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
75791         [BZ #12510]
75792         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
75793         copy from the symbol referenced in the relocation to initialize the
75794         used variable.
75795         Patch by Piotr Bury <pbury@goahead.com>.
75796         * elf/Makefile: Add rules to build and tst-unique3.
75797         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
75798         * elf/tst-unique3.cc: New file.
75799         * elf/tst-unique3.h: New file.
75800         * elf/tst-unique3lib.cc: New file.
75801         * elf/tst-unique3lib2.cc: New file.
75803         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
75805 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
75807         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
75808         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
75809         to _start.
75811 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
75813         * elf/dl-load.c (_dl_map_object): If we are looking for the first
75814         to-be-loaded object along a path to loader is ld.so.
75816 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
75817             Ulrich Drepper  <drepper@gmail.com>
75819         * sysdeps/x86_64/memset.S: After aligning destination, code
75820         branches to different locations depending on the value of
75821         misalignment, when multiarch is enabled. Fix this.
75823 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
75825         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
75826         Set _x86_64_preferred_memory_instruction for AMD processsors.
75827         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75828         Set bit_Prefer_SSE_for_memop for AMD processors.
75830 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
75832         * libio/fmemopen.c (fmemopen): Optimize a bit.
75834 2011-03-03  Andreas Schwab  <schwab@redhat.com>
75836         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
75838 2011-03-03  Roland McGrath  <roland@redhat.com>
75840         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
75842 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
75844         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
75845         __bzero_ultra1 instead of __memset_ultra1.
75847 2011-02-23  Andreas Schwab  <schwab@redhat.com>
75848             Ulrich Drepper  <drepper@gmail.com>
75850         [BZ #12509]
75851         * include/link.h (struct link_map): Add l_orig_initfini.
75852         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
75853         returning unsuccessfully.
75854         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
75855         close of a file loaded at startup, restore the original l_initfini
75856         list.
75857         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
75858         list, store the pointer.
75859         * elf/Makefile ($(objpfx)noload-mem): New rule.
75860         (noload-ENV): Define.
75861         (tests): Add $(objpfx)noload-mem.
75862         * elf/noload.c: Include <memcheck.h>.
75863         (main): Call mtrace.  Close all opened handles.
75865 2011-02-17  Andreas Schwab  <schwab@redhat.com>
75867         [BZ #12454]
75868         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
75869         dependencies are missing.
75871 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75873         Fix __if_freereq crash: Unlike the generic version which uses free,
75874         Hurd needs munmap.
75875         * sysdeps/mach/hurd/ifreq.h: New file.
75877 2011-01-27  Petr Baudis  <pasky@suse.cz>
75878             Ulrich Drepper  <drepper@gmail.com>
75880         [BZ 12445]#
75881         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
75882         to extend_alloca().
75883         * stdio-common/bug23.c: New file.
75884         * stdio-common/Makefile (tests): Add bug23.
75886 2010-09-28  Andreas Schwab  <schwab@redhat.com>
75887             Ulrich Drepper  <drepper@gmail.com>
75889         [BZ #12489]
75890         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
75891         before performing relro protection.  At old place add assertion
75892         to make sure nothing changed.
75894 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
75895             Glauber de Oliveira Costa  <glommer@gmail.com>
75897         * elf/elf.h: Add new ARM TLS relocs.
75899 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
75901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
75902         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
75903         cast from r3.
75904         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
75905         'tests' variable.
75906         * sysdeps/wordsize-64/tst-writev.c: New file.
75908 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
75910         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
75911         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
75912         insns in _dl_start to prevent a TOC reference before relocs are
75913         resolved.
75915 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
75917         [BZ #12469]
75918         * Makeconfig: Remove RANLIB definition.
75919         * Makerules: Don't use RANLIB.
75920         * aclocal.m4: Remove ranlib test.
75921         * configure.in: No need to check for ranlib.
75922         * elf/rtld-Rules: Don't use RANLIB.
75924 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75926         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
75927         protection macro.
75928         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
75929         inclusion protection macro.
75931         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
75932         SIGRTMIN and SIGRTMAX and print information in that case only when
75933         SIGRTMIN is defined.
75935 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
75937         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
75938         arginfo fn returning -1.
75940         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
75941         and thousands string is zero terminated.
75943 2011-02-03  Andreas Schwab  <schwab@redhat.com>
75945         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
75946         sysdeps/unix/sysv/linux/bits/socket.h.
75948 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75950         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
75951         (__CPU_COUNT): Remove old macros.
75952         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
75953         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
75954         (__CPU_ALLOC, __CPU_FREE): Add macros.
75955         (__sched_cpualloc, __sched_cpufree): Add declarations.
75957 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
75959         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
75960         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
75961         * nscd/aicache.c (addhstaiX): Return timeout of added value.
75962         (readdhstai): Return value of addhstaiX call.
75963         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
75964         (addgrbyX): Return value returned by cache_addgr.
75965         (readdgrbyname): Return value returned by addgrbyX.
75966         (readdgrbygid): Likewise.
75967         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
75968         (addpwbyX): Return value returned by cache_addpw.
75969         (readdpwbyname): Return value returned by addhstbyX.
75970         (readdpwbyuid): Likewise.
75971         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
75972         (addservbyX): Return value returned by cache_addserv.
75973         (readdservbyname): Return value returned by addservbyX:
75974         (readdservbyport): Likewise.
75975         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
75976         (addhstbyX): Return value returned by cache_addhst.
75977         (readdhstbyname): Return value returned by addhstbyX.
75978         (readdhstbyaddr): Likewise.
75979         (readdhstbynamev6): Likewise.
75980         (readdhstbyaddrv6): Likewise.
75981         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
75982         (readdinitgroups): Return value returned by addinitgroupsX.
75983         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
75984         (prune_cache): Keep track of timeout value of re-added entries.
75985         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
75986         * nscd/nscd.h: Adjust prototypes of readd* functions.
75988 2011-02-04  Roland McGrath  <roland@redhat.com>
75990         * nis/nis_server.c (nis_servstate): Use the right name for 0.
75991         (nis_stats): Likewise.
75992         * nis/nis_modify.c (nis_modify): Likewise.
75993         * nis/nis_remove.c (nis_remove): Likewise.
75994         * nis/nis_add.c (nis_add): Likewise.
75996         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
75998         * posix/fnmatch_loop.c: Add some consts.
76000         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
76002 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
76004         [BZ #12460]
76005         * config.make.in (config-cflags-novzeroupper): Define.
76006         * configure.in: Substitute libc_cv_cc_novzeroupper.
76007         * elf/Makefile (AVX-CFLAGS): Define.
76008         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
76009         (CFLAGS-tst-auditmod4a.c): Likewise.
76010         (CFLAGS-tst-auditmod4b.c): Likewise.
76011         (CFLAGS-tst-auditmod6b.c): Likewise.
76012         (CFLAGS-tst-auditmod6c.c): Likewise.
76013         (CFLAGS-tst-auditmod7b.c): Likewise.
76014         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
76016 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
76018         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
76019         function to the callback.
76020         Patch partly by Jiri Olsa <jolsa@redhat.com>.
76022 2011-02-02  Andreas Schwab  <schwab@redhat.com>
76024         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
76025         of errno.
76027 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
76029         [BZ #11724]
76030         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
76031         of constructors.
76032         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
76033         of destructors.
76034         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
76036         [BZ #11724]
76037         * elf/Makefile: Add rules to build and run new test.
76038         * elf/tst-initorder.c: New file.
76039         * elf/tst-initorder.exp: New file.
76040         * elf/tst-initordera1.c: New file.
76041         * elf/tst-initordera2.c: New file.
76042         * elf/tst-initordera3.c: New file.
76043         * elf/tst-initordera4.c: New file.
76044         * elf/tst-initorderb1.c: New file.
76045         * elf/tst-initorderb2.c: New file.
76046         * elf/tst-order-a1.c: New file.
76047         * elf/tst-order-a2.c: New file.
76048         * elf/tst-order-a3.c: New file.
76049         * elf/tst-order-a4.c: New file.
76050         * elf/tst-order-b1.c: New file.
76051         * elf/tst-order-b2.c: New file.
76052         * elf/tst-order-main.c: New file.
76053         New test case by George Gensure <werkt0@gmail.com>.
76055 2010-10-01  Andreas Schwab  <schwab@redhat.com>
76057         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76058         decoding ACE if AI_CANONIDN.
76060 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
76062         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
76064 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
76066         * version.h (RELEASE): Bump for 2.13 release.
76067         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
76069         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
76071         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
76072         MADV_NOHUGEPAGE.
76073         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
76074         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
76075         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
76076         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
76077         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
76078         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76080         * posix/getconf.c: Update copyright year.
76081         * catgets/gencat.c: Likewise.
76082         * csu/version.c: Likewise.
76083         * debug/catchsegv.sh: Likewise.
76084         * debug/xtrace.sh: Likewise.
76085         * elf/ldconfig.c: Likewise.
76086         * elf/ldd.bash.in: Likewise.
76087         * elf/sprof.c (print_version): Likewise.
76088         * iconv/iconv_prog.c: Likewise.
76089         * iconv/iconvconfig.c: Likewise.
76090         * locale/programs/locale.c: Likewise.
76091         * locale/programs/localedef.c: Likewise.
76092         * malloc/memusage.sh: Likewise.
76093         * malloc/mtrace.pl: Likewise.
76094         * nscd/nscd.c (print_version): Likewise.
76095         * nss/getent.c: Likewise.
76097         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
76098         PF_CAIF, and PF_ALG.
76099         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76101 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
76103         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
76104         (modules-names): Use them.
76105         (ifunc-test-modules, ifunc-pie-tests): Define.
76106         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
76107         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
76108         (test-extras): Likewise.
76109         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
76110         $(compile-command.c).
76111         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
76112         (all-built-dso): Define.
76113         (check-textrel.out, check-execstack.out): Depend on it.
76115         * configure.in: Don't override --enable-multi-arch.
76117 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
76119         [BZ #6812]
76120         * nscd/hstcache.c (tryagain): Define.
76121         (cache_addhst): Return tryagain not notfound for temporary errors.
76122         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
76123         failed.
76125 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
76127         [BZ #10563]
76128         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
76129         to make the syscall.
76130         * sysdeps/unix/sysv/linux/setgroups.c: New file.
76132         [BZ #12378]
76133         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
76134         and fall back to matching as normal character if the string ends before
76135         the matching ']' is found.  This is what POSIX requires.
76136         * posix/testfnm.c: Adjust test result.
76137         * posix/globtest.sh: Adjust test result.  Add new test.
76138         * posix/tst-fnmatch.input: Likewise.
76139         * posix/tst-fnmatch2.c: Add new test.
76141 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
76143         * elf/Makefile (check-execstack): Revert last change.  Depend on
76144         check-execstack.h.
76145         (check-execstack.h): New target.
76146         (generated): Add check-execstack.h.
76147         * elf/check-execstack.c: Include "check-execstack.h".
76148         (main): Revert last change.
76149         (handle_file): Return zero if GNU_STACK is absent and
76150         DEFAULT_STACK_PERMS doesn't include PF_X.
76152 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
76154         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
76155         in child fails because the descriptor is already closed.
76156         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
76157         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
76158         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
76160         [BZ #12397]
76161         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
76162         syscall.
76164         [BZ #10484]
76165         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
76166         temporary buffer used to handle multi lookups locally.
76167         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
76169 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
76171         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
76172         loader is ld.so.
76174 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
76176         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
76177         alignment for SSE2.
76179 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
76181         [BZ #12394]
76182         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
76183         characters.  When rounding increased number of integer digits recompute
76184         number of groups.
76185         * stdio-common/tst-grouping.c: New file.
76186         * stdio-common/Makefile: Add rules to build and run tst-grouping.
76188 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
76190         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
76191         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
76193         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
76194         void.
76195         * bits/select.h: Likewise.
76197 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
76199         * po/ja.po: Update from translation team.
76201 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
76203         [BZ #11155]
76204         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
76205         implementation just like for lxstat, fxstatat, et al.
76207 2010-12-27  Jim Meyering  <meyering@redhat.com>
76209         [BZ #12348]
76210         * posix/regexec.c (build_trtable): Return failure indication upon
76211         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
76213 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
76215         [BZ #12201]
76216         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
76217         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
76218         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
76219         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
76221         [BZ #12207]
76222         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
76224         [BZ #12204]
76225         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
76226         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
76228 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
76230         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
76231         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
76232         script has SORT_BY_INIT_PRIORITY.
76233         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
76234         NO_CTORS_DTORS_SECTIONS is defined.
76235         * elf/soinit.c: Likewise.
76236         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
76237         NO_CTORS_DTORS_SECTIONS is defined.
76238         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
76239         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
76240         * sysdeps/sh/init-first.c: Likewise.
76241         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
76243 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
76245         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
76246         always use the slow path.
76248 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
76250         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
76251         similar rule which adds the sysdep directories to the header search in
76252         order to pick up the correct platform stackinfo.h.
76253         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
76254         perform test if it is, otherwise return successfully without testing.
76255         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
76256         DEFAULT_STACK_PERMS define in stackinfo.h.
76257         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
76258         defined in stackinfo.h.
76259         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
76260         DEFAULT_STACK_PERMS defined in stackinfo.h.
76261         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
76262         * sysdeps/ia64/stackinfo.h: Likewise.
76263         * sysdeps/s390/stackinfo.h: Likewise.
76264         * sysdeps/sh/stackinfo.h: Likewise.
76265         * sysdeps/sparc/stackinfo.h: Likewise.
76266         * sysdeps/x86_64/stackinfo.h: Likewise.
76267         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
76268         PF_X for powerpc64.  Retain PF_X for powerpc32.
76270 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
76272         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
76273         accurately.
76274         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
76275         GETDENTS_64BIT_ALIGNED.
76277 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
76279         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
76281 2010-12-10  Andreas Schwab  <schwab@redhat.com>
76283         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
76284         _GNU_SOURCE.
76286         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
76287         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
76288         Remove __restrict.
76289         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
76290         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
76292 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
76294         [BZ #11655]
76295         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
76296         are initialized.
76298 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
76300         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
76302 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
76304         * po/it.po: Update from translation team.
76306 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
76308         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
76309         unused codes.
76311 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
76313         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
76315 2010-11-24  Andreas Schwab  <schwab@redhat.com>
76317         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
76318         specially.
76319         (gaih_getanswer_slice): Likewise.
76321 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
76323         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
76325 2010-05-31  Petr Baudis  <pasky@suse.cz>
76327         [BZ #11149]
76328         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
76329         silently even in the chroot mode.
76331 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
76333         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
76334         last patch a bit.  Pretty printing
76336 2010-05-31  Petr Baudis <pasky@suse.cz>
76338         [BZ #10085]
76339         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
76340         initialization of skip_initgroups_dyn.
76342 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
76344         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
76345         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76347 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
76349         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
76351 2010-11-11  Andreas Schwab  <schwab@redhat.com>
76353         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
76354         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
76355         (tst-fnmatch-ENV): Set MALLOC_TRACE.
76356         ($(objpfx)tst-fnmatch-mem): New rule.
76357         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
76358         * posix/tst-fnmatch.c (main): Call mtrace.
76360 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
76362         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76363         Support Intel processor model 6 and model 0x2c.
76365 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
76367         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
76368           signed comparison.
76370 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
76372         [BZ #12205]
76373         * string/test-strncasecmp.c (check_result): New function.
76374         (do_one_test): Use it.
76375         (check1): New function.
76376         (test_main): Use it.
76377         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
76378         Support strcasecmp and strncasecmp.
76380 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
76382         [BZ #12194]
76383         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
76384         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76386 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
76388         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
76389         IFUNC support.
76390         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76391         memset-x86-64.
76392         * sysdeps/x86_64/multiarch/bzero.S: New file.
76393         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
76394         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
76395         * sysdeps/x86_64/multiarch/memset.S: New file.
76396         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
76397         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76398         Set bit_Prefer_SSE_for_memop for Intel processors.
76399         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
76400         Define.
76401         (index_Prefer_SSE_for_memop): Define.
76402         (HAS_PREFER_SSE_FOR_MEMOP): Define.
76404 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
76406         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
76407         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
76409 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
76411         [BZ #12191]
76412         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76413         (__x86_64_raw_data_cache_size_half): Likewise.
76414         (__x86_64_raw_shared_cache_size): Likewise.
76415         (__x86_64_raw_shared_cache_size_half): Likewise.
76417         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76418         (__x86_64_raw_data_cache_size_half): Likewise.
76419         (__x86_64_raw_shared_cache_size): Likewise.
76420         (__x86_64_raw_shared_cache_size_half): Likewise.
76421         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
76422         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
76423         and __x86_64_raw_shared_cache_size_half.  Round
76424         __x86_64_data_cache_size_half, __x86_64_data_cache_size
76425         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
76426         to multiple of 256 bytes.
76428 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
76430         [BZ #12167]
76431         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
76432         of inacessible symlinks.  Verify result of symlink before returning it.
76433         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
76434         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
76436 2010-10-28  Erich Ritz  <erichritz@gmail.com>
76438         * math/math.h (isinf): Fix typo in comment.
76440 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
76442         * po/da.po: Update from translation team.
76444 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
76446         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
76447         is added to the list.
76449 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76450             Ulrich Drepper  <drepper@gmail.com>
76452         * elf/dl-object.c (_dl_new_object): Don't append the new object to
76453         the global list here.  Move code to...
76454         (_dl_add_to_namespace_list): ...here.  New function.
76455         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
76456         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
76457         * elf/dl-load.c (lose): Don't remove the element from the list.
76458         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
76459         (_dl_map_object): Likewise.
76461 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
76463         [BZ #12159]
76464         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
76465         into all bytes of SSE register.
76466         Patch by Richard Li <richardpku@gmail.com>.
76468 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
76470         [BZ #12140]
76471         * malloc/malloc.c (_int_free): Fill correct number of bytes when
76472         perturbing.
76474 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
76476         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
76477         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
76478         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
76479         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
76480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
76481         submachine.
76482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
76484 2010-10-22  Andreas Schwab  <schwab@redhat.com>
76486         * include/dlfcn.h (__RTLD_SECURE): Define.
76487         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
76488         mode & __RTLD_SECURE instead.
76489         (open_path): Rename preloaded parameter to secure.
76490         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
76491         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
76492         * elf/dl-deps.c (openaux): Likewise.
76493         * elf/rtld.c (struct map_args): Remove is_preloaded.
76494         (map_doit): Don't use it.
76495         (dl_main): Likewise.
76496         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
76497         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
76499 2010-09-09  Andreas Schwab  <schwab@redhat.com>
76501         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
76502         (sysd-rules-targets): Remove duplicates.
76503         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
76504         rtld-%.$o dependency.
76506 2010-10-18  Andreas Schwab  <schwab@redhat.com>
76508         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
76509         _dl_map_object do it.
76511 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
76513         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
76514         fast fma builtins, define the macros in the C99 standard.
76515         (FP_FAST_FMAF): Likewise.
76516         (FP_FAST_FMAL): Likewise.
76517         * sysdeps/x86_64/bits/mathdef.h: Likewise.
76519         * bits/mathdef.h: Update copyright year.
76520         * sysdeps/powerpc/bits/mathdef.h: Likewise.
76522 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
76524         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
76525         builtins, define the macros in the C99 standard.
76526         (FP_FAST_FMAF): Likewise.
76527         (FP_FAST_FMAL): Likewise.
76528         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
76529         multiply/add.
76530         (FP_FAST_FMAF): Likewise.
76532 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
76534         [BZ #3268]
76535         * math/libm-test.inc (fma_test): Some new testcases.
76536         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
76537         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
76538         y and infinite z.  Do multiplication by C already in long double.
76539         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
76540         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
76541         y and infinite z.  Do bitwise or of inexact bit into u.d.
76542         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
76543         * sysdeps/i386/fpu/s_fmaf.S: Removed.
76544         * sysdeps/i386/fpu/s_fma.S: Removed.
76545         * sysdeps/i386/fpu/s_fmal.S: Removed.
76547 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
76549         [BZ #3268]
76550         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
76551         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
76552         computation is not scheduled after fetestexcept.  Fix value
76553         of minimum denormal long double.
76555 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
76557         [BZ #3268]
76558         * math/libm-test.inc (fma_test): Add some more tests.
76559         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
76560         correctly.
76562 2010-10-15  Andreas Schwab  <schwab@redhat.com>
76564         * scripts/data/localplt-s390-linux-gnu.data: New file.
76565         * scripts/data/localplt-s390x-linux-gnu.data: New file.
76567 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
76569         [BZ #3268]
76570         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
76571         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
76572         instead of dbl-64.
76573         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
76574         inlines.
76575         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
76576         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
76577         if one of x and y is very large and the other is subnormal.
76578         * sysdeps/s390/fpu/s_fmaf.c: New file.
76579         * sysdeps/s390/fpu/s_fma.c: New file.
76580         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
76581         * sysdeps/powerpc/fpu/s_fma.S: New file.
76582         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
76583         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
76584         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
76586 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
76588         [BZ #3268]
76589         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
76590         fma tests.
76591         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
76592         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
76593         * sysdeps/i386/i686/multiarch/s_fma.c: Include
76594         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
76595         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
76596         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
76597         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
76599 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
76601         [BZ #12078]
76602         * posix/regcomp.c (parse_branch): One more memory leak plugged.
76603         * posix/bug-regex31.input: Add test case.
76605 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
76607         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
76608         * posix/bug-regex31.input: New file.
76610         [BZ #12078]
76611         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
76612         (parse_sub_exp): Fix last change, use postorder.
76614         * posix/bug-regex31.c: New file.
76615         * posix/Makefile: Add rules to build and run bug-regex31.
76617         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
76619         [BZ #12078]
76620         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
76622         [BZ #12108]
76623         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
76624         to have entries in sys_siglist.
76626         [BZ #12093]
76627         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
76628         be NULL.
76630 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
76632         [BZ #3268]
76633         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
76634         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
76635         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
76636         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
76637         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
76638         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
76639         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
76640         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
76641         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
76642         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
76643         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
76644         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
76645         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
76646         * math/ftestexcept.c (fetestexcept): Likewise.
76647         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
76648         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
76649         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
76650         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
76651         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
76652         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
76653         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76655 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
76657         [BZ #12107]
76658         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
76659         newline.
76661 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
76663         * string/bug-strstr1.c: New file.
76664         * string/Makefile: Add rules to build and run bug-strstr1.
76666 2010-10-05  Eric Blake  <eblake@redhat.com>
76668         [BZ #12092]
76669         * string/str-two-way.h (two_way_long_needle): Always clear memory
76670         when skipping input due to the shift table.
76672 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
76674         [BZ #12005]
76675         * malloc/mcheck.c: Handle large requests.
76677         [BZ #12077]
76678         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
76679         for strncmp and strncasecmp.
76680         * string/stratcliff.c: Add tests for strcmp and strncmp.
76681         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
76683 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76685         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
76686         __set_fpscr.
76688 2010-09-30  Andreas Jaeger  <aj@suse.de>
76690         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
76691         (CGROUP_SUPER_MAGIC): Define.
76692         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76693         Handle btrfs and cgroup file systems.
76694         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
76695         Likewise.
76697 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
76699         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
76700         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
76702 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76704         [BZ #12067]
76705         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
76706         trying to locate the ELF header.
76708 2010-09-27  Andreas Schwab  <schwab@redhat.com>
76710         [BZ #11611]
76711         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
76712         Mask out sign-bit copies when constructing f_fsid.
76714 2010-09-24  Petr Baudis <pasky@suse.cz>
76716         * debug/stack_chk_fail_local.c: Add missing licence exception.
76717         * debug/warning-nop.c: Likewise.
76719 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
76721         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
76722         implementing getdents64 using getdents syscall, set d_type if
76723         __ASSUME_GETDENTS32_D_TYPE.
76725 2010-09-16  Andreas Schwab  <schwab@redhat.com>
76727         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
76728         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
76730 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
76732         [BZ #12037]
76733         * posix/unistd.h: Undo change of feature selection for ftruncate from
76734         2010-01-11.
76736 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
76738         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
76739         detection.
76741 2010-09-20  Andreas Schwab  <schwab@redhat.com>
76743         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
76744         fanotify_mark.
76745         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76747 2010-09-14  Andreas Schwab  <schwab@redhat.com>
76749         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
76750         variables after CHECK_SP call.
76751         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
76753 2010-09-13  Andreas Schwab  <schwab@redhat.com>
76754             Ulrich Drepper  <drepper@redhat.com>
76756         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
76757         re-relocationg ld.so.
76758         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
76759         _dl_init_paths call.
76760         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
76761         here anymore.
76763 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
76765         * resolv/res_init.c (__res_vinit): Count the default server we added.
76767 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
76768             Ulrich Drepper  <drepper@redhat.com>
76770         [BZ #11968]
76771         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76772         (____longjmp_chk): Use %ebx for saving value across system call.
76773         Add unwind info.
76775 2010-09-06  Andreas Schwab  <schwab@redhat.com>
76777         * manual/Makefile: Don't mix pattern rules with normal rules.
76779 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
76781         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
76782         operation.
76783         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
76784         * libio/iofopncook.c (_IO_cookie_init): Likewise.
76785         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
76786         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
76787         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76788         Likewise.
76790 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
76792         [BZ #11979]
76793         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
76794         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
76796 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
76798         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
76799         * sysdeps/x86_64/addmul_1.S: Likewise.
76800         * sysdeps/x86_64/lshift.S: Likewise.
76801         * sysdeps/x86_64/mul_1.S: Likewise.
76802         * sysdeps/x86_64/rshift.S: Likewise.
76803         * sysdeps/x86_64/sub_n.S: Likewise.
76804         * sysdeps/x86_64/submul_1.S: Likewise.
76806 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76808         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
76809         Define __sched_param instead of SCHED_* and sched_param when
76810         <bits/sched.h> is included with __need_schedparam defined.
76811         * bits/sched.h [__need_schedparam]
76812         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
76813         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
76814         (__defined_schedparam): Define to 1.
76815         (__sched_param): New structure, identical to sched_param.
76816         (__need_schedparam): Undefine.
76818 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
76820         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
76821         (epoll_create1): Declare.
76823         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
76825 2010-08-31  Andreas Schwab  <schwab@redhat.com>
76827         [BZ #7066]
76828         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
76829         shifting retval into place.
76831 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
76833         * nis/rpcsvc/nis.h: Update copyright notice.
76834         * nis/rpcsvc/nis.x: Likewise.
76835         * nis/rpcsvc/nis_callback.h: Likewise.
76836         * nis/rpcsvc/nis_callback.x: Likewise.
76837         * nis/rpcsvc/nis_object.x: Likewise.
76838         * nis/rpcsvc/nis_tags.h: Likewise.
76839         * nis/rpcsvc/yp.h: Likewise.
76840         * nis/rpcsvc/yp.x: Likewise.
76841         * nis/rpcsvc/ypupd.h: Likewise.
76842         * nis/yp_xdr.c: Likewise.
76843         * nis/ypupdate_xdr.c: Likewise.
76845         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
76846         mainly the body of pmap_getport.  Add parameters to specify timeouts.
76847         (pmap_getport): Use __libc_rpc_getport.
76848         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
76849         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
76850         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
76852 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
76854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
76855         fanotify_mark.
76857 2010-08-27  Roland McGrath  <roland@redhat.com>
76859         * sysdeps/i386/i686/multiarch/Makefile
76860         (CFLAGS-varshift.c): New variable.
76862 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
76864         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
76865         * sysdeps/i386/i686/multiarch/varshift.c: New file.
76867         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
76869         * sysdeps/x86_64/strlen.S: Minimal code improvement.
76871 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
76873         * sysdeps/x86_64/strlen.S: Unroll the loop.
76874         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76875         strlen-sse2 strlen-sse2-bsf.
76876         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
76877         __strlen_no_bsf if bit_Slow_BSF is set.
76878         (__strlen_sse42): Removed.
76879         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
76880         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
76882 2010-08-25  Roland McGrath  <roland@redhat.com>
76884         * sysdeps/x86_64/multiarch/varshift.S: File removed.
76885         * sysdeps/x86_64/multiarch/varshift.c: New file.
76886         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
76887         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
76888         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
76889         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76891 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
76893         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76894         strlen-sse2 strlen-sse2-bsf.
76895         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
76896         __strlen_sse2_bsf if bit_Slow_BSF is unset.
76897         (__strlen_sse2): Removed.
76898         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
76899         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
76900         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
76901         bit_Slow_BSF for Atom.
76902         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
76903         (index_Slow_BSF): Define.
76904         (HAS_SLOW_BSF): Define.
76906 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
76908         [BZ #10851]
76909         * resolv/res_init.c (__res_vinit): When no server address at all
76910         is given default to loopback.
76912 2010-08-24  Roland McGrath  <roland@redhat.com>
76914         * configure.in: Remove config-name.h generation.
76915         * configure: Regenerated.
76916         * config-name.in: File removed.
76917         * scripts/config-uname.sh: New file.
76918         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
76919         ($(objdir)config-name.h): New target.
76921         * sunrpc/rpc_parse.h: Avoid nested comment.
76923 2010-08-24  Richard Henderson  <rth@redhat.com>
76924             Ulrich Drepper  <drepper@redhat.com>
76925             H.J. Lu  <hongjiu.lu@intel.com>
76927         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
76928         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
76929         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
76930         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
76931         _mm_alignr_epi8 with _mm_loadu_si128.
76932         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
76933         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
76934         (__m128i_shift_right): Removed.
76935         * sysdeps/i386/i686/multiarch/varshift.h: New file.
76936         * sysdeps/i386/i686/multiarch/varshift.S: New file.
76937         * sysdeps/x86_64/multiarch/varshift.h: New file.
76938         * sysdeps/x86_64/multiarch/varshift.S: New file.
76940 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
76942         * configure.in: Move assembler checks to before sysdep dir checking.
76944 2010-08-20  Petr Baudis  <pasky@suse.cz>
76946         * LICENSES: Sync the sunrpc license.
76948 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
76950         * sunrpc/auth_des.c: Update copyright notice once again.
76951         * sunrpc/auth_none.c: Likewise.
76952         * sunrpc/auth_unix.c: Likewise.
76953         * sunrpc/authdes_prot.c: Likewise.
76954         * sunrpc/authuxprot.c: Likewise.
76955         * sunrpc/bindrsvprt.c: Likewise.
76956         * sunrpc/clnt_gen.c: Likewise.
76957         * sunrpc/clnt_perr.c: Likewise.
76958         * sunrpc/clnt_raw.c: Likewise.
76959         * sunrpc/clnt_simp.c: Likewise.
76960         * sunrpc/clnt_tcp.c: Likewise.
76961         * sunrpc/clnt_udp.c: Likewise.
76962         * sunrpc/clnt_unix.c: Likewise.
76963         * sunrpc/des_crypt.c: Likewise.
76964         * sunrpc/des_soft.c: Likewise.
76965         * sunrpc/get_myaddr.c: Likewise.
76966         * sunrpc/getrpcport.c: Likewise.
76967         * sunrpc/key_call.c: Likewise.
76968         * sunrpc/key_prot.c: Likewise.
76969         * sunrpc/openchild.c: Likewise.
76970         * sunrpc/pm_getmaps.c: Likewise.
76971         * sunrpc/pm_getport.c: Likewise.
76972         * sunrpc/pmap_clnt.c: Likewise.
76973         * sunrpc/pmap_prot.c: Likewise.
76974         * sunrpc/pmap_prot2.c: Likewise.
76975         * sunrpc/pmap_rmt.c: Likewise.
76976         * sunrpc/rpc/auth.h: Likewise.
76977         * sunrpc/rpc/auth_unix.h: Likewise.
76978         * sunrpc/rpc/clnt.h: Likewise.
76979         * sunrpc/rpc/des_crypt.h: Likewise.
76980         * sunrpc/rpc/key_prot.h: Likewise.
76981         * sunrpc/rpc/netdb.h: Likewise.
76982         * sunrpc/rpc/pmap_clnt.h: Likewise.
76983         * sunrpc/rpc/pmap_prot.h: Likewise.
76984         * sunrpc/rpc/pmap_rmt.h: Likewise.
76985         * sunrpc/rpc/rpc.h: Likewise.
76986         * sunrpc/rpc/rpc_des.h: Likewise.
76987         * sunrpc/rpc/rpc_msg.h: Likewise.
76988         * sunrpc/rpc/svc.h: Likewise.
76989         * sunrpc/rpc/svc_auth.h: Likewise.
76990         * sunrpc/rpc/types.h: Likewise.
76991         * sunrpc/rpc/xdr.h: Likewise.
76992         * sunrpc/rpc_clntout.c: Likewise.
76993         * sunrpc/rpc_cmsg.c: Likewise.
76994         * sunrpc/rpc_common.c: Likewise.
76995         * sunrpc/rpc_cout.c: Likewise.
76996         * sunrpc/rpc_dtable.c: Likewise.
76997         * sunrpc/rpc_hout.c: Likewise.
76998         * sunrpc/rpc_main.c: Likewise.
76999         * sunrpc/rpc_parse.c: Likewise.
77000         * sunrpc/rpc_parse.h: Likewise.
77001         * sunrpc/rpc_prot.c: Likewise.
77002         * sunrpc/rpc_sample.c: Likewise.
77003         * sunrpc/rpc_scan.c: Likewise.
77004         * sunrpc/rpc_scan.h: Likewise.
77005         * sunrpc/rpc_svcout.c: Likewise.
77006         * sunrpc/rpc_tblout.c: Likewise.
77007         * sunrpc/rpc_util.c: Likewise.
77008         * sunrpc/rpc_util.h: Likewise.
77009         * sunrpc/rpcinfo.c: Likewise.
77010         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
77011         * sunrpc/rpcsvc/key_prot.x: Likewise.
77012         * sunrpc/rpcsvc/klm_prot.x: Likewise.
77013         * sunrpc/rpcsvc/mount.x: Likewise.
77014         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
77015         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
77016         * sunrpc/rpcsvc/rex.x: Likewise.
77017         * sunrpc/rpcsvc/rstat.x: Likewise.
77018         * sunrpc/rpcsvc/rusers.x: Likewise.
77019         * sunrpc/rpcsvc/sm_inter.x: Likewise.
77020         * sunrpc/rpcsvc/spray.x: Likewise.
77021         * sunrpc/rpcsvc/yppasswd.x: Likewise.
77022         * sunrpc/rtime.c: Likewise.
77023         * sunrpc/svc.c: Likewise.
77024         * sunrpc/svc_auth.c: Likewise.
77025         * sunrpc/svc_authux.c: Likewise.
77026         * sunrpc/svc_raw.c: Likewise.
77027         * sunrpc/svc_run.c: Likewise.
77028         * sunrpc/svc_simple.c: Likewise.
77029         * sunrpc/svc_tcp.c: Likewise.
77030         * sunrpc/svc_udp.c: Likewise.
77031         * sunrpc/svc_unix.c: Likewise.
77032         * sunrpc/svcauth_des.c: Likewise.
77033         * sunrpc/xcrypt.c: Likewise.
77034         * sunrpc/xdr.c: Likewise.
77035         * sunrpc/xdr_array.c: Likewise.
77036         * sunrpc/xdr_float.c: Likewise.
77037         * sunrpc/xdr_mem.c: Likewise.
77038         * sunrpc/xdr_rec.c: Likewise.
77039         * sunrpc/xdr_ref.c: Likewise.
77040         * sunrpc/xdr_sizeof.c: Likewise.
77041         * sunrpc/xdr_stdio.c: Likewise.
77043         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
77044         handling.
77046 2010-08-19  Andreas Schwab  <schwab@redhat.com>
77048         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
77050 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
77052         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
77053         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
77054         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
77055         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
77056         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
77057         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
77058         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
77059         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
77060         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
77061         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
77062         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
77063         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
77064         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
77065         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
77067 2010-07-26  Anton Blanchard  <anton@samba.org>
77069         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
77070         * malloc/arena.c (heap_trim): Likewise.
77072 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
77074         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
77075         here.  Not...
77076         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
77077         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
77079 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
77081         * sysdeps/i386/elf/Makefile: New file.
77083 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
77085         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
77086         from fanotify_init.
77087         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
77088         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
77090 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
77092         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
77093         of strncasecmp_l.
77094         * sysdeps/multiarch/strcmp.S: Likewise.
77096 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
77098         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77099         strncase_l-nonascii.
77100         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77101         Add strncase_l-ssse3.
77102         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
77103         * sysdeps/x86_64/strcmp.S: Likewise.
77104         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
77105         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
77106         * sysdeps/x86_64/strncase.S: New file.
77107         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
77108         * sysdeps/x86_64/strncase_l.S: New file.
77109         * string/Makefile (strop-tests): Add strncasecmp.
77110         * string/test-strncasecmp.c: New file.
77112         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
77113         warning.
77115         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
77116         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
77118 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
77120         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
77122 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
77124         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
77125         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
77126         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
77128 2010-05-01  Alan Modra  <amodra@gmail.com>
77130         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
77131         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
77132         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
77133         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
77134         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
77135         tidying.  Don't tail-call __sigjmp_save for static lib.
77136         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
77137         save location.
77138         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
77139         (CALL_MCOUNT): Add eh info, and nop after bl.
77140         (TAIL_CALL_SYSCALL_ERROR): New macro.
77141         (PSEUDO_RET): Use it.
77142         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
77143         Correct save location of integer regs and cr.
77144         (_dl_profile_resolve): Correct cr save location.  Delete nops
77145         after bl when SHARED.  Reduce cfi size a little by better
77146         placement of cfi directives.
77147         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
77148         make a stack frame.  Instead use parm save area as a temp.
77149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
77150         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
77151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
77152         Don't make a stack frame for parent, use parm save area.
77153         Increase child stack frame to 112 bytes.  Don't save unused reg,
77154         and adjust reg usage.  Set up cfi on error recovery and
77155         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
77156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
77157         (__makecontext): Add dummy nop after jump to exit.
77158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
77159         Use correct parm save area and cr save, reduce stack frame.
77160         Correct cfi for possible PSEUDO_RET frame setup.
77161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
77162         Branch to local label emitted by PSEUDO_RET rather than
77163         __syscall_error.
77165 2010-08-12  Andreas Schwab  <schwab@redhat.com>
77167         [BZ #11904]
77168         * locale/programs/locale.c (print_assignment): New function.
77169         (show_locale_vars): Use it.
77171 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
77173         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
77174         field.
77175         (struct statfs64): Likewise.
77176         (_STATFS_F_FLAGS): Define.
77177         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
77178         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77179         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
77180         (ST_VALID): Define locally.
77181         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
77182         __statvfs_getflags, use the provided value.
77183         * sysdeps/unix/sysv/linux/kernel-features.h: Define
77184         __ASSUME_STATFS_F_FLAGS.
77186         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
77188         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
77189         Add sys/fanotify.h.
77190         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
77191         fanotify_mask for GLIBC_2.13.
77192         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
77193         fanotify_init and fanotify_mark.
77194         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
77195         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
77197         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
77198         Add prlimit.
77199         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
77200         prlimit64 for GLIBC_2.13.
77201         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
77202         prlimit64.
77203         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
77204         syscall.
77205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
77206         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
77207         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
77208         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
77209         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
77210         add prlimit alias.
77211         * sysdeps/unix/sysv/linux/prlimit.c: New file.
77213         [BZ #11903]
77214         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
77215         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
77217         * nss/Makefile: Add rules to build and run tst-nss-test1.
77218         * shlib-versions: Add entry for libnss_test1.
77219         * nss/nss_test1.c: New file.
77220         * nss/tst-nss-test1.c: New file.
77222         * nss/nsswitch.c (__nss_database_custom): Define new variable.
77223         (__nss_configure_lookup): Set appropriate entry in
77224         __nss_configure_lookup to true.
77225         * nss/nsswitch.h: Define enum with indeces of databases in
77226         databases and __nss_database_custom arrays.  Declare
77227         __nss_database_custom.
77228         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
77229         to avoid using nscd when custom rules are installed.
77230         * nss/getXXbyYY_r.c: Likewise.
77231         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
77233         * nss/nss_files/files-parse.c: Whitespace fixes.
77235 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
77237         [BZ #11883]
77238         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
77239         * posix/fnmatch_loop.c: Likewise.
77241 2010-07-17  Andi Kleen  <ak@linux.intel.com>
77243         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
77244         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
77245         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
77246         * Versions.def [GLIBC_2.13]: Add.
77248 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
77250         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77251         Also fail if tpwd after pwuid call is NULL.
77253 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77255         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
77256         when converting to ms.
77258 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77260         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
77261         EOPNOTSUPP errors with ENOTTY.
77262         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
77263         EOPNOTSUPP errors with ENOTTY.
77265 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
77267         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77268         Add strcasecmp_l-ssse3.
77269         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
77270         strcasecmp.
77271         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
77272         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
77273         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
77275 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
77277         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
77279         * string/Makefile (strop-tests): Add strcasecmp.
77280         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77281         strcasecmp_l-nonascii.
77282         (gen-as-const-headers): Add locale-defines.sym.
77283         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
77284         * sysdeps/x86_64/strcasecmp.S: New file.
77285         * sysdeps/x86_64/strcasecmp_l.S: New file.
77286         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
77287         * sysdeps/x86_64/locale-defines.sym: New file.
77288         * string/test-strcasecmp.c: New file.
77290         * string/test-strcasestr.c: Test both ends of the range of characters.
77291         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
77293 2010-07-29  Roland McGrath  <roland@redhat.com>
77295         [BZ #11856]
77296         * manual/locale.texi (Yes-or-No Questions): Fix example code.
77298 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
77300         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
77301         for ld.so.
77303 2010-07-27  Andreas Schwab  <schwab@redhat.com>
77305         * manual/memory.texi (Malloc Tunable Parameters): Document
77306         M_PERTURB.
77308 2010-07-26  Roland McGrath  <roland@redhat.com>
77310         [BZ #11840]
77311         * configure.in (-fgnu89-inline check): Set and substitute
77312         gnu89_inline, not libc_cv_gnu89_inline.
77313         * configure: Regenerated.
77314         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
77316 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
77318         * string/test-strnlen.c: New file.
77319         * string/Makefile (strop-tests): Add strnlen.
77320         * string/tester.c (test_strnlen): Add a few more test cases.
77321         * string/tst-strlen.c: Better error reporting.
77323         * sysdeps/x86_64/strnlen.S: New file.
77325 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
77327         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
77328         lower-latency instructions.
77330 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
77332         * string/test-strcasestr.c: New file.
77333         * string/test-strstr.c: New file.
77334         * string/Makefile (strop-tests): Add strstr and strcasestr.
77335         * string/str-two-way.h: Don't undefine MAX.
77336         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
77338 2010-07-21  Andreas Schwab  <schwab@redhat.com>
77340         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77341         strcasestr-nonascii.
77342         (CFLAGS-strcasestr-nonascii.c): Define.
77343         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
77344         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
77345         Remove unused attribute.
77347 2010-07-20  Roland McGrath  <roland@redhat.com>
77349         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
77350         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
77351         ld.so.cache was broken.  With it, there is no way to disable dsocaps
77352         like LD_HWCAP_MASK can disable hwcaps.
77354 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
77356         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
77358 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
77360         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
77361         call in strcasestr.
77362         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
77363         __strcasestr_sse42_nonascii.
77364         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
77365         strcasestr-nonascii.c.
77366         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
77368 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
77370         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
77371         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
77372         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
77373         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
77375 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
77377         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
77378         fcntl.
77380 2010-07-06  Andreas Schwab  <schwab@redhat.com>
77382         [BZ #11577]
77383         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
77384         dl_signal_cerror.
77386 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
77388         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
77389         _PC_PIPE_BUF using F_GETPIPE_SZ.
77391 2010-07-05  Roland McGrath  <roland@redhat.com>
77393         * manual/arith.texi (Rounding Functions): Fix rint description
77394         implicit in round description.
77396 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
77398         * elf/Makefile: Fix linking for a few tests to make recent linker
77399         happy.
77401 2010-06-30  Andreas Schwab  <schwab@redhat.com>
77403         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77404         $(common-objpfx)libc_nonshared.a.
77406 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
77408         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
77409         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
77410         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77411         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77412         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
77413         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
77414         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77415         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
77417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
77418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
77419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
77421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
77423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
77424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
77425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
77426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
77428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
77430         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
77431         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
77432         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
77433         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
77434         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
77435         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
77436         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
77437         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
77438         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
77439         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
77440         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
77441         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
77442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
77443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
77444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
77445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
77446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
77447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
77448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
77449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
77450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
77451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
77452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
77453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
77454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
77455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
77457 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
77459         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
77460         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
77461         * string/memmove.c (memmove): Renamed to ...
77462         (MEMMOVE): ...this.  Default to memmove.
77463         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
77464         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
77465         (END_CHK): Define.
77466         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77467         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
77468         mempcpy-ssse3-back memmove-ssse3-back.
77469         * sysdeps/x86_64/multiarch/bcopy.S: New file .
77470         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
77471         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
77472         * sysdeps/x86_64/multiarch/memcpy.S: New file.
77473         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
77474         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
77475         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
77476         * sysdeps/x86_64/multiarch/memmove.c: New file.
77477         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
77478         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
77479         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
77480         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
77481         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
77482         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
77483         Define.
77484         (index_Fast_Copy_Backward): Define.
77485         (HAS_ARCH_FEATURE): Define.
77486         (HAS_FAST_REP_STRING): Define.
77487         (HAS_FAST_COPY_BACKWARD): Define.
77489 2010-06-21  Andreas Schwab  <schwab@redhat.com>
77491         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77492         Restore proper fallback handling.
77494 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
77496         [BZ #11701]
77497         * posix/group_member.c (__group_member): Correct checking loop.
77499         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
77500         OOM in getpwuid_r correctly.  Return error number when the caller
77501         should return, otherwise -1.
77502         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
77503         call returning > 0 value.
77504         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
77506 2010-06-07  Andreas Schwab  <schwab@redhat.com>
77508         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
77509         libc_nonshared.a from targets in modules-names.
77511 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
77513         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
77514         requires it.
77516 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
77518         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
77519         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
77520         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
77521         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
77523 2010-06-02  Andreas Schwab  <schwab@redhat.com>
77525         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
77527 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
77529         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
77530         and F_GETPIPE_SZ.
77531         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77532         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77533         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77534         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77535         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77536         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77538 2010-06-14  Roland McGrath  <roland@redhat.com>
77540         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
77542 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
77544         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
77545         __REDIRECT followed by __THROW.
77546         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
77547         * posix/getopt.h (getopt): Likewise.
77549 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
77551         * hurd/lookup-at.c (__file_name_lookup_at): Accept
77552         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
77553         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
77554         in AT_FLAGS.
77555         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
77556         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
77558 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
77560         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
77562 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
77564         [BZ #11640]
77565         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77566         Properly check family and model.
77568 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
77570         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
77572 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
77574         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
77576 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
77578         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
77579         symbol reference.
77581 2010-05-19  Andreas Schwab  <schwab@redhat.com>
77583         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
77584         symbol reference.
77586 2010-05-21  Andreas Schwab  <schwab@redhat.com>
77588         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
77589         and internal_recvmmsg.
77590         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
77591         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
77592         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
77593         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
77595         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
77596         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
77597         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
77599 2010-05-20  Andreas Schwab  <schwab@redhat.com>
77601         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
77603 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
77605         POWER7 optimizations.
77606         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
77607         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
77609 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
77611         * version.h: Update for 2.13 development version.
77613 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
77615         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
77616         exceptions.  Return 0.
77618 2010-05-07  Roland McGrath  <roland@redhat.com>
77620         * elf/ldconfig.c (main): Add a const.
77622 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
77624         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
77625         (args_options): Add no-idn option.
77626         (ahosts_keys_int): Add idn_flags to ai_flags.
77627         (parse_option): Handle 'i' option to clear idn_flags.
77629         * malloc/malloc.c (_int_free): Possible race in the most recently
77630         added check.  Only act on the data if no current modification
77631         happened.
77633 See ChangeLog.17 for earlier changes.